dplus_common_v1 0.1.71 → 0.1.73

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.
@@ -46,7 +46,10 @@ type BaseResponseDetail<T, K> = {
46
46
  * 폴더 상세 응답 타입 For Admin
47
47
  */
48
48
  export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, TFolderMetadataI18nDetail> & {
49
- folder: TFolderDetail;
49
+ folder: TFolderDetail & {
50
+ target_country_native: string | null;
51
+ target_city_native: string | null;
52
+ };
50
53
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
51
54
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
52
55
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
@@ -59,10 +62,8 @@ export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, TFol
59
62
  */
60
63
  export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage, TFolderMetadataI18nDetail> & {
61
64
  folder: TFolderDetail & {
62
- country_name: string | null;
63
- country_name_native: string | null;
64
- city_name: string | null;
65
- city_name_native: string | null;
65
+ target_country_native: string | null;
66
+ target_city_native: string | null;
66
67
  };
67
68
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
68
69
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
@@ -76,10 +77,8 @@ export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage,
76
77
  */
77
78
  export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, TEventMetadataI18nDetail> & {
78
79
  event: TEventDetail & {
79
- country_name: string | null;
80
- country_name_native: string | null;
81
- city_name: string | null;
82
- city_name_native: string | null;
80
+ target_country_native: string | null;
81
+ target_city_native: string | null;
83
82
  };
84
83
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
85
84
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
@@ -93,10 +92,8 @@ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, TEvent
93
92
  */
94
93
  export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, TEventMetadataI18nDetail> & {
95
94
  event: TEventDetail & {
96
- country_name: string | null;
97
- country_name_native: string | null;
98
- city_name: string | null;
99
- city_name_native: string | null;
95
+ target_country_native: string | null;
96
+ target_city_native: string | null;
100
97
  };
101
98
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
102
99
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
@@ -195,61 +192,44 @@ export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, TG
195
192
  mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithFolderInfo>;
196
193
  mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithEventInfo>;
197
194
  };
195
+ /**
196
+ * 날짜 상세 응답 타입 이벤트 카드 타입
197
+ */
198
+ export type TEventCardForDateDetail = TEventCard & {
199
+ folders: TFolderSummaryInfo[];
200
+ cities: TCityLabelInfo[];
201
+ categories: TCategoryLabelInfo[];
202
+ stags: TStagLabelInfo[];
203
+ tags: TTagLabelInfo[];
204
+ groups: TGroupLabelInfo[];
205
+ };
198
206
  /**
199
207
  * 날짜 상세 응답 타입 For Admin
200
208
  */
201
209
  export type ResponseDateDetailForAdmin = {
202
210
  date: string;
203
- events: TEventCard & {
204
- folders: TFolderSummaryInfo[];
205
- cities: TCityLabelInfo[];
206
- categories: TCategoryLabelInfo[];
207
- stags: TStagLabelInfo[];
208
- tags: TTagLabelInfo[];
209
- groups: TGroupLabelInfo[];
210
- }[];
211
+ events: TEventCardForDateDetail[];
211
212
  };
212
213
  /**
213
214
  * 날짜 상세 응답 타입 For User Front
214
215
  */
215
216
  export type ResponseDateDetailForUserFront = {
216
217
  date: string;
217
- events: TEventCard & {
218
- folders: TFolderSummaryInfo[];
219
- cities: TCityLabelInfo[];
220
- categories: TCategoryLabelInfo[];
221
- stags: TStagLabelInfo[];
222
- tags: TTagLabelInfo[];
223
- groups: TGroupLabelInfo[];
224
- }[];
218
+ events: TEventCardForDateDetail[];
225
219
  };
226
220
  /**
227
221
  * 오늘 날짜 상세 응답 타입 For Admin
228
222
  */
229
223
  export type ResponseTodayDetailForAdmin = {
230
224
  today: string;
231
- events: TEventCard & {
232
- folders: TFolderSummaryInfo[];
233
- cities: TCityLabelInfo[];
234
- categories: TCategoryLabelInfo[];
235
- stags: TStagLabelInfo[];
236
- tags: TTagLabelInfo[];
237
- groups: TGroupLabelInfo[];
238
- }[];
225
+ events: TEventCardForDateDetail[];
239
226
  };
240
227
  /**
241
228
  * 오늘 날짜 상세 응답 타입 For User Front
242
229
  */
243
230
  export type ResponseTodayDetailForUserFront = {
244
231
  today: string;
245
- events: TEventCard & {
246
- folders: TFolderSummaryInfo[];
247
- cities: TCityLabelInfo[];
248
- categories: TCategoryLabelInfo[];
249
- stags: TStagLabelInfo[];
250
- tags: TTagLabelInfo[];
251
- groups: TGroupLabelInfo[];
252
- }[];
232
+ events: TEventCardForDateDetail[];
253
233
  };
254
234
  /**
255
235
  * 주변 날짜 상세 응답 타입 For Admin
@@ -260,14 +240,7 @@ export type ResponseNearbyDetailForAdmin = {
260
240
  longitude: number;
261
241
  distance_km: number;
262
242
  };
263
- events: TEventCard & {
264
- folders: TFolderSummaryInfo[];
265
- cities: TCityLabelInfo[];
266
- categories: TCategoryLabelInfo[];
267
- stags: TStagLabelInfo[];
268
- tags: TTagLabelInfo[];
269
- groups: TGroupLabelInfo[];
270
- }[];
243
+ events: TEventCardForDateDetail[];
271
244
  };
272
245
  /**
273
246
  * 주변 날짜 상세 응답 타입 For User Front
@@ -278,14 +251,7 @@ export type ResponseNearbyDetailForUserFront = {
278
251
  longitude: number;
279
252
  distance_km: number;
280
253
  };
281
- events: TEventCard & {
282
- folders: TFolderSummaryInfo[];
283
- cities: TCityLabelInfo[];
284
- categories: TCategoryLabelInfo[];
285
- stags: TStagLabelInfo[];
286
- tags: TTagLabelInfo[];
287
- groups: TGroupLabelInfo[];
288
- }[];
254
+ events: TEventCardForDateDetail[];
289
255
  };
290
256
  export type ResponseDplusAPI<T> = {
291
257
  success: boolean;
@@ -4,6 +4,7 @@ export type TEventCard = {
4
4
  date: string | null;
5
5
  time: string | null;
6
6
  utc_minutes: number | null;
7
+ tz: string;
7
8
  duration: number | null;
8
9
  is_repeat_annually: boolean | null;
9
10
  title: string | null;
@@ -15,6 +16,9 @@ export type TEventCard = {
15
16
  profile: string | null;
16
17
  description: string | null;
17
18
  url: string | null;
19
+ address_eng: string | null;
20
+ address_native: string | null;
21
+ google_map_url: string | null;
18
22
  };
19
23
  export type TEventListForAdmin = {
20
24
  event_code: string;
@@ -1 +1 @@
1
- {"version":3,"file":"t-event.js","sourceRoot":"","sources":["../../../src/types/types-event/t-event.ts"],"names":[],"mappings":"AA+CA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,MAAM;IACN,MAAM;IACN,IAAI;IACJ,UAAU;IACV,aAAa;IACb,oBAAoB;IACpB,OAAO;IACP,UAAU;IACV,UAAU;IACV,qBAAqB;IACrB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,YAAY;IACZ,YAAY;CACb,CAAC;AA6EF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,MAAM;IACN,MAAM;IACN,IAAI;IACJ,OAAO;IACP,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,aAAa;IACb,qBAAqB;IACrB,uBAAuB;IACvB,kBAAkB;IAClB,oBAAoB;IACpB,UAAU;IACV,WAAW;IACX,KAAK;IACL,OAAO;IACP,oBAAoB;IACpB,OAAO;IACP,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,gBAAgB;IAChB,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;IACnB,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,aAAa;IACb,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,aAAa;IACb,cAAc;IACd,aAAa;IACb,kBAAkB;IAClB,gBAAgB;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,aAAa;IACb,YAAY;IACZ,sBAAsB;IACtB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,gBAAgB;IAChB,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"t-event.js","sourceRoot":"","sources":["../../../src/types/types-event/t-event.ts"],"names":[],"mappings":"AAmDA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,MAAM;IACN,MAAM;IACN,IAAI;IACJ,UAAU;IACV,aAAa;IACb,oBAAoB;IACpB,OAAO;IACP,UAAU;IACV,UAAU;IACV,qBAAqB;I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AY;IACZ,sBAAsB;IACtB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,gBAAgB;IAChB,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,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.71",
3
+ "version": "0.1.73",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"