@timardex/cluemart-server-shared 1.0.133 → 1.0.134

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