@cool-digital-solutions/interferir-models 1.4.75 → 1.4.77

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.
@@ -45,6 +45,7 @@ const companyMiniSchema = new mongoose_1.Schema({
45
45
  amountUsd: { type: Number, default: 0 },
46
46
  },
47
47
  website: { type: String, default: '' },
48
+ profileDetailUrls: [{ type: String }],
48
49
  }, _config_1.schemaOptions);
49
50
  companyMiniSchema.index({ 'funding.amount': -1 });
50
51
  companyMiniSchema.index({ 'funding.amountUsd': -1 });
@@ -63,5 +64,5 @@ companyMiniSchema.index({ operatingStatus: 1 });
63
64
  companyMiniSchema.index({ investorType: 1 });
64
65
  companyMiniSchema.index({ status: 1, 'funding.amountUsd': -1 });
65
66
  companyMiniSchema.index({ status: 1, updatedDate: -1 });
66
- companyMiniSchema.index({ name: 'text', website: 'text', slug: 'text' });
67
+ companyMiniSchema.index({ slug: 'text', name: 'text', website: 'text', profileDetailUrls: 'text' });
67
68
  exports.default = companyMiniSchema;
@@ -229,6 +229,7 @@ const companySchema = new mongoose_1.Schema({
229
229
  ],
230
230
  },
231
231
  mergedCompanySlugs: [{ type: String, default: '' }],
232
+ isUnlimited: { type: Boolean, default: false },
232
233
  aiContext: { type: String, default: '' },
233
234
  aiHrContext: { type: String, default: '' },
234
235
  creationSource: [{ type: Object }],
@@ -56,6 +56,7 @@ export interface ICompanyMini extends Omit<BaseSchema, 'createdBy' | 'updatedBy'
56
56
  amountUsd: number;
57
57
  };
58
58
  website: string;
59
+ profileDetailUrls: string[];
59
60
  }
60
61
  export interface ICompanyMiniModel extends BaseModel<ICompanyMini> {
61
62
  }
@@ -262,6 +262,7 @@ export interface ICompany extends BaseSchema {
262
262
  industryFocus: string;
263
263
  ticketSize: string;
264
264
  stage: string;
265
+ isUnlimited: boolean;
265
266
  latestBigRelease: string;
266
267
  publishDate?: number;
267
268
  funds: Fund[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.4.75",
3
+ "version": "1.4.77",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"