summaryrefslogtreecommitdiff
path: root/Hutch/Models
diff options
context:
space:
mode:
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?
}