@timardex/cluemart-server-shared 2.1.4 → 2.1.5
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-MEEBCSMJ.mjs → chunk-M4ZWI4YC.mjs} +2 -1
- package/dist/chunk-M4ZWI4YC.mjs.map +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +1 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +1 -0
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-MEEBCSMJ.mjs.map +0 -1
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -1656,6 +1656,7 @@ var schema12 = new MongooseSchema12(
|
|
|
1656
1656
|
schema12.index({ "licences.expiryDate": 1 });
|
|
1657
1657
|
schema12.index({ "licences.licenceType": 1 });
|
|
1658
1658
|
schema12.index({ promoCodes: 1, active: 1, deletedAt: 1 });
|
|
1659
|
+
schema12.index({ email: "text", firstName: "text", lastName: "text" });
|
|
1659
1660
|
var UserModel = import_mongoose16.default.models.User || import_mongoose16.default.model("User", schema12);
|
|
1660
1661
|
|
|
1661
1662
|
// src/mongoose/VerificationToken.ts
|