@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.
- package/dist/{chunk-DS5E2QOI.mjs → chunk-XCZWK6CV.mjs} +37 -2
- package/dist/chunk-XCZWK6CV.mjs.map +1 -0
- package/dist/index.cjs +36 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +36 -1
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +36 -1
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +8 -0
- package/dist/mongoose/index.d.ts +8 -0
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +36 -1
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-DS5E2QOI.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -8527,12 +8527,19 @@ var EVENT_LIST_ITEM = gql`
|
|
|
8527
8527
|
rainOrShine
|
|
8528
8528
|
rating
|
|
8529
8529
|
region
|
|
8530
|
+
relations {
|
|
8531
|
+
relationId
|
|
8532
|
+
relationDates {
|
|
8533
|
+
...RelationDates
|
|
8534
|
+
}
|
|
8535
|
+
}
|
|
8530
8536
|
reviewCount
|
|
8531
8537
|
updatedAt
|
|
8532
8538
|
}
|
|
8533
8539
|
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
8534
8540
|
${LOCATION_FIELDS_FRAGMENT}
|
|
8535
8541
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
8542
|
+
${RELATION_DATES_FRAGMENT}
|
|
8536
8543
|
`;
|
|
8537
8544
|
var EVENT_INFO = gql`
|
|
8538
8545
|
fragment EventInfoFields on EventInfoType {
|
|
@@ -8576,6 +8583,7 @@ var EVENT = gql`
|
|
|
8576
8583
|
cover {
|
|
8577
8584
|
...ResourceImageFields
|
|
8578
8585
|
}
|
|
8586
|
+
claimed
|
|
8579
8587
|
createdAt
|
|
8580
8588
|
contactDetails {
|
|
8581
8589
|
...ContactDetailsFields
|
|
@@ -8585,6 +8593,7 @@ var EVENT = gql`
|
|
|
8585
8593
|
}
|
|
8586
8594
|
description
|
|
8587
8595
|
deletedAt
|
|
8596
|
+
googlePlaceId
|
|
8588
8597
|
images {
|
|
8589
8598
|
...ResourceImageFields
|
|
8590
8599
|
}
|
|
@@ -8613,6 +8622,8 @@ var EVENT = gql`
|
|
|
8613
8622
|
...RelationDates
|
|
8614
8623
|
}
|
|
8615
8624
|
}
|
|
8625
|
+
rating
|
|
8626
|
+
reviewCount
|
|
8616
8627
|
socialMedia {
|
|
8617
8628
|
...SocialMediaFields
|
|
8618
8629
|
}
|
|
@@ -8860,7 +8871,9 @@ var VENDOR = gql`
|
|
|
8860
8871
|
posterUsage {
|
|
8861
8872
|
...PosterUsageFields
|
|
8862
8873
|
}
|
|
8874
|
+
rating
|
|
8863
8875
|
region
|
|
8876
|
+
reviewCount
|
|
8864
8877
|
relations {
|
|
8865
8878
|
relationId
|
|
8866
8879
|
relationDates {
|
|
@@ -9254,7 +9267,9 @@ var PARTNER = gql`
|
|
|
9254
9267
|
posterUsage {
|
|
9255
9268
|
...PosterUsageFields
|
|
9256
9269
|
}
|
|
9270
|
+
rating
|
|
9257
9271
|
region
|
|
9272
|
+
reviewCount
|
|
9258
9273
|
socialMedia {
|
|
9259
9274
|
...SocialMediaFields
|
|
9260
9275
|
}
|
|
@@ -11125,7 +11140,9 @@ var baseResourceFields = {
|
|
|
11125
11140
|
},
|
|
11126
11141
|
posterUsage: PosterUsageTypeSchema,
|
|
11127
11142
|
promoCodes: { required: false, type: [String] },
|
|
11143
|
+
rating: { required: false, type: Number },
|
|
11128
11144
|
region: { required: true, type: String },
|
|
11145
|
+
reviewCount: { required: false, type: Number },
|
|
11129
11146
|
socialMedia: [SocialMediaTypeSchema],
|
|
11130
11147
|
termsAgreement: termsAgreementSchema
|
|
11131
11148
|
};
|
|
@@ -11270,6 +11287,12 @@ var schema3 = new MongooseSchema6(
|
|
|
11270
11287
|
},
|
|
11271
11288
|
dateTime: [dateTimeSchema3],
|
|
11272
11289
|
deletedAt: { default: null, required: false, type: Date },
|
|
11290
|
+
description: { required: true, type: String },
|
|
11291
|
+
eventType: {
|
|
11292
|
+
enum: Object.values(EnumEventType),
|
|
11293
|
+
required: true,
|
|
11294
|
+
type: String
|
|
11295
|
+
},
|
|
11273
11296
|
goodForChildren: { required: false, type: Boolean },
|
|
11274
11297
|
goodForGroups: { required: false, type: Boolean },
|
|
11275
11298
|
googleMapsUrl: { required: false, type: String },
|
|
@@ -11284,17 +11307,24 @@ var schema3 = new MongooseSchema6(
|
|
|
11284
11307
|
importedAt: { default: () => /* @__PURE__ */ new Date(), required: true, type: Date },
|
|
11285
11308
|
liveMusic: { required: false, type: Boolean },
|
|
11286
11309
|
location: {
|
|
11287
|
-
required:
|
|
11310
|
+
required: true,
|
|
11288
11311
|
// optional because lat/lng may expire after 30 days
|
|
11289
11312
|
type: locationsSchema
|
|
11290
11313
|
},
|
|
11314
|
+
logo: { required: false, type: ResourceImageTypeSchema },
|
|
11291
11315
|
name: { required: true, type: String },
|
|
11292
11316
|
openingHours: { required: false, type: [String] },
|
|
11293
11317
|
parkingOptions: { required: false, type: Object },
|
|
11294
11318
|
paymentOptions: { required: false, type: Object },
|
|
11295
11319
|
phone: { required: false, type: String },
|
|
11320
|
+
rainOrShine: { required: true, type: Boolean },
|
|
11296
11321
|
rating: { required: false, type: Number },
|
|
11297
11322
|
region: { required: false, type: String },
|
|
11323
|
+
relations: {
|
|
11324
|
+
default: [],
|
|
11325
|
+
required: false,
|
|
11326
|
+
type: [resourceRelationsSchema]
|
|
11327
|
+
},
|
|
11298
11328
|
restroom: { required: false, type: Boolean },
|
|
11299
11329
|
reviewCount: { required: false, type: Number },
|
|
11300
11330
|
slug: { required: true, type: String },
|
|
@@ -11890,6 +11920,7 @@ var schema11 = new MongooseSchema15(
|
|
|
11890
11920
|
{
|
|
11891
11921
|
...baseResourceFields,
|
|
11892
11922
|
// Importing base resource fields from global.ts
|
|
11923
|
+
claimed: { default: true, required: true, type: Boolean },
|
|
11893
11924
|
dateTime: [dateTimeSchema3],
|
|
11894
11925
|
eventInfoId: {
|
|
11895
11926
|
ref: "EventInfo",
|
|
@@ -11901,6 +11932,10 @@ var schema11 = new MongooseSchema15(
|
|
|
11901
11932
|
required: true,
|
|
11902
11933
|
type: String
|
|
11903
11934
|
},
|
|
11935
|
+
googlePlaceId: {
|
|
11936
|
+
required: false,
|
|
11937
|
+
type: String
|
|
11938
|
+
},
|
|
11904
11939
|
location: {
|
|
11905
11940
|
required: true,
|
|
11906
11941
|
type: locationsSchema
|