mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 22:18:12 +00:00
resolve confilict
This commit is contained in:
@@ -55,3 +55,10 @@ export interface AuthTokens {
|
||||
export interface LoginResponse extends Partial<AuthTokens> {
|
||||
mfaRequired?: boolean;
|
||||
}
|
||||
|
||||
// Additional types for Matrix form test
|
||||
export interface User {
|
||||
id: string;
|
||||
name: string;
|
||||
role: "ADMIN" | "MANAGER" | "CHIEF_EXECUTIVE";
|
||||
}
|
||||
|
||||
@@ -11,3 +11,5 @@ export const useAuth = () => {
|
||||
|
||||
return context;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user