@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
|
@@ -6788,6 +6788,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6788
6788
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6789
6789
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6790
6790
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6791
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6791
6792
|
return EnumFoodFlavor3;
|
|
6792
6793
|
})(EnumFoodFlavor || {});
|
|
6793
6794
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -6835,6 +6836,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6835
6836
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6836
6837
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6837
6838
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6839
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6838
6840
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6839
6841
|
return EnumNotificationResourceType22;
|
|
6840
6842
|
})(EnumNotificationResourceType || {});
|
|
@@ -8215,6 +8217,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8215
8217
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8216
8218
|
}
|
|
8217
8219
|
`;
|
|
8220
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8221
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8222
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8223
|
+
}
|
|
8224
|
+
`;
|
|
8218
8225
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8219
8226
|
fragment PosterUsageFields on PosterUsageType {
|
|
8220
8227
|
month
|
|
@@ -10223,7 +10230,7 @@ var paymentInfoSchema = create$3({
|
|
|
10223
10230
|
otherwise: (schema13) => schema13.notRequired()
|
|
10224
10231
|
}),
|
|
10225
10232
|
link: create$6().when("paymentMethod", {
|
|
10226
|
-
is: (val) => val
|
|
10233
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10227
10234
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10228
10235
|
otherwise: (schema13) => schema13.notRequired()
|
|
10229
10236
|
})
|
|
@@ -10289,21 +10296,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10289
10296
|
}),
|
|
10290
10297
|
requirements: create$3().shape({
|
|
10291
10298
|
electricity: create$3().shape({
|
|
10292
|
-
details: create$6().trim().test(
|
|
10293
|
-
|
|
10294
|
-
|
|
10299
|
+
details: create$6().trim().test(
|
|
10300
|
+
"details-required",
|
|
10301
|
+
"Please add electricity details",
|
|
10302
|
+
function(value) {
|
|
10303
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10304
|
+
}
|
|
10305
|
+
).nullable(),
|
|
10295
10306
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10296
10307
|
}),
|
|
10297
10308
|
gazebo: create$3().shape({
|
|
10298
|
-
details: create$6().trim().test(
|
|
10299
|
-
|
|
10300
|
-
|
|
10309
|
+
details: create$6().trim().test(
|
|
10310
|
+
"details-required",
|
|
10311
|
+
"Please add gazebo details",
|
|
10312
|
+
function(value) {
|
|
10313
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10314
|
+
}
|
|
10315
|
+
).nullable(),
|
|
10301
10316
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10302
10317
|
}),
|
|
10303
10318
|
table: create$3().shape({
|
|
10304
|
-
details: create$6().trim().test(
|
|
10305
|
-
|
|
10306
|
-
|
|
10319
|
+
details: create$6().trim().test(
|
|
10320
|
+
"details-required",
|
|
10321
|
+
"Please add table details",
|
|
10322
|
+
function(value) {
|
|
10323
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10324
|
+
}
|
|
10325
|
+
).nullable(),
|
|
10307
10326
|
isRequired: create$7().required("Table requirement is required")
|
|
10308
10327
|
})
|
|
10309
10328
|
}).optional(),
|
|
@@ -10432,7 +10451,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10432
10451
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10433
10452
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10434
10453
|
organizerExpectations: create$6().trim().optional(),
|
|
10435
|
-
spaceForClueMart: create$7().
|
|
10454
|
+
spaceForClueMart: create$7().optional(),
|
|
10436
10455
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10437
10456
|
}).required("Questionary is required")
|
|
10438
10457
|
});
|
|
@@ -11153,7 +11172,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11153
11172
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11154
11173
|
var NotificationModel = mongoose6.models.Notification || mongoose6.model("Notification", schema3);
|
|
11155
11174
|
|
|
11156
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11175
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
11157
11176
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11158
11177
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11159
11178
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11319,7 +11338,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11319
11338
|
type: Boolean
|
|
11320
11339
|
},
|
|
11321
11340
|
organizerExpectations: { required: false, type: String },
|
|
11322
|
-
spaceForClueMart: { default:
|
|
11341
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11323
11342
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11324
11343
|
},
|
|
11325
11344
|
{ _id: false }
|
|
@@ -11897,4 +11916,4 @@ react/cjs/react.development.js:
|
|
|
11897
11916
|
* LICENSE file in the root directory of this source tree.
|
|
11898
11917
|
*)
|
|
11899
11918
|
*/
|
|
11900
|
-
//# sourceMappingURL=chunk-
|
|
11919
|
+
//# sourceMappingURL=chunk-2W6GLZ2Z.mjs.map
|