make:<TData=unknown,Textendsstring=string>( nsid:[Name<T>]extends[never] ?`Invalid NSID "${T}": final segment must be camelCase (no hyphens)` :T, )=>Role.Role<TData> = ...
Mints a typed role token. The NSID is validated at compile time via
DXN.Name: the final segment must be camelCase (no hyphens).
Dynamic NSIDs (template-literal / runtime strings) are validated at runtime.
Identity is structural; all tokens with the same role string are
interchangeable at runtime.
Type declaration
<TData=unknown,Textendsstring=string>( nsid:[Name<T>]extends[never] ?`Invalid NSID "${T}": final segment must be camelCase (no hyphens)` :T, ):Role.Role<TData>
Type Parameters
TData = unknown
Textendsstring = string
Parameters
nsid: [Name<T>]extends[never] ?`Invalid NSID "${T}": final segment must be camelCase (no hyphens)` :T
Mints a typed role token. The NSID is validated at compile time via DXN.Name: the final segment must be camelCase (no hyphens). Dynamic NSIDs (template-literal / runtime strings) are validated at runtime.
Identity is structural; all tokens with the same
rolestring are interchangeable at runtime.