Also adds a postForSuccess helper for endpoints shaped
{ "success": true } instead of the usual { "data": ... } envelope
(collections.delete needed it).
9 lines
287 B
Swift
9 lines
287 B
Swift
import Foundation
|
|
|
|
/// A tracked async job — collection/document export runs server-side and
|
|
/// this is the handle to check on it (progress polling isn't wrapped yet).
|
|
public struct OutlineFileOperation: Decodable, Sendable {
|
|
public let id: String
|
|
public let state: String?
|
|
}
|