@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.mjs
CHANGED
|
@@ -6809,6 +6809,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6809
6809
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6810
6810
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6811
6811
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6812
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6812
6813
|
return EnumFoodFlavor3;
|
|
6813
6814
|
})(EnumFoodFlavor || {});
|
|
6814
6815
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -6856,6 +6857,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6856
6857
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6857
6858
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6858
6859
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6860
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6859
6861
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6860
6862
|
return EnumNotificationResourceType22;
|
|
6861
6863
|
})(EnumNotificationResourceType || {});
|
|
@@ -8236,6 +8238,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8236
8238
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8237
8239
|
}
|
|
8238
8240
|
`;
|
|
8241
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8242
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8243
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8244
|
+
}
|
|
8245
|
+
`;
|
|
8239
8246
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8240
8247
|
fragment PosterUsageFields on PosterUsageType {
|
|
8241
8248
|
month
|
|
@@ -10244,7 +10251,7 @@ var paymentInfoSchema = create$3({
|
|
|
10244
10251
|
otherwise: (schema13) => schema13.notRequired()
|
|
10245
10252
|
}),
|
|
10246
10253
|
link: create$6().when("paymentMethod", {
|
|
10247
|
-
is: (val) => val
|
|
10254
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10248
10255
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10249
10256
|
otherwise: (schema13) => schema13.notRequired()
|
|
10250
10257
|
})
|
|
@@ -10310,21 +10317,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10310
10317
|
}),
|
|
10311
10318
|
requirements: create$3().shape({
|
|
10312
10319
|
electricity: create$3().shape({
|
|
10313
|
-
details: create$6().trim().test(
|
|
10314
|
-
|
|
10315
|
-
|
|
10320
|
+
details: create$6().trim().test(
|
|
10321
|
+
"details-required",
|
|
10322
|
+
"Please add electricity details",
|
|
10323
|
+
function(value) {
|
|
10324
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10325
|
+
}
|
|
10326
|
+
).nullable(),
|
|
10316
10327
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10317
10328
|
}),
|
|
10318
10329
|
gazebo: create$3().shape({
|
|
10319
|
-
details: create$6().trim().test(
|
|
10320
|
-
|
|
10321
|
-
|
|
10330
|
+
details: create$6().trim().test(
|
|
10331
|
+
"details-required",
|
|
10332
|
+
"Please add gazebo details",
|
|
10333
|
+
function(value) {
|
|
10334
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10335
|
+
}
|
|
10336
|
+
).nullable(),
|
|
10322
10337
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10323
10338
|
}),
|
|
10324
10339
|
table: create$3().shape({
|
|
10325
|
-
details: create$6().trim().test(
|
|
10326
|
-
|
|
10327
|
-
|
|
10340
|
+
details: create$6().trim().test(
|
|
10341
|
+
"details-required",
|
|
10342
|
+
"Please add table details",
|
|
10343
|
+
function(value) {
|
|
10344
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10345
|
+
}
|
|
10346
|
+
).nullable(),
|
|
10328
10347
|
isRequired: create$7().required("Table requirement is required")
|
|
10329
10348
|
})
|
|
10330
10349
|
}).optional(),
|
|
@@ -10453,7 +10472,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10453
10472
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10454
10473
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10455
10474
|
organizerExpectations: create$6().trim().optional(),
|
|
10456
|
-
spaceForClueMart: create$7().
|
|
10475
|
+
spaceForClueMart: create$7().optional(),
|
|
10457
10476
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10458
10477
|
}).required("Questionary is required")
|
|
10459
10478
|
});
|
|
@@ -11174,7 +11193,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11174
11193
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11175
11194
|
var NotificationModel = mongoose6.models.Notification || mongoose6.model("Notification", schema3);
|
|
11176
11195
|
|
|
11177
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11196
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
11178
11197
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11179
11198
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11180
11199
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11340,7 +11359,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11340
11359
|
type: Boolean
|
|
11341
11360
|
},
|
|
11342
11361
|
organizerExpectations: { required: false, type: String },
|
|
11343
|
-
spaceForClueMart: { default:
|
|
11362
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11344
11363
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11345
11364
|
},
|
|
11346
11365
|
{ _id: false }
|