@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.
package/dist/index.cjs CHANGED
@@ -10209,8 +10209,12 @@ var SCHOOL = gql`
10209
10209
  owner {
10210
10210
  ...OwnerFields
10211
10211
  }
10212
+ overallPoints
10212
10213
  region
10213
10214
  studentCount
10215
+ socialMedia {
10216
+ ...SocialMediaFields
10217
+ }
10214
10218
  termsAgreement {
10215
10219
  ...TermsAgreementFields
10216
10220
  }
@@ -10221,6 +10225,7 @@ var SCHOOL = gql`
10221
10225
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
10222
10226
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
10223
10227
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
10228
+ ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
10224
10229
  `;
10225
10230
  var GET_SCHOOL = gql`
10226
10231
  query getSchool($_id: ID!) {
@@ -10880,6 +10885,7 @@ var schoolSchema = create$3().shape({
10880
10885
  location: locationSchema,
10881
10886
  name: create$6().trim().required("Name is required"),
10882
10887
  region: create$6().trim().required("Region is required"),
10888
+ socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10883
10889
  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"))
10884
10890
  });
10885
10891
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
@@ -12241,11 +12247,13 @@ var schema15 = new MongooseSchema20(
12241
12247
  },
12242
12248
  logo: { required: false, type: ResourceImageTypeSchema },
12243
12249
  name: { required: true, type: String },
12250
+ overallPoints: { default: 0, required: false, type: Number },
12244
12251
  owner: {
12245
12252
  required: true,
12246
12253
  type: OwnerTypeSchema
12247
12254
  },
12248
12255
  region: { required: true, type: String },
12256
+ socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12249
12257
  studentCount: { required: true, type: Number },
12250
12258
  termsAgreement: { required: true, type: termsAgreementSchema }
12251
12259
  },