@agility/content-fetch 2.0.2-rc-3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types/Gallery.d.ts
CHANGED
|
@@ -8,10 +8,7 @@
|
|
|
8
8
|
* @property {number} count - The count of media items in the gallery.
|
|
9
9
|
* @property {Array<AgilityFetch.Types.MediaItem>} media - Array of media items in the gallery.
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
mediaID: number;
|
|
13
|
-
name: string;
|
|
14
|
-
}
|
|
11
|
+
import { MediaItem } from './MediaItem';
|
|
15
12
|
export interface Gallery {
|
|
16
13
|
galleryID: number;
|
|
17
14
|
name: string;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* @property {date} modifiedOn - The last modified date and time of the media item.
|
|
10
10
|
* @property {AgilityFetch.Types.MediaItemMetaData} metaData - Meta data for the media item.
|
|
11
11
|
*/
|
|
12
|
+
import { MediaItemMetaData } from "./MediaItemMetaData";
|
|
12
13
|
export interface MediaItem {
|
|
13
14
|
mediaID: number;
|
|
14
15
|
fileName: string;
|
|
@@ -17,6 +18,3 @@ export interface MediaItem {
|
|
|
17
18
|
modifiedOn: Date;
|
|
18
19
|
metaData: MediaItemMetaData;
|
|
19
20
|
}
|
|
20
|
-
export interface MediaItemMetaData {
|
|
21
|
-
metaProperty: string;
|
|
22
|
-
}
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* Defines a **MediaItemMetaData** in the CMS
|
|
3
3
|
* @typedef MediaItemMetaData
|
|
4
4
|
* @memberof AgilityFetch.Types
|
|
5
|
-
* @property {string}
|
|
6
|
-
* @property {string}
|
|
7
|
-
* @property {string}
|
|
5
|
+
* @property {string} title - The title meta data of the media item.
|
|
6
|
+
* @property {string} description - The description meta data of the media item.
|
|
7
|
+
* @property {string} linkUrl - The link url meta data of the media item.
|
|
8
8
|
* @property {string} pixelHeight - The height in pixels of the media item.
|
|
9
9
|
* @property {string} pixelWidth - The width in pixels of the media item.
|
|
10
10
|
*/
|
|
11
11
|
export interface MediaItemMetaData {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
title?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
linkUrl?: string;
|
|
15
15
|
pixelHeight: string;
|
|
16
16
|
pixelWidth: string;
|
|
17
17
|
}
|