organize types
This commit is contained in:
parent
f48118122b
commit
e6cac42dbd
9 changed files with 51 additions and 48 deletions
|
@ -7,7 +7,7 @@ import {
|
|||
type ProjectListDefinition,
|
||||
type RouteDefinition,
|
||||
type SiteGlobals,
|
||||
type Template,
|
||||
type TemplateType,
|
||||
} from '@goldenwere/static-web-templates-types'
|
||||
|
||||
const markdownBody = () => import ('./views/markdown/markdown.vue')
|
||||
|
@ -16,7 +16,7 @@ const projectViewBody = () => import ('./views/project/project-view.vue')
|
|||
const galleryListBody = () => import ('./views/gallery/gallery-list.vue')
|
||||
const galleryViewBody = () => import ('./views/gallery/gallery-view.vue')
|
||||
|
||||
export const templates: Record<Template, () => Promise<any>> = {
|
||||
export const templates: Record<TemplateType, () => Promise<any>> = {
|
||||
'markdown': markdownBody,
|
||||
'project-list': projectListBody,
|
||||
'gallery-list': galleryListBody,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue