dplus_common_v1 0.1.70 → 0.1.72

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>;
@@ -58,7 +61,10 @@ export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, TFol
58
61
  * 폴더 상세 응답 타입 For User Front
59
62
  */
60
63
  export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage, TFolderMetadataI18nDetail> & {
61
- folder: TFolderDetail;
64
+ folder: TFolderDetail & {
65
+ target_country_native: string | null;
66
+ target_city_native: string | null;
67
+ };
62
68
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
63
69
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
64
70
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
@@ -71,10 +77,8 @@ export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage,
71
77
  */
72
78
  export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, TEventMetadataI18nDetail> & {
73
79
  event: TEventDetail & {
74
- country_name: string | null;
75
- country_name_native: string | null;
76
- city_name: string | null;
77
- city_name_native: string | null;
80
+ target_country_native: string | null;
81
+ target_city_native: string | null;
78
82
  };
79
83
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
80
84
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
@@ -88,10 +92,8 @@ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, TEvent
88
92
  */
89
93
  export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, TEventMetadataI18nDetail> & {
90
94
  event: TEventDetail & {
91
- country_name: string | null;
92
- country_name_native: string | null;
93
- city_name: string | null;
94
- city_name_native: string | null;
95
+ target_country_native: string | null;
96
+ target_city_native: string | null;
95
97
  };
96
98
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
97
99
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"