dplus_common_v1 0.1.6 → 0.1.9

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 (127) hide show
  1. package/dist/db-types/db-brand-types.d.ts +9 -92
  2. package/dist/db-types/db-brand-types.js +14 -1
  3. package/dist/db-types/db-brand-types.js.map +1 -1
  4. package/dist/db-types/db-category-types.d.ts +6 -124
  5. package/dist/db-types/db-category-types.js +10 -1
  6. package/dist/db-types/db-category-types.js.map +1 -1
  7. package/dist/db-types/db-celeb-types.d.ts +9 -92
  8. package/dist/db-types/db-celeb-types.js +14 -1
  9. package/dist/db-types/db-celeb-types.js.map +1 -1
  10. package/dist/db-types/db-city-types.d.ts +9 -124
  11. package/dist/db-types/db-city-types.js +15 -1
  12. package/dist/db-types/db-city-types.js.map +1 -1
  13. package/dist/db-types/db-company-types.d.ts +9 -92
  14. package/dist/db-types/db-company-types.js +13 -1
  15. package/dist/db-types/db-company-types.js.map +1 -1
  16. package/dist/db-types/db-event-types.d.ts +13 -45
  17. package/dist/db-types/db-event-types.js +24 -1
  18. package/dist/db-types/db-event-types.js.map +1 -1
  19. package/dist/db-types/db-folder-types.d.ts +15 -34
  20. package/dist/db-types/db-folder-types.js +20 -1
  21. package/dist/db-types/db-folder-types.js.map +1 -1
  22. package/dist/db-types/db-idol-group-types.d.ts +9 -92
  23. package/dist/db-types/db-idol-group-types.js +13 -1
  24. package/dist/db-types/db-idol-group-types.js.map +1 -1
  25. package/dist/db-types/db-log-types.d.ts +19 -0
  26. package/dist/db-types/db-log-types.js +2 -0
  27. package/dist/db-types/db-log-types.js.map +1 -0
  28. package/dist/db-types/db-map-types.d.ts +44 -0
  29. package/dist/db-types/db-map-types.js +2 -0
  30. package/dist/db-types/db-map-types.js.map +1 -0
  31. package/dist/db-types/db-metadata-types.d.ts +24 -0
  32. package/dist/db-types/db-metadata-types.js +2 -0
  33. package/dist/db-types/db-metadata-types.js.map +1 -0
  34. package/dist/db-types/db-people-types.d.ts +9 -92
  35. package/dist/db-types/db-people-types.js +13 -1
  36. package/dist/db-types/db-people-types.js.map +1 -1
  37. package/dist/db-types/db-pevent-types.d.ts +109 -0
  38. package/dist/db-types/db-pevent-types.js +24 -0
  39. package/dist/db-types/db-pevent-types.js.map +1 -0
  40. package/dist/db-types/db-product-types.d.ts +9 -92
  41. package/dist/db-types/db-product-types.js +15 -1
  42. package/dist/db-types/db-product-types.js.map +1 -1
  43. package/dist/db-types/db-selected-event-types.d.ts +38 -0
  44. package/dist/db-types/db-selected-event-types.js +25 -0
  45. package/dist/db-types/db-selected-event-types.js.map +1 -0
  46. package/dist/db-types/db-selected-folder-types.d.ts +34 -0
  47. package/dist/db-types/db-selected-folder-types.js +21 -0
  48. package/dist/db-types/db-selected-folder-types.js.map +1 -0
  49. package/dist/db-types/db-service-provider-types.d.ts +2 -2
  50. package/dist/db-types/db-stag-types.d.ts +59 -0
  51. package/dist/db-types/db-stag-types.js +2 -0
  52. package/dist/db-types/db-stag-types.js.map +1 -0
  53. package/dist/db-types/db-tag-types.d.ts +0 -27
  54. package/dist/db-types/db-team-types.d.ts +9 -92
  55. package/dist/db-types/db-team-types.js +13 -1
  56. package/dist/db-types/db-team-types.js.map +1 -1
  57. package/dist/db-types/db-user-types.d.ts +8 -8
  58. package/dist/fields/field-brand.d.ts +34 -295
  59. package/dist/fields/field-brand.js +34 -295
  60. package/dist/fields/field-brand.js.map +1 -1
  61. package/dist/fields/field-category.d.ts +28 -373
  62. package/dist/fields/field-category.js +29 -374
  63. package/dist/fields/field-category.js.map +1 -1
  64. package/dist/fields/field-celeb.d.ts +34 -295
  65. package/dist/fields/field-celeb.js +34 -295
  66. package/dist/fields/field-celeb.js.map +1 -1
  67. package/dist/fields/field-city.d.ts +35 -331
  68. package/dist/fields/field-city.js +52 -348
  69. package/dist/fields/field-city.js.map +1 -1
  70. package/dist/fields/field-company.d.ts +34 -295
  71. package/dist/fields/field-company.js +34 -295
  72. package/dist/fields/field-company.js.map +1 -1
  73. package/dist/fields/field-event.d.ts +32 -56
  74. package/dist/fields/field-event.js +70 -94
  75. package/dist/fields/field-event.js.map +1 -1
  76. package/dist/fields/field-folder.d.ts +32 -33
  77. package/dist/fields/field-folder.js +47 -48
  78. package/dist/fields/field-folder.js.map +1 -1
  79. package/dist/fields/field-idol-group.d.ts +34 -295
  80. package/dist/fields/field-idol-group.js +34 -295
  81. package/dist/fields/field-idol-group.js.map +1 -1
  82. package/dist/fields/field-log.d.ts +94 -0
  83. package/dist/fields/field-log.js +95 -0
  84. package/dist/fields/field-log.js.map +1 -0
  85. package/dist/fields/field-map.d.ts +200 -0
  86. package/dist/fields/field-map.js +201 -0
  87. package/dist/fields/field-map.js.map +1 -0
  88. package/dist/fields/field-metadata.d.ts +65 -0
  89. package/dist/fields/field-metadata.js +66 -0
  90. package/dist/fields/field-metadata.js.map +1 -0
  91. package/dist/fields/field-people.d.ts +34 -295
  92. package/dist/fields/field-people.js +34 -295
  93. package/dist/fields/field-people.js.map +1 -1
  94. package/dist/fields/field-pevent.d.ts +556 -0
  95. package/dist/fields/field-pevent.js +557 -0
  96. package/dist/fields/field-pevent.js.map +1 -0
  97. package/dist/fields/field-product.d.ts +34 -295
  98. package/dist/fields/field-product.js +34 -295
  99. package/dist/fields/field-product.js.map +1 -1
  100. package/dist/fields/field-selected-event.d.ts +160 -0
  101. package/dist/fields/field-selected-event.js +161 -0
  102. package/dist/fields/field-selected-event.js.map +1 -0
  103. package/dist/fields/field-selected-folder.d.ts +133 -0
  104. package/dist/fields/field-selected-folder.js +134 -0
  105. package/dist/fields/field-selected-folder.js.map +1 -0
  106. package/dist/fields/field-selected-group.d.ts +133 -0
  107. package/dist/fields/field-selected-group.js +134 -0
  108. package/dist/fields/field-selected-group.js.map +1 -0
  109. package/dist/fields/field-service-provider.d.ts +2 -2
  110. package/dist/fields/field-service-provider.js +7 -7
  111. package/dist/fields/field-service-provider.js.map +1 -1
  112. package/dist/fields/field-stag.d.ts +280 -0
  113. package/dist/fields/field-stag.js +281 -0
  114. package/dist/fields/field-stag.js.map +1 -0
  115. package/dist/fields/field-tag.d.ts +0 -50
  116. package/dist/fields/field-tag.js +0 -50
  117. package/dist/fields/field-tag.js.map +1 -1
  118. package/dist/fields/field-team.d.ts +34 -295
  119. package/dist/fields/field-team.js +34 -295
  120. package/dist/fields/field-team.js.map +1 -1
  121. package/dist/fields/field-user.d.ts +51 -2
  122. package/dist/fields/field-user.js +56 -7
  123. package/dist/fields/field-user.js.map +1 -1
  124. package/dist/index.d.ts +14 -5
  125. package/dist/index.js +14 -5
  126. package/dist/index.js.map +1 -1
  127. package/package.json +1 -1
@@ -1,16 +1,22 @@
1
+ export declare const TBrandListForAdminAttributes: string[];
1
2
  export type TBrandListForAdmin = {
2
3
  brand_code: string;
3
4
  company_code: string | null;
4
5
  name: string;
5
6
  name_native: string | null;
7
+ homepage: string | null;
6
8
  youtube_ch_id: string | null;
7
9
  instagram_id: string | null;
8
10
  tiktok_id: string | null;
9
11
  threads_id: string | null;
10
12
  is_active: boolean;
11
13
  is_display: boolean;
14
+ is_official_account: boolean;
12
15
  };
13
16
  export type TBrandDetail = TBrandListForAdmin & {
17
+ thumbnail_square: string | null;
18
+ thumbnail_horizontal: string | null;
19
+ thumbnail_vertical: string | null;
14
20
  profile: string | null;
15
21
  deactivated_at: Date | null;
16
22
  deactivated_by: string | null;
@@ -43,103 +49,14 @@ export type TBrandDetailInsert = {
43
49
  export type TBrandDetailUpdate = {
44
50
  brand_code: string;
45
51
  } & Partial<Omit<TBrandDetail, "brand_code">>;
46
- export type TBrandMetadataI18n = {
47
- brand_code: string;
48
- lang_code: string;
49
- title: string | null;
50
- description: string | null;
51
- keywords: string | null;
52
- og_title: string | null;
53
- og_description: string | null;
54
- og_image: string | null;
55
- };
56
- export type TBrandMetadataI18nInsert = {
57
- brand_code: string;
58
- lang_code: string;
59
- } & Partial<Omit<TBrandMetadataI18n, "brand_code" | "lang_code">>;
60
- export type TBrandMetadataI18nUpdate = {
61
- brand_code: string;
62
- lang_code: string;
63
- } & Partial<Omit<TBrandMetadataI18n, "brand_code" | "lang_code">>;
64
52
  export type TMapBrandFolder = {
65
53
  brand_code: string;
66
54
  folder_id: string;
67
- earliest_event: Date | null;
68
- latest_event: Date | null;
69
- };
70
- export type TMapBrandFolderInsert = {
71
- brand_code: string;
72
- folder_id: string;
73
- } & Partial<Omit<TMapBrandFolder, "brand_code" | "folder_id">>;
74
- export type TMapBrandFolderUpdate = {
75
- brand_code: string;
76
- folder_id: string;
77
- } & Partial<Omit<TMapBrandFolder, "brand_code" | "folder_id">>;
78
- export type TMapBrandSelectedFolder = {
79
- brand_code: string;
80
- folder_id: string;
81
- title: string | null;
82
- profile: string | null;
83
- description: string | null;
84
- target_country_code: string | null;
85
- target_city_code: string | null;
86
- hero_image_01: string | null;
87
- hero_image_02: string | null;
88
- thumbnail_main_01: string | null;
89
- thumbnail_main_02: string | null;
90
- thumbnail_vertical_01: string | null;
91
- thumbnail_vertical_02: string | null;
92
- earliest_event: Date | null;
93
- latest_event: Date | null;
55
+ earliest_event?: Date | null;
56
+ latest_event?: Date | null;
94
57
  };
95
- export type TMapBrandSelectedFolderInsert = {
96
- brand_code: string;
97
- folder_id: string;
98
- } & Partial<Omit<TMapBrandSelectedFolder, "brand_code" | "folder_id">>;
99
- export type TMapBrandSelectedFolderUpdate = {
100
- brand_code: string;
101
- folder_id: string;
102
- } & Partial<Omit<TMapBrandSelectedFolder, "brand_code" | "folder_id">>;
103
58
  export type TMapBrandEvent = {
104
59
  brand_code: string;
105
60
  event_id: string;
106
- date: Date | null;
107
- };
108
- export type TMapBrandEventInsert = {
109
- brand_code: string;
110
- event_id: string;
111
- } & Partial<Omit<TMapBrandEvent, "brand_code" | "event_id">>;
112
- export type TMapBrandEventUpdate = {
113
- brand_code: string;
114
- event_id: string;
115
- } & Partial<Omit<TMapBrandEvent, "brand_code" | "event_id">>;
116
- export type TMapBrandSelectedEvent = {
117
- brand_code: string;
118
- event_id: string;
119
- folder_id: string | null;
120
- date: Date | null;
121
- time: Date | null;
122
- tz: string | null;
123
- utc_minutes: number | null;
124
- duration_minutes: number | null;
125
- is_repeat_annually: boolean;
126
- title: string;
127
- profile: string | null;
128
- description: string | null;
129
- target_country_code: string | null;
130
- target_city_code: string | null;
131
- hero_image_01: string | null;
132
- hero_image_02: string | null;
133
- thumbnail_main_01: string | null;
134
- thumbnail_main_02: string | null;
135
- thumbnail_vertical_01: string | null;
136
- thumbnail_vertical_02: string | null;
61
+ date?: Date | null;
137
62
  };
138
- export type TMapBrandSelectedEventInsert = {
139
- brand_code: string;
140
- event_id: string;
141
- } & Partial<Omit<TMapBrandSelectedEvent, "brand_code" | "event_id">>;
142
- export type TMapBrandSelectedEventUpdate = {
143
- brand_code: string;
144
- event_id: string;
145
- } & Partial<Omit<TMapBrandSelectedEvent, "brand_code" | "event_id">>;
@@ -1,2 +1,15 @@
1
- export {};
1
+ export const TBrandListForAdminAttributes = [
2
+ "brand_code",
3
+ "company_code",
4
+ "name",
5
+ "name_native",
6
+ "homepage",
7
+ "youtube_ch_id",
8
+ "instagram_id",
9
+ "tiktok_id",
10
+ "threads_id",
11
+ "is_active",
12
+ "is_display",
13
+ "is_official_account",
14
+ ];
2
15
  //# sourceMappingURL=db-brand-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-brand-types.js","sourceRoot":"","sources":["../../src/db-types/db-brand-types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"db-brand-types.js","sourceRoot":"","sources":["../../src/db-types/db-brand-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,YAAY;IACZ,cAAc;IACd,MAAM;IACN,aAAa;IACb,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC"}
@@ -1,3 +1,5 @@
1
+ export declare const TCategoryOptionForAdminAttributes: string[];
2
+ export declare const TCategoryListForAdminAttributes: string[];
1
3
  export type TCategoryOption = {
2
4
  category_code: string;
3
5
  order_num: number;
@@ -8,6 +10,7 @@ export type TCategoryOption = {
8
10
  is_display: boolean;
9
11
  };
10
12
  export type TCategoryListForAdmin = TCategoryOption & {
13
+ icon: string | null;
11
14
  profile: string | null;
12
15
  event_count: number;
13
16
  created_at: Date;
@@ -15,6 +18,9 @@ export type TCategoryListForAdmin = TCategoryOption & {
15
18
  updated_at: Date;
16
19
  };
17
20
  export type TCategoryDetail = TCategoryListForAdmin & {
21
+ thumbnail_square: string | null;
22
+ thumbnail_horizontal: string | null;
23
+ thumbnail_vertical: string | null;
18
24
  deactivated_at: Date | null;
19
25
  deactivated_by: string | null;
20
26
  hero_image_01: string | null;
@@ -48,132 +54,8 @@ export type TCategoryDetailInsert = {
48
54
  export type TCategoryDetailUpdate = {
49
55
  category_code: string;
50
56
  } & Partial<Omit<TCategoryDetail, "category_code">>;
51
- export type TCategoryViewLog = {
52
- category_code: string;
53
- hash_code: string;
54
- date: Date;
55
- view_count: number;
56
- };
57
- export type TCategoryViewLogInsert = {
58
- category_code: string;
59
- hash_code: string;
60
- date: Date;
61
- } & Partial<Omit<TCategoryViewLog, "category_code" | "hash_code" | "date">>;
62
- export type TCategoryViewLogUpdate = {
63
- category_code: string;
64
- hash_code: string;
65
- } & Partial<Omit<TCategoryViewLog, "category_code" | "hash_code">>;
66
57
  export type TCategoryI18n = {
67
58
  category_code: string;
68
59
  lang_code: string;
69
60
  name: string;
70
61
  };
71
- export type TCategoryI18nInsert = {
72
- category_code: string;
73
- lang_code: string;
74
- name: string;
75
- } & Partial<Omit<TCategoryI18n, "category_code" | "lang_code" | "name">>;
76
- export type TCategoryI18nUpdate = {
77
- category_code: string;
78
- lang_code: string;
79
- } & Partial<Omit<TCategoryI18n, "category_code" | "lang_code">>;
80
- export type TCategoryMetadataI18n = {
81
- category_code: string;
82
- lang_code: string;
83
- title: string | null;
84
- description: string | null;
85
- og_title: string | null;
86
- og_description: string | null;
87
- og_image: string | null;
88
- tag_set: string[] | string | null;
89
- };
90
- export type TCategoryMetadataI18nInsert = {
91
- category_code: string;
92
- lang_code: string;
93
- } & Partial<Omit<TCategoryMetadataI18n, "category_code" | "lang_code">>;
94
- export type TCategoryMetadataI18nUpdate = {
95
- category_code: string;
96
- lang_code: string;
97
- } & Partial<Omit<TCategoryMetadataI18n, "category_code" | "lang_code">>;
98
- export type TMapCategoryFolder = {
99
- category_code: string;
100
- folder_id: string;
101
- earliest_event: Date | null;
102
- latest_event: Date | null;
103
- };
104
- export type TMapCategoryFolderInsert = {
105
- category_code: string;
106
- folder_id: string;
107
- } & Partial<Omit<TMapCategoryFolder, "category_code" | "folder_id">>;
108
- export type TMapCategoryFolderUpdate = {
109
- category_code: string;
110
- folder_id: string;
111
- } & Partial<Omit<TMapCategoryFolder, "category_code" | "folder_id">>;
112
- export type TMapCategorySelectedFolder = {
113
- category_code: string;
114
- folder_id: string;
115
- title: string | null;
116
- profile: string | null;
117
- description: string | null;
118
- target_country_code: string | null;
119
- target_city_code: string | null;
120
- hero_image_01: string | null;
121
- hero_image_02: string | null;
122
- thumbnail_main_01: string | null;
123
- thumbnail_main_02: string | null;
124
- thumbnail_vertical_01: string | null;
125
- thumbnail_vertical_02: string | null;
126
- earliest_event: Date | null;
127
- latest_event: Date | null;
128
- };
129
- export type TMapCategorySelectedFolderInsert = {
130
- category_code: string;
131
- folder_id: string;
132
- } & Partial<Omit<TMapCategorySelectedFolder, "category_code" | "folder_id">>;
133
- export type TMapCategorySelectedFolderUpdate = {
134
- category_code: string;
135
- folder_id: string;
136
- } & Partial<Omit<TMapCategorySelectedFolder, "category_code" | "folder_id">>;
137
- export type TMapCategoryEvent = {
138
- category_code: string;
139
- event_id: string;
140
- date: Date | null;
141
- };
142
- export type TMapCategoryEventInsert = {
143
- category_code: string;
144
- event_id: string;
145
- } & Partial<Omit<TMapCategoryEvent, "category_code" | "event_id">>;
146
- export type TMapCategoryEventUpdate = {
147
- category_code: string;
148
- event_id: string;
149
- } & Partial<Omit<TMapCategoryEvent, "category_code" | "event_id">>;
150
- export type TMapCategorySelectedEvent = {
151
- category_code: string;
152
- event_id: string;
153
- folder_id: string | null;
154
- date: Date | null;
155
- time: Date | null;
156
- tz: string | null;
157
- utc_minutes: number | null;
158
- duration_minutes: number | null;
159
- is_repeat_annually: boolean;
160
- title: string;
161
- profile: string | null;
162
- description: string | null;
163
- target_country_code: string | null;
164
- target_city_code: string | null;
165
- hero_image_01: string | null;
166
- hero_image_02: string | null;
167
- thumbnail_main_01: string | null;
168
- thumbnail_main_02: string | null;
169
- thumbnail_vertical_01: string | null;
170
- thumbnail_vertical_02: string | null;
171
- };
172
- export type TMapCategorySelectedEventInsert = {
173
- category_code: string;
174
- event_id: string;
175
- } & Partial<Omit<TMapCategorySelectedEvent, "category_code" | "event_id">>;
176
- export type TMapCategorySelectedEventUpdate = {
177
- category_code: string;
178
- event_id: string;
179
- } & Partial<Omit<TMapCategorySelectedEvent, "category_code" | "event_id">>;
@@ -1,2 +1,11 @@
1
- export {};
1
+ export const TCategoryOptionForAdminAttributes = ["category_code", "order_num", "target_country_code", "name", "is_active", "is_display"];
2
+ export const TCategoryListForAdminAttributes = [
3
+ ...TCategoryOptionForAdminAttributes,
4
+ "icon",
5
+ "profile",
6
+ "event_count",
7
+ "created_at",
8
+ "created_by",
9
+ "updated_at",
10
+ ];
2
11
  //# sourceMappingURL=db-category-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-category-types.js","sourceRoot":"","sources":["../../src/db-types/db-category-types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"db-category-types.js","sourceRoot":"","sources":["../../src/db-types/db-category-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,eAAe,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;AAE1I,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,GAAG,iCAAiC;IACpC,MAAM;IACN,SAAS;IACT,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC"}
@@ -1,17 +1,23 @@
1
+ export declare const TCelebListForAdminAttributes: string[];
1
2
  export type TCelebListForAdmin = {
2
3
  celeb_code: string;
3
4
  idol_group_code: string | null;
4
5
  name: string;
5
6
  name_native: string | null;
7
+ homepage: string | null;
6
8
  youtube_ch_id: string | null;
7
9
  instagram_id: string | null;
8
10
  tiktok_id: string | null;
9
11
  threads_id: string | null;
10
12
  is_active: boolean;
11
13
  is_display: boolean;
14
+ is_official_account: boolean;
12
15
  };
13
16
  export type TCelebDetail = TCelebListForAdmin & {
14
17
  profile: string | null;
18
+ thumbnail_square: string | null;
19
+ thumbnail_horizontal: string | null;
20
+ thumbnail_vertical: string | null;
15
21
  deactivated_at: Date | null;
16
22
  deactivated_by: string | null;
17
23
  hero_image_01: string | null;
@@ -43,103 +49,14 @@ export type TCelebDetailInsert = {
43
49
  export type TCelebDetailUpdate = {
44
50
  celeb_code: string;
45
51
  } & Partial<Omit<TCelebDetail, "celeb_code">>;
46
- export type TCelebMetadataI18n = {
47
- celeb_code: string;
48
- lang_code: string;
49
- title: string | null;
50
- description: string | null;
51
- keywords: string | null;
52
- og_title: string | null;
53
- og_description: string | null;
54
- og_image: string | null;
55
- };
56
- export type TCelebMetadataI18nInsert = {
57
- celeb_code: string;
58
- lang_code: string;
59
- } & Partial<Omit<TCelebMetadataI18n, "celeb_code" | "lang_code">>;
60
- export type TCelebMetadataI18nUpdate = {
61
- celeb_code: string;
62
- lang_code: string;
63
- } & Partial<Omit<TCelebMetadataI18n, "celeb_code" | "lang_code">>;
64
52
  export type TMapCelebFolder = {
65
53
  celeb_code: string;
66
54
  folder_id: string;
67
- earliest_event: Date | null;
68
- latest_event: Date | null;
69
- };
70
- export type TMapCelebFolderInsert = {
71
- celeb_code: string;
72
- folder_id: string;
73
- } & Partial<Omit<TMapCelebFolder, "celeb_code" | "folder_id">>;
74
- export type TMapCelebFolderUpdate = {
75
- celeb_code: string;
76
- folder_id: string;
77
- } & Partial<Omit<TMapCelebFolder, "celeb_code" | "folder_id">>;
78
- export type TMapCelebSelectedFolder = {
79
- celeb_code: string;
80
- folder_id: string;
81
- title: string | null;
82
- profile: string | null;
83
- description: string | null;
84
- target_country_code: string | null;
85
- target_city_code: string | null;
86
- hero_image_01: string | null;
87
- hero_image_02: string | null;
88
- thumbnail_main_01: string | null;
89
- thumbnail_main_02: string | null;
90
- thumbnail_vertical_01: string | null;
91
- thumbnail_vertical_02: string | null;
92
- earliest_event: Date | null;
93
- latest_event: Date | null;
55
+ earliest_event?: Date | null;
56
+ latest_event?: Date | null;
94
57
  };
95
- export type TMapCelebSelectedFolderInsert = {
96
- celeb_code: string;
97
- folder_id: string;
98
- } & Partial<Omit<TMapCelebSelectedFolder, "celeb_code" | "folder_id">>;
99
- export type TMapCelebSelectedFolderUpdate = {
100
- celeb_code: string;
101
- folder_id: string;
102
- } & Partial<Omit<TMapCelebSelectedFolder, "celeb_code" | "folder_id">>;
103
58
  export type TMapCelebEvent = {
104
59
  celeb_code: string;
105
60
  event_id: string;
106
- date: Date | null;
107
- };
108
- export type TMapCelebEventInsert = {
109
- celeb_code: string;
110
- event_id: string;
111
- } & Partial<Omit<TMapCelebEvent, "celeb_code" | "event_id">>;
112
- export type TMapCelebEventUpdate = {
113
- celeb_code: string;
114
- event_id: string;
115
- } & Partial<Omit<TMapCelebEvent, "celeb_code" | "event_id">>;
116
- export type TMapCelebSelectedEvent = {
117
- celeb_code: string;
118
- event_id: string;
119
- folder_id: string | null;
120
- date: Date | null;
121
- time: Date | null;
122
- tz: string | null;
123
- utc_minutes: number | null;
124
- duration_minutes: number | null;
125
- is_repeat_annually: boolean;
126
- title: string;
127
- profile: string | null;
128
- description: string | null;
129
- target_country_code: string | null;
130
- target_city_code: string | null;
131
- hero_image_01: string | null;
132
- hero_image_02: string | null;
133
- thumbnail_main_01: string | null;
134
- thumbnail_main_02: string | null;
135
- thumbnail_vertical_01: string | null;
136
- thumbnail_vertical_02: string | null;
61
+ date?: Date | null;
137
62
  };
138
- export type TMapCelebSelectedEventInsert = {
139
- celeb_code: string;
140
- event_id: string;
141
- } & Partial<Omit<TMapCelebEvent, "celeb_code" | "event_id">>;
142
- export type TMapCelebSelectedEventUpdate = {
143
- celeb_code: string;
144
- event_id: string;
145
- } & Partial<Omit<TMapCelebEvent, "celeb_code" | "event_id">>;
@@ -1,2 +1,15 @@
1
- export {};
1
+ export const TCelebListForAdminAttributes = [
2
+ "celeb_code",
3
+ "idol_group_code",
4
+ "name",
5
+ "name_native",
6
+ "homepage",
7
+ "youtube_ch_id",
8
+ "instagram_id",
9
+ "tiktok_id",
10
+ "threads_id",
11
+ "is_active",
12
+ "is_display",
13
+ "is_official_account",
14
+ ];
2
15
  //# sourceMappingURL=db-celeb-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-celeb-types.js","sourceRoot":"","sources":["../../src/db-types/db-celeb-types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"db-celeb-types.js","sourceRoot":"","sources":["../../src/db-types/db-celeb-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,YAAY;IACZ,iBAAiB;IACjB,MAAM;IACN,aAAa;IACb,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC"}
@@ -1,3 +1,5 @@
1
+ export declare const TCityOptionForAdminAttributes: string[];
2
+ export declare const TCityListForAdminAttributes: string[];
1
3
  export type TCityOption = {
2
4
  country_code: string;
3
5
  city_code: string;
@@ -19,6 +21,9 @@ export type TCityListAdmin = TCityOption & {
19
21
  event_count: number;
20
22
  };
21
23
  export type TCityDetail = TCityListAdmin & {
24
+ thumbnail_square: string | null;
25
+ thumbnail_horizontal: string | null;
26
+ thumbnail_vertical: string | null;
22
27
  location: string | null;
23
28
  latitude: number | null;
24
29
  longitude: number | null;
@@ -62,21 +67,6 @@ export type TCityDetailInsert = {
62
67
  export type TCityDetailUpdate = {
63
68
  city_code: string;
64
69
  } & 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
70
  export type TCityImage = {
81
71
  city_code: string;
82
72
  hash_code: string;
@@ -84,6 +74,10 @@ export type TCityImage = {
84
74
  orientation: string | null;
85
75
  order_num: number;
86
76
  image_url: string;
77
+ src_thumbnail: string | null;
78
+ src_name: string | null;
79
+ src_url: string | null;
80
+ src_reference: string | null;
87
81
  };
88
82
  export type TCityImageInsert = {
89
83
  city_code: string;
@@ -118,112 +112,3 @@ export type TCityI18n = {
118
112
  lang_code: string;
119
113
  name: string;
120
114
  };
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 TMapCityFolder = {
149
- city_code: string;
150
- folder_id: string;
151
- earliest_event: Date | null;
152
- latest_event: Date | null;
153
- };
154
- export type TMapCityFolderInsert = {
155
- city_code: string;
156
- folder_id: string;
157
- } & Partial<Omit<TMapCityFolder, "city_code" | "folder_id">>;
158
- export type TMapCityFolderUpdate = {
159
- city_code: string;
160
- folder_id: string;
161
- } & Partial<Omit<TMapCityFolder, "city_code" | "folder_id">>;
162
- export type TMapCitySelectedFolder = {
163
- city_code: string;
164
- folder_id: string;
165
- title: string | null;
166
- profile: string | null;
167
- description: string | null;
168
- target_country_code: string | null;
169
- target_city_code: string | null;
170
- hero_image_01: string | null;
171
- hero_image_02: string | null;
172
- thumbnail_main_01: string | null;
173
- thumbnail_main_02: string | null;
174
- thumbnail_vertical_01: string | null;
175
- thumbnail_vertical_02: string | null;
176
- earliest_event: Date | null;
177
- latest_event: Date | null;
178
- };
179
- export type TMapCitySelectedFolderInsert = {
180
- city_code: string;
181
- folder_id: string;
182
- } & Partial<Omit<TMapCitySelectedFolder, "city_code" | "folder_id">>;
183
- export type TMapCitySelectedFolderUpdate = {
184
- city_code: string;
185
- folder_id: string;
186
- } & Partial<Omit<TMapCitySelectedFolder, "city_code" | "folder_id">>;
187
- export type TMapCityEvent = {
188
- city_code: string;
189
- event_id: string;
190
- date: Date | null;
191
- };
192
- export type TMapCityEventInsert = {
193
- city_code: string;
194
- event_id: string;
195
- } & Partial<Omit<TMapCityEvent, "city_code" | "event_id">>;
196
- export type TMapCityEventUpdate = {
197
- city_code: string;
198
- event_id: string;
199
- } & Partial<Omit<TMapCityEvent, "city_code" | "event_id">>;
200
- export type TMapCitySelectedEvent = {
201
- city_code: string;
202
- event_id: string;
203
- folder_id: string | null;
204
- date: Date | null;
205
- time: Date | null;
206
- tz: string | null;
207
- utc_minutes: number | null;
208
- duration_minutes: number | null;
209
- is_repeat_annually: boolean;
210
- title: string;
211
- profile: string | null;
212
- description: string | null;
213
- target_country_code: string | null;
214
- target_city_code: string | null;
215
- hero_image_01: string | null;
216
- hero_image_02: string | null;
217
- thumbnail_main_01: string | null;
218
- thumbnail_main_02: string | null;
219
- thumbnail_vertical_01: string | null;
220
- thumbnail_vertical_02: string | null;
221
- };
222
- export type TMapCitySelectedEventInsert = {
223
- city_code: string;
224
- event_id: string;
225
- } & Partial<Omit<TMapCitySelectedEvent, "city_code" | "event_id">>;
226
- export type TMapCitySelectedEventUpdate = {
227
- city_code: string;
228
- event_id: string;
229
- } & Partial<Omit<TMapCitySelectedEvent, "city_code" | "event_id">>;
@@ -1,2 +1,16 @@
1
- export {};
1
+ export const TCityOptionForAdminAttributes = ["country_code", "city_code", "name", "name_native", "name_ko"];
2
+ export const TCityListForAdminAttributes = [
3
+ ...TCityOptionForAdminAttributes,
4
+ "profile",
5
+ "official_web",
6
+ "youtube_ch_id",
7
+ "tiktok_id",
8
+ "instagram_id",
9
+ "address",
10
+ "google_map_url",
11
+ "is_active",
12
+ "is_display",
13
+ "view_count",
14
+ "event_count",
15
+ ];
2
16
  //# sourceMappingURL=db-city-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-city-types.js","sourceRoot":"","sources":["../../src/db-types/db-city-types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"db-city-types.js","sourceRoot":"","sources":["../../src/db-types/db-city-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,cAAc,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC;AAE7G,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,GAAG,6BAA6B;IAChC,SAAS;IACT,cAAc;IACd,eAAe;IACf,WAAW;IACX,cAAc;IACd,SAAS;IACT,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;CACd,CAAC"}