Files
pp-tcms/frontend/types/project.ts
2024-05-26 13:11:06 +09:00

46 lines
910 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;
publicity: string;
name: string;
detail: string;
lastUpdate: string;
actions: string;
projectName: string;
projectDetail: string;
public: string;
private: string;
ifYouMakePublic: string;
close: string;
create: string;
update: string;
pleaseEnter: string;
noProjectsFound: string;
areYouSure: string;
delete: string;
};
export type ProjectMessages = {
home: string;
testCases: string;
testRuns: string;
};