@timardex/cluemart-server-shared 1.0.26 → 1.0.27
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-UNCJD6QI.mjs → chunk-QSCOI2PP.mjs} +32 -34
- package/dist/chunk-QSCOI2PP.mjs.map +1 -0
- package/dist/index.cjs +32 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.mjs +31 -33
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +32 -33
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +11 -2
- package/dist/mongoose/index.d.ts +11 -2
- package/dist/mongoose/index.mjs +3 -1
- package/dist/service/index.cjs +30 -33
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-UNCJD6QI.mjs.map +0 -1
|
@@ -8270,29 +8270,30 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = gql`
|
|
|
8270
8270
|
}
|
|
8271
8271
|
going {
|
|
8272
8272
|
events {
|
|
8273
|
-
dateStatus
|
|
8274
8273
|
resourceId
|
|
8275
|
-
|
|
8276
|
-
|
|
8274
|
+
dateTime {
|
|
8275
|
+
...EventDateTimeFields
|
|
8276
|
+
}
|
|
8277
8277
|
}
|
|
8278
8278
|
}
|
|
8279
8279
|
interested {
|
|
8280
8280
|
events {
|
|
8281
|
-
dateStatus
|
|
8282
8281
|
resourceId
|
|
8283
|
-
|
|
8284
|
-
|
|
8282
|
+
dateTime {
|
|
8283
|
+
...EventDateTimeFields
|
|
8284
|
+
}
|
|
8285
8285
|
}
|
|
8286
8286
|
}
|
|
8287
8287
|
present {
|
|
8288
8288
|
events {
|
|
8289
|
-
dateStatus
|
|
8290
8289
|
resourceId
|
|
8291
|
-
|
|
8292
|
-
|
|
8290
|
+
dateTime {
|
|
8291
|
+
...EventDateTimeFields
|
|
8292
|
+
}
|
|
8293
8293
|
}
|
|
8294
8294
|
}
|
|
8295
8295
|
}
|
|
8296
|
+
${EVENT_DATETIME_FIELDS_FRAGMENT}
|
|
8296
8297
|
`;
|
|
8297
8298
|
var USER_FIELDS_FRAGMENT = gql`
|
|
8298
8299
|
fragment UserFields on UserType {
|
|
@@ -10335,9 +10336,11 @@ var RelationTypeSchema = new MongooseSchema2(
|
|
|
10335
10336
|
{ timestamps: true }
|
|
10336
10337
|
);
|
|
10337
10338
|
RelationTypeSchema.index({
|
|
10339
|
+
eventId: 1,
|
|
10338
10340
|
"relationDates.startDate": 1,
|
|
10339
10341
|
"relationDates.startTime": 1,
|
|
10340
|
-
"relationDates.status": 1
|
|
10342
|
+
"relationDates.status": 1,
|
|
10343
|
+
vendorId: 1
|
|
10341
10344
|
});
|
|
10342
10345
|
var RelationModel = mongoose2.models.Relation || mongoose2.model("Relation", RelationTypeSchema);
|
|
10343
10346
|
|
|
@@ -10475,6 +10478,21 @@ var resourceRelationsSchema = new MongooseSchema3(
|
|
|
10475
10478
|
},
|
|
10476
10479
|
{ _id: false }
|
|
10477
10480
|
);
|
|
10481
|
+
var dateTimeSchema3 = new MongooseSchema3(
|
|
10482
|
+
{
|
|
10483
|
+
dateStatus: {
|
|
10484
|
+
enum: Object.values(EnumEventDateStatus),
|
|
10485
|
+
required: false,
|
|
10486
|
+
type: String
|
|
10487
|
+
},
|
|
10488
|
+
endDate: { required: true, type: String },
|
|
10489
|
+
endTime: { required: true, type: String },
|
|
10490
|
+
startDate: { required: true, type: String },
|
|
10491
|
+
startTime: { required: true, type: String }
|
|
10492
|
+
},
|
|
10493
|
+
{ _id: false }
|
|
10494
|
+
// Prevents Mongoose from creating an additional _id field for subdocuments
|
|
10495
|
+
);
|
|
10478
10496
|
var baseResourceFields = {
|
|
10479
10497
|
active: { default: false, required: true, type: Boolean },
|
|
10480
10498
|
adIds: {
|
|
@@ -10765,18 +10783,12 @@ import mongoose10 from "mongoose";
|
|
|
10765
10783
|
var MongooseSchema10 = mongoose10.Schema;
|
|
10766
10784
|
var userActivityEventSchema = new MongooseSchema10(
|
|
10767
10785
|
{
|
|
10768
|
-
|
|
10769
|
-
enum: Object.values(EnumEventDateStatus),
|
|
10770
|
-
required: false,
|
|
10771
|
-
type: String
|
|
10772
|
-
},
|
|
10786
|
+
dateTime: [dateTimeSchema3],
|
|
10773
10787
|
resourceId: {
|
|
10774
10788
|
ref: "Event",
|
|
10775
10789
|
required: false,
|
|
10776
10790
|
type: mongoose10.Schema.Types.ObjectId
|
|
10777
|
-
}
|
|
10778
|
-
startDate: { required: false, type: String },
|
|
10779
|
-
startTime: { required: false, type: String }
|
|
10791
|
+
}
|
|
10780
10792
|
},
|
|
10781
10793
|
{ _id: false }
|
|
10782
10794
|
);
|
|
@@ -11094,21 +11106,6 @@ var locationsSchema = new MongooseSchema14(
|
|
|
11094
11106
|
{ _id: false }
|
|
11095
11107
|
// Prevents Mongoose from creating an additional _id field for subdocuments
|
|
11096
11108
|
);
|
|
11097
|
-
var dateTimeSchema3 = new MongooseSchema14(
|
|
11098
|
-
{
|
|
11099
|
-
dateStatus: {
|
|
11100
|
-
enum: Object.values(EnumEventDateStatus),
|
|
11101
|
-
required: false,
|
|
11102
|
-
type: String
|
|
11103
|
-
},
|
|
11104
|
-
endDate: { required: true, type: String },
|
|
11105
|
-
endTime: { required: true, type: String },
|
|
11106
|
-
startDate: { required: true, type: String },
|
|
11107
|
-
startTime: { required: true, type: String }
|
|
11108
|
-
},
|
|
11109
|
-
{ _id: false }
|
|
11110
|
-
// Prevents Mongoose from creating an additional _id field for subdocuments
|
|
11111
|
-
);
|
|
11112
11109
|
var schema10 = new MongooseSchema14(
|
|
11113
11110
|
{
|
|
11114
11111
|
...baseResourceFields,
|
|
@@ -11188,6 +11185,7 @@ export {
|
|
|
11188
11185
|
associatesSchema,
|
|
11189
11186
|
termsAgreementSchema,
|
|
11190
11187
|
resourceRelationsSchema,
|
|
11188
|
+
dateTimeSchema3 as dateTimeSchema,
|
|
11191
11189
|
baseResourceFields,
|
|
11192
11190
|
AdModel,
|
|
11193
11191
|
ParticipantSchema,
|
|
@@ -11228,4 +11226,4 @@ react/cjs/react.development.js:
|
|
|
11228
11226
|
* LICENSE file in the root directory of this source tree.
|
|
11229
11227
|
*)
|
|
11230
11228
|
*/
|
|
11231
|
-
//# sourceMappingURL=chunk-
|
|
11229
|
+
//# sourceMappingURL=chunk-QSCOI2PP.mjs.map
|