Files
pp-tcms/frontend/types/run.ts
2024-07-21 21:42:02 +09:00

81 lines
1.5 KiB
TypeScript

type RunType = {
id: number;
name: string;
configurations: number;
description: string;
state: number;
projectId: number;
createdAt: string;
updatedAt: string;
};
type RunCaseType = {
id: number;
runId: number;
caseId: number;
status: number;
editState: 'notChanged' | 'changed' | 'new' | 'deleted';
};
type RunStatusCountType = {
status: number;
count: number;
};
type ProgressSeriesType = {
name: string;
data: number[];
};
type RunsMessages = {
runList: string;
run: string;
newRun: string;
editRun: string;
deleteRun: string;
id: string;
name: string;
description: string;
lastUpdate: string;
actions: string;
runName: string;
runDescription: string;
close: string;
create: string;
update: string;
pleaseEnter: string;
noRunsFound: string;
areYouSure: string;
delete: string;
};
type RunMessages = {
backToRuns: string;
updating: string;
update: string;
progress: string;
refresh: string;
id: string;
title: string;
pleaseEnter: string;
description: string;
priority: string;
status: string;
actions: string;
selectTestCase: string;
testCaseSelection: string;
includeInRun: string;
excludeFromRun: string;
noCasesFound: string;
areYouSureLeave: string;
type: string;
testDetail: string;
steps: string;
preconditions: string;
expectedResult: string;
detailsOfTheStep: string;
close: string;
};
export type { RunType, RunCaseType, RunStatusCountType, ProgressSeriesType, RunsMessages, RunMessages };