Files
Komediruzecki ce0561e5f3 feat(imports): an import log keeps the bank formats its session read
Migration 0038 adds import_logs.bank_formats (TEXT, nullable, no default): the adapter ids of the
statements an import read, joined by commas, in a column of their own because both runtimes cut
details at 8000 characters. Every writer goes through storedBankFormats (shared/bankFormats.ts),
which keeps the ids the import reads, each once, and drops any other.

POST /api/import-logs stores them in both runtimes; the Import page sends the recognised
statements' formats from the Bank Imports tab and none from the other tabs. /api/v1/import names
the adapter that read the file. The email import and the Google Sheet sync read plain tables and
write null. Local-first lists a log from before the column with bank_formats null, as the Worker
answers. Nothing reads the column yet.
2026-10-11 22:03:03 +02:00
..