oficina / docs Public

Clone
git clone https://amadan.net/oficina/docs

Plain git — no account needed to clone.

Download

Download this file

1import Foundation
2struct DocumentSummary: Decodable, Identifiable, Sendable {
3 let sqid: String
4 let title: String
5 var shared: Bool?
6 var updated_at: String?
7 var thumbnail: DocumentThumbnailData?
8 var id: String { sqid }
9}
10struct DocumentList: Decodable, Sendable { let documents: [DocumentSummary]; let can_create: Bool }
11struct DocumentDetail: Codable, Sendable {
12 let sqid: String
13 let title: String
14 let guid: String
15 let can_write: Bool
16 let can_share: Bool
17}
18