style: fix linting issues met Prettier
This commit is contained in:
parent
b12c743440
commit
57cd8466fe
23 changed files with 4817 additions and 4248 deletions
22
frontend/src/services/auth/auth.d.ts
vendored
22
frontend/src/services/auth/auth.d.ts
vendored
|
@ -1,22 +1,22 @@
|
|||
import {type User, UserManager} from "oidc-client-ts";
|
||||
import { type User, UserManager } from "oidc-client-ts";
|
||||
|
||||
export type AuthState = {
|
||||
user: User | null,
|
||||
accessToken: string | null,
|
||||
activeRole: Role | null
|
||||
user: User | null;
|
||||
accessToken: string | null;
|
||||
activeRole: Role | null;
|
||||
};
|
||||
|
||||
export type FrontendAuthConfig = {
|
||||
student: FrontendIdpConfig,
|
||||
teacher: FrontendIdpConfig
|
||||
student: FrontendIdpConfig;
|
||||
teacher: FrontendIdpConfig;
|
||||
};
|
||||
|
||||
export type FrontendIdpConfig = {
|
||||
authority: string,
|
||||
clientId: string,
|
||||
scope: string,
|
||||
responseType: string
|
||||
authority: string;
|
||||
clientId: string;
|
||||
scope: string;
|
||||
responseType: string;
|
||||
};
|
||||
|
||||
export type Role = "student" | "teacher";
|
||||
export type UserManagersForRoles = {student: UserManager, teacher: UserManager};
|
||||
export type UserManagersForRoles = { student: UserManager; teacher: UserManager };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue