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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-idol-group-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-idol-group-types.js","sourceRoot":"","sources":["../../src/db-types/db-idol-group-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,89 @@
1
+ export type TPeopleListForAdmin = {
2
+ person_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 TPeopleDetail = TPeopleListForAdmin & {
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 TPeopleInsert = {
39
+ person_code: string;
40
+ name: string;
41
+ } & Partial<Omit<TPeopleDetail, "person_code">>;
42
+ export type TPeopleUpdate = {
43
+ person_code: string;
44
+ } & 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
+ export type TMapPeopleFolder = {
64
+ person_code: string;
65
+ folder_id: string;
66
+ earliest_event: Date | null;
67
+ latest_event: Date | null;
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 TMapPeopleEvent = {
78
+ person_code: string;
79
+ event_id: string;
80
+ date: Date | null;
81
+ };
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">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-people-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-people-types.js","sourceRoot":"","sources":["../../src/db-types/db-people-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,91 @@
1
+ export type TProductListForAdmin = {
2
+ product_code: string;
3
+ company_code: string | null;
4
+ brand_code: string | null;
5
+ name: string;
6
+ name_native: string | null;
7
+ youtube_ch_id: string | null;
8
+ instagram_id: string | null;
9
+ tiktok_id: string | null;
10
+ threads_id: string | null;
11
+ is_active: boolean;
12
+ is_display: boolean;
13
+ };
14
+ export type TProductDetail = TProductListForAdmin & {
15
+ profile: string | null;
16
+ deactivated_at: Date | null;
17
+ deactivated_by: string | null;
18
+ hero_image_01: string | null;
19
+ hero_image_02: string | null;
20
+ hero_image_03: string | null;
21
+ hero_image_04: string | null;
22
+ hero_image_05: string | null;
23
+ thumbnail_main_01: string | null;
24
+ thumbnail_main_02: string | null;
25
+ thumbnail_main_03: string | null;
26
+ thumbnail_main_04: string | null;
27
+ thumbnail_main_05: string | null;
28
+ thumbnail_vertical_01: string | null;
29
+ thumbnail_vertical_02: string | null;
30
+ thumbnail_vertical_03: string | null;
31
+ thumbnail_vertical_04: string | null;
32
+ thumbnail_vertical_05: string | null;
33
+ metadata_title: string | null;
34
+ metadata_description: string | null;
35
+ metadata_keywords: string | null;
36
+ metadata_og_title: string | null;
37
+ metadata_og_description: string | null;
38
+ metadata_og_image: string | null;
39
+ };
40
+ export type TProductInsert = {
41
+ product_code: string;
42
+ name: string;
43
+ } & Partial<Omit<TProductDetail, "product_code">>;
44
+ export type TProductUpdate = {
45
+ product_code: string;
46
+ } & Partial<Omit<TProductDetail, "product_code">>;
47
+ export type TProductMetadataI18n = {
48
+ product_code: string;
49
+ lang_code: string;
50
+ title: string | null;
51
+ description: string | null;
52
+ keywords: string | null;
53
+ og_title: string | null;
54
+ og_description: string | null;
55
+ og_image: string | null;
56
+ };
57
+ export type TProductMetadataI18nInsert = {
58
+ product_code: string;
59
+ lang_code: string;
60
+ } & Partial<Omit<TProductMetadataI18n, "product_code" | "lang_code">>;
61
+ export type TProductMetadataI18nUpdate = {
62
+ product_code: string;
63
+ lang_code: string;
64
+ } & Partial<Omit<TProductMetadataI18n, "product_code" | "lang_code">>;
65
+ export type TMapProductFolder = {
66
+ product_code: string;
67
+ folder_id: string;
68
+ earliest_event: Date | null;
69
+ latest_event: Date | null;
70
+ };
71
+ export type TMapProductFolderInsert = {
72
+ product_code: string;
73
+ folder_id: string;
74
+ } & Partial<Omit<TMapProductFolder, "product_code" | "folder_id">>;
75
+ export type TMapProductFolderUpdate = {
76
+ product_code: string;
77
+ folder_id: string;
78
+ } & Partial<Omit<TMapProductFolder, "product_code" | "folder_id">>;
79
+ export type TMapProductEvent = {
80
+ product_code: string;
81
+ event_id: string;
82
+ date: Date | null;
83
+ };
84
+ export type TMapProductEventInsert = {
85
+ product_code: string;
86
+ event_id: string;
87
+ } & Partial<Omit<TMapProductEvent, "product_code" | "event_id">>;
88
+ export type TMapProductEventUpdate = {
89
+ product_code: string;
90
+ event_id: string;
91
+ } & Partial<Omit<TMapProductEvent, "product_code" | "event_id">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-product-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-product-types.js","sourceRoot":"","sources":["../../src/db-types/db-product-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,142 @@
1
+ export type TPublicEventListForAdmin = {
2
+ public_event_id: string;
3
+ public_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 TPublicEventDetail = TPublicEventListForAdmin & {
22
+ tz: string;
23
+ utc_minutes: number;
24
+ description: string | null;
25
+ created_at: Date;
26
+ is_admin_created: boolean;
27
+ created_by: string | null;
28
+ homepage: 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 TPublicEventDetailInsert = {
75
+ public_event_id: string;
76
+ public_event_code: string;
77
+ date: Date;
78
+ tz: string;
79
+ utc_minutes: number;
80
+ title: string;
81
+ } & Partial<Omit<TPublicEventDetail, "public_event_id" | "public_event_code" | "date" | "tz" | "utc_minutes" | "title">>;
82
+ export type TPublicEventDetailUpdate = {
83
+ public_event_id: string;
84
+ } & Partial<Omit<TPublicEventDetail, "public_event_id">>;
85
+ export type TPublicEventViewLog = {
86
+ public_event_id: string;
87
+ hash_code: string;
88
+ date: Date;
89
+ view_count: number;
90
+ };
91
+ export type TPublicEventViewLogInsert = {
92
+ public_event_id: string;
93
+ hash_code: string;
94
+ date: Date;
95
+ } & Partial<Omit<TPublicEventViewLog, "public_event_id" | "hash_code" | "date">>;
96
+ export type TPublicEventViewLogUpdate = {
97
+ public_event_id: string;
98
+ hash_code: string;
99
+ } & Partial<Omit<TPublicEventViewLog, "public_event_id" | "hash_code">>;
100
+ export type TPublicEventImage = {
101
+ public_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 TPublicEventImageInsert = {
109
+ public_event_id: string;
110
+ hash_code: string;
111
+ image_url: string;
112
+ } & Partial<Omit<TPublicEventImage, "public_event_id" | "hash_code" | "image_url">>;
113
+ export type TPublicEventImageUpdate = {
114
+ public_event_id: string;
115
+ hash_code: string;
116
+ } & Partial<Omit<TPublicEventImage, "public_event_id" | "hash_code">>;
117
+ export type TPublicEventShared = {
118
+ public_event_id: string;
119
+ provider_code: string;
120
+ shared_count: number;
121
+ };
122
+ export type TPublicEventSharedInsert = {
123
+ public_event_id: string;
124
+ provider_code: string;
125
+ } & Partial<Omit<TPublicEventShared, "public_event_id" | "provider_code">>;
126
+ export type TPublicEventSharedUpdate = {
127
+ public_event_id: string;
128
+ provider_code: string;
129
+ } & Partial<Omit<TPublicEventShared, "public_event_id" | "provider_code">>;
130
+ export type TPublicEventSaved = {
131
+ public_event_id: string;
132
+ provider_code: string;
133
+ saved_count: number;
134
+ };
135
+ export type TPublicEventSavedInsert = {
136
+ public_event_id: string;
137
+ provider_code: string;
138
+ } & Partial<Omit<TPublicEventSaved, "public_event_id" | "provider_code">>;
139
+ export type TPublicEventSavedUpdate = {
140
+ public_event_id: string;
141
+ provider_code: string;
142
+ } & Partial<Omit<TPublicEventSaved, "public_event_id" | "provider_code">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-public-event-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-public-event-types.js","sourceRoot":"","sources":["../../src/db-types/db-public-event-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export type TServiceProvider = {
2
+ provider_code: string;
3
+ name: string;
4
+ icon_url: string | null;
5
+ website_url: string | null;
6
+ };
7
+ export type TServiceProviderInsert = {
8
+ provider_code: string;
9
+ name: string;
10
+ } & Partial<Omit<TServiceProvider, "provider_code" | "name">>;
11
+ export type TServiceProviderUpdate = {
12
+ provider_code: string;
13
+ } & Partial<Omit<TServiceProvider, "provider_code">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-service-provider-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-service-provider-types.js","sourceRoot":"","sources":["../../src/db-types/db-service-provider-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,146 @@
1
+ export type TSpecialTagListForAdmin = {
2
+ target_country_code: string;
3
+ special_tag_code: string;
4
+ special_tag: string;
5
+ url: string | null;
6
+ event_count: number;
7
+ is_active: boolean;
8
+ is_display: boolean;
9
+ };
10
+ export type TSpecialTagDetail = TSpecialTagListForAdmin & {
11
+ special_tag_native: string | null;
12
+ profile: string | null;
13
+ description: 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 TSpecialTagDetailInsert = {
39
+ target_country_code: string;
40
+ special_tag_code: string;
41
+ special_tag: string;
42
+ } & Partial<Omit<TSpecialTagDetail, "target_country_code" | "special_tag_code" | "special_tag">>;
43
+ export type TSpecialTagDetailUpdate = {
44
+ special_tag_code: string;
45
+ } & Partial<Omit<TSpecialTagDetail, "special_tag_code">>;
46
+ export type TSpecialTagViewLog = {
47
+ special_tag_code: string;
48
+ hash_code: string;
49
+ date: Date;
50
+ view_count: number;
51
+ };
52
+ export type TSpecialTagViewLogInsert = {
53
+ special_tag_code: string;
54
+ hash_code: string;
55
+ date: Date;
56
+ } & Partial<Omit<TSpecialTagViewLog, "special_tag_code" | "hash_code" | "date">>;
57
+ export type TSpecialTagViewLogUpdate = {
58
+ special_tag_code: string;
59
+ hash_code: string;
60
+ } & Partial<Omit<TSpecialTagViewLog, "special_tag_code" | "hash_code">>;
61
+ export type TSpecialTagI18n = {
62
+ special_tag_code: string;
63
+ lang_code: string;
64
+ name: string;
65
+ };
66
+ export type TSpecialTagI18nInsert = {
67
+ special_tag_code: string;
68
+ lang_code: string;
69
+ name: string;
70
+ } & Partial<Omit<TSpecialTagI18n, "special_tag_code" | "lang_code" | "name">>;
71
+ export type TSpecialTagI18nUpdate = {
72
+ special_tag_code: string;
73
+ lang_code: string;
74
+ } & Partial<Omit<TSpecialTagI18n, "special_tag_code" | "lang_code">>;
75
+ export type TSpecialTagMetadataI18n = {
76
+ special_tag_code: string;
77
+ lang_code: string;
78
+ title: string | null;
79
+ description: string | null;
80
+ og_title: string | null;
81
+ og_description: string | null;
82
+ og_image: string | null;
83
+ tag_set: string[] | string | null;
84
+ };
85
+ export type TSpecialTagMetadataI18nInsert = {
86
+ special_tag_code: string;
87
+ lang_code: string;
88
+ } & Partial<Omit<TSpecialTagMetadataI18n, "special_tag_code" | "lang_code">>;
89
+ export type TSpecialTagMetadataI18nUpdate = {
90
+ special_tag_code: string;
91
+ lang_code: string;
92
+ } & Partial<Omit<TSpecialTagMetadataI18n, "special_tag_code" | "lang_code">>;
93
+ export type TSpecialTagSelectedFolder = {
94
+ special_tag_code: string;
95
+ folder_id: string;
96
+ earliest_event: Date | null;
97
+ latest_event: Date | null;
98
+ };
99
+ export type TSpecialTagSelectedFolderInsert = {
100
+ special_tag_code: string;
101
+ folder_id: string;
102
+ } & Partial<Omit<TSpecialTagSelectedFolder, "special_tag_code" | "folder_id">>;
103
+ export type TSpecialTagSelectedFolderUpdate = {
104
+ special_tag_code: string;
105
+ folder_id: string;
106
+ } & Partial<Omit<TSpecialTagSelectedFolder, "special_tag_code" | "folder_id">>;
107
+ export type TMapSpecialTagFolder = {
108
+ special_tag_code: string;
109
+ folder_id: string;
110
+ earliest_event: Date | null;
111
+ latest_event: Date | null;
112
+ };
113
+ export type TMapSpecialTagFolderInsert = {
114
+ special_tag_code: string;
115
+ folder_id: string;
116
+ } & Partial<Omit<TMapSpecialTagFolder, "special_tag_code" | "folder_id">>;
117
+ export type TMapSpecialTagFolderUpdate = {
118
+ special_tag_code: string;
119
+ folder_id: string;
120
+ } & Partial<Omit<TMapSpecialTagFolder, "special_tag_code" | "folder_id">>;
121
+ export type TSpecialTagSelectedEvent = {
122
+ special_tag_code: string;
123
+ event_id: string;
124
+ date: Date | null;
125
+ };
126
+ export type TSpecialTagSelectedEventInsert = {
127
+ special_tag_code: string;
128
+ event_id: string;
129
+ } & Partial<Omit<TSpecialTagSelectedEvent, "special_tag_code" | "event_id">>;
130
+ export type TSpecialTagSelectedEventUpdate = {
131
+ special_tag_code: string;
132
+ event_id: string;
133
+ } & Partial<Omit<TSpecialTagSelectedEvent, "special_tag_code" | "event_id">>;
134
+ export type TMapSpecialTagEvent = {
135
+ special_tag_code: string;
136
+ event_id: string;
137
+ date: Date | null;
138
+ };
139
+ export type TMapSpecialTagEventInsert = {
140
+ special_tag_code: string;
141
+ event_id: string;
142
+ } & Partial<Omit<TMapSpecialTagEvent, "special_tag_code" | "event_id">>;
143
+ export type TMapSpecialTagEventUpdate = {
144
+ special_tag_code: string;
145
+ event_id: string;
146
+ } & Partial<Omit<TMapSpecialTagEvent, "special_tag_code" | "event_id">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-special-tag-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-special-tag-types.js","sourceRoot":"","sources":["../../src/db-types/db-special-tag-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ export type TTag = {
2
+ tag_code: string;
3
+ tag: string;
4
+ event_count: number;
5
+ };
6
+ export type TMapTagFolder = {
7
+ tag_code: string;
8
+ folder_id: string;
9
+ earliest_event: Date | null;
10
+ latest_event: Date | null;
11
+ };
12
+ export type TMapTagFolderInsert = {
13
+ tag_code: string;
14
+ folder_id: string;
15
+ } & Partial<Omit<TMapTagFolder, "tag_code" | "folder_id">>;
16
+ export type TMapTagFolderUpdate = {
17
+ tag_code: string;
18
+ folder_id: string;
19
+ } & Partial<Omit<TMapTagFolder, "tag_code" | "folder_id">>;
20
+ export type TMapTagEvent = {
21
+ tag_code: string;
22
+ event_id: string;
23
+ date: Date | null;
24
+ };
25
+ export type TMapTagEventInsert = {
26
+ tag_code: string;
27
+ event_id: string;
28
+ } & Partial<Omit<TMapTagEvent, "special_tag_code" | "event_id">>;
29
+ export type TMapTagEventUpdate = {
30
+ tag_code: string;
31
+ event_id: string;
32
+ } & Partial<Omit<TMapTagEvent, "tag_code" | "event_id">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-tag-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-tag-types.js","sourceRoot":"","sources":["../../src/db-types/db-tag-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,89 @@
1
+ export type TTeamListForAdmin = {
2
+ team_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 TTeamDetail = TTeamListForAdmin & {
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 TTeamInsert = {
39
+ team_code: string;
40
+ name: string;
41
+ } & Partial<Omit<TTeamDetail, "team_code">>;
42
+ export type TTeamUpdate = {
43
+ team_code: string;
44
+ } & Partial<Omit<TTeamDetail, "team_code">>;
45
+ export type TTeamMetadataI18n = {
46
+ team_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 TTeamMetadataI18nInsert = {
56
+ team_code: string;
57
+ lang_code: string;
58
+ } & Partial<Omit<TTeamMetadataI18n, "team_code" | "lang_code">>;
59
+ export type TTeamMetadataI18nUpdate = {
60
+ team_code: string;
61
+ lang_code: string;
62
+ } & Partial<Omit<TTeamMetadataI18n, "team_code" | "lang_code">>;
63
+ export type TMapTeamFolder = {
64
+ team_code: string;
65
+ folder_id: string;
66
+ earliest_event: Date | null;
67
+ latest_event: Date | null;
68
+ };
69
+ export type TMapTeamFolderInsert = {
70
+ team_code: string;
71
+ folder_id: string;
72
+ } & Partial<Omit<TMapTeamFolder, "team_code" | "folder_id">>;
73
+ export type TMapTeamFolderUpdate = {
74
+ team_code: string;
75
+ folder_id: string;
76
+ } & Partial<Omit<TMapTeamFolder, "team_code" | "folder_id">>;
77
+ export type TMapTeamEvent = {
78
+ team_code: string;
79
+ event_id: string;
80
+ date: Date | null;
81
+ };
82
+ export type TMapTeamEventInsert = {
83
+ team_code: string;
84
+ event_id: string;
85
+ } & Partial<Omit<TMapTeamEvent, "team_code" | "event_id">>;
86
+ export type TMapTeamEventUpdate = {
87
+ team_code: string;
88
+ event_id: string;
89
+ } & Partial<Omit<TMapTeamEvent, "team_code" | "event_id">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-team-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-team-types.js","sourceRoot":"","sources":["../../src/db-types/db-team-types.ts"],"names":[],"mappings":""}