ResolveSlotOptions
type ResolveSlotOptions = { config?: SlotResolverConfig; preset?: VariantPreset; ttlMs?: number;};Defined in: packages/asset-client/dist/index.d.ts:715
Properties
Section titled “Properties”config?
Section titled “config?”optional config?: SlotResolverConfig;Defined in: packages/asset-client/dist/index.d.ts:725
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/dist/index.d.ts:717
Override preset (caller knows the use case better than the slot binding).
ttlMs?
Section titled “ttlMs?”optional ttlMs?: number;Defined in: packages/asset-client/dist/index.d.ts:719
TTL for the in-process cache. Default 60s. Set 0 to bypass.