@timardex/cluemart-server-shared 1.0.56 → 1.0.57
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-B4VLYNG4.mjs} +31 -13
- package/dist/chunk-B4VLYNG4.mjs.map +1 -0
- package/dist/index.cjs +30 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +30 -12
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +30 -12
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +30 -12
- 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
|
@@ -6856,6 +6856,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6856
6856
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6857
6857
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6858
6858
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6859
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6859
6860
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6860
6861
|
return EnumNotificationResourceType22;
|
|
6861
6862
|
})(EnumNotificationResourceType || {});
|
|
@@ -8236,6 +8237,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8236
8237
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8237
8238
|
}
|
|
8238
8239
|
`;
|
|
8240
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8241
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8242
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8243
|
+
}
|
|
8244
|
+
`;
|
|
8239
8245
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8240
8246
|
fragment PosterUsageFields on PosterUsageType {
|
|
8241
8247
|
month
|
|
@@ -10310,21 +10316,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10310
10316
|
}),
|
|
10311
10317
|
requirements: create$3().shape({
|
|
10312
10318
|
electricity: create$3().shape({
|
|
10313
|
-
details: create$6().trim().test(
|
|
10314
|
-
|
|
10315
|
-
|
|
10319
|
+
details: create$6().trim().test(
|
|
10320
|
+
"details-required",
|
|
10321
|
+
"Please add electricity details",
|
|
10322
|
+
function(value) {
|
|
10323
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10324
|
+
}
|
|
10325
|
+
).nullable(),
|
|
10316
10326
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10317
10327
|
}),
|
|
10318
10328
|
gazebo: create$3().shape({
|
|
10319
|
-
details: create$6().trim().test(
|
|
10320
|
-
|
|
10321
|
-
|
|
10329
|
+
details: create$6().trim().test(
|
|
10330
|
+
"details-required",
|
|
10331
|
+
"Please add gazebo details",
|
|
10332
|
+
function(value) {
|
|
10333
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10334
|
+
}
|
|
10335
|
+
).nullable(),
|
|
10322
10336
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10323
10337
|
}),
|
|
10324
10338
|
table: create$3().shape({
|
|
10325
|
-
details: create$6().trim().test(
|
|
10326
|
-
|
|
10327
|
-
|
|
10339
|
+
details: create$6().trim().test(
|
|
10340
|
+
"details-required",
|
|
10341
|
+
"Please add table details",
|
|
10342
|
+
function(value) {
|
|
10343
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10344
|
+
}
|
|
10345
|
+
).nullable(),
|
|
10328
10346
|
isRequired: create$7().required("Table requirement is required")
|
|
10329
10347
|
})
|
|
10330
10348
|
}).optional(),
|
|
@@ -10453,7 +10471,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10453
10471
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10454
10472
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10455
10473
|
organizerExpectations: create$6().trim().optional(),
|
|
10456
|
-
spaceForClueMart: create$7().
|
|
10474
|
+
spaceForClueMart: create$7().optional(),
|
|
10457
10475
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10458
10476
|
}).required("Questionary is required")
|
|
10459
10477
|
});
|
|
@@ -11174,7 +11192,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11174
11192
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11175
11193
|
var NotificationModel = mongoose6.models.Notification || mongoose6.model("Notification", schema3);
|
|
11176
11194
|
|
|
11177
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11195
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
|
|
11178
11196
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11179
11197
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11180
11198
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11340,7 +11358,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11340
11358
|
type: Boolean
|
|
11341
11359
|
},
|
|
11342
11360
|
organizerExpectations: { required: false, type: String },
|
|
11343
|
-
spaceForClueMart: { default:
|
|
11361
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11344
11362
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11345
11363
|
},
|
|
11346
11364
|
{ _id: false }
|