@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/dist/index.js CHANGED
@@ -20135,7 +20135,18 @@ var organizationProgramSchemaDefinition = {
20135
20135
  */
20136
20136
  locationId: { type: String, required: false },
20137
20137
  /** The editor's notes. */
20138
- notes: { type: String, required: false }
20138
+ notes: { type: String, required: false },
20139
+ /**
20140
+ * The first team that works for the program (`teams._id` as a string;
20141
+ * canon `team_id`). Equal to `teamIds[0]` when both are written.
20142
+ */
20143
+ teamId: { type: String, required: false },
20144
+ /**
20145
+ * Every team that works for the program (canon `team_ids`; one program may
20146
+ * have several teams). `default: undefined`, so a row with no link stores
20147
+ * nothing and reads as absent, never as an empty list.
20148
+ */
20149
+ teamIds: { type: [String], required: false, default: void 0 }
20139
20150
  };
20140
20151
  function buildOrganizationProgramSchema() {
20141
20152
  return new Schema12(organizationProgramSchemaDefinition, { _id: false });