dplus_common_v1 0.1.6 → 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/db-types/db-brand-types.d.ts +8 -92
- package/dist/db-types/db-category-types.d.ts +4 -124
- package/dist/db-types/db-celeb-types.d.ts +8 -92
- package/dist/db-types/db-city-types.d.ts +7 -124
- package/dist/db-types/db-company-types.d.ts +8 -92
- 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 -92
- 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 -92
- 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 -92
- 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-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 -92
- package/dist/db-types/db-user-types.d.ts +8 -8
- package/dist/fields/field-brand.d.ts +34 -295
- package/dist/fields/field-brand.js +34 -295
- package/dist/fields/field-brand.js.map +1 -1
- package/dist/fields/field-category.d.ts +28 -373
- package/dist/fields/field-category.js +29 -374
- package/dist/fields/field-category.js.map +1 -1
- package/dist/fields/field-celeb.d.ts +34 -295
- package/dist/fields/field-celeb.js +34 -295
- package/dist/fields/field-celeb.js.map +1 -1
- package/dist/fields/field-city.d.ts +35 -331
- package/dist/fields/field-city.js +52 -348
- package/dist/fields/field-city.js.map +1 -1
- package/dist/fields/field-company.d.ts +34 -295
- package/dist/fields/field-company.js +34 -295
- 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 -295
- package/dist/fields/field-idol-group.js +34 -295
- 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 -295
- package/dist/fields/field-people.js +34 -295
- 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 -295
- package/dist/fields/field-product.js +34 -295
- package/dist/fields/field-product.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-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 -295
- package/dist/fields/field-team.js +34 -295
- package/dist/fields/field-team.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
|
@@ -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,103 +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
|
|
68
|
-
};
|
|
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
|
-
export type TMapIdolGroupSelectedFolder = {
|
|
78
|
-
idol_group_code: string;
|
|
79
|
-
folder_id: string;
|
|
80
|
-
title: string | null;
|
|
81
|
-
profile: string | null;
|
|
82
|
-
description: string | null;
|
|
83
|
-
target_country_code: string | null;
|
|
84
|
-
target_city_code: string | null;
|
|
85
|
-
hero_image_01: string | null;
|
|
86
|
-
hero_image_02: string | null;
|
|
87
|
-
thumbnail_main_01: string | null;
|
|
88
|
-
thumbnail_main_02: string | null;
|
|
89
|
-
thumbnail_vertical_01: string | null;
|
|
90
|
-
thumbnail_vertical_02: string | null;
|
|
91
|
-
earliest_event: Date | null;
|
|
92
|
-
latest_event: Date | null;
|
|
53
|
+
earliest_event?: Date | null;
|
|
54
|
+
latest_event?: Date | null;
|
|
93
55
|
};
|
|
94
|
-
export type TMapIdolGroupSelectedFolderInsert = {
|
|
95
|
-
idol_group_code: string;
|
|
96
|
-
folder_id: string;
|
|
97
|
-
} & Partial<Omit<TMapIdolGroupSelectedFolder, "idol_group_code" | "folder_id">>;
|
|
98
|
-
export type TMapIdolGroupSelectedFolderUpdate = {
|
|
99
|
-
idol_group_code: string;
|
|
100
|
-
folder_id: string;
|
|
101
|
-
} & Partial<Omit<TMapIdolGroupSelectedFolder, "idol_group_code" | "folder_id">>;
|
|
102
56
|
export type TMapIdolGroupEvent = {
|
|
103
57
|
idol_group_code: string;
|
|
104
58
|
event_id: string;
|
|
105
|
-
date
|
|
106
|
-
};
|
|
107
|
-
export type TMapIdolGroupEventInsert = {
|
|
108
|
-
idol_group_code: string;
|
|
109
|
-
event_id: string;
|
|
110
|
-
} & Partial<Omit<TMapIdolGroupEvent, "idol_group_code" | "event_id">>;
|
|
111
|
-
export type TMapIdolGroupEventUpdate = {
|
|
112
|
-
idol_group_code: string;
|
|
113
|
-
event_id: string;
|
|
114
|
-
} & Partial<Omit<TMapIdolGroupEvent, "idol_group_code" | "event_id">>;
|
|
115
|
-
export type TMapIdolGroupSelectedEvent = {
|
|
116
|
-
idol_group_code: string;
|
|
117
|
-
event_id: string;
|
|
118
|
-
folder_id: string | null;
|
|
119
|
-
date: Date | null;
|
|
120
|
-
time: Date | null;
|
|
121
|
-
tz: string | null;
|
|
122
|
-
utc_minutes: number | null;
|
|
123
|
-
duration_minutes: number | null;
|
|
124
|
-
is_repeat_annually: boolean;
|
|
125
|
-
title: string;
|
|
126
|
-
profile: string | null;
|
|
127
|
-
description: string | null;
|
|
128
|
-
target_country_code: string | null;
|
|
129
|
-
target_city_code: string | null;
|
|
130
|
-
hero_image_01: string | null;
|
|
131
|
-
hero_image_02: string | null;
|
|
132
|
-
thumbnail_main_01: string | null;
|
|
133
|
-
thumbnail_main_02: string | null;
|
|
134
|
-
thumbnail_vertical_01: string | null;
|
|
135
|
-
thumbnail_vertical_02: string | null;
|
|
59
|
+
date?: Date | null;
|
|
136
60
|
};
|
|
137
|
-
export type TMapIdolGroupSelectedEventInsert = {
|
|
138
|
-
idol_group_code: string;
|
|
139
|
-
event_id: string;
|
|
140
|
-
} & Partial<Omit<TMapIdolGroupSelectedEvent, "idol_group_code" | "event_id">>;
|
|
141
|
-
export type TMapIdolGroupSelectedEventUpdate = {
|
|
142
|
-
idol_group_code: string;
|
|
143
|
-
event_id: string;
|
|
144
|
-
} & Partial<Omit<TMapIdolGroupSelectedEvent, "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,103 +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
|
|
68
|
-
};
|
|
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
|
-
export type TMapPeopleSelectedFolder = {
|
|
78
|
-
person_code: string;
|
|
79
|
-
folder_id: string;
|
|
80
|
-
title: string | null;
|
|
81
|
-
profile: string | null;
|
|
82
|
-
description: string | null;
|
|
83
|
-
target_country_code: string | null;
|
|
84
|
-
target_city_code: string | null;
|
|
85
|
-
hero_image_01: string | null;
|
|
86
|
-
hero_image_02: string | null;
|
|
87
|
-
thumbnail_main_01: string | null;
|
|
88
|
-
thumbnail_main_02: string | null;
|
|
89
|
-
thumbnail_vertical_01: string | null;
|
|
90
|
-
thumbnail_vertical_02: string | null;
|
|
91
|
-
earliest_event: Date | null;
|
|
92
|
-
latest_event: Date | null;
|
|
53
|
+
earliest_event?: Date | null;
|
|
54
|
+
latest_event?: Date | null;
|
|
93
55
|
};
|
|
94
|
-
export type TMapPeopleSelectedFolderInsert = {
|
|
95
|
-
person_code: string;
|
|
96
|
-
folder_id: string;
|
|
97
|
-
} & Partial<Omit<TMapPeopleSelectedFolder, "person_code" | "folder_id">>;
|
|
98
|
-
export type TMapPeopleSelectedFolderUpdate = {
|
|
99
|
-
person_code: string;
|
|
100
|
-
folder_id: string;
|
|
101
|
-
} & Partial<Omit<TMapPeopleSelectedFolder, "person_code" | "folder_id">>;
|
|
102
56
|
export type TMapPeopleEvent = {
|
|
103
57
|
person_code: string;
|
|
104
58
|
event_id: string;
|
|
105
|
-
date
|
|
106
|
-
};
|
|
107
|
-
export type TMapPeopleEventInsert = {
|
|
108
|
-
person_code: string;
|
|
109
|
-
event_id: string;
|
|
110
|
-
} & Partial<Omit<TMapPeopleEvent, "person_code" | "event_id">>;
|
|
111
|
-
export type TMapPeopleEventUpdate = {
|
|
112
|
-
person_code: string;
|
|
113
|
-
event_id: string;
|
|
114
|
-
} & Partial<Omit<TMapPeopleEvent, "person_code" | "event_id">>;
|
|
115
|
-
export type TMapPeopleSelectedEvent = {
|
|
116
|
-
person_code: string;
|
|
117
|
-
event_id: string;
|
|
118
|
-
folder_id: string | null;
|
|
119
|
-
date: Date | null;
|
|
120
|
-
time: Date | null;
|
|
121
|
-
tz: string | null;
|
|
122
|
-
utc_minutes: number | null;
|
|
123
|
-
duration_minutes: number | null;
|
|
124
|
-
is_repeat_annually: boolean;
|
|
125
|
-
title: string;
|
|
126
|
-
profile: string | null;
|
|
127
|
-
description: string | null;
|
|
128
|
-
target_country_code: string | null;
|
|
129
|
-
target_city_code: string | null;
|
|
130
|
-
hero_image_01: string | null;
|
|
131
|
-
hero_image_02: string | null;
|
|
132
|
-
thumbnail_main_01: string | null;
|
|
133
|
-
thumbnail_main_02: string | null;
|
|
134
|
-
thumbnail_vertical_01: string | null;
|
|
135
|
-
thumbnail_vertical_02: string | null;
|
|
59
|
+
date?: Date | null;
|
|
136
60
|
};
|
|
137
|
-
export type TMapPeopleSelectedEventInsert = {
|
|
138
|
-
person_code: string;
|
|
139
|
-
event_id: string;
|
|
140
|
-
} & Partial<Omit<TMapPeopleSelectedEvent, "person_code" | "event_id">>;
|
|
141
|
-
export type TMapPeopleSelectedEventUpdate = {
|
|
142
|
-
person_code: string;
|
|
143
|
-
event_id: string;
|
|
144
|
-
} & Partial<Omit<TMapPeopleSelectedEvent, "person_code" | "event_id">>;
|
|
@@ -0,0 +1,108 @@
|
|
|
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">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db-pevent-types.js","sourceRoot":"","sources":["../../src/db-types/db-pevent-types.ts"],"names":[],"mappings":""}
|