Variable MJActionParamSchemaConst
MJActionParamSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Action: ZodString;
ActionID: ZodString;
DefaultValue: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
ID: ZodString;
IsArray: ZodBoolean;
IsRequired: ZodBoolean;
MediaModality: ZodNullable<
ZodUnion<
[ZodLiteral<"Audio">, ZodLiteral<"Image">, ZodLiteral<"Video">],
>,
>;
Name: ZodString;
Type: ZodUnion<
[ZodLiteral<"Both">, ZodLiteral<"Input">, ZodLiteral<"Output">],
>;
ValueType: ZodUnion<
[
ZodLiteral<"BaseEntity Sub-Class">,
ZodLiteral<"BaseEntity Sub-Class">,
ZodLiteral<"MediaOutput">,
ZodLiteral<"Other">,
ZodLiteral<"Other">,
ZodLiteral<"Scalar">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Action?: string;
ActionID?: string;
DefaultValue?: string;
Description?: string;
ID?: string;
IsArray?: boolean;
IsRequired?: boolean;
MediaModality?: "Audio"
| "Image"
| "Video";
Name?: string;
Type?: "Both" | "Input" | "Output";
ValueType?:
| "BaseEntity Sub-Class"
| "MediaOutput"
| "Other"
| "Scalar"
| "Simple Object";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Action?: string;
ActionID?: string;
DefaultValue?: string;
Description?: string;
ID?: string;
IsArray?: boolean;
IsRequired?: boolean;
MediaModality?: "Audio"
| "Image"
| "Video";
Name?: string;
Type?: "Both" | "Input" | "Output";
ValueType?:
| "BaseEntity Sub-Class"
| "MediaOutput"
| "Other"
| "Scalar"
| "Simple Object";
},
> = ...
zod schema definition for the entity MJ: Action Params