trand_common_v1 0.2.105 → 0.2.107

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 (56) hide show
  1. package/dist/city/t-city-image.d.ts +10 -0
  2. package/dist/content/f-content-description.d.ts +166 -0
  3. package/dist/content/f-content-description.js +166 -0
  4. package/dist/content/f-content-description.js.map +1 -1
  5. package/dist/content/f-content-target.d.ts +61 -0
  6. package/dist/content/f-content-target.js +61 -0
  7. package/dist/content/f-content-target.js.map +1 -1
  8. package/dist/content/f-content.d.ts +0 -227
  9. package/dist/content/f-content.js +0 -227
  10. package/dist/content/f-content.js.map +1 -1
  11. package/dist/content/t-content-description.d.ts +31 -0
  12. package/dist/content/t-content-description.js +33 -1
  13. package/dist/content/t-content-description.js.map +1 -1
  14. package/dist/content/t-content-image.d.ts +10 -0
  15. package/dist/content/t-content-target.d.ts +19 -0
  16. package/dist/content/t-content-target.js +28 -1
  17. package/dist/content/t-content-target.js.map +1 -1
  18. package/dist/content/t-content.d.ts +0 -56
  19. package/dist/content/t-content.js +0 -66
  20. package/dist/content/t-content.js.map +1 -1
  21. package/dist/index.d.ts +9 -0
  22. package/dist/index.js +9 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/response/trand-response-category.d.ts +91 -0
  25. package/dist/response/trand-response-category.js +2 -0
  26. package/dist/response/trand-response-category.js.map +1 -0
  27. package/dist/response/trand-response-city.d.ts +90 -0
  28. package/dist/response/trand-response-city.js +2 -0
  29. package/dist/response/trand-response-city.js.map +1 -0
  30. package/dist/response/trand-response-completed-youtube-channel.d.ts +9 -0
  31. package/dist/response/trand-response-completed-youtube-channel.js +2 -0
  32. package/dist/response/trand-response-completed-youtube-channel.js.map +1 -0
  33. package/dist/response/trand-response-completed-youtube-video.d.ts +21 -0
  34. package/dist/response/trand-response-completed-youtube-video.js +2 -0
  35. package/dist/response/trand-response-completed-youtube-video.js.map +1 -0
  36. package/dist/response/trand-response-content.d.ts +164 -0
  37. package/dist/response/trand-response-content.js +2 -0
  38. package/dist/response/trand-response-content.js.map +1 -0
  39. package/dist/response/trand-response-search-result.d.ts +16 -0
  40. package/dist/response/trand-response-search-result.js +2 -0
  41. package/dist/response/trand-response-search-result.js.map +1 -0
  42. package/dist/response/trand-response-stag.d.ts +95 -0
  43. package/dist/response/trand-response-stag.js +2 -0
  44. package/dist/response/trand-response-stag.js.map +1 -0
  45. package/dist/response/trand-response-street.d.ts +103 -0
  46. package/dist/response/trand-response-street.js +2 -0
  47. package/dist/response/trand-response-street.js.map +1 -0
  48. package/dist/response/trand-response-tag.d.ts +19 -0
  49. package/dist/response/trand-response-tag.js +2 -0
  50. package/dist/response/trand-response-tag.js.map +1 -0
  51. package/dist/response/trand-response.d.ts +13 -509
  52. package/dist/stag/t-stag-image.d.ts +10 -0
  53. package/dist/street/t-street-image.d.ts +10 -0
  54. package/dist/street/t-street.d.ts +6 -1
  55. package/dist/street/t-street.js.map +1 -1
  56. package/package.json +1 -1
@@ -1,58 +1,21 @@
1
- import { TCategoryDetail, TCategoryListForPublic } from "../category/t-category";
2
- import { TCategoryI18n } from "../category/t-category-i18n";
3
- import { TCategoryMetadataI18n } from "../category/t-category-metadata-i18n";
4
- import { TCityDetail } from "../city/t-city";
5
- import { TCityI18n } from "../city/t-city-i18n";
6
- import { TCityImage } from "../city/t-city-image";
7
- import { TCityMetadataI18n } from "../city/t-city-metadata-i18n";
8
- import { TCompletedYouTubeChannelDetail } from "../completed_youtube_channel/t-completed-youtube-channel";
9
- import { TCompletedYouTubeVideoDetail, TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video";
10
- import { TContentDetail } from "../content/t-content";
11
- import { TContentBusinessHours } from "../content/t-content-business-hours";
12
- import { TContentGPPhoto } from "../content/t-content-gp-photo";
13
- import { TContentI18n } from "../content/t-content-i18n";
14
- import { TContentImage } from "../content/t-content-image";
15
- import { TContentKeyword } from "../content/t-content-keyword";
16
- import { TContentMetadataI18n } from "../content/t-content-metadata-i18n";
17
- import { TContentPrice } from "../content/t-content-price";
18
- import { TContentShowTimetable } from "../content/t-content-show-timetable";
19
- import { TGooglePlaceData } from "../google_place_data/t-google-place-data";
20
- import { TInstagramContent } from "../instagram_content/t-instagram-content";
21
- import { TMapCategoryContent } from "../category/t-map-category-content";
22
- import { TMapCategoryInstagram } from "../category/t-map-category-instagram";
23
- import { TMapCategoryYouTubeVideo } from "../category/t-map-category-youtube-video";
24
- import { TMapCityContent } from "../city/t-map-city-content";
25
- import { TMapCityInstagram } from "../city/t-map-city-instagram";
26
- import { TMapCityYouTubeVideo } from "../city/t-map-city-youtube-video";
27
- import { TMapCompletedYouTubeChannelAndCountry } from "../completed_youtube_channel/t-map-completed-youtube-channel-and-country";
28
- import { TMapCompletedYouTubeVideoAndKeyword } from "../completed_youtube_video/t-map-completed-youtube-video-and-keyword";
29
- import { TMapCompletedYouTubeVideoAndTimeline } from "../completed_youtube_video/t-map-completed-youtube-video-and-timeline";
30
- import { TMapContentInstagram } from "../content/t-map-content-instagram";
31
- import { TMapContentYouTubeVideo } from "../content/t-map-content-youtube-video";
32
- import { TMapStagContent } from "../stag/t-map-stag-content";
33
- import { TMapStagInstagram } from "../stag/t-map-stag-instagram";
34
- import { TMapStagYouTubeVideo } from "../stag/t-map-stag-youtube-video";
35
- import { TMapStreetContent } from "../street/t-map-street-content";
36
- import { TMapStreetInstagram } from "../street/t-map-street-instagram";
37
- import { TMapStreetYouTubeVideo } from "../street/t-map-street-youtube-video";
38
- import { TMapTagContent } from "../tag/t-map-tag-content";
39
- import { TMetadata } from "../types/t-metadata";
40
- import { TStagDetail, TStagListForContentDetail } from "../stag/t-stag";
41
- import { TStagI18n } from "../stag/t-stag-i18n";
42
- import { TStagImage } from "../stag/t-stag-image";
43
- import { TStagMetadataI18n } from "../stag/t-stag-metadata-i18n";
44
- import { TStreetDetail, TStreetListForCityDetail } from "../street/t-street";
45
- import { TStreetI18n } from "../street/t-street-i18n";
46
- import { TStreetImage } from "../street/t-street-image";
47
- import { TStreetMetadataI18n } from "../street/t-street-metadata-i18n";
48
- import { TTag } from "../tag/t-tag";
49
- import { TTripAdvisorData } from "../trip_advisor_data/t-trip-advisor-data";
1
+ import { TCategoryI18n } from "../category/t-category-i18n.js";
2
+ import { TCityI18n } from "../city/t-city-i18n.js";
3
+ import { TCityMetadataI18n } from "../city/t-city-metadata-i18n.js";
4
+ import { TMapCategoryContent } from "../category/t-map-category-content.js";
5
+ import { TMetadata } from "../types/t-metadata.js";
6
+ import { TStagI18n } from "../stag/t-stag-i18n.js";
7
+ import { TStreetI18n } from "../street/t-street-i18n.js";
8
+ import { TContentI18n } from "../content/t-content-i18n.js";
9
+ import { TStreetMetadataI18n } from "../street/t-street-metadata-i18n.js";
10
+ import { TCategoryMetadataI18n } from "../category/t-category-metadata-i18n.js";
11
+ import { TStagMetadataI18n } from "../stag/t-stag-metadata-i18n.js";
12
+ import { TContentMetadataI18n } from "../content/t-content-metadata-i18n.js";
50
13
  export type ResponseDBSelect<T> = {
51
14
  data: T;
52
15
  count?: number;
53
16
  apiUrl?: string | null;
54
17
  };
55
- type ResponseListBase = {
18
+ export type ResponseListBase = {
56
19
  start: number;
57
20
  limit: number;
58
21
  total: number;
@@ -67,452 +30,6 @@ export type ResponseItemsPaired<TMap, TContent> = {
67
30
  export type ResponseItemsFlat<TContent> = {
68
31
  items: TContent[];
69
32
  } & ResponseListBase;
70
- type CityInfoBase = {
71
- city_code: string;
72
- name: string;
73
- native: string;
74
- name_ko: string;
75
- name_i18n: string;
76
- description_i18n: string;
77
- };
78
- type StreetInfoBase = {
79
- street_code: string;
80
- name: string;
81
- native: string;
82
- name_ko: string;
83
- name_i18n: string;
84
- description_i18n: string;
85
- };
86
- type CategoryInfoBase = {
87
- category_code: string;
88
- name: string;
89
- name_ko: string;
90
- name_i18n: string;
91
- description_i18n: string;
92
- };
93
- type StagInfoBase = {
94
- stag_code: string;
95
- name: string;
96
- native: string;
97
- name_i18n: string;
98
- description_i18n: string;
99
- };
100
- /**
101
- * City Detail - Admin
102
- */
103
- export type ResponseCityDetailForAdmin = {
104
- content: TCityDetail;
105
- images?: TCityImage[];
106
- i18n?: TCityI18n[];
107
- metadataI18n?: TCityMetadataI18n[];
108
- mapCityContent?: ResponseItemsFlat<TMapCityContent>;
109
- mapCityYouTubeVideo?: ResponseItemsFlat<TMapCityYouTubeVideo>;
110
- mapCityInstagram?: ResponseItemsFlat<TMapCityInstagram>;
111
- };
112
- /**
113
- * City Street List - Public
114
- */
115
- export type ResponseStreetListForPublic = {
116
- cityInfo: CityInfoBase;
117
- items: TStreetListForCityDetail[];
118
- } & ResponseListBase;
119
- /**
120
- * City YouTube Video List - Public
121
- */
122
- export type ResponseCityYouTubeVideoListForPublic = {
123
- cityInfo: CityInfoBase;
124
- items: Array<{
125
- map: TMapCityYouTubeVideo;
126
- content: TCompletedYouTubeVideoListForPublicFront;
127
- }>;
128
- } & ResponseListBase;
129
- /**
130
- * City YouTube Shorts List - Public
131
- */
132
- export type ResponseCityYouTubeVideoShortsListForPublic = {
133
- cityInfo: CityInfoBase;
134
- items: Array<{
135
- map: TMapCityYouTubeVideo;
136
- content: TCompletedYouTubeVideoListForPublicFront;
137
- }>;
138
- } & ResponseListBase;
139
- /**
140
- * City Content List - Public
141
- */
142
- export type ResponseCityContentListForPublic = {
143
- cityInfo: CityInfoBase;
144
- items: Array<{
145
- map: TMapCityContent;
146
- content: TContentDetail;
147
- }>;
148
- } & ResponseListBase;
149
- /**
150
- * City Detail - Public
151
- */
152
- export type ResponseCityDetailForPublic = {
153
- content: TCityDetail;
154
- images?: TCityImage[];
155
- i18n?: TCityI18n;
156
- metadataI18n?: TCityMetadataI18n;
157
- categories?: TCategoryListForPublic[];
158
- streets?: ResponseStreetListForPublic;
159
- mapCityContent?: ResponseCityContentListForPublic;
160
- mapCityYouTubeVideo?: ResponseCityYouTubeVideoListForPublic;
161
- mapCityYouTubeVideoShorts?: ResponseCityYouTubeVideoShortsListForPublic;
162
- mapCityInstagram?: ResponseItemsPaired<TMapCityInstagram, TInstagramContent>;
163
- };
164
- /**
165
- * Street Detail - Admin
166
- */
167
- export type ResponseStreetDetailForAdmin = {
168
- content: TStreetDetail;
169
- images?: TStreetImage[];
170
- i18n?: TStreetI18n[];
171
- metadataI18n?: TStreetMetadataI18n[];
172
- mapStreetContent?: ResponseItemsFlat<TMapStreetContent>;
173
- mapStreetYouTubeVideo?: ResponseItemsFlat<TMapStreetYouTubeVideo>;
174
- mapStreetInstagram?: ResponseItemsFlat<TMapStreetInstagram>;
175
- };
176
- /**
177
- * Street YouTube Video List - Public
178
- */
179
- export type ResponseStreetYouTubeVideoListForPublic = {
180
- cityInfo?: CityInfoBase;
181
- streetInfo?: StreetInfoBase;
182
- items: Array<{
183
- map: TMapStreetYouTubeVideo;
184
- content: TCompletedYouTubeVideoListForPublicFront;
185
- }>;
186
- } & ResponseListBase;
187
- /**
188
- * Street YouTube Shorts List - Public
189
- */
190
- export type ResponseStreetYouTubeVideoShortsListForPublic = {
191
- cityInfo?: CityInfoBase;
192
- streetInfo?: StreetInfoBase;
193
- items: Array<{
194
- map: TMapStreetYouTubeVideo;
195
- content: TCompletedYouTubeVideoListForPublicFront;
196
- }>;
197
- } & ResponseListBase;
198
- /**
199
- * Street Content List - Public
200
- */
201
- export type ResponseStreetContentListForPublic = {
202
- cityInfo?: CityInfoBase;
203
- streetInfo?: StreetInfoBase;
204
- items: Array<{
205
- map: TMapStreetContent;
206
- content: TContentDetail;
207
- }>;
208
- } & ResponseListBase;
209
- /**
210
- * Street Detail - Public
211
- */
212
- export type ResponseStreetDetailForPublic = {
213
- content: TStreetDetail;
214
- cityDetail: {
215
- city_code: string;
216
- name: string;
217
- native: string;
218
- name_ko: string;
219
- };
220
- images?: TStreetImage[];
221
- i18n?: TStreetI18n;
222
- metadataI18n?: TStreetMetadataI18n;
223
- mapStreetContent?: ResponseStreetContentListForPublic;
224
- mapStreetYouTubeVideo?: ResponseStreetYouTubeVideoListForPublic;
225
- mapStreetYouTubeVideoShorts?: ResponseStreetYouTubeVideoShortsListForPublic;
226
- mapStreetInstagram?: ResponseItemsPaired<TMapStreetInstagram, TInstagramContent>;
227
- };
228
- /**
229
- * Category Detail - Admin
230
- */
231
- export type ResponseCategoryDetailForAdmin = {
232
- content: TCategoryDetail;
233
- subCategories?: TCategoryDetail[];
234
- i18n?: TCategoryI18n[];
235
- metadataI18n?: TCategoryMetadataI18n[];
236
- mapCategoryContent?: ResponseItemsFlat<TMapCategoryContent>;
237
- mapCategoryYouTubeVideo?: ResponseItemsFlat<TMapCategoryYouTubeVideo>;
238
- mapCategoryInstagram?: ResponseItemsFlat<TMapCategoryInstagram>;
239
- };
240
- /**
241
- * Category YouTube Video List - Public
242
- */
243
- export type ResponseCategoryYouTubeVideoListForPublic = {
244
- cityInfo?: CityInfoBase;
245
- categoryInfo?: CategoryInfoBase;
246
- items: Array<{
247
- map: TMapCategoryYouTubeVideo;
248
- content: TCompletedYouTubeVideoListForPublicFront;
249
- }>;
250
- } & ResponseListBase;
251
- /**
252
- * Category YouTube Shorts List - Public
253
- */
254
- export type ResponseCategoryYouTubeVideoShortsListForPublic = {
255
- cityInfo?: CityInfoBase;
256
- categoryInfo?: CategoryInfoBase;
257
- items: Array<{
258
- map: TMapCategoryYouTubeVideo;
259
- content: TCompletedYouTubeVideoListForPublicFront;
260
- }>;
261
- } & ResponseListBase;
262
- /**
263
- * Category Content List - Public
264
- */
265
- export type ResponseCategoryContentListForPublic = {
266
- cityInfo?: CityInfoBase;
267
- categoryInfo?: CategoryInfoBase;
268
- items: Array<{
269
- map: TMapCategoryContent;
270
- content: TContentDetail;
271
- }>;
272
- } & ResponseListBase;
273
- /**
274
- * Category Detail - Public
275
- */
276
- export type ResponseCategoryDetailForPublic = {
277
- content: TCategoryDetail;
278
- cityDetail?: {
279
- city_code: string;
280
- name: string;
281
- native: string;
282
- name_ko: string;
283
- };
284
- subCategories?: TCategoryDetail[];
285
- i18n?: TCategoryI18n;
286
- metadataI18n?: TCategoryMetadataI18n;
287
- mapCategoryContent?: ResponseCategoryContentListForPublic;
288
- mapCategoryYouTubeVideo?: ResponseCategoryYouTubeVideoListForPublic;
289
- mapCategoryYouTubeVideoShorts?: ResponseCategoryYouTubeVideoShortsListForPublic;
290
- mapCategoryInstagram?: ResponseItemsPaired<TMapCategoryInstagram, TInstagramContent>;
291
- };
292
- /**
293
- * Stag Detail - Admin
294
- */
295
- export type ResponseStagDetailForAdmin = {
296
- content: TStagDetail;
297
- images?: TStagImage[];
298
- i18n?: TStagI18n[];
299
- metadataI18n?: TStagMetadataI18n[];
300
- mapStagContent?: ResponseItemsFlat<TMapStagContent>;
301
- mapStagYouTubeVideo?: ResponseItemsFlat<TMapStagYouTubeVideo>;
302
- mapStagInstagram?: ResponseItemsFlat<TMapStagInstagram>;
303
- };
304
- /**
305
- * Stag YouTube Video List - Public
306
- */
307
- export type ResponseStagYouTubeVideoListForPublic = {
308
- cityInfo?: CityInfoBase;
309
- stagInfo?: StagInfoBase;
310
- items: Array<{
311
- map: TMapStagYouTubeVideo;
312
- content: TCompletedYouTubeVideoListForPublicFront;
313
- }>;
314
- } & ResponseListBase;
315
- /**
316
- * Stag YouTube Shorts List - Public
317
- */
318
- export type ResponseStagYouTubeVideoShortsListForPublic = {
319
- cityInfo?: CityInfoBase;
320
- stagInfo?: StagInfoBase;
321
- items: Array<{
322
- map: TMapStagYouTubeVideo;
323
- content: TCompletedYouTubeVideoListForPublicFront;
324
- }>;
325
- } & ResponseListBase;
326
- /**
327
- * Stag Content List - Public
328
- */
329
- export type ResponseStagContentListForPublic = {
330
- cityInfo?: CityInfoBase;
331
- stagInfo?: StagInfoBase;
332
- items: Array<{
333
- map: TMapStagContent;
334
- content: TContentDetail;
335
- }>;
336
- } & ResponseListBase;
337
- /**
338
- * Stag Detail - Public
339
- */
340
- export type ResponseStagDetailForPublic = {
341
- content: TStagDetail;
342
- cityDetail?: {
343
- city_code: string;
344
- name: string;
345
- native: string;
346
- name_ko: string;
347
- };
348
- images?: TStagImage[];
349
- i18n?: TStagI18n;
350
- metadataI18n?: TStagMetadataI18n;
351
- mapStagContent?: ResponseStagContentListForPublic;
352
- mapStagYouTubeVideo?: ResponseStagYouTubeVideoListForPublic;
353
- mapStagYouTubeVideoShorts?: ResponseStagYouTubeVideoShortsListForPublic;
354
- mapStagInstagram?: ResponseItemsPaired<TMapStagInstagram, TInstagramContent>;
355
- };
356
- /**
357
- * Content Detail - Admin
358
- */
359
- export type ResponseContentDetailForAdmin = {
360
- content: TContentDetail;
361
- businessHours?: TContentBusinessHours[];
362
- googlePlaceData?: TGooglePlaceData;
363
- tripAdvisorData?: TTripAdvisorData;
364
- showTimetable?: TContentShowTimetable[];
365
- price?: TContentPrice[];
366
- image?: TContentImage[];
367
- i18n?: TContentI18n[];
368
- metadataI18n?: TContentMetadataI18n[];
369
- keyword?: TContentKeyword[];
370
- gpPhoto?: TContentGPPhoto[];
371
- mapContentCategory?: TMapCategoryContent[];
372
- mapContentCity?: TMapCityContent[];
373
- mapContentStreet?: TMapStreetContent[];
374
- mapContentInstagram?: TMapContentInstagram[];
375
- mapContentYouTubeVideo?: TMapContentYouTubeVideo[];
376
- mapContentStag?: TMapStagContent[];
377
- mapContentTag?: TMapTagContent[];
378
- };
379
- /**
380
- * Content Detail - Public
381
- */
382
- export type ResponseContentDetailForPublic = {
383
- content: TContentDetail;
384
- businessHours?: TContentBusinessHours[];
385
- cityDetail?: {
386
- city_code: string;
387
- name: string;
388
- native: string;
389
- name_ko: string;
390
- };
391
- showTimetable?: TContentShowTimetable[];
392
- price?: TContentPrice[];
393
- image?: TContentImage[];
394
- i18n?: TContentI18n;
395
- metadataI18n?: TContentMetadataI18n;
396
- keyword?: TContentKeyword[];
397
- gpPhoto?: TContentGPPhoto[];
398
- mapContentCity?: Array<{
399
- map: TMapCityContent;
400
- city: {
401
- city_code: string;
402
- name: string;
403
- native: string;
404
- content_count: number;
405
- view_count: number;
406
- saved_count: number;
407
- shared_count: number;
408
- };
409
- }>;
410
- mapContentStreet?: Array<{
411
- map: TMapStreetContent;
412
- street: {
413
- city_code: string;
414
- street_code: string;
415
- name: string;
416
- native: string;
417
- content_count: number;
418
- view_count: number;
419
- saved_count: number;
420
- shared_count: number;
421
- };
422
- }>;
423
- mapContentCategory?: Array<{
424
- map: TMapCategoryContent;
425
- category: {
426
- target_country_code: string;
427
- category_code: string;
428
- order_num: number;
429
- name: string;
430
- name_i18n?: string | null;
431
- description_i18n?: string | null;
432
- content_count: number;
433
- view_count: number;
434
- saved_count: number;
435
- shared_count: number;
436
- };
437
- }>;
438
- mapContentInstagram?: ResponseItemsPaired<TMapContentInstagram, TInstagramContent>;
439
- mapContentYouTubeVideo?: ResponseItemsPaired<TMapContentYouTubeVideo, TCompletedYouTubeVideoListForPublicFront>;
440
- mapContentYouTubeVideoShorts?: ResponseItemsPaired<TMapContentYouTubeVideo, TCompletedYouTubeVideoListForPublicFront>;
441
- mapContentStag?: ResponseItemsPaired<TMapStagContent, TStagListForContentDetail>;
442
- mapContentTag?: ResponseItemsPaired<TMapTagContent, TTag>;
443
- };
444
- /**
445
- * Content YouTube Video List - Public
446
- */
447
- export type ResponseContentYouTubeVideoListForPublic = {
448
- cityInfo?: CityInfoBase;
449
- streetInfo?: StreetInfoBase;
450
- contentInfo?: {
451
- content_code: string;
452
- name: string;
453
- native: string;
454
- name_i18n: string;
455
- description_i18n: string;
456
- };
457
- items: Array<{
458
- map: TMapContentYouTubeVideo;
459
- content: TCompletedYouTubeVideoListForPublicFront;
460
- }>;
461
- } & ResponseListBase;
462
- /**
463
- * Content YouTube Shorts List - Public
464
- */
465
- export type ResponseContentYouTubeVideoShortsListForPublic = {
466
- cityInfo?: CityInfoBase;
467
- streetInfo?: StreetInfoBase;
468
- contentInfo?: {
469
- content_code: string;
470
- name: string;
471
- native: string;
472
- name_i18n: string;
473
- description_i18n: string;
474
- };
475
- items: Array<{
476
- map: TMapContentYouTubeVideo;
477
- content: TCompletedYouTubeVideoListForPublicFront;
478
- }>;
479
- } & ResponseListBase;
480
- /**
481
- * YouTube Video Detail - Admin
482
- */
483
- export type ResponseCompletedYouTubeVideoDetailForAdmin = {
484
- content: TCompletedYouTubeVideoDetail;
485
- mapYouTubeVideoKeyword?: TMapCompletedYouTubeVideoAndKeyword[];
486
- mapYouTubeVideoTimeline?: TMapCompletedYouTubeVideoAndTimeline[];
487
- mapYouTubeVideoCity?: TMapCityYouTubeVideo[];
488
- mapYouTubeVideoStreet?: TMapStreetYouTubeVideo[];
489
- mapYouTubeVideoContent?: TMapContentYouTubeVideo[];
490
- mapYouTubeVideoCategory?: TMapCategoryYouTubeVideo[];
491
- mapYouTubeVideoStag?: TMapStagYouTubeVideo[];
492
- };
493
- /**
494
- * YouTube Channel Detail - Admin
495
- */
496
- export type ResponseCompletedYouTubeChannelDetailForAdmin = {
497
- content: TCompletedYouTubeChannelDetail;
498
- mapYouTubeChannelCountry?: TMapCompletedYouTubeChannelAndCountry[];
499
- };
500
- /**
501
- * Tag Detail - Public
502
- */
503
- export type ResponseTagDetailForPublic = {
504
- cityDetail: {
505
- city_code: string;
506
- name: string;
507
- native: string;
508
- name_ko: string;
509
- };
510
- tag: TTag;
511
- mapTagContent?: Array<{
512
- map: TMapTagContent;
513
- content: TContentDetail;
514
- }>;
515
- };
516
33
  /**
517
34
  * Metadata for HTML head (City, Street, Category, Stag, Content)
518
35
  */
@@ -542,18 +59,6 @@ export type ResponseMetadata = {
542
59
  };
543
60
  }>;
544
61
  };
545
- /**
546
- * Search Result - Public
547
- */
548
- export type ResponseSearchResult = {
549
- q: string;
550
- start: number;
551
- limit: number;
552
- serverTime: string;
553
- cities: ResponseItemsFlat<TCityDetail>;
554
- streets: ResponseItemsFlat<TStreetDetail>;
555
- contents: ResponseItemsFlat<TContentDetail>;
556
- };
557
62
  /**
558
63
  * Generic Trand API Response Wrapper
559
64
  */
@@ -566,4 +71,3 @@ export type ResponseTrandAPI<T> = {
566
71
  error?: string | null;
567
72
  missingFields?: string[] | string | null;
568
73
  };
569
- export {};
@@ -14,3 +14,13 @@ export type TStagImageInsert = {
14
14
  url: string;
15
15
  } & Partial<Omit<TStagImage, "stag_code" | "hash_code" | "url">>;
16
16
  export type TStagImageUpdate = Partial<Omit<TStagImage, "stag_code" | "hash_code">>;
17
+ export type TStagImageAdminInput = {
18
+ stag_code?: string;
19
+ hash_code?: string;
20
+ file: File | null;
21
+ label: string | null;
22
+ src_name: string | null;
23
+ src_platform: string | null;
24
+ src_url: string | null;
25
+ order_num: number;
26
+ };
@@ -14,3 +14,13 @@ export type TStreetImageInsert = {
14
14
  url: string;
15
15
  } & Partial<Omit<TStreetImage, "street_code" | "hash_code" | "url">>;
16
16
  export type TStreetImageUpdate = Partial<Omit<TStreetImage, "street_code" | "hash_code">>;
17
+ export type TStreetImageAdminInput = {
18
+ street_code?: string;
19
+ hash_code?: string;
20
+ file: File | null;
21
+ label: string | null;
22
+ src_name: string | null;
23
+ src_platform: string | null;
24
+ src_url: string | null;
25
+ order_num: number;
26
+ };
@@ -85,7 +85,12 @@ export type TStreetDetailInsert = {
85
85
  google_map_url: string;
86
86
  naver_map_url: string;
87
87
  } & Partial<Omit<TStreetDetail, "country_code" | "city_code" | "street_code" | "name" | "name_ko" | "location" | "latitude" | "longitude" | "address" | "address_native" | "google_map_url" | "naver_map_url">>;
88
- export type TStreetDetailUpdate = Partial<Omit<TStreetDetail, "street_code">>;
88
+ export type TStreetDetailUpdate = {
89
+ old_country_code?: string;
90
+ old_city_code?: string;
91
+ new_country_code?: string;
92
+ new_city_code?: string;
93
+ } & Partial<Omit<TStreetDetail, "street_code">>;
89
94
  export declare const DB_COLUMNS_STREET_OPTION: string[];
90
95
  export declare const DB_COLUMNS_STREET_LIST_FOR_ADMIN: string[];
91
96
  export declare const KEYS_STREET_STR: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"t-street.js","sourceRoot":"","sources":["../../src/street/t-street.ts"],"names":[],"mappings":"AA4HA;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAA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,aAAa;IACb,gBAAgB;IAChB,UAAU;IACV,eAAe;IACf,cAAc;IACd,qBAAqB;IACrB,iBAAiB;IACjB,oBAAoB;IACpB,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,UAAU;IACV,SAAS;IACT,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,kBAAkB;IAClB,2BAA2B;IAC3B,+BAA+B;IAC/B,0BAA0B;IAC1B,kBAAkB;IAClB,2BAA2B;IAC3B,+BAA+B;IAC/B,0BAA0B;IAC1B,kBAAkB;IAClB,2BAA2B;IAC3B,+BAA+B;IAC/B,0BAA0B;IAC1B,kBAAkB;IAClB,2BAA2B;IAC3B,+BAA+B;IAC/B,0BAA0B;IAC1B,kBAAkB;IAClB,2BAA2B;IAC3B,+BAA+B;IAC/B,0BAA0B;CAC3B,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,CAAC,CAAC;AAEhJ;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,gBAAgB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trand_common_v1",
3
- "version": "0.2.105",
3
+ "version": "0.2.107",
4
4
  "description": "Common modules for Trand API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "trand"