token refresh and exp check

This commit is contained in:
Julian Krauser 2024-08-25 10:10:11 +02:00
parent f1e6e8b8d3
commit 91ff0835fb
5 changed files with 25 additions and 12 deletions

View file

@ -1,6 +1,6 @@
import type { AxiosInstance } from "axios";
import type { NProgress } from "nprogress";
import type { Router } from "vue-router";
import type { RouteLocationNormalizedLoaded, Router } from "vue-router";
declare module "@vue/runtime-core" {
interface ComponentCustomProperties {
@ -8,7 +8,7 @@ declare module "@vue/runtime-core" {
$http: AxiosInstance;
$progress: NProgress;
$router: Router;
$route: any;
$route: RouteLocationNormalizedLoaded;
}
}