@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/index.cjs
CHANGED
|
@@ -6859,6 +6859,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6859
6859
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6860
6860
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6861
6861
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6862
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6862
6863
|
return EnumFoodFlavor3;
|
|
6863
6864
|
})(EnumFoodFlavor || {});
|
|
6864
6865
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -6906,6 +6907,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6906
6907
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6907
6908
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6908
6909
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6910
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6909
6911
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6910
6912
|
return EnumNotificationResourceType22;
|
|
6911
6913
|
})(EnumNotificationResourceType || {});
|
|
@@ -8286,6 +8288,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8286
8288
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8287
8289
|
}
|
|
8288
8290
|
`;
|
|
8291
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8292
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8293
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8294
|
+
}
|
|
8295
|
+
`;
|
|
8289
8296
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8290
8297
|
fragment PosterUsageFields on PosterUsageType {
|
|
8291
8298
|
month
|
|
@@ -10294,7 +10301,7 @@ var paymentInfoSchema = create$3({
|
|
|
10294
10301
|
otherwise: (schema13) => schema13.notRequired()
|
|
10295
10302
|
}),
|
|
10296
10303
|
link: create$6().when("paymentMethod", {
|
|
10297
|
-
is: (val) => val
|
|
10304
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10298
10305
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10299
10306
|
otherwise: (schema13) => schema13.notRequired()
|
|
10300
10307
|
})
|
|
@@ -10360,21 +10367,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10360
10367
|
}),
|
|
10361
10368
|
requirements: create$3().shape({
|
|
10362
10369
|
electricity: create$3().shape({
|
|
10363
|
-
details: create$6().trim().test(
|
|
10364
|
-
|
|
10365
|
-
|
|
10370
|
+
details: create$6().trim().test(
|
|
10371
|
+
"details-required",
|
|
10372
|
+
"Please add electricity details",
|
|
10373
|
+
function(value) {
|
|
10374
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10375
|
+
}
|
|
10376
|
+
).nullable(),
|
|
10366
10377
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10367
10378
|
}),
|
|
10368
10379
|
gazebo: create$3().shape({
|
|
10369
|
-
details: create$6().trim().test(
|
|
10370
|
-
|
|
10371
|
-
|
|
10380
|
+
details: create$6().trim().test(
|
|
10381
|
+
"details-required",
|
|
10382
|
+
"Please add gazebo details",
|
|
10383
|
+
function(value) {
|
|
10384
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10385
|
+
}
|
|
10386
|
+
).nullable(),
|
|
10372
10387
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10373
10388
|
}),
|
|
10374
10389
|
table: create$3().shape({
|
|
10375
|
-
details: create$6().trim().test(
|
|
10376
|
-
|
|
10377
|
-
|
|
10390
|
+
details: create$6().trim().test(
|
|
10391
|
+
"details-required",
|
|
10392
|
+
"Please add table details",
|
|
10393
|
+
function(value) {
|
|
10394
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10395
|
+
}
|
|
10396
|
+
).nullable(),
|
|
10378
10397
|
isRequired: create$7().required("Table requirement is required")
|
|
10379
10398
|
})
|
|
10380
10399
|
}).optional(),
|
|
@@ -10503,7 +10522,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10503
10522
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10504
10523
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10505
10524
|
organizerExpectations: create$6().trim().optional(),
|
|
10506
|
-
spaceForClueMart: create$7().
|
|
10525
|
+
spaceForClueMart: create$7().optional(),
|
|
10507
10526
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10508
10527
|
}).required("Questionary is required")
|
|
10509
10528
|
});
|
|
@@ -11224,7 +11243,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11224
11243
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11225
11244
|
var NotificationModel = import_mongoose6.default.models.Notification || import_mongoose6.default.model("Notification", schema3);
|
|
11226
11245
|
|
|
11227
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11246
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
11228
11247
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11229
11248
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11230
11249
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11390,7 +11409,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11390
11409
|
type: Boolean
|
|
11391
11410
|
},
|
|
11392
11411
|
organizerExpectations: { required: false, type: String },
|
|
11393
|
-
spaceForClueMart: { default:
|
|
11412
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11394
11413
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11395
11414
|
},
|
|
11396
11415
|
{ _id: false }
|