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

    Function getTypeSlugFromUri

    • Reduces a type URI to its slash- and colon-free path slug: an echo: EID to its entity id, a dxn: DXN to its version-less name. The URI-boundary companion to getTypeSlug (e.g. a view-target type resolved from a query AST). Returns the input unchanged if it is neither.

      Parameters

      • uri: URI

      Returns string