Const
Parse an Automerge URL.
Supported shapes:
automerge:<docId>
automerge:<docId>#<heads>
|
automerge:<docId>/<path>
/
automerge:<docId>/<path>#<heads>
segments is undefined when no path is present; otherwise it's the parsed Segment[].
segments
Segment[]
Parse an Automerge URL.
Supported shapes:
automerge:<docId>automerge:<docId>#<heads>(heads|-joined)automerge:<docId>/<path>(path/-joined segments)automerge:<docId>/<path>#<heads>segmentsis undefined when no path is present; otherwise it's the parsedSegment[].