Typescript type regeneration
This commit is contained in:
parent
cdea2dce1c
commit
65101384e2
1 changed files with 6 additions and 1 deletions
|
@ -144,9 +144,14 @@ export interface NewProject {
|
||||||
name: string;
|
name: string;
|
||||||
description: 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 {
|
export interface RoleChange {
|
||||||
role: 'project_manager' | 'user';
|
|
||||||
username: string;
|
username: string;
|
||||||
|
role: 'project_manager' | 'user';
|
||||||
projectname: string;
|
projectname: string;
|
||||||
}
|
}
|
||||||
export interface NameChange {
|
export interface NameChange {
|
||||||
|
|
Loading…
Add table
Reference in a new issue