dplus_common_v1 0.1.26 → 0.1.27

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 (78) hide show
  1. package/dist/consts/common.d.ts +1 -1
  2. package/dist/dplus-types/dplus-response-types.d.ts +17 -17
  3. package/dist/index.d.ts +24 -24
  4. package/dist/index.js +24 -24
  5. package/dist/index.js.map +1 -1
  6. package/dist/types/db-administrator-types.d.ts +26 -0
  7. package/dist/types/db-administrator-types.js +2 -0
  8. package/dist/types/db-administrator-types.js.map +1 -0
  9. package/dist/types/db-brand-types.d.ts +66 -0
  10. package/dist/types/db-brand-types.js +80 -0
  11. package/dist/types/db-brand-types.js.map +1 -0
  12. package/dist/types/db-category-types.d.ts +65 -0
  13. package/dist/types/db-category-types.js +92 -0
  14. package/dist/types/db-category-types.js.map +1 -0
  15. package/dist/types/db-celeb-types.d.ts +66 -0
  16. package/dist/types/db-celeb-types.js +81 -0
  17. package/dist/types/db-celeb-types.js.map +1 -0
  18. package/dist/types/db-city-types.d.ts +118 -0
  19. package/dist/types/db-city-types.js +104 -0
  20. package/dist/types/db-city-types.js.map +1 -0
  21. package/dist/types/db-company-types.d.ts +65 -0
  22. package/dist/types/db-company-types.js +79 -0
  23. package/dist/types/db-company-types.js.map +1 -0
  24. package/dist/types/db-event-types.d.ts +114 -0
  25. package/dist/types/db-event-types.js +125 -0
  26. package/dist/types/db-event-types.js.map +1 -0
  27. package/dist/types/db-event-user-reported-types.d.ts +75 -0
  28. package/dist/types/db-event-user-reported-types.js +2 -0
  29. package/dist/types/db-event-user-reported-types.js.map +1 -0
  30. package/dist/types/db-folder-types.d.ts +99 -0
  31. package/dist/types/db-folder-types.js +109 -0
  32. package/dist/types/db-folder-types.js.map +1 -0
  33. package/dist/types/db-i18n-types.d.ts +17 -0
  34. package/dist/types/db-i18n-types.js +2 -0
  35. package/dist/types/db-i18n-types.js.map +1 -0
  36. package/dist/types/db-idol-group-types.d.ts +65 -0
  37. package/dist/types/db-idol-group-types.js +79 -0
  38. package/dist/types/db-idol-group-types.js.map +1 -0
  39. package/dist/types/db-log-types.d.ts +19 -0
  40. package/dist/types/db-log-types.js +2 -0
  41. package/dist/types/db-log-types.js.map +1 -0
  42. package/dist/types/db-map-types.d.ts +44 -0
  43. package/dist/types/db-map-types.js +2 -0
  44. package/dist/types/db-map-types.js.map +1 -0
  45. package/dist/types/db-metadata-types.d.ts +24 -0
  46. package/dist/types/db-metadata-types.js +2 -0
  47. package/dist/types/db-metadata-types.js.map +1 -0
  48. package/dist/types/db-people-types.d.ts +65 -0
  49. package/dist/types/db-people-types.js +79 -0
  50. package/dist/types/db-people-types.js.map +1 -0
  51. package/dist/types/db-pevent-types.d.ts +113 -0
  52. package/dist/types/db-pevent-types.js +123 -0
  53. package/dist/types/db-pevent-types.js.map +1 -0
  54. package/dist/types/db-product-types.d.ts +67 -0
  55. package/dist/types/db-product-types.js +82 -0
  56. package/dist/types/db-product-types.js.map +1 -0
  57. package/dist/types/db-selected-event-types.d.ts +38 -0
  58. package/dist/types/db-selected-event-types.js +25 -0
  59. package/dist/types/db-selected-event-types.js.map +1 -0
  60. package/dist/types/db-selected-folder-types.d.ts +34 -0
  61. package/dist/types/db-selected-folder-types.js +21 -0
  62. package/dist/types/db-selected-folder-types.js.map +1 -0
  63. package/dist/types/db-service-provider-types.d.ts +13 -0
  64. package/dist/types/db-service-provider-types.js +2 -0
  65. package/dist/types/db-service-provider-types.js.map +1 -0
  66. package/dist/types/db-stag-types.d.ts +63 -0
  67. package/dist/types/db-stag-types.js +73 -0
  68. package/dist/types/db-stag-types.js.map +1 -0
  69. package/dist/types/db-tag-types.d.ts +5 -0
  70. package/dist/types/db-tag-types.js +2 -0
  71. package/dist/types/db-tag-types.js.map +1 -0
  72. package/dist/types/db-team-types.d.ts +65 -0
  73. package/dist/types/db-team-types.js +78 -0
  74. package/dist/types/db-team-types.js.map +1 -0
  75. package/dist/types/db-user-types.d.ts +85 -0
  76. package/dist/types/db-user-types.js +13 -0
  77. package/dist/types/db-user-types.js.map +1 -0
  78. package/package.json +1 -1
@@ -50,7 +50,7 @@ export declare const DPLUS_CONTENT_TYPE: {
50
50
  product: string;
51
51
  team: string;
52
52
  };
53
- export type FormFieldProps = {
53
+ export type TFormFieldProps = {
54
54
  id: string;
55
55
  label: string;
56
56
  is_required: boolean;
@@ -1,20 +1,20 @@
1
- import { TBrandDetail, TMapBrandEvent, TMapBrandFolder } from "../db-types/db-brand-types";
2
- import { TCategoryDetail, TCategoryI18n } from "../db-types/db-category-types";
3
- import { TCelebDetail, TMapCelebEvent, TMapCelebFolder } from "../db-types/db-celeb-types";
4
- import { TCityDetail, TCityI18n, TCityImage, TCityYouTubeVideo } from "../db-types/db-city-types";
5
- import { TCompanyDetail, TMapCompanyEvent, TMapCompanyFolder } from "../db-types/db-company-types";
6
- import { TEventDetail, TEventImage, TEventListForAdmin } from "../db-types/db-event-types";
7
- import { TFolderDetail, TFolderImage } from "../db-types/db-folder-types";
8
- import { TIdolGroupDetail, TMapIdolGroupEvent, TMapIdolGroupFolder } from "../db-types/db-idol-group-types";
9
- import { TMapCategoryEvent, TMapCategoryFolder, TMapCityEvent, TMapCityFolder, TMapStagEvent, TMapStagFolder, TMapTagEvent, TMapTagFolder } from "../db-types/db-map-types";
10
- import { TMetadataI18nDetail } from "../db-types/db-metadata-types";
11
- import { TMapPeopleEvent, TMapPeopleFolder, TPeopleDetail } from "../db-types/db-people-types";
12
- import { TPeventDetail, TPeventImage } from "../db-types/db-pevent-types";
13
- import { TMapProductEvent, TMapProductFolder, TProductDetail } from "../db-types/db-product-types";
14
- import { TSelectedEventDetail } from "../db-types/db-selected-event-types";
15
- import { TSelectedFolderDetail } from "../db-types/db-selected-folder-types";
16
- import { TStagDetail, TStagI18n } from "../db-types/db-stag-types";
17
- import { TMapTeamEvent, TMapTeamFolder, TTeamDetail } from "../db-types/db-team-types";
1
+ import { TBrandDetail, TMapBrandEvent, TMapBrandFolder } from "../types/db-brand-types";
2
+ import { TCategoryDetail, TCategoryI18n } from "../types/db-category-types";
3
+ import { TCelebDetail, TMapCelebEvent, TMapCelebFolder } from "../types/db-celeb-types";
4
+ import { TCityDetail, TCityI18n, TCityImage, TCityYouTubeVideo } from "../types/db-city-types";
5
+ import { TCompanyDetail, TMapCompanyEvent, TMapCompanyFolder } from "../types/db-company-types";
6
+ import { TEventDetail, TEventImage, TEventListForAdmin } from "../types/db-event-types";
7
+ import { TFolderDetail, TFolderImage } from "../types/db-folder-types";
8
+ import { TIdolGroupDetail, TMapIdolGroupEvent, TMapIdolGroupFolder } from "../types/db-idol-group-types";
9
+ import { TMapCategoryEvent, TMapCategoryFolder, TMapCityEvent, TMapCityFolder, TMapStagEvent, TMapStagFolder, TMapTagEvent, TMapTagFolder } from "../types/db-map-types";
10
+ import { TMetadataI18nDetail } from "../types/db-metadata-types";
11
+ import { TMapPeopleEvent, TMapPeopleFolder, TPeopleDetail } from "../types/db-people-types";
12
+ import { TPeventDetail, TPeventImage } from "../types/db-pevent-types";
13
+ import { TMapProductEvent, TMapProductFolder, TProductDetail } from "../types/db-product-types";
14
+ import { TSelectedEventDetail } from "../types/db-selected-event-types";
15
+ import { TSelectedFolderDetail } from "../types/db-selected-folder-types";
16
+ import { TStagDetail, TStagI18n } from "../types/db-stag-types";
17
+ import { TMapTeamEvent, TMapTeamFolder, TTeamDetail } from "../types/db-team-types";
18
18
  export type ResponseDBSelect<T> = {
19
19
  data: T;
20
20
  count?: number;
package/dist/index.d.ts CHANGED
@@ -4,30 +4,30 @@ export * from "./consts/common.js";
4
4
  export * from "./consts/db.js";
5
5
  export * from "./consts/supported-countries.js";
6
6
  export * from "./consts/supported-languages.js";
7
- export * from "./db-types/db-administrator-types.js";
8
- export * from "./db-types/db-brand-types.js";
9
- export * from "./db-types/db-category-types.js";
10
- export * from "./db-types/db-celeb-types.js";
11
- export * from "./db-types/db-city-types.js";
12
- export * from "./db-types/db-company-types.js";
13
- export * from "./db-types/db-event-types.js";
14
- export * from "./db-types/db-folder-types.js";
15
- export * from "./db-types/db-i18n-types.js";
16
- export * from "./db-types/db-idol-group-types.js";
17
- export * from "./db-types/db-log-types.js";
18
- export * from "./db-types/db-map-types.js";
19
- export * from "./db-types/db-metadata-types.js";
20
- export * from "./db-types/db-people-types.js";
21
- export * from "./db-types/db-pevent-types.js";
22
- export * from "./db-types/db-product-types.js";
23
- export * from "./db-types/db-selected-event-types.js";
24
- export * from "./db-types/db-selected-folder-types.js";
25
- export * from "./db-types/db-service-provider-types.js";
26
- export * from "./db-types/db-stag-types.js";
27
- export * from "./db-types/db-tag-types.js";
28
- export * from "./db-types/db-team-types.js";
29
- export * from "./db-types/db-event-user-reported-types.js";
30
- export * from "./db-types/db-user-types.js";
7
+ export * from "./types/db-administrator-types.js";
8
+ export * from "./types/db-brand-types.js";
9
+ export * from "./types/db-category-types.js";
10
+ export * from "./types/db-celeb-types.js";
11
+ export * from "./types/db-city-types.js";
12
+ export * from "./types/db-company-types.js";
13
+ export * from "./types/db-event-types.js";
14
+ export * from "./types/db-folder-types.js";
15
+ export * from "./types/db-i18n-types.js";
16
+ export * from "./types/db-idol-group-types.js";
17
+ export * from "./types/db-log-types.js";
18
+ export * from "./types/db-map-types.js";
19
+ export * from "./types/db-metadata-types.js";
20
+ export * from "./types/db-people-types.js";
21
+ export * from "./types/db-pevent-types.js";
22
+ export * from "./types/db-product-types.js";
23
+ export * from "./types/db-selected-event-types.js";
24
+ export * from "./types/db-selected-folder-types.js";
25
+ export * from "./types/db-service-provider-types.js";
26
+ export * from "./types/db-stag-types.js";
27
+ export * from "./types/db-tag-types.js";
28
+ export * from "./types/db-team-types.js";
29
+ export * from "./types/db-event-user-reported-types.js";
30
+ export * from "./types/db-user-types.js";
31
31
  export * from "./dplus-types/dplus-response-types.js";
32
32
  export * from "./fields/field-administrator.js";
33
33
  export * from "./fields/field-brand.js";
package/dist/index.js CHANGED
@@ -4,30 +4,30 @@ export * from "./consts/common.js";
4
4
  export * from "./consts/db.js";
5
5
  export * from "./consts/supported-countries.js";
6
6
  export * from "./consts/supported-languages.js";
7
- export * from "./db-types/db-administrator-types.js";
8
- export * from "./db-types/db-brand-types.js";
9
- export * from "./db-types/db-category-types.js";
10
- export * from "./db-types/db-celeb-types.js";
11
- export * from "./db-types/db-city-types.js";
12
- export * from "./db-types/db-company-types.js";
13
- export * from "./db-types/db-event-types.js";
14
- export * from "./db-types/db-folder-types.js";
15
- export * from "./db-types/db-i18n-types.js";
16
- export * from "./db-types/db-idol-group-types.js";
17
- export * from "./db-types/db-log-types.js";
18
- export * from "./db-types/db-map-types.js";
19
- export * from "./db-types/db-metadata-types.js";
20
- export * from "./db-types/db-people-types.js";
21
- export * from "./db-types/db-pevent-types.js";
22
- export * from "./db-types/db-product-types.js";
23
- export * from "./db-types/db-selected-event-types.js";
24
- export * from "./db-types/db-selected-folder-types.js";
25
- export * from "./db-types/db-service-provider-types.js";
26
- export * from "./db-types/db-stag-types.js";
27
- export * from "./db-types/db-tag-types.js";
28
- export * from "./db-types/db-team-types.js";
29
- export * from "./db-types/db-event-user-reported-types.js";
30
- export * from "./db-types/db-user-types.js";
7
+ export * from "./types/db-administrator-types.js";
8
+ export * from "./types/db-brand-types.js";
9
+ export * from "./types/db-category-types.js";
10
+ export * from "./types/db-celeb-types.js";
11
+ export * from "./types/db-city-types.js";
12
+ export * from "./types/db-company-types.js";
13
+ export * from "./types/db-event-types.js";
14
+ export * from "./types/db-folder-types.js";
15
+ export * from "./types/db-i18n-types.js";
16
+ export * from "./types/db-idol-group-types.js";
17
+ export * from "./types/db-log-types.js";
18
+ export * from "./types/db-map-types.js";
19
+ export * from "./types/db-metadata-types.js";
20
+ export * from "./types/db-people-types.js";
21
+ export * from "./types/db-pevent-types.js";
22
+ export * from "./types/db-product-types.js";
23
+ export * from "./types/db-selected-event-types.js";
24
+ export * from "./types/db-selected-folder-types.js";
25
+ export * from "./types/db-service-provider-types.js";
26
+ export * from "./types/db-stag-types.js";
27
+ export * from "./types/db-tag-types.js";
28
+ export * from "./types/db-team-types.js";
29
+ export * from "./types/db-event-user-reported-types.js";
30
+ export * from "./types/db-user-types.js";
31
31
  export * from "./dplus-types/dplus-response-types.js";
32
32
  export * from "./fields/field-administrator.js";
33
33
  export * from "./fields/field-brand.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAEhD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uCAAuC,CAAC;AAEtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC;AACvD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yCAAyC,CAAC;AACxD,cAAc,0BAA0B,CAAC;AAEzC,cAAc,uCAAuC,CAAC;AAEtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC;AACvD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,26 @@
1
+ export type TAdministratorListForAdmin = {
2
+ admin_id: string;
3
+ email: string;
4
+ pw: string;
5
+ name: string | null;
6
+ level: string | null;
7
+ created_at: Date;
8
+ created_by: string | null;
9
+ last_accessed_at: Date;
10
+ is_active: boolean;
11
+ };
12
+ export type TAdministratorDetail = TAdministratorListForAdmin & {
13
+ profile: string | null;
14
+ refresh_token: string | null;
15
+ refresh_token_issued_at: Date | null;
16
+ deactivated_at: Date | null;
17
+ deactivated_by: string | null;
18
+ };
19
+ export type TAdministratorDetailInsert = {
20
+ admin_id: string;
21
+ email: string;
22
+ pw: string;
23
+ } & Partial<Omit<TAdministratorDetail, "admin_id" | "email" | "pw">>;
24
+ export type TAdministratorDetailUpdate = {
25
+ admin_id: string;
26
+ } & Partial<Omit<TAdministratorDetail, "admin_id">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-administrator-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-administrator-types.js","sourceRoot":"","sources":["../../src/types/db-administrator-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,66 @@
1
+ export type TBrandListForAdmin = {
2
+ brand_code: string;
3
+ company_code: string | null;
4
+ name: string;
5
+ name_native: string | null;
6
+ homepage: 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
+ is_official_account: boolean;
14
+ };
15
+ export type TBrandDetail = TBrandListForAdmin & {
16
+ thumbnail_square: string | null;
17
+ thumbnail_horizontal: string | null;
18
+ thumbnail_vertical: string | null;
19
+ profile: string | null;
20
+ deactivated_at: Date | null;
21
+ deactivated_by: string | null;
22
+ hero_image_01: string | null;
23
+ hero_image_02: string | null;
24
+ hero_image_03: string | null;
25
+ hero_image_04: string | null;
26
+ hero_image_05: string | null;
27
+ thumbnail_main_01: string | null;
28
+ thumbnail_main_02: string | null;
29
+ thumbnail_main_03: string | null;
30
+ thumbnail_main_04: string | null;
31
+ thumbnail_main_05: string | null;
32
+ thumbnail_vertical_01: string | null;
33
+ thumbnail_vertical_02: string | null;
34
+ thumbnail_vertical_03: string | null;
35
+ thumbnail_vertical_04: string | null;
36
+ thumbnail_vertical_05: string | null;
37
+ metadata_title: string | null;
38
+ metadata_description: string | null;
39
+ metadata_keywords: string | null;
40
+ metadata_og_title: string | null;
41
+ metadata_og_description: string | null;
42
+ metadata_og_image: string | null;
43
+ };
44
+ export type TBrandDetailInsert = {
45
+ brand_code: string;
46
+ name: string;
47
+ } & Partial<Omit<TBrandDetail, "brand_code">>;
48
+ export type TBrandDetailUpdate = {
49
+ brand_code: string;
50
+ } & Partial<Omit<TBrandDetail, "brand_code">>;
51
+ export type TMapBrandFolder = {
52
+ brand_code: string;
53
+ folder_id: string;
54
+ earliest_event?: Date | null;
55
+ latest_event?: Date | null;
56
+ };
57
+ export type TMapBrandEvent = {
58
+ brand_code: string;
59
+ event_id: string;
60
+ date?: Date | null;
61
+ };
62
+ export declare const DB_COLUMNS_BRAND_LIST_FOR_ADMIN: string[];
63
+ export declare const KEYS_BRAND_STR: string[];
64
+ export declare const KEYS_BRAND_NUM: never[];
65
+ export declare const KEYS_BRAND_BOOL: string[];
66
+ export declare const KEYS_BRAND_STR_ARRAY: string[];
@@ -0,0 +1,80 @@
1
+ /*
2
+ * DB 컬럼 목록 For Brand List For Admin
3
+ */
4
+ export const DB_COLUMNS_BRAND_LIST_FOR_ADMIN = [
5
+ "brand_code",
6
+ "company_code",
7
+ "name",
8
+ "name_native",
9
+ "homepage",
10
+ "youtube_ch_id",
11
+ "instagram_id",
12
+ "tiktok_id",
13
+ "threads_id",
14
+ "is_active",
15
+ "is_display",
16
+ "is_official_account",
17
+ ];
18
+ /*
19
+ * Brand 데이터 문자열 KEY 목록
20
+ * FormData Parsing 할 때 사용
21
+ */
22
+ export const KEYS_BRAND_STR = [
23
+ "brand_code",
24
+ "company_code",
25
+ "name",
26
+ "name_native",
27
+ "thumbnail_square",
28
+ "thumbnail_horizontal",
29
+ "thumbnail_vertical",
30
+ "profile",
31
+ "homepage",
32
+ "youtube_ch_id",
33
+ "instagram_id",
34
+ "tiktok_id",
35
+ "threads_id",
36
+ "deactivated_at",
37
+ "deactivated_by",
38
+ "hero_image_01",
39
+ "hero_image_02",
40
+ "hero_image_03",
41
+ "hero_image_04",
42
+ "hero_image_05",
43
+ "thumbnail_main_01",
44
+ "thumbnail_main_02",
45
+ "thumbnail_main_03",
46
+ "thumbnail_main_04",
47
+ "thumbnail_main_05",
48
+ "thumbnail_vertical_01",
49
+ "thumbnail_vertical_02",
50
+ "thumbnail_vertical_03",
51
+ "thumbnail_vertical_04",
52
+ "thumbnail_vertical_05",
53
+ "metadata_title",
54
+ "metadata_description",
55
+ "metadata_og_title",
56
+ "metadata_og_description",
57
+ "metadata_og_image",
58
+ ];
59
+ /*
60
+ * Brand 데�터 숫자 KEY 목록
61
+ * FormDataParsing 할 때 사용
62
+ */
63
+ export const KEYS_BRAND_NUM = [];
64
+ /*
65
+ * Brand 데이터 불리언 KEY 목록
66
+ * FormData Parsing 할 때 사용
67
+ */
68
+ export const KEYS_BRAND_BOOL = [
69
+ "is_active",
70
+ "is_display",
71
+ "is_official_account",
72
+ ];
73
+ /*
74
+ * Brand 데이터 문자열 배열 KEY 목록
75
+ * FormData Parsing 할 때 사용
76
+ */
77
+ export const KEYS_BRAND_STR_ARRAY = [
78
+ "metadata_keywords",
79
+ ];
80
+ //# sourceMappingURL=db-brand-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-brand-types.js","sourceRoot":"","sources":["../../src/types/db-brand-types.ts"],"names":[],"mappings":"AAuEA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,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;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,cAAc;IACd,MAAM;IACN,aAAa;IACb,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,CAAC;AAEjC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,mBAAmB;CACpB,CAAC"}
@@ -0,0 +1,65 @@
1
+ export type TCategoryOption = {
2
+ category_code: string;
3
+ order_num: number;
4
+ target_country_code: string;
5
+ upper_category_code: string | null;
6
+ name: string;
7
+ is_active: boolean;
8
+ is_display: boolean;
9
+ };
10
+ export type TCategoryListForAdmin = TCategoryOption & {
11
+ icon: string | null;
12
+ profile: string | null;
13
+ event_count: number;
14
+ created_at: Date;
15
+ created_by: string | null;
16
+ updated_at: Date;
17
+ };
18
+ export type TCategoryDetail = TCategoryListForAdmin & {
19
+ thumbnail_square: string | null;
20
+ thumbnail_horizontal: string | null;
21
+ thumbnail_vertical: string | null;
22
+ deactivated_at: Date | null;
23
+ deactivated_by: string | null;
24
+ hero_image_01: string | null;
25
+ hero_image_02: string | null;
26
+ hero_image_03: string | null;
27
+ hero_image_04: string | null;
28
+ hero_image_05: string | null;
29
+ thumbnail_main_01: string | null;
30
+ thumbnail_main_02: string | null;
31
+ thumbnail_main_03: string | null;
32
+ thumbnail_main_04: string | null;
33
+ thumbnail_main_05: string | null;
34
+ thumbnail_vertical_01: string | null;
35
+ thumbnail_vertical_02: string | null;
36
+ thumbnail_vertical_03: string | null;
37
+ thumbnail_vertical_04: string | null;
38
+ thumbnail_vertical_05: string | null;
39
+ metadata_title: string | null;
40
+ metadata_description: string | null;
41
+ metadata_keywords: string | null;
42
+ metadata_og_title: string | null;
43
+ metadata_og_description: string | null;
44
+ metadata_og_image: string | null;
45
+ };
46
+ export type TCategoryDetailInsert = {
47
+ category_code: string;
48
+ order_num: number;
49
+ target_country_code: string;
50
+ name: string;
51
+ } & Partial<Omit<TCategoryDetail, "category_code" | "order_num" | "target_country_code" | "name">>;
52
+ export type TCategoryDetailUpdate = {
53
+ category_code: string;
54
+ } & Partial<Omit<TCategoryDetail, "category_code">>;
55
+ export type TCategoryI18n = {
56
+ category_code: string;
57
+ lang_code: string;
58
+ name: string;
59
+ };
60
+ export declare const DB_COLUMNS_CATEGORY_OPTION: string[];
61
+ export declare const DB_COLUMNS_CATEGORY_LIST_FOR_ADMIN: string[];
62
+ export declare const KEYS_CATEGORY_STR: string[];
63
+ export declare const KEYS_CATEGORY_NUM: string[];
64
+ export declare const KEYS_CATEGORY_BOOL: string[];
65
+ export declare const KEYS_CATEGORY_STR_ARRAY: string[];
@@ -0,0 +1,92 @@
1
+ /*
2
+ * DB 컬럼 목록 For City List For Admin
3
+ */
4
+ export const DB_COLUMNS_CATEGORY_OPTION = [
5
+ "category_code",
6
+ "order_num",
7
+ "target_country_code",
8
+ "name",
9
+ "is_active",
10
+ "is_display",
11
+ ];
12
+ /*
13
+ * DB 컬럼 목록 For City List For Admin
14
+ */
15
+ export const DB_COLUMNS_CATEGORY_LIST_FOR_ADMIN = [
16
+ "category_code",
17
+ "order_num",
18
+ "target_country_code",
19
+ "name",
20
+ "is_active",
21
+ "is_display",
22
+ "icon",
23
+ "profile",
24
+ "event_count",
25
+ "created_at",
26
+ "created_by",
27
+ "updated_at",
28
+ ];
29
+ /*
30
+ * 도시 데이터 문자열 KEY 목록
31
+ * FormData Parsing 할 때 사용
32
+ */
33
+ export const KEYS_CATEGORY_STR = [
34
+ "category_code",
35
+ "order_num",
36
+ "target_country_code",
37
+ "upper_category_code",
38
+ "name",
39
+ "icon",
40
+ "thumbnail_square",
41
+ "thumbnail_horizontal",
42
+ "thumbnail_vertical",
43
+ "profile",
44
+ "created_at",
45
+ "created_by",
46
+ "updated_at",
47
+ "deactivated_at",
48
+ "deactivated_by",
49
+ "hero_image_01",
50
+ "hero_image_02",
51
+ "hero_image_03",
52
+ "hero_image_04",
53
+ "hero_image_05",
54
+ "thumbnail_main_01",
55
+ "thumbnail_main_02",
56
+ "thumbnail_main_03",
57
+ "thumbnail_main_04",
58
+ "thumbnail_main_05",
59
+ "thumbnail_vertical_01",
60
+ "thumbnail_vertical_02",
61
+ "thumbnail_vertical_03",
62
+ "thumbnail_vertical_04",
63
+ "thumbnail_vertical_05",
64
+ "metadata_title",
65
+ "metadata_description",
66
+ "metadata_og_title",
67
+ "metadata_og_description",
68
+ "metadata_og_image",
69
+ ];
70
+ /*
71
+ * 도시 데이터 숫자 KEY 목록
72
+ * FormDataParsing 할 때 사용
73
+ */
74
+ export const KEYS_CATEGORY_NUM = [
75
+ "event_count",
76
+ ];
77
+ /*
78
+ * 도시 데이터 불리언 KEY 목록
79
+ * FormData Parsing 할 때 사용
80
+ */
81
+ export const KEYS_CATEGORY_BOOL = [
82
+ "is_active",
83
+ "is_display",
84
+ ];
85
+ /*
86
+ * 도시 데이터 문자열 배열 KEY 목록
87
+ * FormData Parsing 할 때 사용
88
+ */
89
+ export const KEYS_CATEGORY_STR_ARRAY = [
90
+ "metadata_keywords",
91
+ ];
92
+ //# sourceMappingURL=db-category-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-category-types.js","sourceRoot":"","sources":["../../src/types/db-category-types.ts"],"names":[],"mappings":"AAoEA;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,eAAe;IACf,WAAW;IACX,qBAAqB;IACrB,MAAM;IACN,WAAW;IACX,YAAY;CACb,CAAC;AAGF;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,eAAe;IACf,WAAW;IACX,qBAAqB;IACrB,MAAM;IACN,WAAW;IACX,YAAY;IACZ,MAAM;IACN,SAAS;IACT,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,eAAe;IACf,WAAW;IACX,qBAAqB;IACrB,qBAAqB;IACrB,MAAM;IACN,MAAM;IACN,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa;CACd,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,mBAAmB;CACpB,CAAC"}
@@ -0,0 +1,66 @@
1
+ export type TCelebListForAdmin = {
2
+ celeb_code: string;
3
+ idol_group_code: string | null;
4
+ name: string;
5
+ name_native: string | null;
6
+ homepage: 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
+ is_official_account: boolean;
14
+ };
15
+ export type TCelebDetail = TCelebListForAdmin & {
16
+ profile: string | null;
17
+ thumbnail_square: string | null;
18
+ thumbnail_horizontal: string | null;
19
+ thumbnail_vertical: string | null;
20
+ deactivated_at: Date | null;
21
+ deactivated_by: string | null;
22
+ hero_image_01: string | null;
23
+ hero_image_02: string | null;
24
+ hero_image_03: string | null;
25
+ hero_image_04: string | null;
26
+ hero_image_05: string | null;
27
+ thumbnail_main_01: string | null;
28
+ thumbnail_main_02: string | null;
29
+ thumbnail_main_03: string | null;
30
+ thumbnail_main_04: string | null;
31
+ thumbnail_main_05: string | null;
32
+ thumbnail_vertical_01: string | null;
33
+ thumbnail_vertical_02: string | null;
34
+ thumbnail_vertical_03: string | null;
35
+ thumbnail_vertical_04: string | null;
36
+ thumbnail_vertical_05: string | null;
37
+ metadata_title: string | null;
38
+ metadata_description: string | null;
39
+ metadata_keywords: string | null;
40
+ metadata_og_title: string | null;
41
+ metadata_og_description: string | null;
42
+ metadata_og_image: string | null;
43
+ };
44
+ export type TCelebDetailInsert = {
45
+ celeb_code: string;
46
+ name: string;
47
+ } & Partial<Omit<TCelebDetail, "celeb_code">>;
48
+ export type TCelebDetailUpdate = {
49
+ celeb_code: string;
50
+ } & Partial<Omit<TCelebDetail, "celeb_code">>;
51
+ export type TMapCelebFolder = {
52
+ celeb_code: string;
53
+ folder_id: string;
54
+ earliest_event?: Date | null;
55
+ latest_event?: Date | null;
56
+ };
57
+ export type TMapCelebEvent = {
58
+ celeb_code: string;
59
+ event_id: string;
60
+ date?: Date | null;
61
+ };
62
+ export declare const DB_COLUMNS_CELEB_LIST_FOR_ADMIN: string[];
63
+ export declare const KEYS_CELEB_STR: string[];
64
+ export declare const KEYS_CELEB_NUM: never[];
65
+ export declare const KEYS_CELEB_BOOL: string[];
66
+ export declare const KEYS_CELEB_STR_ARRAY: string[];