Member Junction
    Preparing search index...
    interface TableAnalysisContext {
        allTables?: { name: string; schema: string }[];
        columns: any[];
        dependents: any[];
        dependsOn: any[];
        enumCandidates?: EnumCandidateContext[];
        fkCandidateStats?: {
            cardinalityRatio: number;
            confidence: number;
            sourceColumn: string;
            targetColumn: string;
            targetSchema: string;
            targetTable: string;
            valueOverlap: number;
        }[];
        groundTruth?: TableGroundTruthContext;
        parentDescriptions?: ParentTableDescription[];
        rowCount: number;
        sampleData: any[];
        schema: string;
        seedContext?: any;
        table: string;
        userNotes?: string;
    }
    Index

    Properties

    allTables?: { name: string; schema: string }[]
    columns: any[]
    dependents: any[]
    dependsOn: any[]
    enumCandidates?: EnumCandidateContext[]

    Enum candidate evidence per column — columns that passed the deterministic pre-filter

    fkCandidateStats?: {
        cardinalityRatio: number;
        confidence: number;
        sourceColumn: string;
        targetColumn: string;
        targetSchema: string;
        targetTable: string;
        valueOverlap: number;
    }[]

    Cross-table FK candidate stats from discovery phase — helps LLM make better FK decisions

    Ground truth for this table from config — AI must align with this

    parentDescriptions?: ParentTableDescription[]
    rowCount: number
    sampleData: any[]
    schema: string
    seedContext?: any
    table: string
    userNotes?: string