@timardex/cluemart-shared 1.3.15 → 1.3.16

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.
@@ -44,7 +44,7 @@ __export(hooks_exports, {
44
44
  useLocationSearch: () => useLocationSearch,
45
45
  useLoginForm: () => useLoginForm,
46
46
  usePartnerForm: () => usePartnerForm,
47
- usePostform: () => usePostform,
47
+ usePostForm: () => usePostForm,
48
48
  useRegisterForm: () => useRegisterForm,
49
49
  useRequestPasswordResetForm: () => useRequestPasswordResetForm,
50
50
  useResetPasswordForm: () => useResetPasswordForm,
@@ -908,7 +908,11 @@ var videoContentSchema = yup9.object({
908
908
  });
909
909
  var listContentSchema = yup9.object({
910
910
  list: yup9.object({
911
- items: yup9.array().of(yup9.string().required()).min(1, "List must contain at least one item").required(),
911
+ items: yup9.array().of(
912
+ yup9.object({
913
+ text: yup9.string().required("List item text is required")
914
+ })
915
+ ).min(1, "List must contain at least one item").required(),
912
916
  title: yup9.string().optional()
913
917
  }).required()
914
918
  });
@@ -2011,7 +2015,7 @@ var defaultValues10 = {
2011
2015
  tags: [],
2012
2016
  title: ""
2013
2017
  };
2014
- function usePostform(data) {
2018
+ function usePostForm(data) {
2015
2019
  const {
2016
2020
  control,
2017
2021
  formState: { errors },
@@ -2070,7 +2074,7 @@ function usePostform(data) {
2070
2074
  useLocationSearch,
2071
2075
  useLoginForm,
2072
2076
  usePartnerForm,
2073
- usePostform,
2077
+ usePostForm,
2074
2078
  useRegisterForm,
2075
2079
  useRequestPasswordResetForm,
2076
2080
  useResetPasswordForm,