@cool-digital-solutions/interferir-models 1.3.72 → 1.3.74

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.
@@ -21,6 +21,7 @@ const aiTaskResearchManagerOutputPresentationSubmissionSchema = new mongoose_1.S
21
21
  },
22
22
  startDate: { type: Number },
23
23
  endDate: { type: Number },
24
+ isPrintable: { type: Boolean, default: false },
24
25
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
25
26
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
26
27
  updatedDate: Number,
@@ -86,6 +86,10 @@ const portiaArticleSchema = new mongoose_1.Schema({
86
86
  },
87
87
  ],
88
88
  spark: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Spark', default: null },
89
+ requester: {
90
+ name: { type: String, default: '' },
91
+ aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', default: null },
92
+ },
89
93
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null, index: true },
90
94
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null, index: true },
91
95
  updatedDate: { type: Number, index: -1 },
@@ -58,6 +58,7 @@ export interface IAiTaskResearchManagerOutputPresentationSubmission extends Base
58
58
  };
59
59
  startDate: number;
60
60
  endDate: number;
61
+ isPrintable: boolean;
61
62
  }
62
63
  export interface IAiTaskResearchManagerOutputPresentationSubmissionModel extends BaseModel<IAiTaskResearchManagerOutputPresentationSubmission> {
63
64
  }
@@ -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, ISpark } from './';
26
+ import { ICompany, IImage, IIndustry, ITechnology, ISFCategory, ISFSubCategory, ISFTag, IUseCase, IAiTaskResearchManagerOutput, ISpark, IAiTask } from './';
27
27
  import { BaseModel, BaseSchema } from '../config';
28
28
  export declare enum PortiaArticleTypes {
29
29
  NEWS = "news",
@@ -58,6 +58,10 @@ export interface IPortiaAnalysis {
58
58
  investors?: [String];
59
59
  hasUseCase?: boolean;
60
60
  }
61
+ export interface IRequester {
62
+ name: string;
63
+ aiTask: Types.ObjectId | IAiTask;
64
+ }
61
65
  export declare enum PortiaArticleStatus {
62
66
  DRAFT = "draft",
63
67
  PUBLISH = "publish",
@@ -106,6 +110,7 @@ export interface IPortiaArticle extends BaseSchema {
106
110
  score: number;
107
111
  }[];
108
112
  spark: Types.ObjectId | ISpark;
113
+ requester: IRequester;
109
114
  }
110
115
  export interface IPortiaArticleModel extends BaseModel<IPortiaArticle> {
111
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.3.72",
3
+ "version": "1.3.74",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"