@timardex/cluemart-server-shared 1.0.215 → 1.0.251

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.cjs CHANGED
@@ -76,8 +76,6 @@ __export(index_exports, {
76
76
  resourceRelationsSchema: () => resourceRelationsSchema,
77
77
  saveNotificationsInDb: () => saveNotificationsInDb,
78
78
  sendPushNotifications: () => sendPushNotifications,
79
- socialImageSchema: () => socialImageSchema,
80
- socialImageUrlSchema: () => socialImageUrlSchema,
81
79
  termsAgreementSchema: () => termsAgreementSchema,
82
80
  updateAdStatuses: () => updateAdStatuses,
83
81
  updateAllEventDateTimeStatuses: () => updateAllEventDateTimeStatuses,
@@ -5198,23 +5196,6 @@ var RELATED_POST_FIELDS_FRAGMENT = gql`
5198
5196
  postType
5199
5197
  }
5200
5198
  `;
5201
- var SOCIAL_IMAGE_URL_FIELDS_FRAGMENT = gql`
5202
- fragment SocialImageUrlFields on SocialImageUrlType {
5203
- url
5204
- qrCode
5205
- }
5206
- `;
5207
- var SOCIAL_IMAGE_FIELDS_FRAGMENT = gql`
5208
- fragment SocialImageFields on SocialImageType {
5209
- public {
5210
- ...SocialImageUrlFields
5211
- }
5212
- relation {
5213
- ...SocialImageUrlFields
5214
- }
5215
- }
5216
- ${SOCIAL_IMAGE_URL_FIELDS_FRAGMENT}
5217
- `;
5218
5199
  var EVENT_INFO = gql`
5219
5200
  fragment EventInfoFields on EventInfoType {
5220
5201
  _id
@@ -5310,9 +5291,6 @@ var EVENT = gql`
5310
5291
  socialMedia {
5311
5292
  ...SocialMediaFields
5312
5293
  }
5313
- socialImage {
5314
- ...SocialImageFields
5315
- }
5316
5294
  tags
5317
5295
  termsAgreement {
5318
5296
  ...TermsAgreementFields
@@ -5330,7 +5308,6 @@ var EVENT = gql`
5330
5308
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
5331
5309
  ${RELATION_DATES_FRAGMENT}
5332
5310
  ${RELATED_POST_FIELDS_FRAGMENT}
5333
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5334
5311
  `;
5335
5312
  var GET_EVENTS = gql`
5336
5313
  query getEvents($dateStatus: EventDateStatusEnumType) {
@@ -5509,9 +5486,6 @@ var VENDOR = gql`
5509
5486
  socialMedia {
5510
5487
  ...SocialMediaFields
5511
5488
  }
5512
- socialImage {
5513
- ...SocialImageFields
5514
- }
5515
5489
  termsAgreement {
5516
5490
  ...TermsAgreementFields
5517
5491
  }
@@ -5532,7 +5506,6 @@ var VENDOR = gql`
5532
5506
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
5533
5507
  ${RELATION_DATES_FRAGMENT}
5534
5508
  ${RELATED_POST_FIELDS_FRAGMENT}
5535
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5536
5509
  `;
5537
5510
  var VENDOR_ATTRIBUTES_FRAGMENT = gql`
5538
5511
  fragment VendorAttributesFields on VendorAttributesType {
@@ -5997,9 +5970,6 @@ var PARTNER = gql`
5997
5970
  socialMedia {
5998
5971
  ...SocialMediaFields
5999
5972
  }
6000
- socialImage {
6001
- ...SocialImageFields
6002
- }
6003
5973
  termsAgreement {
6004
5974
  ...TermsAgreementFields
6005
5975
  }
@@ -6014,7 +5984,6 @@ var PARTNER = gql`
6014
5984
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
6015
5985
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
6016
5986
  ${RELATED_POST_FIELDS_FRAGMENT}
6017
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
6018
5987
  `;
6019
5988
  var GET_PARTNERS = gql`
6020
5989
  query getPartners {
@@ -7939,22 +7908,6 @@ var relatedPostSchema = new MongooseSchema6(
7939
7908
  { _id: false }
7940
7909
  // Prevents Mongoose from creating an additional _id field for subdocuments
7941
7910
  );
7942
- var socialImageUrlSchema = new MongooseSchema6(
7943
- {
7944
- qrCode: { required: true, type: String },
7945
- url: { required: true, type: String }
7946
- },
7947
- { _id: false }
7948
- // Prevents Mongoose from creating an additional _id field for subdocuments
7949
- );
7950
- var socialImageSchema = new MongooseSchema6(
7951
- {
7952
- public: { required: true, type: socialImageUrlSchema },
7953
- relation: { required: false, type: socialImageUrlSchema }
7954
- },
7955
- { _id: false }
7956
- // Prevents Mongoose from creating an additional _id field for subdocuments
7957
- );
7958
7911
  var baseResourceFields = {
7959
7912
  active: { default: false, required: true, type: Boolean },
7960
7913
  adIds: {
@@ -7986,7 +7939,6 @@ var baseResourceFields = {
7986
7939
  region: { required: true, type: String },
7987
7940
  relatedPost: { required: false, type: relatedPostSchema },
7988
7941
  reviewCount: { required: false, type: Number },
7989
- socialImage: { required: false, type: socialImageSchema },
7990
7942
  socialMedia: { required: false, type: [SocialMediaTypeSchema] },
7991
7943
  termsAgreement: { required: true, type: termsAgreementSchema }
7992
7944
  };
@@ -8999,7 +8951,7 @@ function createPushMessages({
8999
8951
  messages.push({
9000
8952
  body: message,
9001
8953
  data: { ...data },
9002
- sound: "default",
8954
+ sound: "tui.wav",
9003
8955
  title,
9004
8956
  to: token
9005
8957
  });
@@ -9521,8 +9473,6 @@ var EnumPubSubEvents = /* @__PURE__ */ ((EnumPubSubEvents2) => {
9521
9473
  resourceRelationsSchema,
9522
9474
  saveNotificationsInDb,
9523
9475
  sendPushNotifications,
9524
- socialImageSchema,
9525
- socialImageUrlSchema,
9526
9476
  termsAgreementSchema,
9527
9477
  updateAdStatuses,
9528
9478
  updateAllEventDateTimeStatuses,