@grapadigital/shared-schemas 1.0.70 → 1.0.72
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.
|
@@ -132,11 +132,10 @@ export declare class PaymentNew {
|
|
|
132
132
|
title: string;
|
|
133
133
|
requester: Requester;
|
|
134
134
|
type: 'influencer' | 'advisor' | 'supplier' | 'employee';
|
|
135
|
-
influencer
|
|
136
|
-
supplier
|
|
135
|
+
influencer?: Types.ObjectId | Influencer;
|
|
136
|
+
supplier?: Types.ObjectId | Supplier;
|
|
137
137
|
value: number;
|
|
138
138
|
description: string;
|
|
139
|
-
emissionNotes: string;
|
|
140
139
|
processing?: Processing;
|
|
141
140
|
approval?: Approval;
|
|
142
141
|
requested?: Requested;
|
|
@@ -173,10 +173,6 @@ __decorate([
|
|
|
173
173
|
(0, mongoose_1.Prop)(),
|
|
174
174
|
__metadata("design:type", String)
|
|
175
175
|
], PaymentNew.prototype, "description", void 0);
|
|
176
|
-
__decorate([
|
|
177
|
-
(0, mongoose_1.Prop)(),
|
|
178
|
-
__metadata("design:type", String)
|
|
179
|
-
], PaymentNew.prototype, "emissionNotes", void 0);
|
|
180
176
|
__decorate([
|
|
181
177
|
(0, mongoose_1.Prop)({ type: exports.ProcessingSchema, required: false }),
|
|
182
178
|
__metadata("design:type", Processing)
|
package/package.json
CHANGED
|
@@ -76,14 +76,13 @@ export class PaymentNew {
|
|
|
76
76
|
type: 'influencer' | 'advisor' | 'supplier' | 'employee';
|
|
77
77
|
|
|
78
78
|
@Prop({ type: MongooseSchema.Types.ObjectId })
|
|
79
|
-
influencer
|
|
79
|
+
influencer?: Types.ObjectId | Influencer;
|
|
80
80
|
|
|
81
81
|
@Prop({ type: MongooseSchema.Types.ObjectId })
|
|
82
|
-
supplier
|
|
82
|
+
supplier?: Types.ObjectId | Supplier;
|
|
83
83
|
|
|
84
84
|
@Prop() value: number;
|
|
85
85
|
@Prop() description: string;
|
|
86
|
-
@Prop() emissionNotes: string;
|
|
87
86
|
|
|
88
87
|
@Prop({ type: ProcessingSchema, required: false })
|
|
89
88
|
processing?: Processing;
|