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

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,
@@ -12,7 +12,6 @@ const strategyGameBoardSchema = new mongoose_1.Schema({
12
12
  user: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', required: true },
13
13
  contentType: { type: String, enum: Object.values(strategy_game_board_type_1.GameBoardContentType), required: true },
14
14
  contentId: { type: mongoose_1.Schema.Types.ObjectId, required: true },
15
- problemId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Problem', default: null },
16
15
  categories: { type: [String], enum: Object.values(strategy_game_board_type_1.GameBoardCategory), required: true },
17
16
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
18
17
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
@@ -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
  }
@@ -24,7 +24,7 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Types } from 'mongoose';
26
26
  import { BaseModel, BaseSchema } from '../config';
27
- import { IUser, ITeam, IProblem } from './';
27
+ import { IUser, ITeam } from './';
28
28
  export declare enum GameBoardCategory {
29
29
  BUILD = "build",
30
30
  PARTNER = "partner",
@@ -33,7 +33,7 @@ export declare enum GameBoardCategory {
33
33
  }
34
34
  export declare enum GameBoardContentType {
35
35
  AGENT_TASK = "agentTask",
36
- USE_CASE = "useCase",
36
+ Problem = "problem",
37
37
  COMPANY = "company"
38
38
  }
39
39
  export interface IStrategyGameBoard extends BaseSchema {
@@ -41,7 +41,6 @@ export interface IStrategyGameBoard extends BaseSchema {
41
41
  user: Types.ObjectId | IUser;
42
42
  contentType: GameBoardContentType;
43
43
  contentId: Types.ObjectId;
44
- problemId: Types.ObjectId | IProblem;
45
44
  categories: GameBoardCategory[];
46
45
  }
47
46
  export interface IStrategyGameBoardModel extends BaseModel<IStrategyGameBoard> {
@@ -11,6 +11,6 @@ var GameBoardCategory;
11
11
  var GameBoardContentType;
12
12
  (function (GameBoardContentType) {
13
13
  GameBoardContentType["AGENT_TASK"] = "agentTask";
14
- GameBoardContentType["USE_CASE"] = "useCase";
14
+ GameBoardContentType["Problem"] = "problem";
15
15
  GameBoardContentType["COMPANY"] = "company";
16
16
  })(GameBoardContentType || (exports.GameBoardContentType = GameBoardContentType = {}));
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.90",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"