projects/core/src/model/image.model.ts
Properties |
| altText |
altText:
|
Type : string
|
| Optional |
| format |
format:
|
Type : string
|
| Optional |
| galleryIndex |
galleryIndex:
|
Type : number
|
| Optional |
| imageType |
imageType:
|
Type : ImageType
|
| Optional |
| role |
role:
|
Type : string
|
| Optional |
| url |
url:
|
Type : string
|
| Optional |
export interface Images {
[imageType: string]: ImageGroup | ImageGroup[];
}
export interface Image {
altText?: string;
role?: string;
format?: string;
galleryIndex?: number;
imageType?: ImageType;
url?: string;
}
export enum ImageType {
PRIMARY = 'PRIMARY',
GALLERY = 'GALLERY',
}
export interface ImageGroup {
[format: string]: Image;
}