@jealous-robot-dev/shared-types-responses 1.23.19 → 1.24.3

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.
@@ -9,7 +9,8 @@ export declare enum Cookies {
9
9
  UITHEME = "uitheme",
10
10
  NEW_MEMBER = "_nm",
11
11
  AUTH_CTX = "a_ctx",
12
- IMPRESSION_ID = "impression_id"
12
+ IMPRESSION_ID = "impression_id",
13
+ EVENT_VIEW = "_evp"
13
14
  }
14
15
  export declare const ListedCookes: Cookies[];
15
16
  export declare enum PermissionCookies {
@@ -14,12 +14,13 @@ var Cookies;
14
14
  Cookies["NEW_MEMBER"] = "_nm";
15
15
  Cookies["AUTH_CTX"] = "a_ctx";
16
16
  Cookies["IMPRESSION_ID"] = "impression_id";
17
+ Cookies["EVENT_VIEW"] = "_evp";
17
18
  })(Cookies = exports.Cookies || (exports.Cookies = {}));
18
19
  exports.ListedCookes = [
19
20
  Cookies.AUTH_CTX, Cookies.CONSENT, Cookies.CSFR_TOKEN,
20
21
  Cookies.CURRENCY, Cookies.DEVICE_ID, Cookies.LOCALE_ID,
21
- Cookies.NEW_MEMBER, Cookies.REMEMBERED_USER, Cookies.SESSION_PASS,
22
- Cookies.UITHEME, Cookies.IMPRESSION_ID
22
+ Cookies.UITHEME, Cookies.IMPRESSION_ID, Cookies.EVENT_VIEW,
23
+ Cookies.NEW_MEMBER, Cookies.REMEMBERED_USER, Cookies.SESSION_PASS
23
24
  ];
24
25
  var PermissionCookies;
25
26
  (function (PermissionCookies) {
@@ -1,6 +1,7 @@
1
1
  import { LND } from "../common";
2
2
  import { EventTypes } from "./events";
3
3
  import { SharerProps } from '../forms/sharer';
4
+ import { HostEventPics } from "./host-an-event";
4
5
  export declare enum EventSectionIDs {
5
6
  INTRO = "INTRO",
6
7
  HEADER = "HEADER",
@@ -18,20 +19,21 @@ export declare enum EventSectionIDs {
18
19
  TIPS = "TIPS & REQUIREMENTS"
19
20
  }
20
21
  export interface ViewEventCommonData {
21
- event_id: string;
22
- event_language: string;
23
- event_type: EventTypes;
24
- event_name: string;
25
- event_description: string;
26
- event_fee: number;
27
- event_duration: string;
28
- event_capacity: number;
29
- event_prerequisites: string[] | null;
30
- event_raiting: number | null;
31
- event_review_count: number | null;
32
- event_single_session: boolean;
33
- event_tags: string[];
34
- event_saved?: boolean;
22
+ id: string;
23
+ language: string;
24
+ type: EventTypes;
25
+ name: string;
26
+ description: string;
27
+ fee: number;
28
+ duration: string;
29
+ capacity: number;
30
+ prerequisites: string[];
31
+ raiting: number;
32
+ review_count: number;
33
+ single_session: boolean;
34
+ tags: string[];
35
+ saved: boolean;
36
+ pictures: HostEventPics[];
35
37
  }
36
38
  export interface ViewEventPicture {
37
39
  id: string;
@@ -97,13 +97,12 @@ export interface EventCommonData {
97
97
  event_organizer: UserInEvent;
98
98
  }
99
99
  export interface ConciseEventData {
100
- event_picture: string;
101
- event_id: string;
102
- event_name: string;
103
- event_raiting: number | null;
104
- event_reviews_count: number;
105
- event_type: EventTypes;
106
- event_organizer?: string;
100
+ picture: string;
101
+ id: string;
102
+ name: string;
103
+ raiting: number;
104
+ reviews_count: number;
105
+ type: EventTypes;
107
106
  }
108
107
  export interface PhrasedEventType {
109
108
  type: EventTypes;
@@ -171,10 +171,12 @@ export interface EventManagerFormsName {
171
171
  export interface EventManagerFormsTime {
172
172
  common: EventHostTimimgCommonPhrases;
173
173
  when_can_be_applied: string;
174
- compose_schedule: string;
175
- restore_previous: string;
176
- description: string;
177
- start_from: string;
174
+ descriptions: {
175
+ weekly: string;
176
+ schedule: string;
177
+ duration: string;
178
+ rescheduling: string;
179
+ };
178
180
  }
179
181
  export interface EventManagerFormsFee {
180
182
  warning: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.23.19",
3
+ "version": "1.24.3",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",