dplus_common_v1 0.1.26 → 0.1.28
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/common.d.ts +1 -1
- package/dist/consts/common.js.map +1 -1
- package/dist/dplus-types/dplus-response-types.d.ts +17 -17
- package/dist/fields/field-selected-event.d.ts +7 -0
- package/dist/fields/field-selected-event.js +7 -0
- package/dist/fields/field-selected-event.js.map +1 -1
- package/dist/index.d.ts +24 -24
- package/dist/index.js +24 -24
- package/dist/index.js.map +1 -1
- package/dist/types/db-administrator-types.d.ts +26 -0
- package/dist/types/db-administrator-types.js +2 -0
- package/dist/types/db-administrator-types.js.map +1 -0
- package/dist/types/db-brand-types.d.ts +66 -0
- package/dist/types/db-brand-types.js +74 -0
- package/dist/types/db-brand-types.js.map +1 -0
- package/dist/types/db-category-types.d.ts +65 -0
- package/dist/types/db-category-types.js +78 -0
- package/dist/types/db-category-types.js.map +1 -0
- package/dist/types/db-celeb-types.d.ts +66 -0
- package/dist/types/db-celeb-types.js +75 -0
- package/dist/types/db-celeb-types.js.map +1 -0
- package/dist/types/db-city-types.d.ts +118 -0
- package/dist/types/db-city-types.js +86 -0
- package/dist/types/db-city-types.js.map +1 -0
- package/dist/types/db-company-types.d.ts +65 -0
- package/dist/types/db-company-types.js +73 -0
- package/dist/types/db-company-types.js.map +1 -0
- package/dist/types/db-event-types.d.ts +114 -0
- package/dist/types/db-event-types.js +123 -0
- package/dist/types/db-event-types.js.map +1 -0
- package/dist/types/db-event-user-reported-types.d.ts +75 -0
- package/dist/types/db-event-user-reported-types.js +2 -0
- package/dist/types/db-event-user-reported-types.js.map +1 -0
- package/dist/types/db-folder-types.d.ts +99 -0
- package/dist/types/db-folder-types.js +99 -0
- package/dist/types/db-folder-types.js.map +1 -0
- package/dist/types/db-i18n-types.d.ts +17 -0
- package/dist/types/db-i18n-types.js +2 -0
- package/dist/types/db-i18n-types.js.map +1 -0
- package/dist/types/db-idol-group-types.d.ts +65 -0
- package/dist/types/db-idol-group-types.js +73 -0
- package/dist/types/db-idol-group-types.js.map +1 -0
- package/dist/types/db-log-types.d.ts +19 -0
- package/dist/types/db-log-types.js +2 -0
- package/dist/types/db-log-types.js.map +1 -0
- package/dist/types/db-map-types.d.ts +44 -0
- package/dist/types/db-map-types.js +2 -0
- package/dist/types/db-map-types.js.map +1 -0
- package/dist/types/db-metadata-types.d.ts +24 -0
- package/dist/types/db-metadata-types.js +2 -0
- package/dist/types/db-metadata-types.js.map +1 -0
- package/dist/types/db-people-types.d.ts +65 -0
- package/dist/types/db-people-types.js +73 -0
- package/dist/types/db-people-types.js.map +1 -0
- package/dist/types/db-pevent-types.d.ts +113 -0
- package/dist/types/db-pevent-types.js +120 -0
- package/dist/types/db-pevent-types.js.map +1 -0
- package/dist/types/db-product-types.d.ts +67 -0
- package/dist/types/db-product-types.js +76 -0
- package/dist/types/db-product-types.js.map +1 -0
- package/dist/types/db-selected-event-types.d.ts +39 -0
- package/dist/types/db-selected-event-types.js +29 -0
- package/dist/types/db-selected-event-types.js.map +1 -0
- package/dist/types/db-selected-folder-types.d.ts +34 -0
- package/dist/types/db-selected-folder-types.js +23 -0
- package/dist/types/db-selected-folder-types.js.map +1 -0
- package/dist/types/db-service-provider-types.d.ts +13 -0
- package/dist/types/db-service-provider-types.js +2 -0
- package/dist/types/db-service-provider-types.js.map +1 -0
- package/dist/types/db-stag-types.d.ts +63 -0
- package/dist/types/db-stag-types.js +58 -0
- package/dist/types/db-stag-types.js.map +1 -0
- package/dist/types/db-tag-types.d.ts +5 -0
- package/dist/types/db-tag-types.js +2 -0
- package/dist/types/db-tag-types.js.map +1 -0
- package/dist/types/db-team-types.d.ts +65 -0
- package/dist/types/db-team-types.js +72 -0
- package/dist/types/db-team-types.js.map +1 -0
- package/dist/types/db-user-types.d.ts +85 -0
- package/dist/types/db-user-types.js +13 -0
- package/dist/types/db-user-types.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For People List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_PEOPLE_LIST_FOR_ADMIN = [
|
|
5
|
+
"person_code",
|
|
6
|
+
"name",
|
|
7
|
+
"name_native",
|
|
8
|
+
"homepage",
|
|
9
|
+
"youtube_ch_id",
|
|
10
|
+
"instagram_id",
|
|
11
|
+
"tiktok_id",
|
|
12
|
+
"threads_id",
|
|
13
|
+
"is_active",
|
|
14
|
+
"is_display",
|
|
15
|
+
"is_official_account",
|
|
16
|
+
];
|
|
17
|
+
/*
|
|
18
|
+
* People 데이터 문자열 KEY 목록
|
|
19
|
+
* FormData Parsing 할 때 사용
|
|
20
|
+
*/
|
|
21
|
+
export const KEYS_PEOPLE_STR = [
|
|
22
|
+
"person_code",
|
|
23
|
+
"name",
|
|
24
|
+
"name_native",
|
|
25
|
+
"thumbnail_square",
|
|
26
|
+
"thumbnail_horizontal",
|
|
27
|
+
"thumbnail_vertical",
|
|
28
|
+
"profile",
|
|
29
|
+
"homepage",
|
|
30
|
+
"youtube_ch_id",
|
|
31
|
+
"instagram_id",
|
|
32
|
+
"tiktok_id",
|
|
33
|
+
"threads_id",
|
|
34
|
+
"deactivated_at",
|
|
35
|
+
"deactivated_by",
|
|
36
|
+
"hero_image_01",
|
|
37
|
+
"hero_image_02",
|
|
38
|
+
"hero_image_03",
|
|
39
|
+
"hero_image_04",
|
|
40
|
+
"hero_image_05",
|
|
41
|
+
"thumbnail_main_01",
|
|
42
|
+
"thumbnail_main_02",
|
|
43
|
+
"thumbnail_main_03",
|
|
44
|
+
"thumbnail_main_04",
|
|
45
|
+
"thumbnail_main_05",
|
|
46
|
+
"thumbnail_vertical_01",
|
|
47
|
+
"thumbnail_vertical_02",
|
|
48
|
+
"thumbnail_vertical_03",
|
|
49
|
+
"thumbnail_vertical_04",
|
|
50
|
+
"thumbnail_vertical_05",
|
|
51
|
+
"metadata_title",
|
|
52
|
+
"metadata_description",
|
|
53
|
+
"metadata_keywords",
|
|
54
|
+
"metadata_og_title",
|
|
55
|
+
"metadata_og_description",
|
|
56
|
+
"metadata_og_image",
|
|
57
|
+
];
|
|
58
|
+
/*
|
|
59
|
+
* People 데이터 숫자 KEY 목록
|
|
60
|
+
* FormDataParsing 할 때 사용
|
|
61
|
+
*/
|
|
62
|
+
export const KEYS_PEOPLE_NUM = [];
|
|
63
|
+
/*
|
|
64
|
+
* People 데이터 불리언 KEY 목록
|
|
65
|
+
* FormData Parsing 할 때 사용
|
|
66
|
+
*/
|
|
67
|
+
export const KEYS_PEOPLE_BOOL = ["is_active", "is_display", "is_official_account"];
|
|
68
|
+
/*
|
|
69
|
+
* People 데이터 문자열 배열 KEY 목록
|
|
70
|
+
* FormData Parsing 할 때 사용
|
|
71
|
+
*/
|
|
72
|
+
export const KEYS_PEOPLE_STR_ARRAY = ["metadata_keywords"];
|
|
73
|
+
//# sourceMappingURL=db-people-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-people-types.js","sourceRoot":"","sources":["../../src/types/db-people-types.ts"],"names":[],"mappings":"AAkEA;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,aAAa;IACb,MAAM;IACN,aAAa;IACb,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa;IACb,MAAM;IACN,aAAa;IACb,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,CAAC;AAElC;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,WAAW,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;AAEnF;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export type TPeventListForAdmin = {
|
|
2
|
+
pevent_id: string;
|
|
3
|
+
pevent_code: string;
|
|
4
|
+
folder_id: string | null;
|
|
5
|
+
date: Date;
|
|
6
|
+
time: string | null;
|
|
7
|
+
tz: string;
|
|
8
|
+
duration: number | null;
|
|
9
|
+
is_repeat_annually: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
created_at: Date;
|
|
12
|
+
is_admin_created: boolean;
|
|
13
|
+
created_by: string | null;
|
|
14
|
+
target_country_code: string;
|
|
15
|
+
target_city_code: string | null;
|
|
16
|
+
is_public: boolean;
|
|
17
|
+
view_count: number;
|
|
18
|
+
added_count: number;
|
|
19
|
+
shared_count: number;
|
|
20
|
+
saved_count: number;
|
|
21
|
+
is_active: boolean;
|
|
22
|
+
is_display: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type TPeventDetail = TPeventListForAdmin & {
|
|
25
|
+
utc_minutes: number;
|
|
26
|
+
thumbnail_square: string | null;
|
|
27
|
+
thumbnail_horizontal: string | null;
|
|
28
|
+
thumbnail_vertical: string | null;
|
|
29
|
+
profile: string | null;
|
|
30
|
+
description: string | null;
|
|
31
|
+
homepage: string | null;
|
|
32
|
+
url_label: string | null;
|
|
33
|
+
url: string | null;
|
|
34
|
+
email: string | null;
|
|
35
|
+
phone_country_code: string | null;
|
|
36
|
+
phone: string | null;
|
|
37
|
+
location: string | null;
|
|
38
|
+
latitude: number | null;
|
|
39
|
+
longitude: number | null;
|
|
40
|
+
radius_m: number | null;
|
|
41
|
+
address_eng: string | null;
|
|
42
|
+
address_native: string | null;
|
|
43
|
+
target_age_start: number | null;
|
|
44
|
+
target_age_end: number | null;
|
|
45
|
+
target_sex: string | null;
|
|
46
|
+
is_target_for_family: boolean;
|
|
47
|
+
is_target_for_couple: boolean;
|
|
48
|
+
is_target_for_children: boolean;
|
|
49
|
+
is_target_for_single: boolean;
|
|
50
|
+
is_target_for_traveler: boolean;
|
|
51
|
+
updated_at: Date;
|
|
52
|
+
tags: string[] | string | null;
|
|
53
|
+
deactivated_at: Date | null;
|
|
54
|
+
deactivated_by: string | null;
|
|
55
|
+
hero_image_01: string | null;
|
|
56
|
+
hero_image_02: string | null;
|
|
57
|
+
hero_image_03: string | null;
|
|
58
|
+
hero_image_04: string | null;
|
|
59
|
+
hero_image_05: string | null;
|
|
60
|
+
thumbnail_main_01: string | null;
|
|
61
|
+
thumbnail_main_02: string | null;
|
|
62
|
+
thumbnail_main_03: string | null;
|
|
63
|
+
thumbnail_main_04: string | null;
|
|
64
|
+
thumbnail_main_05: string | null;
|
|
65
|
+
thumbnail_vertical_01: string | null;
|
|
66
|
+
thumbnail_vertical_02: string | null;
|
|
67
|
+
thumbnail_vertical_03: string | null;
|
|
68
|
+
thumbnail_vertical_04: string | null;
|
|
69
|
+
thumbnail_vertical_05: string | null;
|
|
70
|
+
metadata_title: string | null;
|
|
71
|
+
metadata_description: string | null;
|
|
72
|
+
metadata_keywords: string | null;
|
|
73
|
+
metadata_og_title: string | null;
|
|
74
|
+
metadata_og_description: string | null;
|
|
75
|
+
metadata_og_image: string | null;
|
|
76
|
+
};
|
|
77
|
+
export type TPeventDetailInsert = {
|
|
78
|
+
pevent_id: string;
|
|
79
|
+
pevent_code: string;
|
|
80
|
+
date: Date;
|
|
81
|
+
tz: string;
|
|
82
|
+
utc_minutes: number;
|
|
83
|
+
title: string;
|
|
84
|
+
} & Partial<Omit<TPeventDetail, "pevent_id" | "pevent_code" | "date" | "tz" | "utc_minutes" | "title">>;
|
|
85
|
+
export type TPeventDetailUpdate = {
|
|
86
|
+
pevent_id: string;
|
|
87
|
+
} & Partial<Omit<TPeventDetail, "pevent_id">>;
|
|
88
|
+
export type TPeventImage = {
|
|
89
|
+
pevent_id: string;
|
|
90
|
+
hash_code: string;
|
|
91
|
+
label: string | null;
|
|
92
|
+
orientation: string | null;
|
|
93
|
+
order_num: number;
|
|
94
|
+
image_url: string;
|
|
95
|
+
src_thumbnail: string | null;
|
|
96
|
+
src_name: string | null;
|
|
97
|
+
src_url: string | null;
|
|
98
|
+
src_reference: string | null;
|
|
99
|
+
};
|
|
100
|
+
export type TPeventImageInsert = {
|
|
101
|
+
pevent_id: string;
|
|
102
|
+
hash_code: string;
|
|
103
|
+
image_url: string;
|
|
104
|
+
} & Partial<Omit<TPeventImage, "pevent_id" | "hash_code" | "image_url">>;
|
|
105
|
+
export type TPeventImageUpdate = {
|
|
106
|
+
pevent_id: string;
|
|
107
|
+
hash_code: string;
|
|
108
|
+
} & Partial<Omit<TPeventImage, "pevent_id" | "hash_code">>;
|
|
109
|
+
export declare const DB_COLUMNS_PEVENT_LIST_FOR_ADMIN: string[];
|
|
110
|
+
export declare const KEYS_PEVENT_STR: string[];
|
|
111
|
+
export declare const KEYS_PEVENT_NUM: string[];
|
|
112
|
+
export declare const KEYS_PEVENT_BOOL: string[];
|
|
113
|
+
export declare const KEYS_PEVENT_STR_ARRAY: string[];
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Pevent List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_PEVENT_LIST_FOR_ADMIN = [
|
|
5
|
+
"pevent_id",
|
|
6
|
+
"pevent_code",
|
|
7
|
+
"folder_id",
|
|
8
|
+
"date",
|
|
9
|
+
"time",
|
|
10
|
+
"tz",
|
|
11
|
+
"duration",
|
|
12
|
+
"is_repeat_annually",
|
|
13
|
+
"title",
|
|
14
|
+
"created_at",
|
|
15
|
+
"is_admin_created",
|
|
16
|
+
"created_by",
|
|
17
|
+
"target_country_code",
|
|
18
|
+
"target_city_code",
|
|
19
|
+
"is_public",
|
|
20
|
+
"view_count",
|
|
21
|
+
"added_count",
|
|
22
|
+
"shared_count",
|
|
23
|
+
"saved_count",
|
|
24
|
+
"is_active",
|
|
25
|
+
"is_display",
|
|
26
|
+
];
|
|
27
|
+
/*
|
|
28
|
+
* Pevent 데이터 문자열 KEY 목록
|
|
29
|
+
* FormData Parsing 할 때 사용
|
|
30
|
+
*/
|
|
31
|
+
export const KEYS_PEVENT_STR = [
|
|
32
|
+
"pevent_id",
|
|
33
|
+
"pevent_code",
|
|
34
|
+
"folder_id",
|
|
35
|
+
"date",
|
|
36
|
+
"time",
|
|
37
|
+
"tz",
|
|
38
|
+
"title",
|
|
39
|
+
"thumbnail_square",
|
|
40
|
+
"thumbnail_horizontal",
|
|
41
|
+
"thumbnail_vertical",
|
|
42
|
+
"profile",
|
|
43
|
+
"description",
|
|
44
|
+
"created_at",
|
|
45
|
+
"created_by",
|
|
46
|
+
"target_country_code",
|
|
47
|
+
"target_city_code",
|
|
48
|
+
"homepage",
|
|
49
|
+
"url_label",
|
|
50
|
+
"url",
|
|
51
|
+
"email",
|
|
52
|
+
"phone_country_code",
|
|
53
|
+
"phone",
|
|
54
|
+
"address_eng",
|
|
55
|
+
"address_native",
|
|
56
|
+
"target_sex",
|
|
57
|
+
"updated_at",
|
|
58
|
+
"deactivated_at",
|
|
59
|
+
"deactivated_by",
|
|
60
|
+
"hero_image_01",
|
|
61
|
+
"hero_image_02",
|
|
62
|
+
"hero_image_03",
|
|
63
|
+
"hero_image_04",
|
|
64
|
+
"hero_image_05",
|
|
65
|
+
"thumbnail_main_01",
|
|
66
|
+
"thumbnail_main_02",
|
|
67
|
+
"thumbnail_main_03",
|
|
68
|
+
"thumbnail_main_04",
|
|
69
|
+
"thumbnail_main_05",
|
|
70
|
+
"thumbnail_vertical_01",
|
|
71
|
+
"thumbnail_vertical_02",
|
|
72
|
+
"thumbnail_vertical_03",
|
|
73
|
+
"thumbnail_vertical_04",
|
|
74
|
+
"thumbnail_vertical_05",
|
|
75
|
+
"metadata_title",
|
|
76
|
+
"metadata_description",
|
|
77
|
+
"metadata_og_title",
|
|
78
|
+
"metadata_og_description",
|
|
79
|
+
"metadata_og_image",
|
|
80
|
+
];
|
|
81
|
+
/*
|
|
82
|
+
* Event 데이터 숫자 KEY 목록
|
|
83
|
+
* FormDataParsing 할 때 사용
|
|
84
|
+
*/
|
|
85
|
+
export const KEYS_PEVENT_NUM = [
|
|
86
|
+
"utc_minutes",
|
|
87
|
+
"duration",
|
|
88
|
+
"location",
|
|
89
|
+
"latitude",
|
|
90
|
+
"longitude",
|
|
91
|
+
"radius_m",
|
|
92
|
+
"view_count",
|
|
93
|
+
"added_count",
|
|
94
|
+
"shared_count",
|
|
95
|
+
"saved_count",
|
|
96
|
+
"target_age_start",
|
|
97
|
+
"target_age_end",
|
|
98
|
+
];
|
|
99
|
+
/*
|
|
100
|
+
* Pevent 데이터 불리언 KEY 목록
|
|
101
|
+
* FormData Parsing 할 때 사용
|
|
102
|
+
*/
|
|
103
|
+
export const KEYS_PEVENT_BOOL = [
|
|
104
|
+
"is_repeat_annually",
|
|
105
|
+
"is_admin_created",
|
|
106
|
+
"is_public",
|
|
107
|
+
"is_target_for_family",
|
|
108
|
+
"is_target_for_couple",
|
|
109
|
+
"is_target_for_children",
|
|
110
|
+
"is_target_for_single",
|
|
111
|
+
"is_target_for_traveler",
|
|
112
|
+
"is_active",
|
|
113
|
+
"is_display",
|
|
114
|
+
];
|
|
115
|
+
/*
|
|
116
|
+
* Pevent 데이터 문자열 배열 KEY 목록
|
|
117
|
+
* FormData Parsing 할 때 사용
|
|
118
|
+
*/
|
|
119
|
+
export const KEYS_PEVENT_STR_ARRAY = ["tags", "metadata_keywords"];
|
|
120
|
+
//# sourceMappingURL=db-pevent-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-pevent-types.js","sourceRoot":"","sources":["../../src/types/db-pevent-types.ts"],"names":[],"mappings":"AAmHA;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,WAAW;IACX,aAAa;IACb,WAAW;IACX,MAAM;IACN,MAAM;IACN,IAAI;IACJ,UAAU;IACV,oBAAoB;IACpB,OAAO;IACP,YAAY;IACZ,kBAAkB;IAClB,YAAY;IACZ,qBAAqB;IACrB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,WAAW;IACX,aAAa;IACb,WAAW;IACX,MAAM;IACN,MAAM;IACN,IAAI;IACJ,OAAO;IACP,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,qBAAqB;IACrB,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,KAAK;IACL,OAAO;IACP,oBAAoB;IACpB,OAAO;IACP,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa;IACb,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,kBAAkB;IAClB,gBAAgB;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,sBAAsB;IACtB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export type TProductListForAdmin = {
|
|
2
|
+
product_code: string;
|
|
3
|
+
company_code: string | null;
|
|
4
|
+
brand_code: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
name_native: string | null;
|
|
7
|
+
homepage: string | null;
|
|
8
|
+
youtube_ch_id: string | null;
|
|
9
|
+
instagram_id: string | null;
|
|
10
|
+
tiktok_id: string | null;
|
|
11
|
+
threads_id: string | null;
|
|
12
|
+
is_active: boolean;
|
|
13
|
+
is_display: boolean;
|
|
14
|
+
is_official_account: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type TProductDetail = TProductListForAdmin & {
|
|
17
|
+
thumbnail_square: string | null;
|
|
18
|
+
thumbnail_horizontal: string | null;
|
|
19
|
+
thumbnail_vertical: string | null;
|
|
20
|
+
profile: string | null;
|
|
21
|
+
deactivated_at: Date | null;
|
|
22
|
+
deactivated_by: string | null;
|
|
23
|
+
hero_image_01: string | null;
|
|
24
|
+
hero_image_02: string | null;
|
|
25
|
+
hero_image_03: string | null;
|
|
26
|
+
hero_image_04: string | null;
|
|
27
|
+
hero_image_05: string | null;
|
|
28
|
+
thumbnail_main_01: string | null;
|
|
29
|
+
thumbnail_main_02: string | null;
|
|
30
|
+
thumbnail_main_03: string | null;
|
|
31
|
+
thumbnail_main_04: string | null;
|
|
32
|
+
thumbnail_main_05: string | null;
|
|
33
|
+
thumbnail_vertical_01: string | null;
|
|
34
|
+
thumbnail_vertical_02: string | null;
|
|
35
|
+
thumbnail_vertical_03: string | null;
|
|
36
|
+
thumbnail_vertical_04: string | null;
|
|
37
|
+
thumbnail_vertical_05: string | null;
|
|
38
|
+
metadata_title: string | null;
|
|
39
|
+
metadata_description: string | null;
|
|
40
|
+
metadata_keywords: string | null;
|
|
41
|
+
metadata_og_title: string | null;
|
|
42
|
+
metadata_og_description: string | null;
|
|
43
|
+
metadata_og_image: string | null;
|
|
44
|
+
};
|
|
45
|
+
export type TProductDetailInsert = {
|
|
46
|
+
product_code: string;
|
|
47
|
+
name: string;
|
|
48
|
+
} & Partial<Omit<TProductDetail, "product_code">>;
|
|
49
|
+
export type TProductDetailUpdate = {
|
|
50
|
+
product_code: string;
|
|
51
|
+
} & Partial<Omit<TProductDetail, "product_code">>;
|
|
52
|
+
export type TMapProductFolder = {
|
|
53
|
+
product_code: string;
|
|
54
|
+
folder_id: string;
|
|
55
|
+
earliest_event?: Date | null;
|
|
56
|
+
latest_event?: Date | null;
|
|
57
|
+
};
|
|
58
|
+
export type TMapProductEvent = {
|
|
59
|
+
product_code: string;
|
|
60
|
+
event_id: string;
|
|
61
|
+
date?: Date | null;
|
|
62
|
+
};
|
|
63
|
+
export declare const DB_COLUMNS_PRODUCT_LIST_FOR_ADMIN: string[];
|
|
64
|
+
export declare const KEYS_PRODUCT_STR: string[];
|
|
65
|
+
export declare const KEYS_PRODUCT_NUM: never[];
|
|
66
|
+
export declare const KEYS_PRODUCT_BOOL: string[];
|
|
67
|
+
export declare const KEYS_PRODUCT_STR_ARRAY: string[];
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Product List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_PRODUCT_LIST_FOR_ADMIN = [
|
|
5
|
+
"product_code",
|
|
6
|
+
"company_code",
|
|
7
|
+
"brand_code",
|
|
8
|
+
"name",
|
|
9
|
+
"name_native",
|
|
10
|
+
"homepage",
|
|
11
|
+
"youtube_ch_id",
|
|
12
|
+
"instagram_id",
|
|
13
|
+
"tiktok_id",
|
|
14
|
+
"threads_id",
|
|
15
|
+
"is_active",
|
|
16
|
+
"is_display",
|
|
17
|
+
"is_official_account",
|
|
18
|
+
];
|
|
19
|
+
/*
|
|
20
|
+
* Product 데이터 문자열 KEY 목록
|
|
21
|
+
* FormData Parsing 할 때 사용
|
|
22
|
+
*/
|
|
23
|
+
export const KEYS_PRODUCT_STR = [
|
|
24
|
+
"product_code",
|
|
25
|
+
"company_code",
|
|
26
|
+
"brand_code",
|
|
27
|
+
"name",
|
|
28
|
+
"name_native",
|
|
29
|
+
"thumbnail_square",
|
|
30
|
+
"thumbnail_horizontal",
|
|
31
|
+
"thumbnail_vertical",
|
|
32
|
+
"profile",
|
|
33
|
+
"homepage",
|
|
34
|
+
"youtube_ch_id",
|
|
35
|
+
"instagram_id",
|
|
36
|
+
"tiktok_id",
|
|
37
|
+
"threads_id",
|
|
38
|
+
"deactivated_at",
|
|
39
|
+
"deactivated_by",
|
|
40
|
+
"hero_image_01",
|
|
41
|
+
"hero_image_02",
|
|
42
|
+
"hero_image_03",
|
|
43
|
+
"hero_image_04",
|
|
44
|
+
"hero_image_05",
|
|
45
|
+
"thumbnail_main_01",
|
|
46
|
+
"thumbnail_main_02",
|
|
47
|
+
"thumbnail_main_03",
|
|
48
|
+
"thumbnail_main_04",
|
|
49
|
+
"thumbnail_main_05",
|
|
50
|
+
"thumbnail_vertical_01",
|
|
51
|
+
"thumbnail_vertical_02",
|
|
52
|
+
"thumbnail_vertical_03",
|
|
53
|
+
"thumbnail_vertical_04",
|
|
54
|
+
"thumbnail_vertical_05",
|
|
55
|
+
"metadata_title",
|
|
56
|
+
"metadata_description",
|
|
57
|
+
"metadata_og_title",
|
|
58
|
+
"metadata_og_description",
|
|
59
|
+
"metadata_og_image",
|
|
60
|
+
];
|
|
61
|
+
/*
|
|
62
|
+
* Product 데이터 숫자 KEY 목록
|
|
63
|
+
* FormDataParsing 할 때 사용
|
|
64
|
+
*/
|
|
65
|
+
export const KEYS_PRODUCT_NUM = [];
|
|
66
|
+
/*
|
|
67
|
+
* Product 데이터 불리언 KEY 목록
|
|
68
|
+
* FormData Parsing 할 때 사용
|
|
69
|
+
*/
|
|
70
|
+
export const KEYS_PRODUCT_BOOL = ["is_active", "is_display", "is_official_account"];
|
|
71
|
+
/*
|
|
72
|
+
* Product 데이터 문자열 배열 KEY 목록
|
|
73
|
+
* FormData Parsing 할 때 사용
|
|
74
|
+
*/
|
|
75
|
+
export const KEYS_PRODUCT_STR_ARRAY = ["metadata_keywords"];
|
|
76
|
+
//# sourceMappingURL=db-product-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-product-types.js","sourceRoot":"","sources":["../../src/types/db-product-types.ts"],"names":[],"mappings":"AAoEA;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,cAAc;IACd,cAAc;IACd,YAAY;IACZ,MAAM;IACN,aAAa;IACb,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,cAAc;IACd,cAAc;IACd,YAAY;IACZ,MAAM;IACN,aAAa;IACb,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAEnC;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,WAAW,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;AAEpF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type TSelectedEventListForAdmin = {
|
|
2
|
+
content_type: string;
|
|
3
|
+
code: string;
|
|
4
|
+
folder_id: string | null;
|
|
5
|
+
event_id: string;
|
|
6
|
+
date: Date | null;
|
|
7
|
+
time: string | null;
|
|
8
|
+
tz: string | null;
|
|
9
|
+
utc_minutes: number | null;
|
|
10
|
+
duration: number | null;
|
|
11
|
+
is_repeat_annually: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
thumbnail_square: string | null;
|
|
14
|
+
thumbnail_horizontal: string | null;
|
|
15
|
+
thumbnail_vertical: string | null;
|
|
16
|
+
profile: string | null;
|
|
17
|
+
target_country_code: string | null;
|
|
18
|
+
target_city_code: string | null;
|
|
19
|
+
hero_image_01: string | null;
|
|
20
|
+
hero_image_02: string | null;
|
|
21
|
+
thumbnail_main_01: string | null;
|
|
22
|
+
thumbnail_main_02: string | null;
|
|
23
|
+
thumbnail_vertical_01: string | null;
|
|
24
|
+
thumbnail_vertical_02: string | null;
|
|
25
|
+
};
|
|
26
|
+
export type TSelectedEventDetail = TSelectedEventListForAdmin & {
|
|
27
|
+
description: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type TSelectedEventDetailInsert = {
|
|
30
|
+
content_type: string;
|
|
31
|
+
code: string;
|
|
32
|
+
event_id: string;
|
|
33
|
+
} & Partial<Omit<TSelectedEventDetail, "content_type" | "code" | "event_id">>;
|
|
34
|
+
export type TSelectedEventDetailUpdate = {
|
|
35
|
+
content_type: string;
|
|
36
|
+
code: string;
|
|
37
|
+
event_id: string;
|
|
38
|
+
} & Partial<Omit<TSelectedEventDetail, "content_type" | "code" | "event_id">>;
|
|
39
|
+
export declare const DB_COLUMNS_SELECTED_EVENT_LIST_FOR_ADMIN: string[];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Selected Event List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_SELECTED_EVENT_LIST_FOR_ADMIN = [
|
|
5
|
+
"content_type",
|
|
6
|
+
"code",
|
|
7
|
+
"folder_id",
|
|
8
|
+
"event_id",
|
|
9
|
+
"date",
|
|
10
|
+
"time",
|
|
11
|
+
"tz",
|
|
12
|
+
"utc_minutes",
|
|
13
|
+
"duration",
|
|
14
|
+
"is_repeat_annually",
|
|
15
|
+
"title",
|
|
16
|
+
"thumbnail_square",
|
|
17
|
+
"thumbnail_horizontal",
|
|
18
|
+
"thumbnail_vertical",
|
|
19
|
+
"profile",
|
|
20
|
+
"target_country_code",
|
|
21
|
+
"target_city_code",
|
|
22
|
+
"hero_image_01",
|
|
23
|
+
"hero_image_02",
|
|
24
|
+
"thumbnail_main_01",
|
|
25
|
+
"thumbnail_main_02",
|
|
26
|
+
"thumbnail_vertical_01",
|
|
27
|
+
"thumbnail_vertical_02",
|
|
28
|
+
];
|
|
29
|
+
//# sourceMappingURL=db-selected-event-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-selected-event-types.js","sourceRoot":"","sources":["../../src/types/db-selected-event-types.ts"],"names":[],"mappings":"AA0CA;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,cAAc;IACd,MAAM;IACN,WAAW;IACX,UAAU;IACV,MAAM;IACN,MAAM;IACN,IAAI;IACJ,aAAa;IACb,UAAU;IACV,oBAAoB;IACpB,OAAO;IACP,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,qBAAqB;IACrB,kBAAkB;IAClB,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;CACxB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type TSelectedFolderListForAdmin = {
|
|
2
|
+
content_type: string;
|
|
3
|
+
code: string;
|
|
4
|
+
folder_id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
thumbnail_square: string | null;
|
|
7
|
+
thumbnail_horizontal: string | null;
|
|
8
|
+
thumbnail_vertical: string | null;
|
|
9
|
+
profile: string | null;
|
|
10
|
+
target_country_code: string | null;
|
|
11
|
+
target_city_code: string | null;
|
|
12
|
+
hero_image_01: string | null;
|
|
13
|
+
hero_image_02: string | null;
|
|
14
|
+
thumbnail_main_01: string | null;
|
|
15
|
+
thumbnail_main_02: string | null;
|
|
16
|
+
thumbnail_vertical_01: string | null;
|
|
17
|
+
thumbnail_vertical_02: string | null;
|
|
18
|
+
earliest_event: Date | null;
|
|
19
|
+
latest_event: Date | null;
|
|
20
|
+
};
|
|
21
|
+
export type TSelectedFolderDetail = TSelectedFolderListForAdmin & {
|
|
22
|
+
description: string | null;
|
|
23
|
+
};
|
|
24
|
+
export type TSelectedFolderDetailInsert = {
|
|
25
|
+
content_type: string;
|
|
26
|
+
code: string;
|
|
27
|
+
folder_id: string;
|
|
28
|
+
} & Partial<Omit<TSelectedFolderDetail, "content_type" | "code" | "folder_id">>;
|
|
29
|
+
export type TSelectedFolderDetailUpdate = {
|
|
30
|
+
content_type: string;
|
|
31
|
+
code: string;
|
|
32
|
+
folder_id: string;
|
|
33
|
+
} & Partial<Omit<TSelectedFolderDetail, "content_type" | "code" | "folder_id">>;
|
|
34
|
+
export declare const DB_COLUMNS_SELECTED_FOLDER_LIST_FOR_ADMIN: string[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Selected Folder List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_SELECTED_FOLDER_LIST_FOR_ADMIN = [
|
|
5
|
+
"code",
|
|
6
|
+
"folder_id",
|
|
7
|
+
"title",
|
|
8
|
+
"thumbnail_square",
|
|
9
|
+
"thumbnail_horizontal",
|
|
10
|
+
"thumbnail_vertical",
|
|
11
|
+
"profile",
|
|
12
|
+
"target_country_code",
|
|
13
|
+
"target_city_code",
|
|
14
|
+
"hero_image_01",
|
|
15
|
+
"hero_image_02",
|
|
16
|
+
"thumbnail_main_01",
|
|
17
|
+
"thumbnail_main_02",
|
|
18
|
+
"thumbnail_vertical_01",
|
|
19
|
+
"thumbnail_vertical_02",
|
|
20
|
+
"earliest_event",
|
|
21
|
+
"latest_event",
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=db-selected-folder-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-selected-folder-types.js","sourceRoot":"","sources":["../../src/types/db-selected-folder-types.ts"],"names":[],"mappings":"AAqCA;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,MAAM;IACN,WAAW;IACX,OAAO;IACP,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,qBAAqB;IACrB,kBAAkB;IAClB,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;IACvB,gBAAgB;IAChB,cAAc;CACf,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type TServiceProvider = {
|
|
2
|
+
provider_code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
thumbnail: string | null;
|
|
5
|
+
web_url: string | null;
|
|
6
|
+
};
|
|
7
|
+
export type TServiceProviderInsert = {
|
|
8
|
+
provider_code: string;
|
|
9
|
+
name: string;
|
|
10
|
+
} & Partial<Omit<TServiceProvider, "provider_code" | "name">>;
|
|
11
|
+
export type TServiceProviderUpdate = {
|
|
12
|
+
provider_code: string;
|
|
13
|
+
} & Partial<Omit<TServiceProvider, "provider_code">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-service-provider-types.js","sourceRoot":"","sources":["../../src/types/db-service-provider-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export type TStagListForAdmin = {
|
|
2
|
+
target_country_code: string;
|
|
3
|
+
stag_code: string;
|
|
4
|
+
stag: string;
|
|
5
|
+
url: string | null;
|
|
6
|
+
event_count: number;
|
|
7
|
+
is_active: boolean;
|
|
8
|
+
is_display: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type TStagDetail = TStagListForAdmin & {
|
|
11
|
+
stag_native: string | null;
|
|
12
|
+
thumbnail_square: string | null;
|
|
13
|
+
thumbnail_horizontal: string | null;
|
|
14
|
+
thumbnail_vertical: string | null;
|
|
15
|
+
profile: string | null;
|
|
16
|
+
description: string | null;
|
|
17
|
+
deactivated_at: Date | null;
|
|
18
|
+
deactivated_by: string | null;
|
|
19
|
+
hero_image_01: string | null;
|
|
20
|
+
hero_image_02: string | null;
|
|
21
|
+
hero_image_03: string | null;
|
|
22
|
+
hero_image_04: string | null;
|
|
23
|
+
hero_image_05: string | null;
|
|
24
|
+
thumbnail_main_01: string | null;
|
|
25
|
+
thumbnail_main_02: string | null;
|
|
26
|
+
thumbnail_main_03: string | null;
|
|
27
|
+
thumbnail_main_04: string | null;
|
|
28
|
+
thumbnail_main_05: string | null;
|
|
29
|
+
thumbnail_vertical_01: string | null;
|
|
30
|
+
thumbnail_vertical_02: string | null;
|
|
31
|
+
thumbnail_vertical_03: string | null;
|
|
32
|
+
thumbnail_vertical_04: string | null;
|
|
33
|
+
thumbnail_vertical_05: string | null;
|
|
34
|
+
metadata_title: string | null;
|
|
35
|
+
metadata_description: string | null;
|
|
36
|
+
metadata_keywords: string | null;
|
|
37
|
+
metadata_og_title: string | null;
|
|
38
|
+
metadata_og_description: string | null;
|
|
39
|
+
metadata_og_image: string | null;
|
|
40
|
+
};
|
|
41
|
+
export type TStagDetailInsert = {
|
|
42
|
+
target_country_code: string;
|
|
43
|
+
stag_code: string;
|
|
44
|
+
stag: string;
|
|
45
|
+
} & Partial<Omit<TStagDetail, "target_country_code" | "stag_code" | "stag">>;
|
|
46
|
+
export type TStagDetailUpdate = {
|
|
47
|
+
stag_code: string;
|
|
48
|
+
} & Partial<Omit<TStagDetail, "stag_code">>;
|
|
49
|
+
export type TStagI18n = {
|
|
50
|
+
stag_code: string;
|
|
51
|
+
lang_code: string;
|
|
52
|
+
name: string;
|
|
53
|
+
description: string | null;
|
|
54
|
+
};
|
|
55
|
+
export type TStagI18nUpdate = {
|
|
56
|
+
stag_code: string;
|
|
57
|
+
lang_code: string;
|
|
58
|
+
} & Partial<Omit<TStagI18n, "stag_code" | "lang_code">>;
|
|
59
|
+
export declare const DB_COLUMNS_STAG_LIST_FOR_ADMIN: string[];
|
|
60
|
+
export declare const KEYS_STAG_STR: string[];
|
|
61
|
+
export declare const KEYS_STAG_NUM: string[];
|
|
62
|
+
export declare const KEYS_STAG_BOOL: string[];
|
|
63
|
+
export declare const KEYS_STAG_STR_ARRAY: string[];
|