@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.cjs
CHANGED
|
@@ -8570,6 +8570,7 @@ var schema7 = new MongooseSchema11(
|
|
|
8570
8570
|
},
|
|
8571
8571
|
{ strict: false, timestamps: true }
|
|
8572
8572
|
);
|
|
8573
|
+
schema7.index({ "affiliate.affiliateCode": 1 }, { sparse: true, unique: true });
|
|
8573
8574
|
schema7.index({ "associates.email": 1 });
|
|
8574
8575
|
schema7.index({ "licences.expiryDate": 1 });
|
|
8575
8576
|
schema7.index({ "licences.licenceType": 1 });
|
|
@@ -9152,6 +9153,7 @@ var schema16 = new MongooseSchema24(
|
|
|
9152
9153
|
},
|
|
9153
9154
|
{ timestamps: true }
|
|
9154
9155
|
);
|
|
9156
|
+
schema16.index({ schoolCode: 1 }, { unique: true });
|
|
9155
9157
|
var SchoolModel = import_mongoose24.default.models.School || import_mongoose24.default.model("School", schema16);
|
|
9156
9158
|
|
|
9157
9159
|
// src/service/database.ts
|