@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Function getTypeSlug

    • Slash- and colon-free slug identifying a type for use as a graph node id / path segment: a static schema's typename, or — for a stored (database) schema — its entity id. A full type URI cannot be used here because path segments are split on / and the type segment is resolved as a bare entity id.

      Parameters

      • entity: AnyEntity

      Returns string