Display information of project on home tab
This commit is contained in:
@@ -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 };
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user