summaryrefslogtreecommitdiff
path: root/Hutch/Models
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-01 23:54:01 -0500
committerChristian Cleberg <[email protected]>2026-04-01 23:54:01 -0500
commitfb103fbabd9865f711f5052f63816b35fc259585 (patch)
tree3c6df1bb04c6d1e8e937e5bbc6f75725f5c6d926 /Hutch/Models
parent0bef9acc515cfcb4ac6e2530cd34cbdbc47c2c1d (diff)
downloadhutch-fb103fbabd9865f711f5052f63816b35fc259585.tar.gz
hutch-fb103fbabd9865f711f5052f63816b35fc259585.tar.bz2
hutch-fb103fbabd9865f711f5052f63816b35fc259585.zip
feat: expand user profile in Look Up
Diffstat (limited to 'Hutch/Models')
-rw-r--r--Hutch/Models/User.swift9
1 files changed, 9 insertions, 0 deletions
diff --git a/Hutch/Models/User.swift b/Hutch/Models/User.swift
index a9350a3..625cfdc 100644
--- a/Hutch/Models/User.swift
+++ b/Hutch/Models/User.swift
@@ -3,8 +3,17 @@ import Foundation
/// A Sourcehut user from meta.sr.ht.
struct User: Decodable, Sendable {
let id: Int
+ let created: String?
+ let updated: String?
let username: String
let canonicalName: String
let email: String
+ let url: String?
+ let location: String?
+ let bio: String?
let avatar: String?
+ let pronouns: String?
+ let userType: String?
+ let receivesPaidServices: Bool?
+ let suspensionNotice: String?
}