MCPcopy Create free account
hub / github.com/TanStack/db / parseTrailBaseId

Function parseTrailBaseId

packages/trailbase-db-collection/e2e/trailbase.e2e.test.ts:86–88  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

84}
85
86function parseTrailBaseId(id: string): string {
87 return stringifyUuid(urlSafeBase64Decode(id))
88}
89
90function toTrailBaseId(id: string): string {
91 return urlSafeBase64Encode(parseUuid(id))

Callers

nothing calls this directly

Calls 2

stringifyUuidFunction · 0.85
urlSafeBase64DecodeFunction · 0.85

Tested by

no test coverage detected