migrate on nuxt3
This commit is contained in:
268
.nuxt/types/schema.d.ts
vendored
Normal file
268
.nuxt/types/schema.d.ts
vendored
Normal file
@ -0,0 +1,268 @@
|
||||
import { NuxtModule, RuntimeConfig } from '@nuxt/schema'
|
||||
declare module '@nuxt/schema' {
|
||||
interface NuxtOptions {
|
||||
/**
|
||||
* Configuration for `@nuxt/eslint`
|
||||
*/
|
||||
["eslint"]: typeof import("@nuxt/eslint").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/icon`
|
||||
*/
|
||||
["icon"]: typeof import("@nuxt/icon").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/image`
|
||||
*/
|
||||
["image"]: typeof import("@nuxt/image").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/mdc`
|
||||
*/
|
||||
["mdc"]: typeof import("@nuxtjs/mdc").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/content`
|
||||
*/
|
||||
["content"]: typeof import("@nuxt/content").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/fonts`
|
||||
*/
|
||||
["fonts"]: typeof import("@nuxt/fonts").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@pinia/nuxt`
|
||||
*/
|
||||
["pinia"]: typeof import("@pinia/nuxt").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/tailwindcss`
|
||||
*/
|
||||
["tailwindcss"]: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/devtools`
|
||||
*/
|
||||
["devtools"]: typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/telemetry`
|
||||
*/
|
||||
["telemetry"]: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
}
|
||||
interface NuxtConfig {
|
||||
/**
|
||||
* Configuration for `@nuxt/eslint`
|
||||
*/
|
||||
["eslint"]?: typeof import("@nuxt/eslint").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/icon`
|
||||
*/
|
||||
["icon"]?: typeof import("@nuxt/icon").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/image`
|
||||
*/
|
||||
["image"]?: typeof import("@nuxt/image").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/mdc`
|
||||
*/
|
||||
["mdc"]?: typeof import("@nuxtjs/mdc").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/content`
|
||||
*/
|
||||
["content"]?: typeof import("@nuxt/content").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/fonts`
|
||||
*/
|
||||
["fonts"]?: typeof import("@nuxt/fonts").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@pinia/nuxt`
|
||||
*/
|
||||
["pinia"]?: typeof import("@pinia/nuxt").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/tailwindcss`
|
||||
*/
|
||||
["tailwindcss"]?: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/devtools`
|
||||
*/
|
||||
["devtools"]?: typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/telemetry`
|
||||
*/
|
||||
["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
modules?: (undefined | null | false | NuxtModule<any> | string | [NuxtModule | string, Record<string, any>] | ["@nuxt/eslint", Exclude<NuxtConfig["eslint"], boolean>] | ["@nuxt/icon", Exclude<NuxtConfig["icon"], boolean>] | ["@nuxt/image", Exclude<NuxtConfig["image"], boolean>] | ["@nuxtjs/mdc", Exclude<NuxtConfig["mdc"], boolean>] | ["@nuxt/content", Exclude<NuxtConfig["content"], boolean>] | ["@nuxt/fonts", Exclude<NuxtConfig["fonts"], boolean>] | ["@pinia/nuxt", Exclude<NuxtConfig["pinia"], boolean>] | ["@nuxtjs/tailwindcss", Exclude<NuxtConfig["tailwindcss"], boolean>] | ["@nuxt/devtools", Exclude<NuxtConfig["devtools"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
||||
}
|
||||
}
|
||||
declare module 'nuxt/schema' {
|
||||
interface NuxtOptions {
|
||||
/**
|
||||
* Configuration for `@nuxt/eslint`
|
||||
* @see https://www.npmjs.com/package/@nuxt/eslint
|
||||
*/
|
||||
["eslint"]: typeof import("@nuxt/eslint").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/icon`
|
||||
* @see https://www.npmjs.com/package/@nuxt/icon
|
||||
*/
|
||||
["icon"]: typeof import("@nuxt/icon").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/image`
|
||||
* @see https://www.npmjs.com/package/@nuxt/image
|
||||
*/
|
||||
["image"]: typeof import("@nuxt/image").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/mdc`
|
||||
* @see https://www.npmjs.com/package/@nuxtjs/mdc
|
||||
*/
|
||||
["mdc"]: typeof import("@nuxtjs/mdc").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/content`
|
||||
* @see https://content.nuxt.com
|
||||
*/
|
||||
["content"]: typeof import("@nuxt/content").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/fonts`
|
||||
* @see https://www.npmjs.com/package/@nuxt/fonts
|
||||
*/
|
||||
["fonts"]: typeof import("@nuxt/fonts").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@pinia/nuxt`
|
||||
* @see https://www.npmjs.com/package/@pinia/nuxt
|
||||
*/
|
||||
["pinia"]: typeof import("@pinia/nuxt").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/tailwindcss`
|
||||
* @see https://www.npmjs.com/package/@nuxtjs/tailwindcss
|
||||
*/
|
||||
["tailwindcss"]: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/devtools`
|
||||
* @see https://www.npmjs.com/package/@nuxt/devtools
|
||||
*/
|
||||
["devtools"]: typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/telemetry`
|
||||
* @see https://www.npmjs.com/package/@nuxt/telemetry
|
||||
*/
|
||||
["telemetry"]: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? O : Record<string, any>
|
||||
}
|
||||
interface NuxtConfig {
|
||||
/**
|
||||
* Configuration for `@nuxt/eslint`
|
||||
* @see https://www.npmjs.com/package/@nuxt/eslint
|
||||
*/
|
||||
["eslint"]?: typeof import("@nuxt/eslint").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/icon`
|
||||
* @see https://www.npmjs.com/package/@nuxt/icon
|
||||
*/
|
||||
["icon"]?: typeof import("@nuxt/icon").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/image`
|
||||
* @see https://www.npmjs.com/package/@nuxt/image
|
||||
*/
|
||||
["image"]?: typeof import("@nuxt/image").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/mdc`
|
||||
* @see https://www.npmjs.com/package/@nuxtjs/mdc
|
||||
*/
|
||||
["mdc"]?: typeof import("@nuxtjs/mdc").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/content`
|
||||
* @see https://content.nuxt.com
|
||||
*/
|
||||
["content"]?: typeof import("@nuxt/content").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/fonts`
|
||||
* @see https://www.npmjs.com/package/@nuxt/fonts
|
||||
*/
|
||||
["fonts"]?: typeof import("@nuxt/fonts").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@pinia/nuxt`
|
||||
* @see https://www.npmjs.com/package/@pinia/nuxt
|
||||
*/
|
||||
["pinia"]?: typeof import("@pinia/nuxt").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxtjs/tailwindcss`
|
||||
* @see https://www.npmjs.com/package/@nuxtjs/tailwindcss
|
||||
*/
|
||||
["tailwindcss"]?: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/devtools`
|
||||
* @see https://www.npmjs.com/package/@nuxt/devtools
|
||||
*/
|
||||
["devtools"]?: typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
/**
|
||||
* Configuration for `@nuxt/telemetry`
|
||||
* @see https://www.npmjs.com/package/@nuxt/telemetry
|
||||
*/
|
||||
["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
||||
modules?: (undefined | null | false | NuxtModule<any> | string | [NuxtModule | string, Record<string, any>] | ["@nuxt/eslint", Exclude<NuxtConfig["eslint"], boolean>] | ["@nuxt/icon", Exclude<NuxtConfig["icon"], boolean>] | ["@nuxt/image", Exclude<NuxtConfig["image"], boolean>] | ["@nuxtjs/mdc", Exclude<NuxtConfig["mdc"], boolean>] | ["@nuxt/content", Exclude<NuxtConfig["content"], boolean>] | ["@nuxt/fonts", Exclude<NuxtConfig["fonts"], boolean>] | ["@pinia/nuxt", Exclude<NuxtConfig["pinia"], boolean>] | ["@nuxtjs/tailwindcss", Exclude<NuxtConfig["tailwindcss"], boolean>] | ["@nuxt/devtools", Exclude<NuxtConfig["devtools"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
||||
}
|
||||
interface RuntimeConfig {
|
||||
app: {
|
||||
buildId: string,
|
||||
|
||||
baseURL: string,
|
||||
|
||||
buildAssetsDir: string,
|
||||
|
||||
cdnURL: string,
|
||||
},
|
||||
|
||||
nitro: {
|
||||
envPrefix: string,
|
||||
},
|
||||
|
||||
icon: {
|
||||
serverKnownCssClasses: Array<any>,
|
||||
},
|
||||
|
||||
content: {
|
||||
databaseVersion: string,
|
||||
|
||||
version: string,
|
||||
|
||||
database: {
|
||||
type: string,
|
||||
|
||||
filename: string,
|
||||
},
|
||||
|
||||
localDatabase: {
|
||||
type: string,
|
||||
|
||||
filename: string,
|
||||
},
|
||||
|
||||
integrityCheck: boolean,
|
||||
},
|
||||
}
|
||||
interface PublicRuntimeConfig {
|
||||
content: {
|
||||
wsUrl: string,
|
||||
},
|
||||
|
||||
mdc: {
|
||||
components: {
|
||||
prose: boolean,
|
||||
|
||||
map: any,
|
||||
},
|
||||
|
||||
headings: {
|
||||
anchorLinks: {
|
||||
h1: boolean,
|
||||
|
||||
h2: boolean,
|
||||
|
||||
h3: boolean,
|
||||
|
||||
h4: boolean,
|
||||
|
||||
h5: boolean,
|
||||
|
||||
h6: boolean,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
$config: RuntimeConfig
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user