@timardex/cluemart-shared 1.2.91 → 1.2.93
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-Dc3Cdtpm.d.ts → ad-BAdLwWe8.d.ts} +14 -11
- package/dist/{ad-B89WhTMq.d.mts → ad-B_E4DMtS.d.mts} +14 -11
- package/dist/{chunk-VK2BLRBY.mjs → chunk-BK3ZTKW7.mjs} +1 -1
- package/dist/chunk-BK3ZTKW7.mjs.map +1 -0
- package/dist/graphql/index.cjs +11 -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 +11 -8
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +11 -8
- 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 +12 -9
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +22 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -11
- package/dist/index.d.ts +14 -11
- package/dist/index.mjs +22 -16
- 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-VK2BLRBY.mjs.map +0 -1
package/dist/hooks/index.cjs
CHANGED
|
@@ -716,12 +716,6 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
716
716
|
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"))
|
|
717
717
|
});
|
|
718
718
|
var testerEventSchema = yup6.object().shape({
|
|
719
|
-
allowMarketingAppearance: yup6.boolean().optional(),
|
|
720
|
-
completeFinalQuestionnaire: yup6.boolean().required("Required field"),
|
|
721
|
-
dailyCoordinationNeeds: yup6.string().trim().optional(),
|
|
722
|
-
interestedInCharityInitiative: yup6.boolean().optional(),
|
|
723
|
-
inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
|
|
724
|
-
manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
|
|
725
719
|
markets: yup6.array().of(
|
|
726
720
|
yup6.object().shape({
|
|
727
721
|
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")),
|
|
@@ -737,8 +731,17 @@ var testerEventSchema = yup6.object().shape({
|
|
|
737
731
|
Object.values(OrganizedMarketCount),
|
|
738
732
|
"Please select a valid market count"
|
|
739
733
|
).required("Organized market count is required"),
|
|
740
|
-
|
|
741
|
-
|
|
734
|
+
questionary: yup6.object().shape({
|
|
735
|
+
allowMarketingAppearance: yup6.boolean().optional(),
|
|
736
|
+
completeFinalQuestionnaire: yup6.boolean().required("Required field"),
|
|
737
|
+
dailyCoordinationNeeds: yup6.string().trim().optional(),
|
|
738
|
+
interestedInCharityInitiative: yup6.boolean().optional(),
|
|
739
|
+
inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
|
|
740
|
+
manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
|
|
741
|
+
organizerExpectations: yup6.string().trim().optional(),
|
|
742
|
+
registerMarketsFirstWeek: yup6.boolean().required("Required field"),
|
|
743
|
+
spaceForClueMart: yup6.boolean().optional()
|
|
744
|
+
})
|
|
742
745
|
});
|
|
743
746
|
var testerSchema = yup6.object().shape({
|
|
744
747
|
businessName: yup6.string().required("Business name is required"),
|