(ns: string, e?: Encoded)
| 115 | const basePartitionKey = config?.partitionValue() ?? "primary" |
| 116 | const nsPrefix = (ns: string) => ns === "primary" ? "" : `${ns}::` |
| 117 | const nsPartitionValue = (ns: string, e?: Encoded) => { |
| 118 | const base = config?.partitionValue(e) ?? "primary" |
| 119 | return `${nsPrefix(ns)}${base}` |
| 120 | } |
| 121 | const nsBasePartitionKey = (ns: string) => `${nsPrefix(ns)}${basePartitionKey}` |
| 122 | const resolveNamespace = !config?.allowNamespace |
| 123 | ? Effect.succeed("primary") |
no test coverage detected
searching dependent graphs…