@htilabs/platform-common-models 0.18.0 → 0.19.0
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/cvcs/index.cjs +966 -966
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +946 -946
- package/dist/cvcs/index.d.ts +946 -946
- package/dist/cvcs/index.js +958 -958
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +142 -142
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +143 -143
- package/dist/enums/index.d.ts +143 -143
- package/dist/enums/index.js +142 -142
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-CoVr1jIV.d.cts} +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-I-DiX9eQ.d.ts} +1 -1
- package/dist/index.cjs +1109 -1109
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1101 -1101
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +1 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/schemas/index.cjs +1 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/dist/schemas/index.js +1 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/index.cjs +1 -1
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +1 -1
- package/src/__tests__/cvc-sot-snapshot.test.ts +1 -1
- package/src/__tests__/cvc-structural.test.ts +2 -2
- package/src/cvcs/index.ts +1 -1
- package/src/cvcs/{serviceCategories.v1.0.0.json → serviceCategories.v1.2.0.json} +955 -955
- package/src/generated/cvc-enums.ts +143 -143
- package/src/schemas/cvcRegistry.ts +1 -1
- package/src/services/__tests__/cvcRegistryService.test.ts +11 -11
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-BCj1OWqL.d.cts} +8 -8
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-BCj1OWqL.d.ts} +8 -8
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
|
export { A as AGENCY_ORG_TYPE_VALIDATED_UPDATE_OPS, a as AddAgencyOrgTypeFieldsOptions, b as AgencyOrgTypeFields, O as ORG_TYPE_FIELD_NAMES, c as OrgTypeFieldName, d as OrgTypeFields, e as OrgTypeFieldsHolder, V as VSP_TWO_STEP_ISSUE, f as addAgencyOrgTypeFields, g as addOrgTypeFields, h as agencyOrgTypeSchemaDefinition, i as applyRunValidatorsIfUnset, m as mirrorOrgTypeFields, o as orgTypeFieldsDiffer, j as orgTypeSchemaDefinition, r as resolveEffectiveOrgType, k as resolveEffectiveOrgTypeFields, v as vspTwoStepHolds, l as vspTwoStepHoldsOnUpdate } from '../agency-DYCv839V.cjs';
|
|
5
5
|
import '../org-type-D_FG4KdN.cjs';
|
|
6
6
|
import '../enums/index.cjs';
|
|
@@ -135,12 +135,12 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
135
135
|
number?: string | null | undefined;
|
|
136
136
|
type?: string | null | undefined;
|
|
137
137
|
safeToContact?: boolean | null | undefined;
|
|
138
|
-
dataQuality?: "
|
|
138
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
139
139
|
}, mongoose.Document<unknown, {}, {
|
|
140
140
|
number?: string | null | undefined;
|
|
141
141
|
type?: string | null | undefined;
|
|
142
142
|
safeToContact?: boolean | null | undefined;
|
|
143
|
-
dataQuality?: "
|
|
143
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
id: string;
|
|
146
146
|
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
@@ -149,7 +149,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
149
149
|
number?: string | null | undefined;
|
|
150
150
|
type?: string | null | undefined;
|
|
151
151
|
safeToContact?: boolean | null | undefined;
|
|
152
|
-
dataQuality?: "
|
|
152
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
153
153
|
} & {
|
|
154
154
|
_id: mongoose.Types.ObjectId;
|
|
155
155
|
} & {
|
|
@@ -160,7 +160,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
160
160
|
number?: string | null | undefined;
|
|
161
161
|
type?: string | null | undefined;
|
|
162
162
|
safeToContact?: boolean | null | undefined;
|
|
163
|
-
dataQuality?: "
|
|
163
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
164
164
|
} & {
|
|
165
165
|
_id: mongoose.Types.ObjectId;
|
|
166
166
|
} & {
|
|
@@ -222,11 +222,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
222
222
|
raceOtherText?: string | null | undefined;
|
|
223
223
|
genderOtherText?: string | null | undefined;
|
|
224
224
|
accommodationOtherText?: string | null | undefined;
|
|
225
|
-
ageDataQuality?: "
|
|
226
|
-
sexDataQuality?: "
|
|
227
|
-
genderDataQuality?: "
|
|
228
|
-
raceDataQuality?: "
|
|
229
|
-
ethnicityDataQuality?: "
|
|
225
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
226
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
227
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
228
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
229
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
230
230
|
}, mongoose.Document<unknown, {}, {
|
|
231
231
|
race: number[];
|
|
232
232
|
ethnicity: number[];
|
|
@@ -246,11 +246,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
246
246
|
raceOtherText?: string | null | undefined;
|
|
247
247
|
genderOtherText?: string | null | undefined;
|
|
248
248
|
accommodationOtherText?: string | null | undefined;
|
|
249
|
-
ageDataQuality?: "
|
|
250
|
-
sexDataQuality?: "
|
|
251
|
-
genderDataQuality?: "
|
|
252
|
-
raceDataQuality?: "
|
|
253
|
-
ethnicityDataQuality?: "
|
|
249
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
250
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
251
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
252
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
253
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
254
254
|
}, {
|
|
255
255
|
id: string;
|
|
256
256
|
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
@@ -274,11 +274,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
274
274
|
raceOtherText?: string | null | undefined;
|
|
275
275
|
genderOtherText?: string | null | undefined;
|
|
276
276
|
accommodationOtherText?: string | null | undefined;
|
|
277
|
-
ageDataQuality?: "
|
|
278
|
-
sexDataQuality?: "
|
|
279
|
-
genderDataQuality?: "
|
|
280
|
-
raceDataQuality?: "
|
|
281
|
-
ethnicityDataQuality?: "
|
|
277
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
278
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
279
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
280
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
281
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
282
282
|
} & {
|
|
283
283
|
_id: mongoose.Types.ObjectId;
|
|
284
284
|
} & {
|
|
@@ -304,11 +304,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
304
304
|
raceOtherText?: string | null | undefined;
|
|
305
305
|
genderOtherText?: string | null | undefined;
|
|
306
306
|
accommodationOtherText?: string | null | undefined;
|
|
307
|
-
ageDataQuality?: "
|
|
308
|
-
sexDataQuality?: "
|
|
309
|
-
genderDataQuality?: "
|
|
310
|
-
raceDataQuality?: "
|
|
311
|
-
ethnicityDataQuality?: "
|
|
307
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
308
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
309
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
310
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
311
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
312
312
|
} & {
|
|
313
313
|
_id: mongoose.Types.ObjectId;
|
|
314
314
|
} & {
|
package/dist/schemas/index.d.ts
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.js';
|
|
4
4
|
export { A as AGENCY_ORG_TYPE_VALIDATED_UPDATE_OPS, a as AddAgencyOrgTypeFieldsOptions, b as AgencyOrgTypeFields, O as ORG_TYPE_FIELD_NAMES, c as OrgTypeFieldName, d as OrgTypeFields, e as OrgTypeFieldsHolder, V as VSP_TWO_STEP_ISSUE, f as addAgencyOrgTypeFields, g as addOrgTypeFields, h as agencyOrgTypeSchemaDefinition, i as applyRunValidatorsIfUnset, m as mirrorOrgTypeFields, o as orgTypeFieldsDiffer, j as orgTypeSchemaDefinition, r as resolveEffectiveOrgType, k as resolveEffectiveOrgTypeFields, v as vspTwoStepHolds, l as vspTwoStepHoldsOnUpdate } from '../agency-Ca4pCOOf.js';
|
|
5
5
|
import '../org-type-BYQb9Qzq.js';
|
|
6
6
|
import '../enums/index.js';
|
|
@@ -135,12 +135,12 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
135
135
|
number?: string | null | undefined;
|
|
136
136
|
type?: string | null | undefined;
|
|
137
137
|
safeToContact?: boolean | null | undefined;
|
|
138
|
-
dataQuality?: "
|
|
138
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
139
139
|
}, mongoose.Document<unknown, {}, {
|
|
140
140
|
number?: string | null | undefined;
|
|
141
141
|
type?: string | null | undefined;
|
|
142
142
|
safeToContact?: boolean | null | undefined;
|
|
143
|
-
dataQuality?: "
|
|
143
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
id: string;
|
|
146
146
|
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
@@ -149,7 +149,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
149
149
|
number?: string | null | undefined;
|
|
150
150
|
type?: string | null | undefined;
|
|
151
151
|
safeToContact?: boolean | null | undefined;
|
|
152
|
-
dataQuality?: "
|
|
152
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
153
153
|
} & {
|
|
154
154
|
_id: mongoose.Types.ObjectId;
|
|
155
155
|
} & {
|
|
@@ -160,7 +160,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
160
160
|
number?: string | null | undefined;
|
|
161
161
|
type?: string | null | undefined;
|
|
162
162
|
safeToContact?: boolean | null | undefined;
|
|
163
|
-
dataQuality?: "
|
|
163
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
164
164
|
} & {
|
|
165
165
|
_id: mongoose.Types.ObjectId;
|
|
166
166
|
} & {
|
|
@@ -222,11 +222,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
222
222
|
raceOtherText?: string | null | undefined;
|
|
223
223
|
genderOtherText?: string | null | undefined;
|
|
224
224
|
accommodationOtherText?: string | null | undefined;
|
|
225
|
-
ageDataQuality?: "
|
|
226
|
-
sexDataQuality?: "
|
|
227
|
-
genderDataQuality?: "
|
|
228
|
-
raceDataQuality?: "
|
|
229
|
-
ethnicityDataQuality?: "
|
|
225
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
226
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
227
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
228
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
229
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
230
230
|
}, mongoose.Document<unknown, {}, {
|
|
231
231
|
race: number[];
|
|
232
232
|
ethnicity: number[];
|
|
@@ -246,11 +246,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
246
246
|
raceOtherText?: string | null | undefined;
|
|
247
247
|
genderOtherText?: string | null | undefined;
|
|
248
248
|
accommodationOtherText?: string | null | undefined;
|
|
249
|
-
ageDataQuality?: "
|
|
250
|
-
sexDataQuality?: "
|
|
251
|
-
genderDataQuality?: "
|
|
252
|
-
raceDataQuality?: "
|
|
253
|
-
ethnicityDataQuality?: "
|
|
249
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
250
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
251
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
252
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
253
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
254
254
|
}, {
|
|
255
255
|
id: string;
|
|
256
256
|
}, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
|
|
@@ -274,11 +274,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
274
274
|
raceOtherText?: string | null | undefined;
|
|
275
275
|
genderOtherText?: string | null | undefined;
|
|
276
276
|
accommodationOtherText?: string | null | undefined;
|
|
277
|
-
ageDataQuality?: "
|
|
278
|
-
sexDataQuality?: "
|
|
279
|
-
genderDataQuality?: "
|
|
280
|
-
raceDataQuality?: "
|
|
281
|
-
ethnicityDataQuality?: "
|
|
277
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
278
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
279
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
280
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
281
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
282
282
|
} & {
|
|
283
283
|
_id: mongoose.Types.ObjectId;
|
|
284
284
|
} & {
|
|
@@ -304,11 +304,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
304
304
|
raceOtherText?: string | null | undefined;
|
|
305
305
|
genderOtherText?: string | null | undefined;
|
|
306
306
|
accommodationOtherText?: string | null | undefined;
|
|
307
|
-
ageDataQuality?: "
|
|
308
|
-
sexDataQuality?: "
|
|
309
|
-
genderDataQuality?: "
|
|
310
|
-
raceDataQuality?: "
|
|
311
|
-
ethnicityDataQuality?: "
|
|
307
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
308
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
309
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
310
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
311
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
312
312
|
} & {
|
|
313
313
|
_id: mongoose.Types.ObjectId;
|
|
314
314
|
} & {
|
package/dist/schemas/index.js
CHANGED
|
@@ -4690,7 +4690,7 @@ var cvcRegistrySchemaDefinition = {
|
|
|
4690
4690
|
dateDeactivated: {
|
|
4691
4691
|
type: Date
|
|
4692
4692
|
},
|
|
4693
|
-
// Pinned domain versions: { service_categories: "1.
|
|
4693
|
+
// Pinned domain versions: { service_categories: "1.2.0", ... }
|
|
4694
4694
|
// Stored as a Map<string, string> so individual domains can be added or
|
|
4695
4695
|
// bumped without re-validating the whole document shape.
|
|
4696
4696
|
cvcVersions: {
|