@timardex/cluemart-server-shared 1.0.36 → 1.0.38
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-IMGD2Z23.mjs → chunk-3HQNZ3KW.mjs} +106 -95
- package/dist/chunk-3HQNZ3KW.mjs.map +1 -0
- package/dist/index.cjs +105 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +105 -94
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +105 -94
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +105 -94
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-IMGD2Z23.mjs.map +0 -1
|
@@ -8199,6 +8199,14 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = gql`
|
|
|
8199
8199
|
}
|
|
8200
8200
|
}
|
|
8201
8201
|
`;
|
|
8202
|
+
var ADMIN_UPDATE_TESTER_MUTATION = gql`
|
|
8203
|
+
mutation adminUpdateTester($input: AdminUpdateTesterInputType!) {
|
|
8204
|
+
adminUpdateTester(input: $input) {
|
|
8205
|
+
_id
|
|
8206
|
+
approved
|
|
8207
|
+
}
|
|
8208
|
+
}
|
|
8209
|
+
`;
|
|
8202
8210
|
var POSTER_USAGE_FIELDS_FRAGMENT = gql`
|
|
8203
8211
|
fragment PosterUsageFields on PosterUsageType {
|
|
8204
8212
|
month
|
|
@@ -8548,6 +8556,97 @@ var GET_EVENT_INFO = gql`
|
|
|
8548
8556
|
}
|
|
8549
8557
|
${EVENT_INFO}
|
|
8550
8558
|
`;
|
|
8559
|
+
var TESTER_VENDOR_FIELDS_FRAGMENT = gql`
|
|
8560
|
+
fragment TesterVendorFields on TesterVendorType {
|
|
8561
|
+
categories {
|
|
8562
|
+
...CategoryFields
|
|
8563
|
+
}
|
|
8564
|
+
productsOrServices
|
|
8565
|
+
marketsAttended {
|
|
8566
|
+
name
|
|
8567
|
+
city
|
|
8568
|
+
}
|
|
8569
|
+
sellingFrequency
|
|
8570
|
+
yearlySellingApprox
|
|
8571
|
+
questionary {
|
|
8572
|
+
uploadStallProfileFirstWeek
|
|
8573
|
+
applyToAtLeastOneMarket
|
|
8574
|
+
tryVisitorFeatures
|
|
8575
|
+
completeFeedbackQuestionnaire
|
|
8576
|
+
sendPhotoForSocialMedia
|
|
8577
|
+
appearInVideoIntroduction
|
|
8578
|
+
socialMediaFeatureReason
|
|
8579
|
+
excitementAboutApp
|
|
8580
|
+
usefulnessExpectations
|
|
8581
|
+
testingPeriodConcerns
|
|
8582
|
+
}
|
|
8583
|
+
}
|
|
8584
|
+
${CATEGORY_FIELDS_FRAGMENT}
|
|
8585
|
+
`;
|
|
8586
|
+
var TESTER_EVENT_FIELDS_FRAGMENT = gql`
|
|
8587
|
+
fragment TesterEventFields on TesterEventType {
|
|
8588
|
+
organizedMarketCount
|
|
8589
|
+
markets {
|
|
8590
|
+
name
|
|
8591
|
+
cityOrVenue
|
|
8592
|
+
frequency
|
|
8593
|
+
averageStallCount
|
|
8594
|
+
}
|
|
8595
|
+
questionary {
|
|
8596
|
+
allowMarketingAppearance
|
|
8597
|
+
completeFinalQuestionnaire
|
|
8598
|
+
dailyCoordinationNeeds
|
|
8599
|
+
interestedInCharityInitiative
|
|
8600
|
+
inviteAtLeastFiveStallholders
|
|
8601
|
+
manageApplicationsAndCommunication
|
|
8602
|
+
organizerExpectations
|
|
8603
|
+
registerMarketsFirstWeek
|
|
8604
|
+
spaceForClueMart
|
|
8605
|
+
}
|
|
8606
|
+
}
|
|
8607
|
+
`;
|
|
8608
|
+
var TESTER_FIELDS_FRAGMENT = gql`
|
|
8609
|
+
fragment TesterFields on TesterType {
|
|
8610
|
+
_id
|
|
8611
|
+
active
|
|
8612
|
+
approved
|
|
8613
|
+
businessName
|
|
8614
|
+
createdAt
|
|
8615
|
+
email
|
|
8616
|
+
firstName
|
|
8617
|
+
lastName
|
|
8618
|
+
mobilePhone
|
|
8619
|
+
osType
|
|
8620
|
+
privacyConsent
|
|
8621
|
+
region
|
|
8622
|
+
resourceType
|
|
8623
|
+
updatedAt
|
|
8624
|
+
vendor {
|
|
8625
|
+
...TesterVendorFields
|
|
8626
|
+
}
|
|
8627
|
+
event {
|
|
8628
|
+
...TesterEventFields
|
|
8629
|
+
}
|
|
8630
|
+
}
|
|
8631
|
+
${TESTER_VENDOR_FIELDS_FRAGMENT}
|
|
8632
|
+
${TESTER_EVENT_FIELDS_FRAGMENT}
|
|
8633
|
+
`;
|
|
8634
|
+
var GET_TESTERS = gql`
|
|
8635
|
+
query getTesters {
|
|
8636
|
+
testers {
|
|
8637
|
+
...TesterFields
|
|
8638
|
+
}
|
|
8639
|
+
}
|
|
8640
|
+
${TESTER_FIELDS_FRAGMENT}
|
|
8641
|
+
`;
|
|
8642
|
+
var GET_TESTER = gql`
|
|
8643
|
+
query getTester($_id: ID!) {
|
|
8644
|
+
tester(_id: $_id) {
|
|
8645
|
+
...TesterFields
|
|
8646
|
+
}
|
|
8647
|
+
}
|
|
8648
|
+
${TESTER_FIELDS_FRAGMENT}
|
|
8649
|
+
`;
|
|
8551
8650
|
var VENDOR_LOCATION_FIELDS_FRAGMENT = gql`
|
|
8552
8651
|
fragment VendorLocationFields on VendorLocationType {
|
|
8553
8652
|
city
|
|
@@ -9324,96 +9423,6 @@ var UPDATE_VENDOR_INFO_MUTATION = gql`
|
|
|
9324
9423
|
}
|
|
9325
9424
|
${VENDOR_INFO}
|
|
9326
9425
|
`;
|
|
9327
|
-
var TESTER_VENDOR_FIELDS_FRAGMENT = gql`
|
|
9328
|
-
fragment TesterVendorFields on TesterVendorType {
|
|
9329
|
-
categories {
|
|
9330
|
-
...CategoryFields
|
|
9331
|
-
}
|
|
9332
|
-
productsOrServices
|
|
9333
|
-
marketsAttended {
|
|
9334
|
-
name
|
|
9335
|
-
city
|
|
9336
|
-
}
|
|
9337
|
-
sellingFrequency
|
|
9338
|
-
yearlySellingApprox
|
|
9339
|
-
questionary {
|
|
9340
|
-
uploadStallProfileFirstWeek
|
|
9341
|
-
applyToAtLeastOneMarket
|
|
9342
|
-
tryVisitorFeatures
|
|
9343
|
-
completeFeedbackQuestionnaire
|
|
9344
|
-
sendPhotoForSocialMedia
|
|
9345
|
-
appearInVideoIntroduction
|
|
9346
|
-
socialMediaFeatureReason
|
|
9347
|
-
excitementAboutApp
|
|
9348
|
-
usefulnessExpectations
|
|
9349
|
-
testingPeriodConcerns
|
|
9350
|
-
}
|
|
9351
|
-
}
|
|
9352
|
-
${CATEGORY_FIELDS_FRAGMENT}
|
|
9353
|
-
`;
|
|
9354
|
-
var TESTER_EVENT_FIELDS_FRAGMENT = gql`
|
|
9355
|
-
fragment TesterEventFields on TesterEventType {
|
|
9356
|
-
organizedMarketCount
|
|
9357
|
-
markets {
|
|
9358
|
-
name
|
|
9359
|
-
cityOrVenue
|
|
9360
|
-
frequency
|
|
9361
|
-
averageStallCount
|
|
9362
|
-
}
|
|
9363
|
-
questionary {
|
|
9364
|
-
registerMarketsFirstWeek
|
|
9365
|
-
inviteAtLeastFiveStallholders
|
|
9366
|
-
manageApplicationsAndCommunication
|
|
9367
|
-
completeFinalQuestionnaire
|
|
9368
|
-
allowMarketingAppearance
|
|
9369
|
-
organizerExpectations
|
|
9370
|
-
dailyCoordinationNeeds
|
|
9371
|
-
interestedInCharityInitiative
|
|
9372
|
-
}
|
|
9373
|
-
}
|
|
9374
|
-
`;
|
|
9375
|
-
var TESTER_FIELDS_FRAGMENT = gql`
|
|
9376
|
-
fragment TesterFields on TesterType {
|
|
9377
|
-
_id
|
|
9378
|
-
active
|
|
9379
|
-
approved
|
|
9380
|
-
businessName
|
|
9381
|
-
createdAt
|
|
9382
|
-
email
|
|
9383
|
-
firstName
|
|
9384
|
-
lastName
|
|
9385
|
-
mobilePhone
|
|
9386
|
-
osType
|
|
9387
|
-
privacyConsent
|
|
9388
|
-
region
|
|
9389
|
-
resourceType
|
|
9390
|
-
updatedAt
|
|
9391
|
-
vendor {
|
|
9392
|
-
...TesterVendorFields
|
|
9393
|
-
}
|
|
9394
|
-
event {
|
|
9395
|
-
...TesterEventFields
|
|
9396
|
-
}
|
|
9397
|
-
}
|
|
9398
|
-
${TESTER_VENDOR_FIELDS_FRAGMENT}
|
|
9399
|
-
${TESTER_EVENT_FIELDS_FRAGMENT}
|
|
9400
|
-
`;
|
|
9401
|
-
var GET_TESTERS = gql`
|
|
9402
|
-
query getTesters {
|
|
9403
|
-
testers {
|
|
9404
|
-
...TesterFields
|
|
9405
|
-
}
|
|
9406
|
-
}
|
|
9407
|
-
${TESTER_FIELDS_FRAGMENT}
|
|
9408
|
-
`;
|
|
9409
|
-
var GET_TESTER = gql`
|
|
9410
|
-
query getTester($_id: ID!) {
|
|
9411
|
-
tester(_id: $_id) {
|
|
9412
|
-
...TesterFields
|
|
9413
|
-
}
|
|
9414
|
-
}
|
|
9415
|
-
${TESTER_FIELDS_FRAGMENT}
|
|
9416
|
-
`;
|
|
9417
9426
|
var CREATE_TESTER_MUTATION = gql`
|
|
9418
9427
|
mutation createTester($input: TesterInputType!) {
|
|
9419
9428
|
createTester(input: $input) {
|
|
@@ -10114,7 +10123,7 @@ var testerVendorSchema = create$3().shape({
|
|
|
10114
10123
|
Object.values(VendorSellingFrequency),
|
|
10115
10124
|
"Please select a valid selling frequency"
|
|
10116
10125
|
).required("Required field"),
|
|
10117
|
-
yearlySellingApprox: create$5().label("Yearly Selling Approx").min(
|
|
10126
|
+
yearlySellingApprox: create$5().label("Yearly Selling Approx").min(1, "Yearly selling approximate must be at least 1").integer("Yearly selling approximate must be a whole number").required("Yearly selling approximate is required").test("no-leading-zeros", "", noLeadingZeros("Yearly selling approximate"))
|
|
10118
10127
|
});
|
|
10119
10128
|
var testerEventSchema = create$3().shape({
|
|
10120
10129
|
markets: create$2().of(
|
|
@@ -10140,7 +10149,8 @@ var testerEventSchema = create$3().shape({
|
|
|
10140
10149
|
inviteAtLeastFiveStallholders: create$7().required("Required field"),
|
|
10141
10150
|
manageApplicationsAndCommunication: create$7().required("Required field"),
|
|
10142
10151
|
organizerExpectations: create$6().trim().optional(),
|
|
10143
|
-
registerMarketsFirstWeek: create$7().required("Required field")
|
|
10152
|
+
registerMarketsFirstWeek: create$7().required("Required field"),
|
|
10153
|
+
spaceForClueMart: create$7().optional()
|
|
10144
10154
|
})
|
|
10145
10155
|
});
|
|
10146
10156
|
var testerSchema = create$3().shape({
|
|
@@ -10921,7 +10931,7 @@ var TesterVendorSchema = new MongooseSchema9(
|
|
|
10921
10931
|
applyToAtLeastOneMarket: { required: true, type: Boolean },
|
|
10922
10932
|
completeFeedbackQuestionnaire: { required: true, type: Boolean },
|
|
10923
10933
|
excitementAboutApp: { required: false, type: String },
|
|
10924
|
-
sendPhotoForSocialMedia: { required:
|
|
10934
|
+
sendPhotoForSocialMedia: { required: false, type: Boolean },
|
|
10925
10935
|
socialMediaFeatureReason: { required: false, type: String },
|
|
10926
10936
|
testingPeriodConcerns: { required: false, type: String },
|
|
10927
10937
|
tryVisitorFeatures: { required: true, type: Boolean },
|
|
@@ -10970,7 +10980,8 @@ var TesterEventsSchema = new MongooseSchema9(
|
|
|
10970
10980
|
inviteAtLeastFiveStallholders: { required: true, type: Boolean },
|
|
10971
10981
|
manageApplicationsAndCommunication: { required: true, type: Boolean },
|
|
10972
10982
|
organizerExpectations: { required: false, type: String },
|
|
10973
|
-
registerMarketsFirstWeek: { required: true, type: Boolean }
|
|
10983
|
+
registerMarketsFirstWeek: { required: true, type: Boolean },
|
|
10984
|
+
spaceForClueMart: { required: false, type: Boolean }
|
|
10974
10985
|
}
|
|
10975
10986
|
}
|
|
10976
10987
|
},
|
|
@@ -11454,4 +11465,4 @@ react/cjs/react.development.js:
|
|
|
11454
11465
|
* LICENSE file in the root directory of this source tree.
|
|
11455
11466
|
*)
|
|
11456
11467
|
*/
|
|
11457
|
-
//# sourceMappingURL=chunk-
|
|
11468
|
+
//# sourceMappingURL=chunk-3HQNZ3KW.mjs.map
|