@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.
@@ -583,6 +583,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
583
583
  _id: string;
584
584
  createdAt: Date;
585
585
  deletedAt: Date | null;
586
+ overallPoints: number | null;
586
587
  owner: _timardex_cluemart_shared.OwnerType | null;
587
588
  updatedAt: Date | null;
588
589
  } & Required<{
@@ -583,6 +583,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
583
583
  _id: string;
584
584
  createdAt: Date;
585
585
  deletedAt: Date | null;
586
+ overallPoints: number | null;
586
587
  owner: _timardex_cluemart_shared.OwnerType | null;
587
588
  updatedAt: Date | null;
588
589
  } & Required<{
@@ -37,7 +37,7 @@ import {
37
37
  resourceRelationsSchema,
38
38
  termsAgreementSchema,
39
39
  userLicenseSchema
40
- } from "../chunk-JDM7WL6D.mjs";
40
+ } from "../chunk-AMB6NVKD.mjs";
41
41
  import "../chunk-3QS3WKRC.mjs";
42
42
  export {
43
43
  APP_SETTINGS_ID,
@@ -10193,8 +10193,12 @@ var SCHOOL = gql`
10193
10193
  owner {
10194
10194
  ...OwnerFields
10195
10195
  }
10196
+ overallPoints
10196
10197
  region
10197
10198
  studentCount
10199
+ socialMedia {
10200
+ ...SocialMediaFields
10201
+ }
10198
10202
  termsAgreement {
10199
10203
  ...TermsAgreementFields
10200
10204
  }
@@ -10205,6 +10209,7 @@ var SCHOOL = gql`
10205
10209
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
10206
10210
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
10207
10211
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
10212
+ ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
10208
10213
  `;
10209
10214
  var GET_SCHOOL = gql`
10210
10215
  query getSchool($_id: ID!) {
@@ -10864,6 +10869,7 @@ var schoolSchema = create$3().shape({
10864
10869
  location: locationSchema,
10865
10870
  name: create$6().trim().required("Name is required"),
10866
10871
  region: create$6().trim().required("Region is required"),
10872
+ socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10867
10873
  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"))
10868
10874
  });
10869
10875
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
@@ -12359,11 +12365,13 @@ var schema15 = new MongooseSchema20(
12359
12365
  },
12360
12366
  logo: { required: false, type: ResourceImageTypeSchema },
12361
12367
  name: { required: true, type: String },
12368
+ overallPoints: { default: 0, required: false, type: Number },
12362
12369
  owner: {
12363
12370
  required: true,
12364
12371
  type: OwnerTypeSchema
12365
12372
  },
12366
12373
  region: { required: true, type: String },
12374
+ socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12367
12375
  studentCount: { required: true, type: Number },
12368
12376
  termsAgreement: { required: true, type: termsAgreementSchema }
12369
12377
  },