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