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.
Files changed (168) hide show
  1. package/dist/consts/db.d.ts +0 -14
  2. package/dist/consts/db.js +0 -14
  3. package/dist/consts/db.js.map +1 -1
  4. package/dist/fields/f-category-i18n.d.ts +1 -1
  5. package/dist/fields/f-category-i18n.js +3 -3
  6. package/dist/fields/f-category-i18n.js.map +1 -1
  7. package/dist/fields/f-category-metadata-i18n.d.ts +1 -1
  8. package/dist/fields/f-category-metadata-i18n.js +3 -3
  9. package/dist/fields/f-category-metadata-i18n.js.map +1 -1
  10. package/dist/fields/f-city-i18n.d.ts +1 -1
  11. package/dist/fields/f-city-i18n.js +3 -3
  12. package/dist/fields/f-city-i18n.js.map +1 -1
  13. package/dist/fields/f-city-image.d.ts +1 -1
  14. package/dist/fields/f-city-image.js +3 -3
  15. package/dist/fields/f-city-image.js.map +1 -1
  16. package/dist/fields/f-city-metadata-i18n.d.ts +1 -1
  17. package/dist/fields/f-city-metadata-i18n.js +3 -3
  18. package/dist/fields/f-city-metadata-i18n.js.map +1 -1
  19. package/dist/fields/f-map-category-content.d.ts +18 -1
  20. package/dist/fields/f-map-category-content.js +20 -3
  21. package/dist/fields/f-map-category-content.js.map +1 -1
  22. package/dist/fields/f-map-category-instagram.d.ts +18 -1
  23. package/dist/fields/f-map-category-instagram.js +20 -3
  24. package/dist/fields/f-map-category-instagram.js.map +1 -1
  25. package/dist/fields/f-map-category-youtube-video.d.ts +18 -1
  26. package/dist/fields/f-map-category-youtube-video.js +20 -3
  27. package/dist/fields/f-map-category-youtube-video.js.map +1 -1
  28. package/dist/fields/f-map-city-content.d.ts +18 -1
  29. package/dist/fields/f-map-city-content.js +20 -3
  30. package/dist/fields/f-map-city-content.js.map +1 -1
  31. package/dist/fields/f-map-city-instagram.d.ts +18 -1
  32. package/dist/fields/f-map-city-instagram.js +20 -3
  33. package/dist/fields/f-map-city-instagram.js.map +1 -1
  34. package/dist/fields/f-map-city-youtube-video.d.ts +18 -1
  35. package/dist/fields/f-map-city-youtube-video.js +20 -3
  36. package/dist/fields/f-map-city-youtube-video.js.map +1 -1
  37. package/dist/fields/f-map-content-instagram.d.ts +18 -1
  38. package/dist/fields/f-map-content-instagram.js +20 -3
  39. package/dist/fields/f-map-content-instagram.js.map +1 -1
  40. package/dist/fields/f-map-content-youtube-video.d.ts +18 -1
  41. package/dist/fields/f-map-content-youtube-video.js +20 -3
  42. package/dist/fields/f-map-content-youtube-video.js.map +1 -1
  43. package/dist/fields/f-map-stag-content.d.ts +18 -1
  44. package/dist/fields/f-map-stag-content.js +20 -3
  45. package/dist/fields/f-map-stag-content.js.map +1 -1
  46. package/dist/fields/f-map-stag-instagram.d.ts +18 -1
  47. package/dist/fields/f-map-stag-instagram.js +20 -3
  48. package/dist/fields/f-map-stag-instagram.js.map +1 -1
  49. package/dist/fields/f-map-stag-youtube-video.d.ts +18 -1
  50. package/dist/fields/f-map-stag-youtube-video.js +20 -3
  51. package/dist/fields/f-map-stag-youtube-video.js.map +1 -1
  52. package/dist/fields/f-map-street-content.d.ts +18 -1
  53. package/dist/fields/f-map-street-content.js +20 -3
  54. package/dist/fields/f-map-street-content.js.map +1 -1
  55. package/dist/fields/f-map-street-instagram.d.ts +18 -1
  56. package/dist/fields/f-map-street-instagram.js +20 -3
  57. package/dist/fields/f-map-street-instagram.js.map +1 -1
  58. package/dist/fields/f-map-street-youtube-video.d.ts +18 -1
  59. package/dist/fields/f-map-street-youtube-video.js +20 -3
  60. package/dist/fields/f-map-street-youtube-video.js.map +1 -1
  61. package/dist/fields/f-map-tag-content.d.ts +11 -0
  62. package/dist/fields/f-map-tag-content.js +11 -0
  63. package/dist/fields/f-map-tag-content.js.map +1 -1
  64. package/dist/fields/f-map-youtube-channel-country.d.ts +11 -0
  65. package/dist/fields/f-map-youtube-channel-country.js +11 -0
  66. package/dist/fields/f-map-youtube-channel-country.js.map +1 -1
  67. package/dist/fields/f-stag-i18n.d.ts +1 -1
  68. package/dist/fields/f-stag-i18n.js +3 -3
  69. package/dist/fields/f-stag-i18n.js.map +1 -1
  70. package/dist/fields/f-stag-image.d.ts +1 -1
  71. package/dist/fields/f-stag-image.js +3 -3
  72. package/dist/fields/f-stag-image.js.map +1 -1
  73. package/dist/fields/f-stag-metadata-i18n.d.ts +1 -1
  74. package/dist/fields/f-stag-metadata-i18n.js +3 -3
  75. package/dist/fields/f-stag-metadata-i18n.js.map +1 -1
  76. package/dist/fields/f-street-i18n.d.ts +1 -1
  77. package/dist/fields/f-street-i18n.js +3 -3
  78. package/dist/fields/f-street-i18n.js.map +1 -1
  79. package/dist/fields/f-street-image.d.ts +1 -1
  80. package/dist/fields/f-street-image.js +3 -3
  81. package/dist/fields/f-street-image.js.map +1 -1
  82. package/dist/fields/f-street-metadata-i18n.d.ts +1 -1
  83. package/dist/fields/f-street-metadata-i18n.js +3 -3
  84. package/dist/fields/f-street-metadata-i18n.js.map +1 -1
  85. package/dist/index.d.ts +26 -28
  86. package/dist/index.js +26 -28
  87. package/dist/index.js.map +1 -1
  88. package/dist/response/trand-response.d.ts +356 -211
  89. package/dist/types/t-category-i18n.d.ts +15 -0
  90. package/dist/types/t-category-i18n.js +2 -0
  91. package/dist/types/t-category-i18n.js.map +1 -0
  92. package/dist/types/t-category-metadata-i18n.d.ts +17 -0
  93. package/dist/types/t-category-metadata-i18n.js +2 -0
  94. package/dist/types/t-category-metadata-i18n.js.map +1 -0
  95. package/dist/types/t-city-i18n.d.ts +15 -0
  96. package/dist/types/t-city-i18n.js +2 -0
  97. package/dist/types/t-city-i18n.js.map +1 -0
  98. package/dist/types/t-city-image.d.ts +16 -0
  99. package/dist/types/t-city-image.js +2 -0
  100. package/dist/types/t-city-image.js.map +1 -0
  101. package/dist/types/t-city-metadata-i18n.d.ts +17 -0
  102. package/dist/types/t-city-metadata-i18n.js +2 -0
  103. package/dist/types/t-city-metadata-i18n.js.map +1 -0
  104. package/dist/types/t-map-category-content.d.ts +7 -0
  105. package/dist/types/t-map-category-content.js +2 -0
  106. package/dist/types/t-map-category-content.js.map +1 -0
  107. package/dist/types/t-map-category-instagram.d.ts +7 -0
  108. package/dist/types/t-map-category-instagram.js +2 -0
  109. package/dist/types/t-map-category-instagram.js.map +1 -0
  110. package/dist/types/t-map-category-youtube-video.d.ts +7 -0
  111. package/dist/types/t-map-category-youtube-video.js +2 -0
  112. package/dist/types/t-map-category-youtube-video.js.map +1 -0
  113. package/dist/types/t-map-city-content.d.ts +7 -0
  114. package/dist/types/t-map-city-content.js +2 -0
  115. package/dist/types/t-map-city-content.js.map +1 -0
  116. package/dist/types/t-map-city-instagram.d.ts +7 -0
  117. package/dist/types/t-map-city-instagram.js +2 -0
  118. package/dist/types/t-map-city-instagram.js.map +1 -0
  119. package/dist/types/t-map-city-youtube-video.d.ts +7 -0
  120. package/dist/types/t-map-city-youtube-video.js +2 -0
  121. package/dist/types/t-map-city-youtube-video.js.map +1 -0
  122. package/dist/types/t-map-completed-youtube-channel-and-country.d.ts +2 -0
  123. package/dist/types/t-map-content-instagram.d.ts +7 -0
  124. package/dist/types/t-map-content-instagram.js +2 -0
  125. package/dist/types/t-map-content-instagram.js.map +1 -0
  126. package/dist/types/t-map-content-youtube-video.d.ts +7 -0
  127. package/dist/types/t-map-content-youtube-video.js +2 -0
  128. package/dist/types/t-map-content-youtube-video.js.map +1 -0
  129. package/dist/types/t-map-stag-content.d.ts +7 -0
  130. package/dist/types/t-map-stag-content.js +2 -0
  131. package/dist/types/t-map-stag-content.js.map +1 -0
  132. package/dist/types/t-map-stag-instagram.d.ts +7 -0
  133. package/dist/types/t-map-stag-instagram.js +2 -0
  134. package/dist/types/t-map-stag-instagram.js.map +1 -0
  135. package/dist/types/t-map-stag-youtube-video.d.ts +7 -0
  136. package/dist/types/t-map-stag-youtube-video.js +2 -0
  137. package/dist/types/t-map-stag-youtube-video.js.map +1 -0
  138. package/dist/types/t-map-street-content.d.ts +7 -0
  139. package/dist/types/t-map-street-content.js +2 -0
  140. package/dist/types/t-map-street-content.js.map +1 -0
  141. package/dist/types/t-map-street-instagram.d.ts +7 -0
  142. package/dist/types/t-map-street-instagram.js +2 -0
  143. package/dist/types/t-map-street-instagram.js.map +1 -0
  144. package/dist/types/t-map-street-youtube-video.d.ts +7 -0
  145. package/dist/types/t-map-street-youtube-video.js +2 -0
  146. package/dist/types/t-map-street-youtube-video.js.map +1 -0
  147. package/dist/types/t-map-tag-content.d.ts +6 -0
  148. package/dist/types/t-map-tag-content.js +2 -0
  149. package/dist/types/t-map-tag-content.js.map +1 -0
  150. package/dist/types/t-stag-i18n.d.ts +15 -0
  151. package/dist/types/t-stag-i18n.js +2 -0
  152. package/dist/types/t-stag-i18n.js.map +1 -0
  153. package/dist/types/t-stag-image.d.ts +16 -0
  154. package/dist/types/t-stag-image.js +2 -0
  155. package/dist/types/t-stag-image.js.map +1 -0
  156. package/dist/types/t-stag-metadata-i18n.d.ts +17 -0
  157. package/dist/types/t-stag-metadata-i18n.js +2 -0
  158. package/dist/types/t-stag-metadata-i18n.js.map +1 -0
  159. package/dist/types/t-street-i18n.d.ts +15 -0
  160. package/dist/types/t-street-i18n.js +2 -0
  161. package/dist/types/t-street-i18n.js.map +1 -0
  162. package/dist/types/t-street-image.d.ts +16 -0
  163. package/dist/types/t-street-image.js +2 -0
  164. package/dist/types/t-street-image.js.map +1 -0
  165. package/dist/types/t-street-metadata-i18n.d.ts +17 -0
  166. package/dist/types/t-street-metadata-i18n.js +2 -0
  167. package/dist/types/t-street-metadata-i18n.js.map +1 -0
  168. package/package.json +1 -1
@@ -1,5 +1,10 @@
1
- import { TCategoryDetail, TCategoryListForAdmin, TCategoryListForPublic } from "../types/t-category";
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 { TMapContentAndInstagram } from "../types/t-map-content-and-instagram";
19
- import { TMapContentAndSelectedInstagram } from "../types/t-map-content-and-selected-instagram";
20
- import { TMapContentAndSelectedYouTubeVideo } from "../types/t-map-content-and-selected-youtube-video";
21
- import { TMapContentAndYouTubeVideo } from "../types/t-map-content-and-youtube-video";
22
- import { TMapTagAndContent } from "../types/t-map-tag-and-content";
23
- import { TMapTypeAndContent } from "../types/t-map-type-and-content";
24
- import { TMapTypeAndInstagram } from "../types/t-map-type-and-instagram";
25
- import { TMapTypeAndSelectedContent } from "../types/t-map-type-and-selected-content";
26
- import { TMapTypeAndSelectedInstagram } from "../types/t-map-type-and-selected-instagram";
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?: TRelatedImage[];
48
- i18n?: TRelatedI18n[];
49
- metadataI18n?: TRelatedMetadataI18n[];
50
- mapCityContent?: TMapTypeAndContent[];
51
- mapCitySelectedContent?: TMapTypeAndSelectedContent[];
52
- mapCityYouTubeVideo?: TMapTypeAndYouTubeVideo[];
53
- mapCitySelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
54
- mapCityInstagram?: TMapTypeAndInstagram[];
55
- mapCitySelectedInstagram?: TMapTypeAndSelectedInstagram[];
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?: TRelatedImage[];
63
- i18n?: TRelatedI18n;
64
- metadataI18n?: TRelatedMetadataI18n;
89
+ images?: TCityImage[];
90
+ i18n?: TCityI18n;
91
+ metadataI18n?: TCityMetadataI18n;
65
92
  categories?: TCategoryListForPublic[];
66
93
  streets?: TStreetListForCityDetail[];
67
94
  mapCityContent?: {
68
- map: TMapTypeAndContent;
69
- content: TContentDetail;
70
- }[];
71
- mapCitySelectedContent?: TMapTypeAndSelectedContent[];
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
- map: TMapTypeAndYouTubeVideo;
74
- content: TCompletedYouTubeVideoListForPublicFront;
75
- }[];
76
- mapCitySelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
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
- map: TMapTypeAndInstagram;
79
- content: TInstagramContent;
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?: TRelatedImage[];
89
- i18n?: TRelatedI18n[];
90
- metadataI18n?: TRelatedMetadataI18n[];
91
- mapStreetContent?: TMapTypeAndContent[];
92
- mapStreetSelectedContent?: TMapTypeAndSelectedContent[];
93
- mapStreetYouTubeVideo?: TMapTypeAndYouTubeVideo[];
94
- mapStreetSelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
95
- mapStreetInstagram?: TMapTypeAndInstagram[];
96
- mapStreetSelectedInstagram?: TMapTypeAndSelectedInstagram[];
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?: TRelatedImage[];
107
- i18n?: TRelatedI18n;
108
- metadataI18n?: TRelatedMetadataI18n;
166
+ images?: TStreetImage[];
167
+ i18n?: TStreetI18n;
168
+ metadataI18n?: TStreetMetadataI18n;
109
169
  mapStreetContent?: {
110
- map: TMapTypeAndContent;
111
- content: TContentDetail;
112
- }[];
113
- mapStreetSelectedContent?: TMapTypeAndSelectedContent[];
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
- map: TMapTypeAndYouTubeVideo;
116
- content: TCompletedYouTubeVideoListForPublicFront;
117
- }[];
118
- mapStreetSelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
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
- map: TMapTypeAndInstagram;
121
- content: TInstagramContent;
122
- }[];
123
- mapStreetSelectedInstagram?: TMapTypeAndSelectedInstagram[];
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?: TCategoryListForAdmin[];
131
- i18n?: TRelatedI18n[];
132
- metadataI18n?: TRelatedMetadataI18n[];
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
- map: TMapTypeAndContent;
150
- content: TContentDetail;
151
- }[];
152
- mapCategorySelectedContent?: TMapTypeAndSelectedContent[];
209
+ itmes: TMapCategoryContent[];
210
+ start: number;
211
+ limit: number;
212
+ total: number;
213
+ hasMore: boolean;
214
+ };
153
215
  mapCategoryYouTubeVideo?: {
154
- map: TMapTypeAndYouTubeVideo;
155
- content: TCompletedYouTubeVideoListForPublicFront;
156
- }[];
157
- mapCategorySelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
216
+ itmes: TMapCategoryYouTubeVideo[];
217
+ start: number;
218
+ limit: number;
219
+ total: number;
220
+ hasMore: boolean;
221
+ };
158
222
  mapCategoryInstagram?: {
159
- map: TMapTypeAndInstagram;
160
- content: TInstagramContent;
161
- }[];
162
- mapCategorySelectedInstagram?: TMapTypeAndSelectedInstagram[];
223
+ itmes: TMapCategoryInstagram[];
224
+ start: number;
225
+ limit: number;
226
+ total: number;
227
+ hasMore: boolean;
228
+ };
163
229
  };
164
230
  /**
165
- * Response Category Detail By City For Public
231
+ * Response Category Detail For Public
166
232
  */
167
- export type ResponseCategoryDetailByCityForPublic = {
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?: TCategoryListForAdmin[];
173
- i18n?: TRelatedI18n;
174
- metadataI18n?: TRelatedMetadataI18n;
241
+ subCategories?: TCategoryDetail[];
242
+ i18n?: TCategoryI18n;
243
+ metadataI18n?: TCategoryMetadataI18n;
175
244
  mapCategoryContent?: {
176
- map: TMapTypeAndContent;
177
- content: TContentDetail;
178
- }[];
179
- mapCategorySelectedContent?: TMapTypeAndSelectedContent[];
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
- map: TMapTypeAndYouTubeVideo;
182
- content: TCompletedYouTubeVideoListForPublicFront;
183
- }[];
184
- mapCategorySelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
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
- map: TMapTypeAndInstagram;
187
- content: TInstagramContent;
188
- }[];
189
- mapCategorySelectedInstagram?: TMapTypeAndSelectedInstagram[];
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?: TRelatedImage[];
197
- i18n?: TRelatedI18n[];
198
- metadataI18n?: TRelatedMetadataI18n[];
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
- map: TMapTypeAndContent;
216
- content: TContentDetail;
217
- }[];
218
- mapStagSelectedContent?: TMapTypeAndSelectedContent[];
284
+ itmes: TMapStagContent[];
285
+ start: number;
286
+ limit: number;
287
+ total: number;
288
+ hasMore: boolean;
289
+ };
219
290
  mapStagYouTubeVideo?: {
220
- map: TMapTypeAndYouTubeVideo;
221
- content: TCompletedYouTubeVideoListForPublicFront;
222
- }[];
223
- mapStagSelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
291
+ itmes: TMapStagYouTubeVideo[];
292
+ start: number;
293
+ limit: number;
294
+ total: number;
295
+ hasMore: boolean;
296
+ };
224
297
  mapStagInstagram?: {
225
- map: TMapTypeAndInstagram;
226
- content: TInstagramContent;
227
- }[];
228
- mapStagSelectedInstagram?: TMapTypeAndSelectedInstagram[];
298
+ itmes: TMapStagInstagram[];
299
+ start: number;
300
+ limit: number;
301
+ total: number;
302
+ hasMore: boolean;
303
+ };
229
304
  };
230
305
  /**
231
- * Response Stag Detail By City For Public
306
+ * Response Stag Detail For Public
232
307
  */
233
- export type ResponseStagDetailByCityForPublic = {
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?: TRelatedImage[];
239
- i18n?: TRelatedI18n;
240
- metadataI18n?: TRelatedMetadataI18n;
316
+ images?: TStagImage[];
317
+ i18n?: TStagI18n;
318
+ metadataI18n?: TStagMetadataI18n;
241
319
  mapStagContent?: {
242
- map: TMapTypeAndContent;
243
- content: TContentDetail;
244
- }[];
245
- mapStagSelectedContent?: TMapTypeAndSelectedContent[];
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
- map: TMapTypeAndYouTubeVideo;
248
- content: TCompletedYouTubeVideoListForPublicFront;
249
- }[];
250
- mapStagSelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
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
- map: TMapTypeAndInstagram;
253
- content: TInstagramContent;
254
- }[];
255
- mapStagSelectedInstagram?: TMapTypeAndSelectedInstagram[];
256
- };
257
- /**
258
- * Response Completed YouTube Video Detail For Admin
259
- */
260
- export type ResponseCompletedYouTubeVideoDetailForAdmin = {
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?: TMapTypeAndContent[];
297
- mapContentCity?: TMapTypeAndContent[];
298
- mapContentStreet?: TMapTypeAndContent[];
299
- mapContentInstagram?: TMapContentAndInstagram[];
300
- mapContentSelectedInstagram?: TMapContentAndSelectedInstagram[];
301
- mapContentYouTubeVideo?: TMapContentAndYouTubeVideo[];
302
- mapContentSelectedYouTubeVideo?: TMapContentAndSelectedYouTubeVideo[];
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: TCityDetail;
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
- mapContentInstagram?: {
320
- map: TMapContentAndInstagram;
321
- content: TInstagramContent;
390
+ mapContentCity?: {
391
+ map: TMapCityContent;
392
+ city: {
393
+ city_code: string;
394
+ name: string;
395
+ native: string;
396
+ };
322
397
  }[];
323
- mapContentSelectedInstagram?: TMapContentAndSelectedInstagram[];
324
- mapContentYouTubeVideo?: {
325
- map: TMapContentAndYouTubeVideo;
326
- content: TCompletedYouTubeVideoListForPublicFront;
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
- mapContentSelectedYouTubeVideo?: TMapContentAndSelectedYouTubeVideo[];
329
- mapContentStag?: {
330
- map: TMapTypeAndContent;
331
- content: TStagListForContentDetail;
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
- map: TMapTagAndContent;
335
- content: TTag;
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: TMapTagAndContent;
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
- i18n?: TRelatedI18n;
361
- metadataI18n?: TRelatedMetadataI18n;
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;