| 1 | import type { RouteMetaAuth } from "@/types/auth.d" |
| 2 | import type { Layout } from "@/types/theme.d" |
| 3 | import "vue-router" |
| 4 | |
| 5 | // To ensure it is treated as a module, add at least one `export` statement |
| 6 | export {} |
| 7 | |
| 8 | declare module "vue-router" { |
| 9 | interface RouteMeta extends RouteMetaAuth { |
| 10 | title?: string |
| 11 | theme?: { |
| 12 | layout?: Layout |
| 13 | boxed?: { enabled?: boolean } |
| 14 | padded?: { enabled?: boolean } |
| 15 | } |
| 16 | skipPin?: boolean |
| 17 | } |
| 18 | } |