|
17 | 17 | use InfyOm\Generator\Generators\Scaffold\RequestGenerator;
|
18 | 18 | use InfyOm\Generator\Generators\Scaffold\RoutesGenerator;
|
19 | 19 | use InfyOm\Generator\Generators\Scaffold\ViewGenerator;
|
20 |
| -use InfyOm\Generator\Generators\VueJs\ControllerGenerator as VueJsControllerGenerator; |
21 |
| -use InfyOm\Generator\Generators\VueJs\ModelJsConfigGenerator; |
22 |
| -use InfyOm\Generator\Generators\VueJs\RoutesGenerator as VueJsRoutesGenerator; |
23 |
| -use InfyOm\Generator\Generators\VueJs\ViewGenerator as VueJsViewGenerator; |
24 | 20 | use Symfony\Component\Console\Input\InputArgument;
|
25 | 21 | use Symfony\Component\Console\Input\InputOption;
|
26 | 22 |
|
@@ -71,7 +67,6 @@ public function handle()
|
71 | 67 | CommandData::$COMMAND_TYPE_API,
|
72 | 68 | CommandData::$COMMAND_TYPE_SCAFFOLD,
|
73 | 69 | CommandData::$COMMAND_TYPE_API_SCAFFOLD,
|
74 |
| - CommandData::$COMMAND_TYPE_VUEJS, |
75 | 70 | ])) {
|
76 | 71 | $this->error('invalid rollback type');
|
77 | 72 | }
|
@@ -123,18 +118,6 @@ public function handle()
|
123 | 118 | $routeGenerator = new RoutesGenerator($this->commandData);
|
124 | 119 | $routeGenerator->rollback();
|
125 | 120 |
|
126 |
| - $controllerGenerator = new VueJsControllerGenerator($this->commandData); |
127 |
| - $controllerGenerator->rollback(); |
128 |
| - |
129 |
| - $routesGenerator = new VueJsRoutesGenerator($this->commandData); |
130 |
| - $routesGenerator->rollback(); |
131 |
| - |
132 |
| - $viewGenerator = new VueJsViewGenerator($this->commandData); |
133 |
| - $viewGenerator->rollback(); |
134 |
| - |
135 |
| - $modelJsConfigGenerator = new ModelJsConfigGenerator($this->commandData); |
136 |
| - $modelJsConfigGenerator->rollback(); |
137 |
| - |
138 | 121 | if ($this->commandData->getAddOn('tests')) {
|
139 | 122 | $repositoryTestGenerator = new RepositoryTestGenerator($this->commandData);
|
140 | 123 | $repositoryTestGenerator->rollback();
|
|
0 commit comments