UNPKG

@agility/content-fetch

Version:
19 lines (18 loc) 619 B
/** * Defines a **Gallery** in the CMS * @typedef Gallery * @memberof AgilityFetch.Types * @property {number} galleryID - The unique ID of the gallery. * @property {string} name - The name of the gallery. * @property {string} description - The description of the gallery. * @property {number} count - The count of media items in the gallery. * @property {Array<AgilityFetch.Types.MediaItem>} media - Array of media items in the gallery. */ import { MediaItem } from './MediaItem'; export interface Gallery { galleryID: number; name: string; description: string; count: number; media: MediaItem[]; }