Typescript type regeneration

This commit is contained in:
Imbus 2024-03-20 21:54:13 +01:00
parent cdea2dce1c
commit 65101384e2

View file

@ -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 {