Skip to content

Commit 73219b4

Browse files
committedAug 19, 2023
feat: expose all internal types closes #4409
1 parent 8107f31 commit 73219b4

File tree

2 files changed

+7
-33
lines changed

2 files changed

+7
-33
lines changed
 

Diff for: ‎.changeset/polite-buckets-cheat.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vee-validate': patch
3+
---
4+
5+
feat: expose all internal types

Diff for: ‎packages/vee-validate/src/index.ts

+2-33
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,7 @@ export { ErrorMessage } from './ErrorMessage';
99
export { useField, FieldOptions, RuleExpression } from './useField';
1010
export { useForm, FormOptions } from './useForm';
1111
export { useFieldArray } from './useFieldArray';
12-
export {
13-
ValidationResult,
14-
FormActions,
15-
FormState,
16-
FormValidationResult,
17-
FormContext,
18-
FieldState,
19-
FieldContext,
20-
FieldEntry,
21-
FieldArrayContext,
22-
SubmissionContext,
23-
SubmissionHandler,
24-
FieldMeta,
25-
FormMeta,
26-
InvalidSubmissionContext,
27-
InvalidSubmissionHandler,
28-
GenericValidateFunction,
29-
ValidationOptions,
30-
TypedSchema,
31-
TypedSchemaError,
32-
RawFormSchema,
33-
Path,
34-
PublicPathState as PathState,
35-
ComponentBindsConfig,
36-
InputBindsConfig,
37-
LazyComponentBindsConfig,
38-
LazyInputBindsConfig,
39-
FormErrors,
40-
FormErrorBag,
41-
BaseComponentBinds,
42-
BaseInputBinds,
43-
} from './types';
12+
export * from './types';
4413
export { useResetForm } from './useResetForm';
4514
export { useIsFieldDirty } from './useIsFieldDirty';
4615
export { useIsFieldTouched } from './useIsFieldTouched';
@@ -64,4 +33,4 @@ export { useSetFieldValue } from './useSetFieldValue';
6433
export { useSetFormErrors } from './useSetFormErrors';
6534
export { useSetFormTouched } from './useSetFormTouched';
6635
export { useSetFormValues } from './useSetFormValues';
67-
export { FormContextKey, FieldContextKey, IS_ABSENT } from './symbols';
36+
export * from './symbols';

0 commit comments

Comments
 (0)
Please sign in to comment.