@kineticdata/bundle-tech-bar 6.0.1 → 6.0.2
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/lib/App.js +1 -2
- package/lib/components/AppointmentForm.js +5 -10
- package/lib/components/CheckIn.js +5 -9
- package/lib/components/Display.js +4 -8
- package/lib/components/Feedback.js +5 -9
- package/lib/components/Form.js +5 -10
- package/lib/components/Home.js +5 -9
- package/lib/components/Overhead.js +5 -9
- package/lib/components/Past.js +5 -9
- package/lib/components/Sidebar.js +4 -7
- package/lib/components/TechBars.js +4 -7
- package/lib/components/settings/SchedulerSettings.js +5 -9
- package/lib/components/settings/Settings.js +3 -6
- package/lib/components/settings/Sidebar.js +3 -6
- package/lib/components/settings/TechBarMetrics.js +5 -9
- package/lib/components/settings/TechBarSettings.js +5 -9
- package/lib/components/settings/metrics/MetricsExport.js +7 -13
- package/lib/components/settings/metrics/MetricsSummary.js +4 -7
- package/lib/components/settings/metrics/MetricsTrend.js +4 -7
- package/lib/components/settings/tech-bar/AppointmentForm.js +3 -6
- package/lib/components/settings/tech-bar/TechBar.js +5 -9
- package/lib/components/settings/tech-bar/TechBarDisplayMembers.js +4 -7
- package/lib/components/settings/tech-bar/TechBarSettingsForm.js +5 -9
- package/lib/components/shared/PageTitle.js +3 -5
- package/lib/constants.js +16 -32
- package/lib/index.js +4 -2
- package/lib/redux/modules/app.js +4 -7
- package/lib/redux/modules/appointments.js +5 -9
- package/lib/redux/modules/export.js +5 -9
- package/lib/redux/modules/metrics.js +6 -11
- package/lib/redux/modules/techBarApp.js +9 -17
- package/lib/redux/modules/walkIns.js +5 -9
- package/lib/redux/reducers.js +2 -3
- package/lib/redux/sagas/app.js +11 -15
- package/lib/redux/sagas/appointments.js +227 -241
- package/lib/redux/sagas/export.js +112 -118
- package/lib/redux/sagas/metrics.js +50 -54
- package/lib/redux/sagas/techBarApp.js +233 -245
- package/lib/redux/sagas/walkIns.js +90 -96
- package/lib/redux/sagas.js +7 -9
- package/lib/redux/store.js +5 -9
- package/lib/utils.js +2 -3
- package/package.json +55 -54
|
@@ -26,78 +26,76 @@ var _marked = /*#__PURE__*/_regeneratorRuntime3().mark(fetchAppDataRequestSaga),
|
|
|
26
26
|
function fetchAppDataRequestSaga() {
|
|
27
27
|
var schedulersQuery, settingsQuery, kappSlug, _yield$all, _yield$all2, _yield$all2$, schedulers, schedulersError, _yield$all2$2, techBarSettings, settingsError, _yield$all2$3, forms, formsError;
|
|
28
28
|
return (0, _regeneratorRuntime2["default"])().wrap(function fetchAppDataRequestSaga$(_context) {
|
|
29
|
-
while (1) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
_context.next = 31;
|
|
74
|
-
break;
|
|
75
|
-
}
|
|
76
|
-
_context.next = 28;
|
|
77
|
-
return (0, _effects.put)(_techBarApp.actions.fetchAppDataFailure(schedulersError || settingsError || formsError));
|
|
78
|
-
case 28:
|
|
79
|
-
(0, _bundleCommon.addToastAlert)({
|
|
80
|
-
title: 'Failed to load Tech Bar App.',
|
|
81
|
-
message: (schedulersError || settingsError || formsError).message
|
|
82
|
-
});
|
|
83
|
-
_context.next = 33;
|
|
29
|
+
while (1) switch (_context.prev = _context.next) {
|
|
30
|
+
case 0:
|
|
31
|
+
schedulersQuery = new _react.SubmissionSearch(true);
|
|
32
|
+
schedulersQuery.include('details,values');
|
|
33
|
+
schedulersQuery.limit('1000');
|
|
34
|
+
schedulersQuery.index('values[Type],values[Name]');
|
|
35
|
+
schedulersQuery.eq('values[Type]', 'TechBar');
|
|
36
|
+
settingsQuery = new _react.SubmissionSearch(true);
|
|
37
|
+
settingsQuery.include('details,values');
|
|
38
|
+
settingsQuery.limit('1000');
|
|
39
|
+
settingsQuery.index('values[Scheduler Id]:UNIQUE');
|
|
40
|
+
_context.next = 11;
|
|
41
|
+
return (0, _effects.select)(function (state) {
|
|
42
|
+
return state.app.kappSlug;
|
|
43
|
+
});
|
|
44
|
+
case 11:
|
|
45
|
+
kappSlug = _context.sent;
|
|
46
|
+
_context.next = 14;
|
|
47
|
+
return (0, _effects.all)([(0, _effects.call)(_react.searchSubmissions, {
|
|
48
|
+
search: schedulersQuery.build(),
|
|
49
|
+
datastore: true,
|
|
50
|
+
form: _constants.SCHEDULER_FORM_SLUG
|
|
51
|
+
}), (0, _effects.call)(_react.searchSubmissions, {
|
|
52
|
+
search: settingsQuery.build(),
|
|
53
|
+
datastore: true,
|
|
54
|
+
form: _constants.TECH_BAR_SETTINGS_FORM_SLUG
|
|
55
|
+
}), (0, _effects.call)(_react.fetchForms, {
|
|
56
|
+
kappSlug: kappSlug,
|
|
57
|
+
include: 'details,attributes'
|
|
58
|
+
})]);
|
|
59
|
+
case 14:
|
|
60
|
+
_yield$all = _context.sent;
|
|
61
|
+
_yield$all2 = (0, _slicedToArray2["default"])(_yield$all, 3);
|
|
62
|
+
_yield$all2$ = _yield$all2[0];
|
|
63
|
+
schedulers = _yield$all2$.submissions;
|
|
64
|
+
schedulersError = _yield$all2$.error;
|
|
65
|
+
_yield$all2$2 = _yield$all2[1];
|
|
66
|
+
techBarSettings = _yield$all2$2.submissions;
|
|
67
|
+
settingsError = _yield$all2$2.error;
|
|
68
|
+
_yield$all2$3 = _yield$all2[2];
|
|
69
|
+
forms = _yield$all2$3.forms;
|
|
70
|
+
formsError = _yield$all2$3.error;
|
|
71
|
+
if (!(schedulersError || settingsError || formsError)) {
|
|
72
|
+
_context.next = 31;
|
|
84
73
|
break;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
74
|
+
}
|
|
75
|
+
_context.next = 28;
|
|
76
|
+
return (0, _effects.put)(_techBarApp.actions.fetchAppDataFailure(schedulersError || settingsError || formsError));
|
|
77
|
+
case 28:
|
|
78
|
+
(0, _bundleCommon.addToastAlert)({
|
|
79
|
+
title: 'Failed to load Tech Bar App.',
|
|
80
|
+
message: (schedulersError || settingsError || formsError).message
|
|
81
|
+
});
|
|
82
|
+
_context.next = 33;
|
|
83
|
+
break;
|
|
84
|
+
case 31:
|
|
85
|
+
_context.next = 33;
|
|
86
|
+
return (0, _effects.put)(_techBarApp.actions.fetchAppDataSuccess({
|
|
87
|
+
schedulers: schedulers.map(function (scheduler) {
|
|
88
|
+
return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, scheduler), {}, {
|
|
89
|
+
settings: (0, _techBarApp.Settings)(techBarSettings.find(function (s) {
|
|
90
|
+
return s.values['Scheduler Id'] === scheduler.values['Id'];
|
|
91
|
+
}))
|
|
92
|
+
});
|
|
93
|
+
}),
|
|
94
|
+
forms: forms
|
|
95
|
+
}));
|
|
96
|
+
case 33:
|
|
97
|
+
case "end":
|
|
98
|
+
return _context.stop();
|
|
101
99
|
}
|
|
102
100
|
}, _marked);
|
|
103
101
|
}
|
|
@@ -106,34 +104,32 @@ function fetchDisplayTeamRequestSaga(_ref) {
|
|
|
106
104
|
return /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee() {
|
|
107
105
|
var _yield$call, team, error;
|
|
108
106
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee$(_context2) {
|
|
109
|
-
while (1) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
_context2.next = 10;
|
|
123
|
-
break;
|
|
124
|
-
}
|
|
125
|
-
_context2.next = 8;
|
|
126
|
-
return (0, _effects.put)(_techBarApp.actions.fetchDisplayTeamFailure(error));
|
|
127
|
-
case 8:
|
|
128
|
-
_context2.next = 12;
|
|
107
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
108
|
+
case 0:
|
|
109
|
+
_context2.next = 2;
|
|
110
|
+
return (0, _effects.call)(_react.fetchTeam, {
|
|
111
|
+
teamSlug: (0, _md["default"])("Role::Tech Bar Display::".concat(techBarName)),
|
|
112
|
+
include: 'attributes,memberships.user,memberships.user.attributes,memberships.user.profileAttributes'
|
|
113
|
+
});
|
|
114
|
+
case 2:
|
|
115
|
+
_yield$call = _context2.sent;
|
|
116
|
+
team = _yield$call.team;
|
|
117
|
+
error = _yield$call.error;
|
|
118
|
+
if (!error) {
|
|
119
|
+
_context2.next = 10;
|
|
129
120
|
break;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
121
|
+
}
|
|
122
|
+
_context2.next = 8;
|
|
123
|
+
return (0, _effects.put)(_techBarApp.actions.fetchDisplayTeamFailure(error));
|
|
124
|
+
case 8:
|
|
125
|
+
_context2.next = 12;
|
|
126
|
+
break;
|
|
127
|
+
case 10:
|
|
128
|
+
_context2.next = 12;
|
|
129
|
+
return (0, _effects.put)(_techBarApp.actions.fetchDisplayTeamSuccess(team));
|
|
130
|
+
case 12:
|
|
131
|
+
case "end":
|
|
132
|
+
return _context2.stop();
|
|
137
133
|
}
|
|
138
134
|
}, _callee);
|
|
139
135
|
})();
|
|
@@ -147,64 +143,62 @@ function createDisplayTeamMembershipRequestSaga(_ref2) {
|
|
|
147
143
|
return /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee2() {
|
|
148
144
|
var toAdd, results, success, errorList;
|
|
149
145
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee2$(_context3) {
|
|
150
|
-
while (1) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
return (0, _effects.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
username: u
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
}));
|
|
175
|
-
case 6:
|
|
176
|
-
results = _context3.sent;
|
|
177
|
-
success = false;
|
|
178
|
-
errorList = results.reduce(function (errorList, _ref3) {
|
|
179
|
-
var error = _ref3.error;
|
|
180
|
-
if (error) {
|
|
181
|
-
return [].concat((0, _toConsumableArray2["default"])(errorList), [error]);
|
|
182
|
-
} else {
|
|
183
|
-
success = true;
|
|
184
|
-
return errorList;
|
|
146
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
147
|
+
case 0:
|
|
148
|
+
toAdd = username ? [username] : usernames;
|
|
149
|
+
if (!(toAdd.length === 0)) {
|
|
150
|
+
_context3.next = 4;
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
(0, _bundleCommon.addToast)({
|
|
154
|
+
message: 'No users selected to add.',
|
|
155
|
+
severity: 'danger'
|
|
156
|
+
});
|
|
157
|
+
return _context3.abrupt("return");
|
|
158
|
+
case 4:
|
|
159
|
+
_context3.next = 6;
|
|
160
|
+
return (0, _effects.all)(toAdd.map(function (u) {
|
|
161
|
+
return (0, _effects.call)(_react.createMembership, {
|
|
162
|
+
team: {
|
|
163
|
+
name: "Role::Tech Bar Display::".concat(techBarName)
|
|
164
|
+
},
|
|
165
|
+
user: {
|
|
166
|
+
username: u
|
|
185
167
|
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
168
|
+
});
|
|
169
|
+
}));
|
|
170
|
+
case 6:
|
|
171
|
+
results = _context3.sent;
|
|
172
|
+
success = false;
|
|
173
|
+
errorList = results.reduce(function (errorList, _ref3) {
|
|
174
|
+
var error = _ref3.error;
|
|
175
|
+
if (error) {
|
|
176
|
+
return [].concat((0, _toConsumableArray2["default"])(errorList), [error]);
|
|
177
|
+
} else {
|
|
178
|
+
success = true;
|
|
179
|
+
return errorList;
|
|
198
180
|
}
|
|
199
|
-
|
|
181
|
+
}, []);
|
|
182
|
+
if (errorList.length > 0) {
|
|
183
|
+
(0, _bundleCommon.addToastAlert)({
|
|
184
|
+
title: 'Error adding new users.',
|
|
185
|
+
message: errorList.map(function (e) {
|
|
186
|
+
return e.message;
|
|
187
|
+
}).join('\n')
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
if (!success) {
|
|
200
191
|
_context3.next = 14;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
(0, _bundleCommon.addToast)("User".concat(toAdd.length > 1 ? 's' : '', " added successfully."));
|
|
195
|
+
_context3.next = 14;
|
|
196
|
+
return (0, _effects.put)(_techBarApp.actions.fetchDisplayTeamRequest({
|
|
197
|
+
techBarName: techBarName
|
|
198
|
+
}));
|
|
199
|
+
case 14:
|
|
200
|
+
case "end":
|
|
201
|
+
return _context3.stop();
|
|
208
202
|
}
|
|
209
203
|
}, _callee2);
|
|
210
204
|
})();
|
|
@@ -216,37 +210,35 @@ function deleteDisplayTeamMembershipRequestSaga(_ref4) {
|
|
|
216
210
|
return /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee3() {
|
|
217
211
|
var _yield$call2, error;
|
|
218
212
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee3$(_context4) {
|
|
219
|
-
while (1) {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
_context4.next = 8;
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
(0, _bundleCommon.addToastAlert)({
|
|
235
|
-
title: 'Error removing user.',
|
|
236
|
-
message: error.message
|
|
237
|
-
});
|
|
238
|
-
_context4.next = 11;
|
|
213
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
214
|
+
case 0:
|
|
215
|
+
_context4.next = 2;
|
|
216
|
+
return (0, _effects.call)(_react.deleteMembership, {
|
|
217
|
+
teamSlug: (0, _md["default"])("Role::Tech Bar Display::".concat(techBarName)),
|
|
218
|
+
username: username
|
|
219
|
+
});
|
|
220
|
+
case 2:
|
|
221
|
+
_yield$call2 = _context4.sent;
|
|
222
|
+
error = _yield$call2.error;
|
|
223
|
+
if (!error) {
|
|
224
|
+
_context4.next = 8;
|
|
239
225
|
break;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
226
|
+
}
|
|
227
|
+
(0, _bundleCommon.addToastAlert)({
|
|
228
|
+
title: 'Error removing user.',
|
|
229
|
+
message: error.message
|
|
230
|
+
});
|
|
231
|
+
_context4.next = 11;
|
|
232
|
+
break;
|
|
233
|
+
case 8:
|
|
234
|
+
(0, _bundleCommon.addToast)("User was removed successfully.");
|
|
235
|
+
_context4.next = 11;
|
|
236
|
+
return (0, _effects.put)(_techBarApp.actions.fetchDisplayTeamRequest({
|
|
237
|
+
techBarName: techBarName
|
|
238
|
+
}));
|
|
239
|
+
case 11:
|
|
240
|
+
case "end":
|
|
241
|
+
return _context4.stop();
|
|
250
242
|
}
|
|
251
243
|
}, _callee3);
|
|
252
244
|
})();
|
|
@@ -259,78 +251,74 @@ function createDisplayTeamUserRequestSaga(_ref5) {
|
|
|
259
251
|
return /*#__PURE__*/(0, _regeneratorRuntime2["default"])().mark(function _callee4() {
|
|
260
252
|
var _yield$call3, error;
|
|
261
253
|
return (0, _regeneratorRuntime2["default"])().wrap(function _callee4$(_context5) {
|
|
262
|
-
while (1) {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
name: "Role::Tech Bar Display::".concat(techBarName)
|
|
276
|
-
}
|
|
277
|
-
}],
|
|
278
|
-
profileAttributesMap: {
|
|
279
|
-
'First Name': [user.firstName],
|
|
280
|
-
'Last Name': [user.lastName]
|
|
254
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
255
|
+
case 0:
|
|
256
|
+
_context5.next = 2;
|
|
257
|
+
return (0, _effects.call)(_react.createUser, {
|
|
258
|
+
user: {
|
|
259
|
+
username: user.email,
|
|
260
|
+
email: user.email,
|
|
261
|
+
displayName: "".concat(user.firstName, " ").concat(user.lastName),
|
|
262
|
+
enabled: true,
|
|
263
|
+
spaceAdmin: false,
|
|
264
|
+
memberships: [{
|
|
265
|
+
team: {
|
|
266
|
+
name: "Role::Tech Bar Display::".concat(techBarName)
|
|
281
267
|
}
|
|
268
|
+
}],
|
|
269
|
+
profileAttributesMap: {
|
|
270
|
+
'First Name': [user.firstName],
|
|
271
|
+
'Last Name': [user.lastName]
|
|
282
272
|
}
|
|
283
|
-
});
|
|
284
|
-
case 2:
|
|
285
|
-
_yield$call3 = _context5.sent;
|
|
286
|
-
error = _yield$call3.error;
|
|
287
|
-
if (!error) {
|
|
288
|
-
_context5.next = 8;
|
|
289
|
-
break;
|
|
290
273
|
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
274
|
+
});
|
|
275
|
+
case 2:
|
|
276
|
+
_yield$call3 = _context5.sent;
|
|
277
|
+
error = _yield$call3.error;
|
|
278
|
+
if (!error) {
|
|
279
|
+
_context5.next = 8;
|
|
296
280
|
break;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
281
|
+
}
|
|
282
|
+
(0, _bundleCommon.addToastAlert)({
|
|
283
|
+
title: 'Error creating user.',
|
|
284
|
+
message: error.message
|
|
285
|
+
});
|
|
286
|
+
_context5.next = 11;
|
|
287
|
+
break;
|
|
288
|
+
case 8:
|
|
289
|
+
(0, _bundleCommon.addToast)("User was created successfully.");
|
|
290
|
+
_context5.next = 11;
|
|
291
|
+
return (0, _effects.put)(_techBarApp.actions.fetchDisplayTeamRequest({
|
|
292
|
+
techBarName: techBarName
|
|
293
|
+
}));
|
|
294
|
+
case 11:
|
|
295
|
+
case "end":
|
|
296
|
+
return _context5.stop();
|
|
307
297
|
}
|
|
308
298
|
}, _callee4);
|
|
309
299
|
})();
|
|
310
300
|
}
|
|
311
301
|
function watchTechBarApp() {
|
|
312
302
|
return (0, _regeneratorRuntime2["default"])().wrap(function watchTechBarApp$(_context6) {
|
|
313
|
-
while (1) {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
return _context6.stop();
|
|
333
|
-
}
|
|
303
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
304
|
+
case 0:
|
|
305
|
+
_context6.next = 2;
|
|
306
|
+
return (0, _effects.takeEvery)(_techBarApp.types.FETCH_APP_DATA_REQUEST, fetchAppDataRequestSaga);
|
|
307
|
+
case 2:
|
|
308
|
+
_context6.next = 4;
|
|
309
|
+
return (0, _effects.takeEvery)(_techBarApp.types.FETCH_DISPLAY_TEAM_REQUEST, fetchDisplayTeamRequestSaga);
|
|
310
|
+
case 4:
|
|
311
|
+
_context6.next = 6;
|
|
312
|
+
return (0, _effects.takeEvery)(_techBarApp.types.CREATE_DISPLAY_TEAM_MEMBERSHIP_REQUEST, createDisplayTeamMembershipRequestSaga);
|
|
313
|
+
case 6:
|
|
314
|
+
_context6.next = 8;
|
|
315
|
+
return (0, _effects.takeEvery)(_techBarApp.types.DELETE_DISPLAY_TEAM_MEMBERSHIP_REQUEST, deleteDisplayTeamMembershipRequestSaga);
|
|
316
|
+
case 8:
|
|
317
|
+
_context6.next = 10;
|
|
318
|
+
return (0, _effects.takeEvery)(_techBarApp.types.CREATE_DISPLAY_TEAM_USER_REQUEST, createDisplayTeamUserRequestSaga);
|
|
319
|
+
case 10:
|
|
320
|
+
case "end":
|
|
321
|
+
return _context6.stop();
|
|
334
322
|
}
|
|
335
323
|
}, _marked2);
|
|
336
324
|
}
|