dplus_common_v1 0.1.109 → 0.1.111
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/dplus-types/dplus-response-types.d.ts +6 -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 +4 -0
- package/dist/fields/fields-event/f-event-image.js +8 -4
- 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 -281
- package/dist/fields/fields-event/f-event.js +176 -369
- 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 +6 -2
- package/dist/fields/fields-folder/f-folder-image.js +12 -8
- 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 +28 -313
- package/dist/fields/fields-folder/f-folder.js +42 -327
- package/dist/fields/fields-folder/f-folder.js.map +1 -1
- package/dist/fields/fields-group/f-group-image.d.ts +10 -0
- package/dist/fields/fields-group/f-group-image.js +22 -12
- 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 +23 -155
- package/dist/fields/fields-group/f-group.js +60 -183
- package/dist/fields/fields-group/f-group.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 +22 -2
- package/dist/fields/fields-stag/f-stag-image.js +34 -14
- package/dist/fields/fields-stag/f-stag-image.js.map +1 -1
- 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 +81 -173
- package/dist/fields/fields-stag/f-stag.js +117 -197
- 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 +3 -0
- package/dist/index.js +3 -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 +2 -5
- package/dist/types/types-event/t-event-metadata-i18n.d.ts +10 -8
- package/dist/types/types-event/t-event.d.ts +35 -71
- package/dist/types/types-event/t-event.js +32 -56
- 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 +4 -4
- package/dist/types/types-folder/t-folder-metadata-i18n.d.ts +10 -7
- package/dist/types/types-folder/t-folder.d.ts +16 -50
- package/dist/types/types-folder/t-folder.js +19 -54
- package/dist/types/types-folder/t-folder.js.map +1 -1
- package/dist/types/types-group/t-group-image.d.ts +2 -5
- package/dist/types/types-group/t-group-metadata-i18n.d.ts +6 -7
- package/dist/types/types-group/t-group.d.ts +14 -29
- package/dist/types/types-group/t-group.js +14 -37
- package/dist/types/types-group/t-group.js.map +1 -1
- 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 +12 -9
- package/dist/types/types-stag/t-stag-metadata-i18n.d.ts +15 -6
- package/dist/types/types-stag/t-stag.d.ts +47 -30
- package/dist/types/types-stag/t-stag.js +12 -34
- 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,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,55 +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
|
-
thumbnail_square_src_name: string | null;
|
|
17
|
-
thumbnail_square_src_platform: string | null;
|
|
18
|
-
thumbnail_square_src_unique_id: string | null;
|
|
19
|
-
thumbnail_square_src_url: string | null;
|
|
20
20
|
thumbnail_horizontal: string | null;
|
|
21
|
-
thumbnail_horizontal_src_name: string | null;
|
|
22
|
-
thumbnail_horizontal_src_platform: string | null;
|
|
23
|
-
thumbnail_horizontal_src_unique_id: string | null;
|
|
24
|
-
thumbnail_horizontal_src_url: string | null;
|
|
25
21
|
thumbnail_vertical: string | null;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
description: string | null;
|
|
32
|
-
url: string | null;
|
|
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;
|
|
33
27
|
address_eng: string | null;
|
|
34
28
|
address_native: string | null;
|
|
35
29
|
google_map_url: string | null;
|
|
36
30
|
};
|
|
37
31
|
export type TEventListForAdmin = {
|
|
38
32
|
event_code: string;
|
|
39
|
-
date:
|
|
33
|
+
date: string;
|
|
40
34
|
time: string | null;
|
|
35
|
+
end_date: string | null;
|
|
36
|
+
end_time: string | null;
|
|
41
37
|
tz: string;
|
|
42
38
|
duration: number | null;
|
|
43
39
|
start_at_utc: string;
|
|
44
40
|
end_at_utc: string | null;
|
|
45
41
|
is_repeat_annually: boolean;
|
|
46
42
|
title: string;
|
|
43
|
+
short_description: string | null;
|
|
47
44
|
bg_color: string | null;
|
|
48
45
|
fg_color: string | null;
|
|
49
46
|
target_country_code: string;
|
|
50
47
|
target_city_code: string | null;
|
|
48
|
+
place_id: number | null;
|
|
49
|
+
place_name: string | null;
|
|
51
50
|
is_promoted: boolean;
|
|
52
51
|
is_public: boolean;
|
|
52
|
+
visibility: string;
|
|
53
53
|
view_count: number;
|
|
54
54
|
added_count: number;
|
|
55
55
|
shared_count: number;
|
|
@@ -58,8 +58,9 @@ export type TEventListForAdmin = {
|
|
|
58
58
|
is_active: boolean;
|
|
59
59
|
is_display: boolean;
|
|
60
60
|
is_admin_created: boolean;
|
|
61
|
+
approval_status: string;
|
|
61
62
|
created_by: string | null;
|
|
62
|
-
created_at:
|
|
63
|
+
created_at: string;
|
|
63
64
|
};
|
|
64
65
|
export declare const DB_COLUMNS_EVENT_LIST_FOR_ADMIN: string[];
|
|
65
66
|
export type TEventDetail = TEventListForAdmin & {
|
|
@@ -67,37 +68,11 @@ export type TEventDetail = TEventListForAdmin & {
|
|
|
67
68
|
target_city_native?: string | null;
|
|
68
69
|
utc_minutes: number;
|
|
69
70
|
thumbnail_square: string | null;
|
|
70
|
-
thumbnail_square_src_name: string | null;
|
|
71
|
-
thumbnail_square_src_platform: string | null;
|
|
72
|
-
thumbnail_square_src_unique_id: string | null;
|
|
73
|
-
thumbnail_square_src_url: string | null;
|
|
74
71
|
thumbnail_horizontal: string | null;
|
|
75
|
-
thumbnail_horizontal_src_name: string | null;
|
|
76
|
-
thumbnail_horizontal_src_platform: string | null;
|
|
77
|
-
thumbnail_horizontal_src_unique_id: string | null;
|
|
78
|
-
thumbnail_horizontal_src_url: string | null;
|
|
79
72
|
thumbnail_vertical: string | null;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
thumbnail_vertical_src_url: string | null;
|
|
84
|
-
profile: string | null;
|
|
85
|
-
description: string | null;
|
|
86
|
-
homepage: string | null;
|
|
87
|
-
url_label: string | null;
|
|
88
|
-
url: string | null;
|
|
89
|
-
email: string | null;
|
|
90
|
-
phone_country_code: string | null;
|
|
91
|
-
phone: string | null;
|
|
92
|
-
youtube_ch_id: string | null;
|
|
93
|
-
instagram_id: string | null;
|
|
94
|
-
tiktok_id: string | null;
|
|
95
|
-
threads_id: string | null;
|
|
96
|
-
ticket_purchase: string | null;
|
|
97
|
-
product_purchase: string | null;
|
|
98
|
-
detail_info_url: string | null;
|
|
99
|
-
watch_url: string | null;
|
|
100
|
-
apply_url: string | null;
|
|
73
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
74
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
75
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
101
76
|
location: string | null;
|
|
102
77
|
latitude: number | null;
|
|
103
78
|
longitude: number | null;
|
|
@@ -105,33 +80,22 @@ export type TEventDetail = TEventListForAdmin & {
|
|
|
105
80
|
address_eng: string | null;
|
|
106
81
|
address_native: string | null;
|
|
107
82
|
google_map_url: string | null;
|
|
108
|
-
|
|
109
|
-
target_age_end: number | null;
|
|
110
|
-
target_sex: string | null;
|
|
111
|
-
is_target_for_family: boolean;
|
|
112
|
-
is_target_for_couple: boolean;
|
|
113
|
-
is_target_for_children: boolean;
|
|
114
|
-
is_target_for_single: boolean;
|
|
115
|
-
is_target_for_traveler: boolean;
|
|
116
|
-
deactivated_at: Date | null;
|
|
83
|
+
deactivated_at: string | null;
|
|
117
84
|
deactivated_by: string | null;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
metadata_og_title: string | null;
|
|
122
|
-
metadata_og_description: string | null;
|
|
123
|
-
metadata_og_image: string | null;
|
|
124
|
-
updated_at: Date;
|
|
85
|
+
approved_at: string | null;
|
|
86
|
+
approved_by: string | null;
|
|
87
|
+
updated_at: string;
|
|
125
88
|
};
|
|
126
89
|
export type TEventDetailInsert = {
|
|
127
90
|
event_code: string;
|
|
128
|
-
date:
|
|
91
|
+
date: string;
|
|
129
92
|
tz: string;
|
|
130
93
|
utc_minutes: number;
|
|
131
94
|
title: string;
|
|
132
|
-
|
|
133
|
-
|
|
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">>;
|
|
134
98
|
export declare const KEYS_EVENT_STR: string[];
|
|
135
99
|
export declare const KEYS_EVENT_NUM: string[];
|
|
136
100
|
export declare const KEYS_EVENT_BOOL: string[];
|
|
137
|
-
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,111 +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
|
-
"thumbnail_square_src_name",
|
|
45
|
-
"thumbnail_square_src_platform",
|
|
46
|
-
"thumbnail_square_src_unique_id",
|
|
47
|
-
"thumbnail_square_src_url",
|
|
48
56
|
"thumbnail_horizontal",
|
|
49
|
-
"thumbnail_horizontal_src_name",
|
|
50
|
-
"thumbnail_horizontal_src_platform",
|
|
51
|
-
"thumbnail_horizontal_src_unique_id",
|
|
52
|
-
"thumbnail_horizontal_src_url",
|
|
53
57
|
"thumbnail_vertical",
|
|
54
|
-
"thumbnail_vertical_src_name",
|
|
55
|
-
"thumbnail_vertical_src_platform",
|
|
56
|
-
"thumbnail_vertical_src_unique_id",
|
|
57
|
-
"thumbnail_vertical_src_url",
|
|
58
|
-
"profile",
|
|
59
|
-
"description",
|
|
60
58
|
"target_country_code",
|
|
61
59
|
"target_country_native",
|
|
62
60
|
"target_city_code",
|
|
63
61
|
"target_city_native",
|
|
64
|
-
"
|
|
65
|
-
"url_label",
|
|
66
|
-
"url",
|
|
67
|
-
"email",
|
|
68
|
-
"phone_country_code",
|
|
69
|
-
"phone",
|
|
70
|
-
"youtube_ch_id",
|
|
71
|
-
"instagram_id",
|
|
72
|
-
"tiktok_id",
|
|
73
|
-
"threads_id",
|
|
74
|
-
"ticket_purchase",
|
|
75
|
-
"product_purchase",
|
|
76
|
-
"detail_info_url",
|
|
77
|
-
"watch_url",
|
|
78
|
-
"apply_url",
|
|
62
|
+
"place_name",
|
|
79
63
|
"address_eng",
|
|
80
64
|
"address_native",
|
|
81
65
|
"google_map_url",
|
|
82
|
-
"
|
|
66
|
+
"visibility",
|
|
67
|
+
"approval_status",
|
|
83
68
|
"deactivated_at",
|
|
84
69
|
"deactivated_by",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"metadata_og_title",
|
|
88
|
-
"metadata_og_description",
|
|
89
|
-
"metadata_og_image",
|
|
70
|
+
"approved_at",
|
|
71
|
+
"approved_by",
|
|
90
72
|
"created_at",
|
|
91
73
|
"created_by",
|
|
92
74
|
"updated_at",
|
|
93
75
|
];
|
|
94
76
|
/*
|
|
95
|
-
* Event 데이터 숫자 KEY 목록
|
|
96
|
-
* FormDataParsing 할 때 사용
|
|
77
|
+
* Event 데이터 숫자 KEY 목록 (events 테이블)
|
|
97
78
|
*/
|
|
98
79
|
export const KEYS_EVENT_NUM = [
|
|
99
80
|
"utc_minutes",
|
|
100
81
|
"duration",
|
|
101
|
-
"
|
|
82
|
+
"place_id",
|
|
102
83
|
"latitude",
|
|
103
84
|
"longitude",
|
|
104
85
|
"radius_m",
|
|
86
|
+
"view_count",
|
|
105
87
|
"added_count",
|
|
106
88
|
"shared_count",
|
|
107
89
|
"saved_count",
|
|
108
|
-
"target_age_start",
|
|
109
|
-
"target_age_end",
|
|
110
90
|
];
|
|
111
91
|
/*
|
|
112
|
-
* Event 데이터 불리언 KEY 목록
|
|
113
|
-
* FormData Parsing 할 때 사용
|
|
92
|
+
* Event 데이터 불리언 KEY 목록 (events 테이블)
|
|
114
93
|
*/
|
|
115
94
|
export const KEYS_EVENT_BOOL = [
|
|
116
95
|
"is_repeat_annually",
|
|
117
96
|
"is_admin_created",
|
|
118
97
|
"is_public",
|
|
119
98
|
"is_promoted",
|
|
120
|
-
"view_count",
|
|
121
|
-
"is_target_for_family",
|
|
122
|
-
"is_target_for_couple",
|
|
123
|
-
"is_target_for_children",
|
|
124
|
-
"is_target_for_single",
|
|
125
|
-
"is_target_for_traveler",
|
|
126
99
|
"is_ever_public",
|
|
127
100
|
"is_active",
|
|
128
101
|
"is_display",
|
|
129
102
|
];
|
|
130
103
|
/*
|
|
131
|
-
* Event 데이터
|
|
132
|
-
* FormData Parsing 할 때 사용
|
|
104
|
+
* Event 데이터 JSONB KEY 목록 (events 테이블)
|
|
133
105
|
*/
|
|
134
|
-
export const
|
|
106
|
+
export const KEYS_EVENT_JSONB = [
|
|
107
|
+
"thumbnail_square_source",
|
|
108
|
+
"thumbnail_horizontal_source",
|
|
109
|
+
"thumbnail_vertical_source",
|
|
110
|
+
];
|
|
135
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":""}
|
|
@@ -8,15 +8,15 @@ export type TFolderImage = {
|
|
|
8
8
|
src_platform: string | null;
|
|
9
9
|
src_unique_id: string | null;
|
|
10
10
|
src_url: string | null;
|
|
11
|
-
created_at:
|
|
12
|
-
updated_at:
|
|
11
|
+
created_at: Date;
|
|
12
|
+
updated_at: Date;
|
|
13
13
|
};
|
|
14
14
|
export type TFolderImageInsert = {
|
|
15
15
|
folder_code: string;
|
|
16
16
|
hash_code: string;
|
|
17
17
|
url: string;
|
|
18
|
-
} & Partial<Omit<TFolderImage, "folder_code" | "hash_code" | "url">>;
|
|
18
|
+
} & Partial<Omit<TFolderImage, "folder_code" | "hash_code" | "url" | "created_at" | "updated_at">>;
|
|
19
19
|
export type TFolderImageUpdate = {
|
|
20
20
|
folder_code: string;
|
|
21
21
|
hash_code: string;
|
|
22
|
-
} & Partial<Omit<TFolderImage, "folder_code" | "hash_code">>;
|
|
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,25 +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;
|
|
18
|
-
|
|
19
|
-
thumbnail_square_src_platform: string | null;
|
|
20
|
-
thumbnail_square_src_unique_id: string | null;
|
|
21
|
-
thumbnail_square_src_url: string | null;
|
|
17
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
22
18
|
thumbnail_horizontal: string | null;
|
|
23
|
-
|
|
24
|
-
thumbnail_horizontal_src_platform: string | null;
|
|
25
|
-
thumbnail_horizontal_src_unique_id: string | null;
|
|
26
|
-
thumbnail_horizontal_src_url: string | null;
|
|
19
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
27
20
|
thumbnail_vertical: string | null;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
thumbnail_vertical_src_url: string | null;
|
|
32
|
-
profile: string | null;
|
|
33
|
-
description: string | null;
|
|
21
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
22
|
+
view_count: number;
|
|
23
|
+
event_count: number;
|
|
34
24
|
};
|
|
35
25
|
export type TFolderListForAdmin = {
|
|
36
26
|
folder_code: string;
|
|
@@ -39,8 +29,6 @@ export type TFolderListForAdmin = {
|
|
|
39
29
|
fg_color: string | null;
|
|
40
30
|
target_country_code: string;
|
|
41
31
|
target_city_code: string | null;
|
|
42
|
-
homepage: string | null;
|
|
43
|
-
url: string | null;
|
|
44
32
|
is_public: boolean;
|
|
45
33
|
view_count: number;
|
|
46
34
|
event_count: number;
|
|
@@ -59,41 +47,19 @@ export type TFolderDetail = TFolderListForAdmin & {
|
|
|
59
47
|
thumbnail_square: string | null;
|
|
60
48
|
thumbnail_horizontal: string | null;
|
|
61
49
|
thumbnail_vertical: string | null;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
target_age_start: number | null;
|
|
74
|
-
target_age_end: number | null;
|
|
75
|
-
target_sex: string | null;
|
|
76
|
-
is_target_for_family: boolean;
|
|
77
|
-
is_target_for_couple: boolean;
|
|
78
|
-
is_target_for_children: boolean;
|
|
79
|
-
is_target_for_single: boolean;
|
|
80
|
-
is_target_for_traveler: boolean;
|
|
50
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
51
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
52
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
81
53
|
deactivated_at: Date | null;
|
|
82
54
|
deactivated_by: string | null;
|
|
83
|
-
metadata_title: string | null;
|
|
84
|
-
metadata_description: string | null;
|
|
85
|
-
metadata_keywords: string | null;
|
|
86
|
-
metadata_og_title: string | null;
|
|
87
|
-
metadata_og_description: string | null;
|
|
88
|
-
metadata_og_image: string | null;
|
|
89
55
|
updated_at: Date;
|
|
90
56
|
};
|
|
91
57
|
export type TFolderDetailInsert = {
|
|
92
58
|
folder_code: string;
|
|
93
59
|
title: string;
|
|
94
|
-
} & Partial<Omit<TFolderDetail, "folder_code" | "title">>;
|
|
95
|
-
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">>;
|
|
96
62
|
export declare const KEYS_FOLDER_STR: string[];
|
|
97
63
|
export declare const KEYS_FOLDER_NUM: string[];
|
|
98
64
|
export declare const KEYS_FOLDER_BOOL: string[];
|
|
99
|
-
export declare const
|
|
65
|
+
export declare const KEYS_FOLDER_JSONB: string[];
|
|
@@ -8,8 +8,6 @@ export const DB_COLUMNS_FOLDER_LIST_FOR_ADMIN = [
|
|
|
8
8
|
"fg_color",
|
|
9
9
|
"target_country_code",
|
|
10
10
|
"target_city_code",
|
|
11
|
-
"homepage",
|
|
12
|
-
"url",
|
|
13
11
|
"is_public",
|
|
14
12
|
"view_count",
|
|
15
13
|
"event_count",
|
|
@@ -23,9 +21,11 @@ export const DB_COLUMNS_FOLDER_LIST_FOR_ADMIN = [
|
|
|
23
21
|
"created_at",
|
|
24
22
|
"created_by",
|
|
25
23
|
];
|
|
24
|
+
/* ========================================
|
|
25
|
+
* FormData Parsing Keys - folders 테이블
|
|
26
|
+
* ======================================== */
|
|
26
27
|
/*
|
|
27
|
-
* Folder 데이터 문자열 KEY 목록
|
|
28
|
-
* FormData Parsing 할 때 사용
|
|
28
|
+
* Folder 데이터 문자열 KEY 목록 (folders 테이블)
|
|
29
29
|
*/
|
|
30
30
|
export const KEYS_FOLDER_STR = [
|
|
31
31
|
"folder_code",
|
|
@@ -33,72 +33,37 @@ export const KEYS_FOLDER_STR = [
|
|
|
33
33
|
"bg_color",
|
|
34
34
|
"fg_color",
|
|
35
35
|
"thumbnail_square",
|
|
36
|
-
"thumbnail_square_src_name",
|
|
37
|
-
"thumbnail_square_src_platform",
|
|
38
|
-
"thumbnail_square_src_unique_id",
|
|
39
|
-
"thumbnail_square_src_url",
|
|
40
36
|
"thumbnail_horizontal",
|
|
41
|
-
"thumbnail_horizontal_src_name",
|
|
42
|
-
"thumbnail_horizontal_src_platform",
|
|
43
|
-
"thumbnail_horizontal_src_unique_id",
|
|
44
|
-
"thumbnail_horizontal_src_url",
|
|
45
37
|
"thumbnail_vertical",
|
|
46
|
-
"thumbnail_vertical_src_name",
|
|
47
|
-
"thumbnail_vertical_src_platform",
|
|
48
|
-
"thumbnail_vertical_src_unique_id",
|
|
49
|
-
"thumbnail_vertical_src_url",
|
|
50
|
-
"profile",
|
|
51
|
-
"description",
|
|
52
38
|
"target_country_code",
|
|
53
39
|
"target_city_code",
|
|
54
|
-
"homepage",
|
|
55
|
-
"url_label",
|
|
56
|
-
"url",
|
|
57
|
-
"email",
|
|
58
|
-
"phone_country_code",
|
|
59
|
-
"phone",
|
|
60
|
-
"youtube_ch_id",
|
|
61
|
-
"instagram_id",
|
|
62
|
-
"tiktok_id",
|
|
63
|
-
"threads_id",
|
|
64
|
-
"ticket_purchase",
|
|
65
|
-
"earliest_event",
|
|
66
|
-
"latest_event",
|
|
67
|
-
"target_sex",
|
|
68
|
-
"updated_at",
|
|
69
40
|
"deactivated_at",
|
|
70
41
|
"deactivated_by",
|
|
71
|
-
"metadata_title",
|
|
72
|
-
"metadata_description",
|
|
73
|
-
"metadata_og_title",
|
|
74
|
-
"metadata_og_description",
|
|
75
|
-
"metadata_og_image",
|
|
76
|
-
"created_at",
|
|
77
|
-
"created_by",
|
|
78
42
|
];
|
|
79
43
|
/*
|
|
80
|
-
* Folder 데이터 숫자 KEY 목록
|
|
81
|
-
* FormDataParsing 할 때 사용
|
|
44
|
+
* Folder 데이터 숫자 KEY 목록 (folders 테이블)
|
|
82
45
|
*/
|
|
83
|
-
export const KEYS_FOLDER_NUM = [
|
|
46
|
+
export const KEYS_FOLDER_NUM = [
|
|
47
|
+
"view_count",
|
|
48
|
+
"event_count",
|
|
49
|
+
"added_count",
|
|
50
|
+
"shared_count",
|
|
51
|
+
];
|
|
84
52
|
/*
|
|
85
|
-
* Folder 데이터 불리언 KEY 목록
|
|
86
|
-
* FormData Parsing 할 때 사용
|
|
53
|
+
* Folder 데이터 불리언 KEY 목록 (folders 테이블)
|
|
87
54
|
*/
|
|
88
55
|
export const KEYS_FOLDER_BOOL = [
|
|
89
|
-
"is_admin_created",
|
|
90
56
|
"is_public",
|
|
91
|
-
"is_target_for_family",
|
|
92
|
-
"is_target_for_couple",
|
|
93
|
-
"is_target_for_children",
|
|
94
|
-
"is_target_for_single",
|
|
95
|
-
"is_target_for_traveler",
|
|
96
57
|
"is_active",
|
|
97
58
|
"is_display",
|
|
59
|
+
"is_admin_created",
|
|
98
60
|
];
|
|
99
61
|
/*
|
|
100
|
-
* Folder 데이터
|
|
101
|
-
* FormData Parsing 할 때 사용
|
|
62
|
+
* Folder 데이터 JSONB KEY 목록 (folders 테이블)
|
|
102
63
|
*/
|
|
103
|
-
export const
|
|
64
|
+
export const KEYS_FOLDER_JSONB = [
|
|
65
|
+
"thumbnail_square_source",
|
|
66
|
+
"thumbnail_horizontal_source",
|
|
67
|
+
"thumbnail_vertical_source",
|
|
68
|
+
];
|
|
104
69
|
//# sourceMappingURL=t-folder.js.map
|