Skip to content

Conversation

@CDRussell
Copy link
Member

@CDRussell CDRussell commented Dec 11, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1212393987995393?focus=true

Description

Updates Sync APIs to support deletions.

This PR adds data classes and callbacks to support deletions, but otherwise doesn't make any functional changes.

Steps to test this PR


Note

Introduce deletion support to the sync API via new models and a manager interface with success/error callbacks.

  • Sync API:
    • New Interface: DeletableDataManager with getDeletions(), getType(), and callbacks onSuccess(SyncDeletionResponse) / onError(SyncErrorResponse).
    • New Models: SyncDeletionRequest and SyncDeletionResponse (optional untilTimestamp) for deletion operations.

Written by Cursor Bugbot for commit ab4b982. This will update automatically on new commits. Configure here.

Copy link
Member Author

CDRussell commented Dec 11, 2025

@CDRussell CDRussell force-pushed the feature/craig/api_changes_for_syncing_duck_chat_deletions branch 3 times, most recently from 54b8050 to 06dea1c Compare December 12, 2025 17:38
@CDRussell CDRussell force-pushed the feature/craig/api_changes_for_syncing_duck_chat_deletions branch from 06dea1c to 1dfedc6 Compare December 15, 2025 12:16
@CDRussell CDRussell marked this pull request as ready for review December 15, 2025 12:17
@CDRussell CDRussell force-pushed the feature/craig/api_changes_for_syncing_duck_chat_deletions branch from 1dfedc6 to 90905ef Compare December 16, 2025 12:37
@CDRussell CDRussell force-pushed the feature/craig/api_changes_for_syncing_duck_chat_deletions branch from 90905ef to ab4b982 Compare December 17, 2025 15:14
@CDRussell CDRussell merged commit b1fd8d9 into develop Dec 18, 2025
9 checks passed
@CDRussell CDRussell deleted the feature/craig/api_changes_for_syncing_duck_chat_deletions branch December 18, 2025 11:06
cursor bot pushed a commit that referenced this pull request Dec 19, 2025
Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1212393987995393?focus=true 

### Description
Updates Sync APIs to support _deletions_. 

This PR adds data classes and callbacks to support deletions, but otherwise doesn't make any functional changes. 

### Steps to test this PR
- qa optional
- Check changes against [API change: New sync engine interfaces for handling deletions](https://app.asana.com/1/137249556945/task/1212392279082571)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Introduce deletion support to the sync API via new models and a manager interface with success/error callbacks.
> 
> - **Sync API**:
>   - **New Interface**: `DeletableDataManager` with `getDeletions()`, `getType()`, and callbacks `onSuccess(SyncDeletionResponse)` / `onError(SyncErrorResponse)`.
>   - **New Models**: `SyncDeletionRequest` and `SyncDeletionResponse` (optional `untilTimestamp`) for deletion operations.
> 
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit ab4b982. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants