trand_common_v1 0.2.39 → 0.2.41
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/consts/db.d.ts +0 -14
- package/dist/consts/db.js +0 -14
- package/dist/consts/db.js.map +1 -1
- package/dist/fields/f-category-i18n.d.ts +1 -1
- package/dist/fields/f-category-i18n.js +3 -3
- package/dist/fields/f-category-i18n.js.map +1 -1
- package/dist/fields/f-category-metadata-i18n.d.ts +1 -1
- package/dist/fields/f-category-metadata-i18n.js +3 -3
- package/dist/fields/f-category-metadata-i18n.js.map +1 -1
- package/dist/fields/f-city-i18n.d.ts +1 -1
- package/dist/fields/f-city-i18n.js +3 -3
- package/dist/fields/f-city-i18n.js.map +1 -1
- package/dist/fields/f-city-image.d.ts +1 -1
- package/dist/fields/f-city-image.js +3 -3
- package/dist/fields/f-city-image.js.map +1 -1
- package/dist/fields/f-city-metadata-i18n.d.ts +1 -1
- package/dist/fields/f-city-metadata-i18n.js +3 -3
- package/dist/fields/f-city-metadata-i18n.js.map +1 -1
- package/dist/fields/f-map-category-content.d.ts +18 -1
- package/dist/fields/f-map-category-content.js +20 -3
- package/dist/fields/f-map-category-content.js.map +1 -1
- package/dist/fields/f-map-category-instagram.d.ts +18 -1
- package/dist/fields/f-map-category-instagram.js +20 -3
- package/dist/fields/f-map-category-instagram.js.map +1 -1
- package/dist/fields/f-map-category-youtube-video.d.ts +18 -1
- package/dist/fields/f-map-category-youtube-video.js +20 -3
- package/dist/fields/f-map-category-youtube-video.js.map +1 -1
- package/dist/fields/f-map-city-content.d.ts +18 -1
- package/dist/fields/f-map-city-content.js +20 -3
- package/dist/fields/f-map-city-content.js.map +1 -1
- package/dist/fields/f-map-city-instagram.d.ts +18 -1
- package/dist/fields/f-map-city-instagram.js +20 -3
- package/dist/fields/f-map-city-instagram.js.map +1 -1
- package/dist/fields/f-map-city-youtube-video.d.ts +18 -1
- package/dist/fields/f-map-city-youtube-video.js +20 -3
- package/dist/fields/f-map-city-youtube-video.js.map +1 -1
- package/dist/fields/f-map-content-instagram.d.ts +18 -1
- package/dist/fields/f-map-content-instagram.js +20 -3
- package/dist/fields/f-map-content-instagram.js.map +1 -1
- package/dist/fields/f-map-content-youtube-video.d.ts +18 -1
- package/dist/fields/f-map-content-youtube-video.js +20 -3
- package/dist/fields/f-map-content-youtube-video.js.map +1 -1
- package/dist/fields/f-map-stag-content.d.ts +18 -1
- package/dist/fields/f-map-stag-content.js +20 -3
- package/dist/fields/f-map-stag-content.js.map +1 -1
- package/dist/fields/f-map-stag-instagram.d.ts +18 -1
- package/dist/fields/f-map-stag-instagram.js +20 -3
- package/dist/fields/f-map-stag-instagram.js.map +1 -1
- package/dist/fields/f-map-stag-youtube-video.d.ts +18 -1
- package/dist/fields/f-map-stag-youtube-video.js +20 -3
- package/dist/fields/f-map-stag-youtube-video.js.map +1 -1
- package/dist/fields/f-map-street-content.d.ts +18 -1
- package/dist/fields/f-map-street-content.js +20 -3
- package/dist/fields/f-map-street-content.js.map +1 -1
- package/dist/fields/f-map-street-instagram.d.ts +18 -1
- package/dist/fields/f-map-street-instagram.js +20 -3
- package/dist/fields/f-map-street-instagram.js.map +1 -1
- package/dist/fields/f-map-street-youtube-video.d.ts +18 -1
- package/dist/fields/f-map-street-youtube-video.js +20 -3
- package/dist/fields/f-map-street-youtube-video.js.map +1 -1
- package/dist/fields/f-map-tag-content.d.ts +11 -0
- package/dist/fields/f-map-tag-content.js +11 -0
- package/dist/fields/f-map-tag-content.js.map +1 -1
- package/dist/fields/f-map-youtube-channel-country.d.ts +11 -0
- package/dist/fields/f-map-youtube-channel-country.js +11 -0
- package/dist/fields/f-map-youtube-channel-country.js.map +1 -1
- package/dist/fields/f-stag-i18n.d.ts +1 -1
- package/dist/fields/f-stag-i18n.js +3 -3
- package/dist/fields/f-stag-i18n.js.map +1 -1
- package/dist/fields/f-stag-image.d.ts +1 -1
- package/dist/fields/f-stag-image.js +3 -3
- package/dist/fields/f-stag-image.js.map +1 -1
- package/dist/fields/f-stag-metadata-i18n.d.ts +1 -1
- package/dist/fields/f-stag-metadata-i18n.js +3 -3
- package/dist/fields/f-stag-metadata-i18n.js.map +1 -1
- package/dist/fields/f-street-i18n.d.ts +1 -1
- package/dist/fields/f-street-i18n.js +3 -3
- package/dist/fields/f-street-i18n.js.map +1 -1
- package/dist/fields/f-street-image.d.ts +1 -1
- package/dist/fields/f-street-image.js +3 -3
- package/dist/fields/f-street-image.js.map +1 -1
- package/dist/fields/f-street-metadata-i18n.d.ts +1 -1
- package/dist/fields/f-street-metadata-i18n.js +3 -3
- package/dist/fields/f-street-metadata-i18n.js.map +1 -1
- package/dist/index.d.ts +26 -28
- package/dist/index.js +26 -28
- package/dist/index.js.map +1 -1
- package/dist/response/trand-response.d.ts +356 -211
- package/dist/types/t-category-i18n.d.ts +15 -0
- package/dist/types/t-category-i18n.js +2 -0
- package/dist/types/t-category-i18n.js.map +1 -0
- package/dist/types/t-category-metadata-i18n.d.ts +17 -0
- package/dist/types/t-category-metadata-i18n.js +2 -0
- package/dist/types/t-category-metadata-i18n.js.map +1 -0
- package/dist/types/t-city-i18n.d.ts +15 -0
- package/dist/types/t-city-i18n.js +2 -0
- package/dist/types/t-city-i18n.js.map +1 -0
- package/dist/types/t-city-image.d.ts +16 -0
- package/dist/types/t-city-image.js +2 -0
- package/dist/types/t-city-image.js.map +1 -0
- package/dist/types/t-city-metadata-i18n.d.ts +17 -0
- package/dist/types/t-city-metadata-i18n.js +2 -0
- package/dist/types/t-city-metadata-i18n.js.map +1 -0
- package/dist/types/t-map-category-content.d.ts +7 -0
- package/dist/types/t-map-category-content.js +2 -0
- package/dist/types/t-map-category-content.js.map +1 -0
- package/dist/types/t-map-category-instagram.d.ts +7 -0
- package/dist/types/t-map-category-instagram.js +2 -0
- package/dist/types/t-map-category-instagram.js.map +1 -0
- package/dist/types/t-map-category-youtube-video.d.ts +7 -0
- package/dist/types/t-map-category-youtube-video.js +2 -0
- package/dist/types/t-map-category-youtube-video.js.map +1 -0
- package/dist/types/t-map-city-content.d.ts +7 -0
- package/dist/types/t-map-city-content.js +2 -0
- package/dist/types/t-map-city-content.js.map +1 -0
- package/dist/types/t-map-city-instagram.d.ts +7 -0
- package/dist/types/t-map-city-instagram.js +2 -0
- package/dist/types/t-map-city-instagram.js.map +1 -0
- package/dist/types/t-map-city-youtube-video.d.ts +7 -0
- package/dist/types/t-map-city-youtube-video.js +2 -0
- package/dist/types/t-map-city-youtube-video.js.map +1 -0
- package/dist/types/t-map-completed-youtube-channel-and-country.d.ts +2 -0
- package/dist/types/t-map-content-instagram.d.ts +7 -0
- package/dist/types/t-map-content-instagram.js +2 -0
- package/dist/types/t-map-content-instagram.js.map +1 -0
- package/dist/types/t-map-content-youtube-video.d.ts +7 -0
- package/dist/types/t-map-content-youtube-video.js +2 -0
- package/dist/types/t-map-content-youtube-video.js.map +1 -0
- package/dist/types/t-map-stag-content.d.ts +7 -0
- package/dist/types/t-map-stag-content.js +2 -0
- package/dist/types/t-map-stag-content.js.map +1 -0
- package/dist/types/t-map-stag-instagram.d.ts +7 -0
- package/dist/types/t-map-stag-instagram.js +2 -0
- package/dist/types/t-map-stag-instagram.js.map +1 -0
- package/dist/types/t-map-stag-youtube-video.d.ts +7 -0
- package/dist/types/t-map-stag-youtube-video.js +2 -0
- package/dist/types/t-map-stag-youtube-video.js.map +1 -0
- package/dist/types/t-map-street-content.d.ts +7 -0
- package/dist/types/t-map-street-content.js +2 -0
- package/dist/types/t-map-street-content.js.map +1 -0
- package/dist/types/t-map-street-instagram.d.ts +7 -0
- package/dist/types/t-map-street-instagram.js +2 -0
- package/dist/types/t-map-street-instagram.js.map +1 -0
- package/dist/types/t-map-street-youtube-video.d.ts +7 -0
- package/dist/types/t-map-street-youtube-video.js +2 -0
- package/dist/types/t-map-street-youtube-video.js.map +1 -0
- package/dist/types/t-map-tag-content.d.ts +6 -0
- package/dist/types/t-map-tag-content.js +2 -0
- package/dist/types/t-map-tag-content.js.map +1 -0
- package/dist/types/t-stag-i18n.d.ts +15 -0
- package/dist/types/t-stag-i18n.js +2 -0
- package/dist/types/t-stag-i18n.js.map +1 -0
- package/dist/types/t-stag-image.d.ts +16 -0
- package/dist/types/t-stag-image.js +2 -0
- package/dist/types/t-stag-image.js.map +1 -0
- package/dist/types/t-stag-metadata-i18n.d.ts +17 -0
- package/dist/types/t-stag-metadata-i18n.js +2 -0
- package/dist/types/t-stag-metadata-i18n.js.map +1 -0
- package/dist/types/t-street-i18n.d.ts +15 -0
- package/dist/types/t-street-i18n.js +2 -0
- package/dist/types/t-street-i18n.js.map +1 -0
- package/dist/types/t-street-image.d.ts +16 -0
- package/dist/types/t-street-image.js +2 -0
- package/dist/types/t-street-image.js.map +1 -0
- package/dist/types/t-street-metadata-i18n.d.ts +17 -0
- package/dist/types/t-street-metadata-i18n.js +2 -0
- package/dist/types/t-street-metadata-i18n.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { TCategoryDetail,
|
|
1
|
+
import { TCategoryDetail, TCategoryListForPublic } from "../types/t-category";
|
|
2
|
+
import { TCategoryI18n } from "../types/t-category-i18n";
|
|
3
|
+
import { TCategoryMetadataI18n } from "../types/t-category-metadata-i18n";
|
|
2
4
|
import { TCityDetail } from "../types/t-city";
|
|
5
|
+
import { TCityI18n } from "../types/t-city-i18n";
|
|
6
|
+
import { TCityImage } from "../types/t-city-image";
|
|
7
|
+
import { TCityMetadataI18n } from "../types/t-city-metadata-i18n";
|
|
3
8
|
import { TCompletedYouTubeChannelDetail } from "../types/t-completed-youtube-channel";
|
|
4
9
|
import { TCompletedYouTubeVideoDetail, TCompletedYouTubeVideoListForPublicFront } from "../types/t-completed-youtube-video";
|
|
5
10
|
import { TContentDetail } from "../types/t-content";
|
|
@@ -12,26 +17,33 @@ import { TContentPrice } from "../types/t-content-price";
|
|
|
12
17
|
import { TContentShowTimetable } from "../types/t-content-show-timetable";
|
|
13
18
|
import { TGooglePlaceData } from "../types/t-google-place-data";
|
|
14
19
|
import { TInstagramContent } from "../types/t-instagram-content";
|
|
20
|
+
import { TMapCategoryContent } from "../types/t-map-category-content";
|
|
21
|
+
import { TMapCategoryInstagram } from "../types/t-map-category-instagram";
|
|
22
|
+
import { TMapCategoryYouTubeVideo } from "../types/t-map-category-youtube-video";
|
|
23
|
+
import { TMapCityContent } from "../types/t-map-city-content";
|
|
24
|
+
import { TMapCityInstagram } from "../types/t-map-city-instagram";
|
|
25
|
+
import { TMapCityYouTubeVideo } from "../types/t-map-city-youtube-video";
|
|
15
26
|
import { TMapCompletedYouTubeChannelAndCountry } from "../types/t-map-completed-youtube-channel-and-country";
|
|
16
27
|
import { TMapCompletedYouTubeVideoAndKeyword } from "../types/t-map-completed-youtube-video-and-keyword";
|
|
17
28
|
import { TMapCompletedYouTubeVideoAndTimeline } from "../types/t-map-completed-youtube-video-and-timeline";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { TMapTypeAndSelectedYouTubeVideo } from "../types/t-map-type-and-selected-youtube-video";
|
|
28
|
-
import { TMapTypeAndYouTubeVideo } from "../types/t-map-type-and-youtube-video";
|
|
29
|
+
import { TMapContentInstagram } from "../types/t-map-content-instagram";
|
|
30
|
+
import { TMapContentYouTubeVideo } from "../types/t-map-content-youtube-video";
|
|
31
|
+
import { TMapStagContent } from "../types/t-map-stag-content";
|
|
32
|
+
import { TMapStagInstagram } from "../types/t-map-stag-instagram";
|
|
33
|
+
import { TMapStagYouTubeVideo } from "../types/t-map-stag-youtube-video";
|
|
34
|
+
import { TMapStreetContent } from "../types/t-map-street-content";
|
|
35
|
+
import { TMapStreetInstagram } from "../types/t-map-street-instagram";
|
|
36
|
+
import { TMapStreetYouTubeVideo } from "../types/t-map-street-youtube-video";
|
|
37
|
+
import { TMapTagContent } from "../types/t-map-tag-content";
|
|
29
38
|
import { TMetadata } from "../types/t-metadata";
|
|
30
|
-
import { TRelatedI18n } from "../types/t-related-i18n";
|
|
31
|
-
import { TRelatedImage } from "../types/t-related-image";
|
|
32
|
-
import { TRelatedMetadataI18n } from "../types/t-related-metadata-i18n";
|
|
33
39
|
import { TStagDetail, TStagListForContentDetail } from "../types/t-stag";
|
|
40
|
+
import { TStagI18n } from "../types/t-stag-i18n";
|
|
41
|
+
import { TStagImage } from "../types/t-stag-image";
|
|
42
|
+
import { TStagMetadataI18n } from "../types/t-stag-metadata-i18n";
|
|
34
43
|
import { TStreetDetail, TStreetListForCityDetail } from "../types/t-street";
|
|
44
|
+
import { TStreetI18n } from "../types/t-street-i18n";
|
|
45
|
+
import { TStreetImage } from "../types/t-street-image";
|
|
46
|
+
import { TStreetMetadataI18n } from "../types/t-street-metadata-i18n";
|
|
35
47
|
import { TTag } from "../types/t-tag";
|
|
36
48
|
import { TTripAdvisorData } from "../types/t-trip-advisor-data";
|
|
37
49
|
export type ResponseDBSelect<T> = {
|
|
@@ -44,56 +56,101 @@ export type ResponseDBSelect<T> = {
|
|
|
44
56
|
*/
|
|
45
57
|
export type ResponseCityDetailForAdmin = {
|
|
46
58
|
content: TCityDetail;
|
|
47
|
-
images?:
|
|
48
|
-
i18n?:
|
|
49
|
-
metadataI18n?:
|
|
50
|
-
mapCityContent?:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
images?: TCityImage[];
|
|
60
|
+
i18n?: TCityI18n[];
|
|
61
|
+
metadataI18n?: TCityMetadataI18n[];
|
|
62
|
+
mapCityContent?: {
|
|
63
|
+
itmes: TMapCityContent[];
|
|
64
|
+
start: number;
|
|
65
|
+
limit: number;
|
|
66
|
+
total: number;
|
|
67
|
+
hasMore: boolean;
|
|
68
|
+
};
|
|
69
|
+
mapCityYouTubeVideo?: {
|
|
70
|
+
itmes: TMapCityYouTubeVideo[];
|
|
71
|
+
start: number;
|
|
72
|
+
limit: number;
|
|
73
|
+
total: number;
|
|
74
|
+
hasMore: boolean;
|
|
75
|
+
};
|
|
76
|
+
mapCityInstagram?: {
|
|
77
|
+
itmes: TMapCityInstagram[];
|
|
78
|
+
start: number;
|
|
79
|
+
limit: number;
|
|
80
|
+
total: number;
|
|
81
|
+
hasMore: boolean;
|
|
82
|
+
};
|
|
56
83
|
};
|
|
57
84
|
/**
|
|
58
85
|
* Response City For Public
|
|
59
86
|
*/
|
|
60
87
|
export type ResponseCityDetailForPublic = {
|
|
61
88
|
content: TCityDetail;
|
|
62
|
-
images?:
|
|
63
|
-
i18n?:
|
|
64
|
-
metadataI18n?:
|
|
89
|
+
images?: TCityImage[];
|
|
90
|
+
i18n?: TCityI18n;
|
|
91
|
+
metadataI18n?: TCityMetadataI18n;
|
|
65
92
|
categories?: TCategoryListForPublic[];
|
|
66
93
|
streets?: TStreetListForCityDetail[];
|
|
67
94
|
mapCityContent?: {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
95
|
+
itmes: {
|
|
96
|
+
map: TMapCityContent;
|
|
97
|
+
content: TContentDetail;
|
|
98
|
+
}[];
|
|
99
|
+
start: number;
|
|
100
|
+
limit: number;
|
|
101
|
+
total: number;
|
|
102
|
+
hasMore: boolean;
|
|
103
|
+
};
|
|
72
104
|
mapCityYouTubeVideo?: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
105
|
+
itmes: {
|
|
106
|
+
map: TMapCityYouTubeVideo;
|
|
107
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
108
|
+
}[];
|
|
109
|
+
start: number;
|
|
110
|
+
limit: number;
|
|
111
|
+
total: number;
|
|
112
|
+
hasMore: boolean;
|
|
113
|
+
};
|
|
77
114
|
mapCityInstagram?: {
|
|
78
|
-
|
|
79
|
-
|
|
115
|
+
itmes: {
|
|
116
|
+
map: TMapCityInstagram;
|
|
117
|
+
content: TInstagramContent;
|
|
118
|
+
}[];
|
|
119
|
+
start: number;
|
|
120
|
+
limit: number;
|
|
121
|
+
total: number;
|
|
122
|
+
hasMore: boolean;
|
|
80
123
|
}[];
|
|
81
|
-
mapCitySelectedInstagram?: TMapTypeAndSelectedInstagram[];
|
|
82
124
|
};
|
|
83
125
|
/**
|
|
84
126
|
* Response Street Detail For Admin
|
|
85
127
|
*/
|
|
86
128
|
export type ResponseStreetDetailForAdmin = {
|
|
87
129
|
content: TStreetDetail;
|
|
88
|
-
images?:
|
|
89
|
-
i18n?:
|
|
90
|
-
metadataI18n?:
|
|
91
|
-
mapStreetContent?:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
130
|
+
images?: TStreetImage[];
|
|
131
|
+
i18n?: TStreetI18n[];
|
|
132
|
+
metadataI18n?: TStreetMetadataI18n[];
|
|
133
|
+
mapStreetContent?: {
|
|
134
|
+
itmes: TMapStreetContent[];
|
|
135
|
+
start: number;
|
|
136
|
+
limit: number;
|
|
137
|
+
total: number;
|
|
138
|
+
hasMore: boolean;
|
|
139
|
+
};
|
|
140
|
+
mapStreetYouTubeVideo?: {
|
|
141
|
+
itmes: TMapStreetYouTubeVideo[];
|
|
142
|
+
start: number;
|
|
143
|
+
limit: number;
|
|
144
|
+
total: number;
|
|
145
|
+
hasMore: boolean;
|
|
146
|
+
};
|
|
147
|
+
mapStreetInstagram?: {
|
|
148
|
+
itmes: TMapStreetInstagram[];
|
|
149
|
+
start: number;
|
|
150
|
+
limit: number;
|
|
151
|
+
total: number;
|
|
152
|
+
hasMore: boolean;
|
|
153
|
+
};
|
|
97
154
|
};
|
|
98
155
|
/**
|
|
99
156
|
* Response Street Detail For Public
|
|
@@ -101,183 +158,194 @@ export type ResponseStreetDetailForAdmin = {
|
|
|
101
158
|
export type ResponseStreetDetailForPublic = {
|
|
102
159
|
content: TStreetDetail;
|
|
103
160
|
cityDetail: {
|
|
161
|
+
city_code: string;
|
|
104
162
|
name: string;
|
|
163
|
+
native: string;
|
|
164
|
+
name_ko: string;
|
|
105
165
|
};
|
|
106
|
-
images?:
|
|
107
|
-
i18n?:
|
|
108
|
-
metadataI18n?:
|
|
166
|
+
images?: TStreetImage[];
|
|
167
|
+
i18n?: TStreetI18n;
|
|
168
|
+
metadataI18n?: TStreetMetadataI18n;
|
|
109
169
|
mapStreetContent?: {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
170
|
+
itmes: {
|
|
171
|
+
map: TMapStreetContent;
|
|
172
|
+
content: TContentDetail;
|
|
173
|
+
}[];
|
|
174
|
+
start: number;
|
|
175
|
+
limit: number;
|
|
176
|
+
total: number;
|
|
177
|
+
hasMore: boolean;
|
|
178
|
+
};
|
|
114
179
|
mapStreetYouTubeVideo?: {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
180
|
+
itmes: {
|
|
181
|
+
map: TMapStreetYouTubeVideo;
|
|
182
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
183
|
+
}[];
|
|
184
|
+
start: number;
|
|
185
|
+
limit: number;
|
|
186
|
+
total: number;
|
|
187
|
+
hasMore: boolean;
|
|
188
|
+
};
|
|
119
189
|
mapStreetInstagram?: {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
190
|
+
itmes: {
|
|
191
|
+
map: TMapStreetInstagram;
|
|
192
|
+
content: TInstagramContent;
|
|
193
|
+
}[];
|
|
194
|
+
start: number;
|
|
195
|
+
limit: number;
|
|
196
|
+
total: number;
|
|
197
|
+
hasMore: boolean;
|
|
198
|
+
};
|
|
124
199
|
};
|
|
125
200
|
/**
|
|
126
201
|
* Response Category Detail For Admin
|
|
127
202
|
*/
|
|
128
203
|
export type ResponseCategoryDetailForAdmin = {
|
|
129
204
|
content: TCategoryDetail;
|
|
130
|
-
subCategories?:
|
|
131
|
-
i18n?:
|
|
132
|
-
metadataI18n?:
|
|
133
|
-
mapCategoryContent?: TMapTypeAndContent[];
|
|
134
|
-
mapCategorySelectedContent?: TMapTypeAndSelectedContent[];
|
|
135
|
-
mapCategoryYouTubeVideo?: TMapTypeAndYouTubeVideo[];
|
|
136
|
-
mapCategorySelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
|
|
137
|
-
mapCategoryInstagram?: TMapTypeAndInstagram[];
|
|
138
|
-
mapCategorySelectedInstagram?: TMapTypeAndSelectedInstagram[];
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Response Category Detail For Public
|
|
142
|
-
*/
|
|
143
|
-
export type ResponseCategoryDetailForPublic = {
|
|
144
|
-
content: TCategoryDetail;
|
|
145
|
-
subCategories?: TCategoryListForAdmin[];
|
|
146
|
-
i18n?: TRelatedI18n;
|
|
147
|
-
metadataI18n?: TRelatedMetadataI18n;
|
|
205
|
+
subCategories?: TCategoryDetail[];
|
|
206
|
+
i18n?: TCategoryI18n[];
|
|
207
|
+
metadataI18n?: TCategoryMetadataI18n[];
|
|
148
208
|
mapCategoryContent?: {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
209
|
+
itmes: TMapCategoryContent[];
|
|
210
|
+
start: number;
|
|
211
|
+
limit: number;
|
|
212
|
+
total: number;
|
|
213
|
+
hasMore: boolean;
|
|
214
|
+
};
|
|
153
215
|
mapCategoryYouTubeVideo?: {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
216
|
+
itmes: TMapCategoryYouTubeVideo[];
|
|
217
|
+
start: number;
|
|
218
|
+
limit: number;
|
|
219
|
+
total: number;
|
|
220
|
+
hasMore: boolean;
|
|
221
|
+
};
|
|
158
222
|
mapCategoryInstagram?: {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
223
|
+
itmes: TMapCategoryInstagram[];
|
|
224
|
+
start: number;
|
|
225
|
+
limit: number;
|
|
226
|
+
total: number;
|
|
227
|
+
hasMore: boolean;
|
|
228
|
+
};
|
|
163
229
|
};
|
|
164
230
|
/**
|
|
165
|
-
* Response Category Detail
|
|
231
|
+
* Response Category Detail For Public
|
|
166
232
|
*/
|
|
167
|
-
export type
|
|
233
|
+
export type ResponseCategoryDetailForPublic = {
|
|
168
234
|
content: TCategoryDetail;
|
|
169
|
-
cityDetail
|
|
235
|
+
cityDetail?: {
|
|
236
|
+
city_code: string;
|
|
170
237
|
name: string;
|
|
238
|
+
native: string;
|
|
239
|
+
name_ko: string;
|
|
171
240
|
};
|
|
172
|
-
subCategories?:
|
|
173
|
-
i18n?:
|
|
174
|
-
metadataI18n?:
|
|
241
|
+
subCategories?: TCategoryDetail[];
|
|
242
|
+
i18n?: TCategoryI18n;
|
|
243
|
+
metadataI18n?: TCategoryMetadataI18n;
|
|
175
244
|
mapCategoryContent?: {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
245
|
+
itmes: {
|
|
246
|
+
map: TMapCategoryContent;
|
|
247
|
+
content: TContentDetail;
|
|
248
|
+
}[];
|
|
249
|
+
start: number;
|
|
250
|
+
limit: number;
|
|
251
|
+
total: number;
|
|
252
|
+
hasMore: boolean;
|
|
253
|
+
};
|
|
180
254
|
mapCategoryYouTubeVideo?: {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
255
|
+
itmes: {
|
|
256
|
+
map: TMapCategoryYouTubeVideo;
|
|
257
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
258
|
+
}[];
|
|
259
|
+
start: number;
|
|
260
|
+
limit: number;
|
|
261
|
+
total: number;
|
|
262
|
+
hasMore: boolean;
|
|
263
|
+
};
|
|
185
264
|
mapCategoryInstagram?: {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
265
|
+
itmes: {
|
|
266
|
+
map: TMapCategoryInstagram;
|
|
267
|
+
content: TInstagramContent;
|
|
268
|
+
}[];
|
|
269
|
+
start: number;
|
|
270
|
+
limit: number;
|
|
271
|
+
total: number;
|
|
272
|
+
hasMore: boolean;
|
|
273
|
+
};
|
|
190
274
|
};
|
|
191
275
|
/**
|
|
192
276
|
* Response Stag Detail For Admin
|
|
193
277
|
*/
|
|
194
278
|
export type ResponseStagDetailForAdmin = {
|
|
195
279
|
content: TStagDetail;
|
|
196
|
-
images?:
|
|
197
|
-
i18n?:
|
|
198
|
-
metadataI18n?:
|
|
199
|
-
mapStagContent?: TMapTypeAndContent[];
|
|
200
|
-
mapStagSelectedContent?: TMapTypeAndSelectedContent[];
|
|
201
|
-
mapStagYouTubeVideo?: TMapTypeAndYouTubeVideo[];
|
|
202
|
-
mapStagSelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
|
|
203
|
-
mapStagInstagram?: TMapTypeAndInstagram[];
|
|
204
|
-
mapStagSelectedInstagram?: TMapTypeAndSelectedInstagram[];
|
|
205
|
-
};
|
|
206
|
-
/**
|
|
207
|
-
* Response Stag Detail For Public
|
|
208
|
-
*/
|
|
209
|
-
export type ResponseStagDetailForPublic = {
|
|
210
|
-
content: TStagDetail;
|
|
211
|
-
images?: TRelatedImage[];
|
|
212
|
-
i18n?: TRelatedI18n;
|
|
213
|
-
metadataI18n?: TRelatedMetadataI18n;
|
|
280
|
+
images?: TStagImage[];
|
|
281
|
+
i18n?: TStagI18n[];
|
|
282
|
+
metadataI18n?: TStagMetadataI18n[];
|
|
214
283
|
mapStagContent?: {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
284
|
+
itmes: TMapStagContent[];
|
|
285
|
+
start: number;
|
|
286
|
+
limit: number;
|
|
287
|
+
total: number;
|
|
288
|
+
hasMore: boolean;
|
|
289
|
+
};
|
|
219
290
|
mapStagYouTubeVideo?: {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
291
|
+
itmes: TMapStagYouTubeVideo[];
|
|
292
|
+
start: number;
|
|
293
|
+
limit: number;
|
|
294
|
+
total: number;
|
|
295
|
+
hasMore: boolean;
|
|
296
|
+
};
|
|
224
297
|
mapStagInstagram?: {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
298
|
+
itmes: TMapStagInstagram[];
|
|
299
|
+
start: number;
|
|
300
|
+
limit: number;
|
|
301
|
+
total: number;
|
|
302
|
+
hasMore: boolean;
|
|
303
|
+
};
|
|
229
304
|
};
|
|
230
305
|
/**
|
|
231
|
-
* Response Stag Detail
|
|
306
|
+
* Response Stag Detail For Public
|
|
232
307
|
*/
|
|
233
|
-
export type
|
|
308
|
+
export type ResponseStagDetailForPublic = {
|
|
234
309
|
content: TStagDetail;
|
|
235
|
-
cityDetail
|
|
310
|
+
cityDetail?: {
|
|
311
|
+
city_code: string;
|
|
236
312
|
name: string;
|
|
313
|
+
native: string;
|
|
314
|
+
name_ko: string;
|
|
237
315
|
};
|
|
238
|
-
images?:
|
|
239
|
-
i18n?:
|
|
240
|
-
metadataI18n?:
|
|
316
|
+
images?: TStagImage[];
|
|
317
|
+
i18n?: TStagI18n;
|
|
318
|
+
metadataI18n?: TStagMetadataI18n;
|
|
241
319
|
mapStagContent?: {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
320
|
+
itmes: {
|
|
321
|
+
map: TMapStagContent;
|
|
322
|
+
content: TContentDetail;
|
|
323
|
+
}[];
|
|
324
|
+
start: number;
|
|
325
|
+
limit: number;
|
|
326
|
+
total: number;
|
|
327
|
+
hasMore: boolean;
|
|
328
|
+
};
|
|
246
329
|
mapStagYouTubeVideo?: {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
330
|
+
itmes: {
|
|
331
|
+
map: TMapStagYouTubeVideo;
|
|
332
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
333
|
+
}[];
|
|
334
|
+
start: number;
|
|
335
|
+
limit: number;
|
|
336
|
+
total: number;
|
|
337
|
+
hasMore: boolean;
|
|
338
|
+
};
|
|
251
339
|
mapStagInstagram?: {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
content: TCompletedYouTubeVideoDetail;
|
|
262
|
-
mapYouTubeVideoKeyword?: TMapCompletedYouTubeVideoAndKeyword[];
|
|
263
|
-
mapYouTubeVideoTimeline?: TMapCompletedYouTubeVideoAndTimeline[];
|
|
264
|
-
mapYouTubeVideoCity?: TMapTypeAndYouTubeVideo[];
|
|
265
|
-
mapSelectedYouTubeVideoCity?: TMapTypeAndSelectedYouTubeVideo[];
|
|
266
|
-
mapYouTubeVideoStreet?: TMapTypeAndYouTubeVideo[];
|
|
267
|
-
mapSelectedYouTubeVideoStreet?: TMapTypeAndSelectedYouTubeVideo[];
|
|
268
|
-
mapYouTubeVideoContent?: TMapContentAndYouTubeVideo[];
|
|
269
|
-
mapSelectedYouTubeVideoContent?: TMapContentAndSelectedYouTubeVideo[];
|
|
270
|
-
mapYouTubeVideoCategory?: TMapTypeAndYouTubeVideo[];
|
|
271
|
-
mapSelectedYouTubeVideoCategory?: TMapTypeAndSelectedYouTubeVideo[];
|
|
272
|
-
mapYouTubeVideoStag?: TMapTypeAndYouTubeVideo[];
|
|
273
|
-
mapSelectedYouTubeVideoStag?: TMapTypeAndSelectedYouTubeVideo[];
|
|
274
|
-
};
|
|
275
|
-
/**
|
|
276
|
-
* Response Completed YouTube Channel Detail For Admin
|
|
277
|
-
*/
|
|
278
|
-
export type ResponseCompletedYouTubeChannelDetailForAdmin = {
|
|
279
|
-
content: TCompletedYouTubeChannelDetail;
|
|
280
|
-
mapYouTubeChannelCountry?: TMapCompletedYouTubeChannelAndCountry[];
|
|
340
|
+
itmes: {
|
|
341
|
+
map: TMapStagInstagram;
|
|
342
|
+
content: TInstagramContent;
|
|
343
|
+
}[];
|
|
344
|
+
start: number;
|
|
345
|
+
limit: number;
|
|
346
|
+
total: number;
|
|
347
|
+
hasMore: boolean;
|
|
348
|
+
};
|
|
281
349
|
};
|
|
282
350
|
/**
|
|
283
351
|
* Response Content Detail For Admin
|
|
@@ -293,22 +361,25 @@ export type ResponseContentDetailForAdmin = {
|
|
|
293
361
|
metadataI18n?: TContentMetadataI18n[];
|
|
294
362
|
keyword?: TContentKeyword[];
|
|
295
363
|
gpPhoto?: TContentGPPhoto[];
|
|
296
|
-
mapContentCategory?:
|
|
297
|
-
mapContentCity?:
|
|
298
|
-
mapContentStreet?:
|
|
299
|
-
mapContentInstagram?:
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
mapContentStag?: TMapTypeAndContent[];
|
|
304
|
-
mapContentTag?: TMapTagAndContent[];
|
|
364
|
+
mapContentCategory?: TMapCategoryContent[];
|
|
365
|
+
mapContentCity?: TMapCityContent[];
|
|
366
|
+
mapContentStreet?: TMapStreetContent[];
|
|
367
|
+
mapContentInstagram?: TMapContentInstagram[];
|
|
368
|
+
mapContentYouTubeVideo?: TMapContentYouTubeVideo[];
|
|
369
|
+
mapContentStag?: TMapStagContent[];
|
|
370
|
+
mapContentTag?: TMapTagContent[];
|
|
305
371
|
};
|
|
306
372
|
/**
|
|
307
373
|
* Response Content Detail For Public
|
|
308
374
|
*/
|
|
309
375
|
export type ResponseContentDetailForPublic = {
|
|
310
376
|
content: TContentDetail;
|
|
311
|
-
cityDetail
|
|
377
|
+
cityDetail?: {
|
|
378
|
+
city_code: string;
|
|
379
|
+
name: string;
|
|
380
|
+
native: string;
|
|
381
|
+
name_ko: string;
|
|
382
|
+
};
|
|
312
383
|
showTimetable?: TContentShowTimetable[];
|
|
313
384
|
price?: TContentPrice[];
|
|
314
385
|
image?: TContentImage[];
|
|
@@ -316,35 +387,106 @@ export type ResponseContentDetailForPublic = {
|
|
|
316
387
|
metadataI18n?: TContentMetadataI18n;
|
|
317
388
|
keyword?: TContentKeyword[];
|
|
318
389
|
gpPhoto?: TContentGPPhoto[];
|
|
319
|
-
|
|
320
|
-
map:
|
|
321
|
-
|
|
390
|
+
mapContentCity?: {
|
|
391
|
+
map: TMapCityContent;
|
|
392
|
+
city: {
|
|
393
|
+
city_code: string;
|
|
394
|
+
name: string;
|
|
395
|
+
native: string;
|
|
396
|
+
};
|
|
322
397
|
}[];
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
398
|
+
mapContentStreet?: {
|
|
399
|
+
map: TMapStreetContent;
|
|
400
|
+
street: {
|
|
401
|
+
city_code: string;
|
|
402
|
+
street_code: string;
|
|
403
|
+
name: string;
|
|
404
|
+
native: string;
|
|
405
|
+
};
|
|
327
406
|
}[];
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
407
|
+
mapContentCategory?: {
|
|
408
|
+
map: TMapCategoryContent;
|
|
409
|
+
category: {
|
|
410
|
+
target_country_code: string;
|
|
411
|
+
category_code: string;
|
|
412
|
+
order_num: number;
|
|
413
|
+
name: string;
|
|
414
|
+
};
|
|
332
415
|
}[];
|
|
416
|
+
mapContentInstagram?: {
|
|
417
|
+
itmes: {
|
|
418
|
+
map: TMapContentInstagram;
|
|
419
|
+
content: TInstagramContent;
|
|
420
|
+
}[];
|
|
421
|
+
start: number;
|
|
422
|
+
limit: number;
|
|
423
|
+
total: number;
|
|
424
|
+
hasMore: boolean;
|
|
425
|
+
};
|
|
426
|
+
mapContentYouTubeVideo?: {
|
|
427
|
+
itmes: {
|
|
428
|
+
map: TMapContentYouTubeVideo;
|
|
429
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
430
|
+
}[];
|
|
431
|
+
start: number;
|
|
432
|
+
limit: number;
|
|
433
|
+
total: number;
|
|
434
|
+
hasMore: boolean;
|
|
435
|
+
};
|
|
436
|
+
mapContentStag?: {
|
|
437
|
+
itmes: {
|
|
438
|
+
map: TMapStagContent;
|
|
439
|
+
content: TStagListForContentDetail;
|
|
440
|
+
}[];
|
|
441
|
+
start: number;
|
|
442
|
+
limit: number;
|
|
443
|
+
total: number;
|
|
444
|
+
hasMore: boolean;
|
|
445
|
+
};
|
|
333
446
|
mapContentTag?: {
|
|
334
|
-
|
|
335
|
-
|
|
447
|
+
itmes: {
|
|
448
|
+
map: TMapTagContent;
|
|
449
|
+
content: TTag;
|
|
450
|
+
}[];
|
|
451
|
+
start: number;
|
|
452
|
+
limit: number;
|
|
453
|
+
total: number;
|
|
454
|
+
hasMore: boolean;
|
|
336
455
|
}[];
|
|
337
456
|
};
|
|
457
|
+
/**
|
|
458
|
+
* Response Completed YouTube Video Detail For Admin
|
|
459
|
+
*/
|
|
460
|
+
export type ResponseCompletedYouTubeVideoDetailForAdmin = {
|
|
461
|
+
content: TCompletedYouTubeVideoDetail;
|
|
462
|
+
mapYouTubeVideoKeyword?: TMapCompletedYouTubeVideoAndKeyword[];
|
|
463
|
+
mapYouTubeVideoTimeline?: TMapCompletedYouTubeVideoAndTimeline[];
|
|
464
|
+
mapYouTubeVideoCity?: TMapCityYouTubeVideo[];
|
|
465
|
+
mapYouTubeVideoStreet?: TMapStreetYouTubeVideo[];
|
|
466
|
+
mapYouTubeVideoContent?: TMapContentYouTubeVideo[];
|
|
467
|
+
mapYouTubeVideoCategory?: TMapCategoryYouTubeVideo[];
|
|
468
|
+
mapYouTubeVideoStag?: TMapStagYouTubeVideo[];
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* Response Completed YouTube Channel Detail For Admin
|
|
472
|
+
*/
|
|
473
|
+
export type ResponseCompletedYouTubeChannelDetailForAdmin = {
|
|
474
|
+
content: TCompletedYouTubeChannelDetail;
|
|
475
|
+
mapYouTubeChannelCountry?: TMapCompletedYouTubeChannelAndCountry[];
|
|
476
|
+
};
|
|
338
477
|
/**
|
|
339
478
|
* Response Tag Detail For Public
|
|
340
479
|
*/
|
|
341
480
|
export type ResponseTagDetailForPublic = {
|
|
342
|
-
tag: TTag;
|
|
343
481
|
cityDetail: {
|
|
482
|
+
city_code: string;
|
|
344
483
|
name: string;
|
|
484
|
+
native: string;
|
|
485
|
+
name_ko: string;
|
|
345
486
|
};
|
|
487
|
+
tag: TTag;
|
|
346
488
|
mapTagContent?: {
|
|
347
|
-
map:
|
|
489
|
+
map: TMapTagContent;
|
|
348
490
|
content: TContentDetail;
|
|
349
491
|
}[];
|
|
350
492
|
};
|
|
@@ -353,12 +495,15 @@ export type ResponseTagDetailForPublic = {
|
|
|
353
495
|
* Street, Stag, Content
|
|
354
496
|
*/
|
|
355
497
|
export type ResponseMetadata = {
|
|
356
|
-
metadata: TMetadata;
|
|
357
498
|
cityDetail?: {
|
|
499
|
+
city_code: string;
|
|
358
500
|
name: string;
|
|
501
|
+
native: string;
|
|
502
|
+
name_ko: string;
|
|
359
503
|
};
|
|
360
|
-
|
|
361
|
-
|
|
504
|
+
metadata: TMetadata;
|
|
505
|
+
i18n?: TCityI18n | TStreetI18n | TCategoryI18n | TStagI18n | TContentI18n;
|
|
506
|
+
metadataI18n?: TCityMetadataI18n | TStreetMetadataI18n | TCategoryMetadataI18n | TStagMetadataI18n | TContentMetadataI18n;
|
|
362
507
|
};
|
|
363
508
|
export type ResponseTrandAPI<T> = {
|
|
364
509
|
success: boolean;
|