@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
|
@@ -885,7 +885,9 @@ var ORGANIZATION_PROGRAM_ROW_KEYS = Object.freeze([
|
|
|
885
885
|
"operatingStartDate",
|
|
886
886
|
"operatingEndDate",
|
|
887
887
|
"locationId",
|
|
888
|
-
"notes"
|
|
888
|
+
"notes",
|
|
889
|
+
"teamId",
|
|
890
|
+
"teamIds"
|
|
889
891
|
]);
|
|
890
892
|
var optionalText = import_zod2.z.string().nullish();
|
|
891
893
|
var detailText = import_zod2.z.string().nullish().catch(void 0);
|
|
@@ -905,7 +907,11 @@ var OrganizationProgramRowSchema = import_zod2.z.object({
|
|
|
905
907
|
operatingStartDate: detailText,
|
|
906
908
|
operatingEndDate: detailText,
|
|
907
909
|
locationId: detailText,
|
|
908
|
-
notes: detailText
|
|
910
|
+
notes: detailText,
|
|
911
|
+
/** The first team that works for the program (canon `team_id`). */
|
|
912
|
+
teamId: detailText,
|
|
913
|
+
/** Every team that works for the program (canon `team_ids`). */
|
|
914
|
+
teamIds: import_zod2.z.array(import_zod2.z.string()).nullish().catch(void 0)
|
|
909
915
|
});
|
|
910
916
|
|
|
911
917
|
// src/orgDirectory/orgRecord.ts
|