MCPcopy Create free account
hub / github.com/arctic-cli/interface / schema

Function schema

packages/arctic/src/id/id.ts:14–16  ·  view source on GitHub ↗
(prefix: keyof typeof prefixes)

Source from the content-addressed store, hash-verified

12 } as const
13
14 export function schema(prefix: keyof typeof prefixes) {
15 return z.string().startsWith(prefixes[prefix])
16 }
17
18 const LENGTH = 26
19

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected