dplus_common_v1 0.1.72 → 0.1.74

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.
@@ -193,61 +193,28 @@ export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, TG
193
193
  mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithEventInfo>;
194
194
  };
195
195
  /**
196
- * 날짜 상세 응답 타입 For Admin
196
+ * 날짜 상세 응답 타입 이벤트 카드 타입
197
197
  */
198
- export type ResponseDateDetailForAdmin = {
199
- date: string;
200
- events: TEventCard & {
201
- folders: TFolderSummaryInfo[];
202
- cities: TCityLabelInfo[];
203
- categories: TCategoryLabelInfo[];
204
- stags: TStagLabelInfo[];
205
- tags: TTagLabelInfo[];
206
- groups: TGroupLabelInfo[];
207
- }[];
198
+ export type TEventCardForDateDetail = TEventCard & {
199
+ folders: TFolderSummaryInfo[];
200
+ cities: TCityLabelInfo[];
201
+ categories: TCategoryLabelInfo[];
202
+ stags: TStagLabelInfo[];
203
+ tags: TTagLabelInfo[];
204
+ groups: TGroupLabelInfo[];
208
205
  };
206
+ /**
207
+ * 날짜 상세 응답 타입 For Admin
208
+ */
209
209
  /**
210
210
  * 날짜 상세 응답 타입 For User Front
211
211
  */
212
- export type ResponseDateDetailForUserFront = {
213
- date: string;
214
- events: TEventCard & {
215
- folders: TFolderSummaryInfo[];
216
- cities: TCityLabelInfo[];
217
- categories: TCategoryLabelInfo[];
218
- stags: TStagLabelInfo[];
219
- tags: TTagLabelInfo[];
220
- groups: TGroupLabelInfo[];
221
- }[];
222
- };
223
212
  /**
224
213
  * 오늘 날짜 상세 응답 타입 For Admin
225
214
  */
226
- export type ResponseTodayDetailForAdmin = {
227
- today: string;
228
- events: TEventCard & {
229
- folders: TFolderSummaryInfo[];
230
- cities: TCityLabelInfo[];
231
- categories: TCategoryLabelInfo[];
232
- stags: TStagLabelInfo[];
233
- tags: TTagLabelInfo[];
234
- groups: TGroupLabelInfo[];
235
- }[];
236
- };
237
215
  /**
238
216
  * 오늘 날짜 상세 응답 타입 For User Front
239
217
  */
240
- export type ResponseTodayDetailForUserFront = {
241
- today: string;
242
- events: TEventCard & {
243
- folders: TFolderSummaryInfo[];
244
- cities: TCityLabelInfo[];
245
- categories: TCategoryLabelInfo[];
246
- stags: TStagLabelInfo[];
247
- tags: TTagLabelInfo[];
248
- groups: TGroupLabelInfo[];
249
- }[];
250
- };
251
218
  /**
252
219
  * 주변 날짜 상세 응답 타입 For Admin
253
220
  */
@@ -257,14 +224,7 @@ export type ResponseNearbyDetailForAdmin = {
257
224
  longitude: number;
258
225
  distance_km: number;
259
226
  };
260
- events: TEventCard & {
261
- folders: TFolderSummaryInfo[];
262
- cities: TCityLabelInfo[];
263
- categories: TCategoryLabelInfo[];
264
- stags: TStagLabelInfo[];
265
- tags: TTagLabelInfo[];
266
- groups: TGroupLabelInfo[];
267
- }[];
227
+ events: TEventCardForDateDetail[];
268
228
  };
269
229
  /**
270
230
  * 주변 날짜 상세 응답 타입 For User Front
@@ -275,14 +235,7 @@ export type ResponseNearbyDetailForUserFront = {
275
235
  longitude: number;
276
236
  distance_km: number;
277
237
  };
278
- events: TEventCard & {
279
- folders: TFolderSummaryInfo[];
280
- cities: TCityLabelInfo[];
281
- categories: TCategoryLabelInfo[];
282
- stags: TStagLabelInfo[];
283
- tags: TTagLabelInfo[];
284
- groups: TGroupLabelInfo[];
285
- }[];
238
+ events: TEventCardForDateDetail[];
286
239
  };
287
240
  export type ResponseDplusAPI<T> = {
288
241
  success: boolean;
@@ -297,6 +250,7 @@ export type ResponseDplusAPI<T> = {
297
250
  * PostgreSQL 함수에서 반환하는 페이징된 응답 타입
298
251
  */
299
252
  export type DplusGetListDataResponse<T> = {
253
+ date?: string | null | undefined;
300
254
  items: T[];
301
255
  start: number;
302
256
  limit: number;
@@ -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;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.72",
3
+ "version": "0.1.74",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"