@htilabs/platform-common-models 0.8.18 → 0.8.19

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.
@@ -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-DaDrEuTa.cjs';
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-ctHTp2df.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-EPjPjR0z.cjs';
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-qreOzXYS.cjs';
@@ -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-DaDrEuTa.js';
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-ctHTp2df.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-C0J3f169.js';
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-4DiJrn7y.js';
@@ -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-DaDrEuTa.cjs';
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-ctHTp2df.cjs';
4
4
 
5
5
  declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
6
6
  _id: false;
@@ -132,12 +132,12 @@ 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?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
135
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | 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?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
140
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
141
141
  }, {
142
142
  id: string;
143
143
  }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
@@ -146,7 +146,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
146
146
  number?: string | null | undefined;
147
147
  type?: string | null | undefined;
148
148
  safeToContact?: boolean | null | undefined;
149
- dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
149
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | 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?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
160
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
161
161
  } & {
162
162
  _id: mongoose.Types.ObjectId;
163
163
  } & {
@@ -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?: "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;
222
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
223
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
224
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
225
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
226
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
227
227
  }, mongoose.Document<unknown, {}, {
228
228
  race: number[];
229
229
  ethnicity: number[];
@@ -243,11 +243,11 @@ 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?: "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;
246
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
247
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
248
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
249
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
250
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
251
251
  }, {
252
252
  id: string;
253
253
  }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
@@ -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?: "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;
274
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
275
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
276
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
277
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
278
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | 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?: "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;
304
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
305
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
306
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
307
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
308
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
309
309
  } & {
310
310
  _id: mongoose.Types.ObjectId;
311
311
  } & {
@@ -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-DaDrEuTa.js';
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-ctHTp2df.js';
4
4
 
5
5
  declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
6
6
  _id: false;
@@ -132,12 +132,12 @@ 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?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
135
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | 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?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
140
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
141
141
  }, {
142
142
  id: string;
143
143
  }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
@@ -146,7 +146,7 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
146
146
  number?: string | null | undefined;
147
147
  type?: string | null | undefined;
148
148
  safeToContact?: boolean | null | undefined;
149
- dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
149
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | 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?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
160
+ dataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
161
161
  } & {
162
162
  _id: mongoose.Types.ObjectId;
163
163
  } & {
@@ -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?: "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;
222
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
223
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
224
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
225
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
226
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
227
227
  }, mongoose.Document<unknown, {}, {
228
228
  race: number[];
229
229
  ethnicity: number[];
@@ -243,11 +243,11 @@ 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?: "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;
246
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
247
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
248
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
249
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
250
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
251
251
  }, {
252
252
  id: string;
253
253
  }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
@@ -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?: "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;
274
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
275
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
276
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
277
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
278
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | 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?: "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;
304
+ ageDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
305
+ sexDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
306
+ genderDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
307
+ raceDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
308
+ ethnicityDataQuality?: "data_not_collected" | "client_doesnt_know" | "client_prefers_not_to_answer" | null | undefined;
309
309
  } & {
310
310
  _id: mongoose.Types.ObjectId;
311
311
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htilabs/platform-common-models",
3
- "version": "0.8.18",
3
+ "version": "0.8.19",
4
4
  "description": "Shared constants, types, and models for HTI Labs applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -147,8 +147,8 @@
147
147
  "hash": "29fb041c4d1b40260e4a448a0501eb580d29606479628a6807a833b52212f3c3"
148
148
  },
149
149
  "person_relationships": {
150
- "count": 89,
151
- "hash": "f901a60ec1f275e2f003d1f1f2f94f2a3ae07d7badee227d650c28c00a1510bb"
150
+ "count": 94,
151
+ "hash": "15b9d1989b897723881cdb489026fab9c42eb9fe0b809f349ec027e42ca7b154"
152
152
  },
153
153
  "employment_status": {
154
154
  "count": 29,
@@ -500,7 +500,7 @@
500
500
  },
501
501
  "relationship_concern": {
502
502
  "count": 11,
503
- "hash": "03e18352e1ffb13a4e9b63e1f4043923f1da7e0153649db6940d0bb2653917d8"
503
+ "hash": "48e882447e87dd4342afc4c9b56aff3925f10177e7ea214dca5d5f66c09e5668"
504
504
  },
505
505
  "recency_band": {
506
506
  "count": 12,
@@ -670,6 +670,10 @@
670
670
  "count": 254,
671
671
  "hash": "21525c56d5bac7f218bcb9a5dc048eea4b9132cfaf4a6a7439ebbf7dd34ebcde"
672
672
  },
673
+ "determination_helper_categories": {
674
+ "count": 57,
675
+ "hash": "9e296ba8ae3a187171eb8facfd13a5e6824daa0ed7f963e41e31672104aa16c0"
676
+ },
673
677
  "trafficking_relevant_role": {
674
678
  "count": 8,
675
679
  "hash": "1a4ea2992cc501179adafd192d7a2f1733ffe48c1ba26e1e61a3c757b2d62b32"
@@ -302,7 +302,40 @@ const INDEX_ABSENT: Record<string, { cvc: number; reason: string }> = {
302
302
  hmis_project_type: { cvc: 225, reason: "no CVC_INDEX row" },
303
303
  funder: { cvc: 226, reason: "no CVC_INDEX row" },
304
304
  da_incident_severity: { cvc: 228, reason: "no CVC_INDEX row" },
305
- relationship_concern: { cvc: 231, reason: "no CVC_INDEX row" },
305
+ // relationship_concern (231) LEFT this list in the 2026-08-29 renumber — the
306
+ // OTHER way a domain retires from INDEX_ABSENT, and the one that matters.
307
+ // Jevon ratified CVC-231 to the Determination Helper categories on
308
+ // 2026-08-28. This domain had only ever held 231 as a provisional mint taken
309
+ // out of the canonical block, which is exactly why it lived here instead of
310
+ // in CANONICAL_BINDING. Left at 231 it would have become a SQUAT the moment
311
+ // the next cvcIndex pin refresh published the DH row — and per GATE C a squat
312
+ // does not merely mislabel the squatter, it makes the slot look OCCUPIED and
313
+ // hides the absence of the domain that owns it. It is renumbered to the
314
+ // provisional block at CVC-991 (see relationshipConcern.v1.0.0.json
315
+ // `_status.renumber` / `_status.numberChoice`), so `isProvisional()` now
316
+ // exempts it and no entry here is needed. The Determination Helper categories
317
+ // that own 231 are authored directly below — the gap the vacated squat had
318
+ // been hiding, closed in the same branch that vacated it.
319
+ //
320
+ // CVC-231's rightful owner, authored 2026-08-30. This is the SECOND half of the
321
+ // renumber above and the whole point of GATE C: vacating the squat exposed an
322
+ // unauthored canonical vocabulary, and the exposure is only worth anything if
323
+ // the vocabulary then gets authored. `CVC_INDEX.md` @ 622410b has no row for it
324
+ // (grep confirms: the only `determination`-prefixed rows are CVC-138
325
+ // `core - determination_level` and CVC-233 `core-DH_state`), so this is the
326
+ // `core_information_scope` disposition — numbered from the domain's own
327
+ // canonical self-declaration plus a codebook-owner ruling, index-absent until
328
+ // the extractor catches up — and NOT the CVC-181 one, which had a reserved pin
329
+ // row to bind against. NO PIN EDIT: `cvcIndex.pin.json` is machine-derived and
330
+ // `src/__sot__/README.md` forbids hand-editing it; the row arrives on its own
331
+ // refresh cycle and this domain is promoted into CANONICAL_BINDING then.
332
+ determination_helper_categories: {
333
+ cvc: 231,
334
+ reason:
335
+ "no CVC_INDEX row; number self-declared by the canonical " +
336
+ "data/cvcs/core_determination_helper_categories.yaml and ratified to this " +
337
+ "vocabulary by Jevon on 2026-08-28",
338
+ },
306
339
  };
307
340
 
308
341
  /**
@@ -338,11 +338,17 @@ const SOT_SPECS: readonly SotSpec[] = [
338
338
  // L0 missingness (anonymous, data_not_collected; Notion codebook explicitly
339
339
  // omits `unknown` at L0 — the L2 `relationship_unknown` code carries that
340
340
  // semantic instead; no PNA) + 8 L1 topics + 35 L2 canonical relationship
341
- // types + 40 L3 directional role labels + 3 L3 pet-branch roles = 89.
341
+ // types + 40 L3 directional role labels + 3 L3 pet-branch roles = 89,
342
+ // + 3 L2 LOCAL EXTENSIONS (`parental_figure_dependent`,
343
+ // `intimate_romantic_partner`, `intimate_partner_prior`) + 2 L3 directional
344
+ // roles under `parental_figure_dependent` = 94. All 5 are flagged
345
+ // `localExtension: true`; the canonical picker (prototype@622410b
346
+ // REL_CATEGORIES) offers them and the Notion-side export does not yet carry
347
+ // them. See the file's `_status.localExtension`.
342
348
  {
343
349
  file: "personRelationships.v1.0.0.json",
344
350
  domain: "person_relationships",
345
- expectedCount: 89,
351
+ expectedCount: 94,
346
352
  },
347
353
  // CVC-179 — employment_status: 1 missingness_root + 5 HMIS missingness
348
354
  // (unknown, anonymous, data_not_collected, client_doesnt_know,
@@ -574,9 +580,13 @@ const SOT_SPECS: readonly SotSpec[] = [
574
580
  // `none` = negative determination, canonical per Crysta directive 2026-05-27)
575
581
  // + 1 missingness root + 3 canonical missingness children = 8.
576
582
  { file: "htType.v1.0.0.json", domain: "ht_type", expectedCount: 8 },
577
- // PROVISIONAL CVC-231 relationship_concern — 7 TRA relationship-concern
583
+ // PROVISIONAL CVC-991 relationship_concern — 7 TRA relationship-concern
578
584
  // codes + 1 missingness root + 3 canonical missingness children = 11.
579
585
  // CVC number is PROVISIONAL pending codebook-session ratification.
586
+ // RENUMBERED 231 -> 991 on 2026-08-29: CVC-231 was ratified to the
587
+ // Determination Helper categories (Jevon, 2026-08-28), so the provisional
588
+ // mint this domain held out of the canonical block vacates to the 900-block.
589
+ // Count is unchanged — the renumber is a pure segment-1 prefix substitution.
580
590
  { file: "relationshipConcern.v1.0.0.json", domain: "relationship_concern", expectedCount: 11 },
581
591
  // CVC-137 recency_band — the CANONICAL 8-band key system adopted in 0.8.13
582
592
  // (w3m, m3_6, m6_12, y1p, y1_3, y3_10, y10p, ylt3 — the lowercase
@@ -661,6 +671,18 @@ const SOT_SPECS: readonly SotSpec[] = [
661
671
  // 1 authored `non_us_unspecified` local extension = 254. The +1 over CVC-182
662
672
  // is that local extension, and nothing else.
663
673
  { file: "countries.v1.0.0.json", domain: "countries", expectedCount: 254 },
674
+ // CVC-231 — the Determination Helper category taxonomy: 53 canonical rows
675
+ // across the four sections (§ I Subject and Scope 5 · § II Activity 20 ·
676
+ // § III Means 24 · § IV Status 4) + 1 missingness root + 3 workspace-standard
677
+ // missingness children (this codebook carries none of its own) = 57. ALL 53 are
678
+ // selectable, including the 10 non-leaf rows — the canonical
679
+ // feeds_dh_subdomain_crossref addresses parent rows directly, so a
680
+ // category/leaf split would orphan those references.
681
+ {
682
+ file: "determinationHelperCategories.v1.0.0.json",
683
+ domain: "determination_helper_categories",
684
+ expectedCount: 57,
685
+ },
664
686
  // CVC-235 — 4 L1 trafficking-relevant roles + 1 missingness root + 3 canonical
665
687
  // missingness children = 8.
666
688
  {
@@ -208,6 +208,12 @@ const SOT_FILES: readonly SotFile[] = [
208
208
  { file: "citizenship.v1.0.0.json", expectedDomain: "citizenship" },
209
209
  // CVC-181 — the country list CVC-182 shares. Authored 2026-08-26.
210
210
  { file: "countries.v1.0.0.json", expectedDomain: "countries" },
211
+ // CVC-231 — the Determination Helper category taxonomy. Authored 2026-08-30,
212
+ // on the number Jevon ratified to it on 2026-08-28.
213
+ {
214
+ file: "determinationHelperCategories.v1.0.0.json",
215
+ expectedDomain: "determination_helper_categories",
216
+ },
211
217
  { file: "traffickingRelevantRole.v1.0.0.json", expectedDomain: "trafficking_relevant_role" },
212
218
  // ─── Domains the hand-maintained list previously OMITTED (found by the
213
219
  // CVC drift gate, which scans the directory instead of a list). ───