@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.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,17 +11256,24 @@ 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:
|
|
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 },
|
|
11272
|
+
relations: {
|
|
11273
|
+
default: [],
|
|
11274
|
+
required: false,
|
|
11275
|
+
type: [resourceRelationsSchema]
|
|
11276
|
+
},
|
|
11247
11277
|
restroom: { required: false, type: Boolean },
|
|
11248
11278
|
reviewCount: { required: false, type: Number },
|
|
11249
11279
|
slug: { required: true, type: String },
|
|
@@ -11839,6 +11869,7 @@ var schema11 = new MongooseSchema15(
|
|
|
11839
11869
|
{
|
|
11840
11870
|
...baseResourceFields,
|
|
11841
11871
|
// Importing base resource fields from global.ts
|
|
11872
|
+
claimed: { default: true, required: true, type: Boolean },
|
|
11842
11873
|
dateTime: [dateTimeSchema3],
|
|
11843
11874
|
eventInfoId: {
|
|
11844
11875
|
ref: "EventInfo",
|
|
@@ -11850,6 +11881,10 @@ var schema11 = new MongooseSchema15(
|
|
|
11850
11881
|
required: true,
|
|
11851
11882
|
type: String
|
|
11852
11883
|
},
|
|
11884
|
+
googlePlaceId: {
|
|
11885
|
+
required: false,
|
|
11886
|
+
type: String
|
|
11887
|
+
},
|
|
11853
11888
|
location: {
|
|
11854
11889
|
required: true,
|
|
11855
11890
|
type: locationsSchema
|