Skip to content

Commit

Permalink
Fix rerun mission
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddasol authored and aeshub committed Nov 22, 2023
1 parent eb207ba commit 2ea4533
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/models/CustomMission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export interface CustomTaskQuery {

export interface CustomInspectionQuery {
inspectionType: InspectionType
inspectionTarget: Position
videoDuration?: number
analysisType?: string
}
Expand All @@ -46,6 +47,7 @@ export function CreateCustomMission(mission: Mission): CustomMissionQuery {
inspections: task.inspections.map<CustomInspectionQuery>((inspection) => {
const customInspection: CustomInspectionQuery = {
inspectionType: inspection.inspectionType,
inspectionTarget: inspection.inspectionTarget,
videoDuration: inspection.videoDuration,
analysisType: inspection.analysisType,
}
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/models/Inspection.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { Position } from './Position'

export interface Inspection {
id: string
isarStepId?: string
status: InspectionStatus
isCompleted: boolean
inspectionType: InspectionType
inspectionTarget: Position
videoDuration?: number
analysisType?: string
inspectionUrl?: string
Expand Down

0 comments on commit 2ea4533

Please sign in to comment.