Files
multica/apps/ios/Multica/Models/User.swift
Jiayuan 31c2476a7b feat(ios): add MVP iOS app with issue management and agent log viewing
SwiftUI app (iOS 17+) with zero third-party dependencies:
- Passwordless email authentication with Keychain token storage
- Workspace selection and multi-workspace support
- Issue list grouped by status with search and filtering
- Issue detail with inline status/priority/assignee editing
- Comments with threaded display and compose
- Agent task runs history and real-time execution log streaming
- WebSocket integration for live updates
2026-04-02 23:50:28 +08:00

23 lines
495 B
Swift

import Foundation
struct User: Codable, Identifiable, Hashable, Sendable {
let id: String
let name: String
let email: String
let avatarURL: String?
let createdAt: String
let updatedAt: String
enum CodingKeys: String, CodingKey {
case id, name, email
case avatarURL = "avatar_url"
case createdAt = "created_at"
case updatedAt = "updated_at"
}
}
struct AuthResponse: Codable, Sendable {
let token: String
let user: User
}