Files
Outpost/OutlineKit/Sources/OutlineKit/Models/OutlineFileOperation.swift
T
Puranjay Savar Mattas 7f921ba006 feat(outlinekit): add collection delete, export, and star endpoints
Also adds a postForSuccess helper for endpoints shaped
{ "success": true } instead of the usual { "data": ... } envelope
(collections.delete needed it).
2026-08-14 00:56:23 +01:00

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?
}