@htilabs/platform-common-models 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cvcs/index.cjs +21 -4
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +22 -4
- package/dist/cvcs/index.d.ts +22 -4
- package/dist/cvcs/index.js +21 -4
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +3 -2
- package/dist/enums/index.d.ts +3 -2
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/index.cjs +77 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +72 -11
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +41 -7
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +105 -1
- package/dist/schemas/index.d.ts +105 -1
- package/dist/schemas/index.js +38 -7
- package/dist/schemas/index.js.map +1 -1
- package/dist/{cvc-Cp4uWnAa.d.cts → team-C4LJ5Tex.d.cts} +36 -1
- package/dist/{cvc-Cp4uWnAa.d.ts → team-C4LJ5Tex.d.ts} +36 -1
- package/dist/validation/index.cjs +155 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +1 -1
- package/dist/validation/index.d.ts +1 -1
- package/dist/validation/index.js +153 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +4 -0
- package/src/__tests__/core-information-scope-invariant.test.ts +125 -2
- package/src/__tests__/cvc-sot-snapshot.test.ts +9 -0
- package/src/__tests__/cvc-structural.test.ts +3 -0
- package/src/__tests__/team-directory-fields.test.ts +252 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +21 -4
- package/src/generated/cvc-enums.ts +3 -2
- package/src/index.ts +7 -0
- package/src/schemas/index.ts +8 -0
- package/src/schemas/team.ts +118 -0
- package/src/validation/index.ts +1 -0
- package/src/validation/team.ts +48 -0
package/dist/enums/index.d.cts
CHANGED
|
@@ -3788,9 +3788,9 @@ declare const NeedsAssessmentChangeTypeKeys: {
|
|
|
3788
3788
|
};
|
|
3789
3789
|
type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
3790
3790
|
/**
|
|
3791
|
-
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES +
|
|
3791
|
+
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 55 authorization-grain UNITS. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — roi_scope's 27 substantive keys are a strict SUBSET of these 55 units, with no renames, so adoption is additive and no stored ROI changes meaning).
|
|
3792
3792
|
*
|
|
3793
|
-
* Domain: `core_information_scope` · Version: 1.0.0 · Entries:
|
|
3793
|
+
* Domain: `core_information_scope` · Version: 1.0.0 · Entries: 71
|
|
3794
3794
|
*/
|
|
3795
3795
|
declare const CoreInformationScopeKeys: {
|
|
3796
3796
|
readonly missingness_root: "236-000-000-000-000-000-000";
|
|
@@ -3824,6 +3824,7 @@ declare const CoreInformationScopeKeys: {
|
|
|
3824
3824
|
readonly contact: "236-003-000-000-000-000-000";
|
|
3825
3825
|
readonly contact_info: "236-003-001-000-000-000-000";
|
|
3826
3826
|
readonly safe_locations: "236-003-002-000-000-000-000";
|
|
3827
|
+
readonly priorities_safety: "236-003-003-000-000-000-000";
|
|
3827
3828
|
readonly services: "236-004-000-000-000-000-000";
|
|
3828
3829
|
readonly contact_history: "236-004-001-000-000-000-000";
|
|
3829
3830
|
readonly service_history: "236-004-002-000-000-000-000";
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -3788,9 +3788,9 @@ declare const NeedsAssessmentChangeTypeKeys: {
|
|
|
3788
3788
|
};
|
|
3789
3789
|
type NeedsAssessmentChangeTypeKey = keyof typeof NeedsAssessmentChangeTypeKeys;
|
|
3790
3790
|
/**
|
|
3791
|
-
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES +
|
|
3791
|
+
* Key → positional code map for the `core_information_scope` CVC domain (DRAFT-TEMPORARY; canonical CVC-236, 12 policy-grain CATEGORIES + 55 authorization-grain UNITS. Categories are level 1 and NOT selectable; units are level 2 and are what an ROI or a share authorizes. Distinct from the sibling `roi_scope` domain, which is the FLAT item vocabulary and deliberately omits the category axis — roi_scope's 27 substantive keys are a strict SUBSET of these 55 units, with no renames, so adoption is additive and no stored ROI changes meaning).
|
|
3792
3792
|
*
|
|
3793
|
-
* Domain: `core_information_scope` · Version: 1.0.0 · Entries:
|
|
3793
|
+
* Domain: `core_information_scope` · Version: 1.0.0 · Entries: 71
|
|
3794
3794
|
*/
|
|
3795
3795
|
declare const CoreInformationScopeKeys: {
|
|
3796
3796
|
readonly missingness_root: "236-000-000-000-000-000-000";
|
|
@@ -3824,6 +3824,7 @@ declare const CoreInformationScopeKeys: {
|
|
|
3824
3824
|
readonly contact: "236-003-000-000-000-000-000";
|
|
3825
3825
|
readonly contact_info: "236-003-001-000-000-000-000";
|
|
3826
3826
|
readonly safe_locations: "236-003-002-000-000-000-000";
|
|
3827
|
+
readonly priorities_safety: "236-003-003-000-000-000-000";
|
|
3827
3828
|
readonly services: "236-004-000-000-000-000-000";
|
|
3828
3829
|
readonly contact_history: "236-004-001-000-000-000-000";
|
|
3829
3830
|
readonly service_history: "236-004-002-000-000-000-000";
|
package/dist/enums/index.js
CHANGED
|
@@ -2922,6 +2922,7 @@ var CoreInformationScopeKeys = {
|
|
|
2922
2922
|
contact: "236-003-000-000-000-000-000",
|
|
2923
2923
|
contact_info: "236-003-001-000-000-000-000",
|
|
2924
2924
|
safe_locations: "236-003-002-000-000-000-000",
|
|
2925
|
+
priorities_safety: "236-003-003-000-000-000-000",
|
|
2925
2926
|
services: "236-004-000-000-000-000-000",
|
|
2926
2927
|
contact_history: "236-004-001-000-000-000-000",
|
|
2927
2928
|
service_history: "236-004-002-000-000-000-000",
|