trand_common_v1 0.2.16 → 0.2.17

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.
@@ -29,8 +29,9 @@ import { TMapTypeAndYouTubeVideo } from "../types/t-map-type-and-youtube-video";
29
29
  import { TRelatedI18n } from "../types/t-related-i18n";
30
30
  import { TRelatedImage } from "../types/t-related-image";
31
31
  import { TRelatedMetadataI18n } from "../types/t-related-metadata-i18n";
32
- import { TStagDetail } from "../types/t-stag";
32
+ import { TStagDetail, TStagListForContentDetail } from "../types/t-stag";
33
33
  import { TStreetDetail, TStreetListForCityDetail } from "../types/t-street";
34
+ import { TTag } from "../types/t-tag";
34
35
  import { TTripAdvisorData } from "../types/t-trip-advisor-data";
35
36
  export type ResponseDBSelect<T> = {
36
37
  data: T;
@@ -244,6 +245,37 @@ export type ResponseContentDetailForAdmin = {
244
245
  mapContentStag?: TMapTypeAndContent[];
245
246
  mapContentTag?: TMapTagAndContent[];
246
247
  };
248
+ /**
249
+ * Response Content Detail For Public
250
+ */
251
+ export type ResponseContentDetailForPublic = {
252
+ content: TContentDetail;
253
+ showTimetable?: TContentShowTimetable[];
254
+ price?: TContentPrice[];
255
+ image?: TContentImage[];
256
+ i18n?: TContentI18n[];
257
+ metadataI18n?: TContentMetadataI18n[];
258
+ keyword?: TContentKeyword[];
259
+ gpPhoto?: TContentGPPhoto[];
260
+ mapContentInstagram?: {
261
+ map: TMapContentAndInstagram;
262
+ content: TInstagramContent;
263
+ }[];
264
+ mapContentSelectedInstagram?: TMapContentAndSelectedInstagram[];
265
+ mapContentYouTubeVideo?: {
266
+ map: TMapContentAndYouTubeVideo;
267
+ content: TCompletedYouTubeVideoListForPublicFront;
268
+ }[];
269
+ mapContentSelectedYouTubeVideo?: TMapContentAndSelectedYouTubeVideo[];
270
+ mapContentStag?: {
271
+ map: TMapTypeAndContent;
272
+ content: TStagListForContentDetail;
273
+ }[];
274
+ mapContentTag?: {
275
+ map: TMapTagAndContent;
276
+ content: TTag;
277
+ }[];
278
+ };
247
279
  export type ResponseTrandAPI<T> = {
248
280
  success: boolean;
249
281
  alarm?: string | null;
@@ -61,3 +61,19 @@ export declare const KEYS_STAG_STR: string[];
61
61
  export declare const KEYS_STAG_NUM: string[];
62
62
  export declare const KEYS_STAG_BOOL: string[];
63
63
  export declare const KEYS_STAG_STR_ARRAY: string[];
64
+ export type TStagListForContentDetail = {
65
+ target_country_code: string;
66
+ stag_code: string;
67
+ name: string;
68
+ native: string | null;
69
+ content_count: number;
70
+ img_url: string | null;
71
+ is_active: boolean;
72
+ is_display: boolean;
73
+ thumbnail_main_1: string | null;
74
+ thumbnail_main_2: string | null;
75
+ thumbnail_1: string | null;
76
+ thumbnail_2: string | null;
77
+ thumbnail_vertical_1: string | null;
78
+ thumbnail_vertical_2: string | null;
79
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trand_common_v1",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "Common modules for Trand API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "trand"