MCPcopy Create free account
hub / github.com/effect-app/libs / nsBasePartitionKey

Function nsBasePartitionKey

packages/infra/src/Store/Cosmos.ts:121–121  ·  view source on GitHub ↗
(ns: string)

Source from the content-addressed store, hash-verified

119 return `${nsPrefix(ns)}${base}`
120 }
121 const nsBasePartitionKey = (ns: string) => `${nsPrefix(ns)}${basePartitionKey}`
122 const resolveNamespace = !config?.allowNamespace
123 ? Effect.succeed("primary")
124 : storeId.pipe(Effect.map((namespace) => {

Callers 1

Cosmos.tsFile · 0.85

Calls 1

nsPrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…