@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.
- package/dist/{chunk-CLHRN4JW.mjs → chunk-YRFUGDQ4.mjs} +3 -1
- package/dist/{chunk-CLHRN4JW.mjs.map → chunk-YRFUGDQ4.mjs.map} +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +2 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +2 -0
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8481,6 +8481,7 @@ var schema7 = new MongooseSchema11(
|
|
|
8481
8481
|
},
|
|
8482
8482
|
{ strict: false, timestamps: true }
|
|
8483
8483
|
);
|
|
8484
|
+
schema7.index({ "affiliate.affiliateCode": 1 }, { sparse: true, unique: true });
|
|
8484
8485
|
schema7.index({ "associates.email": 1 });
|
|
8485
8486
|
schema7.index({ "licences.expiryDate": 1 });
|
|
8486
8487
|
schema7.index({ "licences.licenceType": 1 });
|
|
@@ -9063,6 +9064,7 @@ var schema16 = new MongooseSchema24(
|
|
|
9063
9064
|
},
|
|
9064
9065
|
{ timestamps: true }
|
|
9065
9066
|
);
|
|
9067
|
+
schema16.index({ schoolCode: 1 }, { unique: true });
|
|
9066
9068
|
var SchoolModel = mongoose24.models.School || mongoose24.model("School", schema16);
|
|
9067
9069
|
|
|
9068
9070
|
// src/service/database.ts
|