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

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.
@@ -1,4 +1,17 @@
1
1
  import { Currency, Language } from '../common';
2
+ export declare enum FormEventFields {
3
+ PREREQUISITES = "prerequisites",
4
+ DESCRIPTION = "description",
5
+ CAPACITY = "capacity",
6
+ PICTURES = "pictures",
7
+ TAGS = "tags",
8
+ LANG = "lang",
9
+ TYPE = "type",
10
+ TIME = "time",
11
+ NAME = "name",
12
+ FEE = "fee"
13
+ }
14
+ export declare const FEFListed: FormEventFields[];
2
15
  export declare enum EventTypes {
3
16
  LIVE_TRANSLATION = "LIVE_TRANSLATION",
4
17
  LECTURES_WEBINARS = "LECTURES_WEBINARS",
@@ -12,6 +25,7 @@ export declare enum EventTypes {
12
25
  DEVELOPERS_AND_TECH = "DEVELOPERS_AND_TECH",
13
26
  ENTERTAINMENT = "ENTERTAINMENT"
14
27
  }
28
+ export declare const ETListed: EventTypes[];
15
29
  export declare enum EventTimeModes {
16
30
  SINGLE_SESSION = "single_session",
17
31
  MULTI_SESSION = "multi_session"
@@ -1,6 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventTimeModes = exports.EventTypes = void 0;
3
+ exports.EventTimeModes = exports.ETListed = exports.EventTypes = exports.FEFListed = exports.FormEventFields = void 0;
4
+ var FormEventFields;
5
+ (function (FormEventFields) {
6
+ FormEventFields["PREREQUISITES"] = "prerequisites";
7
+ FormEventFields["DESCRIPTION"] = "description";
8
+ FormEventFields["CAPACITY"] = "capacity";
9
+ FormEventFields["PICTURES"] = "pictures";
10
+ FormEventFields["TAGS"] = "tags";
11
+ FormEventFields["LANG"] = "lang";
12
+ FormEventFields["TYPE"] = "type";
13
+ FormEventFields["TIME"] = "time";
14
+ FormEventFields["NAME"] = "name";
15
+ FormEventFields["FEE"] = "fee";
16
+ })(FormEventFields = exports.FormEventFields || (exports.FormEventFields = {}));
17
+ exports.FEFListed = [
18
+ FormEventFields.CAPACITY, FormEventFields.DESCRIPTION,
19
+ FormEventFields.FEE, FormEventFields.LANG, FormEventFields.NAME,
20
+ FormEventFields.PICTURES, FormEventFields.PREREQUISITES,
21
+ FormEventFields.TAGS, FormEventFields.TIME, FormEventFields.TYPE
22
+ ];
4
23
  var EventTypes;
5
24
  (function (EventTypes) {
6
25
  EventTypes["LIVE_TRANSLATION"] = "LIVE_TRANSLATION";
@@ -15,6 +34,12 @@ var EventTypes;
15
34
  EventTypes["DEVELOPERS_AND_TECH"] = "DEVELOPERS_AND_TECH";
16
35
  EventTypes["ENTERTAINMENT"] = "ENTERTAINMENT";
17
36
  })(EventTypes = exports.EventTypes || (exports.EventTypes = {}));
37
+ exports.ETListed = [
38
+ EventTypes.ART, EventTypes.COOKING_GUIDE, EventTypes.DEVELOPERS_AND_TECH,
39
+ EventTypes.ENTERTAINMENT, EventTypes.LECTURES_WEBINARS, EventTypes.LIVE_TRANSLATION,
40
+ EventTypes.PHYSICAL_ACTIVITY, EventTypes.PRIVATE_CONSULTATION, EventTypes.RELAXATION,
41
+ EventTypes.TEACHING, EventTypes.YOGA
42
+ ];
18
43
  var EventTimeModes;
19
44
  (function (EventTimeModes) {
20
45
  EventTimeModes["SINGLE_SESSION"] = "single_session";
@@ -2,21 +2,10 @@ export declare enum EventReschedulingPeriod {
2
2
  WEEK = "week",
3
3
  MONTH = "month"
4
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
5
  export interface HostEventTime {
18
6
  weekly: boolean;
19
7
  rescheduling?: EventReschedulingPeriod;
8
+ startFrom: string;
20
9
  times: string[];
21
10
  duration: number;
22
11
  }
@@ -24,3 +13,7 @@ export interface HostEventFee {
24
13
  amount: number;
25
14
  currency: string;
26
15
  }
16
+ export interface HostEventPics {
17
+ src: string;
18
+ index: number;
19
+ }
@@ -1,21 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HostEventFields = exports.EventReschedulingPeriod = void 0;
3
+ exports.EventReschedulingPeriod = void 0;
4
4
  var EventReschedulingPeriod;
5
5
  (function (EventReschedulingPeriod) {
6
6
  EventReschedulingPeriod["WEEK"] = "week";
7
7
  EventReschedulingPeriod["MONTH"] = "month";
8
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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.22.5",
3
+ "version": "1.22.9",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",