c2-clinical 1.0.70 → 1.0.72

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