oficina / sheets Public

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

Plain git — no account needed to clone.

Download

Download this file

1#if os(macOS)
2import SwiftUI
3public struct SheetsAccountActions {
4 public let accounts: (() -> Void)?
5 public let signOut: () -> Void
6 public let canManage: Bool
7 public let canSignOut: Bool
8 /// "Use another Oficina ID", and the menu's words, for an Oficina ID.
9 public var useAnother: (() -> Void)? = nil
10 public var accountsLabel: String? = nil
11 public var signOutLabel: String? = nil
12}
13extension FocusedValues { @Entry public var sheetsAccountActions: SheetsAccountActions? }
14#endif
15