dplus_common_v1 0.1.1 → 0.1.2

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.
Files changed (148) hide show
  1. package/dist/consts/all-countries.d.ts +5 -0
  2. package/dist/consts/all-countries.js +256 -0
  3. package/dist/consts/all-countries.js.map +1 -0
  4. package/dist/consts/all-languages.d.ts +5 -0
  5. package/dist/consts/all-languages.js +191 -0
  6. package/dist/consts/all-languages.js.map +1 -0
  7. package/dist/consts/common.d.ts +33 -0
  8. package/dist/consts/common.js +34 -0
  9. package/dist/consts/common.js.map +1 -0
  10. package/dist/consts/db.d.ts +86 -0
  11. package/dist/consts/db.js +87 -0
  12. package/dist/consts/db.js.map +1 -0
  13. package/dist/consts/supported-countries.d.ts +7 -0
  14. package/dist/consts/supported-countries.js +18 -0
  15. package/dist/consts/supported-countries.js.map +1 -0
  16. package/dist/consts/supported-languages.d.ts +15 -0
  17. package/dist/consts/supported-languages.js +28 -0
  18. package/dist/consts/supported-languages.js.map +1 -0
  19. package/dist/db-types/db-administrator-types.d.ts +26 -0
  20. package/dist/db-types/db-administrator-types.js +2 -0
  21. package/dist/db-types/db-administrator-types.js.map +1 -0
  22. package/dist/db-types/db-brand-types.d.ts +90 -0
  23. package/dist/db-types/db-brand-types.js +2 -0
  24. package/dist/db-types/db-brand-types.js.map +1 -0
  25. package/dist/db-types/db-category-types.d.ts +151 -0
  26. package/dist/db-types/db-category-types.js +2 -0
  27. package/dist/db-types/db-category-types.js.map +1 -0
  28. package/dist/db-types/db-celeb-types.d.ts +90 -0
  29. package/dist/db-types/db-celeb-types.js +2 -0
  30. package/dist/db-types/db-celeb-types.js.map +1 -0
  31. package/dist/db-types/db-city-types.d.ts +201 -0
  32. package/dist/db-types/db-city-types.js +2 -0
  33. package/dist/db-types/db-city-types.js.map +1 -0
  34. package/dist/db-types/db-company-types.d.ts +89 -0
  35. package/dist/db-types/db-company-types.js +2 -0
  36. package/dist/db-types/db-company-types.js.map +1 -0
  37. package/dist/db-types/db-event-types.d.ts +142 -0
  38. package/dist/db-types/db-event-types.js +2 -0
  39. package/dist/db-types/db-event-types.js.map +1 -0
  40. package/dist/db-types/db-folder-types.d.ts +114 -0
  41. package/dist/db-types/db-folder-types.js +2 -0
  42. package/dist/db-types/db-folder-types.js.map +1 -0
  43. package/dist/db-types/db-i18n-types.d.ts +17 -0
  44. package/dist/db-types/db-i18n-types.js +2 -0
  45. package/dist/db-types/db-i18n-types.js.map +1 -0
  46. package/dist/db-types/db-idol-group-types.d.ts +89 -0
  47. package/dist/db-types/db-idol-group-types.js +2 -0
  48. package/dist/db-types/db-idol-group-types.js.map +1 -0
  49. package/dist/db-types/db-people-types.d.ts +89 -0
  50. package/dist/db-types/db-people-types.js +2 -0
  51. package/dist/db-types/db-people-types.js.map +1 -0
  52. package/dist/db-types/db-product-types.d.ts +91 -0
  53. package/dist/db-types/db-product-types.js +2 -0
  54. package/dist/db-types/db-product-types.js.map +1 -0
  55. package/dist/db-types/db-public-event-types.d.ts +142 -0
  56. package/dist/db-types/db-public-event-types.js +2 -0
  57. package/dist/db-types/db-public-event-types.js.map +1 -0
  58. package/dist/db-types/db-service-provider-types.d.ts +13 -0
  59. package/dist/db-types/db-service-provider-types.js +2 -0
  60. package/dist/db-types/db-service-provider-types.js.map +1 -0
  61. package/dist/db-types/db-special-tag-types.d.ts +146 -0
  62. package/dist/db-types/db-special-tag-types.js +2 -0
  63. package/dist/db-types/db-special-tag-types.js.map +1 -0
  64. package/dist/db-types/db-tag-types.d.ts +32 -0
  65. package/dist/db-types/db-tag-types.js +2 -0
  66. package/dist/db-types/db-tag-types.js.map +1 -0
  67. package/dist/db-types/db-team-types.d.ts +89 -0
  68. package/dist/db-types/db-team-types.js +2 -0
  69. package/dist/db-types/db-team-types.js.map +1 -0
  70. package/dist/db-types/db-user-report-types.d.ts +75 -0
  71. package/dist/db-types/db-user-report-types.js +2 -0
  72. package/dist/db-types/db-user-report-types.js.map +1 -0
  73. package/dist/db-types/db-user-types.d.ts +84 -0
  74. package/dist/db-types/db-user-types.js +2 -0
  75. package/dist/db-types/db-user-types.js.map +1 -0
  76. package/dist/dplus-types/dplus-response-types.d.ts +5 -0
  77. package/dist/dplus-types/dplus-response-types.js +57 -0
  78. package/dist/dplus-types/dplus-response-types.js.map +1 -0
  79. package/dist/fields/field-administrator.d.ts +92 -0
  80. package/dist/fields/field-administrator.js +93 -0
  81. package/dist/fields/field-administrator.js.map +1 -0
  82. package/dist/fields/field-brand.d.ts +352 -0
  83. package/dist/fields/field-brand.js +353 -0
  84. package/dist/fields/field-brand.js.map +1 -0
  85. package/dist/fields/field-category.d.ts +449 -0
  86. package/dist/fields/field-category.js +450 -0
  87. package/dist/fields/field-category.js.map +1 -0
  88. package/dist/fields/field-celeb.d.ts +352 -0
  89. package/dist/fields/field-celeb.js +353 -0
  90. package/dist/fields/field-celeb.js.map +1 -0
  91. package/dist/fields/field-city.d.ts +613 -0
  92. package/dist/fields/field-city.js +614 -0
  93. package/dist/fields/field-city.js.map +1 -0
  94. package/dist/fields/field-company.d.ts +345 -0
  95. package/dist/fields/field-company.js +346 -0
  96. package/dist/fields/field-company.js.map +1 -0
  97. package/dist/fields/field-country.d.ts +35 -0
  98. package/dist/fields/field-country.js +36 -0
  99. package/dist/fields/field-country.js.map +1 -0
  100. package/dist/fields/field-event.d.ts +580 -0
  101. package/dist/fields/field-event.js +581 -0
  102. package/dist/fields/field-event.js.map +1 -0
  103. package/dist/fields/field-folder.d.ts +481 -0
  104. package/dist/fields/field-folder.js +482 -0
  105. package/dist/fields/field-folder.js.map +1 -0
  106. package/dist/fields/field-idol-group.d.ts +345 -0
  107. package/dist/fields/field-idol-group.js +346 -0
  108. package/dist/fields/field-idol-group.js.map +1 -0
  109. package/dist/fields/field-language.d.ts +23 -0
  110. package/dist/fields/field-language.js +24 -0
  111. package/dist/fields/field-language.js.map +1 -0
  112. package/dist/fields/field-manager.d.ts +49 -0
  113. package/dist/fields/field-manager.js +50 -0
  114. package/dist/fields/field-manager.js.map +1 -0
  115. package/dist/fields/field-map-country-language.d.ts +23 -0
  116. package/dist/fields/field-map-country-language.js +24 -0
  117. package/dist/fields/field-map-country-language.js.map +1 -0
  118. package/dist/fields/field-people.d.ts +345 -0
  119. package/dist/fields/field-people.js +346 -0
  120. package/dist/fields/field-people.js.map +1 -0
  121. package/dist/fields/field-product.d.ts +359 -0
  122. package/dist/fields/field-product.js +360 -0
  123. package/dist/fields/field-product.js.map +1 -0
  124. package/dist/fields/field-public-event.d.ts +574 -0
  125. package/dist/fields/field-public-event.js +575 -0
  126. package/dist/fields/field-public-event.js.map +1 -0
  127. package/dist/fields/field-service-provider.d.ts +30 -0
  128. package/dist/fields/field-service-provider.js +31 -0
  129. package/dist/fields/field-service-provider.js.map +1 -0
  130. package/dist/fields/field-special-tag.d.ts +438 -0
  131. package/dist/fields/field-special-tag.js +439 -0
  132. package/dist/fields/field-special-tag.js.map +1 -0
  133. package/dist/fields/field-tag.d.ts +73 -0
  134. package/dist/fields/field-tag.js +74 -0
  135. package/dist/fields/field-tag.js.map +1 -0
  136. package/dist/fields/field-team.d.ts +345 -0
  137. package/dist/fields/field-team.js +346 -0
  138. package/dist/fields/field-team.js.map +1 -0
  139. package/dist/fields/field-user-report.d.ts +315 -0
  140. package/dist/fields/field-user-report.js +316 -0
  141. package/dist/fields/field-user-report.js.map +1 -0
  142. package/dist/fields/field-user.d.ts +167 -0
  143. package/dist/fields/field-user.js +168 -0
  144. package/dist/fields/field-user.js.map +1 -0
  145. package/dist/index.d.ts +48 -0
  146. package/dist/index.js +48 -1
  147. package/dist/index.js.map +1 -1
  148. package/package.json +1 -1
@@ -0,0 +1,201 @@
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 TCityListAdmin = 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 = TCityListAdmin & {
22
+ location: string | null;
23
+ latitude: number | null;
24
+ longitude: number | null;
25
+ radius_m: number | null;
26
+ address_native: string;
27
+ naver_map_url: string | null;
28
+ deactivated_at: Date | null;
29
+ deactivated_by: string | null;
30
+ hero_image_01: string | null;
31
+ hero_image_02: string | null;
32
+ hero_image_03: string | null;
33
+ hero_image_04: string | null;
34
+ hero_image_05: string | null;
35
+ thumbnail_main_01: string | null;
36
+ thumbnail_main_02: string | null;
37
+ thumbnail_main_03: string | null;
38
+ thumbnail_main_04: string | null;
39
+ thumbnail_main_05: string | null;
40
+ thumbnail_vertical_01: string | null;
41
+ thumbnail_vertical_02: string | null;
42
+ thumbnail_vertical_03: string | null;
43
+ thumbnail_vertical_04: string | null;
44
+ thumbnail_vertical_05: string | null;
45
+ metadata_title: string | null;
46
+ metadata_description: string | null;
47
+ metadata_keywords: string | null;
48
+ metadata_og_title: string | null;
49
+ metadata_og_description: string | null;
50
+ metadata_og_image: string | null;
51
+ };
52
+ export type TCityDetailInsert = {
53
+ country_code: string;
54
+ city_code: string;
55
+ name: string;
56
+ location: string;
57
+ latitude: number;
58
+ longitude: number;
59
+ radius_m: number;
60
+ address: string;
61
+ } & Partial<Omit<TCityDetail, "city_code" | "country_code" | "name" | "location" | "latitude" | "longitude" | "radius_m" | "address">>;
62
+ export type TCityDetailUpdate = {
63
+ city_code: string;
64
+ } & 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
+ export type TCityImage = {
81
+ city_code: string;
82
+ hash_code: string;
83
+ label: string | null;
84
+ orientation: string | null;
85
+ order_num: number;
86
+ image_url: string;
87
+ };
88
+ export type TCityImageInsert = {
89
+ city_code: string;
90
+ hash_code: string;
91
+ image_url: string;
92
+ } & Partial<Omit<TCityImage, "city_code" | "hash_code" | "image_url">>;
93
+ export type TCityImageUpdate = {
94
+ city_code: string;
95
+ hash_code: string;
96
+ } & Partial<Omit<TCityImage, "city_code" | "hash_code">>;
97
+ export type TCityYouTubeVideo = {
98
+ city_code: string;
99
+ hash_code: string;
100
+ priority: string;
101
+ youtube_video_id: string;
102
+ title: string | null;
103
+ published_at: Date | null;
104
+ duration: string | null;
105
+ };
106
+ export type TCityYouTubeVideoInsert = {
107
+ city_code: string;
108
+ hash_code: string;
109
+ priority: string;
110
+ youtube_video_id: string;
111
+ } & Partial<Omit<TCityYouTubeVideo, "city_code" | "hash_code" | "priority" | "youtube_video_id">>;
112
+ export type TCityYouTubeVideoUpdate = {
113
+ city_code: string;
114
+ hash_code: string;
115
+ } & Partial<Omit<TCityYouTubeVideo, "city_code" | "hash_code">>;
116
+ export type TCityI18n = {
117
+ city_code: string;
118
+ lang_code: string;
119
+ name: string;
120
+ };
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">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-city-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-city-types.js","sourceRoot":"","sources":["../../src/db-types/db-city-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,89 @@
1
+ export type TCompanyListForAdmin = {
2
+ company_code: string;
3
+ name: string;
4
+ name_native: string | null;
5
+ youtube_ch_id: string | null;
6
+ instagram_id: string | null;
7
+ tiktok_id: string | null;
8
+ threads_id: string | null;
9
+ is_active: boolean;
10
+ is_display: boolean;
11
+ };
12
+ export type TCompanyDetail = TCompanyListForAdmin & {
13
+ profile: string | null;
14
+ deactivated_at: Date | null;
15
+ deactivated_by: string | null;
16
+ hero_image_01: string | null;
17
+ hero_image_02: string | null;
18
+ hero_image_03: string | null;
19
+ hero_image_04: string | null;
20
+ hero_image_05: string | null;
21
+ thumbnail_main_01: string | null;
22
+ thumbnail_main_02: string | null;
23
+ thumbnail_main_03: string | null;
24
+ thumbnail_main_04: string | null;
25
+ thumbnail_main_05: string | null;
26
+ thumbnail_vertical_01: string | null;
27
+ thumbnail_vertical_02: string | null;
28
+ thumbnail_vertical_03: string | null;
29
+ thumbnail_vertical_04: string | null;
30
+ thumbnail_vertical_05: string | null;
31
+ metadata_title: string | null;
32
+ metadata_description: string | null;
33
+ metadata_keywords: string | null;
34
+ metadata_og_title: string | null;
35
+ metadata_og_description: string | null;
36
+ metadata_og_image: string | null;
37
+ };
38
+ export type TCompanyInsert = {
39
+ company_code: string;
40
+ name: string;
41
+ } & Partial<Omit<TCompanyDetail, "company_code">>;
42
+ export type TCompanyUpdate = {
43
+ company_code: string;
44
+ } & 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
+ export type TMapCompanyFolder = {
64
+ company_code: string;
65
+ folder_id: string;
66
+ earliest_event: Date | null;
67
+ latest_event: Date | null;
68
+ };
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
+ export type TMapCompanyEvent = {
78
+ company_code: string;
79
+ event_id: string;
80
+ date: Date | null;
81
+ };
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">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-company-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-company-types.js","sourceRoot":"","sources":["../../src/db-types/db-company-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,142 @@
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
+ duration: number | null;
8
+ is_repeat_annually: boolean;
9
+ title: string;
10
+ target_country_code: string;
11
+ target_city_code: string | null;
12
+ is_public: boolean;
13
+ view_count: number;
14
+ added_count: number;
15
+ shared_count: number;
16
+ saved_count: number;
17
+ is_ever_public: boolean;
18
+ is_active: boolean;
19
+ is_display: boolean;
20
+ };
21
+ export type TEventDetail = TEventListForAdmin & {
22
+ tz: string;
23
+ utc_minutes: number;
24
+ profile: string | null;
25
+ description: string | null;
26
+ created_at: Date;
27
+ is_admin_created: boolean;
28
+ created_by: string | null;
29
+ url_label: string | null;
30
+ url: string | null;
31
+ email: string | null;
32
+ phone_country_code: string | null;
33
+ phone: string | null;
34
+ location: string | null;
35
+ latitude: number | null;
36
+ longitude: number | null;
37
+ radius_m: number | null;
38
+ address_eng: string | null;
39
+ address_native: string | null;
40
+ target_age_start: number | null;
41
+ target_age_end: number | null;
42
+ target_sex: string | null;
43
+ is_target_for_family: boolean;
44
+ is_target_for_couple: boolean;
45
+ is_target_for_children: boolean;
46
+ is_target_for_single: boolean;
47
+ is_target_for_traveler: boolean;
48
+ updated_at: Date;
49
+ tags: string[] | string | null;
50
+ deactivated_at: Date | null;
51
+ deactivated_by: string | null;
52
+ hero_image_01: string | null;
53
+ hero_image_02: string | null;
54
+ hero_image_03: string | null;
55
+ hero_image_04: string | null;
56
+ hero_image_05: string | null;
57
+ thumbnail_main_01: string | null;
58
+ thumbnail_main_02: string | null;
59
+ thumbnail_main_03: string | null;
60
+ thumbnail_main_04: string | null;
61
+ thumbnail_main_05: string | null;
62
+ thumbnail_vertical_01: string | null;
63
+ thumbnail_vertical_02: string | null;
64
+ thumbnail_vertical_03: string | null;
65
+ thumbnail_vertical_04: string | null;
66
+ thumbnail_vertical_05: string | null;
67
+ metadata_title: string | null;
68
+ metadata_description: string | null;
69
+ metadata_keywords: string | null;
70
+ metadata_og_title: string | null;
71
+ metadata_og_description: string | null;
72
+ metadata_og_image: string | null;
73
+ };
74
+ export type TEventDetailInsert = {
75
+ event_id: string;
76
+ event_code: string;
77
+ date: Date;
78
+ tz: string;
79
+ utc_minutes: number;
80
+ title: string;
81
+ } & Partial<Omit<TEventDetail, "event_id" | "event_code" | "date" | "tz" | "utc_minutes" | "title">>;
82
+ export type TEventDetailUpdate = {
83
+ event_id: string;
84
+ } & 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
+ export type TEventImage = {
101
+ event_id: string;
102
+ hash_code: string;
103
+ label: string | null;
104
+ orientation: string | null;
105
+ order_num: number;
106
+ image_url: string;
107
+ };
108
+ export type TEventImageInsert = {
109
+ event_id: string;
110
+ hash_code: string;
111
+ image_url: string;
112
+ } & Partial<Omit<TEventImage, "event_id" | "hash_code" | "image_url">>;
113
+ export type TEventImageUpdate = {
114
+ event_id: string;
115
+ hash_code: string;
116
+ } & 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">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-event-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-event-types.js","sourceRoot":"","sources":["../../src/db-types/db-event-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,114 @@
1
+ export type TFolderListForAdmin = {
2
+ folder_id: string;
3
+ folder_code: string;
4
+ title: string;
5
+ homepage: string | null;
6
+ url: string | null;
7
+ is_public: boolean;
8
+ view_count: number;
9
+ event_count: number;
10
+ added_count: number;
11
+ shared_count: number;
12
+ earliest_event: Date;
13
+ latest_event: Date;
14
+ is_active: boolean;
15
+ };
16
+ export type TFolderDetail = TFolderListForAdmin & {
17
+ profile: string | null;
18
+ 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
+ url_label: string | null;
25
+ email: string | null;
26
+ phone_country_code: string | null;
27
+ phone: string | null;
28
+ target_age_start: number | null;
29
+ target_age_end: number | null;
30
+ target_sex: string | null;
31
+ is_target_for_family: boolean;
32
+ is_target_for_couple: boolean;
33
+ is_target_for_children: boolean;
34
+ is_target_for_single: boolean;
35
+ is_target_for_traveler: boolean;
36
+ updated_at: Date;
37
+ tags: string[] | string | null;
38
+ deactivated_at: Date | null;
39
+ deactivated_by: string | null;
40
+ is_display: boolean;
41
+ hero_image_01: string | null;
42
+ hero_image_02: string | null;
43
+ hero_image_03: string | null;
44
+ hero_image_04: string | null;
45
+ hero_image_05: string | null;
46
+ thumbnail_main_01: string | null;
47
+ thumbnail_main_02: string | null;
48
+ thumbnail_main_03: string | null;
49
+ thumbnail_main_04: string | null;
50
+ thumbnail_main_05: string | null;
51
+ thumbnail_vertical_01: string | null;
52
+ thumbnail_vertical_02: string | null;
53
+ thumbnail_vertical_03: string | null;
54
+ thumbnail_vertical_04: string | null;
55
+ thumbnail_vertical_05: string | null;
56
+ metadata_title: string | null;
57
+ metadata_description: string | null;
58
+ metadata_keywords: string | null;
59
+ metadata_og_title: string | null;
60
+ metadata_og_description: string | null;
61
+ metadata_og_image: string | null;
62
+ };
63
+ export type TFolderDetailInsert = {
64
+ folder_code: string;
65
+ title: string;
66
+ } & Partial<Omit<TFolderDetail, "folder_code" | "title">>;
67
+ export type TFolderDetailUpdate = {
68
+ folder_code: string;
69
+ } & 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
+ export type TFolderImage = {
86
+ folder_id: string;
87
+ hash_code: string;
88
+ label: string | null;
89
+ orientation: string | null;
90
+ order_num: number;
91
+ image_url: string;
92
+ };
93
+ export type TFolderImageInsert = {
94
+ folder_id: string;
95
+ hash_code: string;
96
+ image_url: string;
97
+ } & Partial<Omit<TFolderImage, "folder_id" | "hash_code" | "image_url">>;
98
+ export type TFolderImageUpdate = {
99
+ folder_id: string;
100
+ hash_code: string;
101
+ } & 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">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-folder-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-folder-types.js","sourceRoot":"","sources":["../../src/db-types/db-folder-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ export type TLanguage = {
2
+ lang_code: string;
3
+ lang_name: string;
4
+ native: string;
5
+ };
6
+ export type TCountry = {
7
+ country_code: string;
8
+ country_name: string;
9
+ native: string;
10
+ event_count: number;
11
+ user_count: number;
12
+ };
13
+ export type TMapCountryLanguage = {
14
+ country_lang_code: string;
15
+ country_code: string;
16
+ lang_code: string;
17
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-i18n-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-i18n-types.js","sourceRoot":"","sources":["../../src/db-types/db-i18n-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,89 @@
1
+ export type TIdolGroupListForAdmin = {
2
+ idol_group_code: string;
3
+ group_name: string;
4
+ group_name_native: string | null;
5
+ youtube_ch_id: string | null;
6
+ instagram_id: string | null;
7
+ tiktok_id: string | null;
8
+ threads_id: string | null;
9
+ is_active: boolean;
10
+ is_display: boolean;
11
+ };
12
+ export type TIdolGroupDetail = TIdolGroupListForAdmin & {
13
+ profile: string | null;
14
+ deactivated_at: Date | null;
15
+ deactivated_by: string | null;
16
+ hero_image_01: string | null;
17
+ hero_image_02: string | null;
18
+ hero_image_03: string | null;
19
+ hero_image_04: string | null;
20
+ hero_image_05: string | null;
21
+ thumbnail_main_01: string | null;
22
+ thumbnail_main_02: string | null;
23
+ thumbnail_main_03: string | null;
24
+ thumbnail_main_04: string | null;
25
+ thumbnail_main_05: string | null;
26
+ thumbnail_vertical_01: string | null;
27
+ thumbnail_vertical_02: string | null;
28
+ thumbnail_vertical_03: string | null;
29
+ thumbnail_vertical_04: string | null;
30
+ thumbnail_vertical_05: string | null;
31
+ metadata_title: string | null;
32
+ metadata_description: string | null;
33
+ metadata_keywords: string | null;
34
+ metadata_og_title: string | null;
35
+ metadata_og_description: string | null;
36
+ metadata_og_image: string | null;
37
+ };
38
+ export type TIdolGroupDetailInsert = {
39
+ idol_group_code: string;
40
+ group_name: string;
41
+ } & Partial<Omit<TIdolGroupDetail, "idol_group_code">>;
42
+ export type TIdolGroupDetailUpdate = {
43
+ idol_group_code: string;
44
+ } & 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
+ export type TMapIdolGroupFolder = {
64
+ idol_group_code: string;
65
+ folder_id: string;
66
+ earliest_event: Date | null;
67
+ latest_event: Date | null;
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 TMapIdolGroupEvent = {
78
+ idol_group_code: string;
79
+ event_id: string;
80
+ date: Date | null;
81
+ };
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">>;