Member Junction
    Preparing search index...

    Variable MJMaterializedResultSchemaConst

    MJMaterializedResultSchema: ZodObject<
        {
            __mj_CreatedAt: ZodDate;
            __mj_UpdatedAt: ZodDate;
            ApproxBuildCostMs: ZodNullable<ZodNumber>;
            BroadSQL: ZodNullable<ZodString>;
            GeneratedEntity: ZodNullable<ZodString>;
            GeneratedEntityID: ZodNullable<ZodString>;
            ID: ZodString;
            IntendedWorkload: ZodNullable<ZodString>;
            KeyColumns: ZodNullable<ZodString>;
            LastRefreshedAt: ZodNullable<ZodDate>;
            NextRefreshAt: ZodNullable<ZodDate>;
            ParamMode: ZodUnion<
                [
                    ZodLiteral<"BoundFixed">,
                    ZodLiteral<"None">,
                    ZodLiteral<"PerValueCache">,
                    ZodLiteral<"RowFilterBroad">,
                ],
            >;
            ReadFilterSpec: ZodNullable<ZodString>;
            RefreshesSinceFullRebuild: ZodNumber;
            RefreshSchedule: ZodNullable<ZodString>;
            RefreshStrategy: ZodUnion<
                [
                    ZodLiteral<"DirtyGroupRecompute">,
                    ZodLiteral<"FullRebuild">,
                    ZodLiteral<"Incremental">,
                ],
            >;
            RowCount: ZodNullable<ZodNumber>;
            RowFilterColumns: ZodNullable<ZodString>;
            SchemaName: ZodString;
            SourceEntity: ZodNullable<ZodString>;
            SourceEntityID: ZodNullable<ZodString>;
            SourceRowCount: ZodNullable<ZodNumber>;
            SourceType: ZodUnion<[ZodLiteral<"EntityBaseView">, ZodLiteral<"Query">]>;
            Status: ZodUnion<
                [
                    ZodLiteral<"Active">,
                    ZodLiteral<"Building">,
                    ZodLiteral<"Disabled">,
                    ZodLiteral<"DriftHold">,
                    ZodLiteral<"Stale">,
                ],
            >;
            TableName: ZodString;
            ViewName: ZodString;
            Watermark: ZodNullable<ZodDate>;
        },
        "strip",
        ZodTypeAny,
        {
            __mj_CreatedAt?: Date;
            __mj_UpdatedAt?: Date;
            ApproxBuildCostMs?: number;
            BroadSQL?: string;
            GeneratedEntity?: string;
            GeneratedEntityID?: string;
            ID?: string;
            IntendedWorkload?: string;
            KeyColumns?: string;
            LastRefreshedAt?: Date;
            NextRefreshAt?: Date;
            ParamMode?: "None"
            | "BoundFixed"
            | "PerValueCache"
            | "RowFilterBroad";
            ReadFilterSpec?: string;
            RefreshesSinceFullRebuild?: number;
            RefreshSchedule?: string;
            RefreshStrategy?: "DirtyGroupRecompute" | "FullRebuild" | "Incremental";
            RowCount?: number;
            RowFilterColumns?: string;
            SchemaName?: string;
            SourceEntity?: string;
            SourceEntityID?: string;
            SourceRowCount?: number;
            SourceType?: "Query" | "EntityBaseView";
            Status?: "Active" | "Disabled" | "Building" | "DriftHold" | "Stale";
            TableName?: string;
            ViewName?: string;
            Watermark?: Date;
        },
        {
            __mj_CreatedAt?: Date;
            __mj_UpdatedAt?: Date;
            ApproxBuildCostMs?: number;
            BroadSQL?: string;
            GeneratedEntity?: string;
            GeneratedEntityID?: string;
            ID?: string;
            IntendedWorkload?: string;
            KeyColumns?: string;
            LastRefreshedAt?: Date;
            NextRefreshAt?: Date;
            ParamMode?: "None"
            | "BoundFixed"
            | "PerValueCache"
            | "RowFilterBroad";
            ReadFilterSpec?: string;
            RefreshesSinceFullRebuild?: number;
            RefreshSchedule?: string;
            RefreshStrategy?: "DirtyGroupRecompute" | "FullRebuild" | "Incremental";
            RowCount?: number;
            RowFilterColumns?: string;
            SchemaName?: string;
            SourceEntity?: string;
            SourceEntityID?: string;
            SourceRowCount?: number;
            SourceType?: "Query" | "EntityBaseView";
            Status?: "Active" | "Disabled" | "Building" | "DriftHold" | "Stale";
            TableName?: string;
            ViewName?: string;
            Watermark?: Date;
        },
    > = ...

    zod schema definition for the entity MJ: Materialized Results