@timardex/cluemart-server-shared 1.0.134 → 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.
@@ -585,6 +585,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
585
585
  deletedAt: Date | null;
586
586
  overallPoints: number | null;
587
587
  owner: _timardex_cluemart_shared.OwnerType | null;
588
+ schoolCode: string;
588
589
  updatedAt: Date | null;
589
590
  } & Required<{
590
591
  _id: string;
@@ -585,6 +585,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
585
585
  deletedAt: Date | null;
586
586
  overallPoints: number | null;
587
587
  owner: _timardex_cluemart_shared.OwnerType | null;
588
+ schoolCode: string;
588
589
  updatedAt: Date | null;
589
590
  } & Required<{
590
591
  _id: string;
@@ -37,7 +37,7 @@ import {
37
37
  resourceRelationsSchema,
38
38
  termsAgreementSchema,
39
39
  userLicenseSchema
40
- } from "../chunk-AMB6NVKD.mjs";
40
+ } from "../chunk-WNT6FOX6.mjs";
41
41
  import "../chunk-3QS3WKRC.mjs";
42
42
  export {
43
43
  APP_SETTINGS_ID,
@@ -10196,6 +10196,7 @@ var SCHOOL = gql`
10196
10196
  overallPoints
10197
10197
  region
10198
10198
  studentCount
10199
+ schoolCode
10199
10200
  socialMedia {
10200
10201
  ...SocialMediaFields
10201
10202
  }
@@ -12371,8 +12372,9 @@ var schema15 = new MongooseSchema20(
12371
12372
  type: OwnerTypeSchema
12372
12373
  },
12373
12374
  region: { required: true, type: String },
12375
+ schoolCode: { required: true, type: String },
12374
12376
  socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12375
- studentCount: { required: true, type: Number },
12377
+ studentCount: { default: 0, required: true, type: Number },
12376
12378
  termsAgreement: { required: true, type: termsAgreementSchema }
12377
12379
  },
12378
12380
  { timestamps: true }