- backend: /api/magic/{register,devices,profile,release} + AdGuard provisioning + 24h cooldown
- prisma: magic_binding_fields migration (additive on UserDevice)
- mac-app: Phase 2 - Login + MacRegistration + Profile install
- marketing: landing section + /download/rebreakmagic + DMG
- lyra: forbidden phrases + RebreakMagic coach guidance
30 lines
739 B
Swift
30 lines
739 B
Swift
import Foundation
|
|
|
|
enum WizardStep: Int, CaseIterable, Identifiable {
|
|
case macRegistration = 0
|
|
case welcome
|
|
case preflight
|
|
case supervise
|
|
case enroll
|
|
case configure
|
|
case done
|
|
|
|
var id: Int { rawValue }
|
|
|
|
var title: String {
|
|
switch self {
|
|
case .macRegistration: return "Mac registrieren"
|
|
case .welcome: return "iPhone verbinden"
|
|
case .preflight: return "Pre-Flight Check"
|
|
case .supervise: return "Supervisieren"
|
|
case .enroll: return "MDM-Enrollment"
|
|
case .configure: return "Schutz aktivieren"
|
|
case .done: return "Fertig"
|
|
}
|
|
}
|
|
|
|
var stepNumber: Int { rawValue + 1 }
|
|
|
|
static var total: Int { allCases.count - 1 }
|
|
}
|