mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
ffd1a4fd0f
Keep notification preferences hidden and inaccessible unless the user has notification access, while preserving the demo restriction. Fixes #1057
17 lines
452 B
TypeScript
17 lines
452 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
import 'vue-router'
|
|
import type { Permission } from '@bookorbit/types'
|
|
import type { RouteLocationNormalizedLoaded } from 'vue-router'
|
|
|
|
declare module 'vue-router' {
|
|
interface RouteMeta {
|
|
public?: boolean
|
|
requiredPermission?: Permission
|
|
forbiddenPermission?: Permission
|
|
permissionFallback?: string
|
|
maxWidth?: string
|
|
title?: string | ((to: RouteLocationNormalizedLoaded) => string)
|
|
}
|
|
}
|