@jealous-robot-dev/shared-types-responses 1.7.40 → 1.8.3

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.
@@ -11,6 +11,10 @@ export declare enum EventTypes {
11
11
  DEVELOPER_TALKS = "DEVELOPER_TALKS",
12
12
  ENTERTAINMENT = "ENTERTAINMENT"
13
13
  }
14
+ export declare enum EventTimeModes {
15
+ SINGLE_SESSION = "single_session",
16
+ MULTI_SESSION = "multi_session"
17
+ }
14
18
  export interface EventRaiting {
15
19
  event_organizer_raiting: number | null;
16
20
  event_raiting: null | number;
@@ -83,7 +87,6 @@ export interface EventEditableFields {
83
87
  event_name: boolean;
84
88
  event_description: boolean;
85
89
  event_time: boolean;
86
- event_ends_at: boolean;
87
90
  event_type: boolean;
88
91
  event_tags: boolean;
89
92
  mentioned_users: boolean;
@@ -93,6 +96,10 @@ export interface PhrasedEventType {
93
96
  type: EventTypes;
94
97
  label: string;
95
98
  }
99
+ export interface EventPhrasedTimemode {
100
+ mode: EventTimeModes;
101
+ label: string;
102
+ }
96
103
  export interface PhrasesExplainedEventType extends PhrasedEventType {
97
104
  description: string;
98
105
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventTypes = void 0;
3
+ exports.EventTimeModes = exports.EventTypes = void 0;
4
4
  var EventTypes;
5
5
  (function (EventTypes) {
6
6
  EventTypes["LIVE_TRANSLATION"] = "LIVE_TRANSLATION";
@@ -14,3 +14,8 @@ var EventTypes;
14
14
  EventTypes["DEVELOPER_TALKS"] = "DEVELOPER_TALKS";
15
15
  EventTypes["ENTERTAINMENT"] = "ENTERTAINMENT";
16
16
  })(EventTypes = exports.EventTypes || (exports.EventTypes = {}));
17
+ var EventTimeModes;
18
+ (function (EventTimeModes) {
19
+ EventTimeModes["SINGLE_SESSION"] = "single_session";
20
+ EventTimeModes["MULTI_SESSION"] = "multi_session";
21
+ })(EventTimeModes = exports.EventTimeModes || (exports.EventTimeModes = {}));
@@ -2,3 +2,4 @@ export * from './events';
2
2
  export * from './reviews';
3
3
  export * from './visitor-event-page';
4
4
  export * from './schedule-an-event';
5
+ export * from './manage-events';
@@ -14,3 +14,4 @@ __exportStar(require("./events"), exports);
14
14
  __exportStar(require("./reviews"), exports);
15
15
  __exportStar(require("./visitor-event-page"), exports);
16
16
  __exportStar(require("./schedule-an-event"), exports);
17
+ __exportStar(require("./manage-events"), exports);
@@ -0,0 +1,103 @@
1
+ import { PluralSingular, Language, Month, LND, QueryResponse } from '../common';
2
+ import { PhrasedEventType, EventPhrasedTimemode, EventTypes, EventTimeModes } from './events';
3
+ export declare enum EventManagerSortFields {
4
+ LANGUAGE = "lang",
5
+ TYPE = "type",
6
+ CAPACITY = "capacity",
7
+ TIMING_MODE = "timing_mode"
8
+ }
9
+ export interface EventManagerPhrases {
10
+ title: string;
11
+ events: PluralSingular;
12
+ search_events: string;
13
+ host_an_event: string;
14
+ filter: {
15
+ clear_all: string;
16
+ clear: string;
17
+ apply: string;
18
+ type: {
19
+ label: string;
20
+ };
21
+ lang: {
22
+ label: string;
23
+ };
24
+ capacity: {
25
+ label: string;
26
+ visitors: string;
27
+ };
28
+ timing_mode: {
29
+ label: string;
30
+ };
31
+ };
32
+ no_events: {
33
+ label: string;
34
+ description: string;
35
+ reset_filters: string;
36
+ };
37
+ event_list: {
38
+ columns: {
39
+ event_language: string;
40
+ event_type: string;
41
+ event_time_mode: string;
42
+ event: string;
43
+ event_last_modified: string;
44
+ event_next_session: string;
45
+ event_passed_sessions: string;
46
+ event_capacity: string;
47
+ };
48
+ customise_columns: string;
49
+ };
50
+ common: {
51
+ timing_modes: EventPhrasedTimemode[];
52
+ languages: Language[];
53
+ event_types: PhrasedEventType[];
54
+ months: Month[];
55
+ cancel: string;
56
+ done: string;
57
+ edit: string;
58
+ };
59
+ event_editor: {
60
+ event_pricing: {
61
+ label: string;
62
+ fee: string;
63
+ };
64
+ event_details: {
65
+ label: string;
66
+ name: string;
67
+ description: string;
68
+ capacity: string;
69
+ language: string;
70
+ time: string;
71
+ };
72
+ event_additional_data: {
73
+ label: string;
74
+ pictures: string;
75
+ video: string;
76
+ tags: string;
77
+ };
78
+ event_managing: {
79
+ label: string;
80
+ suspend: string;
81
+ delete: string;
82
+ };
83
+ search: string;
84
+ no_results: LND;
85
+ };
86
+ }
87
+ export interface EventInManager {
88
+ event_id: string;
89
+ event_name: string;
90
+ event_pic?: string;
91
+ event_language: string;
92
+ event_type: EventTypes;
93
+ event_capacity: number;
94
+ event_timing_mode: EventTimeModes;
95
+ event_last_modified: string;
96
+ event_next_session: string;
97
+ event_passed_sessions: string;
98
+ }
99
+ export interface EventManagerData {
100
+ events: EventInManager[];
101
+ }
102
+ export interface EventManagerResponse extends QueryResponse<EventManagerData, EventManagerPhrases> {
103
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventManagerSortFields = void 0;
4
+ var EventManagerSortFields;
5
+ (function (EventManagerSortFields) {
6
+ EventManagerSortFields["LANGUAGE"] = "lang";
7
+ EventManagerSortFields["TYPE"] = "type";
8
+ EventManagerSortFields["CAPACITY"] = "capacity";
9
+ EventManagerSortFields["TIMING_MODE"] = "timing_mode";
10
+ })(EventManagerSortFields = exports.EventManagerSortFields || (exports.EventManagerSortFields = {}));
@@ -1,11 +1,17 @@
1
1
  import { PhrasesExplainedEventType, EventTypes, EventTime } from './events';
2
2
  import { Language, Month, QueryResponse, Weekday } from '../common';
3
+ export interface SEFAQ {
4
+ question: string;
5
+ answer: string;
6
+ }
7
+ export interface SEHelp {
8
+ recomendation: string;
9
+ faq: SEFAQ[];
10
+ }
3
11
  export interface SECommonPhrases {
4
12
  labels: {
5
13
  exit: string;
6
- save_and_exit: string;
7
14
  help: string;
8
- we_are_here_to_help: string;
9
15
  back: string;
10
16
  next: string;
11
17
  skip: string;
@@ -34,9 +40,7 @@ export interface SENamePhrases {
34
40
  invalid: string;
35
41
  };
36
42
  };
37
- help: {
38
- recomendation: string;
39
- };
43
+ help: SEHelp;
40
44
  }
41
45
  export interface SEDescriptionPhrases {
42
46
  page_title: string;
@@ -47,15 +51,7 @@ export interface SEDescriptionPhrases {
47
51
  enter: string;
48
52
  };
49
53
  };
50
- help: {
51
- recomendation: string;
52
- faq: {
53
- why_is_important: {
54
- question: string;
55
- answer: string;
56
- };
57
- };
58
- };
54
+ help: SEHelp;
59
55
  }
60
56
  export interface SELangPhrases {
61
57
  page_title: string;
@@ -90,9 +86,6 @@ export interface SEDesiredVisitorsPhrases {
90
86
  page_title: string;
91
87
  question: string;
92
88
  visitors: string;
93
- help: {
94
- note_on_lessons: string;
95
- };
96
89
  }
97
90
  export interface SETagsPhrases {
98
91
  page_title: string;
@@ -102,41 +95,21 @@ export interface SETagsPhrases {
102
95
  add: string;
103
96
  };
104
97
  tags: string;
105
- help: {
106
- recomendation: string;
107
- faq: {
108
- why_is_important: {
109
- question: string;
110
- answer: string;
111
- };
112
- };
113
- };
98
+ help: SEHelp;
114
99
  }
115
100
  export interface SEPicturesPhrases {
116
101
  page_title: string;
117
102
  question: string;
118
103
  pick_images: string;
119
104
  images: string;
120
- help: {
121
- description: string;
122
- why_is_important: {
123
- question: string;
124
- answer: string;
125
- };
126
- };
105
+ help: SEHelp;
127
106
  }
128
107
  export interface SEVideoPhrases {
129
108
  page_title: string;
130
109
  question: string;
131
110
  pick_a_video: string;
132
111
  video: string;
133
- help: {
134
- description: string;
135
- why_is_important: {
136
- question: string;
137
- answer: string;
138
- };
139
- };
112
+ help: SEHelp;
140
113
  }
141
114
  export interface SEPricePhrases {
142
115
  page_title: string;
@@ -145,9 +118,7 @@ export interface SEPricePhrases {
145
118
  input: {
146
119
  placeholder: string;
147
120
  };
148
- help: {
149
- recomendation: string;
150
- };
121
+ help: SEHelp;
151
122
  }
152
123
  export interface SESuccessPhrases {
153
124
  page_title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.7.40",
3
+ "version": "1.8.3",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",