@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/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -8687,7 +8687,13 @@ var schema7 = new MongooseSchema11(
|
|
|
8687
8687
|
},
|
|
8688
8688
|
{ strict: false, timestamps: true }
|
|
8689
8689
|
);
|
|
8690
|
-
schema7.index(
|
|
8690
|
+
schema7.index(
|
|
8691
|
+
{ "affiliate.affiliateCode": 1 },
|
|
8692
|
+
{
|
|
8693
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
8694
|
+
unique: true
|
|
8695
|
+
}
|
|
8696
|
+
);
|
|
8691
8697
|
schema7.index({ "associates.email": 1 });
|
|
8692
8698
|
schema7.index({ "licences.expiryDate": 1 });
|
|
8693
8699
|
schema7.index({ "licences.licenceType": 1 });
|
|
@@ -9270,7 +9276,13 @@ var schema16 = new MongooseSchema24(
|
|
|
9270
9276
|
},
|
|
9271
9277
|
{ timestamps: true }
|
|
9272
9278
|
);
|
|
9273
|
-
schema16.index(
|
|
9279
|
+
schema16.index(
|
|
9280
|
+
{ schoolCode: 1 },
|
|
9281
|
+
{
|
|
9282
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
9283
|
+
unique: true
|
|
9284
|
+
}
|
|
9285
|
+
);
|
|
9274
9286
|
var SchoolModel = import_mongoose25.default.models.School || import_mongoose25.default.model("School", schema16);
|
|
9275
9287
|
|
|
9276
9288
|
// src/service/updateAdStatus.ts
|