diff --git a/src/Helpers/TypeDefinitionWriter.php b/src/Helpers/TypeDefinitionWriter.php index d82c164..44a13de 100644 --- a/src/Helpers/TypeDefinitionWriter.php +++ b/src/Helpers/TypeDefinitionWriter.php @@ -17,6 +17,10 @@ public function format(TypesCollection $collection): string ->replace(search: 'Flavorly.InertiaFlash.', replace: '') ->replace(search: 'Flavorly.LaravelHelpers.', replace: '') ->replace(search: 'App.Data', replace: 'Data') + ->replace(search: 'App.Enums', replace: 'Enums') + ->replace(search: 'App.Requests', replace: 'Requests') + ->replace(search: 'App.Responses', replace: 'Responses') + ->replace(search: 'App.Views', replace: 'Views') ->replace(search: 'Domain.', replace: '') ->replace(search: 'Modules.', replace: '') ->replace(search: '.Data', replace: '')