c2-clinical 1.0.14 → 1.0.15
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.
|
@@ -202,7 +202,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
202
202
|
formulaToEnable: string;
|
|
203
203
|
code: string;
|
|
204
204
|
active: any;
|
|
205
|
-
form: any;
|
|
206
205
|
options: Types.DocumentArray<{
|
|
207
206
|
description: string;
|
|
208
207
|
sequence: number;
|
|
@@ -268,6 +267,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
268
267
|
account?: any;
|
|
269
268
|
description?: string | null | undefined;
|
|
270
269
|
reference?: any;
|
|
270
|
+
form?: any;
|
|
271
271
|
example?: string | null | undefined;
|
|
272
272
|
parent?: any;
|
|
273
273
|
line?: number | null | undefined;
|
|
@@ -284,7 +284,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
284
284
|
formulaToEnable: string;
|
|
285
285
|
code: string;
|
|
286
286
|
active: any;
|
|
287
|
-
form: any;
|
|
288
287
|
options: Types.DocumentArray<{
|
|
289
288
|
description: string;
|
|
290
289
|
sequence: number;
|
|
@@ -350,6 +349,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
350
349
|
account?: any;
|
|
351
350
|
description?: string | null | undefined;
|
|
352
351
|
reference?: any;
|
|
352
|
+
form?: any;
|
|
353
353
|
example?: string | null | undefined;
|
|
354
354
|
parent?: any;
|
|
355
355
|
line?: number | null | undefined;
|
|
@@ -366,7 +366,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
366
366
|
formulaToEnable: string;
|
|
367
367
|
code: string;
|
|
368
368
|
active: any;
|
|
369
|
-
form: any;
|
|
370
369
|
options: Types.DocumentArray<{
|
|
371
370
|
description: string;
|
|
372
371
|
sequence: number;
|
|
@@ -432,6 +431,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
432
431
|
account?: any;
|
|
433
432
|
description?: string | null | undefined;
|
|
434
433
|
reference?: any;
|
|
434
|
+
form?: any;
|
|
435
435
|
example?: string | null | undefined;
|
|
436
436
|
parent?: any;
|
|
437
437
|
line?: number | null | undefined;
|
|
@@ -91,7 +91,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
|
|
|
91
91
|
//account só é usado quando for montado por uma conta, quando for modelo disponível a todos ele deve estar sem preenchimento
|
|
92
92
|
account: { type: mongoose_1.Schema.Types.ObjectId, ref: "account" },
|
|
93
93
|
reference: { type: mongoose_1.Schema.Types.ObjectId, ref: "form-unit" },
|
|
94
|
-
form: { type: mongoose_1.Schema.Types.ObjectId, ref: "form"
|
|
94
|
+
form: { type: mongoose_1.Schema.Types.ObjectId, ref: "form" },
|
|
95
95
|
sequence: { type: Number, required: true, immutable: true },
|
|
96
96
|
code: { type: String, required: true },
|
|
97
97
|
description: { type: String },
|
|
@@ -123,6 +123,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
|
|
|
123
123
|
});
|
|
124
124
|
exports.FormUnitSchema.index({ account: 1 }, { unique: false });
|
|
125
125
|
exports.FormUnitSchema.index({ form: 1, sequence: 1 }, { unique: true });
|
|
126
|
+
exports.FormUnitSchema.index({ form: 1 }, { unique: false });
|
|
126
127
|
exports.FormUnitSchema.index({ description: 1 }, { unique: false });
|
|
127
128
|
exports.FormUnitSchema.index({ type: 1 }, { unique: false });
|
|
128
129
|
exports.FormUnitSchema.index({ category: 1 }, { unique: false });
|
package/package.json
CHANGED