c2-clinical 1.0.69 → 1.0.70

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.
@@ -55,7 +55,7 @@ export interface IFormUnit extends IDefault {
55
55
  show: boolean;
56
56
  readOnly: boolean;
57
57
  required: boolean;
58
- codeEnableFreeText: boolean;
58
+ codeEnableFreeText: string;
59
59
  graphicData: any;
60
60
  requestGraphicData: IRequestGraphicData[];
61
61
  children?: IFormUnit[];
@@ -218,6 +218,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
218
218
  }>;
219
219
  show: any;
220
220
  readOnly: any;
221
+ codeEnableFreeText: string;
221
222
  requestGraphicData: Types.DocumentArray<{
222
223
  method: string;
223
224
  url: string;
@@ -270,7 +271,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
270
271
  typeButtonAction?: string | null | undefined;
271
272
  measurementUnit?: string | null | undefined;
272
273
  formulaToAnswer?: string | null | undefined;
273
- codeEnableFreeText?: any;
274
274
  graphicData?: any;
275
275
  modalConfig?: any;
276
276
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
@@ -328,6 +328,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
328
328
  }>;
329
329
  show: any;
330
330
  readOnly: any;
331
+ codeEnableFreeText: string;
331
332
  requestGraphicData: Types.DocumentArray<{
332
333
  method: string;
333
334
  url: string;
@@ -380,7 +381,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
380
381
  typeButtonAction?: string | null | undefined;
381
382
  measurementUnit?: string | null | undefined;
382
383
  formulaToAnswer?: string | null | undefined;
383
- codeEnableFreeText?: any;
384
384
  graphicData?: any;
385
385
  modalConfig?: any;
386
386
  }>, {}> & import("mongoose").FlatRecord<{} & {
@@ -438,6 +438,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
438
438
  }>;
439
439
  show: any;
440
440
  readOnly: any;
441
+ codeEnableFreeText: string;
441
442
  requestGraphicData: Types.DocumentArray<{
442
443
  method: string;
443
444
  url: string;
@@ -490,7 +491,6 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
490
491
  typeButtonAction?: string | null | undefined;
491
492
  measurementUnit?: string | null | undefined;
492
493
  formulaToAnswer?: string | null | undefined;
493
- codeEnableFreeText?: any;
494
494
  graphicData?: any;
495
495
  modalConfig?: any;
496
496
  }> & {
@@ -61,7 +61,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
61
61
  readOnly: { type: Boolean, default: false },
62
62
  required: { type: Boolean, default: false },
63
63
  //DADOS PARA PERGUNTAS CHOICE_SINGLE E CHOICE_MULTIPLE
64
- codeEnableFreeText: { type: Boolean },
64
+ codeEnableFreeText: { type: String, default: "OTHERS" },
65
65
  //DADOS PARA GRAFICOS
66
66
  graphicData: { type: mongoose_1.Schema.Types.Mixed },
67
67
  requestGraphicData: { type: [exports.RequestGraphicDataSchema] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
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>",