feat: Initial iOS Health Dashboard app (Swift + SwiftUI)
This commit is contained in:
5
PulseHealth/Models/AuthModels.swift
Normal file
5
PulseHealth/Models/AuthModels.swift
Normal file
@@ -0,0 +1,5 @@
|
||||
import Foundation
|
||||
struct LoginRequest: Codable { let email: String; let password: String }
|
||||
struct LoginResponse: Codable { let token: String; let user: UserInfo }
|
||||
struct UserInfo: Codable { let id: Int; let email: String; let name: String }
|
||||
struct ProfileResponse: Codable { let user: UserInfo; let apiKey: String? }
|
||||
Reference in New Issue
Block a user