@cool-digital-solutions/interferir-models 1.2.72 → 1.2.73

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.
@@ -15,6 +15,7 @@ const sparkSchema = new mongoose_1.Schema({
15
15
  website: { type: String, default: '' },
16
16
  useCaseSourceList: [{ type: String, required: [true, 'useCaseSource is required'] }],
17
17
  themeList: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Theme', index: true, default: null }],
18
+ useCaseList: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase', index: true, default: null }],
18
19
  priority: { type: String, required: [true, 'priority is required'], enum: Object.values(spark_type_1.SparkPriorityList) },
19
20
  priorityLevel: { type: Number, index: -1, default: 0 },
20
21
  note: { type: String, default: '' },
@@ -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 { IAiTask, ICompany, ITheme } from './';
26
+ import { IAiTask, ICompany, ITheme, IUseCase } from './';
27
27
  import { CompanyTypes } from './company.type';
28
28
  import { BaseModel, BaseSchema } from '../config';
29
29
  export declare enum SparkStatusList {
@@ -91,6 +91,7 @@ export interface ISpark extends BaseSchema {
91
91
  website: string;
92
92
  useCaseSourceList: string[];
93
93
  themeList: Types.ObjectId[] | ITheme[];
94
+ useCaseList: Types.ObjectId[] | IUseCase[];
94
95
  aiTasks: Types.ObjectId[] | IAiTask[];
95
96
  priority: SparkPriorityList;
96
97
  priorityLevel: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.2.72",
3
+ "version": "1.2.73",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"