refactor: expose tbank-sync public api and guard its boundary (WealthLedger/backend#118) #143

Merged
codex-bot merged 1 commits from refactor/118-expose-tbank-sync-api into develop 2026-10-28 16:40:02 +03:00
Owner

Closes #118

  • New tbank-sync.api.ts exporting only hourlyAttempt and TbankSyncRepository (what portfolio, operations, brokerage-accounts, upcoming-events use).
  • import-x/no-restricted-paths zone: outside tbank-sync/, only tbank-sync.api, .dto, .module, -repository.module are importable (tests excluded). Separate rule, so layer-specific no-restricted-imports configs are not overridden.
  • DI and HTTP endpoints unchanged (backend#64 untouched).

Checks: lint (negative check: reverting one import fails lint), typecheck, unit tests, openapi:check.

Closes #118 - New `tbank-sync.api.ts` exporting only `hourlyAttempt` and `TbankSyncRepository` (what portfolio, operations, brokerage-accounts, upcoming-events use). - `import-x/no-restricted-paths` zone: outside `tbank-sync/`, only `tbank-sync.api`, `.dto`, `.module`, `-repository.module` are importable (tests excluded). Separate rule, so layer-specific `no-restricted-imports` configs are not overridden. - DI and HTTP endpoints unchanged (backend#64 untouched). Checks: lint (negative check: reverting one import fails lint), typecheck, unit tests, `openapi:check`.
ksv741 added 1 commit 2026-10-28 16:27:03 +03:00
refactor: expose tbank-sync public api and guard its boundary (WealthLedger/backend#118)
Backend verify / commits (pull_request) Successful in 30s
Backend verify / security (pull_request) Successful in 10s
Backend verify / verify (pull_request) Successful in 5m21s
7df5782ce5
ksv741 force-pushed refactor/118-expose-tbank-sync-api from bb49d8d825 to 7df5782ce5 2026-10-28 16:27:03 +03:00 Compare
codex-bot scheduled this pull request to auto merge when all checks succeed 2026-10-28 16:34:21 +03:00
codex-bot merged commit 5295945ab2 into develop 2026-10-28 16:40:02 +03:00
codex-bot deleted branch refactor/118-expose-tbank-sync-api 2026-10-28 16:40:03 +03:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/backend#143