dplus_common_v1 0.1.26 → 0.1.27
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/dplus-types/dplus-response-types.d.ts +17 -17
- 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 +80 -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 +92 -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 +81 -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 +104 -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 +79 -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 +125 -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 +109 -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 +79 -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 +79 -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 +123 -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 +82 -0
- package/dist/types/db-product-types.js.map +1 -0
- package/dist/types/db-selected-event-types.d.ts +38 -0
- package/dist/types/db-selected-event-types.js +25 -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 +21 -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 +73 -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 +78 -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,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Celeb List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_CELEB_LIST_FOR_ADMIN = [
|
|
5
|
+
"celeb_code",
|
|
6
|
+
"idol_group_code",
|
|
7
|
+
"name",
|
|
8
|
+
"name_native",
|
|
9
|
+
"homepage",
|
|
10
|
+
"youtube_ch_id",
|
|
11
|
+
"instagram_id",
|
|
12
|
+
"tiktok_id",
|
|
13
|
+
"threads_id",
|
|
14
|
+
"is_active",
|
|
15
|
+
"is_display",
|
|
16
|
+
"is_official_account",
|
|
17
|
+
];
|
|
18
|
+
/*
|
|
19
|
+
* Celeb 데이터 문자열 KEY 목록
|
|
20
|
+
* FormData Parsing 할 때 사용
|
|
21
|
+
*/
|
|
22
|
+
export const KEYS_CELEB_STR = [
|
|
23
|
+
"celeb_code",
|
|
24
|
+
"idol_group_code",
|
|
25
|
+
"name",
|
|
26
|
+
"name_native",
|
|
27
|
+
"thumbnail_square",
|
|
28
|
+
"thumbnail_horizontal",
|
|
29
|
+
"thumbnail_vertical",
|
|
30
|
+
"profile",
|
|
31
|
+
"homepage",
|
|
32
|
+
"youtube_ch_id",
|
|
33
|
+
"instagram_id",
|
|
34
|
+
"tiktok_id",
|
|
35
|
+
"threads_id",
|
|
36
|
+
"deactivated_at",
|
|
37
|
+
"deactivated_by",
|
|
38
|
+
"hero_image_01",
|
|
39
|
+
"hero_image_02",
|
|
40
|
+
"hero_image_03",
|
|
41
|
+
"hero_image_04",
|
|
42
|
+
"hero_image_05",
|
|
43
|
+
"thumbnail_main_01",
|
|
44
|
+
"thumbnail_main_02",
|
|
45
|
+
"thumbnail_main_03",
|
|
46
|
+
"thumbnail_main_04",
|
|
47
|
+
"thumbnail_main_05",
|
|
48
|
+
"thumbnail_vertical_01",
|
|
49
|
+
"thumbnail_vertical_02",
|
|
50
|
+
"thumbnail_vertical_03",
|
|
51
|
+
"thumbnail_vertical_04",
|
|
52
|
+
"thumbnail_vertical_05",
|
|
53
|
+
"metadata_title",
|
|
54
|
+
"metadata_description",
|
|
55
|
+
"metadata_keywords",
|
|
56
|
+
"metadata_og_title",
|
|
57
|
+
"metadata_og_description",
|
|
58
|
+
"metadata_og_image",
|
|
59
|
+
];
|
|
60
|
+
/*
|
|
61
|
+
* Celeb 데이터 숫자 KEY 목록
|
|
62
|
+
* FormDataParsing 할 때 사용
|
|
63
|
+
*/
|
|
64
|
+
export const KEYS_CELEB_NUM = [];
|
|
65
|
+
/*
|
|
66
|
+
* Celeb 데이터 불리언 KEY 목록
|
|
67
|
+
* FormData Parsing 할 때 사용
|
|
68
|
+
*/
|
|
69
|
+
export const KEYS_CELEB_BOOL = [
|
|
70
|
+
"is_active",
|
|
71
|
+
"is_display",
|
|
72
|
+
"is_official_account",
|
|
73
|
+
];
|
|
74
|
+
/*
|
|
75
|
+
* Celeb 데이터 문자열 배열 KEY 목록
|
|
76
|
+
* FormData Parsing 할 때 사용
|
|
77
|
+
*/
|
|
78
|
+
export const KEYS_CELEB_STR_ARRAY = [
|
|
79
|
+
"metadata_keywords",
|
|
80
|
+
];
|
|
81
|
+
//# sourceMappingURL=db-celeb-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-celeb-types.js","sourceRoot":"","sources":["../../src/types/db-celeb-types.ts"],"names":[],"mappings":"AAsEA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,iBAAiB;IACjB,MAAM;IACN,aAAa;IACb,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,iBAAiB;IACjB,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,cAAc,GAAG,EAAE,CAAC;AAEjC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,mBAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export type TCityOption = {
|
|
2
|
+
country_code: string;
|
|
3
|
+
city_code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
name_native: string | null;
|
|
6
|
+
name_ko: string | null;
|
|
7
|
+
};
|
|
8
|
+
export type TCityListForAdmin = TCityOption & {
|
|
9
|
+
profile: string | null;
|
|
10
|
+
official_web: string | null;
|
|
11
|
+
youtube_ch_id: string | null;
|
|
12
|
+
tiktok_id: string | null;
|
|
13
|
+
instagram_id: string | null;
|
|
14
|
+
address: string;
|
|
15
|
+
google_map_url: string;
|
|
16
|
+
is_active: boolean;
|
|
17
|
+
is_display: boolean;
|
|
18
|
+
view_count: number;
|
|
19
|
+
event_count: number;
|
|
20
|
+
};
|
|
21
|
+
export type TCityDetail = TCityListForAdmin & {
|
|
22
|
+
thumbnail_square: string | null;
|
|
23
|
+
thumbnail_horizontal: string | null;
|
|
24
|
+
thumbnail_vertical: string | null;
|
|
25
|
+
location: string | null;
|
|
26
|
+
latitude: number | null;
|
|
27
|
+
longitude: number | null;
|
|
28
|
+
radius_m: number | null;
|
|
29
|
+
address_native: string;
|
|
30
|
+
naver_map_url: string | null;
|
|
31
|
+
deactivated_at: Date | null;
|
|
32
|
+
deactivated_by: string | null;
|
|
33
|
+
hero_image_01: string | null;
|
|
34
|
+
hero_image_02: string | null;
|
|
35
|
+
hero_image_03: string | null;
|
|
36
|
+
hero_image_04: string | null;
|
|
37
|
+
hero_image_05: string | null;
|
|
38
|
+
thumbnail_main_01: string | null;
|
|
39
|
+
thumbnail_main_02: string | null;
|
|
40
|
+
thumbnail_main_03: string | null;
|
|
41
|
+
thumbnail_main_04: string | null;
|
|
42
|
+
thumbnail_main_05: string | null;
|
|
43
|
+
thumbnail_vertical_01: string | null;
|
|
44
|
+
thumbnail_vertical_02: string | null;
|
|
45
|
+
thumbnail_vertical_03: string | null;
|
|
46
|
+
thumbnail_vertical_04: string | null;
|
|
47
|
+
thumbnail_vertical_05: string | null;
|
|
48
|
+
metadata_title: string | null;
|
|
49
|
+
metadata_description: string | null;
|
|
50
|
+
metadata_keywords: string | null;
|
|
51
|
+
metadata_og_title: string | null;
|
|
52
|
+
metadata_og_description: string | null;
|
|
53
|
+
metadata_og_image: string | null;
|
|
54
|
+
};
|
|
55
|
+
export type TCityDetailInsert = {
|
|
56
|
+
country_code: string;
|
|
57
|
+
city_code: string;
|
|
58
|
+
name: string;
|
|
59
|
+
location: string;
|
|
60
|
+
latitude: number;
|
|
61
|
+
longitude: number;
|
|
62
|
+
radius_m: number;
|
|
63
|
+
address: string;
|
|
64
|
+
} & Partial<Omit<TCityDetail, "city_code" | "country_code" | "name" | "location" | "latitude" | "longitude" | "radius_m" | "address">>;
|
|
65
|
+
export type TCityDetailUpdate = {
|
|
66
|
+
city_code: string;
|
|
67
|
+
} & Partial<Omit<TCityDetail, "city_code">>;
|
|
68
|
+
export type TCityImage = {
|
|
69
|
+
city_code: string;
|
|
70
|
+
hash_code: string;
|
|
71
|
+
label: string | null;
|
|
72
|
+
orientation: string | null;
|
|
73
|
+
order_num: number;
|
|
74
|
+
image_url: string;
|
|
75
|
+
src_thumbnail: string | null;
|
|
76
|
+
src_name: string | null;
|
|
77
|
+
src_url: string | null;
|
|
78
|
+
src_reference: string | null;
|
|
79
|
+
};
|
|
80
|
+
export type TCityImageInsert = {
|
|
81
|
+
city_code: string;
|
|
82
|
+
hash_code: string;
|
|
83
|
+
image_url: string;
|
|
84
|
+
} & Partial<Omit<TCityImage, "city_code" | "hash_code" | "image_url">>;
|
|
85
|
+
export type TCityImageUpdate = {
|
|
86
|
+
city_code: string;
|
|
87
|
+
hash_code: string;
|
|
88
|
+
} & Partial<Omit<TCityImage, "city_code" | "hash_code">>;
|
|
89
|
+
export type TCityYouTubeVideo = {
|
|
90
|
+
city_code: string;
|
|
91
|
+
hash_code: string;
|
|
92
|
+
priority: string;
|
|
93
|
+
youtube_video_id: string;
|
|
94
|
+
title: string | null;
|
|
95
|
+
published_at: Date | null;
|
|
96
|
+
duration: string | null;
|
|
97
|
+
};
|
|
98
|
+
export type TCityYouTubeVideoInsert = {
|
|
99
|
+
city_code: string;
|
|
100
|
+
hash_code: string;
|
|
101
|
+
priority: string;
|
|
102
|
+
youtube_video_id: string;
|
|
103
|
+
} & Partial<Omit<TCityYouTubeVideo, "city_code" | "hash_code" | "priority" | "youtube_video_id">>;
|
|
104
|
+
export type TCityYouTubeVideoUpdate = {
|
|
105
|
+
city_code: string;
|
|
106
|
+
hash_code: string;
|
|
107
|
+
} & Partial<Omit<TCityYouTubeVideo, "city_code" | "hash_code">>;
|
|
108
|
+
export type TCityI18n = {
|
|
109
|
+
city_code: string;
|
|
110
|
+
lang_code: string;
|
|
111
|
+
name: string;
|
|
112
|
+
};
|
|
113
|
+
export declare const DB_COLUMNS_CITY_OPTION: string[];
|
|
114
|
+
export declare const DB_COLUMNS_CITY_LIST_FOR_ADMIN: string[];
|
|
115
|
+
export declare const KEYS_CITY_STR: string[];
|
|
116
|
+
export declare const KEYS_CITY_NUM: string[];
|
|
117
|
+
export declare const KEYS_CITY_BOOL: string[];
|
|
118
|
+
export declare const KEYS_CITY_STR_ARRAY: string[];
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For City List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_CITY_OPTION = [
|
|
5
|
+
"country_code",
|
|
6
|
+
"city_code",
|
|
7
|
+
"name",
|
|
8
|
+
"name_native",
|
|
9
|
+
"name_ko",
|
|
10
|
+
];
|
|
11
|
+
/*
|
|
12
|
+
* DB 컬럼 목록 For City List For Admin
|
|
13
|
+
*/
|
|
14
|
+
export const DB_COLUMNS_CITY_LIST_FOR_ADMIN = [
|
|
15
|
+
"country_code",
|
|
16
|
+
"city_code",
|
|
17
|
+
"name",
|
|
18
|
+
"name_native",
|
|
19
|
+
"name_ko",
|
|
20
|
+
"profile",
|
|
21
|
+
"official_web",
|
|
22
|
+
"youtube_ch_id",
|
|
23
|
+
"tiktok_id",
|
|
24
|
+
"instagram_id",
|
|
25
|
+
"address",
|
|
26
|
+
"google_map_url",
|
|
27
|
+
"is_active",
|
|
28
|
+
"is_display",
|
|
29
|
+
"view_count",
|
|
30
|
+
"event_count",
|
|
31
|
+
];
|
|
32
|
+
/*
|
|
33
|
+
* 도시 데이터 문자열 KEY 목록
|
|
34
|
+
* FormData Parsing 할 때 사용
|
|
35
|
+
*/
|
|
36
|
+
export const KEYS_CITY_STR = [
|
|
37
|
+
"country_code",
|
|
38
|
+
"city_code",
|
|
39
|
+
"name",
|
|
40
|
+
"name_native",
|
|
41
|
+
"name_ko",
|
|
42
|
+
"thumbnail_square",
|
|
43
|
+
"thumbnail_horizontal",
|
|
44
|
+
"thumbnail_vertical",
|
|
45
|
+
"profile",
|
|
46
|
+
"official_web",
|
|
47
|
+
"youtube_ch_id",
|
|
48
|
+
"tiktok_id",
|
|
49
|
+
"instagram_id",
|
|
50
|
+
"address",
|
|
51
|
+
"address_native",
|
|
52
|
+
"google_map_url",
|
|
53
|
+
"naver_map_url",
|
|
54
|
+
"deactivated_at",
|
|
55
|
+
"deactivated_by",
|
|
56
|
+
"hero_image_01",
|
|
57
|
+
"hero_image_02",
|
|
58
|
+
"hero_image_03",
|
|
59
|
+
"hero_image_04",
|
|
60
|
+
"hero_image_05",
|
|
61
|
+
"thumbnail_main_01",
|
|
62
|
+
"thumbnail_main_02",
|
|
63
|
+
"thumbnail_main_03",
|
|
64
|
+
"thumbnail_main_04",
|
|
65
|
+
"thumbnail_main_05",
|
|
66
|
+
"thumbnail_vertical_01",
|
|
67
|
+
"thumbnail_vertical_02",
|
|
68
|
+
"thumbnail_vertical_03",
|
|
69
|
+
"thumbnail_vertical_04",
|
|
70
|
+
"thumbnail_vertical_05",
|
|
71
|
+
"metadata_title",
|
|
72
|
+
"metadata_description",
|
|
73
|
+
"metadata_og_title",
|
|
74
|
+
"metadata_og_description",
|
|
75
|
+
"metadata_og_image",
|
|
76
|
+
];
|
|
77
|
+
/*
|
|
78
|
+
* 도시 데이터 숫자 KEY 목록
|
|
79
|
+
* FormDataParsing 할 때 사용
|
|
80
|
+
*/
|
|
81
|
+
export const KEYS_CITY_NUM = [
|
|
82
|
+
"location",
|
|
83
|
+
"latitude",
|
|
84
|
+
"longitude",
|
|
85
|
+
"radius_m",
|
|
86
|
+
"view_count",
|
|
87
|
+
"event_count",
|
|
88
|
+
];
|
|
89
|
+
/*
|
|
90
|
+
* 도시 데이터 불리언 KEY 목록
|
|
91
|
+
* FormData Parsing 할 때 사용
|
|
92
|
+
*/
|
|
93
|
+
export const KEYS_CITY_BOOL = [
|
|
94
|
+
"is_active",
|
|
95
|
+
"is_display",
|
|
96
|
+
];
|
|
97
|
+
/*
|
|
98
|
+
* 도시 데이터 문자열 배열 KEY 목록
|
|
99
|
+
* FormData Parsing 할 때 사용
|
|
100
|
+
*/
|
|
101
|
+
export const KEYS_CITY_STR_ARRAY = [
|
|
102
|
+
"metadata_keywords",
|
|
103
|
+
];
|
|
104
|
+
//# sourceMappingURL=db-city-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-city-types.js","sourceRoot":"","sources":["../../src/types/db-city-types.ts"],"names":[],"mappings":"AA+HA;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,cAAc;IACd,WAAW;IACX,MAAM;IACN,aAAa;IACb,SAAS;CACV,CAAC;AAGF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,cAAc;IACd,WAAW;IACX,MAAM;IACN,aAAa;IACb,SAAS;IACT,SAAS;IACT,cAAc;IACd,eAAe;IACf,WAAW;IACX,cAAc;IACd,SAAS;IACT,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;CACd,CAAC;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,cAAc;IACd,WAAW;IACX,MAAM;IACN,aAAa;IACb,SAAS;IACT,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,cAAc;IACd,eAAe;IACf,WAAW;IACX,cAAc;IACd,SAAS;IACT,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,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,aAAa,GAAG;IAC3B,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,YAAY;IACZ,aAAa;CACd,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,mBAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type TCompanyListForAdmin = {
|
|
2
|
+
company_code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
name_native: string | null;
|
|
5
|
+
homepage: string | null;
|
|
6
|
+
youtube_ch_id: string | null;
|
|
7
|
+
instagram_id: string | null;
|
|
8
|
+
tiktok_id: string | null;
|
|
9
|
+
threads_id: string | null;
|
|
10
|
+
is_active: boolean;
|
|
11
|
+
is_display: boolean;
|
|
12
|
+
is_official_account: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type TCompanyDetail = TCompanyListForAdmin & {
|
|
15
|
+
thumbnail_square: string | null;
|
|
16
|
+
thumbnail_horizontal: string | null;
|
|
17
|
+
thumbnail_vertical: string | null;
|
|
18
|
+
profile: string | null;
|
|
19
|
+
deactivated_at: Date | null;
|
|
20
|
+
deactivated_by: string | null;
|
|
21
|
+
hero_image_01: string | null;
|
|
22
|
+
hero_image_02: string | null;
|
|
23
|
+
hero_image_03: string | null;
|
|
24
|
+
hero_image_04: string | null;
|
|
25
|
+
hero_image_05: string | null;
|
|
26
|
+
thumbnail_main_01: string | null;
|
|
27
|
+
thumbnail_main_02: string | null;
|
|
28
|
+
thumbnail_main_03: string | null;
|
|
29
|
+
thumbnail_main_04: string | null;
|
|
30
|
+
thumbnail_main_05: string | null;
|
|
31
|
+
thumbnail_vertical_01: string | null;
|
|
32
|
+
thumbnail_vertical_02: string | null;
|
|
33
|
+
thumbnail_vertical_03: string | null;
|
|
34
|
+
thumbnail_vertical_04: string | null;
|
|
35
|
+
thumbnail_vertical_05: string | null;
|
|
36
|
+
metadata_title: string | null;
|
|
37
|
+
metadata_description: string | null;
|
|
38
|
+
metadata_keywords: string | null;
|
|
39
|
+
metadata_og_title: string | null;
|
|
40
|
+
metadata_og_description: string | null;
|
|
41
|
+
metadata_og_image: string | null;
|
|
42
|
+
};
|
|
43
|
+
export type TCompanyDetailInsert = {
|
|
44
|
+
company_code: string;
|
|
45
|
+
name: string;
|
|
46
|
+
} & Partial<Omit<TCompanyDetail, "company_code">>;
|
|
47
|
+
export type TCompanyDetailUpdate = {
|
|
48
|
+
company_code: string;
|
|
49
|
+
} & Partial<Omit<TCompanyDetail, "company_code">>;
|
|
50
|
+
export type TMapCompanyFolder = {
|
|
51
|
+
company_code: string;
|
|
52
|
+
folder_id: string;
|
|
53
|
+
earliest_event?: Date | null;
|
|
54
|
+
latest_event?: Date | null;
|
|
55
|
+
};
|
|
56
|
+
export type TMapCompanyEvent = {
|
|
57
|
+
company_code: string;
|
|
58
|
+
event_id: string;
|
|
59
|
+
date?: Date | null;
|
|
60
|
+
};
|
|
61
|
+
export declare const DB_COLUMNS_COMPANY_LIST_FOR_ADMIN: string[];
|
|
62
|
+
export declare const KEYS_COMPANY_STR: string[];
|
|
63
|
+
export declare const KEYS_COMPANY_NUM: never[];
|
|
64
|
+
export declare const KEYS_COMPANY_BOOL: string[];
|
|
65
|
+
export declare const KEYS_COMPANY_STR_ARRAY: string[];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Company List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_COMPANY_LIST_FOR_ADMIN = [
|
|
5
|
+
"company_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
|
+
* Company 데이터 문자열 KEY 목록
|
|
19
|
+
* FormData Parsing 할 때 사용
|
|
20
|
+
*/
|
|
21
|
+
export const KEYS_COMPANY_STR = [
|
|
22
|
+
"company_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
|
+
* Company 데이터 숫자 KEY 목록
|
|
60
|
+
* FormDataParsing 할 때 사용
|
|
61
|
+
*/
|
|
62
|
+
export const KEYS_COMPANY_NUM = [];
|
|
63
|
+
/*
|
|
64
|
+
* Company 데이터 불리언 KEY 목록
|
|
65
|
+
* FormData Parsing 할 때 사용
|
|
66
|
+
*/
|
|
67
|
+
export const KEYS_COMPANY_BOOL = [
|
|
68
|
+
"is_active",
|
|
69
|
+
"is_display",
|
|
70
|
+
"is_official_account",
|
|
71
|
+
];
|
|
72
|
+
/*
|
|
73
|
+
* Company 데이터 문자열 배열 KEY 목록
|
|
74
|
+
* FormData Parsing 할 때 사용
|
|
75
|
+
*/
|
|
76
|
+
export const KEYS_COMPANY_STR_ARRAY = [
|
|
77
|
+
"metadata_keywords",
|
|
78
|
+
];
|
|
79
|
+
//# sourceMappingURL=db-company-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-company-types.js","sourceRoot":"","sources":["../../src/types/db-company-types.ts"],"names":[],"mappings":"AAsEA;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,cAAc;IACd,MAAM;IACN,aAAa;IACb,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,cAAc;IACd,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,gBAAgB,GAAG,EAAE,CAAC;AAEnC;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,mBAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export type TEventListForAdmin = {
|
|
2
|
+
event_id: string;
|
|
3
|
+
event_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_ever_public: boolean;
|
|
22
|
+
is_active: boolean;
|
|
23
|
+
is_display: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type TEventDetail = TEventListForAdmin & {
|
|
26
|
+
utc_minutes: number;
|
|
27
|
+
thumbnail_square: string | null;
|
|
28
|
+
thumbnail_horizontal: string | null;
|
|
29
|
+
thumbnail_vertical: string | null;
|
|
30
|
+
profile: string | null;
|
|
31
|
+
description: string | null;
|
|
32
|
+
homepage: string | null;
|
|
33
|
+
url_label: string | null;
|
|
34
|
+
url: string | null;
|
|
35
|
+
email: string | null;
|
|
36
|
+
phone_country_code: string | null;
|
|
37
|
+
phone: string | null;
|
|
38
|
+
location: string | null;
|
|
39
|
+
latitude: number | null;
|
|
40
|
+
longitude: number | null;
|
|
41
|
+
radius_m: number | null;
|
|
42
|
+
address_eng: string | null;
|
|
43
|
+
address_native: string | null;
|
|
44
|
+
target_age_start: number | null;
|
|
45
|
+
target_age_end: number | null;
|
|
46
|
+
target_sex: string | null;
|
|
47
|
+
is_target_for_family: boolean;
|
|
48
|
+
is_target_for_couple: boolean;
|
|
49
|
+
is_target_for_children: boolean;
|
|
50
|
+
is_target_for_single: boolean;
|
|
51
|
+
is_target_for_traveler: boolean;
|
|
52
|
+
updated_at: Date;
|
|
53
|
+
tags: string[] | string | null;
|
|
54
|
+
deactivated_at: Date | null;
|
|
55
|
+
deactivated_by: string | null;
|
|
56
|
+
hero_image_01: string | null;
|
|
57
|
+
hero_image_02: string | null;
|
|
58
|
+
hero_image_03: string | null;
|
|
59
|
+
hero_image_04: string | null;
|
|
60
|
+
hero_image_05: string | null;
|
|
61
|
+
thumbnail_main_01: string | null;
|
|
62
|
+
thumbnail_main_02: string | null;
|
|
63
|
+
thumbnail_main_03: string | null;
|
|
64
|
+
thumbnail_main_04: string | null;
|
|
65
|
+
thumbnail_main_05: string | null;
|
|
66
|
+
thumbnail_vertical_01: string | null;
|
|
67
|
+
thumbnail_vertical_02: string | null;
|
|
68
|
+
thumbnail_vertical_03: string | null;
|
|
69
|
+
thumbnail_vertical_04: string | null;
|
|
70
|
+
thumbnail_vertical_05: string | null;
|
|
71
|
+
metadata_title: string | null;
|
|
72
|
+
metadata_description: string | null;
|
|
73
|
+
metadata_keywords: string | null;
|
|
74
|
+
metadata_og_title: string | null;
|
|
75
|
+
metadata_og_description: string | null;
|
|
76
|
+
metadata_og_image: string | null;
|
|
77
|
+
};
|
|
78
|
+
export type TEventDetailInsert = {
|
|
79
|
+
event_id: string;
|
|
80
|
+
event_code: string;
|
|
81
|
+
date: Date;
|
|
82
|
+
tz: string;
|
|
83
|
+
utc_minutes: number;
|
|
84
|
+
title: string;
|
|
85
|
+
} & Partial<Omit<TEventDetail, "event_id" | "event_code" | "date" | "tz" | "utc_minutes" | "title">>;
|
|
86
|
+
export type TEventDetailUpdate = {
|
|
87
|
+
event_id: string;
|
|
88
|
+
} & Partial<Omit<TEventDetail, "event_id">>;
|
|
89
|
+
export type TEventImage = {
|
|
90
|
+
event_id: string;
|
|
91
|
+
hash_code: string;
|
|
92
|
+
label: string | null;
|
|
93
|
+
orientation: string | null;
|
|
94
|
+
order_num: number;
|
|
95
|
+
image_url: string;
|
|
96
|
+
src_thumbnail: string | null;
|
|
97
|
+
src_name: string | null;
|
|
98
|
+
src_url: string | null;
|
|
99
|
+
src_reference: string | null;
|
|
100
|
+
};
|
|
101
|
+
export type TEventImageInsert = {
|
|
102
|
+
event_id: string;
|
|
103
|
+
hash_code: string;
|
|
104
|
+
image_url: string;
|
|
105
|
+
} & Partial<Omit<TEventImage, "event_id" | "hash_code" | "image_url">>;
|
|
106
|
+
export type TEventImageUpdate = {
|
|
107
|
+
event_id: string;
|
|
108
|
+
hash_code: string;
|
|
109
|
+
} & Partial<Omit<TEventImage, "event_id" | "hash_code">>;
|
|
110
|
+
export declare const DB_COLUMNS_EVENT_LIST_FOR_ADMIN: string[];
|
|
111
|
+
export declare const KEYS_EVENT_STR: string[];
|
|
112
|
+
export declare const KEYS_EVENT_NUM: string[];
|
|
113
|
+
export declare const KEYS_EVENT_BOOL: string[];
|
|
114
|
+
export declare const KEYS_EVENT_STR_ARRAY: string[];
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Event List For Admin
|
|
3
|
+
*/
|
|
4
|
+
export const DB_COLUMNS_EVENT_LIST_FOR_ADMIN = [
|
|
5
|
+
"event_id",
|
|
6
|
+
"event_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_ever_public",
|
|
25
|
+
"is_active",
|
|
26
|
+
"is_display",
|
|
27
|
+
];
|
|
28
|
+
/*
|
|
29
|
+
* Event 데이터 문자열 KEY 목록
|
|
30
|
+
* FormData Parsing 할 때 사용
|
|
31
|
+
*/
|
|
32
|
+
export const KEYS_EVENT_STR = [
|
|
33
|
+
"event_id",
|
|
34
|
+
"event_code",
|
|
35
|
+
"folder_id",
|
|
36
|
+
"date",
|
|
37
|
+
"time",
|
|
38
|
+
"tz",
|
|
39
|
+
"title",
|
|
40
|
+
"thumbnail_square",
|
|
41
|
+
"thumbnail_horizontal",
|
|
42
|
+
"thumbnail_vertical",
|
|
43
|
+
"profile",
|
|
44
|
+
"description",
|
|
45
|
+
"created_at",
|
|
46
|
+
"created_by",
|
|
47
|
+
"target_country_code",
|
|
48
|
+
"target_city_code",
|
|
49
|
+
"homepage",
|
|
50
|
+
"url_label",
|
|
51
|
+
"url",
|
|
52
|
+
"email",
|
|
53
|
+
"phone_country_code",
|
|
54
|
+
"phone",
|
|
55
|
+
"address_eng",
|
|
56
|
+
"address_native",
|
|
57
|
+
"target_sex",
|
|
58
|
+
"updated_at",
|
|
59
|
+
"tags",
|
|
60
|
+
"deactivated_at",
|
|
61
|
+
"deactivated_by",
|
|
62
|
+
"hero_image_01",
|
|
63
|
+
"hero_image_02",
|
|
64
|
+
"hero_image_03",
|
|
65
|
+
"hero_image_04",
|
|
66
|
+
"hero_image_05",
|
|
67
|
+
"thumbnail_main_01",
|
|
68
|
+
"thumbnail_main_02",
|
|
69
|
+
"thumbnail_main_03",
|
|
70
|
+
"thumbnail_main_04",
|
|
71
|
+
"thumbnail_main_05",
|
|
72
|
+
"thumbnail_vertical_01",
|
|
73
|
+
"thumbnail_vertical_02",
|
|
74
|
+
"thumbnail_vertical_03",
|
|
75
|
+
"thumbnail_vertical_04",
|
|
76
|
+
"thumbnail_vertical_05",
|
|
77
|
+
"metadata_title",
|
|
78
|
+
"metadata_description",
|
|
79
|
+
"metadata_og_title",
|
|
80
|
+
"metadata_og_description",
|
|
81
|
+
"metadata_og_image",
|
|
82
|
+
];
|
|
83
|
+
/*
|
|
84
|
+
* Event 데이터 숫자 KEY 목록
|
|
85
|
+
* FormDataParsing 할 때 사용
|
|
86
|
+
*/
|
|
87
|
+
export const KEYS_EVENT_NUM = [
|
|
88
|
+
"utc_minutes",
|
|
89
|
+
"duration",
|
|
90
|
+
"location",
|
|
91
|
+
"latitude",
|
|
92
|
+
"longitude",
|
|
93
|
+
"radius_m",
|
|
94
|
+
"added_count",
|
|
95
|
+
"shared_count",
|
|
96
|
+
"saved_count",
|
|
97
|
+
"target_age_start",
|
|
98
|
+
"target_age_end",
|
|
99
|
+
];
|
|
100
|
+
/*
|
|
101
|
+
* Event 데이터 불리언 KEY 목록
|
|
102
|
+
* FormData Parsing 할 때 사용
|
|
103
|
+
*/
|
|
104
|
+
export const KEYS_EVENT_BOOL = [
|
|
105
|
+
"is_repeat_annually",
|
|
106
|
+
"is_admin_created",
|
|
107
|
+
"is_public",
|
|
108
|
+
"view_count",
|
|
109
|
+
"is_target_for_family",
|
|
110
|
+
"is_target_for_couple",
|
|
111
|
+
"is_target_for_children",
|
|
112
|
+
"is_target_for_single",
|
|
113
|
+
"is_target_for_traveler",
|
|
114
|
+
"is_ever_public",
|
|
115
|
+
"is_active",
|
|
116
|
+
"is_display",
|
|
117
|
+
];
|
|
118
|
+
/*
|
|
119
|
+
* Event 데이터 문자열 배열 KEY 목록
|
|
120
|
+
* FormData Parsing 할 때 사용
|
|
121
|
+
*/
|
|
122
|
+
export const KEYS_EVENT_STR_ARRAY = [
|
|
123
|
+
"metadata_keywords",
|
|
124
|
+
];
|
|
125
|
+
//# sourceMappingURL=db-event-types.js.map
|