@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.cjs
CHANGED
|
@@ -6906,6 +6906,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6906
6906
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6907
6907
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6908
6908
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6909
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6909
6910
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6910
6911
|
return EnumNotificationResourceType22;
|
|
6911
6912
|
})(EnumNotificationResourceType || {});
|
|
@@ -8286,6 +8287,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8286
8287
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8287
8288
|
}
|
|
8288
8289
|
`;
|
|
8290
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8291
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8292
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8293
|
+
}
|
|
8294
|
+
`;
|
|
8289
8295
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8290
8296
|
fragment PosterUsageFields on PosterUsageType {
|
|
8291
8297
|
month
|
|
@@ -10360,21 +10366,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10360
10366
|
}),
|
|
10361
10367
|
requirements: create$3().shape({
|
|
10362
10368
|
electricity: create$3().shape({
|
|
10363
|
-
details: create$6().trim().test(
|
|
10364
|
-
|
|
10365
|
-
|
|
10369
|
+
details: create$6().trim().test(
|
|
10370
|
+
"details-required",
|
|
10371
|
+
"Please add electricity details",
|
|
10372
|
+
function(value) {
|
|
10373
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10374
|
+
}
|
|
10375
|
+
).nullable(),
|
|
10366
10376
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10367
10377
|
}),
|
|
10368
10378
|
gazebo: create$3().shape({
|
|
10369
|
-
details: create$6().trim().test(
|
|
10370
|
-
|
|
10371
|
-
|
|
10379
|
+
details: create$6().trim().test(
|
|
10380
|
+
"details-required",
|
|
10381
|
+
"Please add gazebo details",
|
|
10382
|
+
function(value) {
|
|
10383
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10384
|
+
}
|
|
10385
|
+
).nullable(),
|
|
10372
10386
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10373
10387
|
}),
|
|
10374
10388
|
table: create$3().shape({
|
|
10375
|
-
details: create$6().trim().test(
|
|
10376
|
-
|
|
10377
|
-
|
|
10389
|
+
details: create$6().trim().test(
|
|
10390
|
+
"details-required",
|
|
10391
|
+
"Please add table details",
|
|
10392
|
+
function(value) {
|
|
10393
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10394
|
+
}
|
|
10395
|
+
).nullable(),
|
|
10378
10396
|
isRequired: create$7().required("Table requirement is required")
|
|
10379
10397
|
})
|
|
10380
10398
|
}).optional(),
|
|
@@ -10503,7 +10521,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10503
10521
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10504
10522
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10505
10523
|
organizerExpectations: create$6().trim().optional(),
|
|
10506
|
-
spaceForClueMart: create$7().
|
|
10524
|
+
spaceForClueMart: create$7().optional(),
|
|
10507
10525
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10508
10526
|
}).required("Questionary is required")
|
|
10509
10527
|
});
|
|
@@ -11224,7 +11242,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11224
11242
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11225
11243
|
var NotificationModel = import_mongoose6.default.models.Notification || import_mongoose6.default.model("Notification", schema3);
|
|
11226
11244
|
|
|
11227
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11245
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
|
|
11228
11246
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11229
11247
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11230
11248
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11390,7 +11408,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11390
11408
|
type: Boolean
|
|
11391
11409
|
},
|
|
11392
11410
|
organizerExpectations: { required: false, type: String },
|
|
11393
|
-
spaceForClueMart: { default:
|
|
11411
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11394
11412
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11395
11413
|
},
|
|
11396
11414
|
{ _id: false }
|