@cool-digital-solutions/interferir-models 1.3.13 → 1.3.14

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.
@@ -130,6 +130,7 @@ const aiHrCandidateSchema = new mongoose_1.Schema({
130
130
  urn: { type: String, default: null },
131
131
  },
132
132
  ],
133
+ experienceYears: { type: Number, required: false },
133
134
  data: { type: Object, default: {} },
134
135
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
135
136
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
@@ -91,6 +91,7 @@ const portiaArticleSchema = new mongoose_1.Schema({
91
91
  score: { type: Number, default: 0 },
92
92
  },
93
93
  ],
94
+ spark: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Spark', default: null },
94
95
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null, index: true },
95
96
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null, index: true },
96
97
  updatedDate: { type: Number, index: -1 },
@@ -121,6 +121,7 @@ export interface IAiHrCandidate extends BaseSchema {
121
121
  experience: IExperience[];
122
122
  education: IEducation[];
123
123
  skills: ISkill[];
124
+ experienceYears: number;
124
125
  data: object;
125
126
  }
126
127
  export interface IAiHrCandidateModel extends BaseModel<IAiHrCandidate> {
@@ -23,7 +23,7 @@
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Types } from 'mongoose';
26
- import { ICompany, IImage, IIndustry, ITechnology, ISFCategory, ISFSubCategory, ISFTag, IUseCase, IAiTaskResearchManagerOutput } from './';
26
+ import { ICompany, IImage, IIndustry, ITechnology, ISFCategory, ISFSubCategory, ISFTag, IUseCase, IAiTaskResearchManagerOutput, ISpark } from './';
27
27
  import { BaseModel, BaseSchema } from '../config';
28
28
  export declare enum PortiaArticleTypes {
29
29
  NEWS = "news",
@@ -109,6 +109,7 @@ export interface IPortiaArticle extends BaseSchema {
109
109
  aiTask: Types.ObjectId;
110
110
  score: number;
111
111
  }[];
112
+ spark: Types.ObjectId | ISpark;
112
113
  }
113
114
  export interface IPortiaArticleModel extends BaseModel<IPortiaArticle> {
114
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"