Coral 0.2.17 candidate API
    Preparing search index...

    Interface DocumentContent

    Document content - either DSL text or Graph-IR

    interface DocumentContent {
        dslType?: DslType;
        format: "dsl" | "graph-ir";
        graphIR?: GraphIR;
        text?: string;
    }
    Index
    dslType?: DslType

    DSL type if format is 'dsl'

    format: "dsl" | "graph-ir"

    Content format

    graphIR?: GraphIR

    Graph-IR if format is 'graph-ir'

    text?: string

    DSL text if format is 'dsl'