easywork-common-lib 1.0.500 → 1.0.502
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/.gitattributes +2 -2
- package/.github/workflows/npm-publish.yml +33 -33
- package/.vscode/settings.json +12 -12
- package/dist/common/enums/tools.enum.js.map +1 -1
- package/dist/entities/tools/calendar/event.entity.js +54 -19
- package/dist/entities/tools/calendar/event.entity.js.map +1 -1
- package/dist/entities/tools/task.entity.d.ts +2 -0
- package/dist/entities/tools/task.entity.js +116 -29
- package/dist/entities/tools/task.entity.js.map +1 -1
- package/dist/grpc/drive/drive.proto +181 -181
- package/justfile +8 -8
- package/package.json +45 -45
- package/scripts/bump.sh +5 -5
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +25 -25
- package/tsconfig.tsbuildinfo +1 -1
package/.gitattributes
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# Auto detect text files and perform LF normalization
|
|
2
|
-
* text=auto
|
|
1
|
+
# Auto detect text files and perform LF normalization
|
|
2
|
+
* text=auto
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Package
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
release:
|
|
8
|
-
types: [created]
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v4
|
|
15
|
-
- uses: actions/setup-node@v4
|
|
16
|
-
with:
|
|
17
|
-
node-version: 20
|
|
18
|
-
- run: npm ci
|
|
19
|
-
- run: npm test
|
|
20
|
-
|
|
21
|
-
publish-npm:
|
|
22
|
-
needs: build
|
|
23
|
-
runs-on: ubuntu-latest
|
|
24
|
-
steps:
|
|
25
|
-
- uses: actions/checkout@v4
|
|
26
|
-
- uses: actions/setup-node@v4
|
|
27
|
-
with:
|
|
28
|
-
node-version: 20
|
|
29
|
-
registry-url: https://registry.npmjs.org/
|
|
30
|
-
- run: npm ci
|
|
31
|
-
- run: npm publish
|
|
32
|
-
env:
|
|
33
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [created]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
|
+
with:
|
|
17
|
+
node-version: 20
|
|
18
|
+
- run: npm ci
|
|
19
|
+
- run: npm test
|
|
20
|
+
|
|
21
|
+
publish-npm:
|
|
22
|
+
needs: build
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v4
|
|
26
|
+
- uses: actions/setup-node@v4
|
|
27
|
+
with:
|
|
28
|
+
node-version: 20
|
|
29
|
+
registry-url: https://registry.npmjs.org/
|
|
30
|
+
- run: npm ci
|
|
31
|
+
- run: npm publish
|
|
32
|
+
env:
|
|
33
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
package/.vscode/settings.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
"autoBarrel.language.defaultLanguage": "TypeScript",
|
|
3
|
-
"autoBarrel.files.disableRecursiveBarrelling": false,
|
|
4
|
-
"autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
|
|
5
|
-
"autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
|
|
6
|
-
"autoBarrel.files.keepExtensionOnExport": false,
|
|
7
|
-
"autoBarrel.files.detectExportsInFiles": false,
|
|
8
|
-
"autoBarrel.files.exportDefaultFilename": "filename",
|
|
9
|
-
"autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
|
|
10
|
-
"autoBarrel.formatting.useSingleQuotes": true,
|
|
11
|
-
"autoBarrel.formatting.endOfLine": "lf",
|
|
12
|
-
"autoBarrel.formatting.insertFinalNewline": true,
|
|
1
|
+
{
|
|
2
|
+
"autoBarrel.language.defaultLanguage": "TypeScript",
|
|
3
|
+
"autoBarrel.files.disableRecursiveBarrelling": false,
|
|
4
|
+
"autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
|
|
5
|
+
"autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
|
|
6
|
+
"autoBarrel.files.keepExtensionOnExport": false,
|
|
7
|
+
"autoBarrel.files.detectExportsInFiles": false,
|
|
8
|
+
"autoBarrel.files.exportDefaultFilename": "filename",
|
|
9
|
+
"autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
|
|
10
|
+
"autoBarrel.formatting.useSingleQuotes": true,
|
|
11
|
+
"autoBarrel.formatting.endOfLine": "lf",
|
|
12
|
+
"autoBarrel.formatting.insertFinalNewline": true,
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.enum.js","sourceRoot":"","sources":["../../../src/common/enums/tools.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;
|
|
1
|
+
{"version":3,"file":"tools.enum.js","sourceRoot":"","sources":["../../../src/common/enums/tools.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;IACvB,+CAAiC,CAAA;AACnC,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,kCAAmB,CAAA;AACrB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,mCAAmB,CAAA;IACnB,6BAAa,CAAA;AACf,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,kCAAe,CAAA;AACjB,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B"}
|
|
@@ -37,41 +37,53 @@ let EventCalendar = class EventCalendar extends base_entity_1.EntityBase {
|
|
|
37
37
|
};
|
|
38
38
|
exports.EventCalendar = EventCalendar;
|
|
39
39
|
__decorate([
|
|
40
|
-
(0, swagger_1.ApiProperty)({ type: String, description:
|
|
40
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Name of the event", minLength: 3 }),
|
|
41
41
|
(0, class_validator_1.MinLength)(3),
|
|
42
42
|
(0, typeorm_1.Column)({ unique: false, nullable: false }),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
44
|
], EventCalendar.prototype, "name", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({ type: String, description:
|
|
46
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Description of the event" }),
|
|
47
47
|
(0, typeorm_1.Column)({ type: "text" }),
|
|
48
48
|
__metadata("design:type", String)
|
|
49
49
|
], EventCalendar.prototype, "description", void 0);
|
|
50
50
|
__decorate([
|
|
51
|
-
(0, swagger_1.ApiProperty)({
|
|
51
|
+
(0, swagger_1.ApiProperty)({
|
|
52
|
+
type: Date,
|
|
53
|
+
description: "Start time of the event",
|
|
54
|
+
required: false,
|
|
55
|
+
}),
|
|
52
56
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
53
57
|
__metadata("design:type", Date)
|
|
54
58
|
], EventCalendar.prototype, "startTime", void 0);
|
|
55
59
|
__decorate([
|
|
56
|
-
(0, swagger_1.ApiProperty)({
|
|
60
|
+
(0, swagger_1.ApiProperty)({
|
|
61
|
+
type: Date,
|
|
62
|
+
description: "End time of the event",
|
|
63
|
+
required: false,
|
|
64
|
+
}),
|
|
57
65
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
58
66
|
__metadata("design:type", Date)
|
|
59
67
|
], EventCalendar.prototype, "endTime", void 0);
|
|
60
68
|
__decorate([
|
|
61
69
|
(0, swagger_1.ApiProperty)({
|
|
62
70
|
enum: common_1.EventRepeatMode,
|
|
63
|
-
description:
|
|
64
|
-
default: common_1.EventRepeatMode.NONE
|
|
71
|
+
description: "Retición",
|
|
72
|
+
default: common_1.EventRepeatMode.NONE,
|
|
65
73
|
}),
|
|
66
74
|
(0, typeorm_1.Column)({
|
|
67
75
|
type: "enum",
|
|
68
76
|
enum: common_1.EventRepeatMode,
|
|
69
|
-
default: common_1.EventRepeatMode.NONE
|
|
77
|
+
default: common_1.EventRepeatMode.NONE,
|
|
70
78
|
}),
|
|
71
79
|
__metadata("design:type", String)
|
|
72
80
|
], EventCalendar.prototype, "repeat", void 0);
|
|
73
81
|
__decorate([
|
|
74
|
-
(0, swagger_1.ApiProperty)({
|
|
82
|
+
(0, swagger_1.ApiProperty)({
|
|
83
|
+
type: () => [user_entity_1.User],
|
|
84
|
+
description: "Participants in the event",
|
|
85
|
+
required: false,
|
|
86
|
+
}),
|
|
75
87
|
(0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
|
|
76
88
|
onDelete: "CASCADE",
|
|
77
89
|
onUpdate: "CASCADE",
|
|
@@ -80,42 +92,57 @@ __decorate([
|
|
|
80
92
|
__metadata("design:type", Array)
|
|
81
93
|
], EventCalendar.prototype, "participants", void 0);
|
|
82
94
|
__decorate([
|
|
83
|
-
(0, swagger_1.ApiProperty)({ type: Date, description:
|
|
95
|
+
(0, swagger_1.ApiProperty)({ type: Date, description: "Reminder time", required: false }),
|
|
84
96
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
85
97
|
__metadata("design:type", Date)
|
|
86
98
|
], EventCalendar.prototype, "reminder", void 0);
|
|
87
99
|
__decorate([
|
|
88
|
-
(0, swagger_1.ApiProperty)({ type: String, description:
|
|
100
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Color of the event" }),
|
|
89
101
|
(0, typeorm_1.Column)({ type: String }),
|
|
90
102
|
__metadata("design:type", String)
|
|
91
103
|
], EventCalendar.prototype, "color", void 0);
|
|
92
104
|
__decorate([
|
|
93
|
-
(0, swagger_1.ApiProperty)({
|
|
105
|
+
(0, swagger_1.ApiProperty)({
|
|
106
|
+
type: String,
|
|
107
|
+
description: "User availability during the event",
|
|
108
|
+
}),
|
|
94
109
|
(0, typeorm_1.Column)({ type: String }),
|
|
95
110
|
__metadata("design:type", String)
|
|
96
111
|
], EventCalendar.prototype, "availability", void 0);
|
|
97
112
|
__decorate([
|
|
98
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description:
|
|
113
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: "¿Private?", default: false }),
|
|
99
114
|
(0, typeorm_1.Column)({ default: false }),
|
|
100
115
|
__metadata("design:type", Boolean)
|
|
101
116
|
], EventCalendar.prototype, "private", void 0);
|
|
102
117
|
__decorate([
|
|
103
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, description:
|
|
118
|
+
(0, swagger_1.ApiProperty)({ type: Boolean, description: "Important?", default: false }),
|
|
104
119
|
(0, typeorm_1.Column)({ default: false }),
|
|
105
120
|
__metadata("design:type", Boolean)
|
|
106
121
|
], EventCalendar.prototype, "important", void 0);
|
|
107
122
|
__decorate([
|
|
108
|
-
(0, swagger_1.ApiProperty)({
|
|
123
|
+
(0, swagger_1.ApiProperty)({
|
|
124
|
+
type: Boolean,
|
|
125
|
+
description: "Event during all Day?",
|
|
126
|
+
default: false,
|
|
127
|
+
}),
|
|
109
128
|
(0, typeorm_1.Column)({ default: false }),
|
|
110
129
|
__metadata("design:type", Boolean)
|
|
111
130
|
], EventCalendar.prototype, "allDay", void 0);
|
|
112
131
|
__decorate([
|
|
113
|
-
(0, swagger_1.ApiProperty)({
|
|
132
|
+
(0, swagger_1.ApiProperty)({
|
|
133
|
+
type: String,
|
|
134
|
+
description: "Google event id",
|
|
135
|
+
required: false,
|
|
136
|
+
}),
|
|
114
137
|
(0, typeorm_1.Column)({ type: String, nullable: true }),
|
|
115
138
|
__metadata("design:type", String)
|
|
116
139
|
], EventCalendar.prototype, "googleId", void 0);
|
|
117
140
|
__decorate([
|
|
118
|
-
(0, swagger_1.ApiProperty)({
|
|
141
|
+
(0, swagger_1.ApiProperty)({
|
|
142
|
+
type: () => user_entity_1.User,
|
|
143
|
+
description: "User who created the event",
|
|
144
|
+
required: false,
|
|
145
|
+
}),
|
|
119
146
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
120
147
|
onDelete: "SET NULL",
|
|
121
148
|
onUpdate: "CASCADE",
|
|
@@ -125,7 +152,11 @@ __decorate([
|
|
|
125
152
|
__metadata("design:type", user_entity_1.User)
|
|
126
153
|
], EventCalendar.prototype, "createdBy", void 0);
|
|
127
154
|
__decorate([
|
|
128
|
-
(0, swagger_1.ApiProperty)({
|
|
155
|
+
(0, swagger_1.ApiProperty)({
|
|
156
|
+
type: () => user_entity_1.User,
|
|
157
|
+
description: "User who modified the event",
|
|
158
|
+
required: false,
|
|
159
|
+
}),
|
|
129
160
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
130
161
|
onDelete: "SET NULL",
|
|
131
162
|
onUpdate: "CASCADE",
|
|
@@ -135,8 +166,12 @@ __decorate([
|
|
|
135
166
|
__metadata("design:type", user_entity_1.User)
|
|
136
167
|
], EventCalendar.prototype, "modifiedBy", void 0);
|
|
137
168
|
__decorate([
|
|
138
|
-
(0, swagger_1.ApiProperty)({
|
|
139
|
-
|
|
169
|
+
(0, swagger_1.ApiProperty)({
|
|
170
|
+
type: () => [tools_1.EventCRM],
|
|
171
|
+
description: "CRM entries associated with the event",
|
|
172
|
+
required: false,
|
|
173
|
+
}),
|
|
174
|
+
(0, typeorm_1.OneToMany)(() => tools_1.EventCRM, (eventCRM) => eventCRM.event, {
|
|
140
175
|
onDelete: "CASCADE",
|
|
141
176
|
onUpdate: "CASCADE",
|
|
142
177
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"event.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,qCAQiB;AACjB,6CAA8C;AAC9C,sEAAkE;AAClE,4CAAkD;AAClD,mDAAyC;AACzC,+CAA+C;AAGxC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAU;IAI3C,IAAI,CAAS;IAIb,WAAW,CAAS;IAQpB,SAAS,CAAO;IAQhB,OAAO,CAAO;IAYd,MAAM,CAAkB;IAYxB,YAAY,CAAU;IAItB,QAAQ,CAAO;IAIf,KAAK,CAAS;IAOd,YAAY,CAAS;IAIrB,OAAO,CAAU;IAIjB,SAAS,CAAU;IAQnB,MAAM,CAAU;IAQhB,QAAQ,CAAS;IAajB,SAAS,CAAQ;IAajB,UAAU,CAAQ;IAWlB,GAAG,CAAc;CAClB,CAAA;AA7HY,sCAAa;AAIxB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,SAAS,EAAE,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
6
6
|
import { TaskListField } from "./task-list-field";
|
|
7
7
|
import { TaskCRM } from "../../entities/helpers";
|
|
8
|
+
import { AttachedObject } from "entities/drive";
|
|
8
9
|
export declare class Task extends EntityBase {
|
|
9
10
|
idBitrix: number;
|
|
10
11
|
name: string;
|
|
@@ -31,4 +32,5 @@ export declare class Task extends EntityBase {
|
|
|
31
32
|
crm?: TaskCRM[];
|
|
32
33
|
parentTask?: Task;
|
|
33
34
|
subTasks?: Task[];
|
|
35
|
+
attachedObjects?: AttachedObject[];
|
|
34
36
|
}
|
|
@@ -46,15 +46,20 @@ let Task = class Task extends base_entity_1.EntityBase {
|
|
|
46
46
|
crm;
|
|
47
47
|
parentTask;
|
|
48
48
|
subTasks;
|
|
49
|
+
attachedObjects;
|
|
49
50
|
};
|
|
50
51
|
exports.Task = Task;
|
|
51
52
|
__decorate([
|
|
52
|
-
(0, swagger_1.ApiProperty)({
|
|
53
|
+
(0, swagger_1.ApiProperty)({
|
|
54
|
+
type: Number,
|
|
55
|
+
description: "Bitrix ID of the policy",
|
|
56
|
+
required: false,
|
|
57
|
+
}),
|
|
53
58
|
(0, typeorm_1.Column)({ name: "id_bitrix", nullable: true }),
|
|
54
59
|
__metadata("design:type", Number)
|
|
55
60
|
], Task.prototype, "idBitrix", void 0);
|
|
56
61
|
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({ type: String, description:
|
|
62
|
+
(0, swagger_1.ApiProperty)({ type: String, description: "Name of the task", minLength: 3 }),
|
|
58
63
|
(0, class_validator_1.MinLength)(3),
|
|
59
64
|
(0, typeorm_1.Column)({ unique: false, nullable: false }),
|
|
60
65
|
__metadata("design:type", String)
|
|
@@ -65,70 +70,114 @@ __decorate([
|
|
|
65
70
|
__metadata("design:type", Number)
|
|
66
71
|
], Task.prototype, "number", void 0);
|
|
67
72
|
__decorate([
|
|
68
|
-
(0, swagger_1.ApiProperty)({
|
|
73
|
+
(0, swagger_1.ApiProperty)({
|
|
74
|
+
type: String,
|
|
75
|
+
description: "Description of the task",
|
|
76
|
+
required: false,
|
|
77
|
+
}),
|
|
69
78
|
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
70
79
|
__metadata("design:type", String)
|
|
71
80
|
], Task.prototype, "description", void 0);
|
|
72
81
|
__decorate([
|
|
73
|
-
(0, swagger_1.ApiProperty)({
|
|
82
|
+
(0, swagger_1.ApiProperty)({
|
|
83
|
+
type: Date,
|
|
84
|
+
description: "Deadline of the task",
|
|
85
|
+
required: false,
|
|
86
|
+
}),
|
|
74
87
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
75
88
|
__metadata("design:type", Date)
|
|
76
89
|
], Task.prototype, "deadline", void 0);
|
|
77
90
|
__decorate([
|
|
78
|
-
(0, swagger_1.ApiProperty)({
|
|
91
|
+
(0, swagger_1.ApiProperty)({
|
|
92
|
+
type: Date,
|
|
93
|
+
description: "Start time of the task",
|
|
94
|
+
required: false,
|
|
95
|
+
}),
|
|
79
96
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
80
97
|
__metadata("design:type", Date)
|
|
81
98
|
], Task.prototype, "startTime", void 0);
|
|
82
99
|
__decorate([
|
|
83
|
-
(0, swagger_1.ApiProperty)({
|
|
100
|
+
(0, swagger_1.ApiProperty)({
|
|
101
|
+
type: Date,
|
|
102
|
+
description: "Completion time of the task",
|
|
103
|
+
required: false,
|
|
104
|
+
}),
|
|
84
105
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
85
106
|
__metadata("design:type", Date)
|
|
86
107
|
], Task.prototype, "completedTime", void 0);
|
|
87
108
|
__decorate([
|
|
88
|
-
(0, swagger_1.ApiProperty)({
|
|
109
|
+
(0, swagger_1.ApiProperty)({
|
|
110
|
+
type: Boolean,
|
|
111
|
+
description: "Does the task require revision?",
|
|
112
|
+
default: false,
|
|
113
|
+
}),
|
|
89
114
|
(0, typeorm_1.Column)({ default: false }),
|
|
90
115
|
__metadata("design:type", Boolean)
|
|
91
116
|
], Task.prototype, "requireRevision", void 0);
|
|
92
117
|
__decorate([
|
|
93
|
-
(0, swagger_1.ApiProperty)({
|
|
118
|
+
(0, swagger_1.ApiProperty)({
|
|
119
|
+
type: Boolean,
|
|
120
|
+
description: "Does the task require a summary?",
|
|
121
|
+
default: false,
|
|
122
|
+
}),
|
|
94
123
|
(0, typeorm_1.Column)({ default: false }),
|
|
95
124
|
__metadata("design:type", Boolean)
|
|
96
125
|
], Task.prototype, "requireSummary", void 0);
|
|
97
126
|
__decorate([
|
|
98
|
-
(0, swagger_1.ApiProperty)({
|
|
127
|
+
(0, swagger_1.ApiProperty)({
|
|
128
|
+
type: Boolean,
|
|
129
|
+
description: "Can the responsible user change the date?",
|
|
130
|
+
default: false,
|
|
131
|
+
}),
|
|
99
132
|
(0, typeorm_1.Column)({ default: false }),
|
|
100
133
|
__metadata("design:type", Boolean)
|
|
101
134
|
], Task.prototype, "responsibleCanChangeDate", void 0);
|
|
102
135
|
__decorate([
|
|
103
|
-
(0, swagger_1.ApiProperty)({
|
|
136
|
+
(0, swagger_1.ApiProperty)({
|
|
137
|
+
type: Boolean,
|
|
138
|
+
description: "La tarea es importante?",
|
|
139
|
+
default: false,
|
|
140
|
+
}),
|
|
104
141
|
(0, typeorm_1.Column)({ default: false }),
|
|
105
142
|
__metadata("design:type", Boolean)
|
|
106
143
|
], Task.prototype, "important", void 0);
|
|
107
144
|
__decorate([
|
|
108
145
|
(0, swagger_1.ApiProperty)({
|
|
109
146
|
enum: enums_1.TaskStatus,
|
|
110
|
-
description:
|
|
111
|
-
default: enums_1.TaskStatus.PENDING
|
|
147
|
+
description: "Status of the task",
|
|
148
|
+
default: enums_1.TaskStatus.PENDING,
|
|
112
149
|
}),
|
|
113
150
|
(0, typeorm_1.Column)({
|
|
114
151
|
type: "enum",
|
|
115
152
|
enum: enums_1.TaskStatus,
|
|
116
|
-
default: enums_1.TaskStatus.PENDING
|
|
153
|
+
default: enums_1.TaskStatus.PENDING,
|
|
117
154
|
}),
|
|
118
155
|
__metadata("design:type", String)
|
|
119
156
|
], Task.prototype, "status", void 0);
|
|
120
157
|
__decorate([
|
|
121
|
-
(0, swagger_1.ApiProperty)({
|
|
158
|
+
(0, swagger_1.ApiProperty)({
|
|
159
|
+
type: Boolean,
|
|
160
|
+
description: "Is the task completed?",
|
|
161
|
+
default: false,
|
|
162
|
+
}),
|
|
122
163
|
(0, typeorm_1.Column)({ default: false }),
|
|
123
164
|
__metadata("design:type", Boolean)
|
|
124
165
|
], Task.prototype, "isCompleted", void 0);
|
|
125
166
|
__decorate([
|
|
126
|
-
(0, swagger_1.ApiProperty)({
|
|
167
|
+
(0, swagger_1.ApiProperty)({
|
|
168
|
+
type: Boolean,
|
|
169
|
+
description: "Has the task been reviewed?",
|
|
170
|
+
default: false,
|
|
171
|
+
}),
|
|
127
172
|
(0, typeorm_1.Column)({ default: false }),
|
|
128
173
|
__metadata("design:type", Boolean)
|
|
129
174
|
], Task.prototype, "reviewed", void 0);
|
|
130
175
|
__decorate([
|
|
131
|
-
(0, swagger_1.ApiProperty)({
|
|
176
|
+
(0, swagger_1.ApiProperty)({
|
|
177
|
+
type: () => user_entity_1.User,
|
|
178
|
+
description: "User who created the task",
|
|
179
|
+
required: false,
|
|
180
|
+
}),
|
|
132
181
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
133
182
|
onDelete: "SET NULL",
|
|
134
183
|
onUpdate: "CASCADE",
|
|
@@ -137,7 +186,11 @@ __decorate([
|
|
|
137
186
|
__metadata("design:type", user_entity_1.User)
|
|
138
187
|
], Task.prototype, "createdBy", void 0);
|
|
139
188
|
__decorate([
|
|
140
|
-
(0, swagger_1.ApiProperty)({
|
|
189
|
+
(0, swagger_1.ApiProperty)({
|
|
190
|
+
type: () => user_entity_1.User,
|
|
191
|
+
description: "User who reviewed the task",
|
|
192
|
+
required: false,
|
|
193
|
+
}),
|
|
141
194
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
142
195
|
onDelete: "SET NULL",
|
|
143
196
|
onUpdate: "CASCADE",
|
|
@@ -146,7 +199,11 @@ __decorate([
|
|
|
146
199
|
__metadata("design:type", user_entity_1.User)
|
|
147
200
|
], Task.prototype, "reviewedBy", void 0);
|
|
148
201
|
__decorate([
|
|
149
|
-
(0, swagger_1.ApiProperty)({
|
|
202
|
+
(0, swagger_1.ApiProperty)({
|
|
203
|
+
type: () => [user_entity_1.User],
|
|
204
|
+
description: "Participants in the task",
|
|
205
|
+
required: false,
|
|
206
|
+
}),
|
|
150
207
|
(0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
|
|
151
208
|
onDelete: "CASCADE",
|
|
152
209
|
onUpdate: "CASCADE",
|
|
@@ -155,7 +212,11 @@ __decorate([
|
|
|
155
212
|
__metadata("design:type", Array)
|
|
156
213
|
], Task.prototype, "participants", void 0);
|
|
157
214
|
__decorate([
|
|
158
|
-
(0, swagger_1.ApiProperty)({
|
|
215
|
+
(0, swagger_1.ApiProperty)({
|
|
216
|
+
type: () => [user_entity_1.User],
|
|
217
|
+
description: "Users responsible for the task",
|
|
218
|
+
required: false,
|
|
219
|
+
}),
|
|
159
220
|
(0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
|
|
160
221
|
onDelete: "CASCADE",
|
|
161
222
|
onUpdate: "CASCADE",
|
|
@@ -164,7 +225,11 @@ __decorate([
|
|
|
164
225
|
__metadata("design:type", Array)
|
|
165
226
|
], Task.prototype, "responsible", void 0);
|
|
166
227
|
__decorate([
|
|
167
|
-
(0, swagger_1.ApiProperty)({
|
|
228
|
+
(0, swagger_1.ApiProperty)({
|
|
229
|
+
type: () => [user_entity_1.User],
|
|
230
|
+
description: "Observers of the task",
|
|
231
|
+
required: false,
|
|
232
|
+
}),
|
|
168
233
|
(0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
|
|
169
234
|
onDelete: "CASCADE",
|
|
170
235
|
onUpdate: "CASCADE",
|
|
@@ -173,8 +238,11 @@ __decorate([
|
|
|
173
238
|
__metadata("design:type", Array)
|
|
174
239
|
], Task.prototype, "observers", void 0);
|
|
175
240
|
__decorate([
|
|
176
|
-
(0, swagger_1.ApiProperty)({
|
|
177
|
-
|
|
241
|
+
(0, swagger_1.ApiProperty)({
|
|
242
|
+
type: () => [tag_entity_1.Tag],
|
|
243
|
+
description: "Tags associated with the task",
|
|
244
|
+
}),
|
|
245
|
+
(0, typeorm_1.ManyToMany)(() => tag_entity_1.Tag, (tag) => tag.tasks, {
|
|
178
246
|
onDelete: "CASCADE",
|
|
179
247
|
onUpdate: "CASCADE",
|
|
180
248
|
}),
|
|
@@ -182,18 +250,29 @@ __decorate([
|
|
|
182
250
|
__metadata("design:type", Array)
|
|
183
251
|
], Task.prototype, "tags", void 0);
|
|
184
252
|
__decorate([
|
|
185
|
-
(0, swagger_1.ApiProperty)({
|
|
253
|
+
(0, swagger_1.ApiProperty)({
|
|
254
|
+
type: () => [task_list_field_1.TaskListField],
|
|
255
|
+
description: "List fields associated with the task",
|
|
256
|
+
required: false,
|
|
257
|
+
}),
|
|
186
258
|
(0, typeorm_1.Column)("json", { nullable: true }),
|
|
187
259
|
__metadata("design:type", Array)
|
|
188
260
|
], Task.prototype, "listField", void 0);
|
|
189
261
|
__decorate([
|
|
190
|
-
(0, swagger_1.ApiProperty)({
|
|
191
|
-
|
|
262
|
+
(0, swagger_1.ApiProperty)({
|
|
263
|
+
type: () => [task_comment_entity_1.TaskComment],
|
|
264
|
+
description: "Comments on the task",
|
|
265
|
+
}),
|
|
266
|
+
(0, typeorm_1.OneToMany)(() => task_comment_entity_1.TaskComment, (taskComment) => taskComment.task),
|
|
192
267
|
(0, typeorm_1.JoinColumn)(),
|
|
193
268
|
__metadata("design:type", Array)
|
|
194
269
|
], Task.prototype, "comments", void 0);
|
|
195
270
|
__decorate([
|
|
196
|
-
(0, swagger_1.ApiProperty)({
|
|
271
|
+
(0, swagger_1.ApiProperty)({
|
|
272
|
+
type: () => [helpers_1.TaskCRM],
|
|
273
|
+
description: "CRM entries associated with the task",
|
|
274
|
+
required: false,
|
|
275
|
+
}),
|
|
197
276
|
(0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (taskCRM) => taskCRM.task, {
|
|
198
277
|
onDelete: "CASCADE",
|
|
199
278
|
onUpdate: "CASCADE",
|
|
@@ -201,7 +280,11 @@ __decorate([
|
|
|
201
280
|
__metadata("design:type", Array)
|
|
202
281
|
], Task.prototype, "crm", void 0);
|
|
203
282
|
__decorate([
|
|
204
|
-
(0, swagger_1.ApiProperty)({
|
|
283
|
+
(0, swagger_1.ApiProperty)({
|
|
284
|
+
type: () => Task,
|
|
285
|
+
description: "Parent task",
|
|
286
|
+
required: false,
|
|
287
|
+
}),
|
|
205
288
|
(0, typeorm_1.ManyToOne)(() => Task, {
|
|
206
289
|
onDelete: "CASCADE",
|
|
207
290
|
onUpdate: "CASCADE",
|
|
@@ -211,8 +294,12 @@ __decorate([
|
|
|
211
294
|
__metadata("design:type", Task)
|
|
212
295
|
], Task.prototype, "parentTask", void 0);
|
|
213
296
|
__decorate([
|
|
214
|
-
(0, swagger_1.ApiProperty)({
|
|
215
|
-
|
|
297
|
+
(0, swagger_1.ApiProperty)({
|
|
298
|
+
type: () => [Task],
|
|
299
|
+
description: "Child tasks",
|
|
300
|
+
required: false,
|
|
301
|
+
}),
|
|
302
|
+
(0, typeorm_1.OneToMany)(() => Task, (task) => task.parentTask),
|
|
216
303
|
__metadata("design:type", Array)
|
|
217
304
|
], Task.prototype, "subTasks", void 0);
|
|
218
305
|
exports.Task = Task = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,gDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"task.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,gDAAsC;AACtC,qCASiB;AACjB,+DAAoD;AACpD,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