@timardex/cluemart-server-shared 1.0.254 → 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-UWJ7JKP4.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.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.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-UWJ7JKP4.mjs.map +0 -1
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -5890,6 +5890,34 @@ var GET_POSTS_BY_TYPE = gql`
|
|
|
5890
5890
|
}
|
|
5891
5891
|
${POST_FIELDS_FRAGMENT}
|
|
5892
5892
|
`;
|
|
5893
|
+
var GET_EVENT_BY_SLUG = gql`
|
|
5894
|
+
query getEventBySlug($slug: String!) {
|
|
5895
|
+
eventBySlug(slug: $slug) {
|
|
5896
|
+
_id
|
|
5897
|
+
}
|
|
5898
|
+
}
|
|
5899
|
+
`;
|
|
5900
|
+
var GET_VENDOR_BY_SLUG = gql`
|
|
5901
|
+
query getVendorBySlug($slug: String!) {
|
|
5902
|
+
vendorBySlug(slug: $slug) {
|
|
5903
|
+
_id
|
|
5904
|
+
}
|
|
5905
|
+
}
|
|
5906
|
+
`;
|
|
5907
|
+
var GET_PARTNER_BY_SLUG = gql`
|
|
5908
|
+
query getPartnerBySlug($slug: String!) {
|
|
5909
|
+
partnerBySlug(slug: $slug) {
|
|
5910
|
+
_id
|
|
5911
|
+
}
|
|
5912
|
+
}
|
|
5913
|
+
`;
|
|
5914
|
+
var GET_POST_BY_SLUG = gql`
|
|
5915
|
+
query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
|
|
5916
|
+
postBySlug(slug: $slug, postType: $postType) {
|
|
5917
|
+
_id
|
|
5918
|
+
}
|
|
5919
|
+
}
|
|
5920
|
+
`;
|
|
5893
5921
|
var RELATION_FIELDS_FRAGMENT = gql`
|
|
5894
5922
|
fragment RelationFields on RelationType {
|
|
5895
5923
|
_id
|
|
@@ -8361,6 +8389,7 @@ schema5.index({ name: 1 });
|
|
|
8361
8389
|
schema5.index({ region: 1 });
|
|
8362
8390
|
schema5.index({ deletedAt: 1 });
|
|
8363
8391
|
schema5.index({ "dateTime.dateStatus": 1 });
|
|
8392
|
+
schema5.index({ slug: 1 });
|
|
8364
8393
|
var GoogleImportedMarketModel = import_mongoose10.default.models.GoogleImportedMarket || import_mongoose10.default.model("GoogleImportedMarket", schema5);
|
|
8365
8394
|
|
|
8366
8395
|
// src/mongoose/ResourceActivity.ts
|
|
@@ -8706,6 +8735,7 @@ schema9.index({ description: 1 });
|
|
|
8706
8735
|
schema9.index({ region: 1 });
|
|
8707
8736
|
schema9.index({ "categories.name": 1 });
|
|
8708
8737
|
schema9.index({ "associates.email": 1 });
|
|
8738
|
+
schema9.index({ slug: 1 });
|
|
8709
8739
|
var VendorModel = import_mongoose14.default.models.Vendor || import_mongoose14.default.model("Vendor", schema9);
|
|
8710
8740
|
|
|
8711
8741
|
// src/mongoose/vendor/VendorInfo.ts
|
|
@@ -8845,6 +8875,7 @@ schema12.index({ tags: 1 });
|
|
|
8845
8875
|
schema12.index({ "associates.email": 1 });
|
|
8846
8876
|
schema12.index({ deletedAt: 1 });
|
|
8847
8877
|
schema12.index({ "dateTime.dateStatus": 1 });
|
|
8878
|
+
schema12.index({ slug: 1 });
|
|
8848
8879
|
var EventModel = import_mongoose17.default.models.Event || import_mongoose17.default.model("Event", schema12);
|
|
8849
8880
|
|
|
8850
8881
|
// src/mongoose/Partner.ts
|
|
@@ -8871,6 +8902,7 @@ schema13.index({ description: 1 });
|
|
|
8871
8902
|
schema13.index({ region: 1 });
|
|
8872
8903
|
schema13.index({ "location.geo": "2dsphere" });
|
|
8873
8904
|
schema13.index({ "associates.email": 1 });
|
|
8905
|
+
schema13.index({ slug: 1 });
|
|
8874
8906
|
var PartnerModel = import_mongoose18.default.models.Partner || import_mongoose18.default.model("Partner", schema13);
|
|
8875
8907
|
|
|
8876
8908
|
// src/mongoose/Post.ts
|
|
@@ -8927,6 +8959,7 @@ var schema14 = new MongooseSchema18(
|
|
|
8927
8959
|
);
|
|
8928
8960
|
schema14.index({ title: 1 });
|
|
8929
8961
|
schema14.index({ tags: 1 });
|
|
8962
|
+
schema14.index({ postType: 1, slug: 1 });
|
|
8930
8963
|
var PostModel = import_mongoose19.default.models.Post || import_mongoose19.default.model("Post", schema14);
|
|
8931
8964
|
|
|
8932
8965
|
// src/mongoose/AppSetting.ts
|