@jealous-robot-dev/shared-types-responses 1.10.19 → 1.11.0

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.
@@ -5,6 +5,16 @@ export interface EventSessionTime {
5
5
  time: string;
6
6
  session_id: string;
7
7
  }
8
+ export interface ShowEventReview {
9
+ author: {
10
+ UID: string;
11
+ ppu?: string;
12
+ username: string;
13
+ };
14
+ written_at: string;
15
+ comment: string;
16
+ id: string;
17
+ }
8
18
  export interface ViewEventData {
9
19
  event_type: EventTypes;
10
20
  event_name: string;
@@ -33,16 +43,7 @@ export interface ViewEventData {
33
43
  lastname: string;
34
44
  username: string;
35
45
  };
36
- event_reviews: {
37
- author: {
38
- UID: string;
39
- ppu?: string;
40
- username: string;
41
- };
42
- written_at: string;
43
- comment: string;
44
- id: string;
45
- }[];
46
+ event_reviews: ShowEventReview[];
46
47
  }
47
48
  export interface ViewEventPhrases {
48
49
  common: {
@@ -50,6 +51,7 @@ export interface ViewEventPhrases {
50
51
  shortMonths: Month[];
51
52
  read_more: string;
52
53
  load_more: string;
54
+ go_back: string;
53
55
  weekdays: Weekday[];
54
56
  reviews: string;
55
57
  show_all_photos: string;
@@ -91,6 +93,7 @@ export interface ViewEventPhrases {
91
93
  video_from_host?: string;
92
94
  reviews?: {
93
95
  show_more: string;
96
+ label: string;
94
97
  };
95
98
  dates: {
96
99
  choose: string;
@@ -117,6 +120,7 @@ export interface ViewEventPhrases {
117
120
  tips: {
118
121
  label: string;
119
122
  contact_host: LND;
123
+ quest_requirements: LND;
120
124
  };
121
125
  sharer: SharerProps;
122
126
  }
@@ -2,5 +2,6 @@ export * from './user-notifications';
2
2
  export * from './user-performance';
3
3
  export * from './user-reviews';
4
4
  export * from './user-visitors';
5
+ export * from './user-booking';
5
6
  export * from './schedule';
6
7
  export * from './payment-history';
@@ -14,5 +14,6 @@ __exportStar(require("./user-notifications"), exports);
14
14
  __exportStar(require("./user-performance"), exports);
15
15
  __exportStar(require("./user-reviews"), exports);
16
16
  __exportStar(require("./user-visitors"), exports);
17
+ __exportStar(require("./user-booking"), exports);
17
18
  __exportStar(require("./schedule"), exports);
18
19
  __exportStar(require("./payment-history"), exports);
@@ -1,3 +1,23 @@
1
- export interface UserBookingsPhrases {
1
+ import { LND } from "../common";
2
+ export declare enum BookingCategories {
3
+ EVENTS_BOOKED_BY_YOU = "EVENTS_BOOKED_BY_YOU",
4
+ YOUR_BOOKED_EVENTS = "YOUR_BOOKED_EVENTS"
5
+ }
6
+ export interface CommonBookingPhrases {
2
7
  title: string;
8
+ sections: {
9
+ booked_by_you: string;
10
+ booked_yours: string;
11
+ };
12
+ }
13
+ export interface UserBookingPhrases {
14
+ description: string;
15
+ no_bookings: LND;
16
+ more_details: string;
17
+ booking_details: string;
18
+ }
19
+ export interface HostBookingPhrases {
20
+ description: string;
21
+ no_bookings: LND;
22
+ who_booked: string;
3
23
  }
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingCategories = void 0;
4
+ var BookingCategories;
5
+ (function (BookingCategories) {
6
+ BookingCategories["EVENTS_BOOKED_BY_YOU"] = "EVENTS_BOOKED_BY_YOU";
7
+ BookingCategories["YOUR_BOOKED_EVENTS"] = "YOUR_BOOKED_EVENTS";
8
+ })(BookingCategories = exports.BookingCategories || (exports.BookingCategories = {}));
@@ -1,16 +1,32 @@
1
1
  import { Month } from '../common';
2
- import { PhrasedEventType } from '../events/events';
2
+ import { EventTypes, PhrasedEventType, EventTimeModes } from '../events/events';
3
+ export declare enum PerformanceCategories {
4
+ REVIEWS = "reviews",
5
+ BOOKING = "booking",
6
+ VISITORS = "visitors",
7
+ VISITS = "visits"
8
+ }
3
9
  export interface UserPerformancePhrases {
4
10
  title: string;
11
+ cancel: string;
5
12
  months: Month[];
6
13
  load_more: string;
7
14
  show_more: string;
8
15
  show_less: string;
9
16
  view_event: string;
17
+ select_period: string;
10
18
  event_types: PhrasedEventType[];
11
- cancel: string;
12
19
  categories: {
13
20
  reviews: string;
14
21
  visitors: string;
22
+ booking: string;
23
+ visits?: string;
15
24
  };
16
25
  }
26
+ export interface EventInPerformance {
27
+ event_id: string;
28
+ event_name: string;
29
+ event_type: EventTypes;
30
+ event_time_mode: EventTimeModes;
31
+ event_picture: string;
32
+ }
@@ -1,2 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PerformanceCategories = void 0;
4
+ var PerformanceCategories;
5
+ (function (PerformanceCategories) {
6
+ PerformanceCategories["REVIEWS"] = "reviews";
7
+ PerformanceCategories["BOOKING"] = "booking";
8
+ PerformanceCategories["VISITORS"] = "visitors";
9
+ PerformanceCategories["VISITS"] = "visits";
10
+ })(PerformanceCategories = exports.PerformanceCategories || (exports.PerformanceCategories = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.10.19",
3
+ "version": "1.11.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",