@grapadigital/shared-schemas 1.0.63 → 1.0.64
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.
|
@@ -137,6 +137,10 @@ __decorate([
|
|
|
137
137
|
(0, mongoose_1.Prop)({ type: Canceled }),
|
|
138
138
|
__metadata("design:type", Canceled)
|
|
139
139
|
], Invoice.prototype, "canceled", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, mongoose_1.Prop)([{ type: String, required: false }]),
|
|
142
|
+
__metadata("design:type", Array)
|
|
143
|
+
], Invoice.prototype, "notes", void 0);
|
|
140
144
|
__decorate([
|
|
141
145
|
(0, mongoose_1.Prop)({ default: Date.now, required: false }),
|
|
142
146
|
__metadata("design:type", Date)
|
|
@@ -101,6 +101,7 @@ export declare class Sale {
|
|
|
101
101
|
negotiation?: Negotiation;
|
|
102
102
|
formalization?: Formalization;
|
|
103
103
|
lost?: Lost;
|
|
104
|
+
notes?: string[];
|
|
104
105
|
profiles?: Types.ObjectId[] | Profile[];
|
|
105
106
|
invoices?: Types.ObjectId[] | Invoice[];
|
|
106
107
|
actions?: Types.ObjectId[] | Action[];
|
|
@@ -284,6 +284,10 @@ __decorate([
|
|
|
284
284
|
(0, mongoose_1.Prop)({ type: Lost }),
|
|
285
285
|
__metadata("design:type", Lost)
|
|
286
286
|
], Sale.prototype, "lost", void 0);
|
|
287
|
+
__decorate([
|
|
288
|
+
(0, mongoose_1.Prop)([{ type: String, required: false }]),
|
|
289
|
+
__metadata("design:type", Array)
|
|
290
|
+
], Sale.prototype, "notes", void 0);
|
|
287
291
|
__decorate([
|
|
288
292
|
(0, mongoose_1.Prop)([
|
|
289
293
|
{
|
package/package.json
CHANGED
|
@@ -123,6 +123,9 @@ export class Sale {
|
|
|
123
123
|
@Prop({ type: Formalization }) formalization?: Formalization;
|
|
124
124
|
@Prop({ type: Lost }) lost?: Lost;
|
|
125
125
|
|
|
126
|
+
@Prop([{ type: String, required: false }])
|
|
127
|
+
notes?: string[];
|
|
128
|
+
|
|
126
129
|
@Prop([
|
|
127
130
|
{
|
|
128
131
|
type: MongooseSchema.Types.ObjectId,
|