@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.
@@ -10128,8 +10128,12 @@ var SCHOOL = gql`
10128
10128
  owner {
10129
10129
  ...OwnerFields
10130
10130
  }
10131
+ overallPoints
10131
10132
  region
10132
10133
  studentCount
10134
+ socialMedia {
10135
+ ...SocialMediaFields
10136
+ }
10133
10137
  termsAgreement {
10134
10138
  ...TermsAgreementFields
10135
10139
  }
@@ -10140,6 +10144,7 @@ var SCHOOL = gql`
10140
10144
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
10141
10145
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
10142
10146
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
10147
+ ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
10143
10148
  `;
10144
10149
  var GET_SCHOOL = gql`
10145
10150
  query getSchool($_id: ID!) {
@@ -10799,6 +10804,7 @@ var schoolSchema = create$3().shape({
10799
10804
  location: locationSchema,
10800
10805
  name: create$6().trim().required("Name is required"),
10801
10806
  region: create$6().trim().required("Region is required"),
10807
+ socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10802
10808
  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"))
10803
10809
  });
10804
10810
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
@@ -12160,11 +12166,13 @@ var schema15 = new MongooseSchema20(
12160
12166
  },
12161
12167
  logo: { required: false, type: ResourceImageTypeSchema },
12162
12168
  name: { required: true, type: String },
12169
+ overallPoints: { default: 0, required: false, type: Number },
12163
12170
  owner: {
12164
12171
  required: true,
12165
12172
  type: OwnerTypeSchema
12166
12173
  },
12167
12174
  region: { required: true, type: String },
12175
+ socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12168
12176
  studentCount: { required: true, type: Number },
12169
12177
  termsAgreement: { required: true, type: termsAgreementSchema }
12170
12178
  },
@@ -12238,4 +12246,4 @@ react/cjs/react.development.js:
12238
12246
  * LICENSE file in the root directory of this source tree.
12239
12247
  *)
12240
12248
  */
12241
- //# sourceMappingURL=chunk-JDM7WL6D.mjs.map
12249
+ //# sourceMappingURL=chunk-AMB6NVKD.mjs.map