c2-clinical 1.0.5 → 1.0.6
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.
|
@@ -34,7 +34,6 @@ export declare enum TypeAnswerEnum {
|
|
|
34
34
|
export declare enum TypeValidationEnum {
|
|
35
35
|
TIP = "TIP",
|
|
36
36
|
WARNING = "WARNING",
|
|
37
|
-
REQUIRED = "REQUIRED",
|
|
38
37
|
VALIDATION = "VALIDATION"
|
|
39
38
|
}
|
|
40
39
|
export declare enum TypeOutputValidationEnum {
|
|
@@ -96,7 +95,11 @@ export interface IQuestionOption {
|
|
|
96
95
|
formulaToEnable: string;
|
|
97
96
|
code: string;
|
|
98
97
|
description: string;
|
|
98
|
+
defaultSelection: boolean;
|
|
99
99
|
active: boolean;
|
|
100
|
+
thumb: string;
|
|
101
|
+
image: string;
|
|
102
|
+
color: string;
|
|
100
103
|
}
|
|
101
104
|
export interface IRequestGraphicData {
|
|
102
105
|
method: string;
|
|
@@ -132,20 +135,32 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
132
135
|
description: string;
|
|
133
136
|
sequence: number;
|
|
134
137
|
code: string;
|
|
138
|
+
defaultSelection: any;
|
|
135
139
|
active: any;
|
|
136
140
|
formulaToEnable?: string | null | undefined;
|
|
141
|
+
thumb?: string | null | undefined;
|
|
142
|
+
image?: string | null | undefined;
|
|
143
|
+
color?: string | null | undefined;
|
|
137
144
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
138
145
|
description: string;
|
|
139
146
|
sequence: number;
|
|
140
147
|
code: string;
|
|
148
|
+
defaultSelection: any;
|
|
141
149
|
active: any;
|
|
142
150
|
formulaToEnable?: string | null | undefined;
|
|
151
|
+
thumb?: string | null | undefined;
|
|
152
|
+
image?: string | null | undefined;
|
|
153
|
+
color?: string | null | undefined;
|
|
143
154
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
144
155
|
description: string;
|
|
145
156
|
sequence: number;
|
|
146
157
|
code: string;
|
|
158
|
+
defaultSelection: any;
|
|
147
159
|
active: any;
|
|
148
160
|
formulaToEnable?: string | null | undefined;
|
|
161
|
+
thumb?: string | null | undefined;
|
|
162
|
+
image?: string | null | undefined;
|
|
163
|
+
color?: string | null | undefined;
|
|
149
164
|
}> & {
|
|
150
165
|
_id: Types.ObjectId;
|
|
151
166
|
} & {
|
|
@@ -168,20 +183,32 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
168
183
|
description: string;
|
|
169
184
|
sequence: number;
|
|
170
185
|
code: string;
|
|
186
|
+
defaultSelection: any;
|
|
171
187
|
active: any;
|
|
172
188
|
formulaToEnable?: string | null | undefined;
|
|
189
|
+
thumb?: string | null | undefined;
|
|
190
|
+
image?: string | null | undefined;
|
|
191
|
+
color?: string | null | undefined;
|
|
173
192
|
}, Types.Subdocument<Types.ObjectId, any, {
|
|
174
193
|
description: string;
|
|
175
194
|
sequence: number;
|
|
176
195
|
code: string;
|
|
196
|
+
defaultSelection: any;
|
|
177
197
|
active: any;
|
|
178
198
|
formulaToEnable?: string | null | undefined;
|
|
199
|
+
thumb?: string | null | undefined;
|
|
200
|
+
image?: string | null | undefined;
|
|
201
|
+
color?: string | null | undefined;
|
|
179
202
|
}> & {
|
|
180
203
|
description: string;
|
|
181
204
|
sequence: number;
|
|
182
205
|
code: string;
|
|
206
|
+
defaultSelection: any;
|
|
183
207
|
active: any;
|
|
184
208
|
formulaToEnable?: string | null | undefined;
|
|
209
|
+
thumb?: string | null | undefined;
|
|
210
|
+
image?: string | null | undefined;
|
|
211
|
+
color?: string | null | undefined;
|
|
185
212
|
}>;
|
|
186
213
|
validations: Types.DocumentArray<{
|
|
187
214
|
type: string;
|
|
@@ -237,20 +264,32 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
237
264
|
description: string;
|
|
238
265
|
sequence: number;
|
|
239
266
|
code: string;
|
|
267
|
+
defaultSelection: any;
|
|
240
268
|
active: any;
|
|
241
269
|
formulaToEnable?: string | null | undefined;
|
|
270
|
+
thumb?: string | null | undefined;
|
|
271
|
+
image?: string | null | undefined;
|
|
272
|
+
color?: string | null | undefined;
|
|
242
273
|
}, Types.Subdocument<Types.ObjectId, any, {
|
|
243
274
|
description: string;
|
|
244
275
|
sequence: number;
|
|
245
276
|
code: string;
|
|
277
|
+
defaultSelection: any;
|
|
246
278
|
active: any;
|
|
247
279
|
formulaToEnable?: string | null | undefined;
|
|
280
|
+
thumb?: string | null | undefined;
|
|
281
|
+
image?: string | null | undefined;
|
|
282
|
+
color?: string | null | undefined;
|
|
248
283
|
}> & {
|
|
249
284
|
description: string;
|
|
250
285
|
sequence: number;
|
|
251
286
|
code: string;
|
|
287
|
+
defaultSelection: any;
|
|
252
288
|
active: any;
|
|
253
289
|
formulaToEnable?: string | null | undefined;
|
|
290
|
+
thumb?: string | null | undefined;
|
|
291
|
+
image?: string | null | undefined;
|
|
292
|
+
color?: string | null | undefined;
|
|
254
293
|
}>;
|
|
255
294
|
validations: Types.DocumentArray<{
|
|
256
295
|
type: string;
|
|
@@ -306,20 +345,32 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
306
345
|
description: string;
|
|
307
346
|
sequence: number;
|
|
308
347
|
code: string;
|
|
348
|
+
defaultSelection: any;
|
|
309
349
|
active: any;
|
|
310
350
|
formulaToEnable?: string | null | undefined;
|
|
351
|
+
thumb?: string | null | undefined;
|
|
352
|
+
image?: string | null | undefined;
|
|
353
|
+
color?: string | null | undefined;
|
|
311
354
|
}, Types.Subdocument<Types.ObjectId, any, {
|
|
312
355
|
description: string;
|
|
313
356
|
sequence: number;
|
|
314
357
|
code: string;
|
|
358
|
+
defaultSelection: any;
|
|
315
359
|
active: any;
|
|
316
360
|
formulaToEnable?: string | null | undefined;
|
|
361
|
+
thumb?: string | null | undefined;
|
|
362
|
+
image?: string | null | undefined;
|
|
363
|
+
color?: string | null | undefined;
|
|
317
364
|
}> & {
|
|
318
365
|
description: string;
|
|
319
366
|
sequence: number;
|
|
320
367
|
code: string;
|
|
368
|
+
defaultSelection: any;
|
|
321
369
|
active: any;
|
|
322
370
|
formulaToEnable?: string | null | undefined;
|
|
371
|
+
thumb?: string | null | undefined;
|
|
372
|
+
image?: string | null | undefined;
|
|
373
|
+
color?: string | null | undefined;
|
|
323
374
|
}>;
|
|
324
375
|
validations: Types.DocumentArray<{
|
|
325
376
|
type: string;
|
|
@@ -39,7 +39,6 @@ var TypeValidationEnum;
|
|
|
39
39
|
(function (TypeValidationEnum) {
|
|
40
40
|
TypeValidationEnum["TIP"] = "TIP";
|
|
41
41
|
TypeValidationEnum["WARNING"] = "WARNING";
|
|
42
|
-
TypeValidationEnum["REQUIRED"] = "REQUIRED";
|
|
43
42
|
TypeValidationEnum["VALIDATION"] = "VALIDATION";
|
|
44
43
|
})(TypeValidationEnum || (exports.TypeValidationEnum = TypeValidationEnum = {}));
|
|
45
44
|
var TypeOutputValidationEnum;
|
|
@@ -71,6 +70,10 @@ exports.QuestionOptionSchema = new mongoose_1.Schema({
|
|
|
71
70
|
formulaToEnable: { type: String },
|
|
72
71
|
code: { type: String, required: true },
|
|
73
72
|
description: { type: String, required: true },
|
|
73
|
+
defaultSelection: { type: Boolean, required: true, default: false },
|
|
74
|
+
thumb: { type: String },
|
|
75
|
+
image: { type: String },
|
|
76
|
+
color: { type: String },
|
|
74
77
|
active: { type: Boolean, required: true, default: true }
|
|
75
78
|
}, { _id: false });
|
|
76
79
|
exports.FormUnitSchema = new mongoose_1.Schema({
|
package/package.json
CHANGED