feat(types): simplify the EmigrateReporter interface by removing the "remove" specific methods

This commit is contained in:
Joakim Carlstein 2024-01-26 15:05:06 +01:00 committed by Joakim Carlstein
parent f2d4bb346e
commit 94ad9feae9
2 changed files with 12 additions and 22 deletions

View 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.