Libraries
    Preparing search index...

    Interface VariantInputForResolverInternal

    Input to applyVariantsToSchema: a single resolved variant entry, as produced by Entity.ctiVariant() / Entity.stiVariant().

    interface VariantInputForResolver {
        allowOrphan?: boolean;
        enforceCheck?: boolean;
        foreignKeyColumn?: string;
        relations?: ResolvedVariantRelationSpec[];
        schema: ObjectSchemaBuilder<any, any, any, any, any, any, any>;
        storage: VariantStorageType;
    }
    Index

    Properties

    allowOrphan?: boolean
    enforceCheck?: boolean
    foreignKeyColumn?: string

    CTI-only: FK column name on the variant table that joins back to base PK.

    relations?: ResolvedVariantRelationSpec[]

    Variant-scoped relations (already resolved to FK column names). When the variant entry is sourced from another Entity, these are read from that entity's 'relations' extension and passed in here.

    schema: ObjectSchemaBuilder<any, any, any, any, any, any, any>

    Variant body schema (CTI table or STI extras).