Variable MJWorkflowRunSchemaConst
MJWorkflowRunSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
EndedAt: ZodNullable<ZodDate>;
ExternalSystemRecordID: ZodString;
ID: ZodString;
Results: ZodNullable<ZodString>;
StartedAt: ZodDate;
Status: ZodUnion<
[
ZodLiteral<"Complete">,
ZodLiteral<"Failed">,
ZodLiteral<"In Progress">,
ZodLiteral<"Pending">,
],
>;
Workflow: ZodString;
WorkflowEngineName: ZodString;
WorkflowID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
EndedAt?: Date;
ExternalSystemRecordID?: string;
ID?: string;
Results?: string;
StartedAt?: Date;
Status?: "Pending"
| "Complete"
| "Failed"
| "In Progress";
Workflow?: string;
WorkflowEngineName?: string;
WorkflowID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
EndedAt?: Date;
ExternalSystemRecordID?: string;
ID?: string;
Results?: string;
StartedAt?: Date;
Status?: "Pending"
| "Complete"
| "Failed"
| "In Progress";
Workflow?: string;
WorkflowEngineName?: string;
WorkflowID?: string;
},
> = ...
zod schema definition for the entity MJ: Workflow Runs