@jealous-robot-dev/shared-types-responses 1.22.1 → 1.22.5

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,26 @@
1
+ export declare enum EventReschedulingPeriod {
2
+ WEEK = "week",
3
+ MONTH = "month"
4
+ }
5
+ export declare enum HostEventFields {
6
+ PREREQUISITES = "prerequisites",
7
+ DESCRIPTION = "description",
8
+ CAPACITY = "capacity",
9
+ PICTURES = "pictures",
10
+ TAGS = "tags",
11
+ LANG = "lang",
12
+ TYPE = "type",
13
+ TIME = "time",
14
+ NAME = "name",
15
+ FEE = "fee"
16
+ }
17
+ export interface HostEventTime {
18
+ weekly: boolean;
19
+ rescheduling?: EventReschedulingPeriod;
20
+ times: string[];
21
+ duration: number;
22
+ }
23
+ export interface HostEventFee {
24
+ amount: number;
25
+ currency: string;
26
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HostEventFields = exports.EventReschedulingPeriod = void 0;
4
+ var EventReschedulingPeriod;
5
+ (function (EventReschedulingPeriod) {
6
+ EventReschedulingPeriod["WEEK"] = "week";
7
+ EventReschedulingPeriod["MONTH"] = "month";
8
+ })(EventReschedulingPeriod = exports.EventReschedulingPeriod || (exports.EventReschedulingPeriod = {}));
9
+ var HostEventFields;
10
+ (function (HostEventFields) {
11
+ HostEventFields["PREREQUISITES"] = "prerequisites";
12
+ HostEventFields["DESCRIPTION"] = "description";
13
+ HostEventFields["CAPACITY"] = "capacity";
14
+ HostEventFields["PICTURES"] = "pictures";
15
+ HostEventFields["TAGS"] = "tags";
16
+ HostEventFields["LANG"] = "lang";
17
+ HostEventFields["TYPE"] = "type";
18
+ HostEventFields["TIME"] = "time";
19
+ HostEventFields["NAME"] = "name";
20
+ HostEventFields["FEE"] = "fee";
21
+ })(HostEventFields = exports.HostEventFields || (exports.HostEventFields = {}));
@@ -6,6 +6,7 @@ export * from './visitor-event-page';
6
6
  export * from './schedule-an-event';
7
7
  export * from './manage-events';
8
8
  export * from './event-search';
9
+ export * from './host-an-event';
9
10
  export * from './event-checkout';
10
11
  export * from './become-host';
11
12
  export * from './event-impression';
@@ -18,6 +18,7 @@ __exportStar(require("./visitor-event-page"), exports);
18
18
  __exportStar(require("./schedule-an-event"), exports);
19
19
  __exportStar(require("./manage-events"), exports);
20
20
  __exportStar(require("./event-search"), exports);
21
+ __exportStar(require("./host-an-event"), exports);
21
22
  __exportStar(require("./event-checkout"), exports);
22
23
  __exportStar(require("./become-host"), exports);
23
24
  __exportStar(require("./event-impression"), exports);
@@ -46,7 +46,7 @@ export interface ConvDeletedByMemPayload {
46
46
  }
47
47
  export interface ConvAvailOnChangePayload {
48
48
  conv_id: string;
49
- available: string;
49
+ available: boolean;
50
50
  }
51
51
  export declare type ServerMsgs = MsgSentPayload | MsgEditionPayload | MsgDeletionPayload | MsgViewingPayload | ConvDeletedByMemPayload | ConvAvailOnChangePayload;
52
52
  export declare type ClientMsgs = SendMsgPayload | MsgEditionPayload | MsgDeletionPayload | MsgViewingPayload;
@@ -21,6 +21,7 @@ export interface UserInboxPhrases {
21
21
  no_messages: string;
22
22
  message: string;
23
23
  edit: string;
24
+ download: string;
24
25
  delete: string;
25
26
  delete_conversation: string;
26
27
  search_users: string;
@@ -28,8 +29,7 @@ export interface UserInboxPhrases {
28
29
  no_conversations: LND;
29
30
  no_users: LND;
30
31
  today: string;
31
- you_restricted_access: string;
32
- user_restricted_access: string;
32
+ restricted_access: string;
33
33
  view_profile: string;
34
34
  forms: {
35
35
  delete_conv: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.22.1",
3
+ "version": "1.22.5",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",