@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.
@@ -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
- organizerExpectations: yup6.string().trim().optional(),
741
- registerMarketsFirstWeek: yup6.boolean().required("Required field")
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"),