diff --git a/.changeset/polite-buckets-cheat.md b/.changeset/polite-buckets-cheat.md new file mode 100644 index 000000000..bdc62f503 --- /dev/null +++ b/.changeset/polite-buckets-cheat.md @@ -0,0 +1,5 @@ +--- +'vee-validate': patch +--- + +feat: expose all internal types diff --git a/packages/vee-validate/src/index.ts b/packages/vee-validate/src/index.ts index 6616b1f38..0085d6b6f 100644 --- a/packages/vee-validate/src/index.ts +++ b/packages/vee-validate/src/index.ts @@ -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'; @@ -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';