@cool-digital-solutions/interferir-models 1.1.76 → 1.1.78
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.
- package/dist/schemas/ai-task-research-manager-output.schema.js +1 -0
- package/dist/schemas/spark-use-case.schema.js +1 -1
- package/dist/schemas/spark.schema.js +1 -0
- package/dist/types/general-config.type.d.ts +1 -0
- package/dist/types/general-config.type.js +1 -0
- package/dist/types/spark-use-case.type.d.ts +1 -1
- package/dist/types/spark.type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ const aiTaskResearchManagerOutputSchema = new mongoose_1.Schema({
|
|
|
12
12
|
content: { type: String, default: '' },
|
|
13
13
|
order: { type: Number },
|
|
14
14
|
parentId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'IAiTaskResearchManagerOutput', default: null },
|
|
15
|
+
references: [{ type: Object }],
|
|
15
16
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
16
17
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
17
18
|
updatedDate: Number,
|
|
@@ -11,7 +11,7 @@ const _config_1 = require("../config");
|
|
|
11
11
|
const sparkUseCaseSchema = new mongoose_1.Schema({
|
|
12
12
|
owner: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
13
13
|
slug: { type: String, required: [true, 'slug is required!'], unique: true },
|
|
14
|
-
spark: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Spark', index: 1, required: [true, 'spark is required'] },
|
|
14
|
+
spark: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Spark', index: 1, required: [true, 'spark is required'] }],
|
|
15
15
|
priority: { type: String, required: [true, 'priority is required'], enum: Object.values(spark_type_1.SparkPriorityList) },
|
|
16
16
|
priorityLevel: { type: Number, default: 0 },
|
|
17
17
|
status: {
|
|
@@ -55,6 +55,7 @@ const sparkSchema = new mongoose_1.Schema({
|
|
|
55
55
|
status: { type: String, enum: Object.values(spark_type_1.CronJobStatus), default: spark_type_1.CronJobStatus.PENDING },
|
|
56
56
|
message: [{ type: String, default: '' }],
|
|
57
57
|
},
|
|
58
|
+
isSentToEntramind: { type: Boolean, default: true },
|
|
58
59
|
rawContent: { type: String, default: '' },
|
|
59
60
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
60
61
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -53,6 +53,7 @@ export declare enum Key {
|
|
|
53
53
|
EMAIL = "email",
|
|
54
54
|
DOMAIN = "domain",
|
|
55
55
|
CONTACT_US_FOR_INSTANT_RESEARCH_IN_STARTUP_PROD = "contact_us_for_instant_research_in_startup_prod",
|
|
56
|
+
SENT_TO_ENTRAMIND_MINUTES = "sent_to_entramind_minutes",
|
|
56
57
|
MINUTE = "minute",
|
|
57
58
|
RESEARCH_BETA = "research_beta",
|
|
58
59
|
RESEARCH_PROD = "research_prod"
|
|
@@ -32,6 +32,7 @@ var Key;
|
|
|
32
32
|
Key["EMAIL"] = "email";
|
|
33
33
|
Key["DOMAIN"] = "domain";
|
|
34
34
|
Key["CONTACT_US_FOR_INSTANT_RESEARCH_IN_STARTUP_PROD"] = "contact_us_for_instant_research_in_startup_prod";
|
|
35
|
+
Key["SENT_TO_ENTRAMIND_MINUTES"] = "sent_to_entramind_minutes";
|
|
35
36
|
Key["MINUTE"] = "minute";
|
|
36
37
|
Key["RESEARCH_BETA"] = "research_beta";
|
|
37
38
|
Key["RESEARCH_PROD"] = "research_prod";
|
|
@@ -49,7 +49,7 @@ interface EntramindDetailedResponse {
|
|
|
49
49
|
}
|
|
50
50
|
export interface ISparkUseCase extends BaseSchema {
|
|
51
51
|
owner: Types.ObjectId | IUser;
|
|
52
|
-
spark: Types.ObjectId | ISpark;
|
|
52
|
+
spark: Types.ObjectId[] | ISpark[];
|
|
53
53
|
priority: SparkPriorityList;
|
|
54
54
|
priorityLevel: number;
|
|
55
55
|
status: SparkUseCaseStatusList;
|