watchOS Account profile page

This commit is contained in:
2025-10-30 00:26:32 +08:00
parent 44c5d91620
commit e2369c40db
13 changed files with 572 additions and 4 deletions

View File

@@ -213,3 +213,20 @@ struct ActivityResponse {
let hasMore: Bool
let nextCursor: String?
}
struct SnAccount: Codable {
let id: String
let name: String
let nick: String
let profile: SnUserProfile
let createdAt: Date
}
struct SnUserProfile: Codable {
let bio: String?
let picture: SnCloudFile?
let background: SnCloudFile?
let level: Int
let experience: Int
let levelingProgress: Double
}