ParamValues
Converts a ParamMap into the corresponding runtime argument shape where each branded token
is replaced by its concrete string or number type; used to type the entity-specific
arguments accepted by KeyFactory methods and InvalidateNamespace entity methods.
Definition
type ParamValues = P extends ParamMap ? { [K in …]: … } : {};P extends ParamMap ? \{ [K in …]: … \} : \{\}
Example
type ProductArgs = ParamValues<{ id: typeof str; rank: typeof num }>;
// { id: string; rank: number }Related
ContractTestOptions runAdapterContract AdapterCtx CacheAdapter CacheInstance CacheKey CacheSchema CacheSchemaShape
ParamType
Union of the two supported cachekey param kinds (str and num); the typelevel token callers assign to each field in a ParamMap to declare its runtime shape.
QualifierConfig
Declares how a qualifier value (e.g., a locale or currency code) appends a ::key suffix to read tags, isolating cache entries for the same entity but different