@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/index.cjs CHANGED
@@ -4405,14 +4405,17 @@ var TESTER_EVENT_FIELDS_FRAGMENT = import_client37.gql`
4405
4405
  frequency
4406
4406
  averageStallCount
4407
4407
  }
4408
- registerMarketsFirstWeek
4409
- inviteAtLeastFiveStallholders
4410
- manageApplicationsAndCommunication
4411
- completeFinalQuestionnaire
4412
- allowMarketingAppearance
4413
- organizerExpectations
4414
- dailyCoordinationNeeds
4415
- interestedInCharityInitiative
4408
+ questionary {
4409
+ allowMarketingAppearance
4410
+ completeFinalQuestionnaire
4411
+ dailyCoordinationNeeds
4412
+ interestedInCharityInitiative
4413
+ inviteAtLeastFiveStallholders
4414
+ manageApplicationsAndCommunication
4415
+ organizerExpectations
4416
+ registerMarketsFirstWeek
4417
+ spaceForClueMart
4418
+ }
4416
4419
  }
4417
4420
  `;
4418
4421
  var TESTER_FIELDS_FRAGMENT = import_client37.gql`
@@ -5751,12 +5754,6 @@ var testerVendorSchema = yup6.object().shape({
5751
5754
  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
5755
  });
5753
5756
  var testerEventSchema = yup6.object().shape({
5754
- allowMarketingAppearance: yup6.boolean().optional(),
5755
- completeFinalQuestionnaire: yup6.boolean().required("Required field"),
5756
- dailyCoordinationNeeds: yup6.string().trim().optional(),
5757
- interestedInCharityInitiative: yup6.boolean().optional(),
5758
- inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
5759
- manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
5760
5757
  markets: yup6.array().of(
5761
5758
  yup6.object().shape({
5762
5759
  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 +5769,17 @@ var testerEventSchema = yup6.object().shape({
5772
5769
  Object.values(OrganizedMarketCount),
5773
5770
  "Please select a valid market count"
5774
5771
  ).required("Organized market count is required"),
5775
- organizerExpectations: yup6.string().trim().optional(),
5776
- registerMarketsFirstWeek: yup6.boolean().required("Required field")
5772
+ questionary: yup6.object().shape({
5773
+ allowMarketingAppearance: yup6.boolean().optional(),
5774
+ completeFinalQuestionnaire: yup6.boolean().required("Required field"),
5775
+ dailyCoordinationNeeds: yup6.string().trim().optional(),
5776
+ interestedInCharityInitiative: yup6.boolean().optional(),
5777
+ inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
5778
+ manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
5779
+ organizerExpectations: yup6.string().trim().optional(),
5780
+ registerMarketsFirstWeek: yup6.boolean().required("Required field"),
5781
+ spaceForClueMart: yup6.boolean().optional()
5782
+ })
5777
5783
  });
5778
5784
  var testerSchema = yup6.object().shape({
5779
5785
  businessName: yup6.string().required("Business name is required"),