@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/mongoose/index.cjs
CHANGED
|
@@ -6899,6 +6899,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6899
6899
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6900
6900
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6901
6901
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6902
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6902
6903
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6903
6904
|
return EnumNotificationResourceType22;
|
|
6904
6905
|
})(EnumNotificationResourceType || {});
|
|
@@ -8279,6 +8280,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8279
8280
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8280
8281
|
}
|
|
8281
8282
|
`;
|
|
8283
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8284
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8285
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8286
|
+
}
|
|
8287
|
+
`;
|
|
8282
8288
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8283
8289
|
fragment PosterUsageFields on PosterUsageType {
|
|
8284
8290
|
month
|
|
@@ -10353,21 +10359,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10353
10359
|
}),
|
|
10354
10360
|
requirements: create$3().shape({
|
|
10355
10361
|
electricity: create$3().shape({
|
|
10356
|
-
details: create$6().trim().test(
|
|
10357
|
-
|
|
10358
|
-
|
|
10362
|
+
details: create$6().trim().test(
|
|
10363
|
+
"details-required",
|
|
10364
|
+
"Please add electricity details",
|
|
10365
|
+
function(value) {
|
|
10366
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10367
|
+
}
|
|
10368
|
+
).nullable(),
|
|
10359
10369
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10360
10370
|
}),
|
|
10361
10371
|
gazebo: create$3().shape({
|
|
10362
|
-
details: create$6().trim().test(
|
|
10363
|
-
|
|
10364
|
-
|
|
10372
|
+
details: create$6().trim().test(
|
|
10373
|
+
"details-required",
|
|
10374
|
+
"Please add gazebo details",
|
|
10375
|
+
function(value) {
|
|
10376
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10377
|
+
}
|
|
10378
|
+
).nullable(),
|
|
10365
10379
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10366
10380
|
}),
|
|
10367
10381
|
table: create$3().shape({
|
|
10368
|
-
details: create$6().trim().test(
|
|
10369
|
-
|
|
10370
|
-
|
|
10382
|
+
details: create$6().trim().test(
|
|
10383
|
+
"details-required",
|
|
10384
|
+
"Please add table details",
|
|
10385
|
+
function(value) {
|
|
10386
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10387
|
+
}
|
|
10388
|
+
).nullable(),
|
|
10371
10389
|
isRequired: create$7().required("Table requirement is required")
|
|
10372
10390
|
})
|
|
10373
10391
|
}).optional(),
|
|
@@ -10496,7 +10514,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10496
10514
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10497
10515
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10498
10516
|
organizerExpectations: create$6().trim().optional(),
|
|
10499
|
-
spaceForClueMart: create$7().
|
|
10517
|
+
spaceForClueMart: create$7().optional(),
|
|
10500
10518
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10501
10519
|
}).required("Questionary is required")
|
|
10502
10520
|
});
|
|
@@ -11217,7 +11235,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11217
11235
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11218
11236
|
var NotificationModel = import_mongoose6.default.models.Notification || import_mongoose6.default.model("Notification", schema3);
|
|
11219
11237
|
|
|
11220
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11238
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
|
|
11221
11239
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11222
11240
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11223
11241
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11383,7 +11401,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11383
11401
|
type: Boolean
|
|
11384
11402
|
},
|
|
11385
11403
|
organizerExpectations: { required: false, type: String },
|
|
11386
|
-
spaceForClueMart: { default:
|
|
11404
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11387
11405
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11388
11406
|
},
|
|
11389
11407
|
{ _id: false }
|