mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
refactor: restructure project configuration and utility modules
- Move configuration and utility files to more organized locations - Update import paths across the project to reflect new file structure - Simplify content and internationalization utilities - Remove redundant configuration files and consolidate logic - Add prefetch configuration to Astro config for improved performance
This commit is contained in:
parent
a26031d490
commit
fc1daf4335
23 changed files with 380 additions and 393 deletions
9
src/types/index.d.ts
vendored
9
src/types/index.d.ts
vendored
|
@ -1,5 +1,7 @@
|
|||
import type { langPath } from '@/utils/ui'
|
||||
|
||||
type Exclude<T, U> = T extends U ? never : T
|
||||
|
||||
export interface ThemeConfig {
|
||||
|
||||
site: {
|
||||
|
@ -84,7 +86,12 @@ export interface ThemeConfig {
|
|||
customGoogleAnalyticsURL?: string
|
||||
customUmamiAnalyticsURL?: string
|
||||
customUmamiAnalyticsJS?: string
|
||||
lazyload: boolean
|
||||
}
|
||||
|
||||
about: {
|
||||
[key in ThemeConfig['global']['locale']]: string
|
||||
} & {
|
||||
[key in ThemeConfig['global']['moreLocale'][number]]?: string
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue