c2-clinical 1.0.187 → 1.0.189

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.
@@ -18,6 +18,8 @@ export interface IGroupConfig {
18
18
  show: boolean;
19
19
  description: string;
20
20
  };
21
+ collapsible: boolean;
22
+ readOnly: boolean;
21
23
  }
22
24
  export interface ITip {
23
25
  type: TypeTipEnum;
@@ -103,6 +105,7 @@ export interface IFormUnit extends IDefault {
103
105
  };
104
106
  screenPlacement: number;
105
107
  lineId?: string;
108
+ helper?: string;
106
109
  }
107
110
  export interface IQuestionOption {
108
111
  sequence: number;
@@ -345,6 +348,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
345
348
  labelButtonConfirm?: string | null | undefined;
346
349
  } | null | undefined;
347
350
  groupConfig?: {
351
+ readOnly: boolean;
352
+ collapsible: boolean;
348
353
  tips?: {
349
354
  description: string;
350
355
  show: boolean;
@@ -377,6 +382,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
377
382
  maxSizeInBytes: number;
378
383
  thumbExample?: string | null | undefined;
379
384
  } | null | undefined;
385
+ helper?: string | null | undefined;
380
386
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
381
387
  type: string;
382
388
  required: boolean;
@@ -488,6 +494,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
488
494
  labelButtonConfirm?: string | null | undefined;
489
495
  } | null | undefined;
490
496
  groupConfig?: {
497
+ readOnly: boolean;
498
+ collapsible: boolean;
491
499
  tips?: {
492
500
  description: string;
493
501
  show: boolean;
@@ -520,6 +528,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
520
528
  maxSizeInBytes: number;
521
529
  thumbExample?: string | null | undefined;
522
530
  } | null | undefined;
531
+ helper?: string | null | undefined;
523
532
  }>, {}> & import("mongoose").FlatRecord<{} & {
524
533
  type: string;
525
534
  required: boolean;
@@ -631,6 +640,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
631
640
  labelButtonConfirm?: string | null | undefined;
632
641
  } | null | undefined;
633
642
  groupConfig?: {
643
+ readOnly: boolean;
644
+ collapsible: boolean;
634
645
  tips?: {
635
646
  description: string;
636
647
  show: boolean;
@@ -663,6 +674,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
663
674
  maxSizeInBytes: number;
664
675
  thumbExample?: string | null | undefined;
665
676
  } | null | undefined;
677
+ helper?: string | null | undefined;
666
678
  }> & {
667
679
  _id: Types.ObjectId;
668
680
  } & {
@@ -96,7 +96,9 @@ exports.FormUnitSchema = new mongoose_1.Schema({
96
96
  show: { type: Boolean, default: true },
97
97
  description: { type: String, default: "Habilitar dicas" }
98
98
  }
99
- }
99
+ },
100
+ collapsible: { type: Boolean, default: false },
101
+ readOnly: { type: Boolean, default: false }
100
102
  },
101
103
  _id: false
102
104
  },
@@ -138,7 +140,8 @@ exports.FormUnitSchema = new mongoose_1.Schema({
138
140
  }
139
141
  ],
140
142
  _id: false
141
- }
143
+ },
144
+ helper: { type: String }
142
145
  }, {
143
146
  timestamps: { createdAt: "createdAtDateTime", updatedAt: "updatedAtDateTime" }
144
147
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.187",
3
+ "version": "1.0.189",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": {
6
6
  "type": "git",