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

  • add calendar and desktop time-entry source enum values
  • add replace_running plus start_timer, stop_timer, and restart_timer helpers for sync and async clients
  • validate started_time and ended_time as HH:mm workspace-time strings
  • update README and targeted sync/async tests

Verification

  • .venv/bin/pytest tests/test_time_entries.py tests/test_async_resources.py
  • .venv/bin/ruff check src/keito/resources/time_entries.py src/keito/types/time_entry.py tests/test_time_entries.py tests/test_async_resources.py
  • .venv/bin/mypy src/keito/resources/time_entries.py src/keito/types/time_entry.py
  • .venv/bin/pytest

@sionsmith sionsmith merged commit 0d9fd90 into main Jun 19, 2026
6 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