@timardex/cluemart-shared 1.2.87 → 1.2.88
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-DOKicc6e.d.ts → ad-CIaDLRVX.d.ts} +4 -4
- package/dist/{ad-Cnah2g5Z.d.mts → ad-ClzcYPuT.d.mts} +4 -4
- package/dist/{chunk-74DMNP4I.mjs → chunk-66MS2SVX.mjs} +1 -1
- package/dist/chunk-66MS2SVX.mjs.map +1 -0
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/hooks/index.cjs +7 -7
- 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 +8 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +7 -7
- 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-74DMNP4I.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -5733,16 +5733,16 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
5733
5733
|
).min(1, "At least one market must be provided").required("Markets attended are required"),
|
|
5734
5734
|
productsOrServices: yup6.string().trim().required("Products or services description is required"),
|
|
5735
5735
|
questionary: yup6.object().shape({
|
|
5736
|
-
appearInVideoIntroduction: yup6.boolean().
|
|
5736
|
+
appearInVideoIntroduction: yup6.boolean().optional(),
|
|
5737
5737
|
applyToAtLeastOneMarket: yup6.boolean().required("Apply to at least one market commitment is required"),
|
|
5738
5738
|
completeFeedbackQuestionnaire: yup6.boolean().required("Complete feedback questionnaire commitment is required"),
|
|
5739
|
-
excitementAboutApp: yup6.string().trim().
|
|
5740
|
-
sendPhotoForSocialMedia: yup6.boolean().
|
|
5739
|
+
excitementAboutApp: yup6.string().trim().optional(),
|
|
5740
|
+
sendPhotoForSocialMedia: yup6.boolean().optional(),
|
|
5741
5741
|
socialMediaFeatureReason: yup6.string().trim().optional(),
|
|
5742
5742
|
testingPeriodConcerns: yup6.string().trim().optional(),
|
|
5743
5743
|
tryVisitorFeatures: yup6.boolean().required("Try visitor features commitment is required"),
|
|
5744
5744
|
uploadStallProfileFirstWeek: yup6.boolean().required("Upload stall profile first week commitment is required"),
|
|
5745
|
-
usefulnessExpectations: yup6.string().trim().
|
|
5745
|
+
usefulnessExpectations: yup6.string().trim().optional()
|
|
5746
5746
|
}),
|
|
5747
5747
|
sellingFrequency: yup6.mixed().oneOf(
|
|
5748
5748
|
Object.values(VendorSellingFrequency),
|
|
@@ -5781,7 +5781,7 @@ var testerSchema = yup6.object().shape({
|
|
|
5781
5781
|
event: yup6.object().when("resourceType", {
|
|
5782
5782
|
is: (resourceType) => resourceType === "event" /* EVENT */,
|
|
5783
5783
|
otherwise: (schema) => schema.nullable().optional(),
|
|
5784
|
-
then: () => testerEventSchema
|
|
5784
|
+
then: () => testerEventSchema
|
|
5785
5785
|
}),
|
|
5786
5786
|
firstName: yup6.string().required("First name is required"),
|
|
5787
5787
|
lastName: yup6.string().required("Last name is required"),
|
|
@@ -5792,7 +5792,7 @@ var testerSchema = yup6.object().shape({
|
|
|
5792
5792
|
// skip empty values
|
|
5793
5793
|
),
|
|
5794
5794
|
osType: yup6.mixed().oneOf(Object.values(EnumOSPlatform), "Please select Android or iOS").required("OS Type is required"),
|
|
5795
|
-
privacyConsent: yup6.boolean().oneOf([true], "You must accept the
|
|
5795
|
+
privacyConsent: yup6.boolean().oneOf([true], "You must accept the Privacy Policy").required("Privacy consent is required"),
|
|
5796
5796
|
region: yup6.string().required("Region is required"),
|
|
5797
5797
|
resourceType: yup6.mixed().oneOf(
|
|
5798
5798
|
Object.values(EnumResourceType),
|
|
@@ -5801,7 +5801,7 @@ var testerSchema = yup6.object().shape({
|
|
|
5801
5801
|
vendor: yup6.object().when("resourceType", {
|
|
5802
5802
|
is: (resourceType) => resourceType === "vendor" /* VENDOR */,
|
|
5803
5803
|
otherwise: (schema) => schema.nullable().optional(),
|
|
5804
|
-
then: () => testerVendorSchema
|
|
5804
|
+
then: () => testerVendorSchema
|
|
5805
5805
|
})
|
|
5806
5806
|
});
|
|
5807
5807
|
|