mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-10 06:23:11 +08:00
Moved auth form. Added auto login and logout functionality
This commit is contained in:
@@ -7,4 +7,10 @@ export interface Model {
|
||||
export interface ApiResponse<T> {
|
||||
success: boolean;
|
||||
data: T;
|
||||
}
|
||||
}
|
||||
|
||||
export interface Token {
|
||||
app: string;
|
||||
exp: number;
|
||||
iat: number;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export interface Route {
|
||||
name: string;
|
||||
dest: string;
|
||||
authRequired: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user