@timardex/cluemart-server-shared 1.0.261 → 1.0.263

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.
@@ -8554,6 +8554,13 @@ var schema7 = new MongooseSchema11(
8554
8554
  },
8555
8555
  { strict: false, timestamps: true }
8556
8556
  );
8557
+ schema7.index(
8558
+ { "affiliate.affiliateCode": 1 },
8559
+ {
8560
+ partialFilterExpression: { active: true, deletedAt: null },
8561
+ unique: true
8562
+ }
8563
+ );
8557
8564
  schema7.index({ "associates.email": 1 });
8558
8565
  schema7.index({ "licences.expiryDate": 1 });
8559
8566
  schema7.index({ "licences.licenceType": 1 });
@@ -9136,6 +9143,13 @@ var schema16 = new MongooseSchema24(
9136
9143
  },
9137
9144
  { timestamps: true }
9138
9145
  );
9146
+ schema16.index(
9147
+ { schoolCode: 1 },
9148
+ {
9149
+ partialFilterExpression: { active: true, deletedAt: null },
9150
+ unique: true
9151
+ }
9152
+ );
9139
9153
  var SchoolModel = import_mongoose24.default.models.School || import_mongoose24.default.model("School", schema16);
9140
9154
  // Annotate the CommonJS export names for ESM import in node:
9141
9155
  0 && (module.exports = {