mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
c544a28e77
Remove AppHeader. The sidebar gains a Search row that opens a Cmd+K palette (books, authors, series, places, settings pages and actions), a utility dock above the footer, and a Reading group below the lists. Every page opens with a shared PageTitleRow; phones without one get a slim bar. Settings headers gain a full description, and the top glow defaults to 50% with one reach and strength for every style. The Appearance panel opens past the sidebar, reorders its controls and names the current pick, and keeps each pastel accent under its vivid one.
19 lines
578 B
TypeScript
19 lines
578 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)
|
|
/** The view opens with a PageTitleRow, which carries the phone menu and search buttons itself. */
|
|
titleRow?: boolean
|
|
}
|
|
}
|