fix builds

This commit is contained in:
lightling 2025-04-20 16:00:35 -04:00
parent 22361db2a9
commit 4419fe2e92
Signed by: lightling
GPG key ID: F1F29650D537C773
3 changed files with 11 additions and 3 deletions

View file

@ -3,6 +3,7 @@ import { ArticleEntry } from '../content/templates/article-list'
import { GalleryEntry } from '../content/templates/gallery-list'
import { TemplateType } from '../content/templates/templateType'
import { WarningModal } from './warnings'
import { mount } from 'mount-vue-component'
/**
* Defines the shared options for a route
@ -79,6 +80,7 @@ export type RouteCollection = { [key: string]: RouteDefinition }
* Defines {@link Window} globals
*/
export interface RoutedWindow extends Window {
mountComponent: typeof mount
/** refers to a template's primary route config; may briefly refer to sub config until a view is fully resolved */
routeConfig: RouteDefinition
/** refers to a template's sub config in the case of child routes under a template (e.g. article-view under article-list) */