-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: exports collection field hook types from payload/types
- Loading branch information
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
export * from './dist/types'; | ||
|
||
export { PayloadCollectionConfig as CollectionConfig } from './dist/collections/config/types'; | ||
export { | ||
PayloadCollectionConfig as CollectionConfig, | ||
BeforeOperationHook as CollectionBeforeOperationHook, | ||
BeforeValidateHook as CollectionBeforeValidateHook, | ||
BeforeChangeHook as CollectionBeforeChangeHook, | ||
AfterChangeHook as CollectionAfterChangeHook, | ||
BeforeReadHook as CollectionBeforeReadHook, | ||
BeforeDeleteHook as CollectionBeforeDeleteHook, | ||
AfterDeleteHook as CollectionAfterDeleteHook, | ||
BeforeLoginHook as CollectionBeforeLoginHook, | ||
AfterLoginHook as CollectionAfterLoginHook, | ||
AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, | ||
} from './dist/collections/config/types'; | ||
|
||
export { PayloadGlobalConfig as GlobalConfig } from './dist/globals/config/types'; | ||
export { Field, FieldHook, RichTextCustomElement, RichTextCustomLeaf, Block } from './dist/fields/config/types'; | ||
export { Field, FieldHook, FieldAccess, RichTextCustomElement, RichTextCustomLeaf, Block } from './dist/fields/config/types'; |