@timardex/cluemart-server-shared 1.0.56 → 1.0.58
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-GJ3TTBMN.mjs → chunk-2W6GLZ2Z.mjs} +33 -14
- package/dist/chunk-2W6GLZ2Z.mjs.map +1 -0
- package/dist/index.cjs +32 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +32 -13
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +32 -13
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +32 -13
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-GJ3TTBMN.mjs.map +0 -1
package/dist/mongoose/index.cjs
CHANGED
|
@@ -6852,6 +6852,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6852
6852
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6853
6853
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6854
6854
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6855
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6855
6856
|
return EnumFoodFlavor3;
|
|
6856
6857
|
})(EnumFoodFlavor || {});
|
|
6857
6858
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -6899,6 +6900,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6899
6900
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6900
6901
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6901
6902
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6903
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6902
6904
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6903
6905
|
return EnumNotificationResourceType22;
|
|
6904
6906
|
})(EnumNotificationResourceType || {});
|
|
@@ -8279,6 +8281,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8279
8281
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8280
8282
|
}
|
|
8281
8283
|
`;
|
|
8284
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8285
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8286
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8287
|
+
}
|
|
8288
|
+
`;
|
|
8282
8289
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8283
8290
|
fragment PosterUsageFields on PosterUsageType {
|
|
8284
8291
|
month
|
|
@@ -10287,7 +10294,7 @@ var paymentInfoSchema = create$3({
|
|
|
10287
10294
|
otherwise: (schema13) => schema13.notRequired()
|
|
10288
10295
|
}),
|
|
10289
10296
|
link: create$6().when("paymentMethod", {
|
|
10290
|
-
is: (val) => val
|
|
10297
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10291
10298
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10292
10299
|
otherwise: (schema13) => schema13.notRequired()
|
|
10293
10300
|
})
|
|
@@ -10353,21 +10360,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10353
10360
|
}),
|
|
10354
10361
|
requirements: create$3().shape({
|
|
10355
10362
|
electricity: create$3().shape({
|
|
10356
|
-
details: create$6().trim().test(
|
|
10357
|
-
|
|
10358
|
-
|
|
10363
|
+
details: create$6().trim().test(
|
|
10364
|
+
"details-required",
|
|
10365
|
+
"Please add electricity details",
|
|
10366
|
+
function(value) {
|
|
10367
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10368
|
+
}
|
|
10369
|
+
).nullable(),
|
|
10359
10370
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10360
10371
|
}),
|
|
10361
10372
|
gazebo: create$3().shape({
|
|
10362
|
-
details: create$6().trim().test(
|
|
10363
|
-
|
|
10364
|
-
|
|
10373
|
+
details: create$6().trim().test(
|
|
10374
|
+
"details-required",
|
|
10375
|
+
"Please add gazebo details",
|
|
10376
|
+
function(value) {
|
|
10377
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10378
|
+
}
|
|
10379
|
+
).nullable(),
|
|
10365
10380
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10366
10381
|
}),
|
|
10367
10382
|
table: create$3().shape({
|
|
10368
|
-
details: create$6().trim().test(
|
|
10369
|
-
|
|
10370
|
-
|
|
10383
|
+
details: create$6().trim().test(
|
|
10384
|
+
"details-required",
|
|
10385
|
+
"Please add table details",
|
|
10386
|
+
function(value) {
|
|
10387
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10388
|
+
}
|
|
10389
|
+
).nullable(),
|
|
10371
10390
|
isRequired: create$7().required("Table requirement is required")
|
|
10372
10391
|
})
|
|
10373
10392
|
}).optional(),
|
|
@@ -10496,7 +10515,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10496
10515
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10497
10516
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10498
10517
|
organizerExpectations: create$6().trim().optional(),
|
|
10499
|
-
spaceForClueMart: create$7().
|
|
10518
|
+
spaceForClueMart: create$7().optional(),
|
|
10500
10519
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10501
10520
|
}).required("Questionary is required")
|
|
10502
10521
|
});
|
|
@@ -11217,7 +11236,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11217
11236
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11218
11237
|
var NotificationModel = import_mongoose6.default.models.Notification || import_mongoose6.default.model("Notification", schema3);
|
|
11219
11238
|
|
|
11220
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11239
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
11221
11240
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11222
11241
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11223
11242
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11383,7 +11402,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11383
11402
|
type: Boolean
|
|
11384
11403
|
},
|
|
11385
11404
|
organizerExpectations: { required: false, type: String },
|
|
11386
|
-
spaceForClueMart: { default:
|
|
11405
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11387
11406
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11388
11407
|
},
|
|
11389
11408
|
{ _id: false }
|