Add OperatingArea and PilotCertification modules with live push readiness.

Migrate operating area and pilot certification from home placeholders, extend Live with playback and push readiness flows, and add pilot certificate OSS upload.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-25 18:15:59 +08:00
parent fdf4659048
commit 41dda3cc9b
33 changed files with 3455 additions and 37 deletions

View File

@ -34,6 +34,8 @@ struct RootView: View {
@State private var scenicQueueAPI: ScenicQueueAPI
@State private var scenicQueueRuntime = ScenicQueueRuntime()
@State private var liveAPI: LiveAPI
@State private var operatingAreaAPI: OperatingAreaAPI
@State private var pilotCertificationAPI: PilotCertificationAPI
@State private var taskAPI: TaskAPI
@State private var projectAPI: ProjectAPI
@State private var scheduleAPI: ScheduleAPI
@ -66,6 +68,8 @@ struct RootView: View {
_messageCenterAPI = State(initialValue: MessageCenterAPI(client: apiClient))
_scenicQueueAPI = State(initialValue: ScenicQueueAPI(client: apiClient))
_liveAPI = State(initialValue: LiveAPI(client: apiClient))
_operatingAreaAPI = State(initialValue: OperatingAreaAPI(client: apiClient))
_pilotCertificationAPI = State(initialValue: PilotCertificationAPI(client: apiClient))
_taskAPI = State(initialValue: TaskAPI(client: apiClient))
_projectAPI = State(initialValue: ProjectAPI(client: apiClient))
_scheduleAPI = State(initialValue: ScheduleAPI(client: apiClient))
@ -116,6 +120,8 @@ struct RootView: View {
.environment(scenicQueueAPI)
.environment(scenicQueueRuntime)
.environment(liveAPI)
.environment(operatingAreaAPI)
.environment(pilotCertificationAPI)
.environment(taskAPI)
.environment(projectAPI)
.environment(scheduleAPI)