dplus_common_v1 0.1.78 → 0.1.80

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.
@@ -234,15 +234,10 @@ export type TEventCardForDateDetail = TEventCard & {
234
234
  /**
235
235
  * 날짜 상세 응답 타입 For Admin
236
236
  */
237
- /**
238
- * 날짜 상세 응답 타입 For User Front
239
- */
240
- /**
241
- * 오늘 날짜 상세 응답 타입 For Admin
242
- */
243
- /**
244
- * 오늘 날짜 상세 응답 타입 For User Front
245
- */
237
+ export type ResponseDateDetailForAdmin = {
238
+ date: string;
239
+ events: TEventCardForDateDetail[];
240
+ };
246
241
  /**
247
242
  * 주변 날짜 상세 응답 타입 For Admin
248
243
  */
@@ -8,6 +8,7 @@ export type TCountryOption = {
8
8
  country_name: string;
9
9
  native: string | null;
10
10
  };
11
+ export declare const DB_COLUMNS_COUNTRY_OPTION: string[];
11
12
  export type TCountryList = {
12
13
  country_code: string;
13
14
  country_name: string;
@@ -20,6 +21,7 @@ export type TCountryList = {
20
21
  created_at: Date;
21
22
  updated_at: Date;
22
23
  };
24
+ export declare const DB_COLUMNS_COUNTRY_LIST: string[];
23
25
  export type TCountryDetail = TCountryList & {
24
26
  thumbnail_square: string;
25
27
  thumbnail_horizontal: string;
@@ -48,4 +50,8 @@ export type TCountryDetail = TCountryList & {
48
50
  metadata_og_description: string;
49
51
  metadata_og_image: string;
50
52
  };
51
- export type TCountryUpdate = Partial<Omit<TCountryDetail, "country_code">>;
53
+ export type TCountryDetailUpdate = Partial<Omit<TCountryDetail, "country_code">>;
54
+ export declare const KEYS_COUNTRY_STR: string[];
55
+ export declare const KEYS_COUNTRY_NUM: string[];
56
+ export declare const KEYS_COUNTRY_BOOL: string[];
57
+ export declare const KEYS_COUNTRY_STR_ARRAY: string[];
@@ -1,2 +1,60 @@
1
- export {};
1
+ /*
2
+ * DB 컬럼 목록 For Country Option For Admin
3
+ */
4
+ export const DB_COLUMNS_COUNTRY_OPTION = ["country_code", "country_name", "native"];
5
+ /*
6
+ * DB 컬럼 목록 For Country List For Admin
7
+ */
8
+ export const DB_COLUMNS_COUNTRY_LIST = ["country_code", "country_name", "native", "event_count", "user_count", "view_count", "is_active", "is_display", "created_at", "updated_at"];
9
+ /*
10
+ * 국가 데이터 문자열 KEY 목록
11
+ * FormData Parsing 할 때 사용
12
+ */
13
+ export const KEYS_COUNTRY_STR = [
14
+ "country_code",
15
+ "country_name",
16
+ "native",
17
+ "thumbnail_square",
18
+ "thumbnail_horizontal",
19
+ "thumbnail_vertical",
20
+ "hero_image_01",
21
+ "hero_image_02",
22
+ "hero_image_03",
23
+ "hero_image_04",
24
+ "hero_image_05",
25
+ "thumbnail_main_01",
26
+ "thumbnail_main_02",
27
+ "thumbnail_main_03",
28
+ "thumbnail_main_04",
29
+ "thumbnail_main_05",
30
+ "thumbnail_vertical_01",
31
+ "thumbnail_vertical_02",
32
+ "thumbnail_vertical_03",
33
+ "thumbnail_vertical_04",
34
+ "thumbnail_vertical_05",
35
+ "deactivated_at",
36
+ "deactivated_by",
37
+ "metadata_title",
38
+ "metadata_description",
39
+ "metadata_og_title",
40
+ "metadata_og_description",
41
+ "metadata_og_image",
42
+ "created_at",
43
+ "updated_at",
44
+ ];
45
+ /*
46
+ * 국가 데이터 숫자 KEY 목록
47
+ * FormDataParsing 할 때 사용
48
+ */
49
+ export const KEYS_COUNTRY_NUM = ["event_count", "user_count", "view_count"];
50
+ /*
51
+ * 국가 데이터 불리언 KEY 목록
52
+ * FormData Parsing 할 때 사용
53
+ */
54
+ export const KEYS_COUNTRY_BOOL = ["is_active", "is_display"];
55
+ /*
56
+ * 국가 데이터 문자열 배열 KEY 목록
57
+ * FormData Parsing 할 때 사용
58
+ */
59
+ export const KEYS_COUNTRY_STR_ARRAY = ["metadata_keywords"];
2
60
  //# sourceMappingURL=t-country.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"t-country.js","sourceRoot":"","sources":["../../../src/types/types-i18n/t-country.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"t-country.js","sourceRoot":"","sources":["../../../src/types/types-i18n/t-country.ts"],"names":[],"mappings":"AAaA;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,cAAc,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC;AAkBpF;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAwCpL;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,cAAc;IACd,cAAc;IACd,QAAQ;IACR,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,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,gBAAgB;IAChB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;IACnB,YAAY;IACZ,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,aAAa,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAE5E;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE7D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,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.78",
3
+ "version": "0.1.80",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"