c2-clinical 1.0.208 → 1.0.209

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.
@@ -63,7 +63,7 @@ export interface IFormUnit extends IDefault {
63
63
  column: number;
64
64
  type: TypeFormUnitEnum;
65
65
  typeAnswer: TypeAnswerEnum;
66
- defaultAnswer: string;
66
+ defaultAnswer: any;
67
67
  category: CategoryFormEnum;
68
68
  typeButtonAction: TypeButtonAction;
69
69
  variantView: VariantViewEnum;
@@ -336,7 +336,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
336
336
  line?: number | null | undefined;
337
337
  column?: number | null | undefined;
338
338
  typeAnswer?: string | null | undefined;
339
- defaultAnswer?: string | null | undefined;
339
+ defaultAnswer?: any;
340
340
  variantView?: string | null | undefined;
341
341
  typeButtonAction?: string | null | undefined;
342
342
  externalFlowCode?: string | null | undefined;
@@ -484,7 +484,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
484
484
  line?: number | null | undefined;
485
485
  column?: number | null | undefined;
486
486
  typeAnswer?: string | null | undefined;
487
- defaultAnswer?: string | null | undefined;
487
+ defaultAnswer?: any;
488
488
  variantView?: string | null | undefined;
489
489
  typeButtonAction?: string | null | undefined;
490
490
  externalFlowCode?: string | null | undefined;
@@ -632,7 +632,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
632
632
  line?: number | null | undefined;
633
633
  column?: number | null | undefined;
634
634
  typeAnswer?: string | null | undefined;
635
- defaultAnswer?: string | null | undefined;
635
+ defaultAnswer?: any;
636
636
  variantView?: string | null | undefined;
637
637
  typeButtonAction?: string | null | undefined;
638
638
  externalFlowCode?: string | null | undefined;
@@ -51,7 +51,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
51
51
  required: true
52
52
  },
53
53
  typeAnswer: { type: String, enum: enum_1.TypeAnswerEnum },
54
- defaultAnswer: { type: String },
54
+ defaultAnswer: { type: mongoose_1.Schema.Types.Mixed },
55
55
  // PERGUNTAS DEFAULT SAO AS CALCULADAS COM BASE NO PERFIL DO PACIENTE E CALCULADAS AO CARREGAR O FORMULARIO
56
56
  isDefault: { type: Boolean, default: false },
57
57
  category: { type: String, enum: enum_1.CategoryFormEnum, required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.208",
3
+ "version": "1.0.209",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": {
6
6
  "type": "git",