SlotResolution
type SlotResolution = { preset: VariantPreset; slot: SlotDTO | null; url: string | null;};Defined in: packages/asset-client/src/slots.ts:35
Properties
Section titled “Properties”preset
Section titled “preset”preset: VariantPreset;Defined in: packages/asset-client/src/slots.ts:44
Effective preset — what url below was built with. Resolution order:
- caller’s
presetoverride - slot’s
presethint lgfor images,videofor video kind
slot: SlotDTO | null;Defined in: packages/asset-client/src/slots.ts:37
The resolved DTO (null when the slot is unbound or asset missing).
url: string | null;Defined in: packages/asset-client/src/slots.ts:46
The CDN URL the consumer should use.