Typescript type regeneration
This commit is contained in:
parent
ec138163c6
commit
b00ce7a0ed
1 changed files with 6 additions and 1 deletions
|
@ -144,9 +144,14 @@ export interface NewProject {
|
|||
name: string;
|
||||
description: string;
|
||||
}
|
||||
/**
|
||||
* Used to change the role of a user in a project.
|
||||
* If name is identical to the name contained in the token, the role can be changed.
|
||||
* If the name is different, only a project manager can change the role.
|
||||
*/
|
||||
export interface RoleChange {
|
||||
role: 'project_manager' | 'user';
|
||||
username: string;
|
||||
role: 'project_manager' | 'user';
|
||||
projectname: string;
|
||||
}
|
||||
export interface NameChange {
|
||||
|
|
Loading…
Add table
Reference in a new issue