Pull the StartMigration -> Migrate -> FinishMigration orchestration out of the v1 echo handlers into handler.RunFileMigration and csv.RunMigration so the v2 API can reuse the exact same business logic. v1 is refactored onto them and stays byte-identical on the wire. Also tag the CSV detect/preview/config DTOs with doc:/enum: so they carry descriptions in the v2 OpenAPI schema (ignored by v1 swaggo/xorm). |
||
|---|---|---|
| .. | ||
| csv | ||
| handler | ||
| microsoft-todo | ||
| ticktick | ||
| todoist | ||
| trello | ||
| vikunja-file | ||
| wekan | ||
| create_from_structure.go | ||
| create_from_structure_test.go | ||
| db.go | ||
| errors.go | ||
| helpers.go | ||
| helpers_test.go | ||
| main_test.go | ||
| migration_status.go | ||
| migrator.go | ||
| testimage.jpg | ||