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

    Function tryGetEid

    • Structurally parse a qualified graph path into an ECHO EID: the SpaceId segment plus the trailing EntityId-valid segment, regardless of what lies between them (a canonical database path, a collection path, a custom type-section path, …). Lives in app-toolkit so this parsing has no plugin dependency — used by useNavigationPresence and plugin-deck's DXN dedup. graph gates the result on the path's workspace actually being a known node, so an arbitrary SpaceId-shaped substring in an unrelated string can't be mistaken for a valid target.

      Parameters

      • graph: ExpandableGraph
      • qualifiedId: string

      Returns Option<EID>