trand_common_v1 0.1.106 → 0.1.108
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.
|
@@ -41,7 +41,7 @@ export type CityListAdmin = CityOption & {
|
|
|
41
41
|
export type City = CityListAdmin & {
|
|
42
42
|
description: string | null;
|
|
43
43
|
description_ko: string | null;
|
|
44
|
-
instagram_tags: string[] | null;
|
|
44
|
+
instagram_tags: string[] | string | null;
|
|
45
45
|
location: string;
|
|
46
46
|
latitude: number | null;
|
|
47
47
|
longitude: number | null;
|
|
@@ -133,7 +133,7 @@ export type CityMetadataI18n = {
|
|
|
133
133
|
title: string;
|
|
134
134
|
description: string | null;
|
|
135
135
|
og_image: string | null;
|
|
136
|
-
tagset: string[] | null;
|
|
136
|
+
tagset: string[] | string | null;
|
|
137
137
|
};
|
|
138
138
|
export type CityMetadataI18nInsert = {
|
|
139
139
|
city_code: string;
|
|
@@ -157,7 +157,7 @@ export type StreetListAdmin = StreetOption & {
|
|
|
157
157
|
url_native: string | null;
|
|
158
158
|
youtube_id: string | null;
|
|
159
159
|
instagram_id: string | null;
|
|
160
|
-
instagram_tags: string[] | null;
|
|
160
|
+
instagram_tags: string[] | string | null;
|
|
161
161
|
google_map_url: string;
|
|
162
162
|
naver_map_url: string;
|
|
163
163
|
is_active: boolean;
|
|
@@ -199,7 +199,7 @@ export type Street = StreetListAdmin & {
|
|
|
199
199
|
thumbnail_vertical_5: string | null;
|
|
200
200
|
metadata_title: string | null;
|
|
201
201
|
metadata_description: string | null;
|
|
202
|
-
metadata_keywords: string[] | null;
|
|
202
|
+
metadata_keywords: string[] | string | null;
|
|
203
203
|
metadata_og_title: string | null;
|
|
204
204
|
metadata_og_description: string | null;
|
|
205
205
|
metadata_og_image: string | null;
|
|
@@ -258,7 +258,7 @@ export type StreetMetadataI18n = {
|
|
|
258
258
|
title: string;
|
|
259
259
|
description: string | null;
|
|
260
260
|
og_image: string | null;
|
|
261
|
-
tagset: string[] | null;
|
|
261
|
+
tagset: string[] | string | null;
|
|
262
262
|
};
|
|
263
263
|
export type StreetMetadataI18nInsert = {
|
|
264
264
|
street_code: string;
|
|
@@ -320,7 +320,7 @@ export type Category = CategoryListAdmin & {
|
|
|
320
320
|
thumbnail_vertical_5: string | null;
|
|
321
321
|
metadata_title: string | null;
|
|
322
322
|
metadata_description: string | null;
|
|
323
|
-
metadata_keywords: string[] | null;
|
|
323
|
+
metadata_keywords: string[] | string | null;
|
|
324
324
|
metadata_og_title: string | null;
|
|
325
325
|
metadata_og_description: string | null;
|
|
326
326
|
metadata_og_image: string | null;
|
|
@@ -357,7 +357,7 @@ export type CategoryMetadataI18n = {
|
|
|
357
357
|
title: string;
|
|
358
358
|
description: string | null;
|
|
359
359
|
og_image: string | null;
|
|
360
|
-
tagset: string[] | null;
|
|
360
|
+
tagset: string[] | string | null;
|
|
361
361
|
};
|
|
362
362
|
export type CategoryMetadataI18nInsert = {
|
|
363
363
|
category_code: string;
|
|
@@ -412,7 +412,7 @@ export type SpecialTag = SpecialTagListAdmin & {
|
|
|
412
412
|
thumbnail_vertical_5: string | null;
|
|
413
413
|
metadata_title: string | null;
|
|
414
414
|
metadata_description: string | null;
|
|
415
|
-
metadata_keywords: string[] | null;
|
|
415
|
+
metadata_keywords: string[] | string | null;
|
|
416
416
|
metadata_og_title: string | null;
|
|
417
417
|
metadata_og_description: string | null;
|
|
418
418
|
metadata_og_image: string | null;
|
|
@@ -462,7 +462,7 @@ export type SpecialTagMetadataI18n = {
|
|
|
462
462
|
title: string;
|
|
463
463
|
description: string | null;
|
|
464
464
|
og_image: string | null;
|
|
465
|
-
tagset: string[] | null;
|
|
465
|
+
tagset: string[] | string | null;
|
|
466
466
|
};
|
|
467
467
|
export type SpecialTagMetadataI18nInsert = {
|
|
468
468
|
special_tag: string;
|
|
@@ -508,10 +508,10 @@ export type YouTubeVideoSearchResult = {
|
|
|
508
508
|
description: string | null;
|
|
509
509
|
channel_title: string | null;
|
|
510
510
|
channel_id: string | null;
|
|
511
|
-
city_codes: string[] | null;
|
|
512
|
-
street_codes: string[] | null;
|
|
513
|
-
content_codes: string[] | null;
|
|
514
|
-
keywords: string[] | null;
|
|
511
|
+
city_codes: string[] | string | null;
|
|
512
|
+
street_codes: string[] | string | null;
|
|
513
|
+
content_codes: string[] | string | null;
|
|
514
|
+
keywords: string[] | string | null;
|
|
515
515
|
is_already_registered: boolean;
|
|
516
516
|
is_passed_to_pre_youtube_videos: boolean;
|
|
517
517
|
passed_at: string | null;
|
|
@@ -535,11 +535,11 @@ export type PreYouTubeVideo = {
|
|
|
535
535
|
description: string | null;
|
|
536
536
|
channel_title: string | null;
|
|
537
537
|
channel_id: string | null;
|
|
538
|
-
city_codes: string[] | null;
|
|
539
|
-
street_codes: string[] | null;
|
|
540
|
-
content_codes: string[] | null;
|
|
541
|
-
content_names: string[] | null;
|
|
542
|
-
content_names_native: string[] | null;
|
|
538
|
+
city_codes: string[] | string | null;
|
|
539
|
+
street_codes: string[] | string | null;
|
|
540
|
+
content_codes: string[] | string | null;
|
|
541
|
+
content_names: string[] | string | null;
|
|
542
|
+
content_names_native: string[] | string | null;
|
|
543
543
|
is_shorts: boolean;
|
|
544
544
|
is_timeline_data: boolean;
|
|
545
545
|
is_admin_recommended: boolean;
|
|
@@ -583,13 +583,13 @@ export type CompletedYouTubeVideo = CompletedYouTubeVideoListAdmin & {
|
|
|
583
583
|
response_etag: string | null;
|
|
584
584
|
item_etag: string | null;
|
|
585
585
|
description: string | null;
|
|
586
|
-
tags: string[] | null;
|
|
586
|
+
tags: string[] | string | null;
|
|
587
587
|
category_id: string | null;
|
|
588
588
|
caption: string | null;
|
|
589
589
|
projection: string | null;
|
|
590
590
|
privacy_status: string | null;
|
|
591
591
|
embed_html: string | null;
|
|
592
|
-
keywords: string[] | null;
|
|
592
|
+
keywords: string[] | string | null;
|
|
593
593
|
timelines: JSON | null;
|
|
594
594
|
thumbnail_default: string | null;
|
|
595
595
|
thumbnail_medium: string | null;
|
|
@@ -648,7 +648,7 @@ export type YouTubeChannelSearchResult = {
|
|
|
648
648
|
description: string | null;
|
|
649
649
|
country_code: string | null;
|
|
650
650
|
main_lang_code: string | null;
|
|
651
|
-
city_codes: string[] | null;
|
|
651
|
+
city_codes: string[] | string | null;
|
|
652
652
|
is_already_registered: boolean;
|
|
653
653
|
is_passed_to_pre_youtube_channels: boolean;
|
|
654
654
|
passed_at: string | null;
|
|
@@ -698,7 +698,7 @@ export type CompletedYouTubeChannelListAdmin = {
|
|
|
698
698
|
title: string;
|
|
699
699
|
ver: number | null;
|
|
700
700
|
country_info: string | null;
|
|
701
|
-
target_country_codes: string[];
|
|
701
|
+
target_country_codes: string[] | string | null;
|
|
702
702
|
name: string | null;
|
|
703
703
|
email: string | null;
|
|
704
704
|
tiktok: string | null;
|
|
@@ -721,7 +721,7 @@ export type CompletedYouTubeChannel = CompletedYouTubeChannelListAdmin & {
|
|
|
721
721
|
thumbnail_high: string | null;
|
|
722
722
|
thumbnails: JSON | null;
|
|
723
723
|
banner: string | null;
|
|
724
|
-
keywords: string[];
|
|
724
|
+
keywords: string[] | string | null;
|
|
725
725
|
registered_at: string;
|
|
726
726
|
updated_at: string;
|
|
727
727
|
api_checked_at: string;
|
|
@@ -850,8 +850,8 @@ export type PreContent = PreContentListAdmin & {
|
|
|
850
850
|
is_dinner: boolean | null;
|
|
851
851
|
is_bar: boolean | null;
|
|
852
852
|
is_club: boolean | null;
|
|
853
|
-
possible_google_place_ids: string[] | null;
|
|
854
|
-
possible_trip_advisor_ids: string[] | null;
|
|
853
|
+
possible_google_place_ids: string[] | string | null;
|
|
854
|
+
possible_trip_advisor_ids: string[] | string | null;
|
|
855
855
|
admin_memo: string | null;
|
|
856
856
|
is_gp_api_fetch_finished: boolean | null;
|
|
857
857
|
is_gp_api_fetch_succeeded: boolean | null;
|
|
@@ -6,48 +6,48 @@ export type ResponseDBSelect<T> = {
|
|
|
6
6
|
};
|
|
7
7
|
export type ResponseCityForAdmin = {
|
|
8
8
|
content: City;
|
|
9
|
-
images
|
|
10
|
-
i18n
|
|
11
|
-
metadataI18n
|
|
9
|
+
images?: CityImage[];
|
|
10
|
+
i18n?: CityI18n[];
|
|
11
|
+
metadataI18n?: CityMetadataI18n[];
|
|
12
12
|
};
|
|
13
13
|
export type ResponseStreetForAdmin = {
|
|
14
14
|
content: Street;
|
|
15
|
-
images
|
|
16
|
-
i18n
|
|
17
|
-
metadataI18n
|
|
15
|
+
images?: StreetImage[];
|
|
16
|
+
i18n?: StreetI18n[];
|
|
17
|
+
metadataI18n?: StreetMetadataI18n[];
|
|
18
18
|
};
|
|
19
19
|
export type ResponseCategoryForAdmin = {
|
|
20
20
|
content: Category;
|
|
21
|
-
i18n
|
|
22
|
-
metadataI18n
|
|
21
|
+
i18n?: CategoryI18n[];
|
|
22
|
+
metadataI18n?: CategoryMetadataI18n[];
|
|
23
23
|
};
|
|
24
24
|
export type ResponseSpecialTagForAdmin = {
|
|
25
25
|
content: SpecialTag;
|
|
26
|
-
images
|
|
27
|
-
i18n
|
|
28
|
-
metadataI18n
|
|
26
|
+
images?: SpecialTagImage[];
|
|
27
|
+
i18n?: SpecialTagI18n[];
|
|
28
|
+
metadataI18n?: SpecialTagMetadataI18n[];
|
|
29
29
|
};
|
|
30
30
|
export type ResponseCompletedYouTubeVideoForAdmin = {
|
|
31
31
|
content: CompletedYouTubeVideo;
|
|
32
|
-
mapCompletedYouTubeVideoCity
|
|
33
|
-
mapCompletedYouTubeVideoStreet
|
|
34
|
-
mapCompletedYouTubeVideoKeyword
|
|
35
|
-
mapCompletedYouTubeVideoTimeline
|
|
36
|
-
mapYouTubeVideoCompletedContent
|
|
32
|
+
mapCompletedYouTubeVideoCity?: MapCompletedYouTubeVideoCity[];
|
|
33
|
+
mapCompletedYouTubeVideoStreet?: MapCompletedYouTubeVideoStreet[];
|
|
34
|
+
mapCompletedYouTubeVideoKeyword?: MapCompletedYouTubeVideoKeyword[];
|
|
35
|
+
mapCompletedYouTubeVideoTimeline?: MapCompletedYouTubeVideoTimeline[];
|
|
36
|
+
mapYouTubeVideoCompletedContent?: MapYouTubeVideoCompletedContent[];
|
|
37
37
|
};
|
|
38
38
|
export type ResponseCompletedContentForAdmin = {
|
|
39
39
|
content: CompletedContent;
|
|
40
|
-
showTimetable
|
|
41
|
-
price
|
|
42
|
-
image
|
|
43
|
-
i18n
|
|
44
|
-
keyword
|
|
45
|
-
gpPhoto
|
|
46
|
-
metadataI18n
|
|
47
|
-
mapCategoryContent
|
|
48
|
-
mapSpecialTagContent
|
|
49
|
-
mapYoutubeVideoCompletedContent
|
|
50
|
-
mapTagContent
|
|
40
|
+
showTimetable?: CompletedContentShowTimetable[];
|
|
41
|
+
price?: CompletedContentPrice[];
|
|
42
|
+
image?: CompletedContentImage[];
|
|
43
|
+
i18n?: CompletedContentI18n[];
|
|
44
|
+
keyword?: CompletedContentKeyword[];
|
|
45
|
+
gpPhoto?: CompletedContentGPPhoto[];
|
|
46
|
+
metadataI18n?: CompletedContentMetadataI18n[];
|
|
47
|
+
mapCategoryContent?: MapCategoryCompletedContent[];
|
|
48
|
+
mapSpecialTagContent?: MapSpecialTagCompletedContent[];
|
|
49
|
+
mapYoutubeVideoCompletedContent?: MapYouTubeVideoCompletedContent[];
|
|
50
|
+
mapTagContent?: MapTagCompletedContent[];
|
|
51
51
|
};
|
|
52
52
|
export type ResponseTrandAPI<T> = {
|
|
53
53
|
success: boolean;
|