@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.
@@ -6230,7 +6230,18 @@ var organizationProgramSchemaDefinition = {
6230
6230
  */
6231
6231
  locationId: { type: String, required: false },
6232
6232
  /** The editor's notes. */
6233
- notes: { type: String, required: false }
6233
+ notes: { type: String, required: false },
6234
+ /**
6235
+ * The first team that works for the program (`teams._id` as a string;
6236
+ * canon `team_id`). Equal to `teamIds[0]` when both are written.
6237
+ */
6238
+ teamId: { type: String, required: false },
6239
+ /**
6240
+ * Every team that works for the program (canon `team_ids`; one program may
6241
+ * have several teams). `default: undefined`, so a row with no link stores
6242
+ * nothing and reads as absent, never as an empty list.
6243
+ */
6244
+ teamIds: { type: [String], required: false, default: void 0 }
6234
6245
  };
6235
6246
  function buildOrganizationProgramSchema() {
6236
6247
  return new import_mongoose13.Schema(organizationProgramSchemaDefinition, { _id: false });