* added font awesome * replaced GitHub logo in Footer.tsx with one provided by FontAwesome * added loader, when userStore fetching data from server * allow circular dependencies, since this is no problem * fix default (e.g. prod) profile * fix a problem, when no authenticated person calls /api/v1/user/current endpoint
16 lines
345 B
TypeScript
16 lines
345 B
TypeScript
import {IAuthority} from "./role";
|
|
|
|
export interface IAuthenticated {
|
|
authenticated: true,
|
|
login: string,
|
|
password: string,
|
|
fullName: string,
|
|
email: string,
|
|
phone: string,
|
|
createdAt: string,
|
|
updatedAt: string,
|
|
authorities: IAuthority[],
|
|
}
|
|
|
|
export declare type IUser = {authenticated: false} | IAuthenticated;
|