Variable MJArtifactTypeSchemaConst
MJArtifactTypeSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ContentCategory: ZodUnion<[ZodLiteral<"File">, ZodLiteral<"Text">]>;
ContentType: ZodString;
DefaultDeliveryMode: ZodUnion<
[ZodLiteral<"Inline">, ZodLiteral<"ToolsOnly">],
>;
Description: ZodNullable<ZodString>;
DriverClass: ZodNullable<ZodString>;
ExtractRules: ZodNullable<ZodString>;
Icon: ZodNullable<ZodString>;
ID: ZodString;
IsEnabled: ZodBoolean;
Name: ZodString;
Parent: ZodNullable<ZodString>;
ParentID: ZodNullable<ZodString>;
Priority: ZodNumber;
RootParentID: ZodNullable<ZodString>;
SystemSupplied: ZodBoolean;
ToolLibraryClass: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ContentCategory?: "File"
| "Text";
ContentType?: string;
DefaultDeliveryMode?: "Inline" | "ToolsOnly";
Description?: string;
DriverClass?: string;
ExtractRules?: string;
Icon?: string;
ID?: string;
IsEnabled?: boolean;
Name?: string;
Parent?: string;
ParentID?: string;
Priority?: number;
RootParentID?: string;
SystemSupplied?: boolean;
ToolLibraryClass?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ContentCategory?: "File"
| "Text";
ContentType?: string;
DefaultDeliveryMode?: "Inline" | "ToolsOnly";
Description?: string;
DriverClass?: string;
ExtractRules?: string;
Icon?: string;
ID?: string;
IsEnabled?: boolean;
Name?: string;
Parent?: string;
ParentID?: string;
Priority?: number;
RootParentID?: string;
SystemSupplied?: boolean;
ToolLibraryClass?: string;
},
> = ...
zod schema definition for the entity MJ: Artifact Types