@valon-technologies/gestalt
    Preparing search index...

    Interface SchemaDeclaration

    A declarative schema revision. Applying it converges the database toward the declared state using only the four closed operations — add/drop a store, add/remove an index — so applying it once or many times yields the same result. Drops must be explicit; they are never inferred from omission.

    interface SchemaDeclaration {
        stores?: StoreDeclaration[];
        addIndexes?: AddIndexDeclaration[];
        dropStores?: string[];
        dropIndexes?: IndexRef[];
    }
    Index

    Properties

    stores?: StoreDeclaration[]

    Stores to create if absent (with their initial indexes).

    addIndexes?: AddIndexDeclaration[]

    Indexes to add to already-existing stores.

    dropStores?: string[]

    Stores to drop if present. Destructive and irreversible.

    dropIndexes?: IndexRef[]

    Indexes to remove if present.