@htilabs/platform-common-models 0.8.9 → 0.8.10
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/config/index.cjs +191 -0
- package/dist/config/index.cjs.map +1 -0
- package/dist/config/index.d.cts +101 -0
- package/dist/config/index.d.ts +101 -0
- package/dist/config/index.js +165 -0
- package/dist/config/index.js.map +1 -0
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-BCj1OWqL.d.cts} +36 -36
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-BCj1OWqL.d.ts} +36 -36
- package/dist/{index-EPjPjR0z.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-C0J3f169.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/schemas/index.d.cts +11 -11
- package/dist/schemas/index.d.ts +11 -11
- package/package.json +7 -1
- package/src/__tests__/runtime-contract-validator.test.ts +556 -0
- package/src/config/fixtures/valid.yaml +90 -0
- package/src/config/index.ts +352 -0
|
@@ -21,9 +21,9 @@ declare const formSectionRefSchema: Schema<any, mongoose.Model<any, any, any, an
|
|
|
21
21
|
presetsType?: string | null | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
id: string;
|
|
24
|
-
},
|
|
24
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
25
25
|
_id: false;
|
|
26
|
-
}
|
|
26
|
+
}> & Omit<{
|
|
27
27
|
index: number;
|
|
28
28
|
sectionId: string;
|
|
29
29
|
sectionVersion: string;
|
|
@@ -111,9 +111,9 @@ declare const formSchemaDefinition: {
|
|
|
111
111
|
presetsType?: string | null | undefined;
|
|
112
112
|
}, {
|
|
113
113
|
id: string;
|
|
114
|
-
},
|
|
114
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
115
115
|
_id: false;
|
|
116
|
-
}
|
|
116
|
+
}> & Omit<{
|
|
117
117
|
index: number;
|
|
118
118
|
sectionId: string;
|
|
119
119
|
sectionVersion: string;
|
|
@@ -208,9 +208,9 @@ declare const sectionQuestionRefSchema: Schema<any, mongoose.Model<any, any, any
|
|
|
208
208
|
questionVersion: string;
|
|
209
209
|
}, {
|
|
210
210
|
id: string;
|
|
211
|
-
},
|
|
211
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
212
212
|
_id: false;
|
|
213
|
-
}
|
|
213
|
+
}> & Omit<{
|
|
214
214
|
index: number;
|
|
215
215
|
questionId: string;
|
|
216
216
|
questionVersion: string;
|
|
@@ -240,9 +240,9 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
|
|
|
240
240
|
type: "tip" | "warning" | "prompt";
|
|
241
241
|
}, {
|
|
242
242
|
id: string;
|
|
243
|
-
},
|
|
243
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
244
244
|
_id: false;
|
|
245
|
-
}
|
|
245
|
+
}> & Omit<{
|
|
246
246
|
text: string;
|
|
247
247
|
type: "tip" | "warning" | "prompt";
|
|
248
248
|
} & {
|
|
@@ -301,9 +301,9 @@ declare const sectionSchemaDefinition: {
|
|
|
301
301
|
type: "tip" | "warning" | "prompt";
|
|
302
302
|
}, {
|
|
303
303
|
id: string;
|
|
304
|
-
},
|
|
304
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
305
305
|
_id: false;
|
|
306
|
-
}
|
|
306
|
+
}> & Omit<{
|
|
307
307
|
text: string;
|
|
308
308
|
type: "tip" | "warning" | "prompt";
|
|
309
309
|
} & {
|
|
@@ -335,9 +335,9 @@ declare const sectionSchemaDefinition: {
|
|
|
335
335
|
questionVersion: string;
|
|
336
336
|
}, {
|
|
337
337
|
id: string;
|
|
338
|
-
},
|
|
338
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
339
339
|
_id: false;
|
|
340
|
-
}
|
|
340
|
+
}> & Omit<{
|
|
341
341
|
index: number;
|
|
342
342
|
questionId: string;
|
|
343
343
|
questionVersion: string;
|
|
@@ -444,9 +444,9 @@ declare const choiceSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
444
444
|
tip?: string | null | undefined;
|
|
445
445
|
}, {
|
|
446
446
|
id: string;
|
|
447
|
-
},
|
|
447
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
448
448
|
_id: false;
|
|
449
|
-
}
|
|
449
|
+
}> & Omit<{
|
|
450
450
|
text: string;
|
|
451
451
|
val: any;
|
|
452
452
|
trigger: string[];
|
|
@@ -482,9 +482,9 @@ declare const visibilityRuleSchema: Schema<any, mongoose.Model<any, any, any, an
|
|
|
482
482
|
condition: "equals" | "not_equals" | "any_of" | "in_range";
|
|
483
483
|
}, {
|
|
484
484
|
id: string;
|
|
485
|
-
},
|
|
485
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
486
486
|
_id: false;
|
|
487
|
-
}
|
|
487
|
+
}> & Omit<{
|
|
488
488
|
values: any[];
|
|
489
489
|
source: "session" | "form";
|
|
490
490
|
dependsOn: string;
|
|
@@ -518,9 +518,9 @@ declare const layoutSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
518
518
|
groupKey?: string | null | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
id: string;
|
|
521
|
-
},
|
|
521
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
522
522
|
_id: false;
|
|
523
|
-
}
|
|
523
|
+
}> & Omit<{
|
|
524
524
|
collapsible: boolean;
|
|
525
525
|
columns: number;
|
|
526
526
|
groupKey?: string | null | undefined;
|
|
@@ -637,9 +637,9 @@ declare const questionSchemaDefinition: {
|
|
|
637
637
|
tip?: string | null | undefined;
|
|
638
638
|
}, {
|
|
639
639
|
id: string;
|
|
640
|
-
},
|
|
640
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
641
641
|
_id: false;
|
|
642
|
-
}
|
|
642
|
+
}> & Omit<{
|
|
643
643
|
text: string;
|
|
644
644
|
val: any;
|
|
645
645
|
trigger: string[];
|
|
@@ -709,9 +709,9 @@ declare const questionSchemaDefinition: {
|
|
|
709
709
|
condition: "equals" | "not_equals" | "any_of" | "in_range";
|
|
710
710
|
}, {
|
|
711
711
|
id: string;
|
|
712
|
-
},
|
|
712
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
713
713
|
_id: false;
|
|
714
|
-
}
|
|
714
|
+
}> & Omit<{
|
|
715
715
|
values: any[];
|
|
716
716
|
source: "session" | "form";
|
|
717
717
|
dependsOn: string;
|
|
@@ -746,9 +746,9 @@ declare const questionSchemaDefinition: {
|
|
|
746
746
|
groupKey?: string | null | undefined;
|
|
747
747
|
}, {
|
|
748
748
|
id: string;
|
|
749
|
-
},
|
|
749
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
750
750
|
_id: false;
|
|
751
|
-
}
|
|
751
|
+
}> & Omit<{
|
|
752
752
|
collapsible: boolean;
|
|
753
753
|
columns: number;
|
|
754
754
|
groupKey?: string | null | undefined;
|
|
@@ -868,9 +868,9 @@ declare const scoringConditionSchema: Schema<any, mongoose.Model<any, any, any,
|
|
|
868
868
|
weight: number;
|
|
869
869
|
}, {
|
|
870
870
|
id: string;
|
|
871
|
-
},
|
|
871
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
872
872
|
_id: false;
|
|
873
|
-
}
|
|
873
|
+
}> & Omit<{
|
|
874
874
|
value: any;
|
|
875
875
|
questionKey: string;
|
|
876
876
|
operator: "ne" | "lt" | "eq" | "in" | "not_in" | "gt" | "gte" | "lte";
|
|
@@ -906,9 +906,9 @@ declare const scoringThresholdSchema: Schema<any, mongoose.Model<any, any, any,
|
|
|
906
906
|
riskLevel: string;
|
|
907
907
|
}, {
|
|
908
908
|
id: string;
|
|
909
|
-
},
|
|
909
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
910
910
|
_id: false;
|
|
911
|
-
}
|
|
911
|
+
}> & Omit<{
|
|
912
912
|
label: string;
|
|
913
913
|
minScore: number;
|
|
914
914
|
maxScore: number;
|
|
@@ -942,9 +942,9 @@ declare const scoringRecommendationSchema: Schema<any, mongoose.Model<any, any,
|
|
|
942
942
|
action: string;
|
|
943
943
|
}, {
|
|
944
944
|
id: string;
|
|
945
|
-
},
|
|
945
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
946
946
|
_id: false;
|
|
947
|
-
}
|
|
947
|
+
}> & Omit<{
|
|
948
948
|
description: string;
|
|
949
949
|
riskLevel: string;
|
|
950
950
|
action: string;
|
|
@@ -1031,9 +1031,9 @@ declare const scoringRuleSchemaDefinition: {
|
|
|
1031
1031
|
weight: number;
|
|
1032
1032
|
}, {
|
|
1033
1033
|
id: string;
|
|
1034
|
-
},
|
|
1034
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
1035
1035
|
_id: false;
|
|
1036
|
-
}
|
|
1036
|
+
}> & Omit<{
|
|
1037
1037
|
value: any;
|
|
1038
1038
|
questionKey: string;
|
|
1039
1039
|
operator: "ne" | "lt" | "eq" | "in" | "not_in" | "gt" | "gte" | "lte";
|
|
@@ -1071,9 +1071,9 @@ declare const scoringRuleSchemaDefinition: {
|
|
|
1071
1071
|
riskLevel: string;
|
|
1072
1072
|
}, {
|
|
1073
1073
|
id: string;
|
|
1074
|
-
},
|
|
1074
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
1075
1075
|
_id: false;
|
|
1076
|
-
}
|
|
1076
|
+
}> & Omit<{
|
|
1077
1077
|
label: string;
|
|
1078
1078
|
minScore: number;
|
|
1079
1079
|
maxScore: number;
|
|
@@ -1109,9 +1109,9 @@ declare const scoringRuleSchemaDefinition: {
|
|
|
1109
1109
|
action: string;
|
|
1110
1110
|
}, {
|
|
1111
1111
|
id: string;
|
|
1112
|
-
},
|
|
1112
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
1113
1113
|
_id: false;
|
|
1114
|
-
}
|
|
1114
|
+
}> & Omit<{
|
|
1115
1115
|
description: string;
|
|
1116
1116
|
riskLevel: string;
|
|
1117
1117
|
action: string;
|
|
@@ -21,9 +21,9 @@ declare const formSectionRefSchema: Schema<any, mongoose.Model<any, any, any, an
|
|
|
21
21
|
presetsType?: string | null | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
id: string;
|
|
24
|
-
},
|
|
24
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
25
25
|
_id: false;
|
|
26
|
-
}
|
|
26
|
+
}> & Omit<{
|
|
27
27
|
index: number;
|
|
28
28
|
sectionId: string;
|
|
29
29
|
sectionVersion: string;
|
|
@@ -111,9 +111,9 @@ declare const formSchemaDefinition: {
|
|
|
111
111
|
presetsType?: string | null | undefined;
|
|
112
112
|
}, {
|
|
113
113
|
id: string;
|
|
114
|
-
},
|
|
114
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
115
115
|
_id: false;
|
|
116
|
-
}
|
|
116
|
+
}> & Omit<{
|
|
117
117
|
index: number;
|
|
118
118
|
sectionId: string;
|
|
119
119
|
sectionVersion: string;
|
|
@@ -208,9 +208,9 @@ declare const sectionQuestionRefSchema: Schema<any, mongoose.Model<any, any, any
|
|
|
208
208
|
questionVersion: string;
|
|
209
209
|
}, {
|
|
210
210
|
id: string;
|
|
211
|
-
},
|
|
211
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
212
212
|
_id: false;
|
|
213
|
-
}
|
|
213
|
+
}> & Omit<{
|
|
214
214
|
index: number;
|
|
215
215
|
questionId: string;
|
|
216
216
|
questionVersion: string;
|
|
@@ -240,9 +240,9 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
|
|
|
240
240
|
type: "tip" | "warning" | "prompt";
|
|
241
241
|
}, {
|
|
242
242
|
id: string;
|
|
243
|
-
},
|
|
243
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
244
244
|
_id: false;
|
|
245
|
-
}
|
|
245
|
+
}> & Omit<{
|
|
246
246
|
text: string;
|
|
247
247
|
type: "tip" | "warning" | "prompt";
|
|
248
248
|
} & {
|
|
@@ -301,9 +301,9 @@ declare const sectionSchemaDefinition: {
|
|
|
301
301
|
type: "tip" | "warning" | "prompt";
|
|
302
302
|
}, {
|
|
303
303
|
id: string;
|
|
304
|
-
},
|
|
304
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
305
305
|
_id: false;
|
|
306
|
-
}
|
|
306
|
+
}> & Omit<{
|
|
307
307
|
text: string;
|
|
308
308
|
type: "tip" | "warning" | "prompt";
|
|
309
309
|
} & {
|
|
@@ -335,9 +335,9 @@ declare const sectionSchemaDefinition: {
|
|
|
335
335
|
questionVersion: string;
|
|
336
336
|
}, {
|
|
337
337
|
id: string;
|
|
338
|
-
},
|
|
338
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
339
339
|
_id: false;
|
|
340
|
-
}
|
|
340
|
+
}> & Omit<{
|
|
341
341
|
index: number;
|
|
342
342
|
questionId: string;
|
|
343
343
|
questionVersion: string;
|
|
@@ -444,9 +444,9 @@ declare const choiceSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
444
444
|
tip?: string | null | undefined;
|
|
445
445
|
}, {
|
|
446
446
|
id: string;
|
|
447
|
-
},
|
|
447
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
448
448
|
_id: false;
|
|
449
|
-
}
|
|
449
|
+
}> & Omit<{
|
|
450
450
|
text: string;
|
|
451
451
|
val: any;
|
|
452
452
|
trigger: string[];
|
|
@@ -482,9 +482,9 @@ declare const visibilityRuleSchema: Schema<any, mongoose.Model<any, any, any, an
|
|
|
482
482
|
condition: "equals" | "not_equals" | "any_of" | "in_range";
|
|
483
483
|
}, {
|
|
484
484
|
id: string;
|
|
485
|
-
},
|
|
485
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
486
486
|
_id: false;
|
|
487
|
-
}
|
|
487
|
+
}> & Omit<{
|
|
488
488
|
values: any[];
|
|
489
489
|
source: "session" | "form";
|
|
490
490
|
dependsOn: string;
|
|
@@ -518,9 +518,9 @@ declare const layoutSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
518
518
|
groupKey?: string | null | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
id: string;
|
|
521
|
-
},
|
|
521
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
522
522
|
_id: false;
|
|
523
|
-
}
|
|
523
|
+
}> & Omit<{
|
|
524
524
|
collapsible: boolean;
|
|
525
525
|
columns: number;
|
|
526
526
|
groupKey?: string | null | undefined;
|
|
@@ -637,9 +637,9 @@ declare const questionSchemaDefinition: {
|
|
|
637
637
|
tip?: string | null | undefined;
|
|
638
638
|
}, {
|
|
639
639
|
id: string;
|
|
640
|
-
},
|
|
640
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
641
641
|
_id: false;
|
|
642
|
-
}
|
|
642
|
+
}> & Omit<{
|
|
643
643
|
text: string;
|
|
644
644
|
val: any;
|
|
645
645
|
trigger: string[];
|
|
@@ -709,9 +709,9 @@ declare const questionSchemaDefinition: {
|
|
|
709
709
|
condition: "equals" | "not_equals" | "any_of" | "in_range";
|
|
710
710
|
}, {
|
|
711
711
|
id: string;
|
|
712
|
-
},
|
|
712
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
713
713
|
_id: false;
|
|
714
|
-
}
|
|
714
|
+
}> & Omit<{
|
|
715
715
|
values: any[];
|
|
716
716
|
source: "session" | "form";
|
|
717
717
|
dependsOn: string;
|
|
@@ -746,9 +746,9 @@ declare const questionSchemaDefinition: {
|
|
|
746
746
|
groupKey?: string | null | undefined;
|
|
747
747
|
}, {
|
|
748
748
|
id: string;
|
|
749
|
-
},
|
|
749
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
750
750
|
_id: false;
|
|
751
|
-
}
|
|
751
|
+
}> & Omit<{
|
|
752
752
|
collapsible: boolean;
|
|
753
753
|
columns: number;
|
|
754
754
|
groupKey?: string | null | undefined;
|
|
@@ -868,9 +868,9 @@ declare const scoringConditionSchema: Schema<any, mongoose.Model<any, any, any,
|
|
|
868
868
|
weight: number;
|
|
869
869
|
}, {
|
|
870
870
|
id: string;
|
|
871
|
-
},
|
|
871
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
872
872
|
_id: false;
|
|
873
|
-
}
|
|
873
|
+
}> & Omit<{
|
|
874
874
|
value: any;
|
|
875
875
|
questionKey: string;
|
|
876
876
|
operator: "ne" | "lt" | "eq" | "in" | "not_in" | "gt" | "gte" | "lte";
|
|
@@ -906,9 +906,9 @@ declare const scoringThresholdSchema: Schema<any, mongoose.Model<any, any, any,
|
|
|
906
906
|
riskLevel: string;
|
|
907
907
|
}, {
|
|
908
908
|
id: string;
|
|
909
|
-
},
|
|
909
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
910
910
|
_id: false;
|
|
911
|
-
}
|
|
911
|
+
}> & Omit<{
|
|
912
912
|
label: string;
|
|
913
913
|
minScore: number;
|
|
914
914
|
maxScore: number;
|
|
@@ -942,9 +942,9 @@ declare const scoringRecommendationSchema: Schema<any, mongoose.Model<any, any,
|
|
|
942
942
|
action: string;
|
|
943
943
|
}, {
|
|
944
944
|
id: string;
|
|
945
|
-
},
|
|
945
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
946
946
|
_id: false;
|
|
947
|
-
}
|
|
947
|
+
}> & Omit<{
|
|
948
948
|
description: string;
|
|
949
949
|
riskLevel: string;
|
|
950
950
|
action: string;
|
|
@@ -1031,9 +1031,9 @@ declare const scoringRuleSchemaDefinition: {
|
|
|
1031
1031
|
weight: number;
|
|
1032
1032
|
}, {
|
|
1033
1033
|
id: string;
|
|
1034
|
-
},
|
|
1034
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
1035
1035
|
_id: false;
|
|
1036
|
-
}
|
|
1036
|
+
}> & Omit<{
|
|
1037
1037
|
value: any;
|
|
1038
1038
|
questionKey: string;
|
|
1039
1039
|
operator: "ne" | "lt" | "eq" | "in" | "not_in" | "gt" | "gte" | "lte";
|
|
@@ -1071,9 +1071,9 @@ declare const scoringRuleSchemaDefinition: {
|
|
|
1071
1071
|
riskLevel: string;
|
|
1072
1072
|
}, {
|
|
1073
1073
|
id: string;
|
|
1074
|
-
},
|
|
1074
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
1075
1075
|
_id: false;
|
|
1076
|
-
}
|
|
1076
|
+
}> & Omit<{
|
|
1077
1077
|
label: string;
|
|
1078
1078
|
minScore: number;
|
|
1079
1079
|
maxScore: number;
|
|
@@ -1109,9 +1109,9 @@ declare const scoringRuleSchemaDefinition: {
|
|
|
1109
1109
|
action: string;
|
|
1110
1110
|
}, {
|
|
1111
1111
|
id: string;
|
|
1112
|
-
},
|
|
1112
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
1113
1113
|
_id: false;
|
|
1114
|
-
}
|
|
1114
|
+
}> & Omit<{
|
|
1115
1115
|
description: string;
|
|
1116
1116
|
riskLevel: string;
|
|
1117
1117
|
action: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-
|
|
1
|
+
import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-BCj1OWqL.cjs';
|
|
2
2
|
import * as mongoose from 'mongoose';
|
|
3
3
|
import { HydratedDocument, Connection, Model } from 'mongoose';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-
|
|
1
|
+
import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-BCj1OWqL.js';
|
|
2
2
|
import * as mongoose from 'mongoose';
|
|
3
3
|
import { HydratedDocument, Connection, Model } from 'mongoose';
|
|
4
4
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136CoreIndicator, y as CVC136Option, z as CVC136Value, D as CVC145Category, E as CVC145Option, F as CVC145Value, G as CVC147Value, H as CVC148Value, I as CVC150Value, J as CVC151Value, K as CVC152Value, L as CVC153Value, M as CVC156Value, N as CVC157Value, O as CVC158Value, P as CVC159Category, Q as CVC159Option, R as CVC159Value, S as CVC15Value, T as CVC16Value, U as CVC171Category, V as CVC171Option, W as CVC171Value, X as CVC179HierarchicalCategory, Y as CVC179HierarchicalValue, Z as CVC179Value, _ as CVC17Value, $ as CVC180Value, a0 as CVC181Value, a1 as CVC196Value, a2 as CVC1Value, a3 as CVC67Value, a4 as CVC72Value, a5 as CVC76Value, a6 as CVC93Value, a7 as CVC95Value, a8 as CVC96Value, a9 as CVC97Value, aa as CVC98Value, ab as CVC99Value, ac as CVC_100_LABELS, ad as CVC_100_LIVES_RURAL, ae as CVC_100_VALUES, af as CVC_115_LABELS, ag as CVC_115_SERVICE_PLANNING, ah as CVC_115_VALUES, ai as CVC_120_LABELS, aj as CVC_120_MILITARY_BRANCH, ak as CVC_120_VALUES, al as CVC_121_LABELS, am as CVC_121_MILITARY_STATUS, an as CVC_121_VALUES, ao as CVC_122_LABELS, ap as CVC_122_PRIMARY_LANGUAGE, aq as CVC_122_VALUES, ar as CVC_126_CATEGORY, as as CVC_126_CATEGORY_LABELS, at as CVC_126_LABELS, au as CVC_126_OPTIONS, av as CVC_126_PERSON_RELATIONSHIP, aw as CVC_126_PROTECTED_CATEGORIES, ax as CVC_126_TYPE_TO_CATEGORY, ay as CVC_126_VALUES, az as CVC_136_ALERT_INDICATOR, aA as CVC_136_CATEGORY_LABELS, aB as CVC_136_CORE_INDICATOR_LABELS, aC as CVC_136_CORE_INDICATOR_VALUES, aD as CVC_136_INDICATOR_CATEGORY, aE as CVC_136_LABELS, aF as CVC_136_OPTIONS, aG as CVC_136_TYPE_TO_CATEGORY, aH as CVC_136_VALUES, aI as CVC_145_CATEGORY, aJ as CVC_145_CATEGORY_LABELS, aK as CVC_145_CATEGORY_ORDER, aL as CVC_145_LABELS, aM as CVC_145_OPTIONS, aN as CVC_145_RELATIONSHIP_DYNAMICS, aO as CVC_145_SELECTABLE_OPTIONS, aP as CVC_145_TYPE_TO_CATEGORY, aQ as CVC_145_VALUES, aR as CVC_147_LABELS, aS as CVC_147_PRONOUNS, aT as CVC_147_VALUES, aU as CVC_148_LABELS, aV as CVC_148_TRIBES, aW as CVC_148_VALUES, aX as CVC_150_EYE_COLOR, aY as CVC_150_LABELS, aZ as CVC_150_VALUES, a_ as CVC_151_HAIR_COLOR, a$ as CVC_151_LABELS, b0 as CVC_151_VALUES, b1 as CVC_152_HAS_TATTOOS, b2 as CVC_152_LABELS, b3 as CVC_152_VALUES, b4 as CVC_153_LABELS, b5 as CVC_153_SMT_TYPE, b6 as CVC_153_VALUES, b7 as CVC_156_LABELS, b8 as CVC_156_MARITAL_STATUS, b9 as CVC_156_VALUES, ba as CVC_157_LABELS, bb as CVC_157_RELATIONSHIP_STATUS, bc as CVC_157_VALUES, bd as CVC_158_CUSTODY_STATUS, be as CVC_158_LABELS, bf as CVC_158_VALUES, bg as CVC_159_CATEGORY, bh as CVC_159_CATEGORY_LABELS, bi as CVC_159_CATEGORY_ORDER, bj as CVC_159_LABELS, bk as CVC_159_OPTIONS, bl as CVC_159_RELATIONSHIP_TIES, bm as CVC_159_SELECTABLE_OPTIONS, bn as CVC_159_TYPE_TO_CATEGORY, bo as CVC_159_VALUES, bp as CVC_15_CORE_SEX, bq as CVC_15_LABELS, br as CVC_15_SELECTABLE_VALUES, bs as CVC_16_CORE_ORIENTATION, bt as CVC_16_LABELS, bu as CVC_16_LGBTQ_VALUES, bv as CVC_171_CATEGORY, bw as CVC_171_CATEGORY_LABELS, bx as CVC_171_CHILD_TO_PARENT, by as CVC_171_INCOME_BENEFITS, bz as CVC_171_INCOME_SOURCES, bA as CVC_171_LABELS, bB as CVC_171_PARENT_CHILDREN, bC as CVC_171_SELECTABLE_OPTIONS, bD as CVC_171_VALUES, bE as CVC_171_VALUE_TO_CATEGORY, bF as CVC_179_CHILD_TO_PARENT, bG as CVC_179_EMPLOYMENT_STATUS, bH as CVC_179_HIERARCHICAL_CATEGORY, bI as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bJ as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bK as CVC_179_HIERARCHICAL_LABELS, bL as CVC_179_HIERARCHICAL_VALUES, bM as CVC_179_LABELS, bN as CVC_179_PARENT_CHILDREN, bO as CVC_179_PRIMARY_CATEGORY, bP as CVC_179_SELECTABLE_OPTIONS, bQ as CVC_179_VALUES, bR as CVC_179_VALUE_TO_CATEGORY, bS as CVC_17_CORE_GENDER_IDENTITY, bT as CVC_17_LABELS, bU as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bV as CVC_17_LEVEL_1_OPTIONS, bW as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bX as CVC_17_TRANSGENDER_VALUES, bY as CVC_180_EDUCATION_LEVEL, bZ as CVC_180_LABELS, b_ as CVC_180_ORDINAL, b$ as CVC_180_VALUES, c0 as CVC_181_COUNTRIES, c1 as CVC_181_LABELS, c2 as CVC_196_CHILD_WELFARE_EPISODE_TYPE, c3 as CVC_196_LABELS, c4 as CVC_196_VALUES, c5 as CVC_1_LABELS, c6 as CVC_1_NAME_TYPE, c7 as CVC_1_STRUCTURED_NAME_TYPES, c8 as CVC_1_UNSTRUCTURED_NAME_TYPES, c9 as CVC_1_VALUES, ca as CVC_67_HMIS_SEX, cb as CVC_67_LABELS, cc as CVC_67_MISSINGNESS_VALUES, cd as CVC_67_SELECTABLE_VALUES, ce as CVC_72_HT_TYPE, cf as CVC_72_LABELS, cg as CVC_72_VALUES, ch as CVC_76_LABELS, ci as CVC_76_RACE_ETHNICITY, cj as CVC_76_VALUES, ck as CVC_93_CHILD_WELFARE_INVOLVEMENT, cl as CVC_93_LABELS, cm as CVC_93_VALUES, cn as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, co as CVC_95_LABELS, cp as CVC_95_VALUES, cq as CVC_96_HOMELESS_STATUS, cr as CVC_96_LABELS, cs as CVC_96_VALUES, ct as CVC_97_IMMIGRANT_REFUGEE, cu as CVC_97_LABELS, cv as CVC_97_VALUES, cw as CVC_98_LABELS, cx as CVC_98_US_VETERAN, cy as CVC_98_VALUES, cz as CVC_99_ENGLISH_PROFICIENCY, cA as CVC_99_LABELS, cB as CVC_99_VALUES, cC as DATA_QUALITY, cD as DATA_QUALITY_DESCRIPTIONS, cE as DATA_QUALITY_LABELS, cF as DATA_QUALITY_VALUES, cG as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cH as DataQualityValue, cI as FORM_STATUS, cJ as FORM_STATUS_LABELS, cK as FORM_TYPE, cL as FORM_TYPE_LABELS, cM as FUNCTION_STATUS, cN as FUNCTION_STATUS_LABELS, cO as FUNCTION_STATUS_VALUES, cP as FormStatusValue, cQ as FormTypeValue, cR as FunctionStatusValue, cS as IC13Category, cT as IC13PriorityGroup, cU as IC13Value, cV as IC22Value, cW as IC23Value, cX as IC24Value, cY as IC25Value, cZ as IC49ReferralOutcomeValue, c_ as IC49ReferralVerificationValue, c$ as IC49Value, d0 as IC4Value, d1 as IC56ChannelValue, d2 as IC56Value, d3 as IC57Value, d4 as IC58ExternalCategory, d5 as IC58Value, d6 as IC59Value, d7 as IC5Value, d8 as IC_13_CATEGORIES, d9 as IC_13_CATEGORY_ORDER, da as IC_13_LABELS, db as IC_13_PRIORITY_GROUPS, dc as IC_13_RELATIONSHIP_ABBREV, dd as IC_13_RELATIONSHIP_TYPE, de as IC_13_REVERSE_CONTEXT_LABELS, df as IC_22_CORE_SEX, dg as IC_22_LABELS, dh as IC_23_CORE_GENDER_IDENTITY, di as IC_23_LABELS, dj as IC_24_LABELS, dk as IC_24_RACE, dl as IC_25_ETHNICITY, dm as IC_25_LABELS, dn as IC_48_SERVICE_CATEGORIES, dp as IC_49_DESCRIPTIONS, dq as IC_49_LABELS, dr as IC_49_REFERRAL_OUTCOME, ds as IC_49_REFERRAL_OUTCOME_LABELS, dt as IC_49_REFERRAL_VERIFICATION, du as IC_49_REFERRAL_VERIFICATION_LABELS, dv as IC_49_SERVICE_MECHANISM, dw as IC_4_AGE_TYPE, dx as IC_4_LABELS, dy as IC_56_DESCRIPTIONS, dz as IC_56_LABELS, dA as IC_56_OPTIONS, dB as IC_56_PROVISIONAL_CHANNELS, dC as IC_56_SERVICE_DELIVERY_CHANNEL, dD as IC_57_LABELS, dE as IC_57_SERVICE_AUDIENCE, dF as IC_58_EXTERNAL_TIERED, dG as IC_58_LABELS, dH as IC_58_ORG_TYPE_GROUPS, dI as IC_58_PRIMARY_BRANCHES, dJ as IC_58_REFERRAL_ENTITY, dK as IC_59_LABELS, dL as IC_59_SERVICE_STATE, dM as IC_5_FULL_LABELS, dN as IC_5_LABELS, dO as IC_5_VICTIMIZATION, dP as INCIDENT_INVOLVEMENT_ROLE, dQ as INCIDENT_INVOLVEMENT_ROLE_LABELS, dR as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dS as INCIDENT_PARTICIPATION_ROLE, dT as INCIDENT_PARTICIPATION_ROLE_LABELS, dU as INCIDENT_PARTICIPATION_ROLE_VALUES, dV as INTERACTION_TYPES, dW as INTERACTION_TYPE_LABELS, dX as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dY as IncidentInvolvementRoleValue, dZ as IncidentParticipationRoleValue, d_ as InteractionTypeValue, d$ as MINOR_ADULT_STATUS, e0 as MINOR_ADULT_STATUS_LABELS, e1 as MinorAdultStatusValue, e2 as OrgTypeGroup, e3 as PARTICIPATION_ROLE_CATEGORIES, e4 as PERMISSION_STATE, e5 as PERMISSION_STATE_DISPLAY, e6 as PERMISSION_STATE_LABELS, e7 as PERMISSION_STATE_VALUES, e8 as PERSON_DISPLAY_CATEGORY, e9 as PERSON_DISPLAY_CATEGORY_LABELS, ea as PERSON_ROLES, eb as PERSON_TYPE, ec as PERSON_TYPE_VALUES, ed as PLATFORM_TOOL, ee as PLATFORM_TOOL_LABELS, ef as PLATFORM_TOOL_VALUES, eg as PermissionStateValue, eh as PersonDisplayCategoryValue, ei as PersonRoleValue, ej as PersonTypeValue, ek as PlatformToolValue, el as QUESTION_FORMAT, em as QUESTION_FORMAT_LABELS, en as QUICK_START_CONFIG, eo as QUICK_START_LABELS, ep as QUICK_START_TEMPLATES, eq as QuestionFormatValue, er as QuickStartTemplateId, es as RECORD_STATES, et as RECORD_STATE_LABELS, eu as RELATIONSHIP_CONCERNS, ev as RELATIONSHIP_CONCERNS_LABELS, ew as RELATIONSHIP_CONCERNS_VALUES, ex as RELATIONSHIP_DYNAMICS, ey as RELATIONSHIP_DYNAMICS_LABELS, ez as RELATIONSHIP_DYNAMICS_VALUES, eA as ROLE_LEVEL, eB as ROLE_LEVEL_LABELS, eC as ROLE_LEVEL_VALUES, eD as RecordStateValue, eE as ReferralBranch, eF as RelationshipConcernValue, eG as RelationshipDynamicValue, eH as RoleLevelValue, eI as SESSION_STATES, eJ as SESSION_STATE_LABELS, eK as SHARE_VIEW, eL as SHARE_VIEW_LABELS, eM as SHARE_VIEW_VALUES, eN as SUBMISSION_STATES, eO as SUBMISSION_STATE_LABELS, eP as ServiceCategory, eQ as ServiceCategoryChild, eR as SessionStateValue, eS as ShareViewValue, eT as SubmissionStateValue, eU as THREAD_INVOLVEMENT_ROLES, eV as USER_STATUS, eW as USER_STATUS_LABELS, eX as UserStatusValue, eY as VALID_INTERACTION_TYPES, eZ as VALID_RECORD_STATES, e_ as deriveAgeBinFromAge, e$ as getDisplayCategoryForRole, f0 as getPersonTypeForRole, f1 as getRelationshipCategory, f2 as isIC56Missingness, f3 as isIC56ValidChannel, f4 as isLgbtqOrientation, f5 as isProtectedRelationship, f6 as isStructuredNameType, f7 as isTransgenderGenderIdentity, f8 as sortRelationshipsByPriority } from './platform-auth-BSKYSDKe.cjs';
|
|
2
2
|
export { IC48Catalog, IC48CatalogMeta, IC48Category, IC48CategoryCrosswalk, IC48CrisisServiceId, IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory } from './constants/index.cjs';
|
|
3
3
|
export { Address, Demographics, Email, PersonName, Phone, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema } from './schemas/index.cjs';
|
|
4
|
-
export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-
|
|
5
|
-
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-
|
|
4
|
+
export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-BCj1OWqL.cjs';
|
|
5
|
+
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-CoVr1jIV.cjs';
|
|
6
6
|
export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.cjs';
|
|
7
7
|
export { CvcCode, CvcCodeSchema, CvcDomain, CvcEntrySchema, CvcEnvelope, CvcEnvelopeSchema, CvcKey, CvcKeySchema, ServiceCategoryEntry, ServiceCategoryEntrySchema } from './validation/index.cjs';
|
|
8
8
|
export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, basisQuickPicksSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childChangeTypeSot, childCustodyArrangementSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactSafetyStatusSot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationLevelSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hivStatusSot, hmisProjectTypeSot, hmisRelationshipToHohSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, immigrationLegalStatusChangeTypeSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, mentalHealthStatusSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, nameTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, preferredContactMethodSot, primaryLanguageSot, programEnrollmentChangeTypeSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, qualityFlagsSot, raceEthnicitySot, recencyBandSot, referenceLinkTypeSot, referralEntityCategorySot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, roleContextSot, romanticRelationshipChangeTypeSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionStateSot, severityFollowUpSot, sexProviderSubroleSot, sharePurposeSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceSubtypeSot, specialNeedsDisabilitiesSot, substanceUseStatusSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, tribesSot, verificationMethodSot, verificationStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot } from './cvcs/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136CoreIndicator, y as CVC136Option, z as CVC136Value, D as CVC145Category, E as CVC145Option, F as CVC145Value, G as CVC147Value, H as CVC148Value, I as CVC150Value, J as CVC151Value, K as CVC152Value, L as CVC153Value, M as CVC156Value, N as CVC157Value, O as CVC158Value, P as CVC159Category, Q as CVC159Option, R as CVC159Value, S as CVC15Value, T as CVC16Value, U as CVC171Category, V as CVC171Option, W as CVC171Value, X as CVC179HierarchicalCategory, Y as CVC179HierarchicalValue, Z as CVC179Value, _ as CVC17Value, $ as CVC180Value, a0 as CVC181Value, a1 as CVC196Value, a2 as CVC1Value, a3 as CVC67Value, a4 as CVC72Value, a5 as CVC76Value, a6 as CVC93Value, a7 as CVC95Value, a8 as CVC96Value, a9 as CVC97Value, aa as CVC98Value, ab as CVC99Value, ac as CVC_100_LABELS, ad as CVC_100_LIVES_RURAL, ae as CVC_100_VALUES, af as CVC_115_LABELS, ag as CVC_115_SERVICE_PLANNING, ah as CVC_115_VALUES, ai as CVC_120_LABELS, aj as CVC_120_MILITARY_BRANCH, ak as CVC_120_VALUES, al as CVC_121_LABELS, am as CVC_121_MILITARY_STATUS, an as CVC_121_VALUES, ao as CVC_122_LABELS, ap as CVC_122_PRIMARY_LANGUAGE, aq as CVC_122_VALUES, ar as CVC_126_CATEGORY, as as CVC_126_CATEGORY_LABELS, at as CVC_126_LABELS, au as CVC_126_OPTIONS, av as CVC_126_PERSON_RELATIONSHIP, aw as CVC_126_PROTECTED_CATEGORIES, ax as CVC_126_TYPE_TO_CATEGORY, ay as CVC_126_VALUES, az as CVC_136_ALERT_INDICATOR, aA as CVC_136_CATEGORY_LABELS, aB as CVC_136_CORE_INDICATOR_LABELS, aC as CVC_136_CORE_INDICATOR_VALUES, aD as CVC_136_INDICATOR_CATEGORY, aE as CVC_136_LABELS, aF as CVC_136_OPTIONS, aG as CVC_136_TYPE_TO_CATEGORY, aH as CVC_136_VALUES, aI as CVC_145_CATEGORY, aJ as CVC_145_CATEGORY_LABELS, aK as CVC_145_CATEGORY_ORDER, aL as CVC_145_LABELS, aM as CVC_145_OPTIONS, aN as CVC_145_RELATIONSHIP_DYNAMICS, aO as CVC_145_SELECTABLE_OPTIONS, aP as CVC_145_TYPE_TO_CATEGORY, aQ as CVC_145_VALUES, aR as CVC_147_LABELS, aS as CVC_147_PRONOUNS, aT as CVC_147_VALUES, aU as CVC_148_LABELS, aV as CVC_148_TRIBES, aW as CVC_148_VALUES, aX as CVC_150_EYE_COLOR, aY as CVC_150_LABELS, aZ as CVC_150_VALUES, a_ as CVC_151_HAIR_COLOR, a$ as CVC_151_LABELS, b0 as CVC_151_VALUES, b1 as CVC_152_HAS_TATTOOS, b2 as CVC_152_LABELS, b3 as CVC_152_VALUES, b4 as CVC_153_LABELS, b5 as CVC_153_SMT_TYPE, b6 as CVC_153_VALUES, b7 as CVC_156_LABELS, b8 as CVC_156_MARITAL_STATUS, b9 as CVC_156_VALUES, ba as CVC_157_LABELS, bb as CVC_157_RELATIONSHIP_STATUS, bc as CVC_157_VALUES, bd as CVC_158_CUSTODY_STATUS, be as CVC_158_LABELS, bf as CVC_158_VALUES, bg as CVC_159_CATEGORY, bh as CVC_159_CATEGORY_LABELS, bi as CVC_159_CATEGORY_ORDER, bj as CVC_159_LABELS, bk as CVC_159_OPTIONS, bl as CVC_159_RELATIONSHIP_TIES, bm as CVC_159_SELECTABLE_OPTIONS, bn as CVC_159_TYPE_TO_CATEGORY, bo as CVC_159_VALUES, bp as CVC_15_CORE_SEX, bq as CVC_15_LABELS, br as CVC_15_SELECTABLE_VALUES, bs as CVC_16_CORE_ORIENTATION, bt as CVC_16_LABELS, bu as CVC_16_LGBTQ_VALUES, bv as CVC_171_CATEGORY, bw as CVC_171_CATEGORY_LABELS, bx as CVC_171_CHILD_TO_PARENT, by as CVC_171_INCOME_BENEFITS, bz as CVC_171_INCOME_SOURCES, bA as CVC_171_LABELS, bB as CVC_171_PARENT_CHILDREN, bC as CVC_171_SELECTABLE_OPTIONS, bD as CVC_171_VALUES, bE as CVC_171_VALUE_TO_CATEGORY, bF as CVC_179_CHILD_TO_PARENT, bG as CVC_179_EMPLOYMENT_STATUS, bH as CVC_179_HIERARCHICAL_CATEGORY, bI as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bJ as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bK as CVC_179_HIERARCHICAL_LABELS, bL as CVC_179_HIERARCHICAL_VALUES, bM as CVC_179_LABELS, bN as CVC_179_PARENT_CHILDREN, bO as CVC_179_PRIMARY_CATEGORY, bP as CVC_179_SELECTABLE_OPTIONS, bQ as CVC_179_VALUES, bR as CVC_179_VALUE_TO_CATEGORY, bS as CVC_17_CORE_GENDER_IDENTITY, bT as CVC_17_LABELS, bU as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bV as CVC_17_LEVEL_1_OPTIONS, bW as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bX as CVC_17_TRANSGENDER_VALUES, bY as CVC_180_EDUCATION_LEVEL, bZ as CVC_180_LABELS, b_ as CVC_180_ORDINAL, b$ as CVC_180_VALUES, c0 as CVC_181_COUNTRIES, c1 as CVC_181_LABELS, c2 as CVC_196_CHILD_WELFARE_EPISODE_TYPE, c3 as CVC_196_LABELS, c4 as CVC_196_VALUES, c5 as CVC_1_LABELS, c6 as CVC_1_NAME_TYPE, c7 as CVC_1_STRUCTURED_NAME_TYPES, c8 as CVC_1_UNSTRUCTURED_NAME_TYPES, c9 as CVC_1_VALUES, ca as CVC_67_HMIS_SEX, cb as CVC_67_LABELS, cc as CVC_67_MISSINGNESS_VALUES, cd as CVC_67_SELECTABLE_VALUES, ce as CVC_72_HT_TYPE, cf as CVC_72_LABELS, cg as CVC_72_VALUES, ch as CVC_76_LABELS, ci as CVC_76_RACE_ETHNICITY, cj as CVC_76_VALUES, ck as CVC_93_CHILD_WELFARE_INVOLVEMENT, cl as CVC_93_LABELS, cm as CVC_93_VALUES, cn as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, co as CVC_95_LABELS, cp as CVC_95_VALUES, cq as CVC_96_HOMELESS_STATUS, cr as CVC_96_LABELS, cs as CVC_96_VALUES, ct as CVC_97_IMMIGRANT_REFUGEE, cu as CVC_97_LABELS, cv as CVC_97_VALUES, cw as CVC_98_LABELS, cx as CVC_98_US_VETERAN, cy as CVC_98_VALUES, cz as CVC_99_ENGLISH_PROFICIENCY, cA as CVC_99_LABELS, cB as CVC_99_VALUES, cC as DATA_QUALITY, cD as DATA_QUALITY_DESCRIPTIONS, cE as DATA_QUALITY_LABELS, cF as DATA_QUALITY_VALUES, cG as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cH as DataQualityValue, cI as FORM_STATUS, cJ as FORM_STATUS_LABELS, cK as FORM_TYPE, cL as FORM_TYPE_LABELS, cM as FUNCTION_STATUS, cN as FUNCTION_STATUS_LABELS, cO as FUNCTION_STATUS_VALUES, cP as FormStatusValue, cQ as FormTypeValue, cR as FunctionStatusValue, cS as IC13Category, cT as IC13PriorityGroup, cU as IC13Value, cV as IC22Value, cW as IC23Value, cX as IC24Value, cY as IC25Value, cZ as IC49ReferralOutcomeValue, c_ as IC49ReferralVerificationValue, c$ as IC49Value, d0 as IC4Value, d1 as IC56ChannelValue, d2 as IC56Value, d3 as IC57Value, d4 as IC58ExternalCategory, d5 as IC58Value, d6 as IC59Value, d7 as IC5Value, d8 as IC_13_CATEGORIES, d9 as IC_13_CATEGORY_ORDER, da as IC_13_LABELS, db as IC_13_PRIORITY_GROUPS, dc as IC_13_RELATIONSHIP_ABBREV, dd as IC_13_RELATIONSHIP_TYPE, de as IC_13_REVERSE_CONTEXT_LABELS, df as IC_22_CORE_SEX, dg as IC_22_LABELS, dh as IC_23_CORE_GENDER_IDENTITY, di as IC_23_LABELS, dj as IC_24_LABELS, dk as IC_24_RACE, dl as IC_25_ETHNICITY, dm as IC_25_LABELS, dn as IC_48_SERVICE_CATEGORIES, dp as IC_49_DESCRIPTIONS, dq as IC_49_LABELS, dr as IC_49_REFERRAL_OUTCOME, ds as IC_49_REFERRAL_OUTCOME_LABELS, dt as IC_49_REFERRAL_VERIFICATION, du as IC_49_REFERRAL_VERIFICATION_LABELS, dv as IC_49_SERVICE_MECHANISM, dw as IC_4_AGE_TYPE, dx as IC_4_LABELS, dy as IC_56_DESCRIPTIONS, dz as IC_56_LABELS, dA as IC_56_OPTIONS, dB as IC_56_PROVISIONAL_CHANNELS, dC as IC_56_SERVICE_DELIVERY_CHANNEL, dD as IC_57_LABELS, dE as IC_57_SERVICE_AUDIENCE, dF as IC_58_EXTERNAL_TIERED, dG as IC_58_LABELS, dH as IC_58_ORG_TYPE_GROUPS, dI as IC_58_PRIMARY_BRANCHES, dJ as IC_58_REFERRAL_ENTITY, dK as IC_59_LABELS, dL as IC_59_SERVICE_STATE, dM as IC_5_FULL_LABELS, dN as IC_5_LABELS, dO as IC_5_VICTIMIZATION, dP as INCIDENT_INVOLVEMENT_ROLE, dQ as INCIDENT_INVOLVEMENT_ROLE_LABELS, dR as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dS as INCIDENT_PARTICIPATION_ROLE, dT as INCIDENT_PARTICIPATION_ROLE_LABELS, dU as INCIDENT_PARTICIPATION_ROLE_VALUES, dV as INTERACTION_TYPES, dW as INTERACTION_TYPE_LABELS, dX as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dY as IncidentInvolvementRoleValue, dZ as IncidentParticipationRoleValue, d_ as InteractionTypeValue, d$ as MINOR_ADULT_STATUS, e0 as MINOR_ADULT_STATUS_LABELS, e1 as MinorAdultStatusValue, e2 as OrgTypeGroup, e3 as PARTICIPATION_ROLE_CATEGORIES, e4 as PERMISSION_STATE, e5 as PERMISSION_STATE_DISPLAY, e6 as PERMISSION_STATE_LABELS, e7 as PERMISSION_STATE_VALUES, e8 as PERSON_DISPLAY_CATEGORY, e9 as PERSON_DISPLAY_CATEGORY_LABELS, ea as PERSON_ROLES, eb as PERSON_TYPE, ec as PERSON_TYPE_VALUES, ed as PLATFORM_TOOL, ee as PLATFORM_TOOL_LABELS, ef as PLATFORM_TOOL_VALUES, eg as PermissionStateValue, eh as PersonDisplayCategoryValue, ei as PersonRoleValue, ej as PersonTypeValue, ek as PlatformToolValue, el as QUESTION_FORMAT, em as QUESTION_FORMAT_LABELS, en as QUICK_START_CONFIG, eo as QUICK_START_LABELS, ep as QUICK_START_TEMPLATES, eq as QuestionFormatValue, er as QuickStartTemplateId, es as RECORD_STATES, et as RECORD_STATE_LABELS, eu as RELATIONSHIP_CONCERNS, ev as RELATIONSHIP_CONCERNS_LABELS, ew as RELATIONSHIP_CONCERNS_VALUES, ex as RELATIONSHIP_DYNAMICS, ey as RELATIONSHIP_DYNAMICS_LABELS, ez as RELATIONSHIP_DYNAMICS_VALUES, eA as ROLE_LEVEL, eB as ROLE_LEVEL_LABELS, eC as ROLE_LEVEL_VALUES, eD as RecordStateValue, eE as ReferralBranch, eF as RelationshipConcernValue, eG as RelationshipDynamicValue, eH as RoleLevelValue, eI as SESSION_STATES, eJ as SESSION_STATE_LABELS, eK as SHARE_VIEW, eL as SHARE_VIEW_LABELS, eM as SHARE_VIEW_VALUES, eN as SUBMISSION_STATES, eO as SUBMISSION_STATE_LABELS, eP as ServiceCategory, eQ as ServiceCategoryChild, eR as SessionStateValue, eS as ShareViewValue, eT as SubmissionStateValue, eU as THREAD_INVOLVEMENT_ROLES, eV as USER_STATUS, eW as USER_STATUS_LABELS, eX as UserStatusValue, eY as VALID_INTERACTION_TYPES, eZ as VALID_RECORD_STATES, e_ as deriveAgeBinFromAge, e$ as getDisplayCategoryForRole, f0 as getPersonTypeForRole, f1 as getRelationshipCategory, f2 as isIC56Missingness, f3 as isIC56ValidChannel, f4 as isLgbtqOrientation, f5 as isProtectedRelationship, f6 as isStructuredNameType, f7 as isTransgenderGenderIdentity, f8 as sortRelationshipsByPriority } from './platform-auth-BSKYSDKe.js';
|
|
2
2
|
export { IC48Catalog, IC48CatalogMeta, IC48Category, IC48CategoryCrosswalk, IC48CrisisServiceId, IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory } from './constants/index.js';
|
|
3
3
|
export { Address, Demographics, Email, PersonName, Phone, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema } from './schemas/index.js';
|
|
4
|
-
export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-
|
|
5
|
-
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-
|
|
4
|
+
export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-BCj1OWqL.js';
|
|
5
|
+
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-I-DiX9eQ.js';
|
|
6
6
|
export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.js';
|
|
7
7
|
export { CvcCode, CvcCodeSchema, CvcDomain, CvcEntrySchema, CvcEnvelope, CvcEnvelopeSchema, CvcKey, CvcKeySchema, ServiceCategoryEntry, ServiceCategoryEntrySchema } from './validation/index.js';
|
|
8
8
|
export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, basisQuickPicksSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childChangeTypeSot, childCustodyArrangementSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactSafetyStatusSot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationLevelSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hivStatusSot, hmisProjectTypeSot, hmisRelationshipToHohSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, immigrationLegalStatusChangeTypeSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, mentalHealthStatusSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, nameTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, preferredContactMethodSot, primaryLanguageSot, programEnrollmentChangeTypeSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, qualityFlagsSot, raceEthnicitySot, recencyBandSot, referenceLinkTypeSot, referralEntityCategorySot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, roleContextSot, romanticRelationshipChangeTypeSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionStateSot, severityFollowUpSot, sexProviderSubroleSot, sharePurposeSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceSubtypeSot, specialNeedsDisabilitiesSot, substanceUseStatusSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, tribesSot, verificationMethodSot, verificationStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot } from './cvcs/index.js';
|
package/dist/models/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-
|
|
1
|
+
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-BCj1OWqL.cjs';
|
|
2
2
|
import 'mongoose';
|
|
3
|
-
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from '../index-
|
|
3
|
+
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from '../index-CoVr1jIV.cjs';
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-
|
|
1
|
+
export { a as CvcEntry, b as CvcRegistry, F as Form, P as PlatformFunction, d as PlatformRole, Q as Question, f as ScoringRule, h as Section } from '../cvcEntry-BCj1OWqL.js';
|
|
2
2
|
import 'mongoose';
|
|
3
|
-
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from '../index-
|
|
3
|
+
export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from '../index-I-DiX9eQ.js';
|
package/dist/schemas/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
2
|
import { InferRawDocType, Schema } from 'mongoose';
|
|
3
|
-
export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from '../cvcEntry-
|
|
3
|
+
export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from '../cvcEntry-BCj1OWqL.cjs';
|
|
4
4
|
|
|
5
5
|
declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
6
6
|
_id: false;
|
|
@@ -28,9 +28,9 @@ declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
28
28
|
placeId?: string | null | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
id: string;
|
|
31
|
-
},
|
|
31
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
32
32
|
_id: false;
|
|
33
|
-
}
|
|
33
|
+
}> & Omit<{
|
|
34
34
|
formattedAddress?: string | null | undefined;
|
|
35
35
|
street?: string | null | undefined;
|
|
36
36
|
city?: string | null | undefined;
|
|
@@ -88,9 +88,9 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
|
|
|
88
88
|
isAnonymous?: boolean | null | undefined;
|
|
89
89
|
}, {
|
|
90
90
|
id: string;
|
|
91
|
-
},
|
|
91
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
92
92
|
_id: false;
|
|
93
|
-
}
|
|
93
|
+
}> & Omit<{
|
|
94
94
|
alias?: boolean | null | undefined;
|
|
95
95
|
firstName?: string | null | undefined;
|
|
96
96
|
lastName?: string | null | undefined;
|
|
@@ -136,9 +136,9 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
136
136
|
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
id: string;
|
|
139
|
-
},
|
|
139
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
140
140
|
_id: false;
|
|
141
|
-
}
|
|
141
|
+
}> & Omit<{
|
|
142
142
|
number?: string | null | undefined;
|
|
143
143
|
type?: string | null | undefined;
|
|
144
144
|
safeToContact?: boolean | null | undefined;
|
|
@@ -172,9 +172,9 @@ declare const emailSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
172
172
|
address?: string | null | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
id: string;
|
|
175
|
-
},
|
|
175
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
176
176
|
_id: false;
|
|
177
|
-
}
|
|
177
|
+
}> & Omit<{
|
|
178
178
|
type?: string | null | undefined;
|
|
179
179
|
safeToContact?: boolean | null | undefined;
|
|
180
180
|
address?: string | null | undefined;
|
|
@@ -246,9 +246,9 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
246
246
|
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
247
247
|
}, {
|
|
248
248
|
id: string;
|
|
249
|
-
},
|
|
249
|
+
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
250
250
|
_id: false;
|
|
251
|
-
}
|
|
251
|
+
}> & Omit<{
|
|
252
252
|
race: number[];
|
|
253
253
|
ethnicity: number[];
|
|
254
254
|
accommodations: string[];
|