trand_common_v1 0.2.24 → 0.2.26

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.
@@ -59,8 +59,8 @@ export type ResponseCityDetailForAdmin = {
59
59
  export type ResponseCityDetailForPublic = {
60
60
  content: TCityDetail;
61
61
  images?: TRelatedImage[];
62
- i18n?: TRelatedI18n[];
63
- metadataI18n?: TRelatedMetadataI18n[];
62
+ i18n?: TRelatedI18n;
63
+ metadataI18n?: TRelatedMetadataI18n;
64
64
  categories?: TCategoryOption[];
65
65
  streets?: TStreetListForCityDetail[];
66
66
  mapCityContent?: {
@@ -99,10 +99,12 @@ export type ResponseStreetDetailForAdmin = {
99
99
  */
100
100
  export type ResponseStreetDetailForPublic = {
101
101
  content: TStreetDetail;
102
- cityDetail: TCityDetail;
102
+ cityDetail: {
103
+ name: string;
104
+ };
103
105
  images?: TRelatedImage[];
104
- i18n?: TRelatedI18n[];
105
- metadataI18n?: TRelatedMetadataI18n[];
106
+ i18n?: TRelatedI18n;
107
+ metadataI18n?: TRelatedMetadataI18n;
106
108
  mapStreetContent?: {
107
109
  map: TMapTypeAndContent;
108
110
  content: TContentListForPublicFrontList;
@@ -140,8 +142,8 @@ export type ResponseCategoryDetailForAdmin = {
140
142
  export type ResponseCategoryDetailForPublic = {
141
143
  content: TCategoryDetail;
142
144
  subCategories?: TCategoryListForAdmin[];
143
- i18n?: TRelatedI18n[];
144
- metadataI18n?: TRelatedMetadataI18n[];
145
+ i18n?: TRelatedI18n;
146
+ metadataI18n?: TRelatedMetadataI18n;
145
147
  mapCategoryContent?: {
146
148
  map: TMapTypeAndContent;
147
149
  content: TContentListForPublicFrontList;
@@ -163,10 +165,12 @@ export type ResponseCategoryDetailForPublic = {
163
165
  */
164
166
  export type ResponseCategoryDetailByCityForPublic = {
165
167
  content: TCategoryDetail;
166
- cityDetail: TCityDetail;
168
+ cityDetail: {
169
+ name: string;
170
+ };
167
171
  subCategories?: TCategoryListForAdmin[];
168
- i18n?: TRelatedI18n[];
169
- metadataI18n?: TRelatedMetadataI18n[];
172
+ i18n?: TRelatedI18n;
173
+ metadataI18n?: TRelatedMetadataI18n;
170
174
  mapCategoryContent?: {
171
175
  map: TMapTypeAndContent;
172
176
  content: TContentListForPublicFrontList;
@@ -204,8 +208,8 @@ export type ResponseStagDetailForAdmin = {
204
208
  export type ResponseStagDetailForPublic = {
205
209
  content: TStagDetail;
206
210
  images?: TRelatedImage[];
207
- i18n?: TRelatedI18n[];
208
- metadataI18n?: TRelatedMetadataI18n[];
211
+ i18n?: TRelatedI18n;
212
+ metadataI18n?: TRelatedMetadataI18n;
209
213
  mapStagContent?: {
210
214
  map: TMapTypeAndContent;
211
215
  content: TContentListForPublicFrontList;
@@ -227,10 +231,12 @@ export type ResponseStagDetailForPublic = {
227
231
  */
228
232
  export type ResponseStagDetailByCityForPublic = {
229
233
  content: TStagDetail;
230
- cityDetail: TCityDetail;
234
+ cityDetail: {
235
+ name: string;
236
+ };
231
237
  images?: TRelatedImage[];
232
- i18n?: TRelatedI18n[];
233
- metadataI18n?: TRelatedMetadataI18n[];
238
+ i18n?: TRelatedI18n;
239
+ metadataI18n?: TRelatedMetadataI18n;
234
240
  mapStagContent?: {
235
241
  map: TMapTypeAndContent;
236
242
  content: TContentListForPublicFrontList;
@@ -277,8 +283,8 @@ export type ResponseCompletedYouTubeChannelDetailForAdmin = {
277
283
  */
278
284
  export type ResponseContentDetailForAdmin = {
279
285
  content: TContentDetail;
280
- googlePlaceData?: TGooglePlaceData[];
281
- tripAdvisorData?: TTripAdvisorData[];
286
+ googlePlaceData?: TGooglePlaceData;
287
+ tripAdvisorData?: TTripAdvisorData;
282
288
  showTimetable?: TContentShowTimetable[];
283
289
  price?: TContentPrice[];
284
290
  image?: TContentImage[];
@@ -305,8 +311,8 @@ export type ResponseContentDetailForPublic = {
305
311
  showTimetable?: TContentShowTimetable[];
306
312
  price?: TContentPrice[];
307
313
  image?: TContentImage[];
308
- i18n?: TContentI18n[];
309
- metadataI18n?: TContentMetadataI18n[];
314
+ i18n?: TContentI18n;
315
+ metadataI18n?: TContentMetadataI18n;
310
316
  keyword?: TContentKeyword[];
311
317
  gpPhoto?: TContentGPPhoto[];
312
318
  mapContentInstagram?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trand_common_v1",
3
- "version": "0.2.24",
3
+ "version": "0.2.26",
4
4
  "description": "Common modules for Trand API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "trand"