c2-clinical 1.0.15 → 1.0.16
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,6 +202,7 @@ 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;
|
|
205
206
|
options: Types.DocumentArray<{
|
|
206
207
|
description: string;
|
|
207
208
|
sequence: number;
|
|
@@ -267,7 +268,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
267
268
|
account?: any;
|
|
268
269
|
description?: string | null | undefined;
|
|
269
270
|
reference?: any;
|
|
270
|
-
form?: any;
|
|
271
271
|
example?: string | null | undefined;
|
|
272
272
|
parent?: any;
|
|
273
273
|
line?: number | null | undefined;
|
|
@@ -284,6 +284,7 @@ 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;
|
|
287
288
|
options: Types.DocumentArray<{
|
|
288
289
|
description: string;
|
|
289
290
|
sequence: number;
|
|
@@ -349,7 +350,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
349
350
|
account?: any;
|
|
350
351
|
description?: string | null | undefined;
|
|
351
352
|
reference?: any;
|
|
352
|
-
form?: any;
|
|
353
353
|
example?: string | null | undefined;
|
|
354
354
|
parent?: any;
|
|
355
355
|
line?: number | null | undefined;
|
|
@@ -366,6 +366,7 @@ 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;
|
|
369
370
|
options: Types.DocumentArray<{
|
|
370
371
|
description: string;
|
|
371
372
|
sequence: number;
|
|
@@ -431,7 +432,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
431
432
|
account?: any;
|
|
432
433
|
description?: string | null | undefined;
|
|
433
434
|
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", required: true },
|
|
95
95
|
sequence: { type: Number, required: true, immutable: true },
|
|
96
96
|
code: { type: String, required: true },
|
|
97
97
|
description: { type: String },
|
package/package.json
CHANGED