dplus_common_v1 0.1.40 → 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.
@@ -55,12 +55,37 @@ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventDetail, TEven
55
55
  mapTagEvent?: TMapTagEvent[];
56
56
  mapGroupEvent?: TMapGroupEvent[];
57
57
  };
58
- export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventDetail, TEventImage[]> & {
59
- mapCityEvent?: TMapCityEvent[];
60
- mapCategoryEvent?: TMapCategoryEvent[];
61
- mapStagEvent?: TMapStagEvent[];
58
+ type TEventContentExtras = {
59
+ target_country_name?: string | null;
60
+ target_country_native?: string | null;
61
+ target_city_name?: string | null;
62
+ target_city_name_native?: string | null;
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
+ };
83
+ export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventDetail & TEventContentExtras, TEventImage[]> & {
84
+ mapCityEvent?: Array<TMapCityEvent & MapCityEventExtra>;
85
+ mapCategoryEvent?: Array<TMapCategoryEvent & MapCategoryEventExtra>;
86
+ mapStagEvent?: Array<TMapStagEvent & MapStagEventExtra>;
62
87
  mapTagEvent?: TMapTagEvent[];
63
- mapGroupEvent?: TMapGroupEvent[];
88
+ mapGroupEvent?: Array<TMapGroupEvent & MapGroupEventExtra>;
64
89
  };
65
90
  export type ResponsePeventDetailForAdmin = BaseResponseDetail<TPeventDetail, TPeventImage[]>;
66
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.40",
3
+ "version": "0.1.42",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"