Skip to main content

Module sync_types

Module sync_types 

Source
Expand description

Typed DTOs for cloud sync API (Go server).

These replace the previous stringly-typed /api/sync/pull, /api/sync/push endpoints with the current team-scoped, integer-versioned API.

Structsยง

PatternChange
A single change in a push request.
PatternPayload
RemotePattern
A single remote pattern in a pull response.
SyncPullResponse
Response from GET /api/v1/core/teams/{id}/sync/pull?since={v}
SyncPushRequest
Request body for POST /api/v1/core/teams/{id}/sync/push
SyncPushResponse
Response from POST /api/v1/core/teams/{id}/sync/push
WorkflowListResponse
Response from GET /api/v1/workflows