Skip to content

Conversation

gnapse
Copy link
Contributor

@gnapse gnapse commented Oct 7, 2025

Summary

  • Adds searchCompletedTasks() method to support the /api/v1/completed/search endpoint
  • Allows searching completed tasks by query string with pagination support

Changes

  • Added ENDPOINT_REST_TASKS_COMPLETED_SEARCH constant
  • Added SearchCompletedTasksArgs type with query, cursor, and limit parameters
  • Implemented searchCompletedTasks() method in TodoistApi class
  • Added comprehensive unit tests (3 test cases)

Test plan

  • Unit tests pass (28/28 tests passing)
  • TypeScript builds successfully
  • Manual testing against production API

🤖 Generated with Claude Code

@gnapse gnapse requested a review from scottlovegrove October 7, 2025 13:31
@gnapse gnapse self-assigned this Oct 7, 2025
Co-Authored-By: Claude <noreply@anthropic.com>
@gnapse gnapse force-pushed the add-search-completed-tasks branch from 5eeb222 to e67b445 Compare October 7, 2025 13:32
@gnapse gnapse merged commit d33e119 into main Oct 7, 2025
1 check passed
@gnapse gnapse deleted the add-search-completed-tasks branch October 7, 2025 13:40
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.

2 participants