@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
|
@@ -222,10 +222,18 @@ declare const baseResourceFields: {
|
|
|
222
222
|
required: boolean;
|
|
223
223
|
type: StringConstructor[];
|
|
224
224
|
};
|
|
225
|
+
rating: {
|
|
226
|
+
required: boolean;
|
|
227
|
+
type: NumberConstructor;
|
|
228
|
+
};
|
|
225
229
|
region: {
|
|
226
230
|
required: boolean;
|
|
227
231
|
type: StringConstructor;
|
|
228
232
|
};
|
|
233
|
+
reviewCount: {
|
|
234
|
+
required: boolean;
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
};
|
|
229
237
|
socialMedia: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
|
|
230
238
|
_id: mongoose.Types.ObjectId;
|
|
231
239
|
} & {
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -222,10 +222,18 @@ declare const baseResourceFields: {
|
|
|
222
222
|
required: boolean;
|
|
223
223
|
type: StringConstructor[];
|
|
224
224
|
};
|
|
225
|
+
rating: {
|
|
226
|
+
required: boolean;
|
|
227
|
+
type: NumberConstructor;
|
|
228
|
+
};
|
|
225
229
|
region: {
|
|
226
230
|
required: boolean;
|
|
227
231
|
type: StringConstructor;
|
|
228
232
|
};
|
|
233
|
+
reviewCount: {
|
|
234
|
+
required: boolean;
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
};
|
|
229
237
|
socialMedia: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
|
|
230
238
|
_id: mongoose.Types.ObjectId;
|
|
231
239
|
} & {
|
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -8517,12 +8517,19 @@ var EVENT_LIST_ITEM = gql`
|
|
|
8517
8517
|
rainOrShine
|
|
8518
8518
|
rating
|
|
8519
8519
|
region
|
|
8520
|
+
relations {
|
|
8521
|
+
relationId
|
|
8522
|
+
relationDates {
|
|
8523
|
+
...RelationDates
|
|
8524
|
+
}
|
|
8525
|
+
}
|
|
8520
8526
|
reviewCount
|
|
8521
8527
|
updatedAt
|
|
8522
8528
|
}
|
|
8523
8529
|
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
8524
8530
|
${LOCATION_FIELDS_FRAGMENT}
|
|
8525
8531
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
8532
|
+
${RELATION_DATES_FRAGMENT}
|
|
8526
8533
|
`;
|
|
8527
8534
|
var EVENT_INFO = gql`
|
|
8528
8535
|
fragment EventInfoFields on EventInfoType {
|
|
@@ -8566,6 +8573,7 @@ var EVENT = gql`
|
|
|
8566
8573
|
cover {
|
|
8567
8574
|
...ResourceImageFields
|
|
8568
8575
|
}
|
|
8576
|
+
claimed
|
|
8569
8577
|
createdAt
|
|
8570
8578
|
contactDetails {
|
|
8571
8579
|
...ContactDetailsFields
|
|
@@ -8575,6 +8583,7 @@ var EVENT = gql`
|
|
|
8575
8583
|
}
|
|
8576
8584
|
description
|
|
8577
8585
|
deletedAt
|
|
8586
|
+
googlePlaceId
|
|
8578
8587
|
images {
|
|
8579
8588
|
...ResourceImageFields
|
|
8580
8589
|
}
|
|
@@ -8603,6 +8612,8 @@ var EVENT = gql`
|
|
|
8603
8612
|
...RelationDates
|
|
8604
8613
|
}
|
|
8605
8614
|
}
|
|
8615
|
+
rating
|
|
8616
|
+
reviewCount
|
|
8606
8617
|
socialMedia {
|
|
8607
8618
|
...SocialMediaFields
|
|
8608
8619
|
}
|
|
@@ -8850,7 +8861,9 @@ var VENDOR = gql`
|
|
|
8850
8861
|
posterUsage {
|
|
8851
8862
|
...PosterUsageFields
|
|
8852
8863
|
}
|
|
8864
|
+
rating
|
|
8853
8865
|
region
|
|
8866
|
+
reviewCount
|
|
8854
8867
|
relations {
|
|
8855
8868
|
relationId
|
|
8856
8869
|
relationDates {
|
|
@@ -9244,7 +9257,9 @@ var PARTNER = gql`
|
|
|
9244
9257
|
posterUsage {
|
|
9245
9258
|
...PosterUsageFields
|
|
9246
9259
|
}
|
|
9260
|
+
rating
|
|
9247
9261
|
region
|
|
9262
|
+
reviewCount
|
|
9248
9263
|
socialMedia {
|
|
9249
9264
|
...SocialMediaFields
|
|
9250
9265
|
}
|
|
@@ -11309,7 +11324,9 @@ var baseResourceFields = {
|
|
|
11309
11324
|
},
|
|
11310
11325
|
posterUsage: PosterUsageTypeSchema,
|
|
11311
11326
|
promoCodes: { required: false, type: [String] },
|
|
11327
|
+
rating: { required: false, type: Number },
|
|
11312
11328
|
region: { required: true, type: String },
|
|
11329
|
+
reviewCount: { required: false, type: Number },
|
|
11313
11330
|
socialMedia: [SocialMediaTypeSchema],
|
|
11314
11331
|
termsAgreement: termsAgreementSchema
|
|
11315
11332
|
};
|
|
@@ -11454,6 +11471,12 @@ var schema5 = new MongooseSchema8(
|
|
|
11454
11471
|
},
|
|
11455
11472
|
dateTime: [dateTimeSchema3],
|
|
11456
11473
|
deletedAt: { default: null, required: false, type: Date },
|
|
11474
|
+
description: { required: true, type: String },
|
|
11475
|
+
eventType: {
|
|
11476
|
+
enum: Object.values(EnumEventType),
|
|
11477
|
+
required: true,
|
|
11478
|
+
type: String
|
|
11479
|
+
},
|
|
11457
11480
|
goodForChildren: { required: false, type: Boolean },
|
|
11458
11481
|
goodForGroups: { required: false, type: Boolean },
|
|
11459
11482
|
googleMapsUrl: { required: false, type: String },
|
|
@@ -11468,15 +11491,17 @@ var schema5 = new MongooseSchema8(
|
|
|
11468
11491
|
importedAt: { default: () => /* @__PURE__ */ new Date(), required: true, type: Date },
|
|
11469
11492
|
liveMusic: { required: false, type: Boolean },
|
|
11470
11493
|
location: {
|
|
11471
|
-
required:
|
|
11494
|
+
required: true,
|
|
11472
11495
|
// optional because lat/lng may expire after 30 days
|
|
11473
11496
|
type: locationsSchema
|
|
11474
11497
|
},
|
|
11498
|
+
logo: { required: false, type: ResourceImageTypeSchema },
|
|
11475
11499
|
name: { required: true, type: String },
|
|
11476
11500
|
openingHours: { required: false, type: [String] },
|
|
11477
11501
|
parkingOptions: { required: false, type: Object },
|
|
11478
11502
|
paymentOptions: { required: false, type: Object },
|
|
11479
11503
|
phone: { required: false, type: String },
|
|
11504
|
+
rainOrShine: { required: true, type: Boolean },
|
|
11480
11505
|
rating: { required: false, type: Number },
|
|
11481
11506
|
region: { required: false, type: String },
|
|
11482
11507
|
restroom: { required: false, type: Boolean },
|
|
@@ -12014,6 +12039,7 @@ var schema11 = new MongooseSchema15(
|
|
|
12014
12039
|
{
|
|
12015
12040
|
...baseResourceFields,
|
|
12016
12041
|
// Importing base resource fields from global.ts
|
|
12042
|
+
claimed: { default: true, required: true, type: Boolean },
|
|
12017
12043
|
dateTime: [dateTimeSchema3],
|
|
12018
12044
|
eventInfoId: {
|
|
12019
12045
|
ref: "EventInfo",
|
|
@@ -12025,6 +12051,10 @@ var schema11 = new MongooseSchema15(
|
|
|
12025
12051
|
required: true,
|
|
12026
12052
|
type: String
|
|
12027
12053
|
},
|
|
12054
|
+
googlePlaceId: {
|
|
12055
|
+
required: false,
|
|
12056
|
+
type: String
|
|
12057
|
+
},
|
|
12028
12058
|
location: {
|
|
12029
12059
|
required: true,
|
|
12030
12060
|
type: locationsSchema
|