dplus_common_v1 0.2.46 → 0.2.48

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.
@@ -10,25 +10,6 @@ export type BaseResponseDetail<T, K> = {
10
10
  images?: T[];
11
11
  metadataI18n?: K[];
12
12
  };
13
- /**
14
- * 장소 검색 결과 타입
15
- */
16
- export type TPlaceSearchItem = {
17
- place_id: number;
18
- name_en: string;
19
- name_native: string | null;
20
- target_country_code: string;
21
- target_city_code: string | null;
22
- latitude: number | null;
23
- longitude: number | null;
24
- address_eng: string | null;
25
- address_native: string | null;
26
- google_map_url: string | null;
27
- score: number;
28
- distance_m: number | null;
29
- created_at: string;
30
- updated_at: string;
31
- };
32
13
  /**
33
14
  * 메타데이터 응답 타입 For User Front
34
15
  * - DB NULL 가능성을 반영하여 대부분 string | null
@@ -93,8 +93,11 @@ export type TEventDetailInsert = {
93
93
  utc_minutes: number;
94
94
  title: string;
95
95
  target_country_code: string;
96
+ should_save_to_places?: boolean;
96
97
  } & Partial<Omit<TEventDetail, "event_code" | "date" | "tz" | "utc_minutes" | "title" | "target_country_code" | "created_at" | "updated_at" | "start_at_utc" | "end_at_utc" | "location" | "target_country_native" | "target_city_native">>;
97
- export type TEventDetailUpdate = Partial<Omit<TEventDetail, "event_code" | "created_at" | "created_by" | "updated_at" | "start_at_utc" | "end_at_utc" | "location" | "target_country_native" | "target_city_native">>;
98
+ export type TEventDetailUpdate = {
99
+ should_save_to_places?: boolean;
100
+ } & Partial<Omit<TEventDetail, "event_code" | "created_at" | "created_by" | "updated_at" | "start_at_utc" | "end_at_utc" | "location" | "target_country_native" | "target_city_native">>;
98
101
  export declare const KEYS_EVENT_STR: string[];
99
102
  export declare const KEYS_EVENT_NUM: string[];
100
103
  export declare const KEYS_EVENT_BOOL: string[];
@@ -91,6 +91,7 @@ export const KEYS_EVENT_NUM = [
91
91
  * Event 데이터 불리언 KEY 목록 (events 테이블)
92
92
  */
93
93
  export const KEYS_EVENT_BOOL = [
94
+ "should_save_to_places",
94
95
  "is_repeat_annually",
95
96
  "is_admin_created",
96
97
  "is_public",
@@ -1 +1 @@
1
- {"version":3,"file":"t-event.js","sourceRoot":"","sources":["../../../src/types/types-event/t-event.ts"],"names":[],"mappings":"AAsFA;;8CAE8C;AAC9C,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,IAAI;IACJ,aAAa;IACb,UAAU;IACV,cAAc;IACd,YAAY;IACZ,oBAAoB;IACpB,OAAO;IACP,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,qBAAqB;IACrB,kBAAkB;IAClB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,YAAY;IACZ,YAAY;CACb,CAAC;AAqFF;;8CAE8C;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,IAAI;IACJ,OAAO;IACP,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,aAAa;IACb,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,aAAa;IACb,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
1
+ {"version":3,"file":"t-event.js","sourceRoot":"","sources":["../../../src/types/types-event/t-event.ts"],"names":[],"mappings":"AAsFA;;8CAE8C;AAC9C,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,IAAI;IACJ,aAAa;IACb,UAAU;IACV,cAAc;IACd,YAAY;IACZ,oBAAoB;IACpB,OAAO;IACP,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,qBAAqB;IACrB,kBAAkB;IAClB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,YAAY;IACZ,YAAY;CACb,CAAC;AAwFF;;8CAE8C;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,IAAI;IACJ,OAAO;IACP,mBAAmB;IACnB,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,aAAa;IACb,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,aAAa;IACb,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,uBAAuB;IACvB,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.2.46",
3
+ "version": "0.2.48",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"