@timardex/cluemart-shared 1.5.560 → 1.5.561

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
1
+ import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
2
  import * as _apollo_client from '@apollo/client';
3
3
  import dayjs from 'dayjs';
4
4
 
@@ -593,7 +593,7 @@ interface CreateFormData<T extends FieldValues> {
593
593
  reset: UseFormReset<T>;
594
594
  setValue: UseFormSetValue<T>;
595
595
  watch: UseFormWatch<T>;
596
- getValues: () => T;
596
+ getValues: UseFormGetValues<T>;
597
597
  }
598
598
 
599
599
  declare const vendorBasicInfoFields: FormField[];
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
1
+ import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
2
  import * as _apollo_client from '@apollo/client';
3
3
  import dayjs from 'dayjs';
4
4
 
@@ -593,7 +593,7 @@ interface CreateFormData<T extends FieldValues> {
593
593
  reset: UseFormReset<T>;
594
594
  setValue: UseFormSetValue<T>;
595
595
  watch: UseFormWatch<T>;
596
- getValues: () => T;
596
+ getValues: UseFormGetValues<T>;
597
597
  }
598
598
 
599
599
  declare const vendorBasicInfoFields: FormField[];