dplus_common_v1 0.1.5 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/consts/all-countries.js +1 -1
- package/dist/consts/all-countries.js.map +1 -1
- package/dist/consts/db.d.ts +20 -6
- package/dist/consts/db.js +43 -6
- package/dist/consts/db.js.map +1 -1
- package/dist/db-types/db-brand-types.d.ts +8 -37
- package/dist/db-types/db-category-types.d.ts +4 -96
- package/dist/db-types/db-celeb-types.d.ts +8 -37
- package/dist/db-types/db-city-types.d.ts +7 -96
- package/dist/db-types/db-company-types.d.ts +8 -37
- package/dist/db-types/db-event-types.d.ts +12 -45
- package/dist/db-types/db-folder-types.d.ts +14 -34
- package/dist/db-types/db-idol-group-types.d.ts +8 -37
- package/dist/db-types/db-log-types.d.ts +19 -0
- package/dist/db-types/db-log-types.js +2 -0
- package/dist/db-types/db-log-types.js.map +1 -0
- package/dist/db-types/db-map-types.d.ts +44 -0
- package/dist/db-types/db-map-types.js +2 -0
- package/dist/db-types/db-map-types.js.map +1 -0
- package/dist/db-types/db-metadata-types.d.ts +21 -0
- package/dist/db-types/db-metadata-types.js +2 -0
- package/dist/db-types/db-metadata-types.js.map +1 -0
- package/dist/db-types/db-people-types.d.ts +8 -37
- package/dist/db-types/db-pevent-types.d.ts +108 -0
- package/dist/db-types/db-pevent-types.js +2 -0
- package/dist/db-types/db-pevent-types.js.map +1 -0
- package/dist/db-types/db-product-types.d.ts +8 -37
- package/dist/db-types/db-selected-event-types.d.ts +35 -0
- package/dist/db-types/db-selected-event-types.js +2 -0
- package/dist/db-types/db-selected-event-types.js.map +1 -0
- package/dist/db-types/db-selected-folder-types.d.ts +31 -0
- package/dist/db-types/db-selected-folder-types.js +2 -0
- package/dist/db-types/db-selected-folder-types.js.map +1 -0
- package/dist/db-types/db-service-provider-types.d.ts +2 -2
- package/dist/db-types/db-special-tag-types.d.ts +48 -20
- package/dist/db-types/db-stag-types.d.ts +58 -0
- package/dist/db-types/db-stag-types.js +2 -0
- package/dist/db-types/db-stag-types.js.map +1 -0
- package/dist/db-types/db-tag-types.d.ts +0 -27
- package/dist/db-types/db-team-types.d.ts +8 -37
- package/dist/db-types/db-user-types.d.ts +8 -8
- package/dist/dplus-types/dplus-response-types.js.map +1 -1
- package/dist/fields/field-brand.d.ts +34 -58
- package/dist/fields/field-brand.js +38 -62
- package/dist/fields/field-brand.js.map +1 -1
- package/dist/fields/field-category.d.ts +28 -186
- package/dist/fields/field-category.js +31 -189
- package/dist/fields/field-category.js.map +1 -1
- package/dist/fields/field-celeb.d.ts +34 -58
- package/dist/fields/field-celeb.js +38 -62
- package/dist/fields/field-celeb.js.map +1 -1
- package/dist/fields/field-city.d.ts +35 -144
- package/dist/fields/field-city.js +57 -166
- package/dist/fields/field-city.js.map +1 -1
- package/dist/fields/field-company.d.ts +34 -58
- package/dist/fields/field-company.js +37 -61
- package/dist/fields/field-company.js.map +1 -1
- package/dist/fields/field-event.d.ts +32 -56
- package/dist/fields/field-event.js +70 -94
- package/dist/fields/field-event.js.map +1 -1
- package/dist/fields/field-folder.d.ts +32 -33
- package/dist/fields/field-folder.js +47 -48
- package/dist/fields/field-folder.js.map +1 -1
- package/dist/fields/field-idol-group.d.ts +34 -58
- package/dist/fields/field-idol-group.js +37 -61
- package/dist/fields/field-idol-group.js.map +1 -1
- package/dist/fields/field-log.d.ts +94 -0
- package/dist/fields/field-log.js +95 -0
- package/dist/fields/field-log.js.map +1 -0
- package/dist/fields/field-map.d.ts +200 -0
- package/dist/fields/field-map.js +201 -0
- package/dist/fields/field-map.js.map +1 -0
- package/dist/fields/field-metadata.d.ts +65 -0
- package/dist/fields/field-metadata.js +66 -0
- package/dist/fields/field-metadata.js.map +1 -0
- package/dist/fields/field-people.d.ts +34 -58
- package/dist/fields/field-people.js +37 -61
- package/dist/fields/field-people.js.map +1 -1
- package/dist/fields/field-pevent.d.ts +556 -0
- package/dist/fields/field-pevent.js +557 -0
- package/dist/fields/field-pevent.js.map +1 -0
- package/dist/fields/field-product.d.ts +34 -58
- package/dist/fields/field-product.js +39 -63
- package/dist/fields/field-product.js.map +1 -1
- package/dist/fields/field-public-event.js.map +1 -1
- package/dist/fields/field-selected-event.d.ts +160 -0
- package/dist/fields/field-selected-event.js +161 -0
- package/dist/fields/field-selected-event.js.map +1 -0
- package/dist/fields/field-selected-folder.d.ts +133 -0
- package/dist/fields/field-selected-folder.js +134 -0
- package/dist/fields/field-selected-folder.js.map +1 -0
- package/dist/fields/field-selected-group.d.ts +133 -0
- package/dist/fields/field-selected-group.js +134 -0
- package/dist/fields/field-selected-group.js.map +1 -0
- package/dist/fields/field-service-provider.d.ts +2 -2
- package/dist/fields/field-service-provider.js +7 -7
- package/dist/fields/field-service-provider.js.map +1 -1
- package/dist/fields/field-special-tag.d.ts +191 -4
- package/dist/fields/field-special-tag.js +202 -15
- package/dist/fields/field-special-tag.js.map +1 -1
- package/dist/fields/field-stag.d.ts +280 -0
- package/dist/fields/field-stag.js +281 -0
- package/dist/fields/field-stag.js.map +1 -0
- package/dist/fields/field-tag.d.ts +0 -50
- package/dist/fields/field-tag.js +0 -50
- package/dist/fields/field-tag.js.map +1 -1
- package/dist/fields/field-team.d.ts +34 -58
- package/dist/fields/field-team.js +34 -58
- package/dist/fields/field-team.js.map +1 -1
- package/dist/fields/field-user-report.js.map +1 -1
- package/dist/fields/field-user.d.ts +51 -2
- package/dist/fields/field-user.js +56 -7
- package/dist/fields/field-user.js.map +1 -1
- package/dist/index.d.ts +14 -5
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,9 @@ export type TCityListAdmin = TCityOption & {
|
|
|
19
19
|
event_count: number;
|
|
20
20
|
};
|
|
21
21
|
export type TCityDetail = TCityListAdmin & {
|
|
22
|
+
thumbnail_square: string | null;
|
|
23
|
+
thumbnail_horizontal: string | null;
|
|
24
|
+
thumbnail_vertical: string | null;
|
|
22
25
|
location: string | null;
|
|
23
26
|
latitude: number | null;
|
|
24
27
|
longitude: number | null;
|
|
@@ -62,21 +65,6 @@ export type TCityDetailInsert = {
|
|
|
62
65
|
export type TCityDetailUpdate = {
|
|
63
66
|
city_code: string;
|
|
64
67
|
} & Partial<Omit<TCityDetail, "city_code">>;
|
|
65
|
-
export type TCityViewLog = {
|
|
66
|
-
city_code: string;
|
|
67
|
-
hash_code: string;
|
|
68
|
-
date: Date;
|
|
69
|
-
view_count: number;
|
|
70
|
-
};
|
|
71
|
-
export type TCityViewLogInsert = {
|
|
72
|
-
city_code: string;
|
|
73
|
-
hash_code: string;
|
|
74
|
-
date: Date;
|
|
75
|
-
} & Partial<Omit<TCityViewLog, "city_code" | "hash_code" | "date">>;
|
|
76
|
-
export type TCityViewLogUpdate = {
|
|
77
|
-
city_code: string;
|
|
78
|
-
hash_code: string;
|
|
79
|
-
} & Partial<Omit<TCityViewLog, "city_code" | "hash_code">>;
|
|
80
68
|
export type TCityImage = {
|
|
81
69
|
city_code: string;
|
|
82
70
|
hash_code: string;
|
|
@@ -84,6 +72,10 @@ export type TCityImage = {
|
|
|
84
72
|
orientation: string | null;
|
|
85
73
|
order_num: number;
|
|
86
74
|
image_url: string;
|
|
75
|
+
src_thumbnail: string | null;
|
|
76
|
+
src_name: string | null;
|
|
77
|
+
src_url: string | null;
|
|
78
|
+
src_reference: string | null;
|
|
87
79
|
};
|
|
88
80
|
export type TCityImageInsert = {
|
|
89
81
|
city_code: string;
|
|
@@ -118,84 +110,3 @@ export type TCityI18n = {
|
|
|
118
110
|
lang_code: string;
|
|
119
111
|
name: string;
|
|
120
112
|
};
|
|
121
|
-
export type TCityI18nInsert = {
|
|
122
|
-
city_code: string;
|
|
123
|
-
lang_code: string;
|
|
124
|
-
name: string;
|
|
125
|
-
} & Partial<Omit<TCityI18n, "city_code" | "lang_code" | "name">>;
|
|
126
|
-
export type TCityI18nUpdate = {
|
|
127
|
-
city_code: string;
|
|
128
|
-
lang_code: string;
|
|
129
|
-
} & Partial<Omit<TCityI18n, "city_code" | "lang_code">>;
|
|
130
|
-
export type TCityMetadataI18n = {
|
|
131
|
-
city_code: string;
|
|
132
|
-
lang_code: string;
|
|
133
|
-
title: string | null;
|
|
134
|
-
description: string | null;
|
|
135
|
-
og_title: string | null;
|
|
136
|
-
og_description: string | null;
|
|
137
|
-
og_image: string | null;
|
|
138
|
-
tag_set: string[] | string | null;
|
|
139
|
-
};
|
|
140
|
-
export type TCityMetadataI18nInsert = {
|
|
141
|
-
city_code: string;
|
|
142
|
-
lang_code: string;
|
|
143
|
-
} & Partial<Omit<TCityMetadataI18n, "city_code" | "lang_code">>;
|
|
144
|
-
export type TCityMetadataI18nUpdate = {
|
|
145
|
-
city_code: string;
|
|
146
|
-
lang_code: string;
|
|
147
|
-
} & Partial<Omit<TCityMetadataI18n, "city_code" | "lang_code">>;
|
|
148
|
-
export type TCitySelectedFolder = {
|
|
149
|
-
city_code: string;
|
|
150
|
-
folder_id: string;
|
|
151
|
-
earliest_event: Date | null;
|
|
152
|
-
latest_event: Date | null;
|
|
153
|
-
};
|
|
154
|
-
export type TCitySelectedFolderInsert = {
|
|
155
|
-
city_code: string;
|
|
156
|
-
folder_id: string;
|
|
157
|
-
} & Partial<Omit<TCitySelectedFolder, "city_code" | "folder_id">>;
|
|
158
|
-
export type TCitySelectedFolderUpdate = {
|
|
159
|
-
city_code: string;
|
|
160
|
-
folder_id: string;
|
|
161
|
-
} & Partial<Omit<TCitySelectedFolder, "city_code" | "folder_id">>;
|
|
162
|
-
export type TMapCityFolder = {
|
|
163
|
-
city_code: string;
|
|
164
|
-
folder_id: string;
|
|
165
|
-
earliest_event: Date | null;
|
|
166
|
-
latest_event: Date | null;
|
|
167
|
-
};
|
|
168
|
-
export type TMapCityFolderInsert = {
|
|
169
|
-
city_code: string;
|
|
170
|
-
folder_id: string;
|
|
171
|
-
} & Partial<Omit<TMapCityFolder, "city_code" | "folder_id">>;
|
|
172
|
-
export type TMapCityFolderUpdate = {
|
|
173
|
-
city_code: string;
|
|
174
|
-
folder_id: string;
|
|
175
|
-
} & Partial<Omit<TMapCityFolder, "city_code" | "folder_id">>;
|
|
176
|
-
export type TCitySelectedEvent = {
|
|
177
|
-
city_code: string;
|
|
178
|
-
event_id: string;
|
|
179
|
-
date: Date | null;
|
|
180
|
-
};
|
|
181
|
-
export type TCitySelectedEventInsert = {
|
|
182
|
-
city_code: string;
|
|
183
|
-
event_id: string;
|
|
184
|
-
} & Partial<Omit<TCitySelectedEvent, "city_code" | "event_id">>;
|
|
185
|
-
export type TCitySelectedEventUpdate = {
|
|
186
|
-
city_code: string;
|
|
187
|
-
event_id: string;
|
|
188
|
-
} & Partial<Omit<TCitySelectedEvent, "city_code" | "event_id">>;
|
|
189
|
-
export type TMapCityEvent = {
|
|
190
|
-
city_code: string;
|
|
191
|
-
event_id: string;
|
|
192
|
-
date: Date | null;
|
|
193
|
-
};
|
|
194
|
-
export type TMapCityEventInsert = {
|
|
195
|
-
city_code: string;
|
|
196
|
-
event_id: string;
|
|
197
|
-
} & Partial<Omit<TMapCityEvent, "city_code" | "event_id">>;
|
|
198
|
-
export type TMapCityEventUpdate = {
|
|
199
|
-
city_code: string;
|
|
200
|
-
event_id: string;
|
|
201
|
-
} & Partial<Omit<TMapCityEvent, "city_code" | "event_id">>;
|
|
@@ -2,14 +2,19 @@ export type TCompanyListForAdmin = {
|
|
|
2
2
|
company_code: string;
|
|
3
3
|
name: string;
|
|
4
4
|
name_native: string | null;
|
|
5
|
+
homepage: string | null;
|
|
5
6
|
youtube_ch_id: string | null;
|
|
6
7
|
instagram_id: string | null;
|
|
7
8
|
tiktok_id: string | null;
|
|
8
9
|
threads_id: string | null;
|
|
9
10
|
is_active: boolean;
|
|
10
11
|
is_display: boolean;
|
|
12
|
+
is_official_account: boolean;
|
|
11
13
|
};
|
|
12
14
|
export type TCompanyDetail = TCompanyListForAdmin & {
|
|
15
|
+
thumbnail_square: string | null;
|
|
16
|
+
thumbnail_horizontal: string | null;
|
|
17
|
+
thumbnail_vertical: string | null;
|
|
13
18
|
profile: string | null;
|
|
14
19
|
deactivated_at: Date | null;
|
|
15
20
|
deactivated_by: string | null;
|
|
@@ -42,48 +47,14 @@ export type TCompanyDetailInsert = {
|
|
|
42
47
|
export type TCompanyDetailUpdate = {
|
|
43
48
|
company_code: string;
|
|
44
49
|
} & Partial<Omit<TCompanyDetail, "company_code">>;
|
|
45
|
-
export type TCompanyMetadataI18n = {
|
|
46
|
-
company_code: string;
|
|
47
|
-
lang_code: string;
|
|
48
|
-
title: string | null;
|
|
49
|
-
description: string | null;
|
|
50
|
-
keywords: string | null;
|
|
51
|
-
og_title: string | null;
|
|
52
|
-
og_description: string | null;
|
|
53
|
-
og_image: string | null;
|
|
54
|
-
};
|
|
55
|
-
export type TCompanyMetadataI18nInsert = {
|
|
56
|
-
company_code: string;
|
|
57
|
-
lang_code: string;
|
|
58
|
-
} & Partial<Omit<TCompanyMetadataI18n, "company_code" | "lang_code">>;
|
|
59
|
-
export type TCompanyMetadataI18nUpdate = {
|
|
60
|
-
company_code: string;
|
|
61
|
-
lang_code: string;
|
|
62
|
-
} & Partial<Omit<TCompanyMetadataI18n, "company_code" | "lang_code">>;
|
|
63
50
|
export type TMapCompanyFolder = {
|
|
64
51
|
company_code: string;
|
|
65
52
|
folder_id: string;
|
|
66
|
-
earliest_event
|
|
67
|
-
latest_event
|
|
53
|
+
earliest_event?: Date | null;
|
|
54
|
+
latest_event?: Date | null;
|
|
68
55
|
};
|
|
69
|
-
export type TMapCompanyFolderInsert = {
|
|
70
|
-
company_code: string;
|
|
71
|
-
folder_id: string;
|
|
72
|
-
} & Partial<Omit<TMapCompanyFolder, "company_code" | "folder_id">>;
|
|
73
|
-
export type TMapCompanyFolderUpdate = {
|
|
74
|
-
company_code: string;
|
|
75
|
-
folder_id: string;
|
|
76
|
-
} & Partial<Omit<TMapCompanyFolder, "company_code" | "folder_id">>;
|
|
77
56
|
export type TMapCompanyEvent = {
|
|
78
57
|
company_code: string;
|
|
79
58
|
event_id: string;
|
|
80
|
-
date
|
|
59
|
+
date?: Date | null;
|
|
81
60
|
};
|
|
82
|
-
export type TMapCompanyEventInsert = {
|
|
83
|
-
company_code: string;
|
|
84
|
-
event_id: string;
|
|
85
|
-
} & Partial<Omit<TMapCompanyEvent, "company_code" | "event_id">>;
|
|
86
|
-
export type TMapCompanyEventUpdate = {
|
|
87
|
-
company_code: string;
|
|
88
|
-
event_id: string;
|
|
89
|
-
} & Partial<Omit<TMapCompanyEvent, "company_code" | "event_id">>;
|
|
@@ -4,9 +4,13 @@ export type TEventListForAdmin = {
|
|
|
4
4
|
folder_id: string | null;
|
|
5
5
|
date: Date;
|
|
6
6
|
time: string | null;
|
|
7
|
+
tz: string;
|
|
7
8
|
duration: number | null;
|
|
8
9
|
is_repeat_annually: boolean;
|
|
9
10
|
title: string;
|
|
11
|
+
created_at: Date;
|
|
12
|
+
is_admin_created: boolean;
|
|
13
|
+
created_by: string | null;
|
|
10
14
|
target_country_code: string;
|
|
11
15
|
target_city_code: string | null;
|
|
12
16
|
is_public: boolean;
|
|
@@ -19,13 +23,13 @@ export type TEventListForAdmin = {
|
|
|
19
23
|
is_display: boolean;
|
|
20
24
|
};
|
|
21
25
|
export type TEventDetail = TEventListForAdmin & {
|
|
22
|
-
tz: string;
|
|
23
26
|
utc_minutes: number;
|
|
27
|
+
thumbnail_square: string | null;
|
|
28
|
+
thumbnail_horizontal: string | null;
|
|
29
|
+
thumbnail_vertical: string | null;
|
|
24
30
|
profile: string | null;
|
|
25
31
|
description: string | null;
|
|
26
|
-
|
|
27
|
-
is_admin_created: boolean;
|
|
28
|
-
created_by: string | null;
|
|
32
|
+
homepage: string | null;
|
|
29
33
|
url_label: string | null;
|
|
30
34
|
url: string | null;
|
|
31
35
|
email: string | null;
|
|
@@ -82,21 +86,6 @@ export type TEventDetailInsert = {
|
|
|
82
86
|
export type TEventDetailUpdate = {
|
|
83
87
|
event_id: string;
|
|
84
88
|
} & Partial<Omit<TEventDetail, "event_id">>;
|
|
85
|
-
export type TEventViewLog = {
|
|
86
|
-
event_id: string;
|
|
87
|
-
hash_code: string;
|
|
88
|
-
date: Date;
|
|
89
|
-
view_count: number;
|
|
90
|
-
};
|
|
91
|
-
export type TEventViewLogInsert = {
|
|
92
|
-
event_id: string;
|
|
93
|
-
hash_code: string;
|
|
94
|
-
date: Date;
|
|
95
|
-
} & Partial<Omit<TEventViewLog, "event_id" | "hash_code" | "date">>;
|
|
96
|
-
export type TEventViewLogUpdate = {
|
|
97
|
-
event_id: string;
|
|
98
|
-
hash_code: string;
|
|
99
|
-
} & Partial<Omit<TEventViewLog, "event_id" | "hash_code">>;
|
|
100
89
|
export type TEventImage = {
|
|
101
90
|
event_id: string;
|
|
102
91
|
hash_code: string;
|
|
@@ -104,6 +93,10 @@ export type TEventImage = {
|
|
|
104
93
|
orientation: string | null;
|
|
105
94
|
order_num: number;
|
|
106
95
|
image_url: string;
|
|
96
|
+
src_thumbnail: string | null;
|
|
97
|
+
src_name: string | null;
|
|
98
|
+
src_url: string | null;
|
|
99
|
+
src_reference: string | null;
|
|
107
100
|
};
|
|
108
101
|
export type TEventImageInsert = {
|
|
109
102
|
event_id: string;
|
|
@@ -114,29 +107,3 @@ export type TEventImageUpdate = {
|
|
|
114
107
|
event_id: string;
|
|
115
108
|
hash_code: string;
|
|
116
109
|
} & Partial<Omit<TEventImage, "event_id" | "hash_code">>;
|
|
117
|
-
export type TEventShared = {
|
|
118
|
-
event_id: string;
|
|
119
|
-
provider_code: string;
|
|
120
|
-
shared_count: number;
|
|
121
|
-
};
|
|
122
|
-
export type TEventSharedInsert = {
|
|
123
|
-
event_id: string;
|
|
124
|
-
provider_code: string;
|
|
125
|
-
} & Partial<Omit<TEventShared, "event_id" | "provider_code">>;
|
|
126
|
-
export type TEventSharedUpdate = {
|
|
127
|
-
event_id: string;
|
|
128
|
-
provider_code: string;
|
|
129
|
-
} & Partial<Omit<TEventShared, "event_id" | "provider_code">>;
|
|
130
|
-
export type TEventSaved = {
|
|
131
|
-
event_id: string;
|
|
132
|
-
provider_code: string;
|
|
133
|
-
saved_count: number;
|
|
134
|
-
};
|
|
135
|
-
export type TEventSavedInsert = {
|
|
136
|
-
event_id: string;
|
|
137
|
-
provider_code: string;
|
|
138
|
-
} & Partial<Omit<TEventSaved, "event_id" | "provider_code">>;
|
|
139
|
-
export type TEventSavedUpdate = {
|
|
140
|
-
event_id: string;
|
|
141
|
-
provider_code: string;
|
|
142
|
-
} & Partial<Omit<TEventSaved, "event_id" | "provider_code">>;
|
|
@@ -2,6 +2,11 @@ export type TFolderListForAdmin = {
|
|
|
2
2
|
folder_id: string;
|
|
3
3
|
folder_code: string;
|
|
4
4
|
title: string;
|
|
5
|
+
created_at: Date;
|
|
6
|
+
is_admin_created: boolean;
|
|
7
|
+
created_by: string | null;
|
|
8
|
+
target_country_code: string;
|
|
9
|
+
target_city_code: string | null;
|
|
5
10
|
homepage: string | null;
|
|
6
11
|
url: string | null;
|
|
7
12
|
is_public: boolean;
|
|
@@ -14,13 +19,11 @@ export type TFolderListForAdmin = {
|
|
|
14
19
|
is_active: boolean;
|
|
15
20
|
};
|
|
16
21
|
export type TFolderDetail = TFolderListForAdmin & {
|
|
22
|
+
thumbnail_square: string | null;
|
|
23
|
+
thumbnail_horizontal: string | null;
|
|
24
|
+
thumbnail_vertical: string | null;
|
|
17
25
|
profile: string | null;
|
|
18
26
|
description: string | null;
|
|
19
|
-
created_at: Date;
|
|
20
|
-
is_admin_created: boolean;
|
|
21
|
-
created_by: string | null;
|
|
22
|
-
target_country_code: string;
|
|
23
|
-
target_city_code: string | null;
|
|
24
27
|
url_label: string | null;
|
|
25
28
|
email: string | null;
|
|
26
29
|
phone_country_code: string | null;
|
|
@@ -61,27 +64,13 @@ export type TFolderDetail = TFolderListForAdmin & {
|
|
|
61
64
|
metadata_og_image: string | null;
|
|
62
65
|
};
|
|
63
66
|
export type TFolderDetailInsert = {
|
|
67
|
+
folder_id: string;
|
|
64
68
|
folder_code: string;
|
|
65
69
|
title: string;
|
|
66
70
|
} & Partial<Omit<TFolderDetail, "folder_code" | "title">>;
|
|
67
71
|
export type TFolderDetailUpdate = {
|
|
68
|
-
|
|
72
|
+
folder_id: string;
|
|
69
73
|
} & Partial<Omit<TFolderDetail, "folder_code">>;
|
|
70
|
-
export type TFolderViewLog = {
|
|
71
|
-
folder_code: string;
|
|
72
|
-
hash_code: string;
|
|
73
|
-
date: Date;
|
|
74
|
-
view_count: number;
|
|
75
|
-
};
|
|
76
|
-
export type TFolderViewLogInsert = {
|
|
77
|
-
folder_code: string;
|
|
78
|
-
hash_code: string;
|
|
79
|
-
date: Date;
|
|
80
|
-
} & Partial<Omit<TFolderViewLog, "folder_code" | "hash_code" | "date">>;
|
|
81
|
-
export type TFolderViewLogUpdate = {
|
|
82
|
-
folder_code: string;
|
|
83
|
-
hash_code: string;
|
|
84
|
-
} & Partial<Omit<TFolderViewLog, "folder_code" | "hash_code">>;
|
|
85
74
|
export type TFolderImage = {
|
|
86
75
|
folder_id: string;
|
|
87
76
|
hash_code: string;
|
|
@@ -89,6 +78,10 @@ export type TFolderImage = {
|
|
|
89
78
|
orientation: string | null;
|
|
90
79
|
order_num: number;
|
|
91
80
|
image_url: string;
|
|
81
|
+
src_thumbnail: string | null;
|
|
82
|
+
src_name: string | null;
|
|
83
|
+
src_url: string | null;
|
|
84
|
+
src_reference: string | null;
|
|
92
85
|
};
|
|
93
86
|
export type TFolderImageInsert = {
|
|
94
87
|
folder_id: string;
|
|
@@ -99,16 +92,3 @@ export type TFolderImageUpdate = {
|
|
|
99
92
|
folder_id: string;
|
|
100
93
|
hash_code: string;
|
|
101
94
|
} & Partial<Omit<TFolderImage, "folder_id" | "hash_code">>;
|
|
102
|
-
export type TFolderShared = {
|
|
103
|
-
folder_id: string;
|
|
104
|
-
provider_code: string;
|
|
105
|
-
shared_count: number;
|
|
106
|
-
};
|
|
107
|
-
export type TFolderSharedInsert = {
|
|
108
|
-
folder_id: string;
|
|
109
|
-
provider_code: string;
|
|
110
|
-
} & Partial<Omit<TFolderShared, "folder_id" | "provider_code">>;
|
|
111
|
-
export type TFolderSharedUpdate = {
|
|
112
|
-
folder_id: string;
|
|
113
|
-
provider_code: string;
|
|
114
|
-
} & Partial<Omit<TFolderShared, "folder_id" | "provider_code">>;
|
|
@@ -2,14 +2,19 @@ export type TIdolGroupListForAdmin = {
|
|
|
2
2
|
idol_group_code: string;
|
|
3
3
|
group_name: string;
|
|
4
4
|
group_name_native: string | null;
|
|
5
|
+
homepage: string | null;
|
|
5
6
|
youtube_ch_id: string | null;
|
|
6
7
|
instagram_id: string | null;
|
|
7
8
|
tiktok_id: string | null;
|
|
8
9
|
threads_id: string | null;
|
|
9
10
|
is_active: boolean;
|
|
10
11
|
is_display: boolean;
|
|
12
|
+
is_official_account: boolean;
|
|
11
13
|
};
|
|
12
14
|
export type TIdolGroupDetail = TIdolGroupListForAdmin & {
|
|
15
|
+
thumbnail_square: string | null;
|
|
16
|
+
thumbnail_horizontal: string | null;
|
|
17
|
+
thumbnail_vertical: string | null;
|
|
13
18
|
profile: string | null;
|
|
14
19
|
deactivated_at: Date | null;
|
|
15
20
|
deactivated_by: string | null;
|
|
@@ -42,48 +47,14 @@ export type TIdolGroupDetailInsert = {
|
|
|
42
47
|
export type TIdolGroupDetailUpdate = {
|
|
43
48
|
idol_group_code: string;
|
|
44
49
|
} & Partial<Omit<TIdolGroupDetail, "idol_group_code">>;
|
|
45
|
-
export type TIdolGroupMetadataI18n = {
|
|
46
|
-
idol_group_code: string;
|
|
47
|
-
lang_code: string;
|
|
48
|
-
title: string | null;
|
|
49
|
-
description: string | null;
|
|
50
|
-
keywords: string | null;
|
|
51
|
-
og_title: string | null;
|
|
52
|
-
og_description: string | null;
|
|
53
|
-
og_image: string | null;
|
|
54
|
-
};
|
|
55
|
-
export type TIdolGroupMetadataI18nInsert = {
|
|
56
|
-
idol_group_code: string;
|
|
57
|
-
lang_code: string;
|
|
58
|
-
} & Partial<Omit<TIdolGroupMetadataI18n, "idol_group_code" | "lang_code">>;
|
|
59
|
-
export type TIdolGroupMetadataI18nUpdate = {
|
|
60
|
-
idol_group_code: string;
|
|
61
|
-
lang_code: string;
|
|
62
|
-
} & Partial<Omit<TIdolGroupMetadataI18n, "idol_group_code" | "lang_code">>;
|
|
63
50
|
export type TMapIdolGroupFolder = {
|
|
64
51
|
idol_group_code: string;
|
|
65
52
|
folder_id: string;
|
|
66
|
-
earliest_event
|
|
67
|
-
latest_event
|
|
53
|
+
earliest_event?: Date | null;
|
|
54
|
+
latest_event?: Date | null;
|
|
68
55
|
};
|
|
69
|
-
export type TMapIdolGroupFolderInsert = {
|
|
70
|
-
idol_group_code: string;
|
|
71
|
-
folder_id: string;
|
|
72
|
-
} & Partial<Omit<TMapIdolGroupFolder, "idol_group_code" | "folder_id">>;
|
|
73
|
-
export type TMapIdolGroupFolderUpdate = {
|
|
74
|
-
idol_group_code: string;
|
|
75
|
-
folder_id: string;
|
|
76
|
-
} & Partial<Omit<TMapIdolGroupFolder, "idol_group_code" | "folder_id">>;
|
|
77
56
|
export type TMapIdolGroupEvent = {
|
|
78
57
|
idol_group_code: string;
|
|
79
58
|
event_id: string;
|
|
80
|
-
date
|
|
59
|
+
date?: Date | null;
|
|
81
60
|
};
|
|
82
|
-
export type TMapIdolGroupEventInsert = {
|
|
83
|
-
idol_group_code: string;
|
|
84
|
-
event_id: string;
|
|
85
|
-
} & Partial<Omit<TMapIdolGroupEvent, "idol_group_code" | "event_id">>;
|
|
86
|
-
export type TMapIdolGroupEventUpdate = {
|
|
87
|
-
idol_group_code: string;
|
|
88
|
-
event_id: string;
|
|
89
|
-
} & Partial<Omit<TMapIdolGroupEvent, "idol_group_code" | "event_id">>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TViewLog = {
|
|
2
|
+
content_type: string;
|
|
3
|
+
code: string;
|
|
4
|
+
hash_code: string;
|
|
5
|
+
date: Date;
|
|
6
|
+
view_count: number;
|
|
7
|
+
};
|
|
8
|
+
export type TSharedLog = {
|
|
9
|
+
content_type: string;
|
|
10
|
+
content_id: string;
|
|
11
|
+
provider_code: string;
|
|
12
|
+
shared_count: number;
|
|
13
|
+
};
|
|
14
|
+
export type TSavedLog = {
|
|
15
|
+
content_type: string;
|
|
16
|
+
content_id: string;
|
|
17
|
+
provider_code: string;
|
|
18
|
+
saved_count: number;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-log-types.js","sourceRoot":"","sources":["../../src/db-types/db-log-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type TMapCityFolder = {
|
|
2
|
+
city_code: string;
|
|
3
|
+
folder_id: string;
|
|
4
|
+
earliest_event?: Date | null;
|
|
5
|
+
latest_event?: Date | null;
|
|
6
|
+
};
|
|
7
|
+
export type TMapCityEvent = {
|
|
8
|
+
city_code: string;
|
|
9
|
+
event_id: string;
|
|
10
|
+
date?: Date | null;
|
|
11
|
+
};
|
|
12
|
+
export type TMapCategoryFolder = {
|
|
13
|
+
category_code: string;
|
|
14
|
+
folder_id: string;
|
|
15
|
+
earliest_event?: Date | null;
|
|
16
|
+
latest_event?: Date | null;
|
|
17
|
+
};
|
|
18
|
+
export type TMapCategoryEvent = {
|
|
19
|
+
category_code: string;
|
|
20
|
+
event_id: string;
|
|
21
|
+
date?: Date | null;
|
|
22
|
+
};
|
|
23
|
+
export type TMapStagFolder = {
|
|
24
|
+
stag_code: string;
|
|
25
|
+
folder_id: string;
|
|
26
|
+
earliest_event?: Date | null;
|
|
27
|
+
latest_event?: Date | null;
|
|
28
|
+
};
|
|
29
|
+
export type TMapStagEvent = {
|
|
30
|
+
stag_code: string;
|
|
31
|
+
event_id: string;
|
|
32
|
+
date?: Date | null;
|
|
33
|
+
};
|
|
34
|
+
export type TMapTagFolder = {
|
|
35
|
+
tag_code: string;
|
|
36
|
+
folder_id: string;
|
|
37
|
+
earliest_event?: Date | null;
|
|
38
|
+
latest_event?: Date | null;
|
|
39
|
+
};
|
|
40
|
+
export type TMapTagEvent = {
|
|
41
|
+
tag_code: string;
|
|
42
|
+
event_id: string;
|
|
43
|
+
date?: Date | null;
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-map-types.js","sourceRoot":"","sources":["../../src/db-types/db-map-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type TMetadataI18n = {
|
|
2
|
+
content_code: string;
|
|
3
|
+
code: string;
|
|
4
|
+
lang_code: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
og_title: string | null;
|
|
8
|
+
og_description: string | null;
|
|
9
|
+
og_image: string | null;
|
|
10
|
+
tag_set: string | null;
|
|
11
|
+
};
|
|
12
|
+
export type TMetadataI18nInsert = {
|
|
13
|
+
content_code: string;
|
|
14
|
+
code: string;
|
|
15
|
+
lang_code: string;
|
|
16
|
+
} & Partial<Omit<TMetadataI18n, "content_code" | "code" | "lang_code">>;
|
|
17
|
+
export type TMetadataI18nUpdate = {
|
|
18
|
+
content_code: string;
|
|
19
|
+
code: string;
|
|
20
|
+
lang_code: string;
|
|
21
|
+
} & Partial<Omit<TMetadataI18n, "content_code" | "code" | "lang_code">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-metadata-types.js","sourceRoot":"","sources":["../../src/db-types/db-metadata-types.ts"],"names":[],"mappings":""}
|
|
@@ -2,14 +2,19 @@ export type TPeopleListForAdmin = {
|
|
|
2
2
|
person_code: string;
|
|
3
3
|
name: string;
|
|
4
4
|
name_native: string | null;
|
|
5
|
+
homepage: string | null;
|
|
5
6
|
youtube_ch_id: string | null;
|
|
6
7
|
instagram_id: string | null;
|
|
7
8
|
tiktok_id: string | null;
|
|
8
9
|
threads_id: string | null;
|
|
9
10
|
is_active: boolean;
|
|
10
11
|
is_display: boolean;
|
|
12
|
+
is_official_account: boolean;
|
|
11
13
|
};
|
|
12
14
|
export type TPeopleDetail = TPeopleListForAdmin & {
|
|
15
|
+
thumbnail_square: string | null;
|
|
16
|
+
thumbnail_horizontal: string | null;
|
|
17
|
+
thumbnail_vertical: string | null;
|
|
13
18
|
profile: string | null;
|
|
14
19
|
deactivated_at: Date | null;
|
|
15
20
|
deactivated_by: string | null;
|
|
@@ -42,48 +47,14 @@ export type TPeopleDetailInsert = {
|
|
|
42
47
|
export type TPeopleDetailUpdate = {
|
|
43
48
|
person_code: string;
|
|
44
49
|
} & Partial<Omit<TPeopleDetail, "person_code">>;
|
|
45
|
-
export type TPeopleMetadataI18n = {
|
|
46
|
-
person_code: string;
|
|
47
|
-
lang_code: string;
|
|
48
|
-
title: string | null;
|
|
49
|
-
description: string | null;
|
|
50
|
-
keywords: string | null;
|
|
51
|
-
og_title: string | null;
|
|
52
|
-
og_description: string | null;
|
|
53
|
-
og_image: string | null;
|
|
54
|
-
};
|
|
55
|
-
export type TPeopleMetadataI18nInsert = {
|
|
56
|
-
person_code: string;
|
|
57
|
-
lang_code: string;
|
|
58
|
-
} & Partial<Omit<TPeopleMetadataI18n, "person_code" | "lang_code">>;
|
|
59
|
-
export type TPeopleMetadataI18nUpdate = {
|
|
60
|
-
person_code: string;
|
|
61
|
-
lang_code: string;
|
|
62
|
-
} & Partial<Omit<TPeopleMetadataI18n, "person_code" | "lang_code">>;
|
|
63
50
|
export type TMapPeopleFolder = {
|
|
64
51
|
person_code: string;
|
|
65
52
|
folder_id: string;
|
|
66
|
-
earliest_event
|
|
67
|
-
latest_event
|
|
53
|
+
earliest_event?: Date | null;
|
|
54
|
+
latest_event?: Date | null;
|
|
68
55
|
};
|
|
69
|
-
export type TMapPeopleFolderInsert = {
|
|
70
|
-
person_code: string;
|
|
71
|
-
folder_id: string;
|
|
72
|
-
} & Partial<Omit<TMapPeopleFolder, "person_code" | "folder_id">>;
|
|
73
|
-
export type TMapPeopleFolderUpdate = {
|
|
74
|
-
person_code: string;
|
|
75
|
-
folder_id: string;
|
|
76
|
-
} & Partial<Omit<TMapPeopleFolder, "person_code" | "folder_id">>;
|
|
77
56
|
export type TMapPeopleEvent = {
|
|
78
57
|
person_code: string;
|
|
79
58
|
event_id: string;
|
|
80
|
-
date
|
|
59
|
+
date?: Date | null;
|
|
81
60
|
};
|
|
82
|
-
export type TMapPeopleEventInsert = {
|
|
83
|
-
person_code: string;
|
|
84
|
-
event_id: string;
|
|
85
|
-
} & Partial<Omit<TMapPeopleEvent, "person_code" | "event_id">>;
|
|
86
|
-
export type TMapPeopleEventUpdate = {
|
|
87
|
-
person_code: string;
|
|
88
|
-
event_id: string;
|
|
89
|
-
} & Partial<Omit<TMapPeopleEvent, "person_code" | "event_id">>;
|