Display information of project on home tab

This commit is contained in:
Takeshi Kimata
2024-05-06 17:51:45 +09:00
parent 3de1bd2d42
commit 6ccbf1be29
10 changed files with 177 additions and 46 deletions

View File

@@ -54,6 +54,11 @@ type CaseTypeCountType = {
count: number;
};
type CasePriorityCountType = {
priority: number;
count: number;
};
export type CasesMessages = {
testCaseList: string;
id: string;
@@ -119,4 +124,4 @@ export type CaseMessages = {
maxFileSize: string;
};
export { CaseType, StepType, AttachmentType, CaseTypeCountType, CasesMessages, CaseMessages };
export { CaseType, StepType, AttachmentType, CaseTypeCountType, CasePriorityCountType, CasesMessages, CaseMessages };

View File

@@ -1,3 +1,5 @@
import { CaseType } from "./case";
export type FolderType = {
id: number;
name: string;
@@ -6,6 +8,7 @@ export type FolderType = {
parentFolderId: number | null;
createdAt: string;
updatedAt: string;
Cases: CaseType[]; // additional property
};
export type FoldersMessages = {

View File

@@ -1,9 +1,14 @@
import { FolderType } from "./folder";
import { RunType } from "./run";
export type ProjectType = {
id: number;
name: string;
detail: string;
createdAt: string;
updatedAt: string;
Folders: FolderType[]; // additional property
Runs: RunType[]; // additional property
};
export type ProjectsMessages = {