@htilabs/platform-common-models 0.8.20 → 0.8.22
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 +5 -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 +5 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +128 -58
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +1929 -1849
- package/dist/cvcs/index.d.ts +1929 -1849
- package/dist/cvcs/index.js +127 -58
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-4DiJrn7y.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-qreOzXYS.d.cts} +1 -1
- package/dist/index.cjs +149 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -12
- package/dist/index.d.ts +25 -12
- package/dist/index.js +147 -66
- 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-CvQkzOy1.d.cts → platform-auth-91Hcl8F8.d.cts} +3 -2
- package/dist/{platform-auth-CvQkzOy1.d.ts → platform-auth-91Hcl8F8.d.ts} +3 -2
- package/dist/schemas/index.cjs +5 -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 +5 -1
- 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 +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
- package/src/__tests__/cvc-drift-gate.test.ts +17 -4
- package/src/__tests__/cvc-sot-snapshot.test.ts +8 -3
- package/src/constants/ic.ts +4 -0
- package/src/cvcs/assertionDomain.v1.1.0.json +4 -57
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +11 -1
- package/src/cvcs/index.ts +2 -0
- package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +109 -0
- package/src/generated/cvc-enums.ts +22 -7
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-ctHTp2df.d.cts} +8 -8
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-ctHTp2df.d.ts} +8 -8
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PlatformToolValue, F as FunctionStatusValue, R as RoleLevelValue, S as ShareViewValue, a as PermissionStateValue } from '../platform-auth-
|
|
2
|
-
export { A as AccommodationValue, b as AgeBinReportingValue, c as AppScopeValue, d as ApparentAgeValue, D as DataQualityValue, e as FormStatusValue, f as FormTypeValue, I as IC13Category, g as IC13Value, h as IC22Value, i as IC23Value, j as IC24Value, k as IC25Value, l as IC49ReferralOutcomeValue, m as IC49ReferralVerificationValue, n as IC49Value, o as IC4Value, p as IC56Value, q as IC57Value, r as IC58Value, s as IC59Value, t as IC5Value, u as IncidentInvolvementRoleValue, v as IncidentParticipationRoleValue, w as InteractionTypeValue, M as MinorAdultStatusValue, x as PersonDisplayCategoryValue, y as PersonRoleValue, z as PersonTypeValue, Q as QuestionFormatValue, B as QuickStartTemplateId, C as RecordStateValue, E as RelationshipConcernValue, G as RelationshipDynamicValue, H as SessionStateValue, J as SubmissionStateValue, U as UserStatusValue } from '../platform-auth-
|
|
1
|
+
import { P as PlatformToolValue, F as FunctionStatusValue, R as RoleLevelValue, S as ShareViewValue, a as PermissionStateValue } from '../platform-auth-91Hcl8F8.cjs';
|
|
2
|
+
export { A as AccommodationValue, b as AgeBinReportingValue, c as AppScopeValue, d as ApparentAgeValue, D as DataQualityValue, e as FormStatusValue, f as FormTypeValue, I as IC13Category, g as IC13Value, h as IC22Value, i as IC23Value, j as IC24Value, k as IC25Value, l as IC49ReferralOutcomeValue, m as IC49ReferralVerificationValue, n as IC49Value, o as IC4Value, p as IC56Value, q as IC57Value, r as IC58Value, s as IC59Value, t as IC5Value, u as IncidentInvolvementRoleValue, v as IncidentParticipationRoleValue, w as InteractionTypeValue, M as MinorAdultStatusValue, x as PersonDisplayCategoryValue, y as PersonRoleValue, z as PersonTypeValue, Q as QuestionFormatValue, B as QuickStartTemplateId, C as RecordStateValue, E as RelationshipConcernValue, G as RelationshipDynamicValue, H as SessionStateValue, J as SubmissionStateValue, U as UserStatusValue } from '../platform-auth-91Hcl8F8.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @htilabs/platform-common-models — Platform Authorization Types
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PlatformToolValue, F as FunctionStatusValue, R as RoleLevelValue, S as ShareViewValue, a as PermissionStateValue } from '../platform-auth-
|
|
2
|
-
export { A as AccommodationValue, b as AgeBinReportingValue, c as AppScopeValue, d as ApparentAgeValue, D as DataQualityValue, e as FormStatusValue, f as FormTypeValue, I as IC13Category, g as IC13Value, h as IC22Value, i as IC23Value, j as IC24Value, k as IC25Value, l as IC49ReferralOutcomeValue, m as IC49ReferralVerificationValue, n as IC49Value, o as IC4Value, p as IC56Value, q as IC57Value, r as IC58Value, s as IC59Value, t as IC5Value, u as IncidentInvolvementRoleValue, v as IncidentParticipationRoleValue, w as InteractionTypeValue, M as MinorAdultStatusValue, x as PersonDisplayCategoryValue, y as PersonRoleValue, z as PersonTypeValue, Q as QuestionFormatValue, B as QuickStartTemplateId, C as RecordStateValue, E as RelationshipConcernValue, G as RelationshipDynamicValue, H as SessionStateValue, J as SubmissionStateValue, U as UserStatusValue } from '../platform-auth-
|
|
1
|
+
import { P as PlatformToolValue, F as FunctionStatusValue, R as RoleLevelValue, S as ShareViewValue, a as PermissionStateValue } from '../platform-auth-91Hcl8F8.js';
|
|
2
|
+
export { A as AccommodationValue, b as AgeBinReportingValue, c as AppScopeValue, d as ApparentAgeValue, D as DataQualityValue, e as FormStatusValue, f as FormTypeValue, I as IC13Category, g as IC13Value, h as IC22Value, i as IC23Value, j as IC24Value, k as IC25Value, l as IC49ReferralOutcomeValue, m as IC49ReferralVerificationValue, n as IC49Value, o as IC4Value, p as IC56Value, q as IC57Value, r as IC58Value, s as IC59Value, t as IC5Value, u as IncidentInvolvementRoleValue, v as IncidentParticipationRoleValue, w as InteractionTypeValue, M as MinorAdultStatusValue, x as PersonDisplayCategoryValue, y as PersonRoleValue, z as PersonTypeValue, Q as QuestionFormatValue, B as QuickStartTemplateId, C as RecordStateValue, E as RelationshipConcernValue, G as RelationshipDynamicValue, H as SessionStateValue, J as SubmissionStateValue, U as UserStatusValue } from '../platform-auth-91Hcl8F8.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @htilabs/platform-common-models — Platform Authorization Types
|
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"hash": "68c5fee27fb5826ed86ff8e9387ec00ae8813029c87f9d5349c7ce2d5c640eaf"
|
|
16
16
|
},
|
|
17
17
|
"incident_participation_roles": {
|
|
18
|
-
"count":
|
|
19
|
-
"hash": "
|
|
18
|
+
"count": 20,
|
|
19
|
+
"hash": "bb891d1159a0e70b19ec485459f9778aa2c86a00009bf5e2259290a8ddf41a10"
|
|
20
20
|
},
|
|
21
21
|
"incident_involvement_roles": {
|
|
22
22
|
"count": 10,
|
|
@@ -511,8 +511,8 @@
|
|
|
511
511
|
"hash": "995a3170efe8219c0bfe0a174abb2389c86bf94423a70a5ce2b2feb3d9e6b3fa"
|
|
512
512
|
},
|
|
513
513
|
"assertion_domain": {
|
|
514
|
-
"count":
|
|
515
|
-
"hash": "
|
|
514
|
+
"count": 70,
|
|
515
|
+
"hash": "6b10f093870817757f4dcb45a513b347f0491ae3ca08c518e3c88df52cd48fdb"
|
|
516
516
|
},
|
|
517
517
|
"activity_type": {
|
|
518
518
|
"count": 14,
|
|
@@ -264,6 +264,19 @@ const INDEX_ABSENT: Record<string, { cvc: number; reason: string }> = {
|
|
|
264
264
|
// but CVC_INDEX.md carries no row. Not a squat (nothing else claims these
|
|
265
265
|
// numbers) — but each needs a Notion index row to become verifiable.
|
|
266
266
|
service_categories: { cvc: 22, reason: "no CVC_INDEX row" },
|
|
267
|
+
// Ratified in the live Notion CVC-159 codebook 2026-08-29 (Crysta knock-out
|
|
268
|
+
// walk) and mirrored to `data/cvcs/core_assertion_domain_extensions_
|
|
269
|
+
// signal_identification.yaml` (prototype PR #519), but CVC_INDEX.md carries no
|
|
270
|
+
// row: the 2026-08-29 targeted live refresh updated CVC-159's own rows without
|
|
271
|
+
// re-running extract_final_cvcs.py, so no `Final CVCs/` export exists for this
|
|
272
|
+
// slice yet. The number is the domain's own self-declaration (CVC-267) and
|
|
273
|
+
// nothing else claims it. NOT parked at 900+ on purpose — same reasoning as
|
|
274
|
+
// core_information_scope: that block is for vocabularies with no canonical
|
|
275
|
+
// number, and parking a numbered domain there would leave 267 looking free.
|
|
276
|
+
risk_identification_milestone: {
|
|
277
|
+
cvc: 267,
|
|
278
|
+
reason: "no CVC_INDEX row — authored live in Notion 2026-08-29, extractor not re-run",
|
|
279
|
+
},
|
|
267
280
|
// Authored directly in the live Notion inline DB (2026-08-13, restructured
|
|
268
281
|
// 2026-08-14), so no `Final CVCs/` export exists yet and extract_final_cvcs.py
|
|
269
282
|
// emits no row. The number is the domain's own self-declaration —
|
|
@@ -626,17 +639,17 @@ describe("GATE F — entry counts and selectable counts are never conflated", ()
|
|
|
626
639
|
}
|
|
627
640
|
});
|
|
628
641
|
|
|
629
|
-
it("CVC-69 regression:
|
|
642
|
+
it("CVC-69 regression: 20 entries = 15 selectable + 4 group rows + missingness_root", () => {
|
|
630
643
|
const d = DOMAINS.find((x) => x.domain === "incident_participation_roles")!;
|
|
631
644
|
const selectable = d.entries.filter((e) => e.selectable);
|
|
632
645
|
const groupRows = d.entries.filter((e) => !e.selectable && !isMissingness(e));
|
|
633
646
|
const missRoot = d.entries.filter((e) => !e.selectable && isMissingness(e));
|
|
634
647
|
|
|
635
|
-
expect(d.entries.length, "total entries").toBe(
|
|
636
|
-
expect(selectable.length, "selectable").toBe(
|
|
648
|
+
expect(d.entries.length, "total entries").toBe(20);
|
|
649
|
+
expect(selectable.length, "selectable").toBe(15);
|
|
637
650
|
expect(groupRows.length, "non-selectable group rows").toBe(4);
|
|
638
651
|
expect(missRoot.length, "non-selectable missingness_root").toBe(1);
|
|
639
|
-
expect(selectable.length + groupRows.length + missRoot.length).toBe(
|
|
652
|
+
expect(selectable.length + groupRows.length + missRoot.length).toBe(20);
|
|
640
653
|
// If a consumer's boot-check ever asserts `entries.length === 14`, it is the
|
|
641
654
|
// CONSUMER that is wrong, not CVC-69.
|
|
642
655
|
});
|
|
@@ -67,11 +67,11 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
67
67
|
{ file: "serviceStates.v1.0.0.json", domain: "service_states", expectedCount: 17 },
|
|
68
68
|
// Spec §8.1 — "Entries: 147" + 4 missingness = 151
|
|
69
69
|
{ file: "serviceCategories.v1.0.0.json", domain: "service_categories", expectedCount: 151 },
|
|
70
|
-
// CVC-69 — 4 group parents +
|
|
70
|
+
// CVC-69 — 4 group parents + 12 role leaves + 4 missingness = 20
|
|
71
71
|
{
|
|
72
72
|
file: "incidentParticipationRoles.v1.0.0.json",
|
|
73
73
|
domain: "incident_participation_roles",
|
|
74
|
-
expectedCount:
|
|
74
|
+
expectedCount: 20,
|
|
75
75
|
},
|
|
76
76
|
// CVC-130 — 6 flat role leaves + 4 missingness = 10
|
|
77
77
|
{
|
|
@@ -607,7 +607,12 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
607
607
|
// 68 -> 75: the 2026-08-29 signal-identification ratification adds two Level-1
|
|
608
608
|
// domains (signal_identification 159-066, investigative_legal 159-067) plus the
|
|
609
609
|
// five identification-funnel rungs as their Level-2 value rows.
|
|
610
|
-
|
|
610
|
+
// 75 -> 70: the five identification-funnel rungs move OUT of CVC-159 into
|
|
611
|
+
// their own vocabulary (riskIdentificationMilestone, CVC-267). CVC-159 keeps
|
|
612
|
+
// the two new Level-1 DOMAINS only — AssertionDomainKeys is the set of
|
|
613
|
+
// domains, and a value folded into it makes `on_radar` demand a domain
|
|
614
|
+
// classification in every downstream totality gate.
|
|
615
|
+
{ file: "assertionDomain.v1.1.0.json", domain: "assertion_domain", expectedCount: 70 },
|
|
611
616
|
{ file: "activityType.v1.0.0.json", domain: "activity_type", expectedCount: 14 },
|
|
612
617
|
{ file: "provenanceSourceId.v1.0.0.json", domain: "provenance_source_id", expectedCount: 13 },
|
|
613
618
|
{ file: "radiusBucket.v1.0.0.json", domain: "radius_bucket", expectedCount: 9 },
|
package/src/constants/ic.ts
CHANGED
|
@@ -1986,6 +1986,7 @@ export const INCIDENT_PARTICIPATION_ROLE = {
|
|
|
1986
1986
|
DATA_ENTRY: "data_entry",
|
|
1987
1987
|
OTHER_INCIDENT_RESPONDER: "other_incident_responder",
|
|
1988
1988
|
RESPONDING_OFFICER: "responding_officer",
|
|
1989
|
+
LEGAL_PROFESSIONAL: "legal_professional",
|
|
1989
1990
|
UNKNOWN: "unknown",
|
|
1990
1991
|
ANONYMOUS: "anonymous",
|
|
1991
1992
|
DATA_NOT_COLLECTED: "data_not_collected",
|
|
@@ -2006,6 +2007,7 @@ export const INCIDENT_PARTICIPATION_ROLE_VALUES = [
|
|
|
2006
2007
|
INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY,
|
|
2007
2008
|
INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
|
|
2008
2009
|
INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
|
|
2010
|
+
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
2009
2011
|
INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
|
|
2010
2012
|
INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
|
|
2011
2013
|
INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED,
|
|
@@ -2030,6 +2032,7 @@ export const INCIDENT_PARTICIPATION_ROLE_LABELS: Record<
|
|
|
2030
2032
|
[INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]:
|
|
2031
2033
|
"VSP or Other Incident Responder",
|
|
2032
2034
|
[INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
|
|
2035
|
+
[INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
|
|
2033
2036
|
[INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
|
|
2034
2037
|
[INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
|
|
2035
2038
|
[INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected",
|
|
@@ -2056,6 +2059,7 @@ export const PARTICIPATION_ROLE_CATEGORIES = {
|
|
|
2056
2059
|
SYSTEM_PROFESSIONAL: [
|
|
2057
2060
|
INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF,
|
|
2058
2061
|
INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF,
|
|
2062
|
+
INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
|
|
2059
2063
|
],
|
|
2060
2064
|
} as const;
|
|
2061
2065
|
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
"domain": "assertion_domain",
|
|
3
3
|
"name": "Assertion Domain (CVC-159)",
|
|
4
4
|
"version": "2.0.0",
|
|
5
|
-
"_status": "CANONICAL — RENUMBERED 0.8.13 from provisional CVC-964 to canonical CVC-159. Live prototype HEAD a596eb9: `Final CVCs` -> `core - assertion_domain` = CVC-159 (vocab_status 'Ready for dev', Verification 'Verified'), corroborated by 17 `data/cvcs/core_assertion_domain_extensions_*.yaml` files that all declare `cvc: core - assertion_domain`. CVC-159 was freed by deleting the 100%-unbound hand-coded `CVC_159_RELATIONSHIP_TIES` family from `src/constants/ic.ts`; `relationship_ties` keeps its canonical CVC-158. Consumers persist KEYS, not wire codes, so the renumber is compile-clean (regenerate `cvcKeys.ts`). WITHDRAWN in 0.8.13 (all three have ZERO occurrences at prototype HEAD): `romantic_relationship` (964-066) — upstream the romantic-partner lifecycle routes to `household_relationships`, see `data/cvcs/core_romantic_relationship_change_type.yaml`; `household_tenure` (964-045); `household_composition` (964-067). All three fold into `household_relationships` (554 occurrences at HEAD). NOTE: `romantic_partner` is a relationship-type VALUE code (1,575 occurrences), never an assertion domain — it is correctly not modelled here. `child_profile` (159-065) is KEPT: 353 occurrences at HEAD. Segment-2 ordinals are preserved across the renumber (gaps at 045/066/067 are intentional; no data migration exists, but stable ordinals keep the diff reviewable). The 37 domains PAVE ships that are absent from the Final CVC-159 export all have substantial upstream occurrence counts and are retained as proposed CVC-159 extensions. | 0.8.20: ADDED `signal_identification` (159-066) and `investigative_legal` (159-067) -- retroactive homing of the Track-1 identification-rung emitter live since 2026-08-23; both ratified in the CVC-159 codebook 2026-08-29 (prototype PR #519, hti-features PR #34). Ordinals 066/067 were free: the 0.8.13 withdrawals that reserved those slots were under the OLD CVC-964 numbering and the 159 equivalents were never issued -- verified zero references to 159-066/159-067 anywhere in the repo or the published dist before assigning. The 045 gap remains reserved. The
|
|
5
|
+
"_status": "CANONICAL — RENUMBERED 0.8.13 from provisional CVC-964 to canonical CVC-159. Live prototype HEAD a596eb9: `Final CVCs` -> `core - assertion_domain` = CVC-159 (vocab_status 'Ready for dev', Verification 'Verified'), corroborated by 17 `data/cvcs/core_assertion_domain_extensions_*.yaml` files that all declare `cvc: core - assertion_domain`. CVC-159 was freed by deleting the 100%-unbound hand-coded `CVC_159_RELATIONSHIP_TIES` family from `src/constants/ic.ts`; `relationship_ties` keeps its canonical CVC-158. Consumers persist KEYS, not wire codes, so the renumber is compile-clean (regenerate `cvcKeys.ts`). WITHDRAWN in 0.8.13 (all three have ZERO occurrences at prototype HEAD): `romantic_relationship` (964-066) — upstream the romantic-partner lifecycle routes to `household_relationships`, see `data/cvcs/core_romantic_relationship_change_type.yaml`; `household_tenure` (964-045); `household_composition` (964-067). All three fold into `household_relationships` (554 occurrences at HEAD). NOTE: `romantic_partner` is a relationship-type VALUE code (1,575 occurrences), never an assertion domain — it is correctly not modelled here. `child_profile` (159-065) is KEPT: 353 occurrences at HEAD. Segment-2 ordinals are preserved across the renumber (gaps at 045/066/067 are intentional; no data migration exists, but stable ordinals keep the diff reviewable). The 37 domains PAVE ships that are absent from the Final CVC-159 export all have substantial upstream occurrence counts and are retained as proposed CVC-159 extensions. | 0.8.20: ADDED `signal_identification` (159-066) and `investigative_legal` (159-067) -- retroactive homing of the Track-1 identification-rung emitter live since 2026-08-23; both ratified in the CVC-159 codebook 2026-08-29 (prototype PR #519, hti-features PR #34). Ordinals 066/067 were free: the 0.8.13 withdrawals that reserved those slots were under the OLD CVC-964 numbering and the 159 equivalents were never issued -- verified zero references to 159-066/159-067 anywhere in the repo or the published dist before assigning. The 045 gap remains reserved. The rung VALUE set those two domains carry lives in its own vocabulary (`riskIdentificationMilestone`, CVC-267) rather than as Level-2 rows here: `AssertionDomainKeys` is consumed as THE SET OF DOMAINS, and folding values into it breaks that contract for every consumer -- PAVE's `Record<AssertionDomain, DomainValueVocabulary>` totality gate would demand a domain classification for `on_radar`. CVC-159 stays Level-1 only.",
|
|
6
6
|
"_source": "htilabstech/prototype@a596eb9 Final CVCs/Assertion Contract/core - assertion_domain.md (CVC-159) + 17 core_assertion_domain_extensions_*.yaml",
|
|
7
7
|
"levels": {
|
|
8
8
|
"0": "Unknown or Missing",
|
|
9
|
-
"1": "CAR assertion domain"
|
|
10
|
-
"2": "CAR assertion value (the vocabulary the domain's assertion_value_code resolves against)"
|
|
9
|
+
"1": "CAR assertion domain"
|
|
11
10
|
},
|
|
12
11
|
"entries": [
|
|
13
12
|
{
|
|
@@ -632,12 +631,7 @@
|
|
|
632
631
|
"title": "Signal / Identification",
|
|
633
632
|
"selectable": true,
|
|
634
633
|
"parentCode": null,
|
|
635
|
-
"childCodes": [
|
|
636
|
-
"159-066-001-000-000-000-000",
|
|
637
|
-
"159-066-002-000-000-000-000",
|
|
638
|
-
"159-066-003-000-000-000-000",
|
|
639
|
-
"159-066-004-000-000-000-000"
|
|
640
|
-
],
|
|
634
|
+
"childCodes": [],
|
|
641
635
|
"definition": "The identification-funnel pipeline domain: a subject's position on the reach ladder (on_radar -> screened -> at_risk -> assessed), asserted by the `identification_rung_reached` CAR whose `assertion_value_code` is the rung (CVC-267). Ratified 2026-08-29 as retroactive codebook homing of a live emitter that has minted rung CARs since 2026-08-23 (Crysta ruling, milestone-residue R1). A rung CAR asserts that a subject REACHED a rung; it never restates a determination -- it joins the derived milestone row via `pm_ref`, and the derived row remains the derived row (a milestone row never IS the CAR). Distinct from `identification_status` (CVC-241), the identity-CONFIDENCE axis; per the 2026-06-30 naming directive that axis is named `identity_status` and 'identification ladder' is a retired synonym for it -- display copy for THIS domain says 'identification funnel' or 'pipeline rungs', never bare 'identification ladder'. The `determined` rung is filed under BOTH this domain and `investigative_legal` (ruling 2026-08-29); its STORED domain stays `investigative_legal` as built."
|
|
642
636
|
},
|
|
643
637
|
{
|
|
@@ -646,55 +640,8 @@
|
|
|
646
640
|
"title": "Investigative / Legal",
|
|
647
641
|
"selectable": true,
|
|
648
642
|
"parentCode": null,
|
|
649
|
-
"childCodes": [
|
|
650
|
-
"159-067-001-000-000-000-000"
|
|
651
|
-
],
|
|
652
|
-
"definition": "The investigation-and-legal-process domain. Carries `TRAFFICKING_STATUS` (CVC-267) and is the STORED `assertion_domain` of the `determined` rung of the identification funnel -- the rung measures reaching a conclusion in a safe setting, not which conclusion, so a no-indication determination still counts. Ratified 2026-08-29 alongside `signal_identification`: it is live in the same emitter and was equally unhomed. Filed-under-both (ruling 2026-08-29): data relevant to multiple milestone topics is documented under every topic it is relevant for, while CVC-159's one-assertion-one-domain rule keeps the STORED domain single -- nothing re-mints."
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"code": "159-066-001-000-000-000-000",
|
|
656
|
-
"key": "on_radar",
|
|
657
|
-
"title": "On radar",
|
|
658
|
-
"selectable": true,
|
|
659
|
-
"parentCode": "159-066-000-000-000-000-000",
|
|
660
|
-
"childCodes": [],
|
|
661
|
-
"definition": "Rung 1 of the identification funnel. The subject is known to the system at all. EVERY new person record counts as on_radar, with the origin kind carried on the derived milestone row (ruling 2026-08-20, confirmed x3)."
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"code": "159-066-002-000-000-000-000",
|
|
665
|
-
"key": "screened",
|
|
666
|
-
"title": "Screened",
|
|
667
|
-
"selectable": true,
|
|
668
|
-
"parentCode": "159-066-000-000-000-000-000",
|
|
669
643
|
"childCodes": [],
|
|
670
|
-
"definition": "
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
"code": "159-066-003-000-000-000-000",
|
|
674
|
-
"key": "at_risk",
|
|
675
|
-
"title": "At risk",
|
|
676
|
-
"selectable": true,
|
|
677
|
-
"parentCode": "159-066-000-000-000-000-000",
|
|
678
|
-
"childCodes": [],
|
|
679
|
-
"definition": "Rung 3. Satisfiable by EITHER an upward risk-band crossing OR a screening `recommended_followup` -- both count, and `satisfied_by` is carried on every row so analysis can separate the sources (ruling 2026-08-20 R1). The band-crossing CAR alone anchors this rung."
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"code": "159-066-004-000-000-000-000",
|
|
683
|
-
"key": "assessed",
|
|
684
|
-
"title": "Assessed",
|
|
685
|
-
"selectable": true,
|
|
686
|
-
"parentCode": "159-066-000-000-000-000-000",
|
|
687
|
-
"childCodes": [],
|
|
688
|
-
"definition": "Rung 4. A full assessment was completed."
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"code": "159-067-001-000-000-000-000",
|
|
692
|
-
"key": "determined",
|
|
693
|
-
"title": "Determined",
|
|
694
|
-
"selectable": true,
|
|
695
|
-
"parentCode": "159-067-000-000-000-000-000",
|
|
696
|
-
"childCodes": [],
|
|
697
|
-
"definition": "Rung 5 of the identification funnel, stored under `investigative_legal` because CVC-267 TRAFFICKING_STATUS carries that domain. DOCUMENTED under `signal_identification` as well (filed-under-both ruling 2026-08-29) without changing what is stored -- CVC-159's one-assertion-one-domain rule keeps the stored domain single. A NO-INDICATION determination still counts: the rung measures reaching a conclusion in a safe setting, not which conclusion (ruling 2026-08-20, confirmed x3). Cross-population caveat: most determinations on file predate the screening rail, so a subject can legitimately show `determined` with no `screened` above it -- correct, not a broken chain."
|
|
644
|
+
"definition": "The investigation-and-legal-process domain. Carries `TRAFFICKING_STATUS` (CVC-267) and is the STORED `assertion_domain` of the `determined` rung of the identification funnel -- the rung measures reaching a conclusion in a safe setting, not which conclusion, so a no-indication determination still counts. Ratified 2026-08-29 alongside `signal_identification`: it is live in the same emitter and was equally unhomed. Filed-under-both (ruling 2026-08-29): data relevant to multiple milestone topics is documented under every topic it is relevant for, while CVC-159's one-assertion-one-domain rule keeps the STORED domain single -- nothing re-mints."
|
|
698
645
|
}
|
|
699
646
|
]
|
|
700
647
|
}
|
|
@@ -149,7 +149,8 @@
|
|
|
149
149
|
"069-004-002-000-000-000-000",
|
|
150
150
|
"069-004-003-000-000-000-000",
|
|
151
151
|
"069-004-004-000-000-000-000",
|
|
152
|
-
"069-004-005-000-000-000-000"
|
|
152
|
+
"069-004-005-000-000-000-000",
|
|
153
|
+
"069-004-006-000-000-000-000"
|
|
153
154
|
],
|
|
154
155
|
"definition": "Group of participation roles identifying system-side professionals involved in the incident."
|
|
155
156
|
},
|
|
@@ -197,6 +198,15 @@
|
|
|
197
198
|
"parentCode": "069-004-000-000-000-000-000",
|
|
198
199
|
"childCodes": [],
|
|
199
200
|
"definition": "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel)."
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"code": "069-004-006-000-000-000-000",
|
|
204
|
+
"key": "legal_professional",
|
|
205
|
+
"title": "Legal professional",
|
|
206
|
+
"selectable": true,
|
|
207
|
+
"parentCode": "069-004-000-000-000-000-000",
|
|
208
|
+
"childCodes": [],
|
|
209
|
+
"definition": "An attorney or other legal professional (e.g., legal advocate, paralegal) acting in a legal capacity in relation to the incident."
|
|
200
210
|
}
|
|
201
211
|
]
|
|
202
212
|
}
|
package/src/cvcs/index.ts
CHANGED
|
@@ -165,6 +165,7 @@ import coreReferralOutcomeSot from "./coreReferralOutcome.v1.0.0.json" with { ty
|
|
|
165
165
|
import coreIndicatorsSot from "./coreIndicators.v1.0.0.json" with { type: "json" };
|
|
166
166
|
import coreDhStateSot from "./coreDhState.v1.0.0.json" with { type: "json" };
|
|
167
167
|
import riskSeverityBandSot from "./riskSeverityBand.v1.0.0.json" with { type: "json" };
|
|
168
|
+
import riskIdentificationMilestoneSot from "./riskIdentificationMilestone.v1.0.0.json" with { type: "json" };
|
|
168
169
|
import adminRolesSot from "./adminRoles.v1.0.0.json" with { type: "json" };
|
|
169
170
|
import userRolesSot from "./userRoles.v1.0.0.json" with { type: "json" };
|
|
170
171
|
import hmisCurrentLivingSituationSot from "./hmisCurrentLivingSituation.v1.0.0.json" with { type: "json" };
|
|
@@ -360,6 +361,7 @@ export {
|
|
|
360
361
|
coreIndicatorsSot,
|
|
361
362
|
coreDhStateSot,
|
|
362
363
|
riskSeverityBandSot,
|
|
364
|
+
riskIdentificationMilestoneSot,
|
|
363
365
|
adminRolesSot,
|
|
364
366
|
userRolesSot,
|
|
365
367
|
hmisCurrentLivingSituationSot,
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "risk_identification_milestone",
|
|
3
|
+
"name": "Core Risk Identification Milestone (CVC-267)",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL -- ratified 2026-08-29 (Crysta knock-out walk). The identification-FUNNEL rung value set: the vocabulary `assertion_value_code` resolves against when `assertion_domain` is `signal_identification` (CVC-159 159-066) or, for `determined`, `investigative_legal` (159-067). Homes the `identification_rung_reached` CAR (Crysta-named 2026-08-23) minted once per subject per rung first reached, deterministic id `ast-t1r-<sid>-<rung>`, retroactively over the derived corpus. The rung CAR is a sibling EVENT record joined to the derived milestone row via `pm_ref`: the derived row remains derived and re-derives, and a milestone row never IS the CAR (spine 5.5). The 2026-05-11 no-CAR ruling STAYS IN FORCE for Track-3 rollups -- this is a carve-out for rung events, not a new default. Modelled as its OWN vocabulary rather than as Level-2 rows inside CVC-159: `AssertionDomainKeys` is consumed as the set of DOMAINS, and folding values into it breaks that contract downstream. Naming guard (Crysta 2026-06-30): identification FUNNEL / pipeline rungs -- never 'identification ladder', a retired synonym for the identity-CONFIDENCE axis `identity_status`.",
|
|
6
|
+
"_source": "htilabstech/prototype Final CVCs core - risk_identification_milestone (CVC-267) + data/cvcs/core_assertion_domain_extensions_signal_identification.yaml (PR #519); Notion 'Signal / identification question' (2026-08-29)",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Identification funnel rung"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "267-000-000-000-000-000-000",
|
|
14
|
+
"key": "missingness_root",
|
|
15
|
+
"title": "Unknown, Redacted, or Missing",
|
|
16
|
+
"selectable": false,
|
|
17
|
+
"parentCode": null,
|
|
18
|
+
"childCodes": [
|
|
19
|
+
"267-000-000-000-000-000-001",
|
|
20
|
+
"267-000-000-000-000-000-002",
|
|
21
|
+
"267-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "267-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "267-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"canonicalCode": "UNK",
|
|
33
|
+
"definition": "Unknown or cannot be determined from the available information. NOT a safe default. Distinct from having reached NO rung: a subject who has reached no rung has NO rows at all. The milestone-symmetry `NO_IDENTIFICATION` row is deliberately NOT part of this value set (ruling 2026-08-29, OR2) -- absence of rung CARs IS the no-state, and minting a 'none' assertion would re-assert a derived status."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"code": "267-000-000-000-000-000-002",
|
|
37
|
+
"key": "anonymous",
|
|
38
|
+
"title": "Anonymous / declined to answer",
|
|
39
|
+
"selectable": true,
|
|
40
|
+
"parentCode": "267-000-000-000-000-000-000",
|
|
41
|
+
"childCodes": [],
|
|
42
|
+
"definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"code": "267-000-000-000-000-000-003",
|
|
46
|
+
"key": "data_not_collected",
|
|
47
|
+
"title": "Data not collected",
|
|
48
|
+
"selectable": true,
|
|
49
|
+
"parentCode": "267-000-000-000-000-000-000",
|
|
50
|
+
"childCodes": [],
|
|
51
|
+
"definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"code": "267-001-000-000-000-000-000",
|
|
55
|
+
"key": "on_radar",
|
|
56
|
+
"title": "On radar",
|
|
57
|
+
"selectable": true,
|
|
58
|
+
"parentCode": null,
|
|
59
|
+
"childCodes": [],
|
|
60
|
+
"ordinal": 1,
|
|
61
|
+
"assertionDomain": "signal_identification",
|
|
62
|
+
"definition": "Rung 1. The subject is known to the system at all. EVERY new person record counts, with the origin kind carried on the derived milestone row (ruling 2026-08-20, confirmed x3). Stored `assertion_domain`: `signal_identification`."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"code": "267-002-000-000-000-000-000",
|
|
66
|
+
"key": "screened",
|
|
67
|
+
"title": "Screened",
|
|
68
|
+
"selectable": true,
|
|
69
|
+
"parentCode": null,
|
|
70
|
+
"childCodes": [],
|
|
71
|
+
"ordinal": 2,
|
|
72
|
+
"assertionDomain": "signal_identification",
|
|
73
|
+
"definition": "Rung 2. A screening instrument was administered. A CLEAN screening still counts -- the rung measures REACH, not result; results are row data (ruling 2026-08-20, confirmed x3). Stored `assertion_domain`: `signal_identification`."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"code": "267-003-000-000-000-000-000",
|
|
77
|
+
"key": "at_risk",
|
|
78
|
+
"title": "At risk",
|
|
79
|
+
"selectable": true,
|
|
80
|
+
"parentCode": null,
|
|
81
|
+
"childCodes": [],
|
|
82
|
+
"ordinal": 3,
|
|
83
|
+
"assertionDomain": "signal_identification",
|
|
84
|
+
"definition": "Rung 3. Satisfiable by EITHER an upward risk-band crossing OR a screening `recommended_followup` -- both count, and `satisfied_by` is carried on every row so analysis can separate the sources (ruling 2026-08-20 R1). Stored `assertion_domain`: `signal_identification`."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "267-004-000-000-000-000-000",
|
|
88
|
+
"key": "assessed",
|
|
89
|
+
"title": "Assessed",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"ordinal": 4,
|
|
94
|
+
"assertionDomain": "signal_identification",
|
|
95
|
+
"definition": "Rung 4. A full assessment was completed. Stored `assertion_domain`: `signal_identification`."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"code": "267-005-000-000-000-000-000",
|
|
99
|
+
"key": "determined",
|
|
100
|
+
"title": "Determined",
|
|
101
|
+
"selectable": true,
|
|
102
|
+
"parentCode": null,
|
|
103
|
+
"childCodes": [],
|
|
104
|
+
"ordinal": 5,
|
|
105
|
+
"assertionDomain": "investigative_legal",
|
|
106
|
+
"definition": "Rung 5. A determination was reached in a safe setting. A NO-INDICATION determination still counts -- the rung measures reaching a conclusion, not which conclusion (ruling 2026-08-20, confirmed x3). STORED `assertion_domain` is `investigative_legal` (159-067) because CVC-267 TRAFFICKING_STATUS carries that domain; DOCUMENTED under `signal_identification` too (filed-under-both ruling 2026-08-29) without changing what is stored. Cross-population caveat: most determinations on file predate the screening rail, so a subject can legitimately show `determined` with no `screened` above it -- correct, not a broken chain."
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
@@ -218,7 +218,7 @@ export type ServiceMechanismKey = keyof typeof ServiceMechanismKeys;
|
|
|
218
218
|
/**
|
|
219
219
|
* Key → positional code map for the `incident_participation_roles` CVC domain.
|
|
220
220
|
*
|
|
221
|
-
* Domain: `incident_participation_roles` · Version: 1.0.0 · Entries:
|
|
221
|
+
* Domain: `incident_participation_roles` · Version: 1.0.0 · Entries: 20
|
|
222
222
|
*/
|
|
223
223
|
export const IncidentParticipationRoleKeys = {
|
|
224
224
|
missingness_root: "069-000-000-000-000-000-000",
|
|
@@ -240,6 +240,7 @@ export const IncidentParticipationRoleKeys = {
|
|
|
240
240
|
data_entry: "069-004-003-000-000-000-000",
|
|
241
241
|
other_incident_responder: "069-004-004-000-000-000-000",
|
|
242
242
|
responding_officer: "069-004-005-000-000-000-000",
|
|
243
|
+
legal_professional: "069-004-006-000-000-000-000",
|
|
243
244
|
} as const;
|
|
244
245
|
|
|
245
246
|
export type IncidentParticipationRoleKey = keyof typeof IncidentParticipationRoleKeys;
|
|
@@ -3556,7 +3557,7 @@ export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
|
3556
3557
|
/**
|
|
3557
3558
|
* Key → positional code map for the `assertion_domain` CVC domain (CAR assertion domain; PROVISIONAL, pending Notion ratification).
|
|
3558
3559
|
*
|
|
3559
|
-
* Domain: `assertion_domain` · Version: 2.0.0 · Entries:
|
|
3560
|
+
* Domain: `assertion_domain` · Version: 2.0.0 · Entries: 70
|
|
3560
3561
|
*/
|
|
3561
3562
|
export const AssertionDomainKeys = {
|
|
3562
3563
|
missingness_root: "159-000-000-000-000-000-000",
|
|
@@ -3628,12 +3629,7 @@ export const AssertionDomainKeys = {
|
|
|
3628
3629
|
facilitator_entity_type: "159-064-000-000-000-000-000",
|
|
3629
3630
|
child_profile: "159-065-000-000-000-000-000",
|
|
3630
3631
|
signal_identification: "159-066-000-000-000-000-000",
|
|
3631
|
-
on_radar: "159-066-001-000-000-000-000",
|
|
3632
|
-
screened: "159-066-002-000-000-000-000",
|
|
3633
|
-
at_risk: "159-066-003-000-000-000-000",
|
|
3634
|
-
assessed: "159-066-004-000-000-000-000",
|
|
3635
3632
|
investigative_legal: "159-067-000-000-000-000-000",
|
|
3636
|
-
determined: "159-067-001-000-000-000-000",
|
|
3637
3633
|
} as const;
|
|
3638
3634
|
|
|
3639
3635
|
export type AssertionDomainKey = keyof typeof AssertionDomainKeys;
|
|
@@ -4471,6 +4467,25 @@ export const CoreIndicatorKeys = {
|
|
|
4471
4467
|
|
|
4472
4468
|
export type CoreIndicatorKey = keyof typeof CoreIndicatorKeys;
|
|
4473
4469
|
|
|
4470
|
+
/**
|
|
4471
|
+
* Key → positional code map for the `risk_identification_milestone` CVC domain (CVC-267, ratified 2026-08-29). The identification-FUNNEL rung value set — the vocabulary `assertion_value_code` resolves against for the `identification_rung_reached` CAR. Four rungs store `assertion_domain` `signal_identification` (CVC-159 159-066); `determined` stores `investigative_legal` (159-067) and is documented under both (filed-under-both ruling 2026-08-29). Each entry carries its stored `assertionDomain` so a consumer can route a rung without a second table. Deliberately its OWN vocabulary, not Level-2 rows inside CVC-159: `AssertionDomainKeys` is the set of DOMAINS, and folding values in would make `on_radar` demand a domain classification downstream. The milestone-symmetry no-state row is absent: reaching no rung is the ABSENCE of rows.
|
|
4472
|
+
*
|
|
4473
|
+
* Domain: `risk_identification_milestone` · Version: 1.0.0 · Entries: 9
|
|
4474
|
+
*/
|
|
4475
|
+
export const RiskIdentificationMilestoneKeys = {
|
|
4476
|
+
missingness_root: "267-000-000-000-000-000-000",
|
|
4477
|
+
unknown: "267-000-000-000-000-000-001",
|
|
4478
|
+
anonymous: "267-000-000-000-000-000-002",
|
|
4479
|
+
data_not_collected: "267-000-000-000-000-000-003",
|
|
4480
|
+
on_radar: "267-001-000-000-000-000-000",
|
|
4481
|
+
screened: "267-002-000-000-000-000-000",
|
|
4482
|
+
at_risk: "267-003-000-000-000-000-000",
|
|
4483
|
+
assessed: "267-004-000-000-000-000-000",
|
|
4484
|
+
determined: "267-005-000-000-000-000-000",
|
|
4485
|
+
} as const;
|
|
4486
|
+
|
|
4487
|
+
export type RiskIdentificationMilestoneKey = keyof typeof RiskIdentificationMilestoneKeys;
|
|
4488
|
+
|
|
4474
4489
|
/**
|
|
4475
4490
|
* Key → positional code map for the `risk_severity_band` CVC domain (CVC-238, VERIFIED). Replaces the withdrawn provisional `risk_band` (981). Carries the load-bearing `lowerBand` thresholds 0/20/40/60/80 that the milestone band-crossing trigger reads.
|
|
4476
4491
|
*
|
|
@@ -233,18 +233,18 @@ type SectionQuestionRef = InferRawDocType<typeof sectionQuestionRefSchema>;
|
|
|
233
233
|
declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
234
234
|
_id: false;
|
|
235
235
|
}, {
|
|
236
|
-
text: string;
|
|
237
236
|
type: "tip" | "warning" | "prompt";
|
|
238
|
-
}, mongoose.Document<unknown, {}, {
|
|
239
237
|
text: string;
|
|
238
|
+
}, mongoose.Document<unknown, {}, {
|
|
240
239
|
type: "tip" | "warning" | "prompt";
|
|
240
|
+
text: string;
|
|
241
241
|
}, {
|
|
242
242
|
id: string;
|
|
243
243
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
244
244
|
_id: false;
|
|
245
245
|
}>> & Omit<{
|
|
246
|
-
text: string;
|
|
247
246
|
type: "tip" | "warning" | "prompt";
|
|
247
|
+
text: string;
|
|
248
248
|
} & {
|
|
249
249
|
_id: mongoose.Types.ObjectId;
|
|
250
250
|
} & {
|
|
@@ -252,8 +252,8 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
|
|
|
252
252
|
}, "id"> & {
|
|
253
253
|
id: string;
|
|
254
254
|
}, unknown, {
|
|
255
|
-
text: string;
|
|
256
255
|
type: "tip" | "warning" | "prompt";
|
|
256
|
+
text: string;
|
|
257
257
|
} & {
|
|
258
258
|
_id: mongoose.Types.ObjectId;
|
|
259
259
|
} & {
|
|
@@ -294,18 +294,18 @@ declare const sectionSchemaDefinition: {
|
|
|
294
294
|
type: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
295
295
|
_id: false;
|
|
296
296
|
}, {
|
|
297
|
-
text: string;
|
|
298
297
|
type: "tip" | "warning" | "prompt";
|
|
299
|
-
}, mongoose.Document<unknown, {}, {
|
|
300
298
|
text: string;
|
|
299
|
+
}, mongoose.Document<unknown, {}, {
|
|
301
300
|
type: "tip" | "warning" | "prompt";
|
|
301
|
+
text: string;
|
|
302
302
|
}, {
|
|
303
303
|
id: string;
|
|
304
304
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
305
305
|
_id: false;
|
|
306
306
|
}>> & Omit<{
|
|
307
|
-
text: string;
|
|
308
307
|
type: "tip" | "warning" | "prompt";
|
|
308
|
+
text: string;
|
|
309
309
|
} & {
|
|
310
310
|
_id: mongoose.Types.ObjectId;
|
|
311
311
|
} & {
|
|
@@ -313,8 +313,8 @@ declare const sectionSchemaDefinition: {
|
|
|
313
313
|
}, "id"> & {
|
|
314
314
|
id: string;
|
|
315
315
|
}, unknown, {
|
|
316
|
-
text: string;
|
|
317
316
|
type: "tip" | "warning" | "prompt";
|
|
317
|
+
text: string;
|
|
318
318
|
} & {
|
|
319
319
|
_id: mongoose.Types.ObjectId;
|
|
320
320
|
} & {
|
|
@@ -233,18 +233,18 @@ type SectionQuestionRef = InferRawDocType<typeof sectionQuestionRefSchema>;
|
|
|
233
233
|
declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
234
234
|
_id: false;
|
|
235
235
|
}, {
|
|
236
|
-
text: string;
|
|
237
236
|
type: "tip" | "warning" | "prompt";
|
|
238
|
-
}, mongoose.Document<unknown, {}, {
|
|
239
237
|
text: string;
|
|
238
|
+
}, mongoose.Document<unknown, {}, {
|
|
240
239
|
type: "tip" | "warning" | "prompt";
|
|
240
|
+
text: string;
|
|
241
241
|
}, {
|
|
242
242
|
id: string;
|
|
243
243
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
244
244
|
_id: false;
|
|
245
245
|
}>> & Omit<{
|
|
246
|
-
text: string;
|
|
247
246
|
type: "tip" | "warning" | "prompt";
|
|
247
|
+
text: string;
|
|
248
248
|
} & {
|
|
249
249
|
_id: mongoose.Types.ObjectId;
|
|
250
250
|
} & {
|
|
@@ -252,8 +252,8 @@ declare const guidanceSchema: Schema<any, mongoose.Model<any, any, any, any, any
|
|
|
252
252
|
}, "id"> & {
|
|
253
253
|
id: string;
|
|
254
254
|
}, unknown, {
|
|
255
|
-
text: string;
|
|
256
255
|
type: "tip" | "warning" | "prompt";
|
|
256
|
+
text: string;
|
|
257
257
|
} & {
|
|
258
258
|
_id: mongoose.Types.ObjectId;
|
|
259
259
|
} & {
|
|
@@ -294,18 +294,18 @@ declare const sectionSchemaDefinition: {
|
|
|
294
294
|
type: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
295
295
|
_id: false;
|
|
296
296
|
}, {
|
|
297
|
-
text: string;
|
|
298
297
|
type: "tip" | "warning" | "prompt";
|
|
299
|
-
}, mongoose.Document<unknown, {}, {
|
|
300
298
|
text: string;
|
|
299
|
+
}, mongoose.Document<unknown, {}, {
|
|
301
300
|
type: "tip" | "warning" | "prompt";
|
|
301
|
+
text: string;
|
|
302
302
|
}, {
|
|
303
303
|
id: string;
|
|
304
304
|
}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
|
|
305
305
|
_id: false;
|
|
306
306
|
}>> & Omit<{
|
|
307
|
-
text: string;
|
|
308
307
|
type: "tip" | "warning" | "prompt";
|
|
308
|
+
text: string;
|
|
309
309
|
} & {
|
|
310
310
|
_id: mongoose.Types.ObjectId;
|
|
311
311
|
} & {
|
|
@@ -313,8 +313,8 @@ declare const sectionSchemaDefinition: {
|
|
|
313
313
|
}, "id"> & {
|
|
314
314
|
id: string;
|
|
315
315
|
}, unknown, {
|
|
316
|
-
text: string;
|
|
317
316
|
type: "tip" | "warning" | "prompt";
|
|
317
|
+
text: string;
|
|
318
318
|
} & {
|
|
319
319
|
_id: mongoose.Types.ObjectId;
|
|
320
320
|
} & {
|