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

Function brandedStringId

packages/effect-app/src/Schema/moreStrings.ts:281–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279 * Construction-only — not applied during decode; see file-level note.
280 */
281export const brandedStringId = <Id extends string & B.Brand<any>>(): BrandedStringIdSchema<Id> =>
282 withDefaultMake(
283 Object.assign(Object.create(StringId), StringId) as BrandedStringIdSchema<Id>
284 )
285
286export interface PrefixedStringUtils<
287 Type extends StringId,

Callers 1

ids.tsFile · 0.90

Calls 1

withDefaultMakeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…