34 lines
823 B
TypeScript
34 lines
823 B
TypeScript
import { RuntimeConfig as UserRuntimeConfig, PublicRuntimeConfig as UserPublicRuntimeConfig } from 'nuxt/schema'
|
|
interface SharedRuntimeConfig {
|
|
app: {
|
|
buildId: string,
|
|
|
|
baseURL: string,
|
|
|
|
buildAssetsDir: string,
|
|
|
|
cdnURL: string,
|
|
},
|
|
|
|
vatstackApiKey: string,
|
|
|
|
nitro: {
|
|
envPrefix: string,
|
|
},
|
|
}
|
|
interface SharedPublicRuntimeConfig {
|
|
|
|
}
|
|
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
|
|
}
|
|
} |