@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.d.mts CHANGED
@@ -674,6 +674,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
674
674
  _id: string;
675
675
  createdAt: Date;
676
676
  deletedAt: Date | null;
677
+ overallPoints: number | null;
677
678
  owner: _timardex_cluemart_shared.OwnerType | null;
678
679
  updatedAt: Date | null;
679
680
  } & Required<{
package/dist/index.d.ts CHANGED
@@ -674,6 +674,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
674
674
  _id: string;
675
675
  createdAt: Date;
676
676
  deletedAt: Date | null;
677
+ overallPoints: number | null;
677
678
  owner: _timardex_cluemart_shared.OwnerType | null;
678
679
  updatedAt: Date | null;
679
680
  } & Required<{
package/dist/index.mjs CHANGED
@@ -10149,8 +10149,12 @@ var SCHOOL = gql`
10149
10149
  owner {
10150
10150
  ...OwnerFields
10151
10151
  }
10152
+ overallPoints
10152
10153
  region
10153
10154
  studentCount
10155
+ socialMedia {
10156
+ ...SocialMediaFields
10157
+ }
10154
10158
  termsAgreement {
10155
10159
  ...TermsAgreementFields
10156
10160
  }
@@ -10161,6 +10165,7 @@ var SCHOOL = gql`
10161
10165
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
10162
10166
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
10163
10167
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
10168
+ ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
10164
10169
  `;
10165
10170
  var GET_SCHOOL = gql`
10166
10171
  query getSchool($_id: ID!) {
@@ -10820,6 +10825,7 @@ var schoolSchema = create$3().shape({
10820
10825
  location: locationSchema,
10821
10826
  name: create$6().trim().required("Name is required"),
10822
10827
  region: create$6().trim().required("Region is required"),
10828
+ socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10823
10829
  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"))
10824
10830
  });
10825
10831
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
@@ -12181,11 +12187,13 @@ var schema15 = new MongooseSchema20(
12181
12187
  },
12182
12188
  logo: { required: false, type: ResourceImageTypeSchema },
12183
12189
  name: { required: true, type: String },
12190
+ overallPoints: { default: 0, required: false, type: Number },
12184
12191
  owner: {
12185
12192
  required: true,
12186
12193
  type: OwnerTypeSchema
12187
12194
  },
12188
12195
  region: { required: true, type: String },
12196
+ socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12189
12197
  studentCount: { required: true, type: Number },
12190
12198
  termsAgreement: { required: true, type: termsAgreementSchema }
12191
12199
  },