BillTracker/docs
null 35a0e4262e feat(db): Kysely typed-SQL POC — sync builder, proven parity (Pillar E)
De-risks the flagship. The app is synchronous (better-sqlite3) but Kysely
executes async, so db/kysely.cts uses Kysely as a TYPE-SAFE BUILDER only:
build the query (columns + user_id/deleted_at scoping + types checked at
compile time), `.compile()`, then run via sync helpers (all/get/run) on the
shared connection. No async ripple, no change to the sync model.

- Schema typed for `categories` (extend as adopted).
- tests/kyselyPoc.test.js proves byte-identical rows vs the raw SQL and
  that compiled SQL is parameterized (injection-safe).
- Pattern documented in CODE_STANDARDS; adopt for new/refactored queries;
  it type-enforces user-scoping (the biggest data-isolation win) and
  removes Row=any at the call site.

typecheck:server + check:server clean; 248/248 server tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 16:23:50 -05:00
..
images docs: update user-guide index with recent features (bank status, notifications, cash flow, batch import, merchant rules) 2026-06-04 03:14:54 -05:00
Authentik-Integration.md push 2026-05-09 13:03:36 -05:00
BRAND.md Add complete brand asset pack 2026-07-06 12:54:29 -05:00
CODE_STANDARDS.md feat(db): Kysely typed-SQL POC — sync builder, proven parity (Pillar E) 2026-07-06 16:23:50 -05:00
CSRF-SPA-Setup.md v0.28.0 2026-05-15 22:45:38 -05:00
Engineering_Reference_Manual.md docs(reference): document v0.41.0 Track A/B/C/D in engineering manual 2026-07-05 12:32:02 -05:00
Engineering_Reference_promp.md push 2026-05-09 13:03:36 -05:00
QA_PLAN.md docs(qa): retarget QA_PLAN recon/census to .tsx after the TS migration 2026-07-05 11:06:15 -05:00
RATE_LIMITING_ENHANCEMENT.md push 2026-05-09 13:03:36 -05:00
ROADMAP_REDESIGN_PLAN.md v0.28.0 2026-05-15 22:45:38 -05:00
ROADMAP_UI_AUDIT.md v0.25.0: roadmap redesign, import CSRF fix, AdminDashboard removed 2026-05-11 21:42:36 -05:00
UI_IMPROVEMENTS.md push 2026-05-09 13:03:36 -05:00
advisory_non_bill_transaction_filters_us_ms_5000.json feat: advisory non-bill transaction filter system (batch 0.33.8.0) 2026-05-29 18:06:12 -05:00
cents-migration-plan.md feat(money): migrate services to cent-exact money.js helpers (batch 0.38.3) 2026-06-10 20:14:13 -05:00
merchant_store_match_us_nems_online_5k_v0_2.json feat(banking): bank transactions page with merchant/store matching, transaction matching refactor, bank sync improvements (batch 0.40.0) 2026-06-14 15:15:31 -05:00
top_200_us_subscriptions.csv chore: bump to v0.34.1.1, Claude.ai catalog seed, subscription fixes 2026-05-30 17:57:34 -05:00
top_200_us_subscriptions_researched_2026-06-06.json feat(subscriptions): simplified SubscriptionsPage, inline actions, improved matching card, Service Catalog route 2026-06-06 22:09:34 -05:00