c2-clinical 1.0.104 → 1.0.106
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.
- package/dist/flow/group/GroupFormUnitsFlow.d.ts +2 -2
- package/dist/flow/group/item/BuildTreeFlowItem.d.ts +4 -2
- package/dist/flow/group/item/BuildTreeFlowItem.js +105 -23
- package/dist/models/Recurrence.d.ts +462 -3
- package/dist/models/anamnese/Anamnese.d.ts +81 -9
- package/dist/models/anamnese/AnamneseAnswer.d.ts +108 -12
- package/dist/models/anthropometry/Anthropometry.d.ts +84 -12
- package/dist/models/anthropometry/AnthropometryAnswer.d.ts +81 -9
- package/dist/models/form/Form.d.ts +3 -3
- package/dist/models/form/FormUnit.d.ts +159 -67
- package/dist/models/patient/Address.d.ts +3 -3
- package/dist/models/patient/City.d.ts +3 -3
- package/dist/models/patient/Patient.d.ts +42 -42
- package/dist/models/patient/Phone.d.ts +6 -6
- package/dist/models/qa/QA.d.ts +120 -24
- package/dist/models/qa/QAAnswer.d.ts +108 -12
- package/dist/models/qa/QAProgramming.d.ts +555 -24
- package/dist/models/qpc/QPC.d.ts +54 -6
- package/dist/models/qpc/QPCAnswer.d.ts +81 -9
- package/package.json +2 -2
|
@@ -38,6 +38,11 @@ export interface IValidationQuestion {
|
|
|
38
38
|
typeOutput: TypeOutputValidationEnum;
|
|
39
39
|
formulaToMessage: string;
|
|
40
40
|
}
|
|
41
|
+
export interface IRow {
|
|
42
|
+
id: string;
|
|
43
|
+
line: number;
|
|
44
|
+
collumns: IFormUnit[];
|
|
45
|
+
}
|
|
41
46
|
export interface IFormUnit extends IDefault {
|
|
42
47
|
reference: Types.ObjectId | IFormUnit;
|
|
43
48
|
form: Types.ObjectId | IForm;
|
|
@@ -77,7 +82,7 @@ export interface IFormUnit extends IDefault {
|
|
|
77
82
|
graphicData: any;
|
|
78
83
|
requestGraphicData: IRequestGraphicData[];
|
|
79
84
|
children?: IFormUnit[];
|
|
80
|
-
lines?:
|
|
85
|
+
lines?: IRow[];
|
|
81
86
|
modalConfig?: IModalConfig;
|
|
82
87
|
uploadFileConfig: IUploadFileConfig;
|
|
83
88
|
tips?: ITip[];
|
|
@@ -136,8 +141,8 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
136
141
|
description: string;
|
|
137
142
|
sequence: number;
|
|
138
143
|
code: string;
|
|
139
|
-
defaultSelection:
|
|
140
|
-
active:
|
|
144
|
+
defaultSelection: boolean;
|
|
145
|
+
active: boolean;
|
|
141
146
|
formulaToEnable?: string | null | undefined;
|
|
142
147
|
thumb?: string | null | undefined;
|
|
143
148
|
image?: string | null | undefined;
|
|
@@ -146,8 +151,8 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
146
151
|
description: string;
|
|
147
152
|
sequence: number;
|
|
148
153
|
code: string;
|
|
149
|
-
defaultSelection:
|
|
150
|
-
active:
|
|
154
|
+
defaultSelection: boolean;
|
|
155
|
+
active: boolean;
|
|
151
156
|
formulaToEnable?: string | null | undefined;
|
|
152
157
|
thumb?: string | null | undefined;
|
|
153
158
|
image?: string | null | undefined;
|
|
@@ -156,8 +161,8 @@ export declare const QuestionOptionSchema: Schema<any, import("mongoose").Model<
|
|
|
156
161
|
description: string;
|
|
157
162
|
sequence: number;
|
|
158
163
|
code: string;
|
|
159
|
-
defaultSelection:
|
|
160
|
-
active:
|
|
164
|
+
defaultSelection: boolean;
|
|
165
|
+
active: boolean;
|
|
161
166
|
formulaToEnable?: string | null | undefined;
|
|
162
167
|
thumb?: string | null | undefined;
|
|
163
168
|
image?: string | null | undefined;
|
|
@@ -193,19 +198,19 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
193
198
|
};
|
|
194
199
|
}, {} & {
|
|
195
200
|
type: string;
|
|
196
|
-
required:
|
|
201
|
+
required: boolean;
|
|
197
202
|
category: string;
|
|
198
203
|
sequence: number;
|
|
199
204
|
formulaToEnable: string;
|
|
200
205
|
code: string;
|
|
201
|
-
active:
|
|
202
|
-
form:
|
|
206
|
+
active: boolean;
|
|
207
|
+
form: Types.ObjectId;
|
|
203
208
|
options: Types.DocumentArray<{
|
|
204
209
|
description: string;
|
|
205
210
|
sequence: number;
|
|
206
211
|
code: string;
|
|
207
|
-
defaultSelection:
|
|
208
|
-
active:
|
|
212
|
+
defaultSelection: boolean;
|
|
213
|
+
active: boolean;
|
|
209
214
|
formulaToEnable?: string | null | undefined;
|
|
210
215
|
thumb?: string | null | undefined;
|
|
211
216
|
image?: string | null | undefined;
|
|
@@ -214,8 +219,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
214
219
|
description: string;
|
|
215
220
|
sequence: number;
|
|
216
221
|
code: string;
|
|
217
|
-
defaultSelection:
|
|
218
|
-
active:
|
|
222
|
+
defaultSelection: boolean;
|
|
223
|
+
active: boolean;
|
|
219
224
|
formulaToEnable?: string | null | undefined;
|
|
220
225
|
thumb?: string | null | undefined;
|
|
221
226
|
image?: string | null | undefined;
|
|
@@ -224,8 +229,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
224
229
|
description: string;
|
|
225
230
|
sequence: number;
|
|
226
231
|
code: string;
|
|
227
|
-
defaultSelection:
|
|
228
|
-
active:
|
|
232
|
+
defaultSelection: boolean;
|
|
233
|
+
active: boolean;
|
|
229
234
|
formulaToEnable?: string | null | undefined;
|
|
230
235
|
thumb?: string | null | undefined;
|
|
231
236
|
image?: string | null | undefined;
|
|
@@ -244,9 +249,9 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
244
249
|
typeOutput: string;
|
|
245
250
|
formulaToMessage: string;
|
|
246
251
|
}>;
|
|
247
|
-
show:
|
|
248
|
-
readOnly:
|
|
249
|
-
ellegibleForComparison:
|
|
252
|
+
show: boolean;
|
|
253
|
+
readOnly: boolean;
|
|
254
|
+
ellegibleForComparison: boolean;
|
|
250
255
|
requestGraphicData: Types.DocumentArray<{
|
|
251
256
|
method: string;
|
|
252
257
|
url: string;
|
|
@@ -285,11 +290,11 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
285
290
|
title?: string | null | undefined;
|
|
286
291
|
html?: string | null | undefined;
|
|
287
292
|
}>;
|
|
288
|
-
account?:
|
|
293
|
+
account?: Types.ObjectId | null | undefined;
|
|
289
294
|
description?: string | null | undefined;
|
|
290
|
-
reference?:
|
|
295
|
+
reference?: Types.ObjectId | null | undefined;
|
|
291
296
|
example?: string | null | undefined;
|
|
292
|
-
parent?:
|
|
297
|
+
parent?: Types.ObjectId | null | undefined;
|
|
293
298
|
line?: number | null | undefined;
|
|
294
299
|
column?: number | null | undefined;
|
|
295
300
|
typeAnswer?: string | null | undefined;
|
|
@@ -301,29 +306,58 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
301
306
|
formulaToReferenceValue?: string | null | undefined;
|
|
302
307
|
formulaToClassificationLabel?: string | null | undefined;
|
|
303
308
|
formulaToClassificationColor?: string | null | undefined;
|
|
304
|
-
isAnalyticalResult?:
|
|
309
|
+
isAnalyticalResult?: boolean | null | undefined;
|
|
305
310
|
codeEnableFreeText?: string | null | undefined;
|
|
306
311
|
labelFreeText?: string | null | undefined;
|
|
307
312
|
graphicData?: any;
|
|
308
|
-
modalConfig?:
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
313
|
+
modalConfig?: {
|
|
314
|
+
description?: string | null | undefined;
|
|
315
|
+
title?: string | null | undefined;
|
|
316
|
+
labelButtonCancel?: string | null | undefined;
|
|
317
|
+
labelButtonConfirm?: string | null | undefined;
|
|
318
|
+
} | null | undefined;
|
|
319
|
+
groupConfig?: {
|
|
320
|
+
showTips: boolean;
|
|
321
|
+
} | null | undefined;
|
|
322
|
+
tableConfig?: {
|
|
323
|
+
headerData: Types.DocumentArray<{
|
|
324
|
+
type?: {
|
|
325
|
+
headerText: string;
|
|
326
|
+
fieldName: string;
|
|
327
|
+
} | null | undefined;
|
|
328
|
+
}, Types.Subdocument<Types.ObjectId, any, {
|
|
329
|
+
type?: {
|
|
330
|
+
headerText: string;
|
|
331
|
+
fieldName: string;
|
|
332
|
+
} | null | undefined;
|
|
333
|
+
}> & {
|
|
334
|
+
type?: {
|
|
335
|
+
headerText: string;
|
|
336
|
+
fieldName: string;
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
}>;
|
|
339
|
+
} | null | undefined;
|
|
340
|
+
uploadFileConfig?: {
|
|
341
|
+
typeFile: string;
|
|
342
|
+
acceptablesExtensions: string[];
|
|
343
|
+
maxSizeInBytes: number;
|
|
344
|
+
thumbExample?: string | null | undefined;
|
|
345
|
+
} | null | undefined;
|
|
312
346
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
313
347
|
type: string;
|
|
314
|
-
required:
|
|
348
|
+
required: boolean;
|
|
315
349
|
category: string;
|
|
316
350
|
sequence: number;
|
|
317
351
|
formulaToEnable: string;
|
|
318
352
|
code: string;
|
|
319
|
-
active:
|
|
320
|
-
form:
|
|
353
|
+
active: boolean;
|
|
354
|
+
form: Types.ObjectId;
|
|
321
355
|
options: Types.DocumentArray<{
|
|
322
356
|
description: string;
|
|
323
357
|
sequence: number;
|
|
324
358
|
code: string;
|
|
325
|
-
defaultSelection:
|
|
326
|
-
active:
|
|
359
|
+
defaultSelection: boolean;
|
|
360
|
+
active: boolean;
|
|
327
361
|
formulaToEnable?: string | null | undefined;
|
|
328
362
|
thumb?: string | null | undefined;
|
|
329
363
|
image?: string | null | undefined;
|
|
@@ -332,8 +366,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
332
366
|
description: string;
|
|
333
367
|
sequence: number;
|
|
334
368
|
code: string;
|
|
335
|
-
defaultSelection:
|
|
336
|
-
active:
|
|
369
|
+
defaultSelection: boolean;
|
|
370
|
+
active: boolean;
|
|
337
371
|
formulaToEnable?: string | null | undefined;
|
|
338
372
|
thumb?: string | null | undefined;
|
|
339
373
|
image?: string | null | undefined;
|
|
@@ -342,8 +376,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
342
376
|
description: string;
|
|
343
377
|
sequence: number;
|
|
344
378
|
code: string;
|
|
345
|
-
defaultSelection:
|
|
346
|
-
active:
|
|
379
|
+
defaultSelection: boolean;
|
|
380
|
+
active: boolean;
|
|
347
381
|
formulaToEnable?: string | null | undefined;
|
|
348
382
|
thumb?: string | null | undefined;
|
|
349
383
|
image?: string | null | undefined;
|
|
@@ -362,9 +396,9 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
362
396
|
typeOutput: string;
|
|
363
397
|
formulaToMessage: string;
|
|
364
398
|
}>;
|
|
365
|
-
show:
|
|
366
|
-
readOnly:
|
|
367
|
-
ellegibleForComparison:
|
|
399
|
+
show: boolean;
|
|
400
|
+
readOnly: boolean;
|
|
401
|
+
ellegibleForComparison: boolean;
|
|
368
402
|
requestGraphicData: Types.DocumentArray<{
|
|
369
403
|
method: string;
|
|
370
404
|
url: string;
|
|
@@ -403,11 +437,11 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
403
437
|
title?: string | null | undefined;
|
|
404
438
|
html?: string | null | undefined;
|
|
405
439
|
}>;
|
|
406
|
-
account?:
|
|
440
|
+
account?: Types.ObjectId | null | undefined;
|
|
407
441
|
description?: string | null | undefined;
|
|
408
|
-
reference?:
|
|
442
|
+
reference?: Types.ObjectId | null | undefined;
|
|
409
443
|
example?: string | null | undefined;
|
|
410
|
-
parent?:
|
|
444
|
+
parent?: Types.ObjectId | null | undefined;
|
|
411
445
|
line?: number | null | undefined;
|
|
412
446
|
column?: number | null | undefined;
|
|
413
447
|
typeAnswer?: string | null | undefined;
|
|
@@ -419,29 +453,58 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
419
453
|
formulaToReferenceValue?: string | null | undefined;
|
|
420
454
|
formulaToClassificationLabel?: string | null | undefined;
|
|
421
455
|
formulaToClassificationColor?: string | null | undefined;
|
|
422
|
-
isAnalyticalResult?:
|
|
456
|
+
isAnalyticalResult?: boolean | null | undefined;
|
|
423
457
|
codeEnableFreeText?: string | null | undefined;
|
|
424
458
|
labelFreeText?: string | null | undefined;
|
|
425
459
|
graphicData?: any;
|
|
426
|
-
modalConfig?:
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
460
|
+
modalConfig?: {
|
|
461
|
+
description?: string | null | undefined;
|
|
462
|
+
title?: string | null | undefined;
|
|
463
|
+
labelButtonCancel?: string | null | undefined;
|
|
464
|
+
labelButtonConfirm?: string | null | undefined;
|
|
465
|
+
} | null | undefined;
|
|
466
|
+
groupConfig?: {
|
|
467
|
+
showTips: boolean;
|
|
468
|
+
} | null | undefined;
|
|
469
|
+
tableConfig?: {
|
|
470
|
+
headerData: Types.DocumentArray<{
|
|
471
|
+
type?: {
|
|
472
|
+
headerText: string;
|
|
473
|
+
fieldName: string;
|
|
474
|
+
} | null | undefined;
|
|
475
|
+
}, Types.Subdocument<Types.ObjectId, any, {
|
|
476
|
+
type?: {
|
|
477
|
+
headerText: string;
|
|
478
|
+
fieldName: string;
|
|
479
|
+
} | null | undefined;
|
|
480
|
+
}> & {
|
|
481
|
+
type?: {
|
|
482
|
+
headerText: string;
|
|
483
|
+
fieldName: string;
|
|
484
|
+
} | null | undefined;
|
|
485
|
+
}>;
|
|
486
|
+
} | null | undefined;
|
|
487
|
+
uploadFileConfig?: {
|
|
488
|
+
typeFile: string;
|
|
489
|
+
acceptablesExtensions: string[];
|
|
490
|
+
maxSizeInBytes: number;
|
|
491
|
+
thumbExample?: string | null | undefined;
|
|
492
|
+
} | null | undefined;
|
|
430
493
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
431
494
|
type: string;
|
|
432
|
-
required:
|
|
495
|
+
required: boolean;
|
|
433
496
|
category: string;
|
|
434
497
|
sequence: number;
|
|
435
498
|
formulaToEnable: string;
|
|
436
499
|
code: string;
|
|
437
|
-
active:
|
|
438
|
-
form:
|
|
500
|
+
active: boolean;
|
|
501
|
+
form: Types.ObjectId;
|
|
439
502
|
options: Types.DocumentArray<{
|
|
440
503
|
description: string;
|
|
441
504
|
sequence: number;
|
|
442
505
|
code: string;
|
|
443
|
-
defaultSelection:
|
|
444
|
-
active:
|
|
506
|
+
defaultSelection: boolean;
|
|
507
|
+
active: boolean;
|
|
445
508
|
formulaToEnable?: string | null | undefined;
|
|
446
509
|
thumb?: string | null | undefined;
|
|
447
510
|
image?: string | null | undefined;
|
|
@@ -450,8 +513,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
450
513
|
description: string;
|
|
451
514
|
sequence: number;
|
|
452
515
|
code: string;
|
|
453
|
-
defaultSelection:
|
|
454
|
-
active:
|
|
516
|
+
defaultSelection: boolean;
|
|
517
|
+
active: boolean;
|
|
455
518
|
formulaToEnable?: string | null | undefined;
|
|
456
519
|
thumb?: string | null | undefined;
|
|
457
520
|
image?: string | null | undefined;
|
|
@@ -460,8 +523,8 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
460
523
|
description: string;
|
|
461
524
|
sequence: number;
|
|
462
525
|
code: string;
|
|
463
|
-
defaultSelection:
|
|
464
|
-
active:
|
|
526
|
+
defaultSelection: boolean;
|
|
527
|
+
active: boolean;
|
|
465
528
|
formulaToEnable?: string | null | undefined;
|
|
466
529
|
thumb?: string | null | undefined;
|
|
467
530
|
image?: string | null | undefined;
|
|
@@ -480,9 +543,9 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
480
543
|
typeOutput: string;
|
|
481
544
|
formulaToMessage: string;
|
|
482
545
|
}>;
|
|
483
|
-
show:
|
|
484
|
-
readOnly:
|
|
485
|
-
ellegibleForComparison:
|
|
546
|
+
show: boolean;
|
|
547
|
+
readOnly: boolean;
|
|
548
|
+
ellegibleForComparison: boolean;
|
|
486
549
|
requestGraphicData: Types.DocumentArray<{
|
|
487
550
|
method: string;
|
|
488
551
|
url: string;
|
|
@@ -521,11 +584,11 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
521
584
|
title?: string | null | undefined;
|
|
522
585
|
html?: string | null | undefined;
|
|
523
586
|
}>;
|
|
524
|
-
account?:
|
|
587
|
+
account?: Types.ObjectId | null | undefined;
|
|
525
588
|
description?: string | null | undefined;
|
|
526
|
-
reference?:
|
|
589
|
+
reference?: Types.ObjectId | null | undefined;
|
|
527
590
|
example?: string | null | undefined;
|
|
528
|
-
parent?:
|
|
591
|
+
parent?: Types.ObjectId | null | undefined;
|
|
529
592
|
line?: number | null | undefined;
|
|
530
593
|
column?: number | null | undefined;
|
|
531
594
|
typeAnswer?: string | null | undefined;
|
|
@@ -537,14 +600,43 @@ export declare const FormUnitSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
537
600
|
formulaToReferenceValue?: string | null | undefined;
|
|
538
601
|
formulaToClassificationLabel?: string | null | undefined;
|
|
539
602
|
formulaToClassificationColor?: string | null | undefined;
|
|
540
|
-
isAnalyticalResult?:
|
|
603
|
+
isAnalyticalResult?: boolean | null | undefined;
|
|
541
604
|
codeEnableFreeText?: string | null | undefined;
|
|
542
605
|
labelFreeText?: string | null | undefined;
|
|
543
606
|
graphicData?: any;
|
|
544
|
-
modalConfig?:
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
607
|
+
modalConfig?: {
|
|
608
|
+
description?: string | null | undefined;
|
|
609
|
+
title?: string | null | undefined;
|
|
610
|
+
labelButtonCancel?: string | null | undefined;
|
|
611
|
+
labelButtonConfirm?: string | null | undefined;
|
|
612
|
+
} | null | undefined;
|
|
613
|
+
groupConfig?: {
|
|
614
|
+
showTips: boolean;
|
|
615
|
+
} | null | undefined;
|
|
616
|
+
tableConfig?: {
|
|
617
|
+
headerData: Types.DocumentArray<{
|
|
618
|
+
type?: {
|
|
619
|
+
headerText: string;
|
|
620
|
+
fieldName: string;
|
|
621
|
+
} | null | undefined;
|
|
622
|
+
}, Types.Subdocument<Types.ObjectId, any, {
|
|
623
|
+
type?: {
|
|
624
|
+
headerText: string;
|
|
625
|
+
fieldName: string;
|
|
626
|
+
} | null | undefined;
|
|
627
|
+
}> & {
|
|
628
|
+
type?: {
|
|
629
|
+
headerText: string;
|
|
630
|
+
fieldName: string;
|
|
631
|
+
} | null | undefined;
|
|
632
|
+
}>;
|
|
633
|
+
} | null | undefined;
|
|
634
|
+
uploadFileConfig?: {
|
|
635
|
+
typeFile: string;
|
|
636
|
+
acceptablesExtensions: string[];
|
|
637
|
+
maxSizeInBytes: number;
|
|
638
|
+
thumbExample?: string | null | undefined;
|
|
639
|
+
} | null | undefined;
|
|
548
640
|
}> & {
|
|
549
641
|
_id: Types.ObjectId;
|
|
550
642
|
} & {
|
|
@@ -24,7 +24,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
24
24
|
typeNeighborhood?: string | null | undefined;
|
|
25
25
|
typeStreet?: string | null | undefined;
|
|
26
26
|
cityCodeIbge?: string | null | undefined;
|
|
27
|
-
city?:
|
|
27
|
+
city?: Types.ObjectId | null | undefined;
|
|
28
28
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
29
29
|
description: string;
|
|
30
30
|
number?: string | null | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
35
35
|
typeNeighborhood?: string | null | undefined;
|
|
36
36
|
typeStreet?: string | null | undefined;
|
|
37
37
|
cityCodeIbge?: string | null | undefined;
|
|
38
|
-
city?:
|
|
38
|
+
city?: Types.ObjectId | null | undefined;
|
|
39
39
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
40
40
|
description: string;
|
|
41
41
|
number?: string | null | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
46
46
|
typeNeighborhood?: string | null | undefined;
|
|
47
47
|
typeStreet?: string | null | undefined;
|
|
48
48
|
cityCodeIbge?: string | null | undefined;
|
|
49
|
-
city?:
|
|
49
|
+
city?: Types.ObjectId | null | undefined;
|
|
50
50
|
}> & {
|
|
51
51
|
_id: Types.ObjectId;
|
|
52
52
|
} & {
|
|
@@ -15,17 +15,17 @@ export declare const CitySchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
15
15
|
}, {} & {
|
|
16
16
|
name: string;
|
|
17
17
|
code: string;
|
|
18
|
-
state:
|
|
18
|
+
state: Types.ObjectId;
|
|
19
19
|
abbreviation?: string | null | undefined;
|
|
20
20
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
|
|
21
21
|
name: string;
|
|
22
22
|
code: string;
|
|
23
|
-
state:
|
|
23
|
+
state: Types.ObjectId;
|
|
24
24
|
abbreviation?: string | null | undefined;
|
|
25
25
|
}>, {}> & import("mongoose").FlatRecord<{} & {
|
|
26
26
|
name: string;
|
|
27
27
|
code: string;
|
|
28
|
-
state:
|
|
28
|
+
state: Types.ObjectId;
|
|
29
29
|
abbreviation?: string | null | undefined;
|
|
30
30
|
}> & {
|
|
31
31
|
_id: Types.ObjectId;
|