@cool-digital-solutions/interferir-models 1.1.97 → 1.1.99

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.
@@ -14,6 +14,7 @@ const aiTaskShareSchema = new mongoose_1.Schema({
14
14
  code: { type: Number, required: true },
15
15
  token: { type: String, required: true },
16
16
  isDeleted: { type: Boolean, default: false },
17
+ deletedUserRequestCount: { type: Number, default: 0 },
17
18
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
18
19
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
19
20
  updatedDate: Number,
@@ -70,6 +70,7 @@ const useCaseSchema = new mongoose_1.Schema({
70
70
  },
71
71
  publishDate: { type: Number, default: 0 },
72
72
  isSyncCompanyTags: { type: Boolean, default: false }, // TODO: erk bu sonra silinecek. eklenmesinin amacı, companyler çok fazla olduğu için tagların sync olanları ve olmayanlarını ayırabilmek.
73
+ aiTaskResearchManagerOutputs: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput' }],
73
74
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
74
75
  createdDate: Number,
75
76
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
@@ -33,6 +33,7 @@ export interface IAiTaskShare extends BaseSchema {
33
33
  code: number;
34
34
  token: string;
35
35
  isDeleted: boolean;
36
+ deletedUserRequestCount: number;
36
37
  }
37
38
  export interface IAiTaskShareModel extends BaseModel<IAiTaskShare> {
38
39
  }
@@ -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 { ITheme, ISFTag, ISFSubCategory, ISFCategory, ITechnology, IProblem, IIndustry, ICompany, IUser, ISparkUseCase } from './';
26
+ import { ITheme, ISFTag, ISFSubCategory, ISFCategory, ITechnology, IProblem, IIndustry, ICompany, IUser, ISparkUseCase, IAiTaskResearchManagerOutput } from './';
27
27
  import { BaseModel, BaseSchema, ContentDraftStatus, ContentStatus } from '../config';
28
28
  interface Source {
29
29
  url: string;
@@ -75,6 +75,7 @@ export interface IUseCase extends BaseSchema {
75
75
  }[];
76
76
  publishDate?: number;
77
77
  isSyncCompanyTags: boolean;
78
+ aiTaskResearchManagerOutputs?: Types.ObjectId[] | IAiTaskResearchManagerOutput[];
78
79
  }
79
80
  export interface IUseCaseModel extends BaseModel<IUseCase> {
80
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.1.97",
3
+ "version": "1.1.99",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"