@timardex/cluemart-server-shared 1.0.253 → 1.0.255
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-AMS4DJN6.mjs → chunk-4GBXNDD6.mjs} +34 -1
- package/dist/chunk-4GBXNDD6.mjs.map +1 -0
- package/dist/index.cjs +33 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +33 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +33 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +2 -1
- package/dist/mongoose/index.d.ts +2 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +33 -0
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-AMS4DJN6.mjs.map +0 -1
package/dist/mongoose/index.cjs
CHANGED
|
@@ -5891,6 +5891,34 @@ var GET_POSTS_BY_TYPE = gql`
|
|
|
5891
5891
|
}
|
|
5892
5892
|
${POST_FIELDS_FRAGMENT}
|
|
5893
5893
|
`;
|
|
5894
|
+
var GET_EVENT_BY_SLUG = gql`
|
|
5895
|
+
query getEventBySlug($slug: String!) {
|
|
5896
|
+
eventBySlug(slug: $slug) {
|
|
5897
|
+
_id
|
|
5898
|
+
}
|
|
5899
|
+
}
|
|
5900
|
+
`;
|
|
5901
|
+
var GET_VENDOR_BY_SLUG = gql`
|
|
5902
|
+
query getVendorBySlug($slug: String!) {
|
|
5903
|
+
vendorBySlug(slug: $slug) {
|
|
5904
|
+
_id
|
|
5905
|
+
}
|
|
5906
|
+
}
|
|
5907
|
+
`;
|
|
5908
|
+
var GET_PARTNER_BY_SLUG = gql`
|
|
5909
|
+
query getPartnerBySlug($slug: String!) {
|
|
5910
|
+
partnerBySlug(slug: $slug) {
|
|
5911
|
+
_id
|
|
5912
|
+
}
|
|
5913
|
+
}
|
|
5914
|
+
`;
|
|
5915
|
+
var GET_POST_BY_SLUG = gql`
|
|
5916
|
+
query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
|
|
5917
|
+
postBySlug(slug: $slug, postType: $postType) {
|
|
5918
|
+
_id
|
|
5919
|
+
}
|
|
5920
|
+
}
|
|
5921
|
+
`;
|
|
5894
5922
|
var RELATION_FIELDS_FRAGMENT = gql`
|
|
5895
5923
|
fragment RelationFields on RelationType {
|
|
5896
5924
|
_id
|
|
@@ -8163,6 +8191,7 @@ schema3.index({ name: 1 });
|
|
|
8163
8191
|
schema3.index({ region: 1 });
|
|
8164
8192
|
schema3.index({ deletedAt: 1 });
|
|
8165
8193
|
schema3.index({ "dateTime.dateStatus": 1 });
|
|
8194
|
+
schema3.index({ slug: 1 });
|
|
8166
8195
|
var GoogleImportedMarketModel = import_mongoose7.default.models.GoogleImportedMarket || import_mongoose7.default.model("GoogleImportedMarket", schema3);
|
|
8167
8196
|
|
|
8168
8197
|
// src/mongoose/Notification.ts
|
|
@@ -8572,6 +8601,7 @@ schema9.index({ description: 1 });
|
|
|
8572
8601
|
schema9.index({ region: 1 });
|
|
8573
8602
|
schema9.index({ "categories.name": 1 });
|
|
8574
8603
|
schema9.index({ "associates.email": 1 });
|
|
8604
|
+
schema9.index({ slug: 1 });
|
|
8575
8605
|
var VendorModel = import_mongoose13.default.models.Vendor || import_mongoose13.default.model("Vendor", schema9);
|
|
8576
8606
|
|
|
8577
8607
|
// src/mongoose/vendor/VendorInfo.ts
|
|
@@ -8711,6 +8741,7 @@ schema12.index({ tags: 1 });
|
|
|
8711
8741
|
schema12.index({ "associates.email": 1 });
|
|
8712
8742
|
schema12.index({ deletedAt: 1 });
|
|
8713
8743
|
schema12.index({ "dateTime.dateStatus": 1 });
|
|
8744
|
+
schema12.index({ slug: 1 });
|
|
8714
8745
|
var EventModel = import_mongoose16.default.models.Event || import_mongoose16.default.model("Event", schema12);
|
|
8715
8746
|
|
|
8716
8747
|
// src/mongoose/Partner.ts
|
|
@@ -8737,6 +8768,7 @@ schema13.index({ description: 1 });
|
|
|
8737
8768
|
schema13.index({ region: 1 });
|
|
8738
8769
|
schema13.index({ "location.geo": "2dsphere" });
|
|
8739
8770
|
schema13.index({ "associates.email": 1 });
|
|
8771
|
+
schema13.index({ slug: 1 });
|
|
8740
8772
|
var PartnerModel = import_mongoose17.default.models.Partner || import_mongoose17.default.model("Partner", schema13);
|
|
8741
8773
|
|
|
8742
8774
|
// src/mongoose/Post.ts
|
|
@@ -8793,6 +8825,7 @@ var schema14 = new MongooseSchema18(
|
|
|
8793
8825
|
);
|
|
8794
8826
|
schema14.index({ title: 1 });
|
|
8795
8827
|
schema14.index({ tags: 1 });
|
|
8828
|
+
schema14.index({ postType: 1, slug: 1 });
|
|
8796
8829
|
var PostModel = import_mongoose18.default.models.Post || import_mongoose18.default.model("Post", schema14);
|
|
8797
8830
|
|
|
8798
8831
|
// src/mongoose/AppSetting.ts
|