diff --git a/resources/js/types/transaction.ts b/resources/js/types/transaction.ts index 76c78bff..2ef49b6a 100644 --- a/resources/js/types/transaction.ts +++ b/resources/js/types/transaction.ts @@ -3,7 +3,12 @@ import { type Category } from './category'; import { type Label } from './label'; import { UUID } from './uuid'; -export type TransactionSource = 'manually_created' | 'imported'; +// Mirrors App\Enums\TransactionSource (PHP). Keep both in sync. +export type TransactionSource = + | 'manually_created' + | 'imported' + | 'enablebanking' + | 'wise'; export type CategorySource = 'manual' | 'rule' | 'ai' | 'bank';