IFClite TypeScript API
    Preparing search index...

    Function createQueryAdapter

    Shared headless host adapters. All reads include the supplied live mutation overlay.

    • Build the query adapter over a store, folding whatever overlay() returns at call time. overlay is a getter, not a value: the backend creates its MutablePropertyView lazily on the first mutation, so a session that is only ever read gets null on every call and keeps the original store-only path.

      Parameters

      • store: IfcDataStore
      • modelId: string
      • overlay: () => PendingOverlay | null
      • mutationView: () => MutablePropertyView | null
      • Optionaloptions: {
            normalizeTypePropertyValue?: (
                value: unknown,
            ) => string | number | boolean | null;
            paginationError?: new (message: string) => Error;
        }

      Returns QueryBackendMethods