Also adds a postForSuccess helper for endpoints shaped
{ "success": true } instead of the usual { "data": ... } envelope
(collections.delete needed it).
10 lines
271 B
Swift
10 lines
271 B
Swift
import Foundation
|
|
|
|
/// A bookmark on a document or collection, shown in the user's sidebar.
|
|
public struct OutlineStar: Decodable, Sendable {
|
|
public let id: String
|
|
public let index: String?
|
|
public let documentId: String?
|
|
public let collectionId: String?
|
|
}
|