dplus_common_v1 0.2.19 → 0.2.20

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.
@@ -53,12 +53,13 @@ type BaseResponseDetail<T, K> = {
53
53
  /**
54
54
  * 폴더 상세 응답 타입 For Admin
55
55
  */
56
- export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, TFolderMetadataDetail> & {
56
+ export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, null> & {
57
57
  folder: TFolderDetail & {
58
58
  target_country_native: string | null;
59
59
  target_city_native: string | null;
60
60
  };
61
61
  description: TFolderDescription;
62
+ metadata: TFolderMetadataDetail;
62
63
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
63
64
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
64
65
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
@@ -69,12 +70,13 @@ export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, TFol
69
70
  /**
70
71
  * 폴더 상세 응답 타입 For User Front
71
72
  */
72
- export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage, TFolderMetadataDetail> & {
73
+ export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage, null> & {
73
74
  folder: TFolderDetail & {
74
75
  target_country_native: string | null;
75
76
  target_city_native: string | null;
76
77
  };
77
78
  description: TFolderDescription;
79
+ metadata: TFolderMetadataDetail;
78
80
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
79
81
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
80
82
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
@@ -85,12 +87,13 @@ export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage,
85
87
  /**
86
88
  * 이벤트 상세 응답 타입 For Admin
87
89
  */
88
- export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, TEventMetadataDetail> & {
90
+ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, null> & {
89
91
  event: TEventDetail & {
90
92
  target_country_native: string | null;
91
93
  target_city_native: string | null;
92
94
  };
93
95
  description: TEventDescription;
96
+ metadata: TEventMetadataDetail;
94
97
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
95
98
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
96
99
  mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithCategoryInfo>;
@@ -101,12 +104,13 @@ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, TEvent
101
104
  /**
102
105
  * 이벤트 상세 응답 타입 For User Front
103
106
  */
104
- export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, TEventMetadataDetail> & {
107
+ export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, null> & {
105
108
  event: TEventDetail & {
106
109
  target_country_native: string | null;
107
110
  target_city_native: string | null;
108
111
  };
109
112
  description: TEventDescription;
113
+ metadata: TEventMetadataDetail;
110
114
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
111
115
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
112
116
  mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithCategoryInfo>;
@@ -188,17 +192,18 @@ export type ResponseStagDetailForAdmin = {
188
192
  stag: TStagDetail;
189
193
  stagImages?: TStagImage[];
190
194
  i18n?: DplusGetListDataResponse<TStagI18n>;
191
- metadataI18n?: DplusGetListDataResponse<TStagMetadataDetail>;
195
+ metadata: TStagMetadataDetail;
192
196
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
193
197
  mapStagEvent?: DplusGetListDataResponse<TMapStagEventWithStagInfo>;
194
198
  };
195
199
  /**
196
200
  * Stag 상세 응답 타입 For User Front
197
201
  */
198
- export type ResponseStagDetailForUserFront = BaseResponseDetail<null, TStagMetadataDetail> & {
202
+ export type ResponseStagDetailForUserFront = BaseResponseDetail<null, null> & {
199
203
  stag: TStagDetail;
200
204
  i18n?: TStagI18n[];
201
205
  stagImages?: TStagImage[];
206
+ metadata: TStagMetadataDetail;
202
207
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithFolderInfo>;
203
208
  mapStagEvent?: DplusGetListDataResponse<TMapStagEventWithEventInfo>;
204
209
  };
@@ -223,7 +228,7 @@ export type ResponseTagDetailForUserFront = BaseResponseDetail<null, null> & {
223
228
  */
224
229
  export type ResponseGroupDetailForAdmin = {
225
230
  images?: TGroupImage[];
226
- metadataI18n?: DplusGetListDataResponse<TGroupMetadataDetail>;
231
+ metadata?: TGroupMetadataDetail;
227
232
  group: TGroupDetail;
228
233
  mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithGroupInfo>;
229
234
  mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithGroupInfo>;
@@ -231,8 +236,9 @@ export type ResponseGroupDetailForAdmin = {
231
236
  /**
232
237
  * 카테고리 상세 응답 타입 For User Front
233
238
  */
234
- export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, TGroupMetadataDetail> & {
239
+ export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, null> & {
235
240
  group: TGroupDetail;
241
+ metadata: TGroupMetadataDetail;
236
242
  mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithFolderInfo>;
237
243
  mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithEventInfo>;
238
244
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"