@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.
Files changed (45) hide show
  1. package/dist/cvcs/index.cjs +21 -4
  2. package/dist/cvcs/index.cjs.map +1 -1
  3. package/dist/cvcs/index.d.cts +22 -4
  4. package/dist/cvcs/index.d.ts +22 -4
  5. package/dist/cvcs/index.js +21 -4
  6. package/dist/cvcs/index.js.map +1 -1
  7. package/dist/enums/index.cjs +1 -0
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.cts +3 -2
  10. package/dist/enums/index.d.ts +3 -2
  11. package/dist/enums/index.js +1 -0
  12. package/dist/enums/index.js.map +1 -1
  13. package/dist/index.cjs +77 -11
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +2 -2
  16. package/dist/index.d.ts +2 -2
  17. package/dist/index.js +72 -11
  18. package/dist/index.js.map +1 -1
  19. package/dist/schemas/index.cjs +41 -7
  20. package/dist/schemas/index.cjs.map +1 -1
  21. package/dist/schemas/index.d.cts +105 -1
  22. package/dist/schemas/index.d.ts +105 -1
  23. package/dist/schemas/index.js +38 -7
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/{cvc-Cp4uWnAa.d.cts → team-C4LJ5Tex.d.cts} +36 -1
  26. package/dist/{cvc-Cp4uWnAa.d.ts → team-C4LJ5Tex.d.ts} +36 -1
  27. package/dist/validation/index.cjs +155 -0
  28. package/dist/validation/index.cjs.map +1 -1
  29. package/dist/validation/index.d.cts +1 -1
  30. package/dist/validation/index.d.ts +1 -1
  31. package/dist/validation/index.js +153 -0
  32. package/dist/validation/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/__tests__/__snapshots__/cvc-sot.snap +4 -0
  35. package/src/__tests__/core-information-scope-invariant.test.ts +125 -2
  36. package/src/__tests__/cvc-sot-snapshot.test.ts +9 -0
  37. package/src/__tests__/cvc-structural.test.ts +3 -0
  38. package/src/__tests__/team-directory-fields.test.ts +252 -0
  39. package/src/cvcs/coreInformationScope.v1.0.0.json +21 -4
  40. package/src/generated/cvc-enums.ts +3 -2
  41. package/src/index.ts +7 -0
  42. package/src/schemas/index.ts +8 -0
  43. package/src/schemas/team.ts +118 -0
  44. package/src/validation/index.ts +1 -0
  45. package/src/validation/team.ts +48 -0
@@ -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 + 54 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 54 units, with no renames, so adoption is additive and no stored ROI changes meaning).
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: 70
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";
@@ -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 + 54 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 54 units, with no renames, so adoption is additive and no stored ROI changes meaning).
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: 70
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";
@@ -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",