@timardex/cluemart-server-shared 1.0.69 → 1.0.70

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.
@@ -11260,10 +11260,7 @@ var schema3 = new MongooseSchema6(
11260
11260
  },
11261
11261
  { timestamps: true }
11262
11262
  );
11263
- schema3.index({ name: 1 });
11264
- schema3.index({ slug: 1 });
11265
- schema3.index({ address: 1 });
11266
- schema3.index({ "location.lat": 1, "location.lng": 1 });
11263
+ schema3.index({ address: 1, location: "2dsphere", name: 1, region: 1 });
11267
11264
  var GoogleImportedMarketModel = mongoose6.models.GoogleImportedMarket || mongoose6.model("GoogleImportedMarket", schema3);
11268
11265
 
11269
11266
  // src/mongoose/Notification.ts
@@ -11861,6 +11858,7 @@ var schema11 = new MongooseSchema15(
11861
11858
  type: String
11862
11859
  },
11863
11860
  googlePlaceId: {
11861
+ default: null,
11864
11862
  required: false,
11865
11863
  type: String
11866
11864
  },
@@ -11880,12 +11878,14 @@ var schema11 = new MongooseSchema15(
11880
11878
  },
11881
11879
  { timestamps: true }
11882
11880
  );
11883
- schema11.index({ name: 1 });
11884
- schema11.index({ description: 1 });
11885
- schema11.index({ region: 1 });
11886
- schema11.index({ location: "2dsphere" });
11887
- schema11.index({ tags: 1 });
11888
- schema11.index({ "associates.email": 1 });
11881
+ schema11.index({
11882
+ "associates.email": 1,
11883
+ description: 1,
11884
+ location: "2dsphere",
11885
+ name: 1,
11886
+ region: 1,
11887
+ tags: 1
11888
+ });
11889
11889
  var EventModel = mongoose15.models.Event || mongoose15.model("Event", schema11);
11890
11890
 
11891
11891
  // src/mongoose/Partner.ts
@@ -12028,4 +12028,4 @@ react/cjs/react.development.js:
12028
12028
  * LICENSE file in the root directory of this source tree.
12029
12029
  *)
12030
12030
  */
12031
- //# sourceMappingURL=chunk-XCZWK6CV.mjs.map
12031
+ //# sourceMappingURL=chunk-H6KTTPYE.mjs.map