@spartacus/core
Version:
Spartacus - the core framework
19 lines (18 loc) • 385 B
TypeScript
export interface Images {
[imageType: string]: ImageGroup | ImageGroup[];
}
export interface Image {
altText?: string;
role?: string;
format?: string;
galleryIndex?: number;
imageType?: ImageType;
url?: string;
}
export declare enum ImageType {
PRIMARY = "PRIMARY",
GALLERY = "GALLERY"
}
export interface ImageGroup {
[format: string]: Image;
}