dplus_common_v1 0.1.41 → 0.1.42

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.
@@ -56,21 +56,36 @@ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventDetail, TEven
56
56
  mapGroupEvent?: TMapGroupEvent[];
57
57
  };
58
58
  type TEventContentExtras = {
59
- /** countries.country_name */
60
59
  target_country_name?: string | null;
61
- /** (선택) countries.native 도 내려줬다면 */
62
60
  target_country_native?: string | null;
63
- /** cities.name */
64
61
  target_city_name?: string | null;
65
- /** cities.name_native */
66
62
  target_city_name_native?: string | null;
67
63
  };
64
+ export type MapCityEventExtra = {
65
+ city_name?: string | null;
66
+ city_name_native?: string | null;
67
+ city_name_i18n?: string | null;
68
+ };
69
+ export type MapCategoryEventExtra = {
70
+ category_name?: string | null;
71
+ category_name_i18n?: string | null;
72
+ };
73
+ export type MapStagEventExtra = {
74
+ stag?: string | null;
75
+ stag_native?: string | null;
76
+ stag_name_i18n?: string | null;
77
+ };
78
+ export type MapGroupEventExtra = {
79
+ group_name?: string | null;
80
+ group_name_native?: string | null;
81
+ group_type?: string | null;
82
+ };
68
83
  export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventDetail & TEventContentExtras, TEventImage[]> & {
69
- mapCityEvent?: TMapCityEvent[];
70
- mapCategoryEvent?: TMapCategoryEvent[];
71
- mapStagEvent?: TMapStagEvent[];
84
+ mapCityEvent?: Array<TMapCityEvent & MapCityEventExtra>;
85
+ mapCategoryEvent?: Array<TMapCategoryEvent & MapCategoryEventExtra>;
86
+ mapStagEvent?: Array<TMapStagEvent & MapStagEventExtra>;
72
87
  mapTagEvent?: TMapTagEvent[];
73
- mapGroupEvent?: TMapGroupEvent[];
88
+ mapGroupEvent?: Array<TMapGroupEvent & MapGroupEventExtra>;
74
89
  };
75
90
  export type ResponsePeventDetailForAdmin = BaseResponseDetail<TPeventDetail, TPeventImage[]>;
76
91
  export type ResponseGroupDetailForAdmin = BaseResponseDetail<TGroupDetail, null> & WithSelected & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"