owltide/index.d.ts
Hornwitser e8226e0062 Implement account type restricted page
Add allowedAccountTypes page metadata which the authenticated middleware
uses to further restrict the types of accounts that can access the page.

If the account type is insufficent to access the page it will return an
HTTP 403 Forbidden status, which is rendered using the error page.
2025-03-09 22:37:07 +01:00

13 lines
189 B
TypeScript

declare module "#app" {
interface PageMeta {
allowedAccountTypes?: string[],
}
}
declare module "vue-router" {
interface RouteMeta {
allowedAccountTypes?: string[],
}
}
export {}