@htilabs/platform-common-models 0.8.16 → 0.8.18
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/constants/index.cjs +3 -1
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +3 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-DaDrEuTa.d.cts} +44 -44
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-DaDrEuTa.d.ts} +44 -44
- package/dist/cvcs/index.cjs +4348 -17
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +10835 -6179
- package/dist/cvcs/index.d.ts +10835 -6179
- package/dist/cvcs/index.js +8776 -4447
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +4690 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +353 -8
- package/dist/index.d.ts +353 -8
- package/dist/index.js +4686 -20
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/{platform-auth-AsfnIXfK.d.cts → platform-auth-CvQkzOy1.d.cts} +1 -1
- package/dist/{platform-auth-AsfnIXfK.d.ts → platform-auth-CvQkzOy1.d.ts} +1 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +35 -35
- package/dist/schemas/index.d.ts +35 -35
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +26 -25
- package/src/__sot__/README.md +36 -1
- package/src/__sot__/coreIndicatorFields.ts +331 -0
- package/src/__sot__/coreIndicators.pin.json +1931 -2
- package/src/__sot__/cvcIndex.pin.json +8 -4
- package/src/__tests__/__snapshots__/cvc-sot.snap +8 -4
- package/src/__tests__/core-information-scope-invariant.test.ts +134 -0
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +7 -5
- package/src/__tests__/cvc-181-182-country-parity.test.ts +163 -0
- package/src/__tests__/cvc-drift-gate.test.ts +392 -9
- package/src/__tests__/cvc-sot-snapshot.test.ts +17 -4
- package/src/__tests__/cvc-structural.test.ts +2 -0
- package/src/constants/ic.ts +88 -4
- package/src/cvcs/coreIndicators.v1.0.0.json +18 -5
- package/src/cvcs/coreInformationScope.v1.0.0.json +1165 -0
- package/src/cvcs/countries.v1.0.0.json +3077 -0
- package/src/cvcs/index.ts +4 -0
- package/src/cvcs/sharePurpose.v1.0.0.json +80 -12
- package/src/generated/cvc-enums.ts +352 -3
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-DaDrEuTa.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
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
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;
|
|
@@ -90,9 +90,9 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
|
|
|
90
90
|
isMononym?: boolean | null | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
id: string;
|
|
93
|
-
},
|
|
93
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
94
94
|
_id: false;
|
|
95
|
-
}
|
|
95
|
+
}>> & Omit<{
|
|
96
96
|
alias?: boolean | null | undefined;
|
|
97
97
|
firstName?: string | null | undefined;
|
|
98
98
|
lastName?: string | null | undefined;
|
|
@@ -132,21 +132,21 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
132
132
|
number?: string | null | undefined;
|
|
133
133
|
type?: string | null | undefined;
|
|
134
134
|
safeToContact?: boolean | null | undefined;
|
|
135
|
-
dataQuality?: "
|
|
135
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
136
136
|
}, mongoose.Document<unknown, {}, {
|
|
137
137
|
number?: string | null | undefined;
|
|
138
138
|
type?: string | null | undefined;
|
|
139
139
|
safeToContact?: boolean | null | undefined;
|
|
140
|
-
dataQuality?: "
|
|
140
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
id: string;
|
|
143
|
-
},
|
|
143
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
144
144
|
_id: false;
|
|
145
|
-
}
|
|
145
|
+
}>> & Omit<{
|
|
146
146
|
number?: string | null | undefined;
|
|
147
147
|
type?: string | null | undefined;
|
|
148
148
|
safeToContact?: boolean | null | undefined;
|
|
149
|
-
dataQuality?: "
|
|
149
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
150
150
|
} & {
|
|
151
151
|
_id: mongoose.Types.ObjectId;
|
|
152
152
|
} & {
|
|
@@ -157,7 +157,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
157
157
|
number?: string | null | undefined;
|
|
158
158
|
type?: string | null | undefined;
|
|
159
159
|
safeToContact?: boolean | null | undefined;
|
|
160
|
-
dataQuality?: "
|
|
160
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
161
161
|
} & {
|
|
162
162
|
_id: mongoose.Types.ObjectId;
|
|
163
163
|
} & {
|
|
@@ -176,9 +176,9 @@ declare const emailSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
176
176
|
address?: string | null | undefined;
|
|
177
177
|
}, {
|
|
178
178
|
id: string;
|
|
179
|
-
},
|
|
179
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
180
180
|
_id: false;
|
|
181
|
-
}
|
|
181
|
+
}>> & Omit<{
|
|
182
182
|
type?: string | null | undefined;
|
|
183
183
|
safeToContact?: boolean | null | undefined;
|
|
184
184
|
address?: string | null | undefined;
|
|
@@ -219,11 +219,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
219
219
|
raceOtherText?: string | null | undefined;
|
|
220
220
|
genderOtherText?: string | null | undefined;
|
|
221
221
|
accommodationOtherText?: string | null | undefined;
|
|
222
|
-
ageDataQuality?: "
|
|
223
|
-
sexDataQuality?: "
|
|
224
|
-
genderDataQuality?: "
|
|
225
|
-
raceDataQuality?: "
|
|
226
|
-
ethnicityDataQuality?: "
|
|
222
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
223
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
224
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
225
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
226
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
227
227
|
}, mongoose.Document<unknown, {}, {
|
|
228
228
|
race: number[];
|
|
229
229
|
ethnicity: number[];
|
|
@@ -243,16 +243,16 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
243
243
|
raceOtherText?: string | null | undefined;
|
|
244
244
|
genderOtherText?: string | null | undefined;
|
|
245
245
|
accommodationOtherText?: string | null | undefined;
|
|
246
|
-
ageDataQuality?: "
|
|
247
|
-
sexDataQuality?: "
|
|
248
|
-
genderDataQuality?: "
|
|
249
|
-
raceDataQuality?: "
|
|
250
|
-
ethnicityDataQuality?: "
|
|
246
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
247
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
248
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
249
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
250
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
id: string;
|
|
253
|
-
},
|
|
253
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
254
254
|
_id: false;
|
|
255
|
-
}
|
|
255
|
+
}>> & Omit<{
|
|
256
256
|
race: number[];
|
|
257
257
|
ethnicity: number[];
|
|
258
258
|
accommodations: string[];
|
|
@@ -271,11 +271,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
271
271
|
raceOtherText?: string | null | undefined;
|
|
272
272
|
genderOtherText?: string | null | undefined;
|
|
273
273
|
accommodationOtherText?: string | null | undefined;
|
|
274
|
-
ageDataQuality?: "
|
|
275
|
-
sexDataQuality?: "
|
|
276
|
-
genderDataQuality?: "
|
|
277
|
-
raceDataQuality?: "
|
|
278
|
-
ethnicityDataQuality?: "
|
|
274
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
275
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
276
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
277
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
278
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
279
279
|
} & {
|
|
280
280
|
_id: mongoose.Types.ObjectId;
|
|
281
281
|
} & {
|
|
@@ -301,11 +301,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
301
301
|
raceOtherText?: string | null | undefined;
|
|
302
302
|
genderOtherText?: string | null | undefined;
|
|
303
303
|
accommodationOtherText?: string | null | undefined;
|
|
304
|
-
ageDataQuality?: "
|
|
305
|
-
sexDataQuality?: "
|
|
306
|
-
genderDataQuality?: "
|
|
307
|
-
raceDataQuality?: "
|
|
308
|
-
ethnicityDataQuality?: "
|
|
304
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
305
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
306
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
307
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
308
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
309
309
|
} & {
|
|
310
310
|
_id: mongoose.Types.ObjectId;
|
|
311
311
|
} & {
|
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-DaDrEuTa.js';
|
|
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
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
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;
|
|
@@ -90,9 +90,9 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
|
|
|
90
90
|
isMononym?: boolean | null | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
id: string;
|
|
93
|
-
},
|
|
93
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
94
94
|
_id: false;
|
|
95
|
-
}
|
|
95
|
+
}>> & Omit<{
|
|
96
96
|
alias?: boolean | null | undefined;
|
|
97
97
|
firstName?: string | null | undefined;
|
|
98
98
|
lastName?: string | null | undefined;
|
|
@@ -132,21 +132,21 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
132
132
|
number?: string | null | undefined;
|
|
133
133
|
type?: string | null | undefined;
|
|
134
134
|
safeToContact?: boolean | null | undefined;
|
|
135
|
-
dataQuality?: "
|
|
135
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
136
136
|
}, mongoose.Document<unknown, {}, {
|
|
137
137
|
number?: string | null | undefined;
|
|
138
138
|
type?: string | null | undefined;
|
|
139
139
|
safeToContact?: boolean | null | undefined;
|
|
140
|
-
dataQuality?: "
|
|
140
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
id: string;
|
|
143
|
-
},
|
|
143
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
144
144
|
_id: false;
|
|
145
|
-
}
|
|
145
|
+
}>> & Omit<{
|
|
146
146
|
number?: string | null | undefined;
|
|
147
147
|
type?: string | null | undefined;
|
|
148
148
|
safeToContact?: boolean | null | undefined;
|
|
149
|
-
dataQuality?: "
|
|
149
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
150
150
|
} & {
|
|
151
151
|
_id: mongoose.Types.ObjectId;
|
|
152
152
|
} & {
|
|
@@ -157,7 +157,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
157
157
|
number?: string | null | undefined;
|
|
158
158
|
type?: string | null | undefined;
|
|
159
159
|
safeToContact?: boolean | null | undefined;
|
|
160
|
-
dataQuality?: "
|
|
160
|
+
dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
161
161
|
} & {
|
|
162
162
|
_id: mongoose.Types.ObjectId;
|
|
163
163
|
} & {
|
|
@@ -176,9 +176,9 @@ declare const emailSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
|
|
|
176
176
|
address?: string | null | undefined;
|
|
177
177
|
}, {
|
|
178
178
|
id: string;
|
|
179
|
-
},
|
|
179
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
180
180
|
_id: false;
|
|
181
|
-
}
|
|
181
|
+
}>> & Omit<{
|
|
182
182
|
type?: string | null | undefined;
|
|
183
183
|
safeToContact?: boolean | null | undefined;
|
|
184
184
|
address?: string | null | undefined;
|
|
@@ -219,11 +219,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
219
219
|
raceOtherText?: string | null | undefined;
|
|
220
220
|
genderOtherText?: string | null | undefined;
|
|
221
221
|
accommodationOtherText?: string | null | undefined;
|
|
222
|
-
ageDataQuality?: "
|
|
223
|
-
sexDataQuality?: "
|
|
224
|
-
genderDataQuality?: "
|
|
225
|
-
raceDataQuality?: "
|
|
226
|
-
ethnicityDataQuality?: "
|
|
222
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
223
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
224
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
225
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
226
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
227
227
|
}, mongoose.Document<unknown, {}, {
|
|
228
228
|
race: number[];
|
|
229
229
|
ethnicity: number[];
|
|
@@ -243,16 +243,16 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
243
243
|
raceOtherText?: string | null | undefined;
|
|
244
244
|
genderOtherText?: string | null | undefined;
|
|
245
245
|
accommodationOtherText?: string | null | undefined;
|
|
246
|
-
ageDataQuality?: "
|
|
247
|
-
sexDataQuality?: "
|
|
248
|
-
genderDataQuality?: "
|
|
249
|
-
raceDataQuality?: "
|
|
250
|
-
ethnicityDataQuality?: "
|
|
246
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
247
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
248
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
249
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
250
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
id: string;
|
|
253
|
-
},
|
|
253
|
+
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
254
254
|
_id: false;
|
|
255
|
-
}
|
|
255
|
+
}>> & Omit<{
|
|
256
256
|
race: number[];
|
|
257
257
|
ethnicity: number[];
|
|
258
258
|
accommodations: string[];
|
|
@@ -271,11 +271,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
271
271
|
raceOtherText?: string | null | undefined;
|
|
272
272
|
genderOtherText?: string | null | undefined;
|
|
273
273
|
accommodationOtherText?: string | null | undefined;
|
|
274
|
-
ageDataQuality?: "
|
|
275
|
-
sexDataQuality?: "
|
|
276
|
-
genderDataQuality?: "
|
|
277
|
-
raceDataQuality?: "
|
|
278
|
-
ethnicityDataQuality?: "
|
|
274
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
275
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
276
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
277
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
278
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
279
279
|
} & {
|
|
280
280
|
_id: mongoose.Types.ObjectId;
|
|
281
281
|
} & {
|
|
@@ -301,11 +301,11 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
301
301
|
raceOtherText?: string | null | undefined;
|
|
302
302
|
genderOtherText?: string | null | undefined;
|
|
303
303
|
accommodationOtherText?: string | null | undefined;
|
|
304
|
-
ageDataQuality?: "
|
|
305
|
-
sexDataQuality?: "
|
|
306
|
-
genderDataQuality?: "
|
|
307
|
-
raceDataQuality?: "
|
|
308
|
-
ethnicityDataQuality?: "
|
|
304
|
+
ageDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
305
|
+
sexDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
306
|
+
genderDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
307
|
+
raceDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
308
|
+
ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
|
|
309
309
|
} & {
|
|
310
310
|
_id: mongoose.Types.ObjectId;
|
|
311
311
|
} & {
|