New type to match fetch
This commit is contained in:
parent
b2db9c54ca
commit
c9e28e9b5b
1 changed files with 10 additions and 3 deletions
|
@ -151,9 +151,16 @@ export interface NewProject {
|
||||||
*/
|
*/
|
||||||
export interface RoleChange {
|
export interface RoleChange {
|
||||||
username: string;
|
username: string;
|
||||||
role: 'project_manager' | 'user';
|
role: "project_manager" | "user";
|
||||||
projectname: string;
|
projectname: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface NewProjMember {
|
||||||
|
username: string;
|
||||||
|
projectname: string;
|
||||||
|
role: "project_manager" | "user";
|
||||||
|
}
|
||||||
|
|
||||||
export interface NameChange {
|
export interface NameChange {
|
||||||
id: number /* int */;
|
id: number /* int */;
|
||||||
name: string;
|
name: string;
|
||||||
|
@ -186,8 +193,8 @@ export interface PublicUser {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UserProjectMember {
|
export interface UserProjectMember {
|
||||||
Username: string;
|
Username: string;
|
||||||
UserRole: string;
|
UserRole: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* wrapper type for token
|
* wrapper type for token
|
||||||
|
|
Loading…
Reference in a new issue