47 lines
930 B
TypeScript
47 lines
930 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;
|
|
settings: string;
|
|
};
|