24 lines
466 B
TypeScript
24 lines
466 B
TypeScript
import 'vue-router'
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_URL: string
|
|
readonly VITE_APP_NAME: string
|
|
readonly VITE_PORTAL_URL: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
declare module 'vue-router' {
|
|
interface RouteMeta {
|
|
action?: string
|
|
subject?: string
|
|
layoutWrapperClasses?: string
|
|
navActiveLink?: RouteLocationRaw
|
|
layout?: 'blank' | 'default'
|
|
unauthenticatedOnly?: boolean
|
|
public?: boolean
|
|
}
|
|
}
|