Variable MJQueryParameterSchemaConst
MJQueryParameterSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AutoDetectConfidenceScore: ZodNullable<ZodNumber>;
DefaultValue: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DetectionMethod: ZodUnion<[ZodLiteral<"AI">, ZodLiteral<"Manual">]>;
ID: ZodString;
IsRequired: ZodNullable<ZodBoolean>;
Name: ZodString;
Query: ZodString;
QueryID: ZodString;
SampleValue: ZodNullable<ZodString>;
Type: ZodUnion<
[
ZodLiteral<"array">,
ZodLiteral<"boolean">,
ZodLiteral<"date">,
ZodLiteral<"number">,
ZodLiteral<"string">,
],
>;
ValidationFilters: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AutoDetectConfidenceScore?: number;
DefaultValue?: string;
Description?: string;
DetectionMethod?: "Manual"
| "AI";
ID?: string;
IsRequired?: boolean;
Name?: string;
Query?: string;
QueryID?: string;
SampleValue?: string;
Type?: "string" | "number" | "boolean" | "date" | "array";
ValidationFilters?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AutoDetectConfidenceScore?: number;
DefaultValue?: string;
Description?: string;
DetectionMethod?: "Manual"
| "AI";
ID?: string;
IsRequired?: boolean;
Name?: string;
Query?: string;
QueryID?: string;
SampleValue?: string;
Type?: "string" | "number" | "boolean" | "date" | "array";
ValidationFilters?: string;
},
> = ...
zod schema definition for the entity MJ: Query Parameters