//
//  DeltaSyncFormat.swift
//  Ascently
//
//  Delta sync structures for incremental data synchronization
//

import Foundation

struct DeltaSyncRequest: Codable {
    let lastSyncTime: String
    let gyms: [BackupGym]
    let problems: [BackupProblem]
    let sessions: [BackupClimbSession]
    let attempts: [BackupAttempt]
    let deletedItems: [DeletedItem]
}

struct DeltaSyncResponse: Codable {
    let serverTime: String
    let gyms: [BackupGym]
    let problems: [BackupProblem]
    let sessions: [BackupClimbSession]
    let attempts: [BackupAttempt]
    let deletedItems: [DeletedItem]
}
