@timardex/cluemart-shared 1.2.90 → 1.2.92
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/{ad-CIaDLRVX.d.ts → ad-Dz2H7DBc.d.ts} +13 -11
- package/dist/{ad-ClzcYPuT.d.mts → ad-lpA7ovDO.d.mts} +13 -11
- package/dist/{chunk-66MS2SVX.mjs → chunk-HDGKA6GS.mjs} +1 -1
- package/dist/chunk-HDGKA6GS.mjs.map +1 -0
- package/dist/graphql/index.cjs +10 -8
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +10 -8
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +16 -14
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +17 -15
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +26 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -11
- package/dist/index.d.ts +13 -11
- package/dist/index.mjs +26 -22
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-66MS2SVX.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -4405,14 +4405,16 @@ var TESTER_EVENT_FIELDS_FRAGMENT = import_client37.gql`
|
|
|
4405
4405
|
frequency
|
|
4406
4406
|
averageStallCount
|
|
4407
4407
|
}
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4408
|
+
questionary {
|
|
4409
|
+
registerMarketsFirstWeek
|
|
4410
|
+
inviteAtLeastFiveStallholders
|
|
4411
|
+
manageApplicationsAndCommunication
|
|
4412
|
+
completeFinalQuestionnaire
|
|
4413
|
+
allowMarketingAppearance
|
|
4414
|
+
organizerExpectations
|
|
4415
|
+
dailyCoordinationNeeds
|
|
4416
|
+
interestedInCharityInitiative
|
|
4417
|
+
}
|
|
4416
4418
|
}
|
|
4417
4419
|
`;
|
|
4418
4420
|
var TESTER_FIELDS_FRAGMENT = import_client37.gql`
|
|
@@ -5724,7 +5726,7 @@ var OrganizerMarketFrequency = /* @__PURE__ */ ((OrganizerMarketFrequency2) => {
|
|
|
5724
5726
|
|
|
5725
5727
|
// src/yupSchema/tester.ts
|
|
5726
5728
|
var testerVendorSchema = yup6.object().shape({
|
|
5727
|
-
categories: categorySchema,
|
|
5729
|
+
categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
5728
5730
|
marketsAttended: yup6.array().of(
|
|
5729
5731
|
yup6.object().shape({
|
|
5730
5732
|
city: yup6.string().trim().required("City is required"),
|
|
@@ -5734,29 +5736,23 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
5734
5736
|
productsOrServices: yup6.string().trim().required("Products or services description is required"),
|
|
5735
5737
|
questionary: yup6.object().shape({
|
|
5736
5738
|
appearInVideoIntroduction: yup6.boolean().optional(),
|
|
5737
|
-
applyToAtLeastOneMarket: yup6.boolean().required("
|
|
5738
|
-
completeFeedbackQuestionnaire: yup6.boolean().required("
|
|
5739
|
+
applyToAtLeastOneMarket: yup6.boolean().required("Required field"),
|
|
5740
|
+
completeFeedbackQuestionnaire: yup6.boolean().required("Required field"),
|
|
5739
5741
|
excitementAboutApp: yup6.string().trim().optional(),
|
|
5740
5742
|
sendPhotoForSocialMedia: yup6.boolean().optional(),
|
|
5741
5743
|
socialMediaFeatureReason: yup6.string().trim().optional(),
|
|
5742
5744
|
testingPeriodConcerns: yup6.string().trim().optional(),
|
|
5743
|
-
tryVisitorFeatures: yup6.boolean().required("
|
|
5744
|
-
uploadStallProfileFirstWeek: yup6.boolean().required("
|
|
5745
|
+
tryVisitorFeatures: yup6.boolean().required("Required field"),
|
|
5746
|
+
uploadStallProfileFirstWeek: yup6.boolean().required("Required field"),
|
|
5745
5747
|
usefulnessExpectations: yup6.string().trim().optional()
|
|
5746
5748
|
}),
|
|
5747
5749
|
sellingFrequency: yup6.mixed().oneOf(
|
|
5748
5750
|
Object.values(VendorSellingFrequency),
|
|
5749
5751
|
"Please select a valid selling frequency"
|
|
5750
|
-
).required("
|
|
5752
|
+
).required("Required field"),
|
|
5751
5753
|
yearlySellingApprox: yup6.number().label("Yearly Selling Approx").min(0, "Yearly selling approximate must be at least 0").integer("Yearly selling approximate must be a whole number").required("Yearly selling approximate is required").test("no-leading-zeros", "", noLeadingZeros("Yearly selling approximate"))
|
|
5752
5754
|
});
|
|
5753
5755
|
var testerEventSchema = yup6.object().shape({
|
|
5754
|
-
allowMarketingAppearance: yup6.boolean().required("Allow marketing appearance is required"),
|
|
5755
|
-
completeFinalQuestionnaire: yup6.boolean().required("Complete final questionnaire commitment is required"),
|
|
5756
|
-
dailyCoordinationNeeds: yup6.string().trim().required("Daily coordination needs is required"),
|
|
5757
|
-
interestedInCharityInitiative: yup6.boolean().required("Interest in charity initiative is required"),
|
|
5758
|
-
inviteAtLeastFiveStallholders: yup6.boolean().required("Invite at least five stallholders commitment is required"),
|
|
5759
|
-
manageApplicationsAndCommunication: yup6.boolean().required("Manage applications and communication commitment is required"),
|
|
5760
5756
|
markets: yup6.array().of(
|
|
5761
5757
|
yup6.object().shape({
|
|
5762
5758
|
averageStallCount: yup6.number().label("Average Stall Count").min(1, "Average stall count must be at least 1").integer("Average stall count must be a whole number").required("Average stall count is required").test("no-leading-zeros", "", noLeadingZeros("Average stall count")),
|
|
@@ -5772,8 +5768,16 @@ var testerEventSchema = yup6.object().shape({
|
|
|
5772
5768
|
Object.values(OrganizedMarketCount),
|
|
5773
5769
|
"Please select a valid market count"
|
|
5774
5770
|
).required("Organized market count is required"),
|
|
5775
|
-
|
|
5776
|
-
|
|
5771
|
+
questionary: yup6.object().shape({
|
|
5772
|
+
allowMarketingAppearance: yup6.boolean().optional(),
|
|
5773
|
+
completeFinalQuestionnaire: yup6.boolean().required("Required field"),
|
|
5774
|
+
dailyCoordinationNeeds: yup6.string().trim().optional(),
|
|
5775
|
+
interestedInCharityInitiative: yup6.boolean().optional(),
|
|
5776
|
+
inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
|
|
5777
|
+
manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
|
|
5778
|
+
organizerExpectations: yup6.string().trim().optional(),
|
|
5779
|
+
registerMarketsFirstWeek: yup6.boolean().required("Required field")
|
|
5780
|
+
})
|
|
5777
5781
|
});
|
|
5778
5782
|
var testerSchema = yup6.object().shape({
|
|
5779
5783
|
businessName: yup6.string().required("Business name is required"),
|