diff --git a/frontend/src/Types/goTypes.ts b/frontend/src/Types/goTypes.ts index 6433b13..302e785 100644 --- a/frontend/src/Types/goTypes.ts +++ b/frontend/src/Types/goTypes.ts @@ -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