@timardex/cluemart-server-shared 1.0.65 → 1.0.69

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.
@@ -8455,12 +8455,19 @@ var EVENT_LIST_ITEM = gql`
8455
8455
  rainOrShine
8456
8456
  rating
8457
8457
  region
8458
+ relations {
8459
+ relationId
8460
+ relationDates {
8461
+ ...RelationDates
8462
+ }
8463
+ }
8458
8464
  reviewCount
8459
8465
  updatedAt
8460
8466
  }
8461
8467
  ${EVENT_DATETIME_FIELDS_FRAGMENT}
8462
8468
  ${LOCATION_FIELDS_FRAGMENT}
8463
8469
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
8470
+ ${RELATION_DATES_FRAGMENT}
8464
8471
  `;
8465
8472
  var EVENT_INFO = gql`
8466
8473
  fragment EventInfoFields on EventInfoType {
@@ -8504,6 +8511,7 @@ var EVENT = gql`
8504
8511
  cover {
8505
8512
  ...ResourceImageFields
8506
8513
  }
8514
+ claimed
8507
8515
  createdAt
8508
8516
  contactDetails {
8509
8517
  ...ContactDetailsFields
@@ -8513,6 +8521,7 @@ var EVENT = gql`
8513
8521
  }
8514
8522
  description
8515
8523
  deletedAt
8524
+ googlePlaceId
8516
8525
  images {
8517
8526
  ...ResourceImageFields
8518
8527
  }
@@ -8541,6 +8550,8 @@ var EVENT = gql`
8541
8550
  ...RelationDates
8542
8551
  }
8543
8552
  }
8553
+ rating
8554
+ reviewCount
8544
8555
  socialMedia {
8545
8556
  ...SocialMediaFields
8546
8557
  }
@@ -8788,7 +8799,9 @@ var VENDOR = gql`
8788
8799
  posterUsage {
8789
8800
  ...PosterUsageFields
8790
8801
  }
8802
+ rating
8791
8803
  region
8804
+ reviewCount
8792
8805
  relations {
8793
8806
  relationId
8794
8807
  relationDates {
@@ -9182,7 +9195,9 @@ var PARTNER = gql`
9182
9195
  posterUsage {
9183
9196
  ...PosterUsageFields
9184
9197
  }
9198
+ rating
9185
9199
  region
9200
+ reviewCount
9186
9201
  socialMedia {
9187
9202
  ...SocialMediaFields
9188
9203
  }
@@ -11053,7 +11068,9 @@ var baseResourceFields = {
11053
11068
  },
11054
11069
  posterUsage: PosterUsageTypeSchema,
11055
11070
  promoCodes: { required: false, type: [String] },
11071
+ rating: { required: false, type: Number },
11056
11072
  region: { required: true, type: String },
11073
+ reviewCount: { required: false, type: Number },
11057
11074
  socialMedia: [SocialMediaTypeSchema],
11058
11075
  termsAgreement: termsAgreementSchema
11059
11076
  };
@@ -11198,6 +11215,12 @@ var schema3 = new MongooseSchema6(
11198
11215
  },
11199
11216
  dateTime: [dateTimeSchema3],
11200
11217
  deletedAt: { default: null, required: false, type: Date },
11218
+ description: { required: true, type: String },
11219
+ eventType: {
11220
+ enum: Object.values(EnumEventType),
11221
+ required: true,
11222
+ type: String
11223
+ },
11201
11224
  goodForChildren: { required: false, type: Boolean },
11202
11225
  goodForGroups: { required: false, type: Boolean },
11203
11226
  googleMapsUrl: { required: false, type: String },
@@ -11212,17 +11235,24 @@ var schema3 = new MongooseSchema6(
11212
11235
  importedAt: { default: () => /* @__PURE__ */ new Date(), required: true, type: Date },
11213
11236
  liveMusic: { required: false, type: Boolean },
11214
11237
  location: {
11215
- required: false,
11238
+ required: true,
11216
11239
  // optional because lat/lng may expire after 30 days
11217
11240
  type: locationsSchema
11218
11241
  },
11242
+ logo: { required: false, type: ResourceImageTypeSchema },
11219
11243
  name: { required: true, type: String },
11220
11244
  openingHours: { required: false, type: [String] },
11221
11245
  parkingOptions: { required: false, type: Object },
11222
11246
  paymentOptions: { required: false, type: Object },
11223
11247
  phone: { required: false, type: String },
11248
+ rainOrShine: { required: true, type: Boolean },
11224
11249
  rating: { required: false, type: Number },
11225
11250
  region: { required: false, type: String },
11251
+ relations: {
11252
+ default: [],
11253
+ required: false,
11254
+ type: [resourceRelationsSchema]
11255
+ },
11226
11256
  restroom: { required: false, type: Boolean },
11227
11257
  reviewCount: { required: false, type: Number },
11228
11258
  slug: { required: true, type: String },
@@ -11818,6 +11848,7 @@ var schema11 = new MongooseSchema15(
11818
11848
  {
11819
11849
  ...baseResourceFields,
11820
11850
  // Importing base resource fields from global.ts
11851
+ claimed: { default: true, required: true, type: Boolean },
11821
11852
  dateTime: [dateTimeSchema3],
11822
11853
  eventInfoId: {
11823
11854
  ref: "EventInfo",
@@ -11829,6 +11860,10 @@ var schema11 = new MongooseSchema15(
11829
11860
  required: true,
11830
11861
  type: String
11831
11862
  },
11863
+ googlePlaceId: {
11864
+ required: false,
11865
+ type: String
11866
+ },
11832
11867
  location: {
11833
11868
  required: true,
11834
11869
  type: locationsSchema
@@ -11993,4 +12028,4 @@ react/cjs/react.development.js:
11993
12028
  * LICENSE file in the root directory of this source tree.
11994
12029
  *)
11995
12030
  */
11996
- //# sourceMappingURL=chunk-DS5E2QOI.mjs.map
12031
+ //# sourceMappingURL=chunk-XCZWK6CV.mjs.map