@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.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -6897,6 +6897,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6897
6897
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6898
6898
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6899
6899
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6900
|
+
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6900
6901
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6901
6902
|
return EnumNotificationResourceType22;
|
|
6902
6903
|
})(EnumNotificationResourceType || {});
|
|
@@ -8277,6 +8278,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
8277
8278
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
8278
8279
|
}
|
|
8279
8280
|
`;
|
|
8281
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
8282
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
8283
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
8284
|
+
}
|
|
8285
|
+
`;
|
|
8280
8286
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8281
8287
|
fragment PosterUsageFields on PosterUsageType {
|
|
8282
8288
|
month
|
|
@@ -10351,21 +10357,33 @@ var vendorInfoSchema = create$3().shape({
|
|
|
10351
10357
|
}),
|
|
10352
10358
|
requirements: create$3().shape({
|
|
10353
10359
|
electricity: create$3().shape({
|
|
10354
|
-
details: create$6().trim().test(
|
|
10355
|
-
|
|
10356
|
-
|
|
10360
|
+
details: create$6().trim().test(
|
|
10361
|
+
"details-required",
|
|
10362
|
+
"Please add electricity details",
|
|
10363
|
+
function(value) {
|
|
10364
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10365
|
+
}
|
|
10366
|
+
).nullable(),
|
|
10357
10367
|
isRequired: create$7().required("Electricity requirement is required")
|
|
10358
10368
|
}),
|
|
10359
10369
|
gazebo: create$3().shape({
|
|
10360
|
-
details: create$6().trim().test(
|
|
10361
|
-
|
|
10362
|
-
|
|
10370
|
+
details: create$6().trim().test(
|
|
10371
|
+
"details-required",
|
|
10372
|
+
"Please add gazebo details",
|
|
10373
|
+
function(value) {
|
|
10374
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10375
|
+
}
|
|
10376
|
+
).nullable(),
|
|
10363
10377
|
isRequired: create$7().required("Gazebo requirement is required")
|
|
10364
10378
|
}),
|
|
10365
10379
|
table: create$3().shape({
|
|
10366
|
-
details: create$6().trim().test(
|
|
10367
|
-
|
|
10368
|
-
|
|
10380
|
+
details: create$6().trim().test(
|
|
10381
|
+
"details-required",
|
|
10382
|
+
"Please add table details",
|
|
10383
|
+
function(value) {
|
|
10384
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
10385
|
+
}
|
|
10386
|
+
).nullable(),
|
|
10369
10387
|
isRequired: create$7().required("Table requirement is required")
|
|
10370
10388
|
})
|
|
10371
10389
|
}).optional(),
|
|
@@ -10494,7 +10512,7 @@ var testerEventSchema = create$3().shape({
|
|
|
10494
10512
|
inviteStallholders: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10495
10513
|
manageApplicationsAndCommunication: create$7().required("This field is required").oneOf([true], "This field is required"),
|
|
10496
10514
|
organizerExpectations: create$6().trim().optional(),
|
|
10497
|
-
spaceForClueMart: create$7().
|
|
10515
|
+
spaceForClueMart: create$7().optional(),
|
|
10498
10516
|
uploadStallList: create$7().required("This field is required").oneOf([true], "This field is required")
|
|
10499
10517
|
}).required("Questionary is required")
|
|
10500
10518
|
});
|
|
@@ -10782,7 +10800,7 @@ async function saveNotificationsInDb(payload) {
|
|
|
10782
10800
|
// src/service/sendPushNotifications.ts
|
|
10783
10801
|
var import_expo_server_sdk = require("expo-server-sdk");
|
|
10784
10802
|
|
|
10785
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10803
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
|
|
10786
10804
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
10787
10805
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
10788
10806
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -11515,7 +11533,7 @@ var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
|
11515
11533
|
type: Boolean
|
|
11516
11534
|
},
|
|
11517
11535
|
organizerExpectations: { required: false, type: String },
|
|
11518
|
-
spaceForClueMart: { default:
|
|
11536
|
+
spaceForClueMart: { default: false, required: false, type: Boolean },
|
|
11519
11537
|
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11520
11538
|
},
|
|
11521
11539
|
{ _id: false }
|