@cool-digital-solutions/interferir-models 1.3.10 → 1.3.12

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.
@@ -11,7 +11,7 @@ const aiTaskResearchManagerOutputSummarySubmissionSchema = new mongoose_1.Schema
11
11
  user: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', required: true, index: true },
12
12
  aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', required: true },
13
13
  status: { type: String, enum: Object.values(ai_task_research_manager_output_summary_submission_type_1.AiTaskResearchManagerOutputSummarySubmissionStatus) },
14
- process: [{ value: { type: Number }, text: { type: String, default: '' }, finishDate: { type: Number } }],
14
+ process: { value: { type: Number }, text: { type: String, default: '' }, finishDate: { type: Number } },
15
15
  paramOptions: { readingTimes: [{ minTime: { type: Number }, maxTime: { type: Number } }], scopes: [{ type: String }] },
16
16
  params: {
17
17
  readingTime: { minTime: { type: Number }, maxTime: { type: Number } },
@@ -48,7 +48,7 @@ export interface IAiTaskResearchManagerOutputSummarySubmission extends BaseSchem
48
48
  aiTask: Types.ObjectId | IAiTask;
49
49
  user: Types.ObjectId | IUser;
50
50
  status: AiTaskResearchManagerOutputSummarySubmissionStatus;
51
- process: Process[];
51
+ process: Process;
52
52
  paramOptions: ParamOptions;
53
53
  params: {
54
54
  readingTime: TimeBracket;
@@ -1,6 +1,6 @@
1
1
  import { BaseModel, BaseSchema } from '../config';
2
2
  export declare enum OtpType {
3
- LOGIN = "LOGIN",
3
+ LOGIN = "login",
4
4
  AI_TASK_SHARE = "aiTaskShare"
5
5
  }
6
6
  export interface IOtp extends BaseSchema {
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OtpType = void 0;
4
4
  var OtpType;
5
5
  (function (OtpType) {
6
- OtpType["LOGIN"] = "LOGIN";
6
+ OtpType["LOGIN"] = "login";
7
7
  OtpType["AI_TASK_SHARE"] = "aiTaskShare";
8
8
  })(OtpType || (exports.OtpType = OtpType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"