ResolveSlotOptions
type ResolveSlotOptions = { config?: SlotResolverConfig; preset?: VariantPreset; ttlMs?: number;};Defined in: packages/asset-client/src/slots.ts:165
Properties
Section titled “Properties”config?
Section titled “config?”optional config?: SlotResolverConfig;Defined in: packages/asset-client/src/slots.ts:175
Per-client auth/endpoint scope. Omit to use the process globals (configureSlotResolver). A NitidaClient passes its own here so its resolve() never uses another client’s key (audit N15).
preset?
Section titled “preset?”optional preset?: VariantPreset;Defined in: packages/asset-client/src/slots.ts:167
Override preset (caller knows the use case better than the slot binding).
ttlMs?
Section titled “ttlMs?”optional ttlMs?: number;Defined in: packages/asset-client/src/slots.ts:169
TTL for the in-process cache. Default 60s. Set 0 to bypass.