Initial commit: nightly iOS app + Supabase backend
iOS SwiftUI app with Supabase auth/realtime, Node.js backend, Docker/Supabase self-hosted infrastructure, and APNs scheduler. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Foundation
|
||||
|
||||
struct User: Identifiable, Codable, Equatable {
|
||||
let id: String
|
||||
let username: String
|
||||
var displayName: String
|
||||
var bio: String?
|
||||
var avatarURL: URL?
|
||||
var followerCount: Int
|
||||
var followingCount: Int
|
||||
var postCount: Int
|
||||
var isFollowing: Bool
|
||||
|
||||
static let preview = User(
|
||||
id: "preview",
|
||||
username: "nightowl",
|
||||
displayName: "Night Owl",
|
||||
bio: "3 Uhr ist meine goldene Stunde",
|
||||
avatarURL: nil,
|
||||
followerCount: 142,
|
||||
followingCount: 89,
|
||||
postCount: 37,
|
||||
isFollowing: false
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user