@timardex/cluemart-server-shared 1.0.64 → 1.0.67

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.d.mts CHANGED
@@ -297,10 +297,18 @@ declare const baseResourceFields: {
297
297
  required: boolean;
298
298
  type: StringConstructor[];
299
299
  };
300
+ rating: {
301
+ required: boolean;
302
+ type: NumberConstructor;
303
+ };
300
304
  region: {
301
305
  required: boolean;
302
306
  type: StringConstructor;
303
307
  };
308
+ reviewCount: {
309
+ required: boolean;
310
+ type: NumberConstructor;
311
+ };
304
312
  socialMedia: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
305
313
  _id: mongoose.Types.ObjectId;
306
314
  } & {
package/dist/index.d.ts CHANGED
@@ -297,10 +297,18 @@ declare const baseResourceFields: {
297
297
  required: boolean;
298
298
  type: StringConstructor[];
299
299
  };
300
+ rating: {
301
+ required: boolean;
302
+ type: NumberConstructor;
303
+ };
300
304
  region: {
301
305
  required: boolean;
302
306
  type: StringConstructor;
303
307
  };
308
+ reviewCount: {
309
+ required: boolean;
310
+ type: NumberConstructor;
311
+ };
304
312
  socialMedia: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
305
313
  _id: mongoose.Types.ObjectId;
306
314
  } & {
package/dist/index.mjs CHANGED
@@ -8476,12 +8476,19 @@ var EVENT_LIST_ITEM = gql`
8476
8476
  rainOrShine
8477
8477
  rating
8478
8478
  region
8479
+ relations {
8480
+ relationId
8481
+ relationDates {
8482
+ ...RelationDates
8483
+ }
8484
+ }
8479
8485
  reviewCount
8480
8486
  updatedAt
8481
8487
  }
8482
8488
  ${EVENT_DATETIME_FIELDS_FRAGMENT}
8483
8489
  ${LOCATION_FIELDS_FRAGMENT}
8484
8490
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
8491
+ ${RELATION_DATES_FRAGMENT}
8485
8492
  `;
8486
8493
  var EVENT_INFO = gql`
8487
8494
  fragment EventInfoFields on EventInfoType {
@@ -8525,6 +8532,7 @@ var EVENT = gql`
8525
8532
  cover {
8526
8533
  ...ResourceImageFields
8527
8534
  }
8535
+ claimed
8528
8536
  createdAt
8529
8537
  contactDetails {
8530
8538
  ...ContactDetailsFields
@@ -8534,6 +8542,7 @@ var EVENT = gql`
8534
8542
  }
8535
8543
  description
8536
8544
  deletedAt
8545
+ googlePlaceId
8537
8546
  images {
8538
8547
  ...ResourceImageFields
8539
8548
  }
@@ -8562,6 +8571,8 @@ var EVENT = gql`
8562
8571
  ...RelationDates
8563
8572
  }
8564
8573
  }
8574
+ rating
8575
+ reviewCount
8565
8576
  socialMedia {
8566
8577
  ...SocialMediaFields
8567
8578
  }
@@ -8809,7 +8820,9 @@ var VENDOR = gql`
8809
8820
  posterUsage {
8810
8821
  ...PosterUsageFields
8811
8822
  }
8823
+ rating
8812
8824
  region
8825
+ reviewCount
8813
8826
  relations {
8814
8827
  relationId
8815
8828
  relationDates {
@@ -9203,7 +9216,9 @@ var PARTNER = gql`
9203
9216
  posterUsage {
9204
9217
  ...PosterUsageFields
9205
9218
  }
9219
+ rating
9206
9220
  region
9221
+ reviewCount
9207
9222
  socialMedia {
9208
9223
  ...SocialMediaFields
9209
9224
  }
@@ -11074,7 +11089,9 @@ var baseResourceFields = {
11074
11089
  },
11075
11090
  posterUsage: PosterUsageTypeSchema,
11076
11091
  promoCodes: { required: false, type: [String] },
11092
+ rating: { required: false, type: Number },
11077
11093
  region: { required: true, type: String },
11094
+ reviewCount: { required: false, type: Number },
11078
11095
  socialMedia: [SocialMediaTypeSchema],
11079
11096
  termsAgreement: termsAgreementSchema
11080
11097
  };
@@ -11219,6 +11236,12 @@ var schema3 = new MongooseSchema6(
11219
11236
  },
11220
11237
  dateTime: [dateTimeSchema3],
11221
11238
  deletedAt: { default: null, required: false, type: Date },
11239
+ description: { required: true, type: String },
11240
+ eventType: {
11241
+ enum: Object.values(EnumEventType),
11242
+ required: true,
11243
+ type: String
11244
+ },
11222
11245
  goodForChildren: { required: false, type: Boolean },
11223
11246
  goodForGroups: { required: false, type: Boolean },
11224
11247
  googleMapsUrl: { required: false, type: String },
@@ -11233,15 +11256,17 @@ var schema3 = new MongooseSchema6(
11233
11256
  importedAt: { default: () => /* @__PURE__ */ new Date(), required: true, type: Date },
11234
11257
  liveMusic: { required: false, type: Boolean },
11235
11258
  location: {
11236
- required: false,
11259
+ required: true,
11237
11260
  // optional because lat/lng may expire after 30 days
11238
11261
  type: locationsSchema
11239
11262
  },
11263
+ logo: { required: false, type: ResourceImageTypeSchema },
11240
11264
  name: { required: true, type: String },
11241
11265
  openingHours: { required: false, type: [String] },
11242
11266
  parkingOptions: { required: false, type: Object },
11243
11267
  paymentOptions: { required: false, type: Object },
11244
11268
  phone: { required: false, type: String },
11269
+ rainOrShine: { required: true, type: Boolean },
11245
11270
  rating: { required: false, type: Number },
11246
11271
  region: { required: false, type: String },
11247
11272
  restroom: { required: false, type: Boolean },
@@ -11839,6 +11864,7 @@ var schema11 = new MongooseSchema15(
11839
11864
  {
11840
11865
  ...baseResourceFields,
11841
11866
  // Importing base resource fields from global.ts
11867
+ claimed: { default: true, required: true, type: Boolean },
11842
11868
  dateTime: [dateTimeSchema3],
11843
11869
  eventInfoId: {
11844
11870
  ref: "EventInfo",
@@ -11850,6 +11876,10 @@ var schema11 = new MongooseSchema15(
11850
11876
  required: true,
11851
11877
  type: String
11852
11878
  },
11879
+ googlePlaceId: {
11880
+ required: false,
11881
+ type: String
11882
+ },
11853
11883
  location: {
11854
11884
  required: true,
11855
11885
  type: locationsSchema