@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.
package/dist/index.d.mts CHANGED
@@ -676,6 +676,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
676
676
  deletedAt: Date | null;
677
677
  overallPoints: number | null;
678
678
  owner: _timardex_cluemart_shared.OwnerType | null;
679
+ schoolCode: string;
679
680
  updatedAt: Date | null;
680
681
  } & Required<{
681
682
  _id: string;
package/dist/index.d.ts CHANGED
@@ -676,6 +676,7 @@ declare const SchoolModel: mongoose.Model<SchoolType, {}, {}, {}, mongoose.Docum
676
676
  deletedAt: Date | null;
677
677
  overallPoints: number | null;
678
678
  owner: _timardex_cluemart_shared.OwnerType | null;
679
+ schoolCode: string;
679
680
  updatedAt: Date | null;
680
681
  } & Required<{
681
682
  _id: string;
package/dist/index.mjs CHANGED
@@ -10152,6 +10152,7 @@ var SCHOOL = gql`
10152
10152
  overallPoints
10153
10153
  region
10154
10154
  studentCount
10155
+ schoolCode
10155
10156
  socialMedia {
10156
10157
  ...SocialMediaFields
10157
10158
  }
@@ -12193,8 +12194,9 @@ var schema15 = new MongooseSchema20(
12193
12194
  type: OwnerTypeSchema
12194
12195
  },
12195
12196
  region: { required: true, type: String },
12197
+ schoolCode: { required: true, type: String },
12196
12198
  socialMedia: { required: false, type: [SocialMediaTypeSchema] },
12197
- studentCount: { required: true, type: Number },
12199
+ studentCount: { default: 0, required: true, type: Number },
12198
12200
  termsAgreement: { required: true, type: termsAgreementSchema }
12199
12201
  },
12200
12202
  { timestamps: true }