Download this file
| 1 | import Foundation |
| 2 | |
| 3 | /// GET /d/{sqid}/share as JSON (share.go, renderShare). |
| 4 | struct DocsShareInformation: Decodable, Equatable { |
| 5 | let sqid: String |
| 6 | let title: String |
| 7 | let grants: [DocsShareGrant] |
| 8 | let published: Bool |
| 9 | /// The once-only URL, only in the answer that follows the publish that made it. |
| 10 | let public_url: String |
| 11 | /// "team" or "private"; absent from servers before the team rung. |
| 12 | var visibility: String? |
| 13 | let error: String |
| 14 | } |
| 15 | |