@jealous-robot-dev/shared-types-responses 1.37.5 → 1.37.8
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.
- package/build/services/events/event-search.d.ts +3 -2
- package/build/services/events/event.d.ts +8 -6
- package/build/services/events/host-an-event.d.ts +4 -2
- package/build/services/events/index.d.ts +0 -1
- package/build/services/events/index.js +0 -1
- package/build/services/events/manage-events.d.ts +2 -2
- package/build/services/user/profile-basic-data.d.ts +1 -0
- package/package.json +2 -2
- package/build/services/events/become-host.d.ts +0 -34
- package/build/services/events/become-host.js +0 -2
@@ -1,11 +1,12 @@
|
|
1
|
-
import { EventTypes } from '@jealous-robot-dev/drophr-common';
|
1
|
+
import { EventTypes, ServiceAudience } from '@jealous-robot-dev/drophr-common';
|
2
2
|
export interface EventInSearch {
|
3
3
|
id: string;
|
4
4
|
pic: string;
|
5
5
|
name: string;
|
6
|
-
type: EventTypes;
|
7
6
|
raiting: number;
|
7
|
+
type: EventTypes;
|
8
8
|
reviews_count: number;
|
9
|
+
audience: ServiceAudience;
|
9
10
|
fee: {
|
10
11
|
amount: number;
|
11
12
|
isMin: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EventSectionIDs, EventTypes, HostEventPics } from '@jealous-robot-dev/drophr-common';
|
1
|
+
import { EventSectionIDs, EventTypes, HostEventPics, ServiceConnectionInstrument, ServiceAudience } from '@jealous-robot-dev/drophr-common';
|
2
2
|
export interface ViewEventCommonData {
|
3
3
|
id: string;
|
4
4
|
host: string;
|
@@ -10,16 +10,18 @@ export interface ViewEventCommonData {
|
|
10
10
|
min?: number;
|
11
11
|
basic: number;
|
12
12
|
};
|
13
|
+
tags: string[];
|
14
|
+
saved: boolean;
|
15
|
+
raiting: number;
|
13
16
|
duration: number;
|
14
17
|
capacity: number;
|
15
|
-
prerequisites: string[];
|
16
|
-
raiting: number;
|
17
18
|
review_count: number;
|
19
|
+
prerequisites: string[];
|
18
20
|
single_session: boolean;
|
19
|
-
tags: string[];
|
20
|
-
saved: boolean;
|
21
|
-
cancellation_rate: number;
|
22
21
|
pictures: HostEventPics[];
|
22
|
+
audience: ServiceAudience;
|
23
|
+
cancellation_rate: number;
|
24
|
+
instrument: ServiceConnectionInstrument;
|
23
25
|
}
|
24
26
|
export interface ViewEventHostData {
|
25
27
|
is_available: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HostEventTime, HostEventPics, EventTypes, FormEventFields, HostEventFee } from '@jealous-robot-dev/drophr-common';
|
1
|
+
import { ServiceConnectionInstrument, HostEventTime, HostEventPics, EventTypes, FormEventFields, HostEventFee, ServiceAudience } from '@jealous-robot-dev/drophr-common';
|
2
2
|
export interface HELookup {
|
3
3
|
data?: {
|
4
4
|
selected_currency: string;
|
@@ -26,6 +26,8 @@ export interface HEDraft {
|
|
26
26
|
[FormEventFields.TAGS]?: string[];
|
27
27
|
[FormEventFields.PREREQUISITES]?: string[];
|
28
28
|
[FormEventFields.CAPACITY]?: number;
|
29
|
+
[FormEventFields.AUDIENCE]?: ServiceAudience;
|
30
|
+
[FormEventFields.INSTRUMENT]?: ServiceConnectionInstrument;
|
29
31
|
}
|
30
32
|
export interface HEShortcut {
|
31
33
|
id: string;
|
@@ -36,4 +38,4 @@ export interface HEShortcut {
|
|
36
38
|
type: EventTypes;
|
37
39
|
duration: number;
|
38
40
|
}
|
39
|
-
export declare type DraftUpdatableValue = HostEventFee | EventTypes | HostEventTime | HostEventPics[] | string | string[] | number;
|
41
|
+
export declare type DraftUpdatableValue = HostEventFee | EventTypes | HostEventTime | HostEventPics[] | string | string[] | number | ServiceAudience | ServiceConnectionInstrument;
|
@@ -14,7 +14,6 @@ __exportStar(require("./host"), exports);
|
|
14
14
|
__exportStar(require("./event"), exports);
|
15
15
|
__exportStar(require("./events"), exports);
|
16
16
|
__exportStar(require("./tag-search"), exports);
|
17
|
-
__exportStar(require("./become-host"), exports);
|
18
17
|
__exportStar(require("./seance-join"), exports);
|
19
18
|
__exportStar(require("./customerhub"), exports);
|
20
19
|
__exportStar(require("./urgent-event"), exports);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { QueryResponse } from '../common';
|
2
|
-
import { HostEventPics, HostEventFee, EventTypes, HostEventTime, EventTimeModes,
|
2
|
+
import { HostEventPics, HostEventFee, EventTypes, HostingPriceLimits, HostEventTime, EventTimeModes, CurrencyLmits, ServiceConnectionInstrument, ServiceAudience } from '@jealous-robot-dev/drophr-common';
|
3
3
|
import { EventManagerPhrases } from '@jealous-robot-dev/shared-phrases';
|
4
|
-
export declare type UpdatableEventValue = string | HostEventPics[] | HostEventPics | number | HostEventTime | string[] | HostEventFee;
|
4
|
+
export declare type UpdatableEventValue = string | HostEventPics[] | HostEventPics | ServiceConnectionInstrument | ServiceAudience | number | HostEventTime | string[] | HostEventFee;
|
5
5
|
export interface EventInManager {
|
6
6
|
id: string;
|
7
7
|
name: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
3
|
-
"version": "1.37.
|
3
|
+
"version": "1.37.8",
|
4
4
|
"description": "",
|
5
5
|
"main": "build/index.js",
|
6
6
|
"types": "build/index.d.ts",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"typescript": "^3.8.3"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@jealous-robot-dev/drophr-common": "^1.
|
27
|
+
"@jealous-robot-dev/drophr-common": "^1.4.2",
|
28
28
|
"@jealous-robot-dev/shared-phrases": "^1.0.1",
|
29
29
|
"@jealous-robot-dev/shared-ui-lib": "^1.9.6"
|
30
30
|
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import { EventTypes } from "@jealous-robot-dev/drophr-common";
|
2
|
-
export interface Type {
|
3
|
-
type: EventTypes;
|
4
|
-
label: string;
|
5
|
-
description: string;
|
6
|
-
amount_of_guests_recommended: number;
|
7
|
-
image_url: string;
|
8
|
-
examples: string;
|
9
|
-
}
|
10
|
-
export interface BecomeHostContent {
|
11
|
-
title: string;
|
12
|
-
content_path: string;
|
13
|
-
become_host: string;
|
14
|
-
intro: {
|
15
|
-
title: string;
|
16
|
-
bg_url: string;
|
17
|
-
};
|
18
|
-
idea: {
|
19
|
-
title: string;
|
20
|
-
description: string;
|
21
|
-
bg_url: string;
|
22
|
-
};
|
23
|
-
types_of_events: {
|
24
|
-
title: string;
|
25
|
-
guests_allowed: string;
|
26
|
-
examples: string;
|
27
|
-
types: Type[];
|
28
|
-
};
|
29
|
-
become_host_is_easy: {
|
30
|
-
label: string;
|
31
|
-
bg_url: string;
|
32
|
-
description: string;
|
33
|
-
};
|
34
|
-
}
|