@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.
@@ -52,7 +52,7 @@ import {
52
52
  termsAgreementSchema,
53
53
  userLicenseSchema,
54
54
  vendorProductTypeSchema
55
- } from "../chunk-MEEBCSMJ.mjs";
55
+ } from "../chunk-M4ZWI4YC.mjs";
56
56
  export {
57
57
  AD_BILLING_CATALOG_COLLECTION_NAME,
58
58
  APP_SETTINGS_ID,
@@ -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