@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
|
@@ -6835,6 +6835,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6835
6835
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6836
6836
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6837
6837
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6838
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6838
6839
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6839
6840
|
return EnumNotificationResourceType22;
|
|
6840
6841
|
})(EnumNotificationResourceType || {});
|
|
@@ -8215,6 +8216,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8215
8216
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8216
8217
|
}
|
|
8217
8218
|
`;
|
|
8219
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8220
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8221
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8222
|
+
}
|
|
8223
|
+
`;
|
|
8218
8224
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8219
8225
|
fragment PosterUsageFields on PosterUsageType {
|
|
8220
8226
|
month
|
|
@@ -10289,21 +10295,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10289
10295
|
}),
|
|
10290
10296
|
requirements: create$3().shape({
|
|
10291
10297
|
electricity: create$3().shape({
|
|
10292
|
-
details: create$6().trim().test(
|
|
10293
|
-
|
|
10294
|
-
|
|
10298
|
+
details: create$6().trim().test(
|
|
10299
|
+
"details-required",
|
|
10300
|
+
"Please add electricity details",
|
|
10301
|
+
function(value) {
|
|
10302
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10303
|
+
}
|
|
10304
|
+
).nullable(),
|
|
10295
10305
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10296
10306
|
}),
|
|
10297
10307
|
gazebo: create$3().shape({
|
|
10298
|
-
details: create$6().trim().test(
|
|
10299
|
-
|
|
10300
|
-
|
|
10308
|
+
details: create$6().trim().test(
|
|
10309
|
+
"details-required",
|
|
10310
|
+
"Please add gazebo details",
|
|
10311
|
+
function(value) {
|
|
10312
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10313
|
+
}
|
|
10314
|
+
).nullable(),
|
|
10301
10315
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10302
10316
|
}),
|
|
10303
10317
|
table: create$3().shape({
|
|
10304
|
-
details: create$6().trim().test(
|
|
10305
|
-
|
|
10306
|
-
|
|
10318
|
+
details: create$6().trim().test(
|
|
10319
|
+
"details-required",
|
|
10320
|
+
"Please add table details",
|
|
10321
|
+
function(value) {
|
|
10322
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10323
|
+
}
|
|
10324
|
+
).nullable(),
|
|
10307
10325
|
isRequired: create$7().required("Table requirement is required")
|
|
10308
10326
|
})
|
|
10309
10327
|
}).optional(),
|
|
@@ -10432,7 +10450,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10432
10450
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10433
10451
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10434
10452
|
organizerExpectations: create$6().trim().optional(),
|
|
10435
|
-
spaceForClueMart: create$7().
|
|
10453
|
+
spaceForClueMart: create$7().optional(),
|
|
10436
10454
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10437
10455
|
}).required("Questionary is required")
|
|
10438
10456
|
});
|
|
@@ -11153,7 +11171,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11153
11171
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11154
11172
|
var NotificationModel = mongoose6.models.Notification || mongoose6.model("Notification", schema3);
|
|
11155
11173
|
|
|
11156
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11174
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
|
|
11157
11175
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11158
11176
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11159
11177
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11319,7 +11337,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11319
11337
|
type: Boolean
|
|
11320
11338
|
},
|
|
11321
11339
|
organizerExpectations: { required: false, type: String },
|
|
11322
|
-
spaceForClueMart: { default:
|
|
11340
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11323
11341
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11324
11342
|
},
|
|
11325
11343
|
{ _id: false }
|
|
@@ -11897,4 +11915,4 @@ react/cjs/react.development.js:
|
|
|
11897
11915
|
* LICENSE file in the root directory of this source tree.
|
|
11898
11916
|
*)
|
|
11899
11917
|
*/
|
|
11900
|
-
//# sourceMappingURL=chunk-
|
|
11918
|
+
//# sourceMappingURL=chunk-B4VLYNG4.mjs.map
|