trand_common_v1 0.2.7 → 0.2.8
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TCategoryDetail, TCategoryListForAdmin } from "../types/t-category";
|
|
1
|
+
import { TCategoryDetail, TCategoryListForAdmin, TCategoryOption } from "../types/t-category";
|
|
2
2
|
import { TCityDetail } from "../types/t-city";
|
|
3
3
|
import { TCompletedYouTubeChannelDetail } from "../types/t-completed-youtube-channel";
|
|
4
|
-
import { TCompletedYouTubeVideoDetail } from "../types/t-completed-youtube-video";
|
|
5
|
-
import { TContentDetail } from "../types/t-content";
|
|
4
|
+
import { TCompletedYouTubeVideoDetail, TCompletedYouTubeVideoListForPublicFront } from "../types/t-completed-youtube-video";
|
|
5
|
+
import { TContentDetail, TContentListForPublicFrontList } from "../types/t-content";
|
|
6
6
|
import { TContentGPPhoto } from "../types/t-content-gp-photo";
|
|
7
7
|
import { TContentI18n } from "../types/t-content-i18n";
|
|
8
8
|
import { TContentImage } from "../types/t-content-image";
|
|
@@ -11,6 +11,7 @@ import { TContentMetadataI18n } from "../types/t-content-metadata-i18n";
|
|
|
11
11
|
import { TContentPrice } from "../types/t-content-price";
|
|
12
12
|
import { TContentShowTimetable } from "../types/t-content-show-timetable";
|
|
13
13
|
import { TGooglePlaceData } from "../types/t-google-place-data";
|
|
14
|
+
import { TInstagramContent } from "../types/t-instagram-content";
|
|
14
15
|
import { TMapCompletedYouTubeChannelAndCountry } from "../types/t-map-completed-youtube-channel-and-country";
|
|
15
16
|
import { TMapCompletedYouTubeVideoAndKeyword } from "../types/t-map-completed-youtube-video-and-keyword";
|
|
16
17
|
import { TMapCompletedYouTubeVideoAndTimeline } from "../types/t-map-completed-youtube-video-and-timeline";
|
|
@@ -29,7 +30,7 @@ import { TRelatedI18n } from "../types/t-related-i18n";
|
|
|
29
30
|
import { TRelatedImage } from "../types/t-related-image";
|
|
30
31
|
import { TRelatedMetadataI18n } from "../types/t-related-metadata-i18n";
|
|
31
32
|
import { TStagDetail } from "../types/t-stag";
|
|
32
|
-
import { TStreetDetail } from "../types/t-street";
|
|
33
|
+
import { TStreetDetail, TStreetListForCityDetail } from "../types/t-street";
|
|
33
34
|
import { TTripAdvisorData } from "../types/t-trip-advisor-data";
|
|
34
35
|
export type ResponseDBSelect<T> = {
|
|
35
36
|
data: T;
|
|
@@ -59,11 +60,22 @@ export type ResponseCityDetailForPublic = {
|
|
|
59
60
|
images?: TRelatedImage[];
|
|
60
61
|
i18n?: TRelatedI18n[];
|
|
61
62
|
metadataI18n?: TRelatedMetadataI18n[];
|
|
62
|
-
|
|
63
|
+
categories?: TCategoryOption[];
|
|
64
|
+
streets?: TStreetListForCityDetail[];
|
|
65
|
+
mapCityContent?: {
|
|
66
|
+
map: TMapTypeAndContent[];
|
|
67
|
+
content: TContentListForPublicFrontList[];
|
|
68
|
+
};
|
|
63
69
|
mapCitySelectedContent?: TMapTypeAndSelectedContent[];
|
|
64
|
-
mapCityYouTubeVideo?:
|
|
70
|
+
mapCityYouTubeVideo?: {
|
|
71
|
+
map: TMapTypeAndYouTubeVideo[];
|
|
72
|
+
content: TCompletedYouTubeVideoListForPublicFront[];
|
|
73
|
+
};
|
|
65
74
|
mapCitySelectedYouTubeVideo?: TMapTypeAndSelectedYouTubeVideo[];
|
|
66
|
-
mapCityInstagram?:
|
|
75
|
+
mapCityInstagram?: {
|
|
76
|
+
map: TMapTypeAndInstagram[];
|
|
77
|
+
content: TInstagramContent[];
|
|
78
|
+
};
|
|
67
79
|
mapCitySelectedInstagram?: TMapTypeAndSelectedInstagram[];
|
|
68
80
|
};
|
|
69
81
|
/**
|
|
@@ -50,3 +50,28 @@ export type TCompletedYouTubeVideoDetailUpdate = {
|
|
|
50
50
|
video_id: string;
|
|
51
51
|
} & Partial<Omit<TCompletedYouTubeVideoDetail, "video_id">>;
|
|
52
52
|
export declare const DB_COLUMNS_COMPLETED_YOUTUBE_VIDEO_LIST_FOR_ADMIN: string[];
|
|
53
|
+
export type TCompletedYouTubeVideoListForPublicFront = {
|
|
54
|
+
video_id: string;
|
|
55
|
+
country_code: string | null;
|
|
56
|
+
lang_code: string | null;
|
|
57
|
+
video_title: string | null;
|
|
58
|
+
published_at: string | null;
|
|
59
|
+
duration_seconds: number | null;
|
|
60
|
+
view_count: number;
|
|
61
|
+
like_count: number;
|
|
62
|
+
favorite_count: number;
|
|
63
|
+
comment_count: number;
|
|
64
|
+
embed_html: string | null;
|
|
65
|
+
is_shorts: boolean;
|
|
66
|
+
thumbnail_default: string | null;
|
|
67
|
+
thumbnail_medium: string | null;
|
|
68
|
+
thumbnail_high: string | null;
|
|
69
|
+
thumbnail_standard: string | null;
|
|
70
|
+
thumbnail_maxres: string | null;
|
|
71
|
+
is_admin_recommended: boolean;
|
|
72
|
+
is_display: boolean;
|
|
73
|
+
is_active: boolean;
|
|
74
|
+
registered_at: string;
|
|
75
|
+
updated_at: string;
|
|
76
|
+
checked_at: string | null;
|
|
77
|
+
};
|
|
@@ -181,3 +181,45 @@ export declare const KEYS_CONTENT_STR: string[];
|
|
|
181
181
|
export declare const KEYS_CONTENT_NUM: string[];
|
|
182
182
|
export declare const KEYS_CONTENT_BOOL: string[];
|
|
183
183
|
export declare const KEYS_CONTENT_STR_ARRAY: string[];
|
|
184
|
+
export type TContentListForPublicFrontList = {
|
|
185
|
+
country_code: string;
|
|
186
|
+
city_code: string | null;
|
|
187
|
+
street_code: string | null;
|
|
188
|
+
content_code: string;
|
|
189
|
+
content_type: string | null;
|
|
190
|
+
name: string;
|
|
191
|
+
native: string | null;
|
|
192
|
+
thumbnail_main_1: string | null;
|
|
193
|
+
thumbnail_main_2: string | null;
|
|
194
|
+
thumbnail_main_3: string | null;
|
|
195
|
+
thumbnail_main_4: string | null;
|
|
196
|
+
thumbnail_main_5: string | null;
|
|
197
|
+
google_place_id: string | null;
|
|
198
|
+
trip_advisor_location_id: string | null;
|
|
199
|
+
address: string | null;
|
|
200
|
+
address_native: string | null;
|
|
201
|
+
gp_user_rating_count: number | null;
|
|
202
|
+
gp_rating: number | null;
|
|
203
|
+
google_maps_uri: string | null;
|
|
204
|
+
website_en: string | null;
|
|
205
|
+
gp_place_uri: string | null;
|
|
206
|
+
ta_trip_advisor_url: string | null;
|
|
207
|
+
ta_ranking: number | null;
|
|
208
|
+
ta_rating: number | null;
|
|
209
|
+
is_free_available: boolean;
|
|
210
|
+
naver_map_url: string | null;
|
|
211
|
+
instagram_id: string | null;
|
|
212
|
+
youtube_ch_id: string | null;
|
|
213
|
+
google_place_url: string | null;
|
|
214
|
+
trip_advisor_url: string | null;
|
|
215
|
+
facebook: string | null;
|
|
216
|
+
naver_place_url: string | null;
|
|
217
|
+
kakao_place_url: string | null;
|
|
218
|
+
naver_reservation_url: string | null;
|
|
219
|
+
linkedin: string | null;
|
|
220
|
+
visit_korea: string | null;
|
|
221
|
+
is_active: boolean;
|
|
222
|
+
is_display: boolean;
|
|
223
|
+
is_temporarily_unoperational: boolean;
|
|
224
|
+
is_closed: boolean;
|
|
225
|
+
};
|