初始版本

This commit is contained in:
2026-04-23 16:30:57 +08:00
commit 0d0683a6e6
538 changed files with 113042 additions and 0 deletions

184
.nuxt/types/runtime-config.d.ts vendored Normal file
View File

@@ -0,0 +1,184 @@
import { RuntimeConfig as UserRuntimeConfig, PublicRuntimeConfig as UserPublicRuntimeConfig } from 'nuxt/schema'
interface SharedRuntimeConfig {
app: {
buildId: string,
baseURL: string,
buildAssetsDir: string,
cdnURL: string,
},
nitro: {
envPrefix: string,
},
content: {
databaseVersion: string,
version: string,
database: {
type: string,
filename: string,
},
localDatabase: {
type: string,
filename: string,
},
integrityCheck: boolean,
},
}
interface SharedPublicRuntimeConfig {
tenantId: string,
serverApiBase: string,
modulesApiBase: string,
appApiBase: string,
mpApiBase: string,
fileServerBase: string,
templateId: string,
ServerApi: string,
ApiBase: string,
TenantId: string,
mdc: {
components: {
prose: boolean,
map: any,
customElements: Array<any>,
},
headings: {
anchorLinks: {
h1: boolean,
h2: boolean,
h3: boolean,
h4: boolean,
h5: boolean,
h6: boolean,
},
},
highlight: {
noApiRoute: boolean,
highlighter: string,
theme: {
default: string,
dark: string,
},
shikiEngine: string,
langs: Array<string>,
},
},
content: {
wsUrl: string,
},
i18n: {
baseUrl: string,
defaultLocale: string,
rootRedirect: any,
redirectStatusCode: number,
skipSettingLocaleOnNavigate: boolean,
locales: Array<{
}>,
detectBrowserLanguage: {
alwaysRedirect: boolean,
cookieCrossOrigin: boolean,
cookieDomain: any,
cookieKey: string,
cookieSecure: boolean,
fallbackLocale: string,
redirectOn: string,
useCookie: boolean,
},
experimental: {
localeDetector: string,
typedPages: boolean,
typedOptionsAndMessages: boolean,
alternateLinkCanonicalQueries: boolean,
devCache: boolean,
cacheLifetime: any,
stripMessagesPayload: boolean,
preload: boolean,
strictSeo: boolean,
nitroContextDetection: boolean,
httpCacheDuration: number,
},
domainLocales: {
"zh-CN": {
domain: string,
},
en: {
domain: string,
},
},
},
}
declare module '@nuxt/schema' {
interface RuntimeConfig extends UserRuntimeConfig {}
interface PublicRuntimeConfig extends UserPublicRuntimeConfig {}
}
declare module 'nuxt/schema' {
interface RuntimeConfig extends SharedRuntimeConfig {}
interface PublicRuntimeConfig extends SharedPublicRuntimeConfig {}
}
declare module 'vue' {
interface ComponentCustomProperties {
$config: UserRuntimeConfig
}
}