| 125 | } |
| 126 | |
| 127 | export interface SyncResponse { |
| 128 | success: boolean; |
| 129 | message?: string; |
| 130 | lastSync?: string; |
| 131 | error?: string; |
| 132 | details?: string; |
| 133 | } |
| 134 | |
| 135 | export async function triggerSync(): Promise<SyncResponse> { |
| 136 | return apiRequest<SyncResponse>('/storage/sync', { |
nothing calls this directly
no outgoing calls
no test coverage detected