@timardex/cluemart-server-shared 1.0.261 → 1.0.262

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,7 @@ var schema7 = new MongooseSchema11(
8554
8554
  },
8555
8555
  { strict: false, timestamps: true }
8556
8556
  );
8557
+ schema7.index({ "affiliate.affiliateCode": 1 }, { sparse: true, unique: true });
8557
8558
  schema7.index({ "associates.email": 1 });
8558
8559
  schema7.index({ "licences.expiryDate": 1 });
8559
8560
  schema7.index({ "licences.licenceType": 1 });
@@ -9136,6 +9137,7 @@ var schema16 = new MongooseSchema24(
9136
9137
  },
9137
9138
  { timestamps: true }
9138
9139
  );
9140
+ schema16.index({ schoolCode: 1 }, { unique: true });
9139
9141
  var SchoolModel = import_mongoose24.default.models.School || import_mongoose24.default.model("School", schema16);
9140
9142
  // Annotate the CommonJS export names for ESM import in node:
9141
9143
  0 && (module.exports = {