Skip to content

Commit

Permalink
feat: expose all internal types closes #4409
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Aug 19, 2023
1 parent 8107f31 commit 73219b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 33 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-buckets-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vee-validate': patch
---

feat: expose all internal types
35 changes: 2 additions & 33 deletions packages/vee-validate/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,7 @@ export { ErrorMessage } from './ErrorMessage';
export { useField, FieldOptions, RuleExpression } from './useField';
export { useForm, FormOptions } from './useForm';
export { useFieldArray } from './useFieldArray';
export {
ValidationResult,
FormActions,
FormState,
FormValidationResult,
FormContext,
FieldState,
FieldContext,
FieldEntry,
FieldArrayContext,
SubmissionContext,
SubmissionHandler,
FieldMeta,
FormMeta,
InvalidSubmissionContext,
InvalidSubmissionHandler,
GenericValidateFunction,
ValidationOptions,
TypedSchema,
TypedSchemaError,
RawFormSchema,
Path,
PublicPathState as PathState,
ComponentBindsConfig,
InputBindsConfig,
LazyComponentBindsConfig,
LazyInputBindsConfig,
FormErrors,
FormErrorBag,
BaseComponentBinds,
BaseInputBinds,
} from './types';
export * from './types';
export { useResetForm } from './useResetForm';
export { useIsFieldDirty } from './useIsFieldDirty';
export { useIsFieldTouched } from './useIsFieldTouched';
Expand All @@ -64,4 +33,4 @@ export { useSetFieldValue } from './useSetFieldValue';
export { useSetFormErrors } from './useSetFormErrors';
export { useSetFormTouched } from './useSetFormTouched';
export { useSetFormValues } from './useSetFormValues';
export { FormContextKey, FieldContextKey, IS_ABSENT } from './symbols';
export * from './symbols';

0 comments on commit 73219b4

Please sign in to comment.