Variable MJUserRoutineRunSchemaConst
MJUserRoutineRunSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ActionExecutionLog: ZodNullable<ZodString>;
ActionExecutionLogID: ZodNullable<ZodString>;
AgentRun: ZodNullable<ZodString>;
AgentRunID: ZodNullable<ZodString>;
CompletedAt: ZodNullable<ZodDate>;
ErrorMessage: ZodNullable<ZodString>;
ID: ZodString;
NotificationSent: ZodBoolean;
PromptRun: ZodNullable<ZodString>;
PromptRunID: ZodNullable<ZodString>;
ResultHash: ZodNullable<ZodString>;
ResultSummary: ZodNullable<ZodString>;
Routine: ZodString;
RoutineID: ZodString;
StartedAt: ZodDate;
Status: ZodUnion<
[
ZodLiteral<"Failed">,
ZodLiteral<"Running">,
ZodLiteral<"Skipped">,
ZodLiteral<"Success">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActionExecutionLog?: string;
ActionExecutionLogID?: string;
AgentRun?: string;
AgentRunID?: string;
CompletedAt?: Date;
ErrorMessage?: string;
ID?: string;
NotificationSent?: boolean;
PromptRun?: string;
PromptRunID?: string;
ResultHash?: string;
ResultSummary?: string;
Routine?: string;
RoutineID?: string;
StartedAt?: Date;
Status?: "Failed"
| "Running"
| "Success"
| "Skipped";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActionExecutionLog?: string;
ActionExecutionLogID?: string;
AgentRun?: string;
AgentRunID?: string;
CompletedAt?: Date;
ErrorMessage?: string;
ID?: string;
NotificationSent?: boolean;
PromptRun?: string;
PromptRunID?: string;
ResultHash?: string;
ResultSummary?: string;
Routine?: string;
RoutineID?: string;
StartedAt?: Date;
Status?: "Failed"
| "Running"
| "Success"
| "Skipped";
},
> = ...
zod schema definition for the entity MJ: User Routine Runs