IFClite TypeScript API
    Preparing search index...

    Interface LayerRefStore

    Minimal store surface the merge flow needs; implementations own durability.

    interface LayerRefStore {
        getRef(name: string): RefEntry | undefined;
        loadLayer(layerId: string): IfcxFile;
        resolveLayerId?(idOrPrefix: string): string;
        setRef(name: string, entry: RefEntry): void;
        storeLayer(file: IfcxFile): string;
    }

    Hierarchy (View Summary)

    Index
    • Parameters

      • name: string

      Returns RefEntry | undefined

    • Parameters

      • layerId: string

      Returns IfcxFile

    • Optional id-prefix resolution (CLI convenience); identity if absent.

      Parameters

      • idOrPrefix: string

      Returns string

    • Parameters

      Returns void

    • Persist a published layer; file.header.id is its blake3 id.

      Parameters

      Returns string