@cool-digital-solutions/interferir-models 1.2.88 → 1.2.89

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.
@@ -12,8 +12,8 @@ const aiHrCandidateProfileSchema = new mongoose_1.Schema({
12
12
  reasoning: { type: String, required: true },
13
13
  order: { type: Number },
14
14
  relevancy: { type: String, required: true },
15
- strengths: { type: String, default: '' },
16
- weaknesses: { type: String, default: '' },
15
+ strengths: [{ type: String, default: '' }],
16
+ weaknesses: [{ type: String, default: '' }],
17
17
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
18
18
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
19
19
  updatedDate: Number,
@@ -12,8 +12,8 @@ const aiHrCandidateTopCandidateSchema = new mongoose_1.Schema({
12
12
  reasoning: { type: String, required: true },
13
13
  order: { type: Number },
14
14
  relevancy: { type: String, required: true },
15
- strengths: { type: String, required: true },
16
- weaknesses: { type: String, required: true },
15
+ strengths: [{ type: String, required: true }],
16
+ weaknesses: [{ type: String, required: true }],
17
17
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
18
18
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
19
19
  updatedDate: Number,
@@ -32,8 +32,8 @@ export interface IAiHrCandidateProfile extends BaseSchema {
32
32
  reasoning: string;
33
33
  order: number;
34
34
  relevancy: string;
35
- strengths: string;
36
- weaknesses: string;
35
+ strengths: string[];
36
+ weaknesses: string[];
37
37
  }
38
38
  export interface IAiHrCandidateProfileModel extends BaseModel<IAiHrCandidateProfile> {
39
39
  }
@@ -32,8 +32,8 @@ export interface IAiHrCandidateTopCandidate extends BaseSchema {
32
32
  reasoning: string;
33
33
  order: number;
34
34
  relevancy: string;
35
- strengths: string;
36
- weaknesses: string;
35
+ strengths: string[];
36
+ weaknesses: string[];
37
37
  }
38
38
  export interface IAiHrCandidateTopCandidateModel extends BaseModel<IAiHrCandidateTopCandidate> {
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.2.88",
3
+ "version": "1.2.89",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"