@things-factory/worklist 5.0.7 → 5.0.13
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/client/{bootstrap.js → bootstrap.ts} +0 -0
- package/client/components/activity-/bowner-view.js +0 -1
- package/client/components/activity-instance-preview.js +1 -2
- package/client/components/{activity-intro-view.js → activity-intro-view.ts} +29 -42
- package/client/components/activity-reporter-view.js +0 -1
- package/client/components/activity-starter-form.js +2 -3
- package/client/{index.js → index.ts} +0 -0
- package/client/pages/activity/{activity-list-page.js → activity-list-page.ts} +26 -36
- package/client/pages/activity/activity-model-item-list.js +4 -1
- package/client/pages/activity/activity-page.js +2 -3
- package/client/pages/activity/starter-list-page.js +1 -1
- package/client/pages/activity-instance/activity-instance-list-page.js +1 -1
- package/client/pages/activity-instance/activity-instance-page.js +2 -2
- package/client/pages/activity-store/activity-store-page.js +1 -1
- package/client/pages/activity-supervisor/reporter-list-page.js +1 -1
- package/client/pages/activity-template/activity-template-list-page.js +1 -1
- package/client/pages/activity-thread/activity-thread-list-page.js +1 -1
- package/client/pages/activity-thread/activity-thread-page.js +2 -2
- package/client/pages/todo/assigned-list-page.js +1 -1
- package/client/pages/todo/draft-list-page.js +4 -2
- package/client/pages/todo/pickable-list-page.js +2 -2
- package/client/pages/todo/todo-list-page.js +2 -2
- package/client/pages/{worklist-home.js → worklist-home.ts} +2 -6
- package/client/{route.js → route.ts} +1 -1
- package/client/tsconfig.json +11 -0
- package/dist-client/bootstrap.d.ts +1 -0
- package/dist-client/bootstrap.js +12 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/components/activity-/bowner-view.d.ts +1 -0
- package/dist-client/components/activity-/bowner-view.js +96 -0
- package/dist-client/components/activity-/bowner-view.js.map +1 -0
- package/dist-client/components/activity-instance-preview.d.ts +1 -0
- package/dist-client/components/activity-instance-preview.js +180 -0
- package/dist-client/components/activity-instance-preview.js.map +1 -0
- package/dist-client/components/activity-intro-view.d.ts +1 -0
- package/dist-client/components/activity-intro-view.js +104 -0
- package/dist-client/components/activity-intro-view.js.map +1 -0
- package/dist-client/components/activity-reporter-view.d.ts +1 -0
- package/dist-client/components/activity-reporter-view.js +96 -0
- package/dist-client/components/activity-reporter-view.js.map +1 -0
- package/dist-client/components/activity-starter-form.d.ts +1 -0
- package/dist-client/components/activity-starter-form.js +293 -0
- package/dist-client/components/activity-starter-form.js.map +1 -0
- package/dist-client/index.d.ts +1 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/pages/activity/activity-list-page.d.ts +47 -0
- package/dist-client/pages/activity/activity-list-page.js +479 -0
- package/dist-client/pages/activity/activity-list-page.js.map +1 -0
- package/dist-client/pages/activity/activity-model-item-list.d.ts +194 -0
- package/dist-client/pages/activity/activity-model-item-list.js +288 -0
- package/dist-client/pages/activity/activity-model-item-list.js.map +1 -0
- package/dist-client/pages/activity/activity-page.d.ts +49 -0
- package/dist-client/pages/activity/activity-page.js +367 -0
- package/dist-client/pages/activity/activity-page.js.map +1 -0
- package/dist-client/pages/activity/starter-list-page.d.ts +143 -0
- package/dist-client/pages/activity/starter-list-page.js +209 -0
- package/dist-client/pages/activity/starter-list-page.js.map +1 -0
- package/dist-client/pages/activity-instance/activity-instance-list-page.d.ts +137 -0
- package/dist-client/pages/activity-instance/activity-instance-list-page.js +202 -0
- package/dist-client/pages/activity-instance/activity-instance-list-page.js.map +1 -0
- package/dist-client/pages/activity-instance/activity-instance-page.d.ts +49 -0
- package/dist-client/pages/activity-instance/activity-instance-page.js +365 -0
- package/dist-client/pages/activity-instance/activity-instance-page.js.map +1 -0
- package/dist-client/pages/activity-store/activity-store-page.d.ts +174 -0
- package/dist-client/pages/activity-store/activity-store-page.js +211 -0
- package/dist-client/pages/activity-store/activity-store-page.js.map +1 -0
- package/dist-client/pages/activity-supervisor/reporter-list-page.d.ts +143 -0
- package/dist-client/pages/activity-supervisor/reporter-list-page.js +209 -0
- package/dist-client/pages/activity-supervisor/reporter-list-page.js.map +1 -0
- package/dist-client/pages/activity-template/activity-template-importer.d.ts +24 -0
- package/dist-client/pages/activity-template/activity-template-importer.js +98 -0
- package/dist-client/pages/activity-template/activity-template-importer.js.map +1 -0
- package/dist-client/pages/activity-template/activity-template-list-page.d.ts +263 -0
- package/dist-client/pages/activity-template/activity-template-list-page.js +402 -0
- package/dist-client/pages/activity-template/activity-template-list-page.js.map +1 -0
- package/dist-client/pages/activity-template/activity-template-model-item-list.d.ts +1 -0
- package/dist-client/pages/activity-template/activity-template-model-item-list.js +36 -0
- package/dist-client/pages/activity-template/activity-template-model-item-list.js.map +1 -0
- package/dist-client/pages/activity-thread/activity-thread-importer.d.ts +24 -0
- package/dist-client/pages/activity-thread/activity-thread-importer.js +98 -0
- package/dist-client/pages/activity-thread/activity-thread-importer.js.map +1 -0
- package/dist-client/pages/activity-thread/activity-thread-list-page.d.ts +145 -0
- package/dist-client/pages/activity-thread/activity-thread-list-page.js +284 -0
- package/dist-client/pages/activity-thread/activity-thread-list-page.js.map +1 -0
- package/dist-client/pages/activity-thread/activity-thread-page.d.ts +46 -0
- package/dist-client/pages/activity-thread/activity-thread-page.js +331 -0
- package/dist-client/pages/activity-thread/activity-thread-page.js.map +1 -0
- package/dist-client/pages/dashboard/dashboard-home.d.ts +1 -0
- package/dist-client/pages/dashboard/dashboard-home.js +17 -0
- package/dist-client/pages/dashboard/dashboard-home.js.map +1 -0
- package/dist-client/pages/todo/assigned-list-page.d.ts +124 -0
- package/dist-client/pages/todo/assigned-list-page.js +233 -0
- package/dist-client/pages/todo/assigned-list-page.js.map +1 -0
- package/dist-client/pages/todo/draft-list-page.d.ts +198 -0
- package/dist-client/pages/todo/draft-list-page.js +312 -0
- package/dist-client/pages/todo/draft-list-page.js.map +1 -0
- package/dist-client/pages/todo/pickable-list-page.d.ts +150 -0
- package/dist-client/pages/todo/pickable-list-page.js +260 -0
- package/dist-client/pages/todo/pickable-list-page.js.map +1 -0
- package/dist-client/pages/todo/todo-list-page.d.ts +232 -0
- package/dist-client/pages/todo/todo-list-page.js +333 -0
- package/dist-client/pages/todo/todo-list-page.js.map +1 -0
- package/dist-client/pages/worklist-home.d.ts +1 -0
- package/dist-client/pages/worklist-home.js +18 -0
- package/dist-client/pages/worklist-home.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +53 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-client/types.d.ts +19 -0
- package/dist-client/types.js +37 -0
- package/dist-client/types.js.map +1 -0
- package/dist-server/controllers/activity-extension-controller.js.map +1 -1
- package/dist-server/controllers/activity-instance/abort.js +4 -5
- package/dist-server/controllers/activity-instance/abort.js.map +1 -1
- package/dist-server/controllers/activity-instance/adjust.js +3 -2
- package/dist-server/controllers/activity-instance/adjust.js.map +1 -1
- package/dist-server/controllers/activity-instance/assign.js +9 -25
- package/dist-server/controllers/activity-instance/assign.js.map +1 -1
- package/dist-server/controllers/activity-instance/delegate.js +5 -6
- package/dist-server/controllers/activity-instance/delegate.js.map +1 -1
- package/dist-server/controllers/activity-instance/draft.js +6 -7
- package/dist-server/controllers/activity-instance/draft.js.map +1 -1
- package/dist-server/controllers/activity-instance/end.js +5 -6
- package/dist-server/controllers/activity-instance/end.js.map +1 -1
- package/dist-server/controllers/activity-instance/index.js +11 -24
- package/dist-server/controllers/activity-instance/index.js.map +1 -1
- package/dist-server/controllers/activity-instance/pick.js +6 -6
- package/dist-server/controllers/activity-instance/pick.js.map +1 -1
- package/dist-server/controllers/activity-instance/post.js +10 -6
- package/dist-server/controllers/activity-instance/post.js.map +1 -1
- package/dist-server/controllers/activity-instance/start.js +3 -2
- package/dist-server/controllers/activity-instance/start.js.map +1 -1
- package/dist-server/controllers/activity-instance/terminate.js +5 -6
- package/dist-server/controllers/activity-instance/terminate.js.map +1 -1
- package/dist-server/controllers/activity-thread/abort.js +3 -4
- package/dist-server/controllers/activity-thread/abort.js.map +1 -1
- package/dist-server/controllers/activity-thread/adjust.js +2 -1
- package/dist-server/controllers/activity-thread/adjust.js.map +1 -1
- package/dist-server/controllers/activity-thread/delegate.js +4 -5
- package/dist-server/controllers/activity-thread/delegate.js.map +1 -1
- package/dist-server/controllers/activity-thread/end.js +4 -5
- package/dist-server/controllers/activity-thread/end.js.map +1 -1
- package/dist-server/controllers/activity-thread/index.js +8 -21
- package/dist-server/controllers/activity-thread/index.js.map +1 -1
- package/dist-server/controllers/activity-thread/save.js +2 -1
- package/dist-server/controllers/activity-thread/save.js.map +1 -1
- package/dist-server/controllers/activity-thread/start.js +4 -5
- package/dist-server/controllers/activity-thread/start.js.map +1 -1
- package/dist-server/controllers/activity-thread/terminate.js +3 -4
- package/dist-server/controllers/activity-thread/terminate.js.map +1 -1
- package/dist-server/controllers/common.js +23 -6
- package/dist-server/controllers/common.js.map +1 -1
- package/dist-server/controllers/index.js.map +1 -1
- package/dist-server/index.js +4 -17
- package/dist-server/index.js.map +1 -1
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/migrations/index.js.map +1 -1
- package/dist-server/routes.js +0 -1
- package/dist-server/routes.js.map +1 -1
- package/dist-server/service/activity/activity-history.js +68 -76
- package/dist-server/service/activity/activity-history.js.map +1 -1
- package/dist-server/service/activity/activity-model-type.js +51 -60
- package/dist-server/service/activity/activity-model-type.js.map +1 -1
- package/dist-server/service/activity/activity-mutation.js +39 -50
- package/dist-server/service/activity/activity-mutation.js.map +1 -1
- package/dist-server/service/activity/activity-query.js +61 -72
- package/dist-server/service/activity/activity-query.js.map +1 -1
- package/dist-server/service/activity/activity-type.js +91 -102
- package/dist-server/service/activity/activity-type.js.map +1 -1
- package/dist-server/service/activity/activity.js +68 -76
- package/dist-server/service/activity/activity.js.map +1 -1
- package/dist-server/service/activity/event-subscriber.js +2 -7
- package/dist-server/service/activity/event-subscriber.js.map +1 -1
- package/dist-server/service/activity/index.js.map +1 -1
- package/dist-server/service/activity-instance/activity-instance-history.js +81 -89
- package/dist-server/service/activity-instance/activity-instance-history.js.map +1 -1
- package/dist-server/service/activity-instance/activity-instance-mutation.js +71 -85
- package/dist-server/service/activity-instance/activity-instance-mutation.js.map +1 -1
- package/dist-server/service/activity-instance/activity-instance-query.js +67 -78
- package/dist-server/service/activity-instance/activity-instance-query.js.map +1 -1
- package/dist-server/service/activity-instance/activity-instance-subscription.js +8 -21
- package/dist-server/service/activity-instance/activity-instance-subscription.js.map +1 -1
- package/dist-server/service/activity-instance/activity-instance-type.js +106 -106
- package/dist-server/service/activity-instance/activity-instance-type.js.map +1 -1
- package/dist-server/service/activity-instance/activity-instance.js +85 -93
- package/dist-server/service/activity-instance/activity-instance.js.map +1 -1
- package/dist-server/service/activity-instance/event-subscriber.js +3 -8
- package/dist-server/service/activity-instance/event-subscriber.js.map +1 -1
- package/dist-server/service/activity-instance/index.js.map +1 -1
- package/dist-server/service/activity-template/activity-template-history.js +50 -58
- package/dist-server/service/activity-template/activity-template-history.js.map +1 -1
- package/dist-server/service/activity-template/activity-template-mutation.js +39 -50
- package/dist-server/service/activity-template/activity-template-mutation.js.map +1 -1
- package/dist-server/service/activity-template/activity-template-query.js +48 -45
- package/dist-server/service/activity-template/activity-template-query.js.map +1 -1
- package/dist-server/service/activity-template/activity-template-type.js +65 -76
- package/dist-server/service/activity-template/activity-template-type.js.map +1 -1
- package/dist-server/service/activity-template/activity-template.js +48 -56
- package/dist-server/service/activity-template/activity-template.js.map +1 -1
- package/dist-server/service/activity-template/event-subscriber.js +2 -7
- package/dist-server/service/activity-template/event-subscriber.js.map +1 -1
- package/dist-server/service/activity-template/index.js.map +1 -1
- package/dist-server/service/activity-thread/activity-thread-mutation.js +84 -95
- package/dist-server/service/activity-thread/activity-thread-mutation.js.map +1 -1
- package/dist-server/service/activity-thread/activity-thread-query.js +45 -56
- package/dist-server/service/activity-thread/activity-thread-query.js.map +1 -1
- package/dist-server/service/activity-thread/activity-thread-subscription.js +7 -20
- package/dist-server/service/activity-thread/activity-thread-subscription.js.map +1 -1
- package/dist-server/service/activity-thread/activity-thread-type.js +25 -34
- package/dist-server/service/activity-thread/activity-thread-type.js.map +1 -1
- package/dist-server/service/activity-thread/activity-thread.js +43 -51
- package/dist-server/service/activity-thread/activity-thread.js.map +1 -1
- package/dist-server/service/activity-thread/event-subscriber.js +5 -10
- package/dist-server/service/activity-thread/event-subscriber.js.map +1 -1
- package/dist-server/service/activity-thread/index.js.map +1 -1
- package/dist-server/service/index.js +5 -18
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/package.json +13 -11
- package/server/controllers/activity-instance/abort.ts +5 -10
- package/server/controllers/activity-instance/adjust.ts +5 -7
- package/server/controllers/activity-instance/assign.ts +13 -45
- package/server/controllers/activity-instance/delegate.ts +6 -8
- package/server/controllers/activity-instance/draft.ts +7 -13
- package/server/controllers/activity-instance/end.ts +6 -9
- package/server/controllers/activity-instance/pick.ts +12 -9
- package/server/controllers/activity-instance/post.ts +14 -12
- package/server/controllers/activity-instance/start.ts +5 -3
- package/server/controllers/activity-instance/terminate.ts +6 -8
- package/server/controllers/activity-thread/abort.ts +3 -9
- package/server/controllers/activity-thread/adjust.ts +3 -6
- package/server/controllers/activity-thread/delegate.ts +4 -7
- package/server/controllers/activity-thread/end.ts +4 -7
- package/server/controllers/activity-thread/save.ts +3 -6
- package/server/controllers/activity-thread/start.ts +4 -11
- package/server/controllers/activity-thread/terminate.ts +3 -7
- package/server/controllers/common.ts +33 -14
- package/server/routes.ts +0 -2
- package/server/service/activity/activity-model-type.ts +4 -4
- package/server/service/activity-instance/activity-instance-history.ts +2 -2
- package/server/service/activity-instance/activity-instance-mutation.ts +11 -15
- package/server/service/activity-instance/activity-instance-subscription.ts +1 -5
- package/server/service/activity-instance/activity-instance-type.ts +17 -11
- package/server/service/activity-instance/activity-instance.ts +2 -2
- package/server/service/activity-template/activity-template-query.ts +10 -0
- package/server/service/activity-thread/activity-thread-mutation.ts +7 -7
- package/server/service/activity-thread/activity-thread-subscription.ts +0 -4
- package/server/service/activity-thread/activity-thread-type.ts +1 -1
- package/server/service/activity-thread/activity-thread.ts +1 -1
- package/server/service/activity-thread/event-subscriber.ts +3 -3
- package/server/tsconfig.json +10 -0
- package/things-factory.config.js +2 -2
- package/tsconfig.json +0 -9
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
2
|
+
var _a, _b, _c, _d;
|
|
12
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
4
|
exports.ActivityInstanceList = exports.ActivityInstancePatch = exports.ActivityInstanceSave = exports.ActivityInstancePost = exports.NewActivityInstance = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
14
6
|
const type_graphql_1 = require("type-graphql");
|
|
15
7
|
const auth_base_1 = require("@things-factory/auth-base");
|
|
16
8
|
const shell_1 = require("@things-factory/shell");
|
|
@@ -18,211 +10,219 @@ const activity_1 = require("../activity/activity");
|
|
|
18
10
|
const activity_instance_1 = require("./activity-instance");
|
|
19
11
|
let NewActivityInstance = class NewActivityInstance {
|
|
20
12
|
};
|
|
21
|
-
__decorate([
|
|
13
|
+
tslib_1.__decorate([
|
|
22
14
|
(0, type_graphql_1.Field)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
15
|
+
tslib_1.__metadata("design:type", String)
|
|
24
16
|
], NewActivityInstance.prototype, "name", void 0);
|
|
25
|
-
__decorate([
|
|
17
|
+
tslib_1.__decorate([
|
|
26
18
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
27
|
-
__metadata("design:type", String)
|
|
19
|
+
tslib_1.__metadata("design:type", String)
|
|
28
20
|
], NewActivityInstance.prototype, "activityId", void 0);
|
|
29
|
-
__decorate([
|
|
21
|
+
tslib_1.__decorate([
|
|
30
22
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
31
|
-
__metadata("design:type", String)
|
|
23
|
+
tslib_1.__metadata("design:type", String)
|
|
32
24
|
], NewActivityInstance.prototype, "description", void 0);
|
|
33
|
-
__decorate([
|
|
25
|
+
tslib_1.__decorate([
|
|
34
26
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
27
|
+
tslib_1.__metadata("design:type", Number)
|
|
36
28
|
], NewActivityInstance.prototype, "priority", void 0);
|
|
37
|
-
__decorate([
|
|
29
|
+
tslib_1.__decorate([
|
|
38
30
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
39
|
-
__metadata("design:type", String)
|
|
31
|
+
tslib_1.__metadata("design:type", String)
|
|
40
32
|
], NewActivityInstance.prototype, "reason", void 0);
|
|
41
|
-
__decorate([
|
|
33
|
+
tslib_1.__decorate([
|
|
42
34
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
35
|
+
tslib_1.__metadata("design:type", Number)
|
|
44
36
|
], NewActivityInstance.prototype, "threadsMin", void 0);
|
|
45
|
-
__decorate([
|
|
37
|
+
tslib_1.__decorate([
|
|
46
38
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
39
|
+
tslib_1.__metadata("design:type", Number)
|
|
48
40
|
], NewActivityInstance.prototype, "threadsMax", void 0);
|
|
49
|
-
__decorate([
|
|
41
|
+
tslib_1.__decorate([
|
|
50
42
|
(0, type_graphql_1.Field)(type => shell_1.ScalarDate, { nullable: true }),
|
|
51
|
-
__metadata("design:type",
|
|
43
|
+
tslib_1.__metadata("design:type", Date)
|
|
52
44
|
], NewActivityInstance.prototype, "dueAt", void 0);
|
|
53
|
-
__decorate([
|
|
45
|
+
tslib_1.__decorate([
|
|
54
46
|
(0, type_graphql_1.Field)(type => shell_1.ScalarObject, { nullable: true }),
|
|
55
|
-
__metadata("design:type",
|
|
47
|
+
tslib_1.__metadata("design:type", Object)
|
|
56
48
|
], NewActivityInstance.prototype, "input", void 0);
|
|
57
|
-
__decorate([
|
|
49
|
+
tslib_1.__decorate([
|
|
58
50
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
51
|
+
tslib_1.__metadata("design:type", String)
|
|
60
52
|
], NewActivityInstance.prototype, "adhocType", void 0);
|
|
61
|
-
__decorate([
|
|
53
|
+
tslib_1.__decorate([
|
|
62
54
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
|
-
__metadata("design:type", String)
|
|
55
|
+
tslib_1.__metadata("design:type", String)
|
|
64
56
|
], NewActivityInstance.prototype, "refBy", void 0);
|
|
65
|
-
__decorate([
|
|
57
|
+
tslib_1.__decorate([
|
|
66
58
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
59
|
+
tslib_1.__metadata("design:type", String)
|
|
68
60
|
], NewActivityInstance.prototype, "activityType", void 0);
|
|
69
|
-
__decorate([
|
|
61
|
+
tslib_1.__decorate([
|
|
70
62
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
71
|
-
__metadata("design:type", String)
|
|
63
|
+
tslib_1.__metadata("design:type", String)
|
|
72
64
|
], NewActivityInstance.prototype, "uiType", void 0);
|
|
73
|
-
__decorate([
|
|
65
|
+
tslib_1.__decorate([
|
|
74
66
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
75
|
-
__metadata("design:type", String)
|
|
67
|
+
tslib_1.__metadata("design:type", String)
|
|
76
68
|
], NewActivityInstance.prototype, "uiSource", void 0);
|
|
77
|
-
__decorate([
|
|
69
|
+
tslib_1.__decorate([
|
|
78
70
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
79
|
-
__metadata("design:type", typeof (
|
|
71
|
+
tslib_1.__metadata("design:type", typeof (_a = typeof auth_base_1.Role !== "undefined" && auth_base_1.Role) === "function" ? _a : Object)
|
|
80
72
|
], NewActivityInstance.prototype, "supervisoryRole", void 0);
|
|
81
|
-
__decorate([
|
|
73
|
+
tslib_1.__decorate([
|
|
82
74
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
83
|
-
__metadata("design:type", typeof (
|
|
75
|
+
tslib_1.__metadata("design:type", typeof (_b = typeof auth_base_1.Role !== "undefined" && auth_base_1.Role) === "function" ? _b : Object)
|
|
84
76
|
], NewActivityInstance.prototype, "assigneeRole", void 0);
|
|
85
|
-
NewActivityInstance = __decorate([
|
|
77
|
+
NewActivityInstance = tslib_1.__decorate([
|
|
86
78
|
(0, type_graphql_1.InputType)()
|
|
87
79
|
], NewActivityInstance);
|
|
88
80
|
exports.NewActivityInstance = NewActivityInstance;
|
|
89
81
|
let ActivityInstancePost = class ActivityInstancePost {
|
|
90
82
|
};
|
|
91
|
-
__decorate([
|
|
83
|
+
tslib_1.__decorate([
|
|
92
84
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
|
|
93
|
-
__metadata("design:type", String)
|
|
85
|
+
tslib_1.__metadata("design:type", String)
|
|
94
86
|
], ActivityInstancePost.prototype, "id", void 0);
|
|
95
|
-
__decorate([
|
|
87
|
+
tslib_1.__decorate([
|
|
96
88
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
97
|
-
__metadata("design:type", String)
|
|
89
|
+
tslib_1.__metadata("design:type", String)
|
|
98
90
|
], ActivityInstancePost.prototype, "name", void 0);
|
|
99
|
-
__decorate([
|
|
91
|
+
tslib_1.__decorate([
|
|
100
92
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
101
|
-
__metadata("design:type", String)
|
|
93
|
+
tslib_1.__metadata("design:type", String)
|
|
102
94
|
], ActivityInstancePost.prototype, "activityId", void 0);
|
|
103
|
-
__decorate([
|
|
95
|
+
tslib_1.__decorate([
|
|
104
96
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
105
|
-
__metadata("design:type", String)
|
|
97
|
+
tslib_1.__metadata("design:type", String)
|
|
106
98
|
], ActivityInstancePost.prototype, "description", void 0);
|
|
107
|
-
__decorate([
|
|
99
|
+
tslib_1.__decorate([
|
|
108
100
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
109
|
-
__metadata("design:type", Number)
|
|
101
|
+
tslib_1.__metadata("design:type", Number)
|
|
110
102
|
], ActivityInstancePost.prototype, "priority", void 0);
|
|
111
|
-
__decorate([
|
|
103
|
+
tslib_1.__decorate([
|
|
112
104
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
113
|
-
__metadata("design:type", String)
|
|
105
|
+
tslib_1.__metadata("design:type", String)
|
|
114
106
|
], ActivityInstancePost.prototype, "reason", void 0);
|
|
115
|
-
__decorate([
|
|
107
|
+
tslib_1.__decorate([
|
|
116
108
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
117
|
-
__metadata("design:type", Number)
|
|
109
|
+
tslib_1.__metadata("design:type", Number)
|
|
118
110
|
], ActivityInstancePost.prototype, "threadsMin", void 0);
|
|
119
|
-
__decorate([
|
|
111
|
+
tslib_1.__decorate([
|
|
120
112
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
121
|
-
__metadata("design:type", Number)
|
|
113
|
+
tslib_1.__metadata("design:type", Number)
|
|
122
114
|
], ActivityInstancePost.prototype, "threadsMax", void 0);
|
|
123
|
-
__decorate([
|
|
115
|
+
tslib_1.__decorate([
|
|
124
116
|
(0, type_graphql_1.Field)(type => shell_1.ScalarDate, { nullable: true }),
|
|
125
|
-
__metadata("design:type",
|
|
117
|
+
tslib_1.__metadata("design:type", Date)
|
|
126
118
|
], ActivityInstancePost.prototype, "dueAt", void 0);
|
|
127
|
-
__decorate([
|
|
119
|
+
tslib_1.__decorate([
|
|
128
120
|
(0, type_graphql_1.Field)(type => shell_1.ScalarObject, { nullable: true }),
|
|
129
|
-
__metadata("design:type",
|
|
121
|
+
tslib_1.__metadata("design:type", Object)
|
|
130
122
|
], ActivityInstancePost.prototype, "input", void 0);
|
|
131
|
-
__decorate([
|
|
123
|
+
tslib_1.__decorate([
|
|
132
124
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
133
|
-
__metadata("design:type", String)
|
|
125
|
+
tslib_1.__metadata("design:type", String)
|
|
134
126
|
], ActivityInstancePost.prototype, "adhocType", void 0);
|
|
135
|
-
__decorate([
|
|
127
|
+
tslib_1.__decorate([
|
|
136
128
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
137
|
-
__metadata("design:type", String)
|
|
129
|
+
tslib_1.__metadata("design:type", String)
|
|
138
130
|
], ActivityInstancePost.prototype, "refBy", void 0);
|
|
139
|
-
__decorate([
|
|
131
|
+
tslib_1.__decorate([
|
|
140
132
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
141
|
-
__metadata("design:type", String)
|
|
133
|
+
tslib_1.__metadata("design:type", String)
|
|
142
134
|
], ActivityInstancePost.prototype, "activityType", void 0);
|
|
143
|
-
__decorate([
|
|
135
|
+
tslib_1.__decorate([
|
|
144
136
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
145
|
-
__metadata("design:type", String)
|
|
137
|
+
tslib_1.__metadata("design:type", String)
|
|
146
138
|
], ActivityInstancePost.prototype, "uiType", void 0);
|
|
147
|
-
__decorate([
|
|
139
|
+
tslib_1.__decorate([
|
|
148
140
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
149
|
-
__metadata("design:type", String)
|
|
141
|
+
tslib_1.__metadata("design:type", String)
|
|
150
142
|
], ActivityInstancePost.prototype, "uiSource", void 0);
|
|
151
|
-
__decorate([
|
|
143
|
+
tslib_1.__decorate([
|
|
152
144
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
153
|
-
__metadata("design:type", typeof (
|
|
145
|
+
tslib_1.__metadata("design:type", typeof (_c = typeof auth_base_1.Role !== "undefined" && auth_base_1.Role) === "function" ? _c : Object)
|
|
154
146
|
], ActivityInstancePost.prototype, "supervisoryRole", void 0);
|
|
155
|
-
__decorate([
|
|
147
|
+
tslib_1.__decorate([
|
|
156
148
|
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
157
|
-
__metadata("design:type", typeof (
|
|
149
|
+
tslib_1.__metadata("design:type", typeof (_d = typeof auth_base_1.Role !== "undefined" && auth_base_1.Role) === "function" ? _d : Object)
|
|
158
150
|
], ActivityInstancePost.prototype, "assigneeRole", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, type_graphql_1.Field)(type => [
|
|
161
|
-
__metadata("design:type", Array)
|
|
151
|
+
tslib_1.__decorate([
|
|
152
|
+
(0, type_graphql_1.Field)(type => [String], { nullable: true, description: 'Email of assignee users' }),
|
|
153
|
+
tslib_1.__metadata("design:type", Array)
|
|
162
154
|
], ActivityInstancePost.prototype, "assignees", void 0);
|
|
163
|
-
ActivityInstancePost = __decorate([
|
|
155
|
+
ActivityInstancePost = tslib_1.__decorate([
|
|
164
156
|
(0, type_graphql_1.InputType)()
|
|
165
157
|
], ActivityInstancePost);
|
|
166
158
|
exports.ActivityInstancePost = ActivityInstancePost;
|
|
167
159
|
let ActivityInstanceSave = class ActivityInstanceSave {
|
|
168
160
|
};
|
|
169
|
-
__decorate([
|
|
161
|
+
tslib_1.__decorate([
|
|
170
162
|
(0, type_graphql_1.Field)(type => shell_1.ScalarObject, { nullable: true }),
|
|
171
|
-
__metadata("design:type",
|
|
163
|
+
tslib_1.__metadata("design:type", Object)
|
|
172
164
|
], ActivityInstanceSave.prototype, "output", void 0);
|
|
173
|
-
ActivityInstanceSave = __decorate([
|
|
165
|
+
ActivityInstanceSave = tslib_1.__decorate([
|
|
174
166
|
(0, type_graphql_1.InputType)()
|
|
175
167
|
], ActivityInstanceSave);
|
|
176
168
|
exports.ActivityInstanceSave = ActivityInstanceSave;
|
|
177
169
|
let ActivityInstancePatch = class ActivityInstancePatch {
|
|
178
170
|
};
|
|
179
|
-
__decorate([
|
|
171
|
+
tslib_1.__decorate([
|
|
180
172
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
|
|
181
|
-
__metadata("design:type", String)
|
|
173
|
+
tslib_1.__metadata("design:type", String)
|
|
182
174
|
], ActivityInstancePatch.prototype, "id", void 0);
|
|
183
|
-
__decorate([
|
|
175
|
+
tslib_1.__decorate([
|
|
184
176
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
185
|
-
__metadata("design:type", String)
|
|
177
|
+
tslib_1.__metadata("design:type", String)
|
|
186
178
|
], ActivityInstancePatch.prototype, "name", void 0);
|
|
187
|
-
__decorate([
|
|
179
|
+
tslib_1.__decorate([
|
|
188
180
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
189
|
-
__metadata("design:type", String)
|
|
181
|
+
tslib_1.__metadata("design:type", String)
|
|
190
182
|
], ActivityInstancePatch.prototype, "description", void 0);
|
|
191
|
-
__decorate([
|
|
183
|
+
tslib_1.__decorate([
|
|
192
184
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
193
|
-
__metadata("design:type", Number)
|
|
185
|
+
tslib_1.__metadata("design:type", Number)
|
|
194
186
|
], ActivityInstancePatch.prototype, "priority", void 0);
|
|
195
|
-
__decorate([
|
|
187
|
+
tslib_1.__decorate([
|
|
196
188
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
197
|
-
__metadata("design:type", String)
|
|
189
|
+
tslib_1.__metadata("design:type", String)
|
|
198
190
|
], ActivityInstancePatch.prototype, "state", void 0);
|
|
199
|
-
__decorate([
|
|
191
|
+
tslib_1.__decorate([
|
|
192
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
193
|
+
tslib_1.__metadata("design:type", Number)
|
|
194
|
+
], ActivityInstancePatch.prototype, "threadsMin", void 0);
|
|
195
|
+
tslib_1.__decorate([
|
|
196
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
197
|
+
tslib_1.__metadata("design:type", Number)
|
|
198
|
+
], ActivityInstancePatch.prototype, "threadsMax", void 0);
|
|
199
|
+
tslib_1.__decorate([
|
|
200
200
|
(0, type_graphql_1.Field)(type => shell_1.ScalarDate, { nullable: true }),
|
|
201
|
-
__metadata("design:type",
|
|
201
|
+
tslib_1.__metadata("design:type", Date)
|
|
202
202
|
], ActivityInstancePatch.prototype, "dueAt", void 0);
|
|
203
|
-
__decorate([
|
|
203
|
+
tslib_1.__decorate([
|
|
204
204
|
(0, type_graphql_1.Field)(type => shell_1.ScalarObject, { nullable: true }),
|
|
205
|
-
__metadata("design:type",
|
|
205
|
+
tslib_1.__metadata("design:type", Object)
|
|
206
206
|
], ActivityInstancePatch.prototype, "input", void 0);
|
|
207
|
-
__decorate([
|
|
207
|
+
tslib_1.__decorate([
|
|
208
208
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
209
|
-
__metadata("design:type", String)
|
|
209
|
+
tslib_1.__metadata("design:type", String)
|
|
210
210
|
], ActivityInstancePatch.prototype, "cuFlag", void 0);
|
|
211
|
-
ActivityInstancePatch = __decorate([
|
|
211
|
+
ActivityInstancePatch = tslib_1.__decorate([
|
|
212
212
|
(0, type_graphql_1.InputType)()
|
|
213
213
|
], ActivityInstancePatch);
|
|
214
214
|
exports.ActivityInstancePatch = ActivityInstancePatch;
|
|
215
215
|
let ActivityInstanceList = class ActivityInstanceList {
|
|
216
216
|
};
|
|
217
|
-
__decorate([
|
|
217
|
+
tslib_1.__decorate([
|
|
218
218
|
(0, type_graphql_1.Field)(type => [activity_instance_1.ActivityInstance]),
|
|
219
|
-
__metadata("design:type", Array)
|
|
219
|
+
tslib_1.__metadata("design:type", Array)
|
|
220
220
|
], ActivityInstanceList.prototype, "items", void 0);
|
|
221
|
-
__decorate([
|
|
221
|
+
tslib_1.__decorate([
|
|
222
222
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int),
|
|
223
|
-
__metadata("design:type", Number)
|
|
223
|
+
tslib_1.__metadata("design:type", Number)
|
|
224
224
|
], ActivityInstanceList.prototype, "total", void 0);
|
|
225
|
-
ActivityInstanceList = __decorate([
|
|
225
|
+
ActivityInstanceList = tslib_1.__decorate([
|
|
226
226
|
(0, type_graphql_1.ObjectType)()
|
|
227
227
|
], ActivityInstanceList);
|
|
228
228
|
exports.ActivityInstanceList = ActivityInstanceList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-instance-type.js","sourceRoot":"","sources":["../../../server/service/activity-instance/activity-instance-type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"activity-instance-type.js","sourceRoot":"","sources":["../../../server/service/activity-instance/activity-instance-type.ts"],"names":[],"mappings":";;;;;AAAA,+CAAoE;AAEpE,yDAAgD;AAChD,iDAA2E;AAE3E,mDAAmE;AACnE,2DAA8E;AAG9E,IAAa,mBAAmB,GAAhC,MAAa,mBAAmB;CAgD/B,CAAA;AA9CC;IADC,IAAA,oBAAK,GAAE;;iDACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;AAGlB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACN;AAGpB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,C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CAAC;;0DACN;AAGpB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACI;AAG9B;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACpB;AAGnB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACpB;AAGnB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACtC,IAAI;oDAAA;AAGZ;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAClB;AAG9B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACX;AA7BJ,qBAAqB;IADjC,IAAA,wBAAS,GAAE;GACC,qBAAqB,CA8BjC;AA9BY,sDAAqB;AAiClC,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;CAMhC,CAAA;AAJC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,oCAAgB,CAAC,CAAC;;mDACT;AAGzB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;mDACN;AALF,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAMhC;AANY,oDAAoB","sourcesContent":["import { Field, ID, InputType, Int, ObjectType } from 'type-graphql'\n\nimport { Role } from '@things-factory/auth-base'\nimport { ObjectRef, ScalarDate, ScalarObject } from '@things-factory/shell'\n\nimport { ActivityType, ActivityUIType } from '../activity/activity'\nimport { ActivityInstance, ActivityInstanceStatus } from './activity-instance'\n\n@InputType()\nexport class NewActivityInstance {\n @Field()\n name: string\n\n @Field({ nullable: true })\n activityId: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n priority?: number\n\n @Field({ nullable: true })\n reason?: string\n\n @Field(type => Int, { nullable: true })\n threadsMin?: number\n\n @Field(type => Int, { nullable: true })\n threadsMax?: number\n\n @Field(type => ScalarDate, { nullable: true })\n dueAt?: Date\n\n @Field(type => ScalarObject, { nullable: true })\n input?: { [key: string]: any }\n\n @Field({ nullable: true })\n adhocType?: string\n\n @Field({ nullable: true })\n refBy?: string\n\n @Field({ nullable: true })\n activityType?: ActivityType\n\n @Field({ nullable: true })\n uiType?: ActivityUIType\n\n @Field({ nullable: true })\n uiSource?: string\n\n @Field(type => ObjectRef, { nullable: true })\n supervisoryRole?: Role\n\n @Field(type => ObjectRef, { nullable: true })\n assigneeRole?: Role\n}\n\n@InputType()\nexport class ActivityInstancePost {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n activityId?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n priority?: number\n\n @Field({ nullable: true })\n reason?: string\n\n @Field(type => Int, { nullable: true })\n threadsMin?: number\n\n @Field(type => Int, { nullable: true })\n threadsMax?: number\n\n @Field(type => ScalarDate, { nullable: true })\n dueAt?: Date\n\n @Field(type => ScalarObject, { nullable: true })\n input?: { [key: string]: any }\n\n @Field({ nullable: true })\n adhocType?: string\n\n @Field({ nullable: true })\n refBy?: string\n\n @Field({ nullable: true })\n activityType?: ActivityType\n\n @Field({ nullable: true })\n uiType?: ActivityUIType\n\n @Field({ nullable: true })\n uiSource?: string\n\n @Field(type => ObjectRef, { nullable: true })\n supervisoryRole?: Role\n\n @Field(type => ObjectRef, { nullable: true })\n assigneeRole?: Role\n\n @Field(type => [String], { nullable: true, description: 'Email of assignee users' })\n assignees?: string[]\n}\n\n@InputType()\nexport class ActivityInstanceSave {\n @Field(type => ScalarObject, { nullable: true })\n output?: { [key: string]: any }\n}\n\n@InputType()\nexport class ActivityInstancePatch {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n priority?: number\n\n @Field({ nullable: true })\n state?: ActivityInstanceStatus\n\n @Field(type => Int, { nullable: true })\n threadsMin?: number\n\n @Field(type => Int, { nullable: true })\n threadsMax?: number\n\n @Field(type => ScalarDate, { nullable: true })\n dueAt?: Date\n\n @Field(type => ScalarObject, { nullable: true })\n input?: { [key: string]: any }\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@ObjectType()\nexport class ActivityInstanceList {\n @Field(type => [ActivityInstance])\n items: ActivityInstance[]\n\n @Field(type => Int)\n total: number\n}\n"]}
|