Type alias FormatEngine<TaskPayload, QueryPayload>
FormatEngine<TaskPayload, QueryPayload>: ((payload,
schema) => PromiseOr<QueryPayload>) Type declaration
- (payload, schema): PromiseOr<QueryPayload>
Parameters
payload: TaskPayload
schema: ZodSchema
Returns PromiseOr<QueryPayload>