c2-clinical 1.0.189 → 1.0.192

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.
@@ -40,19 +40,19 @@ export declare const AnamneseAnswerSchema: Schema<any, import("mongoose").Model<
40
40
  isValid?: {} | null | undefined;
41
41
  };
42
42
  validations: Types.DocumentArray<{
43
- type: string;
44
43
  typeOutput: string;
45
- formulaToMessage: string;
44
+ type?: string | null | undefined;
45
+ formulaToMessage?: string | null | undefined;
46
46
  message?: string | null | undefined;
47
47
  }, Types.Subdocument<Types.ObjectId, any, {
48
- type: string;
49
48
  typeOutput: string;
50
- formulaToMessage: string;
49
+ type?: string | null | undefined;
50
+ formulaToMessage?: string | null | undefined;
51
51
  message?: string | null | undefined;
52
52
  }> & {
53
- type: string;
54
53
  typeOutput: string;
55
- formulaToMessage: string;
54
+ type?: string | null | undefined;
55
+ formulaToMessage?: string | null | undefined;
56
56
  message?: string | null | undefined;
57
57
  }>;
58
58
  anamnese: {
@@ -116,19 +116,19 @@ export declare const AnamneseAnswerSchema: Schema<any, import("mongoose").Model<
116
116
  isValid?: {} | null | undefined;
117
117
  };
118
118
  validations: Types.DocumentArray<{
119
- type: string;
120
119
  typeOutput: string;
121
- formulaToMessage: string;
120
+ type?: string | null | undefined;
121
+ formulaToMessage?: string | null | undefined;
122
122
  message?: string | null | undefined;
123
123
  }, Types.Subdocument<Types.ObjectId, any, {
124
- type: string;
125
124
  typeOutput: string;
126
- formulaToMessage: string;
125
+ type?: string | null | undefined;
126
+ formulaToMessage?: string | null | undefined;
127
127
  message?: string | null | undefined;
128
128
  }> & {
129
- type: string;
130
129
  typeOutput: string;
131
- formulaToMessage: string;
130
+ type?: string | null | undefined;
131
+ formulaToMessage?: string | null | undefined;
132
132
  message?: string | null | undefined;
133
133
  }>;
134
134
  anamnese: {
@@ -192,19 +192,19 @@ export declare const AnamneseAnswerSchema: Schema<any, import("mongoose").Model<
192
192
  isValid?: {} | null | undefined;
193
193
  };
194
194
  validations: Types.DocumentArray<{
195
- type: string;
196
195
  typeOutput: string;
197
- formulaToMessage: string;
196
+ type?: string | null | undefined;
197
+ formulaToMessage?: string | null | undefined;
198
198
  message?: string | null | undefined;
199
199
  }, Types.Subdocument<Types.ObjectId, any, {
200
- type: string;
201
200
  typeOutput: string;
202
- formulaToMessage: string;
201
+ type?: string | null | undefined;
202
+ formulaToMessage?: string | null | undefined;
203
203
  message?: string | null | undefined;
204
204
  }> & {
205
- type: string;
206
205
  typeOutput: string;
207
- formulaToMessage: string;
206
+ type?: string | null | undefined;
207
+ formulaToMessage?: string | null | undefined;
208
208
  message?: string | null | undefined;
209
209
  }>;
210
210
  anamnese: {
@@ -19,6 +19,7 @@ export interface IGroupConfig {
19
19
  description: string;
20
20
  };
21
21
  collapsible: boolean;
22
+ backgroundColor: string;
22
23
  readOnly: boolean;
23
24
  }
24
25
  export interface ITip {
@@ -213,19 +214,19 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
213
214
  export declare const ValidationSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
214
215
  _id: false;
215
216
  }, {
216
- type: string;
217
217
  typeOutput: string;
218
- formulaToMessage: string;
218
+ type?: string | null | undefined;
219
+ formulaToMessage?: string | null | undefined;
219
220
  message?: string | null | undefined;
220
221
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
221
- type: string;
222
222
  typeOutput: string;
223
- formulaToMessage: string;
223
+ type?: string | null | undefined;
224
+ formulaToMessage?: string | null | undefined;
224
225
  message?: string | null | undefined;
225
226
  }>, {}> & import("mongoose").FlatRecord<{
226
- type: string;
227
227
  typeOutput: string;
228
- formulaToMessage: string;
228
+ type?: string | null | undefined;
229
+ formulaToMessage?: string | null | undefined;
229
230
  message?: string | null | undefined;
230
231
  }> & {
231
232
  _id: Types.ObjectId;
@@ -280,19 +281,19 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
280
281
  }>;
281
282
  formulaToShow: string;
282
283
  validations: Types.DocumentArray<{
283
- type: string;
284
284
  typeOutput: string;
285
- formulaToMessage: string;
285
+ type?: string | null | undefined;
286
+ formulaToMessage?: string | null | undefined;
286
287
  message?: string | null | undefined;
287
288
  }, Types.Subdocument<Types.ObjectId, any, {
288
- type: string;
289
289
  typeOutput: string;
290
- formulaToMessage: string;
290
+ type?: string | null | undefined;
291
+ formulaToMessage?: string | null | undefined;
291
292
  message?: string | null | undefined;
292
293
  }> & {
293
- type: string;
294
294
  typeOutput: string;
295
- formulaToMessage: string;
295
+ type?: string | null | undefined;
296
+ formulaToMessage?: string | null | undefined;
296
297
  message?: string | null | undefined;
297
298
  }>;
298
299
  show: boolean;
@@ -354,6 +355,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
354
355
  description: string;
355
356
  show: boolean;
356
357
  } | null | undefined;
358
+ backgroundColor?: string | null | undefined;
357
359
  } | null | undefined;
358
360
  tableConfig?: {
359
361
  headerData: Types.DocumentArray<{
@@ -426,19 +428,19 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
426
428
  }>;
427
429
  formulaToShow: string;
428
430
  validations: Types.DocumentArray<{
429
- type: string;
430
431
  typeOutput: string;
431
- formulaToMessage: string;
432
+ type?: string | null | undefined;
433
+ formulaToMessage?: string | null | undefined;
432
434
  message?: string | null | undefined;
433
435
  }, Types.Subdocument<Types.ObjectId, any, {
434
- type: string;
435
436
  typeOutput: string;
436
- formulaToMessage: string;
437
+ type?: string | null | undefined;
438
+ formulaToMessage?: string | null | undefined;
437
439
  message?: string | null | undefined;
438
440
  }> & {
439
- type: string;
440
441
  typeOutput: string;
441
- formulaToMessage: string;
442
+ type?: string | null | undefined;
443
+ formulaToMessage?: string | null | undefined;
442
444
  message?: string | null | undefined;
443
445
  }>;
444
446
  show: boolean;
@@ -500,6 +502,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
500
502
  description: string;
501
503
  show: boolean;
502
504
  } | null | undefined;
505
+ backgroundColor?: string | null | undefined;
503
506
  } | null | undefined;
504
507
  tableConfig?: {
505
508
  headerData: Types.DocumentArray<{
@@ -572,19 +575,19 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
572
575
  }>;
573
576
  formulaToShow: string;
574
577
  validations: Types.DocumentArray<{
575
- type: string;
576
578
  typeOutput: string;
577
- formulaToMessage: string;
579
+ type?: string | null | undefined;
580
+ formulaToMessage?: string | null | undefined;
578
581
  message?: string | null | undefined;
579
582
  }, Types.Subdocument<Types.ObjectId, any, {
580
- type: string;
581
583
  typeOutput: string;
582
- formulaToMessage: string;
584
+ type?: string | null | undefined;
585
+ formulaToMessage?: string | null | undefined;
583
586
  message?: string | null | undefined;
584
587
  }> & {
585
- type: string;
586
588
  typeOutput: string;
587
- formulaToMessage: string;
589
+ type?: string | null | undefined;
590
+ formulaToMessage?: string | null | undefined;
588
591
  message?: string | null | undefined;
589
592
  }>;
590
593
  show: boolean;
@@ -646,6 +649,7 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
646
649
  description: string;
647
650
  show: boolean;
648
651
  } | null | undefined;
652
+ backgroundColor?: string | null | undefined;
649
653
  } | null | undefined;
650
654
  tableConfig?: {
651
655
  headerData: Types.DocumentArray<{
@@ -23,13 +23,13 @@ exports.QuestionOptionSchema = new mongoose_1.Schema({
23
23
  active: { type: Boolean, required: true, default: true }
24
24
  }, { _id: false });
25
25
  exports.ValidationSchema = new mongoose_1.Schema({
26
- type: { type: String, enum: enum_1.TypeValidationEnum, required: true },
26
+ type: { type: String, enum: enum_1.TypeValidationEnum },
27
27
  typeOutput: {
28
28
  type: String,
29
29
  enum: enum_1.TypeOutputValidationEnum,
30
30
  default: enum_1.TypeOutputValidationEnum.TEXT
31
31
  },
32
- formulaToMessage: { type: String, required: true },
32
+ formulaToMessage: { type: String },
33
33
  message: { type: String }
34
34
  }, { _id: false });
35
35
  exports.FormUnitSchema = new mongoose_1.Schema({
@@ -98,6 +98,7 @@ exports.FormUnitSchema = new mongoose_1.Schema({
98
98
  }
99
99
  },
100
100
  collapsible: { type: Boolean, default: false },
101
+ backgroundColor: { type: String },
101
102
  readOnly: { type: Boolean, default: false }
102
103
  },
103
104
  _id: false
@@ -40,19 +40,19 @@ export declare const QAAnswerSchema: Schema<any, import("mongoose").Model<any, a
40
40
  isValid?: {} | null | undefined;
41
41
  };
42
42
  validations: Types.DocumentArray<{
43
- type: string;
44
43
  typeOutput: string;
45
- formulaToMessage: string;
44
+ type?: string | null | undefined;
45
+ formulaToMessage?: string | null | undefined;
46
46
  message?: string | null | undefined;
47
47
  }, Types.Subdocument<Types.ObjectId, any, {
48
- type: string;
49
48
  typeOutput: string;
50
- formulaToMessage: string;
49
+ type?: string | null | undefined;
50
+ formulaToMessage?: string | null | undefined;
51
51
  message?: string | null | undefined;
52
52
  }> & {
53
- type: string;
54
53
  typeOutput: string;
55
- formulaToMessage: string;
54
+ type?: string | null | undefined;
55
+ formulaToMessage?: string | null | undefined;
56
56
  message?: string | null | undefined;
57
57
  }>;
58
58
  requestGraphicData: Types.DocumentArray<{
@@ -116,19 +116,19 @@ export declare const QAAnswerSchema: Schema<any, import("mongoose").Model<any, a
116
116
  isValid?: {} | null | undefined;
117
117
  };
118
118
  validations: Types.DocumentArray<{
119
- type: string;
120
119
  typeOutput: string;
121
- formulaToMessage: string;
120
+ type?: string | null | undefined;
121
+ formulaToMessage?: string | null | undefined;
122
122
  message?: string | null | undefined;
123
123
  }, Types.Subdocument<Types.ObjectId, any, {
124
- type: string;
125
124
  typeOutput: string;
126
- formulaToMessage: string;
125
+ type?: string | null | undefined;
126
+ formulaToMessage?: string | null | undefined;
127
127
  message?: string | null | undefined;
128
128
  }> & {
129
- type: string;
130
129
  typeOutput: string;
131
- formulaToMessage: string;
130
+ type?: string | null | undefined;
131
+ formulaToMessage?: string | null | undefined;
132
132
  message?: string | null | undefined;
133
133
  }>;
134
134
  requestGraphicData: Types.DocumentArray<{
@@ -192,19 +192,19 @@ export declare const QAAnswerSchema: Schema<any, import("mongoose").Model<any, a
192
192
  isValid?: {} | null | undefined;
193
193
  };
194
194
  validations: Types.DocumentArray<{
195
- type: string;
196
195
  typeOutput: string;
197
- formulaToMessage: string;
196
+ type?: string | null | undefined;
197
+ formulaToMessage?: string | null | undefined;
198
198
  message?: string | null | undefined;
199
199
  }, Types.Subdocument<Types.ObjectId, any, {
200
- type: string;
201
200
  typeOutput: string;
202
- formulaToMessage: string;
201
+ type?: string | null | undefined;
202
+ formulaToMessage?: string | null | undefined;
203
203
  message?: string | null | undefined;
204
204
  }> & {
205
- type: string;
206
205
  typeOutput: string;
207
- formulaToMessage: string;
206
+ type?: string | null | undefined;
207
+ formulaToMessage?: string | null | undefined;
208
208
  message?: string | null | undefined;
209
209
  }>;
210
210
  requestGraphicData: Types.DocumentArray<{
@@ -29,19 +29,19 @@ export declare const QPCAnswerSchema: Schema<any, import("mongoose").Model<any,
29
29
  isValid?: {} | null | undefined;
30
30
  };
31
31
  validations: Types.DocumentArray<{
32
- type: string;
33
32
  typeOutput: string;
34
- formulaToMessage: string;
33
+ type?: string | null | undefined;
34
+ formulaToMessage?: string | null | undefined;
35
35
  message?: string | null | undefined;
36
36
  }, Types.Subdocument<Types.ObjectId, any, {
37
- type: string;
38
37
  typeOutput: string;
39
- formulaToMessage: string;
38
+ type?: string | null | undefined;
39
+ formulaToMessage?: string | null | undefined;
40
40
  message?: string | null | undefined;
41
41
  }> & {
42
- type: string;
43
42
  typeOutput: string;
44
- formulaToMessage: string;
43
+ type?: string | null | undefined;
44
+ formulaToMessage?: string | null | undefined;
45
45
  message?: string | null | undefined;
46
46
  }>;
47
47
  requestGraphicData: Types.DocumentArray<{
@@ -96,19 +96,19 @@ export declare const QPCAnswerSchema: Schema<any, import("mongoose").Model<any,
96
96
  isValid?: {} | null | undefined;
97
97
  };
98
98
  validations: Types.DocumentArray<{
99
- type: string;
100
99
  typeOutput: string;
101
- formulaToMessage: string;
100
+ type?: string | null | undefined;
101
+ formulaToMessage?: string | null | undefined;
102
102
  message?: string | null | undefined;
103
103
  }, Types.Subdocument<Types.ObjectId, any, {
104
- type: string;
105
104
  typeOutput: string;
106
- formulaToMessage: string;
105
+ type?: string | null | undefined;
106
+ formulaToMessage?: string | null | undefined;
107
107
  message?: string | null | undefined;
108
108
  }> & {
109
- type: string;
110
109
  typeOutput: string;
111
- formulaToMessage: string;
110
+ type?: string | null | undefined;
111
+ formulaToMessage?: string | null | undefined;
112
112
  message?: string | null | undefined;
113
113
  }>;
114
114
  requestGraphicData: Types.DocumentArray<{
@@ -163,19 +163,19 @@ export declare const QPCAnswerSchema: Schema<any, import("mongoose").Model<any,
163
163
  isValid?: {} | null | undefined;
164
164
  };
165
165
  validations: Types.DocumentArray<{
166
- type: string;
167
166
  typeOutput: string;
168
- formulaToMessage: string;
167
+ type?: string | null | undefined;
168
+ formulaToMessage?: string | null | undefined;
169
169
  message?: string | null | undefined;
170
170
  }, Types.Subdocument<Types.ObjectId, any, {
171
- type: string;
172
171
  typeOutput: string;
173
- formulaToMessage: string;
172
+ type?: string | null | undefined;
173
+ formulaToMessage?: string | null | undefined;
174
174
  message?: string | null | undefined;
175
175
  }> & {
176
- type: string;
177
176
  typeOutput: string;
178
- formulaToMessage: string;
177
+ type?: string | null | undefined;
178
+ formulaToMessage?: string | null | undefined;
179
179
  message?: string | null | undefined;
180
180
  }>;
181
181
  requestGraphicData: Types.DocumentArray<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.189",
3
+ "version": "1.0.192",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": {
6
6
  "type": "git",