-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
declare module 'virtual:vitesse/project-context' { | ||
const ProjectContext: { | ||
root: string | ||
srcDir: string | ||
trailingSlash: import('astro').AstroConfig['trailingSlash'] | ||
build: { | ||
format: import('astro').AstroConfig['build']['format'] | ||
} | ||
} | ||
export default ProjectContext | ||
} | ||
|
||
declare module 'virtual:vitesse/user-css' { } | ||
|
||
declare module 'virtual:vitesse/user-images' { | ||
type ImageMetadata = import('astro').ImageMetadata | ||
export const logos: { | ||
dark?: ImageMetadata | ||
light?: ImageMetadata | ||
} | ||
} | ||
|
||
declare module 'virtual:vitesse/collection-config' { | ||
export const collections: import('astro:content').ContentConfig['collections'] | undefined | ||
} | ||
|
||
// components | ||
declare module 'virtual:vitesse/components/ToggleTheme' { | ||
const ToggleTheme: typeof import('./components/ToggleTheme.astro').default | ||
export default ToggleTheme | ||
} | ||
declare module 'virtual:vitesse/components/Footer' { | ||
const Footer: typeof import('./components/Footer.astro').default | ||
export default Footer | ||
} | ||
declare module 'virtual:vitesse/components/ScrollToTop' { | ||
const ScrollToTop: typeof import('./components/ScrollToTop.astro').default | ||
export default ScrollToTop | ||
} | ||
declare module 'virtual:vitesse/components/SiteTitle' { | ||
const SiteTitle: typeof import('./components/SiteTitle.astro').default | ||
export default SiteTitle | ||
} | ||
declare module 'virtual:vitesse/components/NavBar' { | ||
const NavBar: typeof import('./components/NavBar.astro').default | ||
export default NavBar | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters