@jealous-robot-dev/shared-types-responses 1.15.7 → 1.15.11

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.
@@ -0,0 +1,44 @@
1
+ import { EventTypes } from "./events";
2
+ export interface Type {
3
+ type: EventTypes;
4
+ label: string;
5
+ description: string;
6
+ amount_of_guests_recommended: number;
7
+ image_url: string;
8
+ }
9
+ export interface BecomeHostContent {
10
+ title: string;
11
+ content_path: string;
12
+ become_host: string;
13
+ intro: {
14
+ title: string;
15
+ bg_url: string;
16
+ };
17
+ idea: {
18
+ title: string;
19
+ description: string;
20
+ bg_url: string;
21
+ };
22
+ types_of_events: {
23
+ title: string;
24
+ guests_allowed: string;
25
+ types: Type[];
26
+ };
27
+ calculator: {
28
+ title: string;
29
+ description: string;
30
+ notice: string;
31
+ session: string;
32
+ input: {
33
+ placeholder: string;
34
+ min_price: number;
35
+ max_price: number;
36
+ };
37
+ btn_label: string;
38
+ };
39
+ become_host_is_easy: {
40
+ label: string;
41
+ bg_url: string;
42
+ description: string;
43
+ };
44
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,9 @@
1
1
  import { Currency, Language } from '../common';
2
2
  export declare enum EventTypes {
3
3
  LIVE_TRANSLATION = "LIVE_TRANSLATION",
4
- LECTURE = "LECTURE",
5
- PROFESSIONAL_SKILLS = "PROFESSIONAL_SKILLS",
4
+ LECTURING_TEACHING = "LECTURING_TEACHING",
6
5
  PHYSICAL_ACTIVITY = "PHYSICAL_ACTIVITY",
6
+ ART = "ART",
7
7
  RELAXATION = "RELAXATION",
8
8
  YOGA = "YOGA",
9
9
  PRIVATE_CONSULTATION = "PRIVATE_CONSULTATION",
@@ -4,9 +4,9 @@ exports.EventTimeModes = exports.EventTypes = void 0;
4
4
  var EventTypes;
5
5
  (function (EventTypes) {
6
6
  EventTypes["LIVE_TRANSLATION"] = "LIVE_TRANSLATION";
7
- EventTypes["LECTURE"] = "LECTURE";
8
- EventTypes["PROFESSIONAL_SKILLS"] = "PROFESSIONAL_SKILLS";
7
+ EventTypes["LECTURING_TEACHING"] = "LECTURING_TEACHING";
9
8
  EventTypes["PHYSICAL_ACTIVITY"] = "PHYSICAL_ACTIVITY";
9
+ EventTypes["ART"] = "ART";
10
10
  EventTypes["RELAXATION"] = "RELAXATION";
11
11
  EventTypes["YOGA"] = "YOGA";
12
12
  EventTypes["PRIVATE_CONSULTATION"] = "PRIVATE_CONSULTATION";
@@ -7,4 +7,5 @@ export * from './schedule-an-event';
7
7
  export * from './manage-events';
8
8
  export * from './event-search';
9
9
  export * from './event-checkout';
10
+ export * from './become-host';
10
11
  export * from './event-impression';
@@ -19,4 +19,5 @@ __exportStar(require("./schedule-an-event"), exports);
19
19
  __exportStar(require("./manage-events"), exports);
20
20
  __exportStar(require("./event-search"), exports);
21
21
  __exportStar(require("./event-checkout"), exports);
22
+ __exportStar(require("./become-host"), exports);
22
23
  __exportStar(require("./event-impression"), exports);
@@ -1,5 +1,9 @@
1
1
  import { PhrasedEventType } from "..";
2
2
  import { LND, QueryResponse } from "./common";
3
+ export interface Opportunity extends LND {
4
+ picture_path: string;
5
+ index: number;
6
+ }
3
7
  export interface LandingPagePhrases {
4
8
  become_host?: {
5
9
  title: string;
@@ -13,9 +17,9 @@ export interface LandingPagePhrases {
13
17
  opportunities: {
14
18
  title: string;
15
19
  categories: {
16
- anywhere_anytime: LND;
17
- different_activities: LND;
18
- connect_with_people: LND;
20
+ anywhere_anytime: Opportunity;
21
+ different_activities: Opportunity;
22
+ connect_with_people: Opportunity;
19
23
  };
20
24
  };
21
25
  }
@@ -25,13 +29,6 @@ export interface LandingPageData {
25
29
  become_host?: {
26
30
  img_path: string;
27
31
  };
28
- opportunities: {
29
- paths: {
30
- anywhere_anytime: string;
31
- different_activities: string;
32
- connect_with_people: string;
33
- };
34
- };
35
32
  }
36
33
  export interface LandingPageResponse extends QueryResponse<LandingPageData, LandingPagePhrases> {
37
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.15.7",
3
+ "version": "1.15.11",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",