@grapadigital/shared-schemas 1.0.181 → 1.0.183
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.
|
@@ -109,6 +109,11 @@ __decorate([
|
|
|
109
109
|
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, required: false }),
|
|
110
110
|
__metadata("design:type", mongoose_2.Types.ObjectId)
|
|
111
111
|
], Assignment.prototype, "responsible", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, swagger_1.ApiProperty)({ example: '2026-08-25T00:00:00.000Z', required: false }),
|
|
114
|
+
(0, mongoose_1.Prop)({ type: Date, required: false, default: null }),
|
|
115
|
+
__metadata("design:type", Object)
|
|
116
|
+
], Assignment.prototype, "startDate", void 0);
|
|
112
117
|
__decorate([
|
|
113
118
|
(0, swagger_1.ApiProperty)({ example: '2026-09-01T00:00:00.000Z', required: false }),
|
|
114
119
|
(0, mongoose_1.Prop)({ type: Date, required: false, default: null }),
|
|
@@ -19,6 +19,7 @@ var OrganizationTeam;
|
|
|
19
19
|
OrganizationTeam["ARTISTIC"] = "artistic";
|
|
20
20
|
OrganizationTeam["FINANCIAL"] = "financial";
|
|
21
21
|
OrganizationTeam["COMERCIAL"] = "comercial";
|
|
22
|
+
OrganizationTeam["TECH"] = "tech";
|
|
22
23
|
})(OrganizationTeam = exports.OrganizationTeam || (exports.OrganizationTeam = {}));
|
|
23
24
|
var UserRole;
|
|
24
25
|
(function (UserRole) {
|
package/package.json
CHANGED
|
@@ -104,6 +104,10 @@ export class Assignment {
|
|
|
104
104
|
@Prop({ type: MongooseSchema.Types.ObjectId, required: false })
|
|
105
105
|
responsible?: Types.ObjectId;
|
|
106
106
|
|
|
107
|
+
@ApiProperty({ example: '2026-08-25T00:00:00.000Z', required: false })
|
|
108
|
+
@Prop({ type: Date, required: false, default: null })
|
|
109
|
+
startDate?: Date | null;
|
|
110
|
+
|
|
107
111
|
@ApiProperty({ example: '2026-09-01T00:00:00.000Z', required: false })
|
|
108
112
|
@Prop({ type: Date, required: false, default: null })
|
|
109
113
|
dueDate?: Date | null;
|