Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(entity-generator): output type import statements for type only co…
…re imports (#5317) Helps transpilers and bundlers to more efficiently strip out types. --------- Co-authored-by: Martin Adámek <banan23@gmail.com>
- Loading branch information
Showing
18 changed files
with
758 additions
and
748 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const POSSIBLE_TYPE_IMPORTS = [ | ||
'DefineConfig', | ||
'Hidden', | ||
'Opt', | ||
'Ref', | ||
'EntityRef', | ||
'ScalarRef', | ||
'Rel', | ||
] as const; |
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
Oops, something went wrong.