@timardex/cluemart-shared 1.3.33 → 1.3.35
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/graphql/index.cjs +22 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +6 -1
- package/dist/graphql/index.d.ts +6 -1
- package/dist/graphql/index.mjs +21 -1
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +24 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.mjs +23 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.cjs
CHANGED
|
@@ -720,14 +720,14 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
720
720
|
Object.values(VendorSellingFrequency),
|
|
721
721
|
"Please select a valid selling frequency"
|
|
722
722
|
).required("Required field"),
|
|
723
|
-
yearlySellingApprox: yup6.number().transform(
|
|
723
|
+
yearlySellingApprox: yup6.number().nonNullable().transform(
|
|
724
724
|
(value, originalValue) => originalValue === "" ? void 0 : value
|
|
725
725
|
).label("Yearly Selling Approx").min(1, "Yearly selling approximate must be at least 1").integer("Yearly selling approximate must be a whole number").required("Yearly selling approximate is required").test("no-leading-zeros", "", noLeadingZeros("Yearly selling approximate"))
|
|
726
726
|
});
|
|
727
727
|
var testerEventSchema = yup6.object().shape({
|
|
728
728
|
markets: yup6.array().of(
|
|
729
729
|
yup6.object().shape({
|
|
730
|
-
averageStallCount: yup6.number().transform(
|
|
730
|
+
averageStallCount: yup6.number().nonNullable().transform(
|
|
731
731
|
(value, originalValue) => originalValue === "" ? void 0 : value
|
|
732
732
|
).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")),
|
|
733
733
|
cityOrVenue: yup6.string().trim().required("City or venue is required"),
|