@timardex/cluemart-server-shared 1.0.133 → 1.0.135

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.
@@ -10199,8 +10199,13 @@ var SCHOOL = gql`
10199
10199
  owner {
10200
10200
  ...OwnerFields
10201
10201
  }
10202
+ overallPoints
10202
10203
  region
10203
10204
  studentCount
10205
+ schoolCode
10206
+ socialMedia {
10207
+ ...SocialMediaFields
10208
+ }
10204
10209
  termsAgreement {
10205
10210
  ...TermsAgreementFields
10206
10211
  }
@@ -10211,6 +10216,7 @@ var SCHOOL = gql`
10211
10216
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
10212
10217
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
10213
10218
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
10219
+ ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
10214
10220
  `;
10215
10221
  var GET_SCHOOL = gql`
10216
10222
  query getSchool($_id: ID!) {
@@ -10870,6 +10876,7 @@ var schoolSchema = create$3().shape({
10870
10876
  location: locationSchema,
10871
10877
  name: create$6().trim().required("Name is required"),
10872
10878
  region: create$6().trim().required("Region is required"),
10879
+ socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10873
10880
  studentCount: create$5().label("Student Count").min(0, "Student count cannot be negative").required("Student count is required").test("no-leading-zeros", "", noLeadingZeros("Student Count"))
10874
10881
  });
10875
10882
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
@@ -12231,12 +12238,15 @@ var schema15 = new MongooseSchema20(
12231
12238
  },
12232
12239
  logo: { required: false, type: ResourceImageTypeSchema },
12233
12240
  name: { required: true, type: String },
12241
+ overallPoints: { default: 0, required: false, type: Number },
12234
12242
  owner: {
12235
12243
  required: true,
12236
12244
  type: OwnerTypeSchema
12237
12245
  },
12238
12246
  region: { required: true, type: String },
12239
- studentCount: { required: true, type: Number },
12247
+ schoolCode: { required: true, type: String },
12248
+ socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12249
+ studentCount: { default: 0, required: true, type: Number },
12240
12250
  termsAgreement: { required: true, type: termsAgreementSchema }
12241
12251
  },
12242
12252
  { timestamps: true }