dplus_common_v1 0.1.33 → 0.1.34

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.
@@ -0,0 +1,67 @@
1
+ export type TGroupListForAdmin = {
2
+ group_code: string;
3
+ group_type: string | null;
4
+ name: string;
5
+ name_native: string | null;
6
+ related_group_code: string | null;
7
+ homepage: string | null;
8
+ youtube_ch_id: string | null;
9
+ instagram_id: string | null;
10
+ tiktok_id: string | null;
11
+ threads_id: string | null;
12
+ is_active: boolean;
13
+ is_display: boolean;
14
+ is_official_account: boolean;
15
+ };
16
+ export type TGroupDetail = TGroupListForAdmin & {
17
+ thumbnail_square: string | null;
18
+ thumbnail_horizontal: string | null;
19
+ thumbnail_vertical: string | null;
20
+ profile: string | null;
21
+ deactivated_at: Date | null;
22
+ deactivated_by: string | null;
23
+ hero_image_01: string | null;
24
+ hero_image_02: string | null;
25
+ hero_image_03: string | null;
26
+ hero_image_04: string | null;
27
+ hero_image_05: string | null;
28
+ thumbnail_main_01: string | null;
29
+ thumbnail_main_02: string | null;
30
+ thumbnail_main_03: string | null;
31
+ thumbnail_main_04: string | null;
32
+ thumbnail_main_05: string | null;
33
+ thumbnail_vertical_01: string | null;
34
+ thumbnail_vertical_02: string | null;
35
+ thumbnail_vertical_03: string | null;
36
+ thumbnail_vertical_04: string | null;
37
+ thumbnail_vertical_05: string | null;
38
+ metadata_title: string | null;
39
+ metadata_description: string | null;
40
+ metadata_keywords: string | null;
41
+ metadata_og_title: string | null;
42
+ metadata_og_description: string | null;
43
+ metadata_og_image: string | null;
44
+ };
45
+ export type TGroupDetailInsert = {
46
+ group_code: string;
47
+ name: string;
48
+ } & Partial<Omit<TGroupDetail, "group_code">>;
49
+ export type TGroupDetailUpdate = {
50
+ group_code: string;
51
+ } & Partial<Omit<TGroupDetail, "group_code">>;
52
+ export type TMapGroupFolder = {
53
+ group_code: string;
54
+ folder_id: string;
55
+ earliest_event?: Date | null;
56
+ latest_event?: Date | null;
57
+ };
58
+ export type TMapGroupEvent = {
59
+ group_code: string;
60
+ event_id: string;
61
+ date?: Date | null;
62
+ };
63
+ export declare const DB_COLUMNS_GROUP_LIST_FOR_ADMIN: string[];
64
+ export declare const KEYS_GROUP_STR: string[];
65
+ export declare const KEYS_GROUP_NUM: never[];
66
+ export declare const KEYS_GROUP_BOOL: string[];
67
+ export declare const KEYS_GROUP_STR_ARRAY: string[];
@@ -0,0 +1,77 @@
1
+ /*
2
+ * DB 컬럼 목록 For Idol Group List For Admin
3
+ */
4
+ export const DB_COLUMNS_GROUP_LIST_FOR_ADMIN = [
5
+ "group_code",
6
+ "group_type",
7
+ "name",
8
+ "name_native",
9
+ "related_group_code",
10
+ "homepage",
11
+ "youtube_ch_id",
12
+ "instagram_id",
13
+ "tiktok_id",
14
+ "threads_id",
15
+ "is_active",
16
+ "is_display",
17
+ "is_official_account",
18
+ ];
19
+ /*
20
+ * Group 데이터 문자열 KEY 목록
21
+ * FormData Parsing 할 때 사용
22
+ */
23
+ export const KEYS_GROUP_STR = [
24
+ "group_code",
25
+ "group_type",
26
+ "name",
27
+ "name_native",
28
+ "related_group_code",
29
+ "thumbnail_square",
30
+ "thumbnail_horizontal",
31
+ "thumbnail_vertical",
32
+ "profile",
33
+ "homepage",
34
+ "youtube_ch_id",
35
+ "instagram_id",
36
+ "tiktok_id",
37
+ "threads_id",
38
+ "deactivated_at",
39
+ "deactivated_by",
40
+ "hero_image_01",
41
+ "hero_image_02",
42
+ "hero_image_03",
43
+ "hero_image_04",
44
+ "hero_image_05",
45
+ "thumbnail_main_01",
46
+ "thumbnail_main_02",
47
+ "thumbnail_main_03",
48
+ "thumbnail_main_04",
49
+ "thumbnail_main_05",
50
+ "thumbnail_vertical_01",
51
+ "thumbnail_vertical_02",
52
+ "thumbnail_vertical_03",
53
+ "thumbnail_vertical_04",
54
+ "thumbnail_vertical_05",
55
+ "metadata_title",
56
+ "metadata_description",
57
+ "metadata_keywords",
58
+ "metadata_og_title",
59
+ "metadata_og_description",
60
+ "metadata_og_image",
61
+ ];
62
+ /*
63
+ * Group 데이터 숫자 KEY 목록
64
+ * FormDataParsing 할 때 사용
65
+ */
66
+ export const KEYS_GROUP_NUM = [];
67
+ /*
68
+ * Brand 데이터 불리언 KEY 목록
69
+ * FormData Parsing 할 때 사용
70
+ */
71
+ export const KEYS_GROUP_BOOL = ["is_active", "is_display", "is_official_account"];
72
+ /*
73
+ * Idol Group 데이터 문자열 배열 KEY 목록
74
+ * FormData Parsing 할 때 사용
75
+ */
76
+ export const KEYS_GROUP_STR_ARRAY = ["metadata_keywords"];
77
+ //# sourceMappingURL=db-group-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-group-types.js","sourceRoot":"","sources":["../../src/types/db-group-types.ts"],"names":[],"mappings":"AAoEA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,aAAa;IACb,oBAAoB;IACpB,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,aAAa;IACb,oBAAoB;IACpB,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,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,CAAC,WAAW,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;AAElF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
@@ -3,12 +3,24 @@ export type TStagListForAdmin = {
3
3
  stag_code: string;
4
4
  stag: string;
5
5
  url: string | null;
6
+ official_web: string | null;
7
+ youtube_ch_id: string | null;
8
+ tiktok_id: string | null;
9
+ instagram_id: string | null;
10
+ address: string;
11
+ google_map_url: string;
6
12
  event_count: number;
7
13
  is_active: boolean;
8
14
  is_display: boolean;
9
15
  };
10
16
  export type TStagDetail = TStagListForAdmin & {
11
17
  stag_native: string | null;
18
+ location: string | null;
19
+ latitude: number | null;
20
+ longitude: number | null;
21
+ radius_m: number | null;
22
+ address_native: string;
23
+ naver_map_url: string | null;
12
24
  thumbnail_square: string | null;
13
25
  thumbnail_horizontal: string | null;
14
26
  thumbnail_vertical: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"db-stag-types.js","sourceRoot":"","sources":["../../src/types/db-stag-types.ts"],"names":[],"mappings":"AAgEA;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;AAE5I;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,qBAAqB;IACrB,WAAW;IACX,MAAM;IACN,aAAa;IACb,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,aAAa;IACb,KAAK;IACL,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,aAAa,GAAG,CAAC,aAAa,CAAC,CAAC;AAE7C;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"db-stag-types.js","sourceRoot":"","sources":["../../src/types/db-stag-types.ts"],"names":[],"mappings":"AA4EA;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;AAE5I;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,qBAAqB;IACrB,WAAW;IACX,MAAM;IACN,aAAa;IACb,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,aAAa;IACb,KAAK;IACL,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,aAAa,GAAG,CAAC,aAAa,CAAC,CAAC;AAE7C;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"