dplus_common_v1 0.1.108 → 0.1.110
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.
- package/dist/consts/db.d.ts +1 -0
- package/dist/consts/db.js +1 -0
- package/dist/consts/db.js.map +1 -1
- package/dist/dplus-types/dplus-response-types.d.ts +9 -0
- package/dist/fields/fields-category/f-category-i18n.d.ts +10 -2
- package/dist/fields/fields-category/f-category-i18n.js +16 -8
- package/dist/fields/fields-category/f-category-i18n.js.map +1 -1
- package/dist/fields/fields-category/f-category-metadata-i18n.d.ts +24 -3
- package/dist/fields/fields-category/f-category-metadata-i18n.js +37 -16
- package/dist/fields/fields-category/f-category-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-category/f-category.d.ts +13 -101
- package/dist/fields/fields-category/f-category.js +50 -213
- package/dist/fields/fields-category/f-category.js.map +1 -1
- package/dist/fields/fields-city/f-city-i18n.d.ts +10 -0
- package/dist/fields/fields-city/f-city-i18n.js +19 -9
- package/dist/fields/fields-city/f-city-i18n.js.map +1 -1
- package/dist/fields/fields-city/f-city-image.d.ts +31 -4
- package/dist/fields/fields-city/f-city-image.js +48 -20
- package/dist/fields/fields-city/f-city-image.js.map +1 -1
- package/dist/fields/fields-city/f-city-metadata-i18n.d.ts +24 -3
- package/dist/fields/fields-city/f-city-metadata-i18n.js +38 -17
- package/dist/fields/fields-city/f-city-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-city/f-city-youtube-video.d.ts +26 -2
- package/dist/fields/fields-city/f-city-youtube-video.js +35 -11
- package/dist/fields/fields-city/f-city-youtube-video.js.map +1 -1
- package/dist/fields/fields-city/f-city.d.ts +59 -185
- package/dist/fields/fields-city/f-city.js +80 -201
- package/dist/fields/fields-city/f-city.js.map +1 -1
- package/dist/fields/fields-event/f-event-description.d.ts +272 -0
- package/dist/fields/fields-event/f-event-description.js +277 -0
- package/dist/fields/fields-event/f-event-description.js.map +1 -0
- package/dist/fields/fields-event/f-event-image.d.ts +12 -21
- package/dist/fields/fields-event/f-event-image.js +41 -50
- package/dist/fields/fields-event/f-event-image.js.map +1 -1
- package/dist/fields/fields-event/f-event-metadata-i18n.d.ts +8 -18
- package/dist/fields/fields-event/f-event-metadata-i18n.js +9 -19
- package/dist/fields/fields-event/f-event-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-event/f-event.d.ts +78 -302
- package/dist/fields/fields-event/f-event.js +176 -390
- package/dist/fields/fields-event/f-event.js.map +1 -1
- package/dist/fields/fields-folder/f-folder-description.d.ts +133 -0
- package/dist/fields/fields-folder/f-folder-description.js +134 -0
- package/dist/fields/fields-folder/f-folder-description.js.map +1 -0
- package/dist/fields/fields-folder/f-folder-image.d.ts +14 -23
- package/dist/fields/fields-folder/f-folder-image.js +41 -50
- package/dist/fields/fields-folder/f-folder-image.js.map +1 -1
- package/dist/fields/fields-folder/f-folder-metadata-i18n.d.ts +10 -2
- package/dist/fields/fields-folder/f-folder-metadata-i18n.js +23 -15
- package/dist/fields/fields-folder/f-folder-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-folder/f-folder.d.ts +30 -336
- package/dist/fields/fields-folder/f-folder.js +44 -350
- package/dist/fields/fields-folder/f-folder.js.map +1 -1
- package/dist/fields/fields-group/f-group-image.d.ts +18 -21
- package/dist/fields/fields-group/f-group-image.js +48 -51
- package/dist/fields/fields-group/f-group-image.js.map +1 -1
- package/dist/fields/fields-group/f-group-metadata-i18n.d.ts +4 -0
- package/dist/fields/fields-group/f-group-metadata-i18n.js +14 -10
- package/dist/fields/fields-group/f-group-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-group/f-group.d.ts +30 -183
- package/dist/fields/fields-group/f-group.js +64 -208
- package/dist/fields/fields-group/f-group.js.map +1 -1
- package/dist/fields/fields-map/f-map-category-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-category-event.js +0 -6
- package/dist/fields/fields-map/f-map-category-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-category-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-category-folder.js +0 -12
- package/dist/fields/fields-map/f-map-category-folder.js.map +1 -1
- package/dist/fields/fields-map/f-map-city-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-city-event.js +0 -6
- package/dist/fields/fields-map/f-map-city-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-city-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-city-folder.js +0 -12
- package/dist/fields/fields-map/f-map-city-folder.js.map +1 -1
- package/dist/fields/fields-map/f-map-country-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-country-event.js +0 -6
- package/dist/fields/fields-map/f-map-country-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-country-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-country-folder.js +0 -12
- package/dist/fields/fields-map/f-map-country-folder.js.map +1 -1
- package/dist/fields/fields-map/f-map-folder-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-folder-event.js +0 -6
- package/dist/fields/fields-map/f-map-folder-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-group-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-group-event.js +0 -6
- package/dist/fields/fields-map/f-map-group-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-group-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-group-folder.js +0 -12
- package/dist/fields/fields-map/f-map-group-folder.js.map +1 -1
- package/dist/fields/fields-map/f-map-stag-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-stag-event.js +0 -6
- package/dist/fields/fields-map/f-map-stag-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-stag-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-stag-folder.js +0 -12
- package/dist/fields/fields-map/f-map-stag-folder.js.map +1 -1
- package/dist/fields/fields-map/f-map-tag-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-tag-event.js +0 -6
- package/dist/fields/fields-map/f-map-tag-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-tag-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-tag-folder.js +0 -12
- package/dist/fields/fields-map/f-map-tag-folder.js.map +1 -1
- package/dist/fields/fields-map/f-map-user-event.d.ts +0 -6
- package/dist/fields/fields-map/f-map-user-event.js +0 -6
- package/dist/fields/fields-map/f-map-user-event.js.map +1 -1
- package/dist/fields/fields-map/f-map-user-folder.d.ts +0 -12
- package/dist/fields/fields-map/f-map-user-folder.js +0 -12
- package/dist/fields/fields-map/f-map-user-folder.js.map +1 -1
- package/dist/fields/fields-service-provider/f-service-provider.d.ts +12 -2
- package/dist/fields/fields-service-provider/f-service-provider.js +20 -10
- package/dist/fields/fields-service-provider/f-service-provider.js.map +1 -1
- package/dist/fields/fields-stag/f-stag-i18n.d.ts +12 -2
- package/dist/fields/fields-stag/f-stag-i18n.js +20 -10
- package/dist/fields/fields-stag/f-stag-i18n.js.map +1 -1
- package/dist/fields/fields-stag/f-stag-image.d.ts +97 -0
- package/dist/fields/fields-stag/f-stag-image.js +98 -0
- package/dist/fields/fields-stag/f-stag-image.js.map +1 -0
- package/dist/fields/fields-stag/f-stag-metadata-i18n.d.ts +20 -3
- package/dist/fields/fields-stag/f-stag-metadata-i18n.js +34 -17
- package/dist/fields/fields-stag/f-stag-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-stag/f-stag.d.ts +88 -201
- package/dist/fields/fields-stag/f-stag.js +121 -222
- package/dist/fields/fields-stag/f-stag.js.map +1 -1
- package/dist/fields/fields-tag/f-tag.d.ts +20 -6
- package/dist/fields/fields-tag/f-tag.js +28 -14
- package/dist/fields/fields-tag/f-tag.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/types/t-thumbnail-source.d.ts +6 -0
- package/dist/types/t-thumbnail-source.js +2 -0
- package/dist/types/t-thumbnail-source.js.map +1 -0
- package/dist/types/types-category/t-category-i18n.d.ts +4 -2
- package/dist/types/types-category/t-category-metadata-i18n.d.ts +22 -6
- package/dist/types/types-category/t-category.d.ts +34 -14
- package/dist/types/types-category/t-category.js +11 -20
- package/dist/types/types-category/t-category.js.map +1 -1
- package/dist/types/types-city/t-city-i18n.d.ts +6 -4
- package/dist/types/types-city/t-city-image.d.ts +21 -5
- package/dist/types/types-city/t-city-metadata-i18n.d.ts +24 -8
- package/dist/types/types-city/t-city-youtube-video.d.ts +10 -6
- package/dist/types/types-city/t-city.d.ts +36 -17
- package/dist/types/types-city/t-city.js +6 -18
- package/dist/types/types-city/t-city.js.map +1 -1
- package/dist/types/types-event/t-event-description.d.ts +37 -0
- package/dist/types/types-event/t-event-description.js +2 -0
- package/dist/types/types-event/t-event-description.js.map +1 -0
- package/dist/types/types-event/t-event-image.d.ts +9 -11
- package/dist/types/types-event/t-event-metadata-i18n.d.ts +10 -8
- package/dist/types/types-event/t-event.d.ts +35 -62
- package/dist/types/types-event/t-event.js +32 -59
- package/dist/types/types-event/t-event.js.map +1 -1
- package/dist/types/types-folder/t-folder-description.d.ts +21 -0
- package/dist/types/types-folder/t-folder-description.js +2 -0
- package/dist/types/types-folder/t-folder-description.js.map +1 -0
- package/dist/types/types-folder/t-folder-image.d.ts +10 -9
- package/dist/types/types-folder/t-folder-metadata-i18n.d.ts +10 -7
- package/dist/types/types-folder/t-folder.d.ts +16 -53
- package/dist/types/types-folder/t-folder.js +19 -57
- package/dist/types/types-folder/t-folder.js.map +1 -1
- package/dist/types/types-group/t-group-image.d.ts +9 -11
- package/dist/types/types-group/t-group-metadata-i18n.d.ts +6 -7
- package/dist/types/types-group/t-group.d.ts +14 -32
- package/dist/types/types-group/t-group.js +14 -40
- package/dist/types/types-group/t-group.js.map +1 -1
- package/dist/types/types-map/t-map-category-event.d.ts +0 -1
- package/dist/types/types-map/t-map-category-folder.d.ts +0 -2
- package/dist/types/types-map/t-map-city-event.d.ts +0 -1
- package/dist/types/types-map/t-map-city-folder.d.ts +0 -2
- package/dist/types/types-map/t-map-country-event.d.ts +0 -1
- package/dist/types/types-map/t-map-country-folder.d.ts +0 -2
- package/dist/types/types-map/t-map-folder-event.d.ts +0 -1
- package/dist/types/types-map/t-map-group-event.d.ts +0 -1
- package/dist/types/types-map/t-map-group-folder.d.ts +0 -2
- package/dist/types/types-map/t-map-stag-event.d.ts +0 -1
- package/dist/types/types-map/t-map-stag-folder.d.ts +0 -2
- package/dist/types/types-map/t-map-tag-event.d.ts +0 -1
- package/dist/types/types-map/t-map-tag-folder.d.ts +0 -2
- package/dist/types/types-map/t-map-user-event.d.ts +0 -1
- package/dist/types/types-map/t-map-user-folder.d.ts +0 -2
- package/dist/types/types-service-provider/t-service-provider.d.ts +8 -2
- package/dist/types/types-stag/t-stag-i18n.d.ts +3 -2
- package/dist/types/types-stag/t-stag-image.d.ts +25 -0
- package/dist/types/types-stag/t-stag-image.js +2 -0
- package/dist/types/types-stag/t-stag-image.js.map +1 -0
- package/dist/types/types-stag/t-stag-metadata-i18n.d.ts +15 -6
- package/dist/types/types-stag/t-stag.d.ts +46 -33
- package/dist/types/types-stag/t-stag.js +12 -37
- package/dist/types/types-stag/t-stag.js.map +1 -1
- package/dist/types/types-tag/t-tag.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
export type TEventImage = {
|
|
2
|
-
id: number;
|
|
3
2
|
event_code: string;
|
|
4
3
|
hash_code: string;
|
|
5
|
-
label: string | null;
|
|
6
|
-
orientation: string | null;
|
|
7
4
|
order_num: number;
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
label: string | null;
|
|
6
|
+
url: string;
|
|
10
7
|
src_name: string | null;
|
|
8
|
+
src_platform: string | null;
|
|
9
|
+
src_unique_id: string | null;
|
|
11
10
|
src_url: string | null;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
updated_at: Date;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
15
13
|
};
|
|
16
14
|
export type TEventImageInsert = {
|
|
17
15
|
event_code: string;
|
|
18
16
|
hash_code: string;
|
|
19
|
-
|
|
20
|
-
} & Partial<Omit<TEventImage, "event_code" | "hash_code" | "
|
|
21
|
-
export type TEventImageUpdate = Partial<Omit<TEventImage, "event_code" | "hash_code">>;
|
|
17
|
+
url: string;
|
|
18
|
+
} & Partial<Omit<TEventImage, "event_code" | "hash_code" | "url" | "created_at" | "updated_at">>;
|
|
19
|
+
export type TEventImageUpdate = Partial<Omit<TEventImage, "event_code" | "hash_code" | "created_at" | "updated_at">>;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
export type TEventMetadataI18nListForAdmin = {
|
|
2
2
|
event_code: string;
|
|
3
3
|
lang_code: string;
|
|
4
|
-
title: string;
|
|
4
|
+
title: string | null;
|
|
5
5
|
og_title: string | null;
|
|
6
6
|
};
|
|
7
|
-
export type TEventMetadataI18nDetail =
|
|
7
|
+
export type TEventMetadataI18nDetail = {
|
|
8
|
+
event_code: string;
|
|
9
|
+
lang_code: string;
|
|
10
|
+
title: string | null;
|
|
8
11
|
description: string | null;
|
|
9
12
|
og_description: string | null;
|
|
10
13
|
og_image: string | null;
|
|
11
|
-
tag_set: string
|
|
12
|
-
created_at:
|
|
13
|
-
updated_at:
|
|
14
|
+
tag_set: string[];
|
|
15
|
+
created_at: string;
|
|
16
|
+
updated_at: string;
|
|
14
17
|
};
|
|
15
18
|
export type TEventMetadataI18nDetailInsert = {
|
|
16
19
|
event_code: string;
|
|
17
20
|
lang_code: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export type TEventMetadataI18nDetailUpdate = Partial<Omit<TEventMetadataI18nDetail, "event_code" | "lang_code">>;
|
|
21
|
+
} & Partial<Omit<TEventMetadataI18nDetail, "event_code" | "lang_code" | "created_at" | "updated_at">>;
|
|
22
|
+
export type TEventMetadataI18nDetailUpdate = Partial<Omit<TEventMetadataI18nDetail, "event_code" | "lang_code" | "created_at" | "updated_at">>;
|
|
@@ -1,43 +1,55 @@
|
|
|
1
|
+
import { TThumbnailSource } from "../t-thumbnail-source";
|
|
1
2
|
export type TEventCard = {
|
|
2
3
|
event_code: string;
|
|
3
|
-
target_country_code: string
|
|
4
|
-
date: string
|
|
4
|
+
target_country_code: string;
|
|
5
|
+
date: string;
|
|
5
6
|
time: string | null;
|
|
6
|
-
|
|
7
|
+
end_date: string | null;
|
|
8
|
+
end_time: string | null;
|
|
9
|
+
utc_minutes: number;
|
|
7
10
|
tz: string;
|
|
8
11
|
duration: number | null;
|
|
9
12
|
start_at_utc: string;
|
|
10
13
|
end_at_utc: string | null;
|
|
11
|
-
is_repeat_annually: boolean
|
|
12
|
-
title: string
|
|
14
|
+
is_repeat_annually: boolean;
|
|
15
|
+
title: string;
|
|
16
|
+
short_description: string | null;
|
|
13
17
|
bg_color: string | null;
|
|
14
18
|
fg_color: string | null;
|
|
15
19
|
thumbnail_square: string | null;
|
|
16
20
|
thumbnail_horizontal: string | null;
|
|
17
21
|
thumbnail_vertical: string | null;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
23
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
24
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
25
|
+
place_id: number | null;
|
|
26
|
+
place_name: string | null;
|
|
21
27
|
address_eng: string | null;
|
|
22
28
|
address_native: string | null;
|
|
23
29
|
google_map_url: string | null;
|
|
24
30
|
};
|
|
25
31
|
export type TEventListForAdmin = {
|
|
26
32
|
event_code: string;
|
|
27
|
-
date:
|
|
33
|
+
date: string;
|
|
28
34
|
time: string | null;
|
|
35
|
+
end_date: string | null;
|
|
36
|
+
end_time: string | null;
|
|
29
37
|
tz: string;
|
|
30
38
|
duration: number | null;
|
|
31
39
|
start_at_utc: string;
|
|
32
40
|
end_at_utc: string | null;
|
|
33
41
|
is_repeat_annually: boolean;
|
|
34
42
|
title: string;
|
|
43
|
+
short_description: string | null;
|
|
35
44
|
bg_color: string | null;
|
|
36
45
|
fg_color: string | null;
|
|
37
46
|
target_country_code: string;
|
|
38
47
|
target_city_code: string | null;
|
|
48
|
+
place_id: number | null;
|
|
49
|
+
place_name: string | null;
|
|
39
50
|
is_promoted: boolean;
|
|
40
51
|
is_public: boolean;
|
|
52
|
+
visibility: string;
|
|
41
53
|
view_count: number;
|
|
42
54
|
added_count: number;
|
|
43
55
|
shared_count: number;
|
|
@@ -46,8 +58,9 @@ export type TEventListForAdmin = {
|
|
|
46
58
|
is_active: boolean;
|
|
47
59
|
is_display: boolean;
|
|
48
60
|
is_admin_created: boolean;
|
|
61
|
+
approval_status: string;
|
|
49
62
|
created_by: string | null;
|
|
50
|
-
created_at:
|
|
63
|
+
created_at: string;
|
|
51
64
|
};
|
|
52
65
|
export declare const DB_COLUMNS_EVENT_LIST_FOR_ADMIN: string[];
|
|
53
66
|
export type TEventDetail = TEventListForAdmin & {
|
|
@@ -57,23 +70,9 @@ export type TEventDetail = TEventListForAdmin & {
|
|
|
57
70
|
thumbnail_square: string | null;
|
|
58
71
|
thumbnail_horizontal: string | null;
|
|
59
72
|
thumbnail_vertical: string | null;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
url_label: string | null;
|
|
64
|
-
url: string | null;
|
|
65
|
-
email: string | null;
|
|
66
|
-
phone_country_code: string | null;
|
|
67
|
-
phone: string | null;
|
|
68
|
-
youtube_ch_id: string | null;
|
|
69
|
-
instagram_id: string | null;
|
|
70
|
-
tiktok_id: string | null;
|
|
71
|
-
threads_id: string | null;
|
|
72
|
-
ticket_purchase: string | null;
|
|
73
|
-
product_purchase: string | null;
|
|
74
|
-
detail_info_url: string | null;
|
|
75
|
-
watch_url: string | null;
|
|
76
|
-
apply_url: string | null;
|
|
73
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
74
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
75
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
77
76
|
location: string | null;
|
|
78
77
|
latitude: number | null;
|
|
79
78
|
longitude: number | null;
|
|
@@ -81,48 +80,22 @@ export type TEventDetail = TEventListForAdmin & {
|
|
|
81
80
|
address_eng: string | null;
|
|
82
81
|
address_native: string | null;
|
|
83
82
|
google_map_url: string | null;
|
|
84
|
-
|
|
85
|
-
target_age_end: number | null;
|
|
86
|
-
target_sex: string | null;
|
|
87
|
-
is_target_for_family: boolean;
|
|
88
|
-
is_target_for_couple: boolean;
|
|
89
|
-
is_target_for_children: boolean;
|
|
90
|
-
is_target_for_single: boolean;
|
|
91
|
-
is_target_for_traveler: boolean;
|
|
92
|
-
deactivated_at: Date | null;
|
|
83
|
+
deactivated_at: string | null;
|
|
93
84
|
deactivated_by: string | null;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
hero_image_04: string | null;
|
|
98
|
-
hero_image_05: string | null;
|
|
99
|
-
thumbnail_main_01: string | null;
|
|
100
|
-
thumbnail_main_02: string | null;
|
|
101
|
-
thumbnail_main_03: string | null;
|
|
102
|
-
thumbnail_main_04: string | null;
|
|
103
|
-
thumbnail_main_05: string | null;
|
|
104
|
-
thumbnail_vertical_01: string | null;
|
|
105
|
-
thumbnail_vertical_02: string | null;
|
|
106
|
-
thumbnail_vertical_03: string | null;
|
|
107
|
-
thumbnail_vertical_04: string | null;
|
|
108
|
-
thumbnail_vertical_05: string | null;
|
|
109
|
-
metadata_title: string | null;
|
|
110
|
-
metadata_description: string | null;
|
|
111
|
-
metadata_keywords: string | null;
|
|
112
|
-
metadata_og_title: string | null;
|
|
113
|
-
metadata_og_description: string | null;
|
|
114
|
-
metadata_og_image: string | null;
|
|
115
|
-
updated_at: Date;
|
|
85
|
+
approved_at: string | null;
|
|
86
|
+
approved_by: string | null;
|
|
87
|
+
updated_at: string;
|
|
116
88
|
};
|
|
117
89
|
export type TEventDetailInsert = {
|
|
118
90
|
event_code: string;
|
|
119
|
-
date:
|
|
91
|
+
date: string;
|
|
120
92
|
tz: string;
|
|
121
93
|
utc_minutes: number;
|
|
122
94
|
title: string;
|
|
123
|
-
|
|
124
|
-
|
|
95
|
+
target_country_code: string;
|
|
96
|
+
} & Partial<Omit<TEventDetail, "event_code" | "date" | "tz" | "utc_minutes" | "title" | "target_country_code" | "created_at" | "updated_at" | "start_at_utc" | "end_at_utc" | "location" | "target_country_native" | "target_city_native">>;
|
|
97
|
+
export type TEventDetailUpdate = Partial<Omit<TEventDetail, "event_code" | "created_at" | "created_by" | "updated_at" | "start_at_utc" | "end_at_utc" | "location" | "target_country_native" | "target_city_native">>;
|
|
125
98
|
export declare const KEYS_EVENT_STR: string[];
|
|
126
99
|
export declare const KEYS_EVENT_NUM: string[];
|
|
127
100
|
export declare const KEYS_EVENT_BOOL: string[];
|
|
128
|
-
export declare const
|
|
101
|
+
export declare const KEYS_EVENT_JSONB: string[];
|
|
@@ -1,22 +1,28 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* ========================================
|
|
2
2
|
* DB 컬럼 목록 For Event List For Admin
|
|
3
|
-
*/
|
|
3
|
+
* ======================================== */
|
|
4
4
|
export const DB_COLUMNS_EVENT_LIST_FOR_ADMIN = [
|
|
5
5
|
"event_code",
|
|
6
6
|
"date",
|
|
7
7
|
"time",
|
|
8
|
+
"end_date",
|
|
9
|
+
"end_time",
|
|
8
10
|
"tz",
|
|
9
11
|
"duration",
|
|
10
12
|
"start_at_utc",
|
|
11
13
|
"end_at_utc",
|
|
12
|
-
"is_promoted",
|
|
13
14
|
"is_repeat_annually",
|
|
14
15
|
"title",
|
|
16
|
+
"short_description",
|
|
15
17
|
"bg_color",
|
|
16
18
|
"fg_color",
|
|
17
19
|
"target_country_code",
|
|
18
20
|
"target_city_code",
|
|
21
|
+
"place_id",
|
|
22
|
+
"place_name",
|
|
23
|
+
"is_promoted",
|
|
19
24
|
"is_public",
|
|
25
|
+
"visibility",
|
|
20
26
|
"view_count",
|
|
21
27
|
"added_count",
|
|
22
28
|
"shared_count",
|
|
@@ -25,114 +31,81 @@ export const DB_COLUMNS_EVENT_LIST_FOR_ADMIN = [
|
|
|
25
31
|
"is_active",
|
|
26
32
|
"is_display",
|
|
27
33
|
"is_admin_created",
|
|
34
|
+
"approval_status",
|
|
28
35
|
"created_by",
|
|
29
36
|
"created_at",
|
|
30
37
|
];
|
|
38
|
+
/* ========================================
|
|
39
|
+
* FormData Parsing Keys
|
|
40
|
+
* ======================================== */
|
|
31
41
|
/*
|
|
32
|
-
* Event 데이터 문자열 KEY 목록
|
|
33
|
-
* FormData Parsing 할 때 사용
|
|
42
|
+
* Event 데이터 문자열 KEY 목록 (events 테이블)
|
|
34
43
|
*/
|
|
35
44
|
export const KEYS_EVENT_STR = [
|
|
36
45
|
"event_code",
|
|
37
46
|
"date",
|
|
38
47
|
"time",
|
|
48
|
+
"end_date",
|
|
49
|
+
"end_time",
|
|
39
50
|
"tz",
|
|
40
51
|
"title",
|
|
52
|
+
"short_description",
|
|
41
53
|
"bg_color",
|
|
42
54
|
"fg_color",
|
|
43
55
|
"thumbnail_square",
|
|
44
56
|
"thumbnail_horizontal",
|
|
45
57
|
"thumbnail_vertical",
|
|
46
|
-
"profile",
|
|
47
|
-
"description",
|
|
48
58
|
"target_country_code",
|
|
49
59
|
"target_country_native",
|
|
50
60
|
"target_city_code",
|
|
51
61
|
"target_city_native",
|
|
52
|
-
"
|
|
53
|
-
"url_label",
|
|
54
|
-
"url",
|
|
55
|
-
"email",
|
|
56
|
-
"phone_country_code",
|
|
57
|
-
"phone",
|
|
58
|
-
"youtube_ch_id",
|
|
59
|
-
"instagram_id",
|
|
60
|
-
"tiktok_id",
|
|
61
|
-
"threads_id",
|
|
62
|
-
"ticket_purchase",
|
|
63
|
-
"product_purchase",
|
|
64
|
-
"detail_info_url",
|
|
65
|
-
"watch_url",
|
|
66
|
-
"apply_url",
|
|
62
|
+
"place_name",
|
|
67
63
|
"address_eng",
|
|
68
64
|
"address_native",
|
|
69
65
|
"google_map_url",
|
|
70
|
-
"
|
|
66
|
+
"visibility",
|
|
67
|
+
"approval_status",
|
|
71
68
|
"deactivated_at",
|
|
72
69
|
"deactivated_by",
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"hero_image_03",
|
|
76
|
-
"hero_image_04",
|
|
77
|
-
"hero_image_05",
|
|
78
|
-
"thumbnail_main_01",
|
|
79
|
-
"thumbnail_main_02",
|
|
80
|
-
"thumbnail_main_03",
|
|
81
|
-
"thumbnail_main_04",
|
|
82
|
-
"thumbnail_main_05",
|
|
83
|
-
"thumbnail_vertical_01",
|
|
84
|
-
"thumbnail_vertical_02",
|
|
85
|
-
"thumbnail_vertical_03",
|
|
86
|
-
"thumbnail_vertical_04",
|
|
87
|
-
"thumbnail_vertical_05",
|
|
88
|
-
"metadata_title",
|
|
89
|
-
"metadata_description",
|
|
90
|
-
"metadata_og_title",
|
|
91
|
-
"metadata_og_description",
|
|
92
|
-
"metadata_og_image",
|
|
70
|
+
"approved_at",
|
|
71
|
+
"approved_by",
|
|
93
72
|
"created_at",
|
|
94
73
|
"created_by",
|
|
95
74
|
"updated_at",
|
|
96
75
|
];
|
|
97
76
|
/*
|
|
98
|
-
* Event 데이터 숫자 KEY 목록
|
|
99
|
-
* FormDataParsing 할 때 사용
|
|
77
|
+
* Event 데이터 숫자 KEY 목록 (events 테이블)
|
|
100
78
|
*/
|
|
101
79
|
export const KEYS_EVENT_NUM = [
|
|
102
80
|
"utc_minutes",
|
|
103
81
|
"duration",
|
|
104
|
-
"
|
|
82
|
+
"place_id",
|
|
105
83
|
"latitude",
|
|
106
84
|
"longitude",
|
|
107
85
|
"radius_m",
|
|
86
|
+
"view_count",
|
|
108
87
|
"added_count",
|
|
109
88
|
"shared_count",
|
|
110
89
|
"saved_count",
|
|
111
|
-
"target_age_start",
|
|
112
|
-
"target_age_end",
|
|
113
90
|
];
|
|
114
91
|
/*
|
|
115
|
-
* Event 데이터 불리언 KEY 목록
|
|
116
|
-
* FormData Parsing 할 때 사용
|
|
92
|
+
* Event 데이터 불리언 KEY 목록 (events 테이블)
|
|
117
93
|
*/
|
|
118
94
|
export const KEYS_EVENT_BOOL = [
|
|
119
95
|
"is_repeat_annually",
|
|
120
96
|
"is_admin_created",
|
|
121
97
|
"is_public",
|
|
122
98
|
"is_promoted",
|
|
123
|
-
"view_count",
|
|
124
|
-
"is_target_for_family",
|
|
125
|
-
"is_target_for_couple",
|
|
126
|
-
"is_target_for_children",
|
|
127
|
-
"is_target_for_single",
|
|
128
|
-
"is_target_for_traveler",
|
|
129
99
|
"is_ever_public",
|
|
130
100
|
"is_active",
|
|
131
101
|
"is_display",
|
|
132
102
|
];
|
|
133
103
|
/*
|
|
134
|
-
* Event 데이터
|
|
135
|
-
* FormData Parsing 할 때 사용
|
|
104
|
+
* Event 데이터 JSONB KEY 목록 (events 테이블)
|
|
136
105
|
*/
|
|
137
|
-
export const
|
|
106
|
+
export const KEYS_EVENT_JSONB = [
|
|
107
|
+
"thumbnail_square_source",
|
|
108
|
+
"thumbnail_horizontal_source",
|
|
109
|
+
"thumbnail_vertical_source",
|
|
110
|
+
];
|
|
138
111
|
//# sourceMappingURL=t-event.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t-event.js","sourceRoot":"","sources":["../../../src/types/types-event/t-event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t-event.js","sourceRoot":"","sources":["../../../src/types/types-event/t-event.ts"],"names":[],"mappings":"AAqFA;;8CAE8C;AAC9C,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,IAAI;IACJ,UAAU;IACV,cAAc;IACd,YAAY;IACZ,oBAAoB;IACpB,OAAO;IACP,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,qBAAqB;IACrB,kBAAkB;IAClB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,YAAY;IACZ,YAAY;CACb,CAAC;AAsFF;;8CAE8C;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,IAAI;IACJ,OAAO;IACP,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,kBAAkB;IAClB,oBAAoB;IACpB,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,aAAa;IACb,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,aAAa;IACb,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type TFolderDescription = {
|
|
2
|
+
folder_code: string;
|
|
3
|
+
description: string | null;
|
|
4
|
+
email: string | null;
|
|
5
|
+
phone_country_code: string | null;
|
|
6
|
+
phone: string | null;
|
|
7
|
+
homepage: string | null;
|
|
8
|
+
url_label: string | null;
|
|
9
|
+
url: string | null;
|
|
10
|
+
youtube_ch_id: string | null;
|
|
11
|
+
instagram_id: string | null;
|
|
12
|
+
tiktok_id: string | null;
|
|
13
|
+
threads_id: string | null;
|
|
14
|
+
ticket_purchase: string | null;
|
|
15
|
+
created_at: Date;
|
|
16
|
+
updated_at: Date;
|
|
17
|
+
};
|
|
18
|
+
export type TFolderDescriptionInsert = {
|
|
19
|
+
folder_code: string;
|
|
20
|
+
} & Partial<Omit<TFolderDescription, "folder_code" | "created_at" | "updated_at">>;
|
|
21
|
+
export type TFolderDescriptionUpdate = Partial<Omit<TFolderDescription, "folder_code" | "created_at" | "updated_at">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t-folder-description.js","sourceRoot":"","sources":["../../../src/types/types-folder/t-folder-description.ts"],"names":[],"mappings":""}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
export type TFolderImage = {
|
|
2
|
-
id: number;
|
|
3
2
|
folder_code: string;
|
|
4
3
|
hash_code: string;
|
|
5
|
-
label: string | null;
|
|
6
|
-
orientation: string | null;
|
|
7
4
|
order_num: number;
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
label: string | null;
|
|
6
|
+
url: string;
|
|
10
7
|
src_name: string | null;
|
|
8
|
+
src_platform: string | null;
|
|
9
|
+
src_unique_id: string | null;
|
|
11
10
|
src_url: string | null;
|
|
12
|
-
src_reference: string | null;
|
|
13
11
|
created_at: Date;
|
|
14
12
|
updated_at: Date;
|
|
15
13
|
};
|
|
16
14
|
export type TFolderImageInsert = {
|
|
17
15
|
folder_code: string;
|
|
18
16
|
hash_code: string;
|
|
19
|
-
|
|
20
|
-
} & Partial<Omit<TFolderImage, "folder_code" | "hash_code" | "
|
|
21
|
-
export type TFolderImageUpdate =
|
|
17
|
+
url: string;
|
|
18
|
+
} & Partial<Omit<TFolderImage, "folder_code" | "hash_code" | "url" | "created_at" | "updated_at">>;
|
|
19
|
+
export type TFolderImageUpdate = {
|
|
20
|
+
folder_code: string;
|
|
21
|
+
hash_code: string;
|
|
22
|
+
} & Partial<Omit<TFolderImage, "folder_code" | "hash_code" | "created_at" | "updated_at">>;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
export type TFolderMetadataI18nListForAdmin = {
|
|
2
2
|
folder_code: string;
|
|
3
3
|
lang_code: string;
|
|
4
|
-
title: string;
|
|
4
|
+
title: string | null;
|
|
5
5
|
og_title: string | null;
|
|
6
6
|
};
|
|
7
|
-
export type TFolderMetadataI18nDetail =
|
|
7
|
+
export type TFolderMetadataI18nDetail = {
|
|
8
|
+
folder_code: string;
|
|
9
|
+
lang_code: string;
|
|
10
|
+
title: string | null;
|
|
8
11
|
description: string | null;
|
|
12
|
+
og_title: string | null;
|
|
9
13
|
og_description: string | null;
|
|
10
14
|
og_image: string | null;
|
|
11
|
-
tag_set: string
|
|
15
|
+
tag_set: string[];
|
|
12
16
|
created_at: Date;
|
|
13
17
|
updated_at: Date;
|
|
14
18
|
};
|
|
15
|
-
export type
|
|
19
|
+
export type TFolderMetadataI18nInsert = {
|
|
16
20
|
folder_code: string;
|
|
17
21
|
lang_code: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export type TFolderMetadataI18nDetailUpdate = Partial<Omit<TFolderMetadataI18nDetail, "folder_code" | "lang_code">>;
|
|
22
|
+
} & Partial<Pick<TFolderMetadataI18nDetail, "title" | "description" | "og_title" | "og_description" | "og_image" | "tag_set">>;
|
|
23
|
+
export type TFolderMetadataI18nUpdate = Partial<Omit<TFolderMetadataI18nDetail, "folder_code" | "lang_code" | "created_at" | "updated_at">>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { TThumbnailSource } from "../t-thumbnail-source";
|
|
1
2
|
export type TFolderSummaryInfo = {
|
|
2
3
|
folder_code: string;
|
|
3
|
-
title: string
|
|
4
|
-
is_public: boolean
|
|
5
|
-
is_active: boolean
|
|
6
|
-
is_display: boolean
|
|
4
|
+
title: string;
|
|
5
|
+
is_public: boolean;
|
|
6
|
+
is_active: boolean;
|
|
7
|
+
is_display: boolean;
|
|
7
8
|
};
|
|
8
9
|
export type TFolderCard = {
|
|
9
10
|
folder_code: string;
|
|
@@ -12,13 +13,14 @@ export type TFolderCard = {
|
|
|
12
13
|
fg_color: string | null;
|
|
13
14
|
target_country_code: string;
|
|
14
15
|
target_city_code: string | null;
|
|
15
|
-
homepage: string | null;
|
|
16
|
-
url: string | null;
|
|
17
16
|
thumbnail_square: string | null;
|
|
17
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
18
18
|
thumbnail_horizontal: string | null;
|
|
19
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
19
20
|
thumbnail_vertical: string | null;
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
22
|
+
view_count: number;
|
|
23
|
+
event_count: number;
|
|
22
24
|
};
|
|
23
25
|
export type TFolderListForAdmin = {
|
|
24
26
|
folder_code: string;
|
|
@@ -27,8 +29,6 @@ export type TFolderListForAdmin = {
|
|
|
27
29
|
fg_color: string | null;
|
|
28
30
|
target_country_code: string;
|
|
29
31
|
target_city_code: string | null;
|
|
30
|
-
homepage: string | null;
|
|
31
|
-
url: string | null;
|
|
32
32
|
is_public: boolean;
|
|
33
33
|
view_count: number;
|
|
34
34
|
event_count: number;
|
|
@@ -47,56 +47,19 @@ export type TFolderDetail = TFolderListForAdmin & {
|
|
|
47
47
|
thumbnail_square: string | null;
|
|
48
48
|
thumbnail_horizontal: string | null;
|
|
49
49
|
thumbnail_vertical: string | null;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
email: string | null;
|
|
54
|
-
phone_country_code: string | null;
|
|
55
|
-
phone: string | null;
|
|
56
|
-
youtube_ch_id: string | null;
|
|
57
|
-
instagram_id: string | null;
|
|
58
|
-
tiktok_id: string | null;
|
|
59
|
-
threads_id: string | null;
|
|
60
|
-
ticket_purchase: string | null;
|
|
61
|
-
target_age_start: number | null;
|
|
62
|
-
target_age_end: number | null;
|
|
63
|
-
target_sex: string | null;
|
|
64
|
-
is_target_for_family: boolean;
|
|
65
|
-
is_target_for_couple: boolean;
|
|
66
|
-
is_target_for_children: boolean;
|
|
67
|
-
is_target_for_single: boolean;
|
|
68
|
-
is_target_for_traveler: boolean;
|
|
50
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
51
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
52
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
69
53
|
deactivated_at: Date | null;
|
|
70
54
|
deactivated_by: string | null;
|
|
71
|
-
hero_image_01: string | null;
|
|
72
|
-
hero_image_02: string | null;
|
|
73
|
-
hero_image_03: string | null;
|
|
74
|
-
hero_image_04: string | null;
|
|
75
|
-
hero_image_05: string | null;
|
|
76
|
-
thumbnail_main_01: string | null;
|
|
77
|
-
thumbnail_main_02: string | null;
|
|
78
|
-
thumbnail_main_03: string | null;
|
|
79
|
-
thumbnail_main_04: string | null;
|
|
80
|
-
thumbnail_main_05: string | null;
|
|
81
|
-
thumbnail_vertical_01: string | null;
|
|
82
|
-
thumbnail_vertical_02: string | null;
|
|
83
|
-
thumbnail_vertical_03: string | null;
|
|
84
|
-
thumbnail_vertical_04: string | null;
|
|
85
|
-
thumbnail_vertical_05: string | null;
|
|
86
|
-
metadata_title: string | null;
|
|
87
|
-
metadata_description: string | null;
|
|
88
|
-
metadata_keywords: string | null;
|
|
89
|
-
metadata_og_title: string | null;
|
|
90
|
-
metadata_og_description: string | null;
|
|
91
|
-
metadata_og_image: string | null;
|
|
92
55
|
updated_at: Date;
|
|
93
56
|
};
|
|
94
57
|
export type TFolderDetailInsert = {
|
|
95
58
|
folder_code: string;
|
|
96
59
|
title: string;
|
|
97
|
-
} & Partial<Omit<TFolderDetail, "folder_code" | "title">>;
|
|
98
|
-
export type TFolderDetailUpdate = Partial<Omit<TFolderDetail, "folder_code">>;
|
|
60
|
+
} & Partial<Omit<TFolderDetail, "folder_code" | "title" | "created_at" | "updated_at">>;
|
|
61
|
+
export type TFolderDetailUpdate = Partial<Omit<TFolderDetail, "folder_code" | "created_at">>;
|
|
99
62
|
export declare const KEYS_FOLDER_STR: string[];
|
|
100
63
|
export declare const KEYS_FOLDER_NUM: string[];
|
|
101
64
|
export declare const KEYS_FOLDER_BOOL: string[];
|
|
102
|
-
export declare const
|
|
65
|
+
export declare const KEYS_FOLDER_JSONB: string[];
|