@cool-digital-solutions/interferir-models 1.0.29 → 1.0.30

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.
@@ -232,6 +232,7 @@ const companySchema = new mongoose_1.Schema({
232
232
  },
233
233
  ],
234
234
  },
235
+ mergedCompanySlugs: [{ type: String, default: '' }],
235
236
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
236
237
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
237
238
  updatedDate: { type: Number },
@@ -231,7 +231,7 @@ export interface ICompany extends BaseSchema {
231
231
  themeCount: ContentStatusCount | number;
232
232
  newsCount: number;
233
233
  profileDetailUrls: string[];
234
- acquiredBy: ICompany;
234
+ acquiredBy: Types.ObjectId | ICompany;
235
235
  about: string;
236
236
  operatingStatus: OperatingStatus;
237
237
  headquartersLocation: HeadquartersLocation;
@@ -277,6 +277,7 @@ export interface ICompany extends BaseSchema {
277
277
  focusAreaCount: Number;
278
278
  diversitySpotlights: string[];
279
279
  investmentPortfolio: InvestmentPortfolio;
280
+ mergedCompanySlugs: string[];
280
281
  }
281
282
  export interface ICompanyModel extends BaseModel<ICompany> {
282
283
  }
@@ -29,7 +29,7 @@ interface Source {
29
29
  url: string;
30
30
  freeText: string;
31
31
  evidence: Types.ObjectId[] | IEvidence[];
32
- startup: Types.ObjectId[] | ICompany[];
32
+ startup: Types.ObjectId | ICompany;
33
33
  }
34
34
  interface NewsCrawlingTagList {
35
35
  tag: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"