@dxos/react-client
    Preparing search index...

    Function getMeta

    • Get the metadata for an entity. Returns mutable meta when passed a mutable entity (inside change callback). Returns read-only meta when passed a regular entity or snapshot.

      Parameters

      • entity: { "~@dxos/echo/Kind": EntityKind; id: string }

      Returns { keys: readonly { id: string; source: string }[]; tags?: readonly string[] }

      • Readonlykeys: readonly { id: string; source: string }[]
      • Optional Readonlytags?: readonly string[]

        A set of tags. Tags are arbitrary application-defined strings. ECHO makes no assumptions about the tag structure.

    • Get the metadata for an entity. Returns mutable meta when passed a mutable entity (inside change callback). Returns read-only meta when passed a regular entity or snapshot.

      Parameters

      Returns { keys: readonly { id: string; source: string }[]; tags?: readonly string[] }

      • Readonlykeys: readonly { id: string; source: string }[]
      • Optional Readonlytags?: readonly string[]

        A set of tags. Tags are arbitrary application-defined strings. ECHO makes no assumptions about the tag structure.