dplus_common_v1 0.1.84 → 0.1.86

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.
@@ -112,9 +112,9 @@ export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, TE
112
112
  export type ResponseCountryDetailForAdmin = {
113
113
  country: TCountryDetail;
114
114
  metadataI18n: DplusGetListDataResponse<TCountryMetadataI18nDetail>;
115
- cities: TCityInfoForCountryDetail[];
116
- categories: TCategoryInfoForCountryDetail[];
117
- stags?: TStagInfoForCountryDetail[];
115
+ cities: DplusGetListDataResponse<TCityInfoForCountryDetail>;
116
+ categories: DplusGetListDataResponse<TCategoryInfoForCountryDetail>;
117
+ stags?: DplusGetListDataResponse<TStagInfoForCountryDetail>;
118
118
  mapCountryFolder?: DplusGetListDataResponse<TMapCountryFolderWithCountryInfo>;
119
119
  mapCountryEvent?: DplusGetListDataResponse<TMapCountryEventWithCountryInfo>;
120
120
  };
@@ -124,9 +124,9 @@ export type ResponseCountryDetailForAdmin = {
124
124
  export type ResponseCountryDetailForUserFront = {
125
125
  country: TCountryDetail;
126
126
  metadataI18n: TCountryMetadataI18nDetail[];
127
- cities: TCityInfoForCountryDetail[];
128
- categories: TCategoryInfoForCountryDetail[];
129
- stags?: TStagInfoForCountryDetail[];
127
+ cities: DplusGetListDataResponse<TCityInfoForCountryDetail>;
128
+ categories: DplusGetListDataResponse<TCategoryInfoForCountryDetail>;
129
+ stags?: DplusGetListDataResponse<TStagInfoForCountryDetail>;
130
130
  mapCountryFolder?: DplusGetListDataResponse<TMapCountryFolderWithFolderInfo>;
131
131
  mapCountryEvent?: DplusGetListDataResponse<TMapCountryEventWithEventInfo>;
132
132
  };
@@ -266,6 +266,32 @@ export type ResponseNearbyDetailForUserFront = {
266
266
  };
267
267
  events: TEventCardForDateDetail[];
268
268
  };
269
+ /**
270
+ * 메타데이터 응답 타입 For User Front
271
+ * - DB NULL 가능성을 반영하여 대부분 string | null
272
+ * - tag_set은 배열(string[]), 없을 수 있으니 null 허용
273
+ */
274
+ export type ResponseMetadataForUserFront = {
275
+ city_code?: string | null;
276
+ category_code?: string | null;
277
+ stag_code?: string | null;
278
+ folder_code?: string | null;
279
+ event_code?: string | null;
280
+ group_code?: string | null;
281
+ lang_code: string;
282
+ metadata_title: string | null;
283
+ metadata_description: string | null;
284
+ metadata_keywords: string | null;
285
+ metadata_og_title: string | null;
286
+ metadata_og_description: string | null;
287
+ metadata_og_image: string | null;
288
+ metadata_i18n_title: string | null;
289
+ metadata_i18n_description: string | null;
290
+ metadata_i18n_og_title: string | null;
291
+ metadata_i18n_og_description: string | null;
292
+ metadata_i18n_og_image: string | null;
293
+ metadata_i18n_tag_set: string[] | null;
294
+ };
269
295
  export type ResponseDplusAPI<T> = {
270
296
  success: boolean;
271
297
  alarm?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"