@grapadigital/shared-schemas 1.0.114 → 1.0.116
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.
|
@@ -80,6 +80,9 @@ export declare const ProjectProductionCostSchema: import("mongoose").Schema<Proj
|
|
|
80
80
|
export type ProjectPhase = 'prospect' | 'pending' | 'planning' | 'inProgress' | 'inApproval' | 'done' | 'cold';
|
|
81
81
|
export declare class Project {
|
|
82
82
|
title: string;
|
|
83
|
+
commissionPercentage: number;
|
|
84
|
+
influencerCostType: string;
|
|
85
|
+
otherCostType: string;
|
|
83
86
|
phase?: ProjectPhase;
|
|
84
87
|
profiles?: ProjectProfile[];
|
|
85
88
|
productionCosts?: ProjectProductionCost[];
|
|
@@ -115,6 +115,18 @@ __decorate([
|
|
|
115
115
|
(0, mongoose_1.Prop)({ required: true }),
|
|
116
116
|
__metadata("design:type", String)
|
|
117
117
|
], Project.prototype, "title", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
120
|
+
__metadata("design:type", Number)
|
|
121
|
+
], Project.prototype, "commissionPercentage", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], Project.prototype, "influencerCostType", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
128
|
+
__metadata("design:type", String)
|
|
129
|
+
], Project.prototype, "otherCostType", void 0);
|
|
118
130
|
__decorate([
|
|
119
131
|
(0, mongoose_1.Prop)({
|
|
120
132
|
required: false,
|
package/package.json
CHANGED
|
@@ -89,6 +89,15 @@ export class Project {
|
|
|
89
89
|
@Prop({ required: true })
|
|
90
90
|
title: string;
|
|
91
91
|
|
|
92
|
+
@Prop({ required: false })
|
|
93
|
+
commissionPercentage: number;
|
|
94
|
+
|
|
95
|
+
@Prop({ required: false })
|
|
96
|
+
influencerCostType: string;
|
|
97
|
+
|
|
98
|
+
@Prop({ required: false })
|
|
99
|
+
otherCostType: string;
|
|
100
|
+
|
|
92
101
|
@Prop({
|
|
93
102
|
required: false,
|
|
94
103
|
enum: ['prospect', 'pending', 'planning', 'inProgress', 'inApproval', 'done', 'cold'],
|