@dxos/echo
    Preparing search index...

    Function registry

    • Scope targeting a code-shipped object/type registry.

      • 'local' — the in-process registry attached to the hypergraph (default).
      • 'remote' — a remote registry service (not yet implemented).

      Parameters

      • location: "local" | "remote" = 'local'

      Returns QueryAST.RegistryScope

      // Discover all types — persisted in the space and code-shipped in the registry.
      db.query(Filter.type(Type.Type).from(Scope.space(), Scope.registry()));

      O(1); builds a scope node.