@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.
- package/dist/{chunk-CLHRN4JW.mjs → chunk-BDHZYR65.mjs} +15 -1
- package/dist/{chunk-CLHRN4JW.mjs.map → chunk-BDHZYR65.mjs.map} +1 -1
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +14 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +14 -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,13 @@ var schema7 = new MongooseSchema11(
|
|
|
8481
8481
|
},
|
|
8482
8482
|
{ strict: false, timestamps: true }
|
|
8483
8483
|
);
|
|
8484
|
+
schema7.index(
|
|
8485
|
+
{ "affiliate.affiliateCode": 1 },
|
|
8486
|
+
{
|
|
8487
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
8488
|
+
unique: true
|
|
8489
|
+
}
|
|
8490
|
+
);
|
|
8484
8491
|
schema7.index({ "associates.email": 1 });
|
|
8485
8492
|
schema7.index({ "licences.expiryDate": 1 });
|
|
8486
8493
|
schema7.index({ "licences.licenceType": 1 });
|
|
@@ -9063,6 +9070,13 @@ var schema16 = new MongooseSchema24(
|
|
|
9063
9070
|
},
|
|
9064
9071
|
{ timestamps: true }
|
|
9065
9072
|
);
|
|
9073
|
+
schema16.index(
|
|
9074
|
+
{ schoolCode: 1 },
|
|
9075
|
+
{
|
|
9076
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
9077
|
+
unique: true
|
|
9078
|
+
}
|
|
9079
|
+
);
|
|
9066
9080
|
var SchoolModel = mongoose24.models.School || mongoose24.model("School", schema16);
|
|
9067
9081
|
|
|
9068
9082
|
// src/service/database.ts
|