File

projects/core/src/model/image.model.ts

Index

Properties

Properties

altText
altText: string
Type : string
Optional
format
format: string
Type : string
Optional
galleryIndex
galleryIndex: number
Type : number
Optional
imageType
imageType: ImageType
Type : ImageType
Optional
role
role: string
Type : string
Optional
url
url: string
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;
}

result-matching ""

    No results matching ""