Member Junction
    Preparing search index...

    Interface MaterializedBaseViewConfig

    Configuration for a base-view materialization in the additionalSchemaInfo config file (the "no-sprawl convenience case" — materialization plan §2.1/§4.1). Declares a 1:1 snapshot of an existing entity's base view. Because the shape is identical to the source entity, NO new entity is minted — the existing entity is reused and its RLS applies unchanged (§6.1). CodeGen emits the physical table + wrapper view and attaches an "MJ: Materialized Results" row (SourceType='EntityBaseView') to the existing entity.

    interface MaterializedBaseViewConfig {
        BaseTable?: string;
        EntityName?: string;
        IntendedWorkload?: string;
        RefreshSchedule?: string;
        SchemaName?: string;
    }
    Index

    Properties

    BaseTable?: string

    Source base table name — alternative to EntityName when entity names aren't stable yet.

    EntityName?: string

    Source entity name (preferred). Either this or BaseTable (+ optional SchemaName) must be set.

    IntendedWorkload?: string

    Optional note for the selection contract (§8): what this snapshot is good for.

    RefreshSchedule?: string

    Optional cron expression for scheduled refresh; omit for manual-only.

    SchemaName?: string

    Optional schema for BaseTable lookups (defaults to the MJ core schema).