feat(types): simplify the EmigrateReporter interface by removing the "remove" specific methods
This commit is contained in:
parent
f2d4bb346e
commit
94ad9feae9
2 changed files with 12 additions and 22 deletions
5
.changeset/eleven-files-love.md
Normal file
5
.changeset/eleven-files-love.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/types': minor
|
||||
---
|
||||
|
||||
Remove the "remove" command specific reporter methods. So instead of using `onMigrationRemoveStart`, `onMigrationRemoveSuccess` and `onMigrationRemoveError` the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` methods should be used and the reporter can still format the output differently depending on the current command (which it receives in the `onInit` method). This is a BREAKING CHANGE.
|
||||
Loading…
Add table
Add a link
Reference in a new issue