@timardex/cluemart-server-shared 1.0.65 → 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/{chunk-DS5E2QOI.mjs → chunk-NYPGJ4EH.mjs} +32 -2
- package/dist/chunk-NYPGJ4EH.mjs.map +1 -0
- package/dist/index.cjs +31 -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 +31 -1
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +31 -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 +31 -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/mongoose/index.cjs
CHANGED
|
@@ -8520,12 +8520,19 @@ var EVENT_LIST_ITEM = gql`
|
|
|
8520
8520
|
rainOrShine
|
|
8521
8521
|
rating
|
|
8522
8522
|
region
|
|
8523
|
+
relations {
|
|
8524
|
+
relationId
|
|
8525
|
+
relationDates {
|
|
8526
|
+
...RelationDates
|
|
8527
|
+
}
|
|
8528
|
+
}
|
|
8523
8529
|
reviewCount
|
|
8524
8530
|
updatedAt
|
|
8525
8531
|
}
|
|
8526
8532
|
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
8527
8533
|
${LOCATION_FIELDS_FRAGMENT}
|
|
8528
8534
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
8535
|
+
${RELATION_DATES_FRAGMENT}
|
|
8529
8536
|
`;
|
|
8530
8537
|
var EVENT_INFO = gql`
|
|
8531
8538
|
fragment EventInfoFields on EventInfoType {
|
|
@@ -8569,6 +8576,7 @@ var EVENT = gql`
|
|
|
8569
8576
|
cover {
|
|
8570
8577
|
...ResourceImageFields
|
|
8571
8578
|
}
|
|
8579
|
+
claimed
|
|
8572
8580
|
createdAt
|
|
8573
8581
|
contactDetails {
|
|
8574
8582
|
...ContactDetailsFields
|
|
@@ -8578,6 +8586,7 @@ var EVENT = gql`
|
|
|
8578
8586
|
}
|
|
8579
8587
|
description
|
|
8580
8588
|
deletedAt
|
|
8589
|
+
googlePlaceId
|
|
8581
8590
|
images {
|
|
8582
8591
|
...ResourceImageFields
|
|
8583
8592
|
}
|
|
@@ -8606,6 +8615,8 @@ var EVENT = gql`
|
|
|
8606
8615
|
...RelationDates
|
|
8607
8616
|
}
|
|
8608
8617
|
}
|
|
8618
|
+
rating
|
|
8619
|
+
reviewCount
|
|
8609
8620
|
socialMedia {
|
|
8610
8621
|
...SocialMediaFields
|
|
8611
8622
|
}
|
|
@@ -8853,7 +8864,9 @@ var VENDOR = gql`
|
|
|
8853
8864
|
posterUsage {
|
|
8854
8865
|
...PosterUsageFields
|
|
8855
8866
|
}
|
|
8867
|
+
rating
|
|
8856
8868
|
region
|
|
8869
|
+
reviewCount
|
|
8857
8870
|
relations {
|
|
8858
8871
|
relationId
|
|
8859
8872
|
relationDates {
|
|
@@ -9247,7 +9260,9 @@ var PARTNER = gql`
|
|
|
9247
9260
|
posterUsage {
|
|
9248
9261
|
...PosterUsageFields
|
|
9249
9262
|
}
|
|
9263
|
+
rating
|
|
9250
9264
|
region
|
|
9265
|
+
reviewCount
|
|
9251
9266
|
socialMedia {
|
|
9252
9267
|
...SocialMediaFields
|
|
9253
9268
|
}
|
|
@@ -11118,7 +11133,9 @@ var baseResourceFields = {
|
|
|
11118
11133
|
},
|
|
11119
11134
|
posterUsage: PosterUsageTypeSchema,
|
|
11120
11135
|
promoCodes: { required: false, type: [String] },
|
|
11136
|
+
rating: { required: false, type: Number },
|
|
11121
11137
|
region: { required: true, type: String },
|
|
11138
|
+
reviewCount: { required: false, type: Number },
|
|
11122
11139
|
socialMedia: [SocialMediaTypeSchema],
|
|
11123
11140
|
termsAgreement: termsAgreementSchema
|
|
11124
11141
|
};
|
|
@@ -11263,6 +11280,12 @@ var schema3 = new MongooseSchema6(
|
|
|
11263
11280
|
},
|
|
11264
11281
|
dateTime: [dateTimeSchema3],
|
|
11265
11282
|
deletedAt: { default: null, required: false, type: Date },
|
|
11283
|
+
description: { required: true, type: String },
|
|
11284
|
+
eventType: {
|
|
11285
|
+
enum: Object.values(EnumEventType),
|
|
11286
|
+
required: true,
|
|
11287
|
+
type: String
|
|
11288
|
+
},
|
|
11266
11289
|
goodForChildren: { required: false, type: Boolean },
|
|
11267
11290
|
goodForGroups: { required: false, type: Boolean },
|
|
11268
11291
|
googleMapsUrl: { required: false, type: String },
|
|
@@ -11277,15 +11300,17 @@ var schema3 = new MongooseSchema6(
|
|
|
11277
11300
|
importedAt: { default: () => /* @__PURE__ */ new Date(), required: true, type: Date },
|
|
11278
11301
|
liveMusic: { required: false, type: Boolean },
|
|
11279
11302
|
location: {
|
|
11280
|
-
required:
|
|
11303
|
+
required: true,
|
|
11281
11304
|
// optional because lat/lng may expire after 30 days
|
|
11282
11305
|
type: locationsSchema
|
|
11283
11306
|
},
|
|
11307
|
+
logo: { required: false, type: ResourceImageTypeSchema },
|
|
11284
11308
|
name: { required: true, type: String },
|
|
11285
11309
|
openingHours: { required: false, type: [String] },
|
|
11286
11310
|
parkingOptions: { required: false, type: Object },
|
|
11287
11311
|
paymentOptions: { required: false, type: Object },
|
|
11288
11312
|
phone: { required: false, type: String },
|
|
11313
|
+
rainOrShine: { required: true, type: Boolean },
|
|
11289
11314
|
rating: { required: false, type: Number },
|
|
11290
11315
|
region: { required: false, type: String },
|
|
11291
11316
|
restroom: { required: false, type: Boolean },
|
|
@@ -11883,6 +11908,7 @@ var schema11 = new MongooseSchema15(
|
|
|
11883
11908
|
{
|
|
11884
11909
|
...baseResourceFields,
|
|
11885
11910
|
// Importing base resource fields from global.ts
|
|
11911
|
+
claimed: { default: true, required: true, type: Boolean },
|
|
11886
11912
|
dateTime: [dateTimeSchema3],
|
|
11887
11913
|
eventInfoId: {
|
|
11888
11914
|
ref: "EventInfo",
|
|
@@ -11894,6 +11920,10 @@ var schema11 = new MongooseSchema15(
|
|
|
11894
11920
|
required: true,
|
|
11895
11921
|
type: String
|
|
11896
11922
|
},
|
|
11923
|
+
googlePlaceId: {
|
|
11924
|
+
required: false,
|
|
11925
|
+
type: String
|
|
11926
|
+
},
|
|
11897
11927
|
location: {
|
|
11898
11928
|
required: true,
|
|
11899
11929
|
type: locationsSchema
|