| | |
| | | updatedAt: string |
| | | sources: LiveSource[] |
| | | exceptions: Array<Record<string, unknown>> |
| | | testPlan?: BtsTestSnapshot | null |
| | | } |
| | | |
| | | export interface BtsTestPlanRow { |
| | | rowType: 'STEP' | 'CYCLE' | 'END' | string |
| | | stepNo: number |
| | | stepName: string |
| | | durationSeconds: number |
| | | voltageV: number | null |
| | | executionStatus: string |
| | | cycleCount: number | null |
| | | recordCount: number | null |
| | | } |
| | | |
| | | export interface BtsTestSnapshot { |
| | | currentCycleNo: number |
| | | currentStepNo: number |
| | | plannedCycleCount: number |
| | | rows: BtsTestPlanRow[] |
| | | } |
| | | |
| | | export async function saveLogicStepMappings(testId: number, mappings: TestLogicStepMapping[]): Promise<TestConfigurationDetail> { |