c2-clinical 1.0.36 → 1.0.37

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.
@@ -28,6 +28,7 @@ export interface IFormUnit extends IDefault {
28
28
  column: number;
29
29
  type: TypeFormUnitEnum;
30
30
  typeAnswer: TypeAnswerEnum;
31
+ defaultAnswer: string;
31
32
  category: CategoryFormEnum;
32
33
  measurementUnit: string;
33
34
  options: IQuestionOption[];
@@ -221,6 +222,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
221
222
  line?: number | null | undefined;
222
223
  column?: number | null | undefined;
223
224
  typeAnswer?: string | null | undefined;
225
+ defaultAnswer?: string | null | undefined;
224
226
  measurementUnit?: string | null | undefined;
225
227
  formulaToAnswer?: string | null | undefined;
226
228
  graphicData?: any;
@@ -303,6 +305,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
303
305
  line?: number | null | undefined;
304
306
  column?: number | null | undefined;
305
307
  typeAnswer?: string | null | undefined;
308
+ defaultAnswer?: string | null | undefined;
306
309
  measurementUnit?: string | null | undefined;
307
310
  formulaToAnswer?: string | null | undefined;
308
311
  graphicData?: any;
@@ -385,6 +388,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
385
388
  line?: number | null | undefined;
386
389
  column?: number | null | undefined;
387
390
  typeAnswer?: string | null | undefined;
391
+ defaultAnswer?: string | null | undefined;
388
392
  measurementUnit?: string | null | undefined;
389
393
  formulaToAnswer?: string | null | undefined;
390
394
  graphicData?: any;
@@ -47,6 +47,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
47
47
  required: true
48
48
  },
49
49
  typeAnswer: { type: String, enum: enum_1.TypeAnswerEnum },
50
+ defaultAnswer: { type: String },
50
51
  category: { type: String, enum: enum_1.CategoryFormEnum, required: true },
51
52
  measurementUnit: { type: String },
52
53
  options: { type: [exports.QuestionOptionSchema] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",