@admin-layout/schedule-module-server 2.0.1-alpha.24 → 2.0.1-alpha.35
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/index.js +200 -240
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
@@ -1,102 +1,43 @@
|
|
1
|
-
|
2
|
-
/******/
|
3
|
-
/******/
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
/******/ __webpack_require__.m = modules;
|
33
|
-
/******/
|
34
|
-
/******/ // expose the module cache
|
35
|
-
/******/ __webpack_require__.c = installedModules;
|
36
|
-
/******/
|
37
|
-
/******/ // define getter function for harmony exports
|
38
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
39
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
40
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
41
|
-
/******/ }
|
42
|
-
/******/ };
|
43
|
-
/******/
|
44
|
-
/******/ // define __esModule on exports
|
45
|
-
/******/ __webpack_require__.r = function(exports) {
|
46
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
47
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
48
|
-
/******/ }
|
49
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
50
|
-
/******/ };
|
51
|
-
/******/
|
52
|
-
/******/ // create a fake namespace object
|
53
|
-
/******/ // mode & 1: value is a module id, require it
|
54
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
55
|
-
/******/ // mode & 4: return value when already ns object
|
56
|
-
/******/ // mode & 8|1: behave like require
|
57
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
58
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
59
|
-
/******/ if(mode & 8) return value;
|
60
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
61
|
-
/******/ var ns = Object.create(null);
|
62
|
-
/******/ __webpack_require__.r(ns);
|
63
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
64
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
65
|
-
/******/ return ns;
|
66
|
-
/******/ };
|
67
|
-
/******/
|
68
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
69
|
-
/******/ __webpack_require__.n = function(module) {
|
70
|
-
/******/ var getter = module && module.__esModule ?
|
71
|
-
/******/ function getDefault() { return module['default']; } :
|
72
|
-
/******/ function getModuleExports() { return module; };
|
73
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
74
|
-
/******/ return getter;
|
75
|
-
/******/ };
|
76
|
-
/******/
|
77
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
78
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
79
|
-
/******/
|
80
|
-
/******/ // __webpack_public_path__
|
81
|
-
/******/ __webpack_require__.p = "";
|
82
|
-
/******/
|
83
|
-
/******/
|
84
|
-
/******/ // Load entry module and return exports
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts");
|
86
|
-
/******/ })
|
87
|
-
/************************************************************************/
|
88
|
-
/******/ ({
|
1
|
+
/******/ (() => { // webpackBootstrap
|
2
|
+
/******/ "use strict";
|
3
|
+
/******/ var __webpack_modules__ = ({
|
4
|
+
|
5
|
+
/***/ "./src/schema/schedule-schema.graphql":
|
6
|
+
/*!********************************************!*\
|
7
|
+
!*** ./src/schema/schedule-schema.graphql ***!
|
8
|
+
\********************************************/
|
9
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
10
|
+
|
11
|
+
__webpack_require__.r(__webpack_exports__);
|
12
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
13
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
14
|
+
/* harmony export */ });
|
15
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("# scalar DateTime\n\ntype Schedule {\n id: String\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\ninput ScheduleCreateRequest {\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\nextend type Query {\n getScheduleEvents(userId: String): [Schedule]\n}\n\nextend type Mutation {\n addScheduleEvent(request: ScheduleCreateRequest): Boolean\n updateScheduleEvent(eventId: String, request: ScheduleCreateRequest): Boolean\n removeScheduleEvent(eventId: String): Boolean\n}\n");
|
16
|
+
|
17
|
+
/***/ }),
|
18
|
+
|
19
|
+
/***/ "./src/schema/timeline-schema.graphql":
|
20
|
+
/*!********************************************!*\
|
21
|
+
!*** ./src/schema/timeline-schema.graphql ***!
|
22
|
+
\********************************************/
|
23
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
24
|
+
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
26
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
27
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
28
|
+
/* harmony export */ });
|
29
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("# scalar DateTime\n\ntype Timeline {\n id: String\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\ninput TimelineCreateRequest {\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\nextend type Query {\n getTimelineEvents(userId: String): [Timeline]\n}\n\nextend type Mutation {\n addTimelineEvent(request: TimelineCreateRequest): Boolean\n updateTimelineEvent(eventId: String, request: TimelineCreateRequest): Boolean\n removeTimelineEvent(eventId: String): Boolean\n}\n");
|
30
|
+
|
31
|
+
/***/ }),
|
89
32
|
|
90
33
|
/***/ "./src/constants/constants.ts":
|
91
34
|
/*!************************************!*\
|
92
35
|
!*** ./src/constants/constants.ts ***!
|
93
36
|
\************************************/
|
94
|
-
|
95
|
-
/***/ (function(module, exports, __webpack_require__) {
|
37
|
+
/***/ ((__unused_webpack_module, exports) => {
|
96
38
|
|
97
|
-
"use strict";
|
98
39
|
|
99
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
40
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
100
41
|
exports.TYPES = void 0;
|
101
42
|
exports.TYPES = {
|
102
43
|
IScheduleService: Symbol('IScheduleService'),
|
@@ -114,14 +55,16 @@ exports.TYPES = {
|
|
114
55
|
/*!********************************!*\
|
115
56
|
!*** ./src/constants/index.ts ***!
|
116
57
|
\********************************/
|
117
|
-
|
118
|
-
/***/ (function(module, exports, __webpack_require__) {
|
58
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
119
59
|
|
120
|
-
"use strict";
|
121
60
|
|
122
61
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
123
62
|
if (k2 === undefined) k2 = k;
|
124
|
-
Object.
|
63
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
64
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
65
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
66
|
+
}
|
67
|
+
Object.defineProperty(o, k2, desc);
|
125
68
|
}) : (function(o, m, k, k2) {
|
126
69
|
if (k2 === undefined) k2 = k;
|
127
70
|
o[k2] = m[k];
|
@@ -129,7 +72,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
129
72
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
130
73
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
131
74
|
};
|
132
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
75
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
133
76
|
__exportStar(__webpack_require__(/*! ./constants */ "./src/constants/constants.ts"), exports);
|
134
77
|
|
135
78
|
|
@@ -139,12 +82,10 @@ __exportStar(__webpack_require__(/*! ./constants */ "./src/constants/constants.t
|
|
139
82
|
/*!**************************************!*\
|
140
83
|
!*** ./src/containers/containers.ts ***!
|
141
84
|
\**************************************/
|
142
|
-
|
143
|
-
/***/ (function(module, exports, __webpack_require__) {
|
85
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
144
86
|
|
145
|
-
"use strict";
|
146
87
|
|
147
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
88
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
148
89
|
exports.timesheetModule = exports.timelineModule = exports.scheduleModule = void 0;
|
149
90
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
150
91
|
const constants_1 = __webpack_require__(/*! ../constants */ "./src/constants/index.ts");
|
@@ -182,14 +123,16 @@ exports.timesheetModule = timesheetModule;
|
|
182
123
|
/*!*********************************!*\
|
183
124
|
!*** ./src/containers/index.ts ***!
|
184
125
|
\*********************************/
|
185
|
-
|
186
|
-
/***/ (function(module, exports, __webpack_require__) {
|
126
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
187
127
|
|
188
|
-
"use strict";
|
189
128
|
|
190
129
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
191
130
|
if (k2 === undefined) k2 = k;
|
192
|
-
Object.
|
131
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
132
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
133
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
134
|
+
}
|
135
|
+
Object.defineProperty(o, k2, desc);
|
193
136
|
}) : (function(o, m, k, k2) {
|
194
137
|
if (k2 === undefined) k2 = k;
|
195
138
|
o[k2] = m[k];
|
@@ -197,7 +140,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
197
140
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
198
141
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
199
142
|
};
|
200
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
143
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
201
144
|
__exportStar(__webpack_require__(/*! ./containers */ "./src/containers/containers.ts"), exports);
|
202
145
|
|
203
146
|
|
@@ -207,14 +150,16 @@ __exportStar(__webpack_require__(/*! ./containers */ "./src/containers/container
|
|
207
150
|
/*!**********************!*\
|
208
151
|
!*** ./src/index.ts ***!
|
209
152
|
\**********************/
|
210
|
-
|
211
|
-
/***/ (function(module, exports, __webpack_require__) {
|
153
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
212
154
|
|
213
|
-
"use strict";
|
214
155
|
|
215
156
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
216
157
|
if (k2 === undefined) k2 = k;
|
217
|
-
Object.
|
158
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
159
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
160
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
161
|
+
}
|
162
|
+
Object.defineProperty(o, k2, desc);
|
218
163
|
}) : (function(o, m, k, k2) {
|
219
164
|
if (k2 === undefined) k2 = k;
|
220
165
|
o[k2] = m[k];
|
@@ -222,12 +167,12 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
222
167
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
223
168
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
224
169
|
};
|
225
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
170
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
226
171
|
/* eslint-disable import/no-extraneous-dependencies */
|
227
172
|
const server_core_1 = __webpack_require__(/*! @common-stack/server-core */ "@common-stack/server-core");
|
228
173
|
const module_1 = __webpack_require__(/*! ./module */ "./src/module.ts");
|
229
174
|
__exportStar(__webpack_require__(/*! ./constants */ "./src/constants/index.ts"), exports);
|
230
|
-
exports
|
175
|
+
exports["default"] = new server_core_1.Feature(module_1.default);
|
231
176
|
|
232
177
|
|
233
178
|
/***/ }),
|
@@ -236,12 +181,10 @@ exports.default = new server_core_1.Feature(module_1.default);
|
|
236
181
|
/*!***********************!*\
|
237
182
|
!*** ./src/module.ts ***!
|
238
183
|
\***********************/
|
239
|
-
|
240
|
-
/***/ (function(module, exports, __webpack_require__) {
|
184
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
241
185
|
|
242
|
-
"use strict";
|
243
186
|
|
244
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
187
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
245
188
|
/* eslint-disable import/no-extraneous-dependencies */
|
246
189
|
const server_core_1 = __webpack_require__(/*! @common-stack/server-core */ "@common-stack/server-core");
|
247
190
|
const schema_1 = __webpack_require__(/*! ./schema */ "./src/schema/index.ts");
|
@@ -256,7 +199,7 @@ const createServiceFunc = (container) => ({
|
|
256
199
|
timelineService: container.get(constants_1.TYPES.ITimelineService),
|
257
200
|
timesheetService: container.get(constants_1.TYPES.ITimesheetService),
|
258
201
|
});
|
259
|
-
exports
|
202
|
+
exports["default"] = new server_core_1.Feature({
|
260
203
|
schema: schema_1.schema,
|
261
204
|
createContainerFunc: [containers_1.scheduleModule, containers_1.timelineModule, containers_1.timesheetModule],
|
262
205
|
createResolversFunc: resolvers_1.resolvers,
|
@@ -273,12 +216,10 @@ exports.default = new server_core_1.Feature({
|
|
273
216
|
/*!********************************!*\
|
274
217
|
!*** ./src/resolvers/index.ts ***!
|
275
218
|
\********************************/
|
276
|
-
|
277
|
-
/***/ (function(module, exports, __webpack_require__) {
|
219
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
278
220
|
|
279
|
-
"use strict";
|
280
221
|
|
281
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
222
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
282
223
|
exports.resolvers = void 0;
|
283
224
|
const schedule_resolver_1 = __webpack_require__(/*! ./schedule-resolver */ "./src/resolvers/schedule-resolver.ts");
|
284
225
|
// import { resolver as timelineResolver } from './timeline-resolver'
|
@@ -291,12 +232,10 @@ exports.resolvers = [schedule_resolver_1.resolver];
|
|
291
232
|
/*!********************************************!*\
|
292
233
|
!*** ./src/resolvers/schedule-resolver.ts ***!
|
293
234
|
\********************************************/
|
294
|
-
|
295
|
-
/***/ (function(module, exports, __webpack_require__) {
|
235
|
+
/***/ ((__unused_webpack_module, exports) => {
|
296
236
|
|
297
|
-
"use strict";
|
298
237
|
|
299
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
238
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
300
239
|
exports.resolver = void 0;
|
301
240
|
// TODO:
|
302
241
|
const resolver = (options) => ({
|
@@ -331,12 +270,10 @@ exports.resolver = resolver;
|
|
331
270
|
/*!*****************************!*\
|
332
271
|
!*** ./src/schema/index.ts ***!
|
333
272
|
\*****************************/
|
334
|
-
|
335
|
-
/***/ (function(module, exports, __webpack_require__) {
|
273
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
336
274
|
|
337
|
-
"use strict";
|
338
275
|
|
339
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
276
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
340
277
|
exports.schema = void 0;
|
341
278
|
const schedule_schema_graphql_1 = __webpack_require__(/*! ./schedule-schema.graphql */ "./src/schema/schedule-schema.graphql");
|
342
279
|
const timeline_schema_graphql_1 = __webpack_require__(/*! ./timeline-schema.graphql */ "./src/schema/timeline-schema.graphql");
|
@@ -344,46 +281,22 @@ const schema = [schedule_schema_graphql_1.default, timeline_schema_graphql_1.def
|
|
344
281
|
exports.schema = schema;
|
345
282
|
|
346
283
|
|
347
|
-
/***/ }),
|
348
|
-
|
349
|
-
/***/ "./src/schema/schedule-schema.graphql":
|
350
|
-
/*!********************************************!*\
|
351
|
-
!*** ./src/schema/schedule-schema.graphql ***!
|
352
|
-
\********************************************/
|
353
|
-
/*! exports provided: default */
|
354
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
355
|
-
|
356
|
-
"use strict";
|
357
|
-
__webpack_require__.r(__webpack_exports__);
|
358
|
-
/* harmony default export */ __webpack_exports__["default"] = ("# scalar DateTime\n\ntype Schedule {\n id: String\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\ninput ScheduleCreateRequest {\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\nextend type Query {\n getScheduleEvents(userId: String): [Schedule]\n}\n\nextend type Mutation {\n addScheduleEvent(request: ScheduleCreateRequest): Boolean\n updateScheduleEvent(eventId: String, request: ScheduleCreateRequest): Boolean\n removeScheduleEvent(eventId: String): Boolean\n}\n");
|
359
|
-
|
360
|
-
/***/ }),
|
361
|
-
|
362
|
-
/***/ "./src/schema/timeline-schema.graphql":
|
363
|
-
/*!********************************************!*\
|
364
|
-
!*** ./src/schema/timeline-schema.graphql ***!
|
365
|
-
\********************************************/
|
366
|
-
/*! exports provided: default */
|
367
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
368
|
-
|
369
|
-
"use strict";
|
370
|
-
__webpack_require__.r(__webpack_exports__);
|
371
|
-
/* harmony default export */ __webpack_exports__["default"] = ("# scalar DateTime\n\ntype Timeline {\n id: String\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\ninput TimelineCreateRequest {\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\nextend type Query {\n getTimelineEvents(userId: String): [Timeline]\n}\n\nextend type Mutation {\n addTimelineEvent(request: TimelineCreateRequest): Boolean\n updateTimelineEvent(eventId: String, request: TimelineCreateRequest): Boolean\n removeTimelineEvent(eventId: String): Boolean\n}\n");
|
372
|
-
|
373
284
|
/***/ }),
|
374
285
|
|
375
286
|
/***/ "./src/services/index.ts":
|
376
287
|
/*!*******************************!*\
|
377
288
|
!*** ./src/services/index.ts ***!
|
378
289
|
\*******************************/
|
379
|
-
|
380
|
-
/***/ (function(module, exports, __webpack_require__) {
|
290
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
381
291
|
|
382
|
-
"use strict";
|
383
292
|
|
384
293
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
385
294
|
if (k2 === undefined) k2 = k;
|
386
|
-
Object.
|
295
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
296
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
297
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
298
|
+
}
|
299
|
+
Object.defineProperty(o, k2, desc);
|
387
300
|
}) : (function(o, m, k, k2) {
|
388
301
|
if (k2 === undefined) k2 = k;
|
389
302
|
o[k2] = m[k];
|
@@ -391,7 +304,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
391
304
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
392
305
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
393
306
|
};
|
394
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
307
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
395
308
|
__exportStar(__webpack_require__(/*! ./schedule-service */ "./src/services/schedule-service.ts"), exports);
|
396
309
|
__exportStar(__webpack_require__(/*! ./timesheet-service */ "./src/services/timesheet-service.ts"), exports);
|
397
310
|
__exportStar(__webpack_require__(/*! ./timeline-service */ "./src/services/timeline-service.ts"), exports);
|
@@ -403,10 +316,8 @@ __exportStar(__webpack_require__(/*! ./timeline-service */ "./src/services/timel
|
|
403
316
|
/*!******************************************!*\
|
404
317
|
!*** ./src/services/schedule-service.ts ***!
|
405
318
|
\******************************************/
|
406
|
-
|
407
|
-
/***/ (function(module, exports, __webpack_require__) {
|
319
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
408
320
|
|
409
|
-
"use strict";
|
410
321
|
|
411
322
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
412
323
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -417,7 +328,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
417
328
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
418
329
|
return function (target, key) { decorator(target, key, paramIndex); }
|
419
330
|
};
|
420
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
331
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
421
332
|
exports.ScheduleService = void 0;
|
422
333
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
423
334
|
const constants_1 = __webpack_require__(/*! ../constants */ "./src/constants/index.ts");
|
@@ -440,9 +351,9 @@ let ScheduleService = class ScheduleService {
|
|
440
351
|
}
|
441
352
|
};
|
442
353
|
ScheduleService = __decorate([
|
443
|
-
inversify_1.injectable(),
|
444
|
-
__param(0, inversify_1.inject(constants_1.TYPES.IScheduleRepository)),
|
445
|
-
__param(1, inversify_1.inject('Logger'))
|
354
|
+
(0, inversify_1.injectable)(),
|
355
|
+
__param(0, (0, inversify_1.inject)(constants_1.TYPES.IScheduleRepository)),
|
356
|
+
__param(1, (0, inversify_1.inject)('Logger'))
|
446
357
|
], ScheduleService);
|
447
358
|
exports.ScheduleService = ScheduleService;
|
448
359
|
|
@@ -453,10 +364,8 @@ exports.ScheduleService = ScheduleService;
|
|
453
364
|
/*!******************************************!*\
|
454
365
|
!*** ./src/services/timeline-service.ts ***!
|
455
366
|
\******************************************/
|
456
|
-
|
457
|
-
/***/ (function(module, exports, __webpack_require__) {
|
367
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
458
368
|
|
459
|
-
"use strict";
|
460
369
|
|
461
370
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
462
371
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -467,7 +376,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
467
376
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
468
377
|
return function (target, key) { decorator(target, key, paramIndex); }
|
469
378
|
};
|
470
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
379
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
471
380
|
exports.TimelineService = void 0;
|
472
381
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
473
382
|
const constants_1 = __webpack_require__(/*! ../constants */ "./src/constants/index.ts");
|
@@ -490,9 +399,9 @@ let TimelineService = class TimelineService {
|
|
490
399
|
}
|
491
400
|
};
|
492
401
|
TimelineService = __decorate([
|
493
|
-
inversify_1.injectable(),
|
494
|
-
__param(0, inversify_1.inject(constants_1.TYPES.ITimelineRepository)),
|
495
|
-
__param(1, inversify_1.inject('Logger'))
|
402
|
+
(0, inversify_1.injectable)(),
|
403
|
+
__param(0, (0, inversify_1.inject)(constants_1.TYPES.ITimelineRepository)),
|
404
|
+
__param(1, (0, inversify_1.inject)('Logger'))
|
496
405
|
], TimelineService);
|
497
406
|
exports.TimelineService = TimelineService;
|
498
407
|
|
@@ -503,10 +412,8 @@ exports.TimelineService = TimelineService;
|
|
503
412
|
/*!*******************************************!*\
|
504
413
|
!*** ./src/services/timesheet-service.ts ***!
|
505
414
|
\*******************************************/
|
506
|
-
|
507
|
-
/***/ (function(module, exports, __webpack_require__) {
|
415
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
508
416
|
|
509
|
-
"use strict";
|
510
417
|
|
511
418
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
512
419
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -517,7 +424,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
517
424
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
518
425
|
return function (target, key) { decorator(target, key, paramIndex); }
|
519
426
|
};
|
520
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
427
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
521
428
|
exports.TimesheetService = void 0;
|
522
429
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
523
430
|
const constants_1 = __webpack_require__(/*! ../constants */ "./src/constants/index.ts");
|
@@ -540,9 +447,9 @@ let TimesheetService = class TimesheetService {
|
|
540
447
|
}
|
541
448
|
};
|
542
449
|
TimesheetService = __decorate([
|
543
|
-
inversify_1.injectable(),
|
544
|
-
__param(0, inversify_1.inject(constants_1.TYPES.ITimesheetRepository)),
|
545
|
-
__param(1, inversify_1.inject('Logger'))
|
450
|
+
(0, inversify_1.injectable)(),
|
451
|
+
__param(0, (0, inversify_1.inject)(constants_1.TYPES.ITimesheetRepository)),
|
452
|
+
__param(1, (0, inversify_1.inject)('Logger'))
|
546
453
|
], TimesheetService);
|
547
454
|
exports.TimesheetService = TimesheetService;
|
548
455
|
|
@@ -553,14 +460,16 @@ exports.TimesheetService = TimesheetService;
|
|
553
460
|
/*!***********************************!*\
|
554
461
|
!*** ./src/store/models/index.ts ***!
|
555
462
|
\***********************************/
|
556
|
-
|
557
|
-
/***/ (function(module, exports, __webpack_require__) {
|
463
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
558
464
|
|
559
|
-
"use strict";
|
560
465
|
|
561
466
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
562
467
|
if (k2 === undefined) k2 = k;
|
563
|
-
Object.
|
468
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
469
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
470
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
471
|
+
}
|
472
|
+
Object.defineProperty(o, k2, desc);
|
564
473
|
}) : (function(o, m, k, k2) {
|
565
474
|
if (k2 === undefined) k2 = k;
|
566
475
|
o[k2] = m[k];
|
@@ -568,7 +477,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
568
477
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
569
478
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
570
479
|
};
|
571
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
480
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
572
481
|
__exportStar(__webpack_require__(/*! ./schedule-model */ "./src/store/models/schedule-model.ts"), exports);
|
573
482
|
__exportStar(__webpack_require__(/*! ./timeline-model */ "./src/store/models/timeline-model.ts"), exports);
|
574
483
|
__exportStar(__webpack_require__(/*! ./timesheet-model */ "./src/store/models/timesheet-model.ts"), exports);
|
@@ -580,12 +489,10 @@ __exportStar(__webpack_require__(/*! ./timesheet-model */ "./src/store/models/ti
|
|
580
489
|
/*!********************************************!*\
|
581
490
|
!*** ./src/store/models/schedule-model.ts ***!
|
582
491
|
\********************************************/
|
583
|
-
|
584
|
-
/***/ (function(module, exports, __webpack_require__) {
|
492
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
585
493
|
|
586
|
-
"use strict";
|
587
494
|
|
588
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
495
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
589
496
|
exports.ScheduleModelFunc = void 0;
|
590
497
|
/* eslint-disable no-underscore-dangle */
|
591
498
|
/* eslint-disable import/no-extraneous-dependencies */
|
@@ -637,12 +544,10 @@ exports.ScheduleModelFunc = ScheduleModelFunc;
|
|
637
544
|
/*!********************************************!*\
|
638
545
|
!*** ./src/store/models/timeline-model.ts ***!
|
639
546
|
\********************************************/
|
640
|
-
|
641
|
-
/***/ (function(module, exports, __webpack_require__) {
|
547
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
642
548
|
|
643
|
-
"use strict";
|
644
549
|
|
645
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
550
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
646
551
|
exports.TimelineModelFunc = void 0;
|
647
552
|
/* eslint-disable no-underscore-dangle */
|
648
553
|
/* eslint-disable import/no-extraneous-dependencies */
|
@@ -694,12 +599,10 @@ exports.TimelineModelFunc = TimelineModelFunc;
|
|
694
599
|
/*!*********************************************!*\
|
695
600
|
!*** ./src/store/models/timesheet-model.ts ***!
|
696
601
|
\*********************************************/
|
697
|
-
|
698
|
-
/***/ (function(module, exports, __webpack_require__) {
|
602
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
699
603
|
|
700
|
-
"use strict";
|
701
604
|
|
702
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
605
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
703
606
|
exports.TimesheetModelFunc = void 0;
|
704
607
|
/* eslint-disable no-underscore-dangle */
|
705
608
|
/* eslint-disable import/no-extraneous-dependencies */
|
@@ -753,14 +656,16 @@ exports.TimesheetModelFunc = TimesheetModelFunc;
|
|
753
656
|
/*!***************************************!*\
|
754
657
|
!*** ./src/store/repository/index.ts ***!
|
755
658
|
\***************************************/
|
756
|
-
|
757
|
-
/***/ (function(module, exports, __webpack_require__) {
|
659
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
758
660
|
|
759
|
-
"use strict";
|
760
661
|
|
761
662
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
762
663
|
if (k2 === undefined) k2 = k;
|
763
|
-
Object.
|
664
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
665
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
666
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
667
|
+
}
|
668
|
+
Object.defineProperty(o, k2, desc);
|
764
669
|
}) : (function(o, m, k, k2) {
|
765
670
|
if (k2 === undefined) k2 = k;
|
766
671
|
o[k2] = m[k];
|
@@ -768,7 +673,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
768
673
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
769
674
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
770
675
|
};
|
771
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
676
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
772
677
|
__exportStar(__webpack_require__(/*! ./schedule-repository */ "./src/store/repository/schedule-repository.ts"), exports);
|
773
678
|
__exportStar(__webpack_require__(/*! ./timeline-repository */ "./src/store/repository/timeline-repository.ts"), exports);
|
774
679
|
__exportStar(__webpack_require__(/*! ./timesheet-repository */ "./src/store/repository/timesheet-repository.ts"), exports);
|
@@ -780,10 +685,8 @@ __exportStar(__webpack_require__(/*! ./timesheet-repository */ "./src/store/repo
|
|
780
685
|
/*!*****************************************************!*\
|
781
686
|
!*** ./src/store/repository/schedule-repository.ts ***!
|
782
687
|
\*****************************************************/
|
783
|
-
|
784
|
-
/***/ (function(module, exports, __webpack_require__) {
|
688
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
785
689
|
|
786
|
-
"use strict";
|
787
690
|
|
788
691
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
789
692
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -794,14 +697,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
794
697
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
795
698
|
return function (target, key) { decorator(target, key, paramIndex); }
|
796
699
|
};
|
797
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
700
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
798
701
|
exports.ScheduleRepository = void 0;
|
799
702
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
800
703
|
const schedule_model_1 = __webpack_require__(/*! ../models/schedule-model */ "./src/store/models/schedule-model.ts");
|
801
704
|
let ScheduleRepository = class ScheduleRepository {
|
802
705
|
constructor(db, logger, options) {
|
803
706
|
this.logger = logger.child({ className: 'ScheduleRepository' });
|
804
|
-
this.scheduleModel = schedule_model_1.ScheduleModelFunc(db);
|
707
|
+
this.scheduleModel = (0, schedule_model_1.ScheduleModelFunc)(db);
|
805
708
|
}
|
806
709
|
async getScheduleEvents(userId) {
|
807
710
|
if (userId === undefined)
|
@@ -837,11 +740,11 @@ let ScheduleRepository = class ScheduleRepository {
|
|
837
740
|
}
|
838
741
|
};
|
839
742
|
ScheduleRepository = __decorate([
|
840
|
-
inversify_1.injectable(),
|
841
|
-
__param(0, inversify_1.inject('MongoDBConnection')),
|
842
|
-
__param(1, inversify_1.inject('Logger')),
|
843
|
-
__param(2, inversify_1.inject('MongoOptions')),
|
844
|
-
__param(2, inversify_1.optional())
|
743
|
+
(0, inversify_1.injectable)(),
|
744
|
+
__param(0, (0, inversify_1.inject)('MongoDBConnection')),
|
745
|
+
__param(1, (0, inversify_1.inject)('Logger')),
|
746
|
+
__param(2, (0, inversify_1.inject)('MongoOptions')),
|
747
|
+
__param(2, (0, inversify_1.optional)())
|
845
748
|
], ScheduleRepository);
|
846
749
|
exports.ScheduleRepository = ScheduleRepository;
|
847
750
|
|
@@ -852,10 +755,8 @@ exports.ScheduleRepository = ScheduleRepository;
|
|
852
755
|
/*!*****************************************************!*\
|
853
756
|
!*** ./src/store/repository/timeline-repository.ts ***!
|
854
757
|
\*****************************************************/
|
855
|
-
|
856
|
-
/***/ (function(module, exports, __webpack_require__) {
|
758
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
857
759
|
|
858
|
-
"use strict";
|
859
760
|
|
860
761
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
861
762
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -866,14 +767,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
866
767
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
867
768
|
return function (target, key) { decorator(target, key, paramIndex); }
|
868
769
|
};
|
869
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
770
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
870
771
|
exports.TimelineRepository = void 0;
|
871
772
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
872
773
|
const models_1 = __webpack_require__(/*! ../models */ "./src/store/models/index.ts");
|
873
774
|
let TimelineRepository = class TimelineRepository {
|
874
775
|
constructor(db, logger, options) {
|
875
776
|
this.logger = logger.child({ className: 'TimelineRepository' });
|
876
|
-
this.timelineModel = models_1.TimelineModelFunc(db);
|
777
|
+
this.timelineModel = (0, models_1.TimelineModelFunc)(db);
|
877
778
|
}
|
878
779
|
async getTimelineEvents(userId) {
|
879
780
|
if (userId === undefined)
|
@@ -909,11 +810,11 @@ let TimelineRepository = class TimelineRepository {
|
|
909
810
|
}
|
910
811
|
};
|
911
812
|
TimelineRepository = __decorate([
|
912
|
-
inversify_1.injectable(),
|
913
|
-
__param(0, inversify_1.inject('MongoDBConnection')),
|
914
|
-
__param(1, inversify_1.inject('Logger')),
|
915
|
-
__param(2, inversify_1.inject('MongoOptions')),
|
916
|
-
__param(2, inversify_1.optional())
|
813
|
+
(0, inversify_1.injectable)(),
|
814
|
+
__param(0, (0, inversify_1.inject)('MongoDBConnection')),
|
815
|
+
__param(1, (0, inversify_1.inject)('Logger')),
|
816
|
+
__param(2, (0, inversify_1.inject)('MongoOptions')),
|
817
|
+
__param(2, (0, inversify_1.optional)())
|
917
818
|
], TimelineRepository);
|
918
819
|
exports.TimelineRepository = TimelineRepository;
|
919
820
|
|
@@ -924,10 +825,8 @@ exports.TimelineRepository = TimelineRepository;
|
|
924
825
|
/*!******************************************************!*\
|
925
826
|
!*** ./src/store/repository/timesheet-repository.ts ***!
|
926
827
|
\******************************************************/
|
927
|
-
|
928
|
-
/***/ (function(module, exports, __webpack_require__) {
|
828
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
929
829
|
|
930
|
-
"use strict";
|
931
830
|
|
932
831
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
933
832
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
@@ -938,14 +837,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
938
837
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
939
838
|
return function (target, key) { decorator(target, key, paramIndex); }
|
940
839
|
};
|
941
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
840
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
942
841
|
exports.TimesheetRepository = void 0;
|
943
842
|
const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
|
944
843
|
const models_1 = __webpack_require__(/*! ../models */ "./src/store/models/index.ts");
|
945
844
|
let TimesheetRepository = class TimesheetRepository {
|
946
845
|
constructor(db, logger, options) {
|
947
846
|
this.logger = logger.child({ className: 'TimesheetRepository' });
|
948
|
-
this.timesheetModel = models_1.TimesheetModelFunc(db);
|
847
|
+
this.timesheetModel = (0, models_1.TimesheetModelFunc)(db);
|
949
848
|
}
|
950
849
|
async getTimesheetEvents(userId) {
|
951
850
|
if (userId === undefined)
|
@@ -981,11 +880,11 @@ let TimesheetRepository = class TimesheetRepository {
|
|
981
880
|
}
|
982
881
|
};
|
983
882
|
TimesheetRepository = __decorate([
|
984
|
-
inversify_1.injectable(),
|
985
|
-
__param(0, inversify_1.inject('MongoDBConnection')),
|
986
|
-
__param(1, inversify_1.inject('Logger')),
|
987
|
-
__param(2, inversify_1.inject('MongoOptions')),
|
988
|
-
__param(2, inversify_1.optional())
|
883
|
+
(0, inversify_1.injectable)(),
|
884
|
+
__param(0, (0, inversify_1.inject)('MongoDBConnection')),
|
885
|
+
__param(1, (0, inversify_1.inject)('Logger')),
|
886
|
+
__param(2, (0, inversify_1.inject)('MongoOptions')),
|
887
|
+
__param(2, (0, inversify_1.optional)())
|
989
888
|
], TimesheetRepository);
|
990
889
|
exports.TimesheetRepository = TimesheetRepository;
|
991
890
|
|
@@ -996,8 +895,7 @@ exports.TimesheetRepository = TimesheetRepository;
|
|
996
895
|
/*!********************************************!*\
|
997
896
|
!*** external "@common-stack/server-core" ***!
|
998
897
|
\********************************************/
|
999
|
-
|
1000
|
-
/***/ (function(module, exports) {
|
898
|
+
/***/ ((module) => {
|
1001
899
|
|
1002
900
|
module.exports = require("@common-stack/server-core");
|
1003
901
|
|
@@ -1007,8 +905,7 @@ module.exports = require("@common-stack/server-core");
|
|
1007
905
|
/*!****************************!*\
|
1008
906
|
!*** external "inversify" ***!
|
1009
907
|
\****************************/
|
1010
|
-
|
1011
|
-
/***/ (function(module, exports) {
|
908
|
+
/***/ ((module) => {
|
1012
909
|
|
1013
910
|
module.exports = require("inversify");
|
1014
911
|
|
@@ -1018,12 +915,75 @@ module.exports = require("inversify");
|
|
1018
915
|
/*!***************************!*\
|
1019
916
|
!*** external "mongoose" ***!
|
1020
917
|
\***************************/
|
1021
|
-
|
1022
|
-
/***/ (function(module, exports) {
|
918
|
+
/***/ ((module) => {
|
1023
919
|
|
1024
920
|
module.exports = require("mongoose");
|
1025
921
|
|
1026
922
|
/***/ })
|
1027
923
|
|
1028
|
-
/******/
|
924
|
+
/******/ });
|
925
|
+
/************************************************************************/
|
926
|
+
/******/ // The module cache
|
927
|
+
/******/ var __webpack_module_cache__ = {};
|
928
|
+
/******/
|
929
|
+
/******/ // The require function
|
930
|
+
/******/ function __webpack_require__(moduleId) {
|
931
|
+
/******/ // Check if module is in cache
|
932
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
933
|
+
/******/ if (cachedModule !== undefined) {
|
934
|
+
/******/ return cachedModule.exports;
|
935
|
+
/******/ }
|
936
|
+
/******/ // Create a new module (and put it into the cache)
|
937
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
938
|
+
/******/ // no module.id needed
|
939
|
+
/******/ // no module.loaded needed
|
940
|
+
/******/ exports: {}
|
941
|
+
/******/ };
|
942
|
+
/******/
|
943
|
+
/******/ // Execute the module function
|
944
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
945
|
+
/******/
|
946
|
+
/******/ // Return the exports of the module
|
947
|
+
/******/ return module.exports;
|
948
|
+
/******/ }
|
949
|
+
/******/
|
950
|
+
/************************************************************************/
|
951
|
+
/******/ /* webpack/runtime/define property getters */
|
952
|
+
/******/ (() => {
|
953
|
+
/******/ // define getter functions for harmony exports
|
954
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
955
|
+
/******/ for(var key in definition) {
|
956
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
957
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
958
|
+
/******/ }
|
959
|
+
/******/ }
|
960
|
+
/******/ };
|
961
|
+
/******/ })();
|
962
|
+
/******/
|
963
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
964
|
+
/******/ (() => {
|
965
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
966
|
+
/******/ })();
|
967
|
+
/******/
|
968
|
+
/******/ /* webpack/runtime/make namespace object */
|
969
|
+
/******/ (() => {
|
970
|
+
/******/ // define __esModule on exports
|
971
|
+
/******/ __webpack_require__.r = (exports) => {
|
972
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
973
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
974
|
+
/******/ }
|
975
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
976
|
+
/******/ };
|
977
|
+
/******/ })();
|
978
|
+
/******/
|
979
|
+
/************************************************************************/
|
980
|
+
/******/
|
981
|
+
/******/ // startup
|
982
|
+
/******/ // Load entry module and return exports
|
983
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
984
|
+
/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
|
985
|
+
/******/ module.exports = __webpack_exports__;
|
986
|
+
/******/
|
987
|
+
/******/ })()
|
988
|
+
;
|
1029
989
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/constants/constants.ts","webpack:///./src/constants/index.ts","webpack:///./src/containers/containers.ts","webpack:///./src/containers/index.ts","webpack:///./src/index.ts","webpack:///./src/module.ts","webpack:///./src/resolvers/index.ts","webpack:///./src/resolvers/schedule-resolver.ts","webpack:///./src/schema/index.ts","webpack:///./src/schema/schedule-schema.graphql","webpack:///./src/schema/timeline-schema.graphql","webpack:///./src/services/index.ts","webpack:///./src/services/schedule-service.ts","webpack:///./src/services/timeline-service.ts","webpack:///./src/services/timesheet-service.ts","webpack:///./src/store/models/index.ts","webpack:///./src/store/models/schedule-model.ts","webpack:///./src/store/models/timeline-model.ts","webpack:///./src/store/models/timesheet-model.ts","webpack:///./src/store/repository/index.ts","webpack:///./src/store/repository/schedule-repository.ts","webpack:///./src/store/repository/timeline-repository.ts","webpack:///./src/store/repository/timesheet-repository.ts","webpack:///external \"@common-stack/server-core\"","webpack:///external \"inversify\"","webpack:///external \"mongoose\""],"names":[],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;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AAc,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC;YACnD,OAAO,IAAI,CAAC;SACf;QAAC,OAAO,CAAC,EAAE;YACR,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;SAC9B;IACL,CAAC;CACJ;AAnDY,mBAAmB;IAD/B,sBAAU,EAAE;IAOJ,6BAAM,CAAC,mBAAmB,CAAC;IAG3B,6BAAM,CAAC,QAAQ,CAAC;IAGhB,6BAAM,CAAC,cAAc,CAAC;IACtB,+BAAQ,EAAE;GAbN,mBAAmB,CAmD/B;AAnDY,kDAAmB;;;;;;;;;;;;ACVhC,sD;;;;;;;;;;;ACAA,sC;;;;;;;;;;;ACAA,qC","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/index.ts\");\n","export const TYPES = {\n IScheduleService: Symbol('IScheduleService'),\n ITimelineService: Symbol('ITimelineService'),\n ITimesheetService: Symbol('ITimesheetService'),\n IScheduleRepository: Symbol('IScheduleRepository'),\n ITimelineRepository: Symbol('ITimelineRepository'),\n ITimesheetRepository: Symbol('ITimesheetRepository'),\n};\n","export * from './constants';\n","import { ContainerModule, interfaces } from 'inversify';\nimport { TYPES } from '../constants';\nimport {\n IScheduleRepository,\n ITimelineRepository,\n ITimesheetRepository,\n IScheduleService,\n ITimelineService,\n ITimesheetService,\n} from '../interfaces';\nimport { ScheduleService, TimelineService, TimesheetService } from '../services';\nimport { ScheduleRepository, TimelineRepository, TimesheetRepository } from '../store/repository';\n\nexport const scheduleModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<IScheduleRepository>(TYPES.IScheduleRepository)\n .to(ScheduleRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<IScheduleService>(TYPES.IScheduleService).to(ScheduleService).inSingletonScope().whenTargetIsDefault();\n });\n\nexport const timelineModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<ITimelineRepository>(TYPES.ITimelineRepository)\n .to(TimelineRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<ITimelineService>(TYPES.ITimelineService).to(TimelineService).inSingletonScope().whenTargetIsDefault();\n });\n\nexport const timesheetModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<ITimesheetRepository>(TYPES.ITimesheetRepository)\n .to(TimesheetRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<ITimesheetService>(TYPES.ITimesheetService).to(TimesheetService).inSingletonScope().whenTargetIsDefault();\n });\n","export * from './containers';\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/server-core';\nimport counter from './module';\n\nexport * from './constants';\n\nexport default new Feature(counter);\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/server-core';\nimport { interfaces } from 'inversify';\nimport { schema } from './schema';\nimport { resolvers } from './resolvers';\nimport { scheduleModule, timelineModule, timesheetModule } from './containers';\nimport { TYPES } from './constants';\n\nconst dataSources: (container: interfaces.Container) => any = () => ({\n // counterCache: new CounterDataSource(),\n});\n\nconst createServiceFunc = (container: interfaces.Container) => ({\n scheduleService: container.get(TYPES.IScheduleService),\n timelineService: container.get(TYPES.ITimelineService),\n timesheetService: container.get(TYPES.ITimesheetService),\n});\n\nexport default new Feature({\n schema,\n createContainerFunc: [scheduleModule, timelineModule, timesheetModule],\n createResolversFunc: resolvers,\n createServiceFunc,\n // createContextFunc: () => ({ counterMock: counterMock }), // note anything set here should be singleton.\n createDataSourceFunc: dataSources,\n addBrokerMainServiceClass: [],\n});\n","import { resolver as scheduleResolver } from './schedule-resolver';\n// import { resolver as timelineResolver } from './timeline-resolver'\n\nexport const resolvers = [scheduleResolver];\n","// TODO:\nexport const resolver = (options) => ({\n Query: {\n getScheduleEvents: (root, args, { scheduleService }) => {\n options.logger.trace('(Query.getScheduleEvents) args %j', args);\n return scheduleService.getScheduleEvents(args.userId);\n },\n },\n Mutation: {\n addScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.addScheduleEvent) args %j', args);\n return scheduleService.createScheduleEvent(args.request);\n },\n updateScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.updateScheduleEvent) args %j', args);\n return scheduleService.updateScheduleEvent(args.eventId, args.request);\n },\n removeScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.removeScheduleEvent) args %j', args);\n return scheduleService.removeScheduleEvent(args.eventId);\n },\n },\n Subscription: {},\n});\n","/* eslint-disable import/no-extraneous-dependencies */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport * as _ from 'lodash';\nimport scheduleSchema from './schedule-schema.graphql';\nimport timelineSchema from './timeline-schema.graphql';\n\nconst schema = [scheduleSchema, timelineSchema].join('\\n');\n\nexport { schema };\n","export default \"# scalar DateTime\\n\\ntype Schedule {\\n id: String\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\ninput ScheduleCreateRequest {\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\nextend type Query {\\n getScheduleEvents(userId: String): [Schedule]\\n}\\n\\nextend type Mutation {\\n addScheduleEvent(request: ScheduleCreateRequest): Boolean\\n updateScheduleEvent(eventId: String, request: ScheduleCreateRequest): Boolean\\n removeScheduleEvent(eventId: String): Boolean\\n}\\n\";","export default \"# scalar DateTime\\n\\ntype Timeline {\\n id: String\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\ninput TimelineCreateRequest {\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\nextend type Query {\\n getTimelineEvents(userId: String): [Timeline]\\n}\\n\\nextend type Mutation {\\n addTimelineEvent(request: TimelineCreateRequest): Boolean\\n updateTimelineEvent(eventId: String, request: TimelineCreateRequest): Boolean\\n removeTimelineEvent(eventId: String): Boolean\\n}\\n\";","export * from './schedule-service';\nexport * from './timesheet-service';\nexport * from './timeline-service';\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { CdmLogger } from '@cdm-logger/core';\n\nimport { inject, injectable } from 'inversify';\nimport { ISchedule, IScheduleCreateRequest } from '@admin-layout/schedule-module-core';\nimport { IScheduleService, IScheduleRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\ntype ILogger = CdmLogger.ILogger;\n@injectable()\nexport class ScheduleService implements IScheduleService {\n private logger: ILogger;\n\n constructor(\n @inject(TYPES.IScheduleRepository)\n protected scheduleRepository: IScheduleRepository,\n\n @inject('Logger')\n logger: ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getScheduleEvents(userId: string): Promise<Array<ISchedule>> {\n return this.scheduleRepository.getScheduleEvents(userId);\n }\n\n public async createScheduleEvent(newEvent: IScheduleCreateRequest): Promise<boolean> {\n return this.scheduleRepository.createScheduleEvent(newEvent);\n }\n\n public async updateScheduleEvent(eventId: string, newEvent: ISchedule): Promise<boolean> {\n return this.scheduleRepository.updateScheduleEvent(eventId, newEvent);\n }\n\n public async removeScheduleEvent(eventId: string): Promise<boolean> {\n return this.scheduleRepository.removeScheduleEvent(eventId);\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { CdmLogger } from '@cdm-logger/core';\n\nimport { inject, injectable } from 'inversify';\nimport { ITimeline, ITimelineCreateRequest } from '@admin-layout/schedule-module-core';\nimport { ITimelineService, ITimelineRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\n@injectable()\nexport class TimelineService implements ITimelineService {\n private logger: CdmLogger.ILogger;\n\n constructor(\n @inject(TYPES.ITimelineRepository)\n protected timelineRepository: ITimelineRepository,\n\n @inject('Logger')\n logger: CdmLogger.ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getTimelineEvents(userId: string): Promise<Array<ITimeline>> {\n return this.timelineRepository.getTimelineEvents(userId);\n }\n\n public async createTimelineEvent(newEvent: ITimelineCreateRequest): Promise<boolean> {\n return this.timelineRepository.createTimelineEvent(newEvent);\n }\n\n public async updateTimelineEvent(eventId: string, newEvent: ITimeline): Promise<boolean> {\n return this.timelineRepository.updateTimelineEvent(eventId, newEvent);\n }\n\n public async removeTimelineEvent(eventId: string): Promise<boolean> {\n return this.timelineRepository.removeTimelineEvent(eventId);\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nimport * as ILogger from 'bunyan';\nimport { inject, injectable } from 'inversify';\nimport { ITimesheet, ITimesheetCreateRequest } from '@admin-layout/timetracker-core';\nimport { ITimesheetService, ITimesheetRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\n@injectable()\nexport class TimesheetService implements ITimesheetService {\n private logger: ILogger;\n\n constructor(\n @inject(TYPES.ITimesheetRepository)\n protected timesheetRepository: ITimesheetRepository,\n\n @inject('Logger')\n logger: ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getTimesheetEvents(userId: string): Promise<Array<ITimesheet>> {\n return this.timesheetRepository.getTimesheetEvents(userId);\n }\n\n public async createTimesheetEvent(newEvent: ITimesheetCreateRequest): Promise<boolean> {\n return this.timesheetRepository.createTimesheetEvent(newEvent);\n }\n\n public async updateTimesheetEvent(eventId: string, newEvent: ITimesheet): Promise<boolean> {\n return this.timesheetRepository.updateTimesheetEvent(eventId, newEvent);\n }\n\n public async removeTimesheetEvent(eventId: string): Promise<boolean> {\n return this.timesheetRepository.removeTimesheetEvent(eventId);\n }\n}\n","export * from './schedule-model'\nexport * from './timeline-model'\nexport * from './timesheet-model'","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ISchedule } from '@admin-layout/schedule-module-core';\n\nexport interface IScheduleModel extends ISchedule, Document {\n id: any;\n}\n\nconst ScheduleSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resouceId\n resourceId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nScheduleSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nScheduleSchema.set('toJSON', {\n virtuals: true,\n});\n\nScheduleSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type ScheduleModelType = Model<IScheduleModel>;\n\nexport const ScheduleModelFunc: (db: Connection) => ScheduleModelType = (db) =>\n db.model<IScheduleModel>('schedule', ScheduleSchema);\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ITimeline } from '@admin-layout/schedule-module-core';\n\nexport interface ITimelineModel extends ITimeline, Document {\n id: any;\n}\n\nconst TimelineSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resouceId\n resourceId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nTimelineSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nTimelineSchema.set('toJSON', {\n virtuals: true,\n});\n\nTimelineSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type TimelineModelType = Model<ITimelineModel>;\n\nexport const TimelineModelFunc: (db: Connection) => TimelineModelType = (db) =>\n db.model<ITimelineModel>('timeline', TimelineSchema);\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ITimesheet } from '@admin-layout/timetracker-core';\n\nexport interface ITimesheetModel extends ITimesheet, Document {\n id: any;\n}\n\nconst TimesheetSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resourceId\n resourceId: { type: String },\n // projectId\n projectId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nTimesheetSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nTimesheetSchema.set('toJSON', {\n virtuals: true,\n});\n\nTimesheetSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type TimesheetModelType = Model<ITimesheetModel>;\n\nexport const TimesheetModelFunc: (db: Connection) => TimesheetModelType = (db) =>\n db.model<ITimesheetModel>('timesheet', TimesheetSchema);\n","export * from './schedule-repository';\nexport * from './timeline-repository';\nexport * from './timesheet-repository';\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ISchedule, IScheduleCreateRequest } from '@admin-layout/schedule-module-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { IScheduleRepository } from '../../interfaces';\nimport { ScheduleModelType, ScheduleModelFunc } from '../models/schedule-model';\n\n@injectable()\nexport class ScheduleRepository implements IScheduleRepository {\n private scheduleModel: ScheduleModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'ScheduleRepository' });\n this.scheduleModel = ScheduleModelFunc(db);\n }\n\n public async getScheduleEvents(userId: string): Promise<Array<ISchedule>> {\n if (userId === undefined) return await this.scheduleModel.find({}).exec();\n return await this.scheduleModel.find({ resourceId: userId }).exec();\n }\n\n public async createScheduleEvent(newEvent: IScheduleCreateRequest): Promise<boolean> {\n try {\n await this.scheduleModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateScheduleEvent(eventId: string, newEvent: IScheduleCreateRequest): Promise<boolean> {\n try {\n await this.scheduleModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeScheduleEvent(eventId: string): Promise<boolean> {\n try {\n await this.scheduleModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ITimeline, ITimelineCreateRequest } from '@admin-layout/schedule-module-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { ITimelineRepository } from '../../interfaces';\nimport { TimelineModelType, TimelineModelFunc } from '../models';\n\n@injectable()\nexport class TimelineRepository implements ITimelineRepository {\n private timelineModel: TimelineModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'TimelineRepository' });\n this.timelineModel = TimelineModelFunc(db);\n }\n\n public async getTimelineEvents(userId: string): Promise<Array<ITimeline>> {\n if (userId === undefined) return await this.timelineModel.find({}).exec();\n return await this.timelineModel.find({ resourceId: userId }).exec();\n }\n\n public async createTimelineEvent(newEvent: ITimelineCreateRequest): Promise<boolean> {\n try {\n await this.timelineModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateTimelineEvent(eventId: string, newEvent: ITimelineCreateRequest): Promise<boolean> {\n try {\n await this.timelineModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeTimelineEvent(eventId: string): Promise<boolean> {\n try {\n await this.timelineModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ITimesheet, ITimesheetCreateRequest } from '@admin-layout/timetracker-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { ITimesheetRepository } from '../../interfaces';\nimport { TimesheetModelType, TimesheetModelFunc } from '../models';\n\n@injectable()\nexport class TimesheetRepository implements ITimesheetRepository {\n private timesheetModel: TimesheetModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'TimesheetRepository' });\n this.timesheetModel = TimesheetModelFunc(db);\n }\n\n public async getTimesheetEvents(userId: string): Promise<Array<ITimesheet>> {\n if (userId === undefined) return await this.timesheetModel.find({}).exec();\n return await this.timesheetModel.find({ resourceId: userId }).exec();\n }\n\n public async createTimesheetEvent(newEvent: ITimesheetCreateRequest): Promise<boolean> {\n try {\n await this.timesheetModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateTimesheetEvent(eventId: string, newEvent: ITimesheetCreateRequest): Promise<boolean> {\n try {\n await this.timesheetModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeTimesheetEvent(eventId: string): Promise<boolean> {\n try {\n await this.timesheetModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","module.exports = require(\"@common-stack/server-core\");","module.exports = require(\"inversify\");","module.exports = require(\"mongoose\");"],"sourceRoot":""}
|
1
|
+
{"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;;AAAA,iEAAe,qCAAqC,8QAA8Q,iCAAiC,gQAAgQ,uBAAuB,oDAAoD,0BAA0B,kMAAkM,GAAG;;;;;;;;;;;;;;ACA74B,iEAAe,qCAAqC,8QAA8Q,iCAAiC,gQAAgQ,uBAAuB,oDAAoD,0BAA0B,kMAAkM,GAAG;;;;;;;;;;;;;ACAh4B,aAAK,GAAG;IACjB,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC;IAC5C,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC;IAC5C,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;IAClD,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;IAClD,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CA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AEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;UENA;UACA;UACA;UACA","sources":["webpack://@admin-layout/schedule-module-server/./src/schema/schedule-schema.graphql","webpack://@admin-layout/schedule-module-server/./src/schema/timeline-schema.graphql","webpack://@admin-layout/schedule-module-server/./src/constants/constants.ts","webpack://@admin-layout/schedule-module-server/./src/constants/index.ts","webpack://@admin-layout/schedule-module-server/./src/containers/containers.ts","webpack://@admin-layout/schedule-module-server/./src/containers/index.ts","webpack://@admin-layout/schedule-module-server/./src/index.ts","webpack://@admin-layout/schedule-module-server/./src/module.ts","webpack://@admin-layout/schedule-module-server/./src/resolvers/index.ts","webpack://@admin-layout/schedule-module-server/./src/resolvers/schedule-resolver.ts","webpack://@admin-layout/schedule-module-server/./src/schema/index.ts","webpack://@admin-layout/schedule-module-server/./src/services/index.ts","webpack://@admin-layout/schedule-module-server/./src/services/schedule-service.ts","webpack://@admin-layout/schedule-module-server/./src/services/timeline-service.ts","webpack://@admin-layout/schedule-module-server/./src/services/timesheet-service.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/index.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/schedule-model.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/timeline-model.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/timesheet-model.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/index.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/schedule-repository.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/timeline-repository.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/timesheet-repository.ts","webpack://@admin-layout/schedule-module-server/external commonjs \"@common-stack/server-core\"","webpack://@admin-layout/schedule-module-server/external commonjs \"inversify\"","webpack://@admin-layout/schedule-module-server/external commonjs \"mongoose\"","webpack://@admin-layout/schedule-module-server/webpack/bootstrap","webpack://@admin-layout/schedule-module-server/webpack/runtime/define property getters","webpack://@admin-layout/schedule-module-server/webpack/runtime/hasOwnProperty shorthand","webpack://@admin-layout/schedule-module-server/webpack/runtime/make namespace object","webpack://@admin-layout/schedule-module-server/webpack/before-startup","webpack://@admin-layout/schedule-module-server/webpack/startup","webpack://@admin-layout/schedule-module-server/webpack/after-startup"],"sourcesContent":["export default \"# scalar DateTime\\n\\ntype Schedule {\\n id: String\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\ninput ScheduleCreateRequest {\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\nextend type Query {\\n getScheduleEvents(userId: String): [Schedule]\\n}\\n\\nextend type Mutation {\\n addScheduleEvent(request: ScheduleCreateRequest): Boolean\\n updateScheduleEvent(eventId: String, request: ScheduleCreateRequest): Boolean\\n removeScheduleEvent(eventId: String): Boolean\\n}\\n\";","export default \"# scalar DateTime\\n\\ntype Timeline {\\n id: String\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\ninput TimelineCreateRequest {\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\nextend type Query {\\n getTimelineEvents(userId: String): [Timeline]\\n}\\n\\nextend type Mutation {\\n addTimelineEvent(request: TimelineCreateRequest): Boolean\\n updateTimelineEvent(eventId: String, request: TimelineCreateRequest): Boolean\\n removeTimelineEvent(eventId: String): Boolean\\n}\\n\";","export const TYPES = {\n IScheduleService: Symbol('IScheduleService'),\n ITimelineService: Symbol('ITimelineService'),\n ITimesheetService: Symbol('ITimesheetService'),\n IScheduleRepository: Symbol('IScheduleRepository'),\n ITimelineRepository: Symbol('ITimelineRepository'),\n ITimesheetRepository: Symbol('ITimesheetRepository'),\n};\n","export * from './constants';\n","import { ContainerModule, interfaces } from 'inversify';\nimport { TYPES } from '../constants';\nimport {\n IScheduleRepository,\n ITimelineRepository,\n ITimesheetRepository,\n IScheduleService,\n ITimelineService,\n ITimesheetService,\n} from '../interfaces';\nimport { ScheduleService, TimelineService, TimesheetService } from '../services';\nimport { ScheduleRepository, TimelineRepository, TimesheetRepository } from '../store/repository';\n\nexport const scheduleModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<IScheduleRepository>(TYPES.IScheduleRepository)\n .to(ScheduleRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<IScheduleService>(TYPES.IScheduleService).to(ScheduleService).inSingletonScope().whenTargetIsDefault();\n });\n\nexport const timelineModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<ITimelineRepository>(TYPES.ITimelineRepository)\n .to(TimelineRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<ITimelineService>(TYPES.ITimelineService).to(TimelineService).inSingletonScope().whenTargetIsDefault();\n });\n\nexport const timesheetModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<ITimesheetRepository>(TYPES.ITimesheetRepository)\n .to(TimesheetRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<ITimesheetService>(TYPES.ITimesheetService).to(TimesheetService).inSingletonScope().whenTargetIsDefault();\n });\n","export * from './containers';\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/server-core';\nimport counter from './module';\n\nexport * from './constants';\n\nexport default new Feature(counter);\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/server-core';\nimport { interfaces } from 'inversify';\nimport { schema } from './schema';\nimport { resolvers } from './resolvers';\nimport { scheduleModule, timelineModule, timesheetModule } from './containers';\nimport { TYPES } from './constants';\n\nconst dataSources: (container: interfaces.Container) => any = () => ({\n // counterCache: new CounterDataSource(),\n});\n\nconst createServiceFunc = (container: interfaces.Container) => ({\n scheduleService: container.get(TYPES.IScheduleService),\n timelineService: container.get(TYPES.ITimelineService),\n timesheetService: container.get(TYPES.ITimesheetService),\n});\n\nexport default new Feature({\n schema,\n createContainerFunc: [scheduleModule, timelineModule, timesheetModule],\n createResolversFunc: resolvers,\n createServiceFunc,\n // createContextFunc: () => ({ counterMock: counterMock }), // note anything set here should be singleton.\n createDataSourceFunc: dataSources,\n addBrokerMainServiceClass: [],\n});\n","import { resolver as scheduleResolver } from './schedule-resolver';\n// import { resolver as timelineResolver } from './timeline-resolver'\n\nexport const resolvers = [scheduleResolver];\n","// TODO:\nexport const resolver = (options) => ({\n Query: {\n getScheduleEvents: (root, args, { scheduleService }) => {\n options.logger.trace('(Query.getScheduleEvents) args %j', args);\n return scheduleService.getScheduleEvents(args.userId);\n },\n },\n Mutation: {\n addScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.addScheduleEvent) args %j', args);\n return scheduleService.createScheduleEvent(args.request);\n },\n updateScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.updateScheduleEvent) args %j', args);\n return scheduleService.updateScheduleEvent(args.eventId, args.request);\n },\n removeScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.removeScheduleEvent) args %j', args);\n return scheduleService.removeScheduleEvent(args.eventId);\n },\n },\n Subscription: {},\n});\n","/* eslint-disable import/no-extraneous-dependencies */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport * as _ from 'lodash';\nimport scheduleSchema from './schedule-schema.graphql';\nimport timelineSchema from './timeline-schema.graphql';\n\nconst schema = [scheduleSchema, timelineSchema].join('\\n');\n\nexport { schema };\n","export * from './schedule-service';\nexport * from './timesheet-service';\nexport * from './timeline-service';\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { CdmLogger } from '@cdm-logger/core';\n\nimport { inject, injectable } from 'inversify';\nimport { ISchedule, IScheduleCreateRequest } from '@admin-layout/schedule-module-core';\nimport { IScheduleService, IScheduleRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\ntype ILogger = CdmLogger.ILogger;\n@injectable()\nexport class ScheduleService implements IScheduleService {\n private logger: ILogger;\n\n constructor(\n @inject(TYPES.IScheduleRepository)\n protected scheduleRepository: IScheduleRepository,\n\n @inject('Logger')\n logger: ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getScheduleEvents(userId: string): Promise<Array<ISchedule>> {\n return this.scheduleRepository.getScheduleEvents(userId);\n }\n\n public async createScheduleEvent(newEvent: IScheduleCreateRequest): Promise<boolean> {\n return this.scheduleRepository.createScheduleEvent(newEvent);\n }\n\n public async updateScheduleEvent(eventId: string, newEvent: ISchedule): Promise<boolean> {\n return this.scheduleRepository.updateScheduleEvent(eventId, newEvent);\n }\n\n public async removeScheduleEvent(eventId: string): Promise<boolean> {\n return this.scheduleRepository.removeScheduleEvent(eventId);\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { CdmLogger } from '@cdm-logger/core';\n\nimport { inject, injectable } from 'inversify';\nimport { ITimeline, ITimelineCreateRequest } from '@admin-layout/schedule-module-core';\nimport { ITimelineService, ITimelineRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\n@injectable()\nexport class TimelineService implements ITimelineService {\n private logger: CdmLogger.ILogger;\n\n constructor(\n @inject(TYPES.ITimelineRepository)\n protected timelineRepository: ITimelineRepository,\n\n @inject('Logger')\n logger: CdmLogger.ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getTimelineEvents(userId: string): Promise<Array<ITimeline>> {\n return this.timelineRepository.getTimelineEvents(userId);\n }\n\n public async createTimelineEvent(newEvent: ITimelineCreateRequest): Promise<boolean> {\n return this.timelineRepository.createTimelineEvent(newEvent);\n }\n\n public async updateTimelineEvent(eventId: string, newEvent: ITimeline): Promise<boolean> {\n return this.timelineRepository.updateTimelineEvent(eventId, newEvent);\n }\n\n public async removeTimelineEvent(eventId: string): Promise<boolean> {\n return this.timelineRepository.removeTimelineEvent(eventId);\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nimport * as ILogger from 'bunyan';\nimport { inject, injectable } from 'inversify';\nimport { ITimesheet, ITimesheetCreateRequest } from '@admin-layout/timetracker-core';\nimport { ITimesheetService, ITimesheetRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\n@injectable()\nexport class TimesheetService implements ITimesheetService {\n private logger: ILogger;\n\n constructor(\n @inject(TYPES.ITimesheetRepository)\n protected timesheetRepository: ITimesheetRepository,\n\n @inject('Logger')\n logger: ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getTimesheetEvents(userId: string): Promise<Array<ITimesheet>> {\n return this.timesheetRepository.getTimesheetEvents(userId);\n }\n\n public async createTimesheetEvent(newEvent: ITimesheetCreateRequest): Promise<boolean> {\n return this.timesheetRepository.createTimesheetEvent(newEvent);\n }\n\n public async updateTimesheetEvent(eventId: string, newEvent: ITimesheet): Promise<boolean> {\n return this.timesheetRepository.updateTimesheetEvent(eventId, newEvent);\n }\n\n public async removeTimesheetEvent(eventId: string): Promise<boolean> {\n return this.timesheetRepository.removeTimesheetEvent(eventId);\n }\n}\n","export * from './schedule-model'\nexport * from './timeline-model'\nexport * from './timesheet-model'","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ISchedule } from '@admin-layout/schedule-module-core';\n\nexport interface IScheduleModel extends ISchedule, Document {\n id: any;\n}\n\nconst ScheduleSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resouceId\n resourceId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nScheduleSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nScheduleSchema.set('toJSON', {\n virtuals: true,\n});\n\nScheduleSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type ScheduleModelType = Model<IScheduleModel>;\n\nexport const ScheduleModelFunc: (db: Connection) => ScheduleModelType = (db) =>\n db.model<IScheduleModel>('schedule', ScheduleSchema);\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ITimeline } from '@admin-layout/schedule-module-core';\n\nexport interface ITimelineModel extends ITimeline, Document {\n id: any;\n}\n\nconst TimelineSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resouceId\n resourceId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nTimelineSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nTimelineSchema.set('toJSON', {\n virtuals: true,\n});\n\nTimelineSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type TimelineModelType = Model<ITimelineModel>;\n\nexport const TimelineModelFunc: (db: Connection) => TimelineModelType = (db) =>\n db.model<ITimelineModel>('timeline', TimelineSchema);\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ITimesheet } from '@admin-layout/timetracker-core';\n\nexport interface ITimesheetModel extends ITimesheet, Document {\n id: any;\n}\n\nconst TimesheetSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resourceId\n resourceId: { type: String },\n // projectId\n projectId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nTimesheetSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nTimesheetSchema.set('toJSON', {\n virtuals: true,\n});\n\nTimesheetSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type TimesheetModelType = Model<ITimesheetModel>;\n\nexport const TimesheetModelFunc: (db: Connection) => TimesheetModelType = (db) =>\n db.model<ITimesheetModel>('timesheet', TimesheetSchema);\n","export * from './schedule-repository';\nexport * from './timeline-repository';\nexport * from './timesheet-repository';\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ISchedule, IScheduleCreateRequest } from '@admin-layout/schedule-module-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { IScheduleRepository } from '../../interfaces';\nimport { ScheduleModelType, ScheduleModelFunc } from '../models/schedule-model';\n\n@injectable()\nexport class ScheduleRepository implements IScheduleRepository {\n private scheduleModel: ScheduleModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'ScheduleRepository' });\n this.scheduleModel = ScheduleModelFunc(db);\n }\n\n public async getScheduleEvents(userId: string): Promise<Array<ISchedule>> {\n if (userId === undefined) return await this.scheduleModel.find({}).exec();\n return await this.scheduleModel.find({ resourceId: userId }).exec();\n }\n\n public async createScheduleEvent(newEvent: IScheduleCreateRequest): Promise<boolean> {\n try {\n await this.scheduleModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateScheduleEvent(eventId: string, newEvent: IScheduleCreateRequest): Promise<boolean> {\n try {\n await this.scheduleModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeScheduleEvent(eventId: string): Promise<boolean> {\n try {\n await this.scheduleModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ITimeline, ITimelineCreateRequest } from '@admin-layout/schedule-module-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { ITimelineRepository } from '../../interfaces';\nimport { TimelineModelType, TimelineModelFunc } from '../models';\n\n@injectable()\nexport class TimelineRepository implements ITimelineRepository {\n private timelineModel: TimelineModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'TimelineRepository' });\n this.timelineModel = TimelineModelFunc(db);\n }\n\n public async getTimelineEvents(userId: string): Promise<Array<ITimeline>> {\n if (userId === undefined) return await this.timelineModel.find({}).exec();\n return await this.timelineModel.find({ resourceId: userId }).exec();\n }\n\n public async createTimelineEvent(newEvent: ITimelineCreateRequest): Promise<boolean> {\n try {\n await this.timelineModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateTimelineEvent(eventId: string, newEvent: ITimelineCreateRequest): Promise<boolean> {\n try {\n await this.timelineModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeTimelineEvent(eventId: string): Promise<boolean> {\n try {\n await this.timelineModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ITimesheet, ITimesheetCreateRequest } from '@admin-layout/timetracker-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { ITimesheetRepository } from '../../interfaces';\nimport { TimesheetModelType, TimesheetModelFunc } from '../models';\n\n@injectable()\nexport class TimesheetRepository implements ITimesheetRepository {\n private timesheetModel: TimesheetModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'TimesheetRepository' });\n this.timesheetModel = TimesheetModelFunc(db);\n }\n\n public async getTimesheetEvents(userId: string): Promise<Array<ITimesheet>> {\n if (userId === undefined) return await this.timesheetModel.find({}).exec();\n return await this.timesheetModel.find({ resourceId: userId }).exec();\n }\n\n public async createTimesheetEvent(newEvent: ITimesheetCreateRequest): Promise<boolean> {\n try {\n await this.timesheetModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateTimesheetEvent(eventId: string, newEvent: ITimesheetCreateRequest): Promise<boolean> {\n try {\n await this.timesheetModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeTimesheetEvent(eventId: string): Promise<boolean> {\n try {\n await this.timesheetModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","module.exports = require(\"@common-stack/server-core\");","module.exports = require(\"inversify\");","module.exports = require(\"mongoose\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.ts\");\n",""],"names":[],"sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@admin-layout/schedule-module-server",
|
3
|
-
"version": "2.0.1-alpha.
|
3
|
+
"version": "2.0.1-alpha.35",
|
4
4
|
"description": "Sample core for higher packages to depend on",
|
5
5
|
"license": "ISC",
|
6
6
|
"author": "CDMBase LLC",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"watch": "yarn build:lib:watch"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@admin-layout/schedule-module-core": "2.0.1-alpha.
|
22
|
+
"@admin-layout/schedule-module-core": "2.0.1-alpha.35",
|
23
23
|
"@admin-layout/timetracker-core": "1.0.3-alpha.78"
|
24
24
|
},
|
25
25
|
"publishConfig": {
|
@@ -28,5 +28,5 @@
|
|
28
28
|
"typescript": {
|
29
29
|
"definition": "lib/index.d.ts"
|
30
30
|
},
|
31
|
-
"gitHead": "
|
31
|
+
"gitHead": "9704b27ec7fabb14100dc07265e04d0b42ccb1eb"
|
32
32
|
}
|