Variable MJTaskSchemaConst
MJTaskSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Agent: ZodNullable<ZodString>;
AgentID: ZodNullable<ZodString>;
CompletedAt: ZodNullable<ZodDate>;
ConversationDetail: ZodNullable<ZodString>;
ConversationDetailID: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DueAt: ZodNullable<ZodDate>;
Environment: ZodString;
EnvironmentID: ZodString;
ID: ZodString;
Name: ZodString;
Parent: ZodNullable<ZodString>;
ParentID: ZodNullable<ZodString>;
PercentComplete: ZodNullable<ZodNumber>;
Project: ZodNullable<ZodString>;
ProjectID: ZodNullable<ZodString>;
RootParentID: ZodNullable<ZodString>;
StartedAt: ZodNullable<ZodDate>;
Status: ZodUnion<
[
ZodLiteral<"Blocked">,
ZodLiteral<"Cancelled">,
ZodLiteral<"Complete">,
ZodLiteral<"Deferred">,
ZodLiteral<"Failed">,
ZodLiteral<"In Progress">,
ZodLiteral<"Pending">,
],
>;
Type: ZodString;
TypeID: ZodString;
User: ZodNullable<ZodString>;
UserID: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
CompletedAt?: Date;
ConversationDetail?: string;
ConversationDetailID?: string;
Description?: string;
DueAt?: Date;
Environment?: string;
EnvironmentID?: string;
ID?: string;
Name?: string;
Parent?: string;
ParentID?: string;
PercentComplete?: number;
Project?: string;
ProjectID?: string;
RootParentID?: string;
StartedAt?: Date;
Status?: | "Pending"
| "Complete"
| "Failed"
| "Cancelled"
| "In Progress"
| "Blocked"
| "Deferred";
Type?: string;
TypeID?: string;
User?: string;
UserID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Agent?: string;
AgentID?: string;
CompletedAt?: Date;
ConversationDetail?: string;
ConversationDetailID?: string;
Description?: string;
DueAt?: Date;
Environment?: string;
EnvironmentID?: string;
ID?: string;
Name?: string;
Parent?: string;
ParentID?: string;
PercentComplete?: number;
Project?: string;
ProjectID?: string;
RootParentID?: string;
StartedAt?: Date;
Status?: | "Pending"
| "Complete"
| "Failed"
| "Cancelled"
| "In Progress"
| "Blocked"
| "Deferred";
Type?: string;
TypeID?: string;
User?: string;
UserID?: string;
},
> = ...
zod schema definition for the entity MJ: Tasks