Files
pp-tcms/frontend/types/project.ts
2024-05-22 22:33:21 +09:00

44 lines
872 B
TypeScript

import { FolderType } from './folder';
import { RunType } from './run';
export type ProjectType = {
id: number;
name: string;
detail: string;
isPublic: string;
userId: number;
createdAt: string;
updatedAt: string;
Folders: FolderType[]; // additional property
Runs: RunType[]; // additional property
};
export type ProjectsMessages = {
projectList: string;
newProject: string;
editProject: string;
deleteProject: string;
id: string;
name: string;
detail: string;
lastUpdate: string;
actions: string;
projectName: string;
projectDetail: string;
public: string;
ifYouMakePublic: string;
close: string;
create: string;
update: string;
pleaseEnter: string;
noProjectsFound: string;
needSignedIn: string;
signIn: string;
};
export type ProjectMessages = {
home: string;
testCases: string;
testRuns: string;
};