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