@htilabs/platform-common-models 0.85.0 → 0.86.0
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/README.md +12 -0
- package/dist/index.cjs +12 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/org-directory/index.cjs +8 -2
- package/dist/org-directory/index.cjs.map +1 -1
- package/dist/org-directory/index.d.cts +11 -2
- package/dist/org-directory/index.d.ts +11 -2
- package/dist/org-directory/index.js +8 -2
- package/dist/org-directory/index.js.map +1 -1
- package/dist/org-merge/index.cjs +8 -2
- package/dist/org-merge/index.cjs.map +1 -1
- package/dist/org-merge/index.js +8 -2
- package/dist/org-merge/index.js.map +1 -1
- package/dist/points-of-contact/index.cjs +8 -2
- package/dist/points-of-contact/index.cjs.map +1 -1
- package/dist/points-of-contact/index.js +8 -2
- package/dist/points-of-contact/index.js.map +1 -1
- package/dist/schemas/index.cjs +12 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +32 -2
- package/dist/schemas/index.d.ts +32 -2
- package/dist/schemas/index.js +12 -1
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/src/orgDirectory/__tests__/programDetails.test.ts +2 -1
- package/src/orgDirectory/__tests__/programTeamLink.test.ts +107 -0
- package/src/orgDirectory/schemas.ts +8 -1
- package/src/schemas/organization-program.ts +25 -2
|
@@ -790,7 +790,9 @@ var ORGANIZATION_PROGRAM_ROW_KEYS = Object.freeze([
|
|
|
790
790
|
"operatingStartDate",
|
|
791
791
|
"operatingEndDate",
|
|
792
792
|
"locationId",
|
|
793
|
-
"notes"
|
|
793
|
+
"notes",
|
|
794
|
+
"teamId",
|
|
795
|
+
"teamIds"
|
|
794
796
|
]);
|
|
795
797
|
var optionalText = z2.string().nullish();
|
|
796
798
|
var detailText = z2.string().nullish().catch(void 0);
|
|
@@ -810,7 +812,11 @@ var OrganizationProgramRowSchema = z2.object({
|
|
|
810
812
|
operatingStartDate: detailText,
|
|
811
813
|
operatingEndDate: detailText,
|
|
812
814
|
locationId: detailText,
|
|
813
|
-
notes: detailText
|
|
815
|
+
notes: detailText,
|
|
816
|
+
/** The first team that works for the program (canon `team_id`). */
|
|
817
|
+
teamId: detailText,
|
|
818
|
+
/** Every team that works for the program (canon `team_ids`). */
|
|
819
|
+
teamIds: z2.array(z2.string()).nullish().catch(void 0)
|
|
814
820
|
});
|
|
815
821
|
|
|
816
822
|
// src/orgDirectory/orgRecord.ts
|