@cool-digital-solutions/interferir-models 1.0.14 → 1.0.15

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.
@@ -214,7 +214,7 @@ const companySchema = new mongoose_1.Schema({
214
214
  },
215
215
  },
216
216
  ],
217
- exits: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', required: true }],
217
+ exits: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' }],
218
218
  leadInvestmentCount: { type: Number },
219
219
  investmentCount: { type: Number },
220
220
  portfolioCount: { type: Number },
@@ -174,11 +174,12 @@ interface DeploymentOption {
174
174
  content: string;
175
175
  }
176
176
  export declare enum PivotType {
177
- NO_PIVOT = "noPivot",
177
+ STRONG_PIVOT = "strongPivot",
178
178
  PIVOT = "pivot",
179
+ MILESTONE = "milestone",
179
180
  NULL = ""
180
181
  }
181
- interface Pivot {
182
+ export interface Pivot extends BaseSchema {
182
183
  pivotType: PivotType;
183
184
  firstDate: number;
184
185
  secondDate: number;
@@ -75,7 +75,8 @@ var InvestmentStage;
75
75
  })(InvestmentStage || (exports.InvestmentStage = InvestmentStage = {}));
76
76
  var PivotType;
77
77
  (function (PivotType) {
78
- PivotType["NO_PIVOT"] = "noPivot";
78
+ PivotType["STRONG_PIVOT"] = "strongPivot";
79
79
  PivotType["PIVOT"] = "pivot";
80
+ PivotType["MILESTONE"] = "milestone";
80
81
  PivotType["NULL"] = "";
81
82
  })(PivotType || (exports.PivotType = PivotType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"