@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/index.mjs CHANGED
@@ -1646,6 +1646,7 @@ var schema12 = new MongooseSchema12(
1646
1646
  schema12.index({ "licences.expiryDate": 1 });
1647
1647
  schema12.index({ "licences.licenceType": 1 });
1648
1648
  schema12.index({ promoCodes: 1, active: 1, deletedAt: 1 });
1649
+ schema12.index({ email: "text", firstName: "text", lastName: "text" });
1649
1650
  var UserModel = mongoose16.models.User || mongoose16.model("User", schema12);
1650
1651
 
1651
1652
  // src/mongoose/VerificationToken.ts