BillTracker/services
null 005b0b7b64 refactor(server): migrate 10 services to TypeScript (.cts)
Continues the incremental server TS migration (after utils/*.mts and
paymentValidation.cts): converts 10 services to .cts (CommonJS TypeScript,
run natively via Node type-stripping — no build step), type-checked by
tsconfig.server.json.

Migrated: totpService, amountSuggestionService, encryptionService,
paymentAccountingService, statusService, aprService, driftService,
analyticsService, spendingService, billMerchantRuleService.

- types/db.d.ts: shared minimal better-sqlite3 Db/Statement types (the lib
  ships none), reused across the migrated modules.
- Every require of a migrated service updated to the explicit .cts extension
  (extensionless require does not resolve .cts) across routes / services /
  db migrations / server.js / workers / tests — require-only changes.
- package.json: check:server find pattern now includes *.cts (it silently
  skipped .cts before, so paymentValidation.cts had no node --check gate).

Behavior-preserving (types only). Verified: typecheck:server 0,
check:server 0, full server suite 226/226, real boot → /api/health 200.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 10:35:29 -05:00
..
advisoryFilterService.js feat: advisory non-bill transaction filter system (batch 0.33.8.0) 2026-05-29 18:06:12 -05:00
amountSuggestionService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
analyticsService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
aprService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
auditService.js v0.20.6: Audit logging for critical operations 2026-05-10 00:03:12 -05:00
authService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
backupScheduler.js feat(roadmap): size grid from populated lanes + db cleanup fixes 2026-05-30 13:04:27 -05:00
backupService.js feat: Payoff Custom mode, Summary reordering, unifed billing schedule, SimpleFIN + backup fixes (batch v0.34.1.3) 2026-05-30 21:20:51 -05:00
bankSyncConfigService.js fix(bank-sync): admin config, matching, and worker updates 2026-06-07 19:41:17 -05:00
bankSyncService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
bankSyncWorker.js fix(bank-sync): transaction matching, services, and worker updates 2026-06-07 20:07:27 -05:00
billMerchantRuleService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
billsService.js feat(server-ts): utils/dates → TypeScript (.mts); utils/ dir now TS (Phase 2) 2026-07-05 13:48:44 -05:00
calendarFeedService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
cleanupService.js fix(qa): retention GC orphaned matched transactions on bill purge (QA-B5-04) 2026-07-03 11:04:59 -05:00
csvTransactionImportService.js feat(import): OFX/QFX transaction import (Batch 3) 2026-07-03 15:11:59 -05:00
driftService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
encryptionService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
loginFingerprint.js v0.28.0 2026-05-15 22:45:38 -05:00
matchSuggestionService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
merchantStoreMatchService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
notificationService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
ofxImportService.js feat(import): OFX/QFX transaction import (Batch 3) 2026-07-03 15:11:59 -05:00
oidcService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
paymentAccountingService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
paymentValidation.cts feat(server-ts): paymentValidation → .cts, proving the CJS-module path (Phase 2) 2026-07-05 13:51:37 -05:00
simplefinService.js feat(auth): add per-username rate limiter, migrate dates to local-time utils (batch 0.38.1) 2026-06-10 19:42:51 -05:00
snowballService.js feat(server-ts): migrate the money boundary to TypeScript on Node's native runtime (Phase 2) 2026-07-05 13:44:04 -05:00
spendingService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
spreadsheetImportService.js feat(server-ts): migrate the money boundary to TypeScript on Node's native runtime (Phase 2) 2026-07-05 13:44:04 -05:00
statusRuntime.js perf: worker N+1 batching, status runtime DB persistence, 'use strict' 2026-06-04 21:32:28 -05:00
statusService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
subscriptionService.js feat(server-ts): utils/dates → TypeScript (.mts); utils/ dir now TS (Phase 2) 2026-07-05 13:48:44 -05:00
totpService.cts refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
trackerService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
transactionMatchService.js refactor(server): migrate 10 services to TypeScript (.cts) 2026-07-06 10:35:29 -05:00
transactionMatchState.js refactor(match): one canonical writer for transaction match state (IMP-CODE-03) 2026-07-03 13:02:10 -05:00
transactionService.js fix(bank-sync): transaction matching, services, and worker updates 2026-06-07 20:07:27 -05:00
updateCheckService.js fix(qa): version check is opt-out-able (QA-B16-01) 2026-07-03 10:05:37 -05:00
userDataService.js feat(data): "Erase my data" danger zone (Batch 5) 2026-07-03 15:21:07 -05:00
userDbImportService.js fix(brand): finish the "BillTracker" → "Bill Tracker" rename (display copy) 2026-07-05 17:31:14 -05:00
userSettings.js feat(tracker): persist Overdue/Drift panel collapse + inline hide 2026-07-06 10:34:39 -05:00
webauthnService.js security: WebAuthn / FIDO2 hardware security key 2FA 2026-06-05 22:05:23 -05:00