@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.cjs
CHANGED
|
@@ -8570,7 +8570,13 @@ var schema7 = new MongooseSchema11(
|
|
|
8570
8570
|
},
|
|
8571
8571
|
{ strict: false, timestamps: true }
|
|
8572
8572
|
);
|
|
8573
|
-
schema7.index(
|
|
8573
|
+
schema7.index(
|
|
8574
|
+
{ "affiliate.affiliateCode": 1 },
|
|
8575
|
+
{
|
|
8576
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
8577
|
+
unique: true
|
|
8578
|
+
}
|
|
8579
|
+
);
|
|
8574
8580
|
schema7.index({ "associates.email": 1 });
|
|
8575
8581
|
schema7.index({ "licences.expiryDate": 1 });
|
|
8576
8582
|
schema7.index({ "licences.licenceType": 1 });
|
|
@@ -9153,7 +9159,13 @@ var schema16 = new MongooseSchema24(
|
|
|
9153
9159
|
},
|
|
9154
9160
|
{ timestamps: true }
|
|
9155
9161
|
);
|
|
9156
|
-
schema16.index(
|
|
9162
|
+
schema16.index(
|
|
9163
|
+
{ schoolCode: 1 },
|
|
9164
|
+
{
|
|
9165
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
9166
|
+
unique: true
|
|
9167
|
+
}
|
|
9168
|
+
);
|
|
9157
9169
|
var SchoolModel = import_mongoose24.default.models.School || import_mongoose24.default.model("School", schema16);
|
|
9158
9170
|
|
|
9159
9171
|
// src/service/database.ts
|