@timardex/cluemart-shared 1.3.29 → 1.3.30
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/hooks/index.cjs +10 -10
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +10 -10
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.cjs
CHANGED
|
@@ -700,14 +700,14 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
700
700
|
productsOrServices: yup6.string().trim().required("Products or services description is required"),
|
|
701
701
|
questionary: yup6.object().shape({
|
|
702
702
|
appearInVideoIntroduction: yup6.boolean().optional(),
|
|
703
|
-
applyToAtLeastOneMarket: yup6.boolean().
|
|
704
|
-
completeFeedbackQuestionnaire: yup6.boolean().
|
|
703
|
+
applyToAtLeastOneMarket: yup6.boolean().oneOf([true], "This field is required"),
|
|
704
|
+
completeFeedbackQuestionnaire: yup6.boolean().oneOf([true], "This field is required"),
|
|
705
705
|
excitementAboutApp: yup6.string().trim().optional(),
|
|
706
706
|
sendPhotoForSocialMedia: yup6.boolean().optional(),
|
|
707
707
|
socialMediaFeatureReason: yup6.string().trim().optional(),
|
|
708
708
|
testingPeriodConcerns: yup6.string().trim().optional(),
|
|
709
|
-
tryVisitorFeatures: yup6.boolean().
|
|
710
|
-
uploadStallProfileFirstWeek: yup6.boolean().
|
|
709
|
+
tryVisitorFeatures: yup6.boolean().oneOf([true], "This field is required"),
|
|
710
|
+
uploadStallProfileFirstWeek: yup6.boolean().oneOf([true], "This field is required"),
|
|
711
711
|
usefulnessExpectations: yup6.string().trim().optional()
|
|
712
712
|
}),
|
|
713
713
|
sellingFrequency: yup6.mixed().oneOf(
|
|
@@ -734,15 +734,15 @@ var testerEventSchema = yup6.object().shape({
|
|
|
734
734
|
).required("Organized market count is required"),
|
|
735
735
|
questionary: yup6.object().shape({
|
|
736
736
|
allowMarketingAppearance: yup6.boolean().optional(),
|
|
737
|
-
completeFinalQuestionnaire: yup6.boolean().
|
|
738
|
-
completeMarketProfileFirstWeek: yup6.boolean().
|
|
737
|
+
completeFinalQuestionnaire: yup6.boolean().oneOf([true], "This field is required"),
|
|
738
|
+
completeMarketProfileFirstWeek: yup6.boolean().oneOf([true], "This field is required"),
|
|
739
739
|
dailyCoordinationNeeds: yup6.string().trim().optional(),
|
|
740
740
|
interestedInCharityInitiative: yup6.boolean().optional(),
|
|
741
|
-
inviteStallholders: yup6.boolean().
|
|
742
|
-
manageApplicationsAndCommunication: yup6.boolean().
|
|
741
|
+
inviteStallholders: yup6.boolean().oneOf([true], "This field is required"),
|
|
742
|
+
manageApplicationsAndCommunication: yup6.boolean().oneOf([true], "This field is required"),
|
|
743
743
|
organizerExpectations: yup6.string().trim().optional(),
|
|
744
|
-
spaceForClueMart: yup6.boolean().
|
|
745
|
-
uploadStallList: yup6.boolean().
|
|
744
|
+
spaceForClueMart: yup6.boolean().oneOf([true], "This field is required"),
|
|
745
|
+
uploadStallList: yup6.boolean().oneOf([true], "This field is required")
|
|
746
746
|
})
|
|
747
747
|
});
|
|
748
748
|
var testerSchema = yup6.object().shape({
|