Skip to content

Type alias: ObjectPackFormula<ParamDefsT, SchemaT>

Ƭ ObjectPackFormula<ParamDefsT, SchemaT>: Omit<BaseFormula<ParamDefsT, SchemaType<SchemaT>>, "execute"> & { schema?: SchemaT ; execute: (params: ParamValues<ParamDefsT>, context: ExecutionContext) => object | Promise<object> }

A pack formula that returns a JavaScript object.

Type parameters

Name Type
ParamDefsT extends ParamDefs
SchemaT extends Schema

Defined in

api.ts:499