include RunCases on testCase property

This commit is contained in:
Takeshi Kimata
2024-07-15 23:07:50 +09:00
parent 569887c9cd
commit 1c436b7db6
7 changed files with 258 additions and 100 deletions

View File

@@ -11,9 +11,8 @@ type CaseType = {
expectedResults: string;
folderId: number;
Steps?: StepType[];
RunCases?: RunCaseType[];
Attachments?: AttachmentType[];
isIncluded?: boolean;
runStatus?: number;
};
type CaseStepType = {
@@ -35,6 +34,12 @@ type StepType = {
editState: 'notChanged' | 'changed' | 'new' | 'deleted';
};
type RunCaseType = {
runId: number;
status: number;
editState: 'notChanged' | 'changed' | 'new' | 'deleted';
};
type CaseAttachmentType = {
createdAt: Date;
updatedAt: Date;