mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 15:12:35 -05:00
[AI] Restore bank-factory glob to ./banks/*_*.{ts,js}
Re-apply the glob widening originally added in145868f9d. It was reverted in531b1a191because the desktop e2e was failing — that failure is now traced to the rebuild-electron breakage (fixed in6e8ac0784), not to this glob. Mirroring migrations.ts so future TS bank handlers are picked up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import IntegrationBank from './banks/integration-bank';
|
||||
|
||||
// Filename convention: <name>_<bic>.js (skips bank.interface, integration-bank,
|
||||
// and any other helper without an underscore).
|
||||
const bankLoaders = import.meta.glob('./banks/*_*.js');
|
||||
// Filename convention: <name>_<bic>.{ts,js} (skips bank.interface,
|
||||
// integration-bank, and any other helper without an underscore).
|
||||
const bankLoaders = import.meta.glob('./banks/*_*.{ts,js}');
|
||||
|
||||
async function loadBanks() {
|
||||
const imports = await Promise.all(
|
||||
|
||||
Reference in New Issue
Block a user