Skip to content

feat: align timer API contract#3

Merged
sionsmith merged 1 commit into
mainfrom
feat/timer-api-alignment
Jun 19, 2026
Merged

feat: align timer API contract#3
sionsmith merged 1 commit into
mainfrom
feat/timer-api-alignment

Conversation

@sionsmith

Copy link
Copy Markdown
Contributor

Summary

  • update OpenAPI/generated types for timer sources, replace_running, /stop, and /restart
  • add startTimer, stopTimer, and restartTimer helpers for server-owned running timers
  • preserve API error bodies on KeitoConflictError so callers can inspect running_entry for running_timer_conflict
  • update README and targeted tests

Verification

  • npm run generate
  • npm run test -- tests/resources/time-entries.test.ts tests/core/http.test.ts
  • npm run typecheck
  • npm run test

@sionsmith sionsmith merged commit 4ad313f into main Jun 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant