FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/workflow / defineWorkflowOptionsSchema

Variable: defineWorkflowOptionsSchema

const defineWorkflowOptionsSchema: ZodObject<{ root: ZodString; schemas: ZodOptional<ZodRecord<ZodString, ZodCustom<ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>, ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>>>>; steps: ZodRecord<ZodString, ZodCustom<WorkflowStepHandler<any>, WorkflowStepHandler<any>>>; type: ZodString; }, $strip>

Zod schema used to validate defineWorkflow options.