@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.
@@ -67,8 +67,6 @@ __export(mongoose_exports, {
67
67
  relatedPostSchema: () => relatedPostSchema,
68
68
  relationDatesSchema: () => relationDatesSchema,
69
69
  resourceRelationsSchema: () => resourceRelationsSchema,
70
- socialImageSchema: () => socialImageSchema,
71
- socialImageUrlSchema: () => socialImageUrlSchema,
72
70
  termsAgreementSchema: () => termsAgreementSchema,
73
71
  userLicenseSchema: () => userLicenseSchema
74
72
  });
@@ -5182,23 +5180,6 @@ var RELATED_POST_FIELDS_FRAGMENT = gql`
5182
5180
  postType
5183
5181
  }
5184
5182
  `;
5185
- var SOCIAL_IMAGE_URL_FIELDS_FRAGMENT = gql`
5186
- fragment SocialImageUrlFields on SocialImageUrlType {
5187
- url
5188
- qrCode
5189
- }
5190
- `;
5191
- var SOCIAL_IMAGE_FIELDS_FRAGMENT = gql`
5192
- fragment SocialImageFields on SocialImageType {
5193
- public {
5194
- ...SocialImageUrlFields
5195
- }
5196
- relation {
5197
- ...SocialImageUrlFields
5198
- }
5199
- }
5200
- ${SOCIAL_IMAGE_URL_FIELDS_FRAGMENT}
5201
- `;
5202
5183
  var EVENT_INFO = gql`
5203
5184
  fragment EventInfoFields on EventInfoType {
5204
5185
  _id
@@ -5294,9 +5275,6 @@ var EVENT = gql`
5294
5275
  socialMedia {
5295
5276
  ...SocialMediaFields
5296
5277
  }
5297
- socialImage {
5298
- ...SocialImageFields
5299
- }
5300
5278
  tags
5301
5279
  termsAgreement {
5302
5280
  ...TermsAgreementFields
@@ -5314,7 +5292,6 @@ var EVENT = gql`
5314
5292
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
5315
5293
  ${RELATION_DATES_FRAGMENT}
5316
5294
  ${RELATED_POST_FIELDS_FRAGMENT}
5317
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5318
5295
  `;
5319
5296
  var GET_EVENTS = gql`
5320
5297
  query getEvents($dateStatus: EventDateStatusEnumType) {
@@ -5493,9 +5470,6 @@ var VENDOR = gql`
5493
5470
  socialMedia {
5494
5471
  ...SocialMediaFields
5495
5472
  }
5496
- socialImage {
5497
- ...SocialImageFields
5498
- }
5499
5473
  termsAgreement {
5500
5474
  ...TermsAgreementFields
5501
5475
  }
@@ -5516,7 +5490,6 @@ var VENDOR = gql`
5516
5490
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
5517
5491
  ${RELATION_DATES_FRAGMENT}
5518
5492
  ${RELATED_POST_FIELDS_FRAGMENT}
5519
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5520
5493
  `;
5521
5494
  var VENDOR_ATTRIBUTES_FRAGMENT = gql`
5522
5495
  fragment VendorAttributesFields on VendorAttributesType {
@@ -5981,9 +5954,6 @@ var PARTNER = gql`
5981
5954
  socialMedia {
5982
5955
  ...SocialMediaFields
5983
5956
  }
5984
- socialImage {
5985
- ...SocialImageFields
5986
- }
5987
5957
  termsAgreement {
5988
5958
  ...TermsAgreementFields
5989
5959
  }
@@ -5998,7 +5968,6 @@ var PARTNER = gql`
5998
5968
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
5999
5969
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
6000
5970
  ${RELATED_POST_FIELDS_FRAGMENT}
6001
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
6002
5971
  `;
6003
5972
  var GET_PARTNERS = gql`
6004
5973
  query getPartners {
@@ -7923,22 +7892,6 @@ var relatedPostSchema = new MongooseSchema6(
7923
7892
  { _id: false }
7924
7893
  // Prevents Mongoose from creating an additional _id field for subdocuments
7925
7894
  );
7926
- var socialImageUrlSchema = new MongooseSchema6(
7927
- {
7928
- qrCode: { required: true, type: String },
7929
- url: { required: true, type: String }
7930
- },
7931
- { _id: false }
7932
- // Prevents Mongoose from creating an additional _id field for subdocuments
7933
- );
7934
- var socialImageSchema = new MongooseSchema6(
7935
- {
7936
- public: { required: true, type: socialImageUrlSchema },
7937
- relation: { required: false, type: socialImageUrlSchema }
7938
- },
7939
- { _id: false }
7940
- // Prevents Mongoose from creating an additional _id field for subdocuments
7941
- );
7942
7895
  var baseResourceFields = {
7943
7896
  active: { default: false, required: true, type: Boolean },
7944
7897
  adIds: {
@@ -7970,7 +7923,6 @@ var baseResourceFields = {
7970
7923
  region: { required: true, type: String },
7971
7924
  relatedPost: { required: false, type: relatedPostSchema },
7972
7925
  reviewCount: { required: false, type: Number },
7973
- socialImage: { required: false, type: socialImageSchema },
7974
7926
  socialMedia: { required: false, type: [SocialMediaTypeSchema] },
7975
7927
  termsAgreement: { required: true, type: termsAgreementSchema }
7976
7928
  };
@@ -8950,8 +8902,6 @@ var SchoolModel = import_mongoose24.default.models.School || import_mongoose24.d
8950
8902
  relatedPostSchema,
8951
8903
  relationDatesSchema,
8952
8904
  resourceRelationsSchema,
8953
- socialImageSchema,
8954
- socialImageUrlSchema,
8955
8905
  termsAgreementSchema,
8956
8906
  userLicenseSchema
8957
8907
  });