Variable MJQueryFieldSchemaConst
MJQueryFieldSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AutoDetectConfidenceScore: ZodNullable<ZodNumber>;
ComputationDescription: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DetectionMethod: ZodUnion<[ZodLiteral<"AI">, ZodLiteral<"Manual">]>;
ID: ZodString;
IsComputed: ZodBoolean;
IsSummary: ZodBoolean;
Name: ZodString;
Query: ZodString;
QueryID: ZodString;
Sequence: ZodNumber;
SourceEntity: ZodNullable<ZodString>;
SourceEntityID: ZodNullable<ZodString>;
SourceFieldName: ZodNullable<ZodString>;
SQLBaseType: ZodString;
SQLFullType: ZodString;
SummaryDescription: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AutoDetectConfidenceScore?: number;
ComputationDescription?: string;
Description?: string;
DetectionMethod?: "Manual"
| "AI";
ID?: string;
IsComputed?: boolean;
IsSummary?: boolean;
Name?: string;
Query?: string;
QueryID?: string;
Sequence?: number;
SourceEntity?: string;
SourceEntityID?: string;
SourceFieldName?: string;
SQLBaseType?: string;
SQLFullType?: string;
SummaryDescription?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AutoDetectConfidenceScore?: number;
ComputationDescription?: string;
Description?: string;
DetectionMethod?: "Manual"
| "AI";
ID?: string;
IsComputed?: boolean;
IsSummary?: boolean;
Name?: string;
Query?: string;
QueryID?: string;
Sequence?: number;
SourceEntity?: string;
SourceEntityID?: string;
SourceFieldName?: string;
SQLBaseType?: string;
SQLFullType?: string;
SummaryDescription?: string;
},
> = ...
zod schema definition for the entity MJ: Query Fields