summaryrefslogtreecommitdiff
path: root/Hutch/Models
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-01 11:36:01 -0500
committerChristian Cleberg <[email protected]>2026-04-01 11:37:35 -0500
commit7b59ee6098c4649a51cafe4b58e3a675567e2c08 (patch)
tree3ec7aa3c843c13d24a164d89f1d724ac48d2210a /Hutch/Models
parent3f03c433a7435e283244e94f09bd513bd45f3202 (diff)
downloadhutch-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.swift8
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
+}