diff options
| author | Christian Cleberg <[email protected]> | 2026-04-01 11:36:01 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-01 11:37:35 -0500 |
| commit | 7b59ee6098c4649a51cafe4b58e3a675567e2c08 (patch) | |
| tree | 3ec7aa3c843c13d24a164d89f1d724ac48d2210a /Hutch/Models | |
| parent | 3f03c433a7435e283244e94f09bd513bd45f3202 (diff) | |
| download | hutch-7b59ee6098c4649a51cafe4b58e3a675567e2c08.tar.gz hutch-7b59ee6098c4649a51cafe4b58e3a675567e2c08.tar.bz2 hutch-7b59ee6098c4649a51cafe4b58e3a675567e2c08.zip | |
feat: add multi-account supportv2.6.0
Implements: https://todo.sr.ht/~ccleberg/Hutch/11
Diffstat (limited to 'Hutch/Models')
| -rw-r--r-- | Hutch/Models/AccountEntry.swift | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Hutch/Models/AccountEntry.swift b/Hutch/Models/AccountEntry.swift new file mode 100644 index 0000000..551cd19 --- /dev/null +++ b/Hutch/Models/AccountEntry.swift @@ -0,0 +1,8 @@ +import Foundation + +/// A stored sr.ht account (token + resolved username). +struct AccountEntry: Codable, Identifiable, Equatable, Sendable { + let id: String + var username: String + var token: String +} |
