You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
2.3 KiB
40 lines
2.3 KiB
import { NuxtModule, RuntimeConfig } from '@nuxt/schema'
|
|
declare module '@nuxt/schema' {
|
|
interface NuxtConfig {
|
|
["elementPlus"]?: typeof import("@element-plus/nuxt").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, ["unocss"]?: typeof import("@unocss/nuxt").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, ["image"]?: typeof import("@nuxt/image").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, ["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, modules?: (undefined | null | false | NuxtModule | string | [NuxtModule | string, Record<string, any>] | ["@element-plus/nuxt", Exclude<NuxtConfig["elementPlus"], boolean>] | ["@unocss/nuxt", Exclude<NuxtConfig["unocss"], boolean>] | ["@nuxt/image", Exclude<NuxtConfig["image"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
|
}
|
|
}
|
|
declare module 'nuxt/schema' {
|
|
interface NuxtConfig {
|
|
["elementPlus"]?: typeof import("@element-plus/nuxt").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, ["unocss"]?: typeof import("@unocss/nuxt").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, ["image"]?: typeof import("@nuxt/image").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, ["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>, modules?: (undefined | null | false | NuxtModule | string | [NuxtModule | string, Record<string, any>] | ["@element-plus/nuxt", Exclude<NuxtConfig["elementPlus"], boolean>] | ["@unocss/nuxt", Exclude<NuxtConfig["unocss"], boolean>] | ["@nuxt/image", Exclude<NuxtConfig["image"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
|
}
|
|
interface RuntimeConfig {
|
|
app: {
|
|
buildId: string,
|
|
|
|
baseURL: string,
|
|
|
|
buildAssetsDir: string,
|
|
|
|
cdnURL: string,
|
|
},
|
|
|
|
nitro: {
|
|
envPrefix: string,
|
|
},
|
|
}
|
|
interface PublicRuntimeConfig {
|
|
tenantId: number,
|
|
|
|
apiServer: string,
|
|
|
|
globalTitle: string,
|
|
|
|
domain: string,
|
|
}
|
|
}
|
|
declare module 'vue' {
|
|
interface ComponentCustomProperties {
|
|
$config: RuntimeConfig
|
|
}
|
|
}
|