Interface NormalizedRelationConfig

Fully normalised relation definition stored on the runtime model. All optional shorthand fields are expanded so the query builder can rely on a consistent shape.

interface NormalizedRelationConfig {
    cardinality: "one" | "many";
    condition: unknown;
    hasRevisions: boolean;
    isArray: boolean;
    joinType: "through" | "direct";
    sourceColumn: string;
    targetColumn: string;
    targetModelKey: string;
    targetTable: string;
    through: ThroughRelationConfig;
    [key: string]: unknown;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: unknown

Properties

cardinality: "one" | "many"
condition: unknown
hasRevisions: boolean
isArray: boolean
joinType: "through" | "direct"
sourceColumn: string
targetColumn: string
targetModelKey: string
targetTable: string