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