@techstuff-dev/foundation-api-utils 1.26.0 → 1.27.0
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.
|
@@ -471,7 +471,7 @@ export interface ESMediaItem {
|
|
|
471
471
|
related_uuids?: string[];
|
|
472
472
|
franchise_name?: string[];
|
|
473
473
|
franchise_tid?: string[];
|
|
474
|
-
original?:
|
|
474
|
+
original?: boolean[];
|
|
475
475
|
script?: string[];
|
|
476
476
|
hide_thumbnail_title?: string[];
|
|
477
477
|
};
|
|
@@ -799,7 +799,7 @@ export interface MediaItem {
|
|
|
799
799
|
relatedItems?: string[];
|
|
800
800
|
franchises?: string[];
|
|
801
801
|
franchisesIds?: string[];
|
|
802
|
-
original?:
|
|
802
|
+
original?: boolean;
|
|
803
803
|
script?: string;
|
|
804
804
|
hideThumbnailTitle?: string;
|
|
805
805
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -753,13 +753,13 @@ var formatLongform = function (data) {
|
|
|
753
753
|
updated: (_h = (_g = item === null || item === void 0 ? void 0 : item._source) === null || _g === void 0 ? void 0 : _g.updated) === null || _h === void 0 ? void 0 : _h[0],
|
|
754
754
|
title: (_k = (_j = item === null || item === void 0 ? void 0 : item._source) === null || _j === void 0 ? void 0 : _j.display_title) === null || _k === void 0 ? void 0 : _k[0],
|
|
755
755
|
synopsis: (_m = (_l = item === null || item === void 0 ? void 0 : item._source) === null || _l === void 0 ? void 0 : _l.synopsis) === null || _m === void 0 ? void 0 : _m[0],
|
|
756
|
-
|
|
757
|
-
|
|
756
|
+
imagePoster: (_p = (_o = item === null || item === void 0 ? void 0 : item._source) === null || _o === void 0 ? void 0 : _o.image_style_poster) === null || _p === void 0 ? void 0 : _p[0],
|
|
757
|
+
imageThumb: (_r = (_q = item === null || item === void 0 ? void 0 : item._source) === null || _q === void 0 ? void 0 : _q.image_style_thumb) === null || _r === void 0 ? void 0 : _r[0],
|
|
758
758
|
duration: (_t = (_s = item === null || item === void 0 ? void 0 : item._source) === null || _s === void 0 ? void 0 : _s.duration) === null || _t === void 0 ? void 0 : _t[0],
|
|
759
759
|
releaseDate: (_v = (_u = item === null || item === void 0 ? void 0 : item._source) === null || _u === void 0 ? void 0 : _u.release_date) === null || _v === void 0 ? void 0 : _v[0],
|
|
760
760
|
video: (_x = (_w = item === null || item === void 0 ? void 0 : item._source) === null || _w === void 0 ? void 0 : _w.video) === null || _x === void 0 ? void 0 : _x[0],
|
|
761
|
-
|
|
762
|
-
|
|
761
|
+
imageUrl: (_z = (_y = item === null || item === void 0 ? void 0 : item._source) === null || _y === void 0 ? void 0 : _y.image_url) === null || _z === void 0 ? void 0 : _z[0],
|
|
762
|
+
episodeNumber: (_1 = (_0 = item === null || item === void 0 ? void 0 : item._source) === null || _0 === void 0 ? void 0 : _0.episode_number) === null || _1 === void 0 ? void 0 : _1[0],
|
|
763
763
|
};
|
|
764
764
|
});
|
|
765
765
|
};
|