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 {
|
||||
username: string;
|
||||
role: 'project_manager' | 'user';
|
||||
role: "project_manager" | "user";
|
||||
projectname: string;
|
||||
}
|
||||
|
||||
export interface NewProjMember {
|
||||
username: string;
|
||||
projectname: string;
|
||||
role: "project_manager" | "user";
|
||||
}
|
||||
|
||||
export interface NameChange {
|
||||
id: number /* int */;
|
||||
name: string;
|
||||
|
@ -186,8 +193,8 @@ export interface PublicUser {
|
|||
}
|
||||
|
||||
export interface UserProjectMember {
|
||||
Username: string;
|
||||
UserRole: string;
|
||||
Username: string;
|
||||
UserRole: string;
|
||||
}
|
||||
/**
|
||||
* wrapper type for token
|
||||
|
|
Loading…
Reference in a new issue