nuxt-site-config
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -1,4 +0,2 @@ | ||
import { S as SiteConfig, a as SiteConfigInput } from './type-6889825a.js'; | ||
export { b as MaybeComputedRef, c as MaybeComputedRefEntries, M as MaybeReadonlyRef, d as SiteConfigContainer, e as SiteConfigReactiveContainer } from './type-6889825a.js'; | ||
import 'vue'; | ||
import { S as SiteConfig, a as SiteConfigInput } from './type-3a82b30b.js'; | ||
@@ -19,2 +17,2 @@ declare function initSiteConfig(): Promise<SiteConfig>; | ||
export { SiteConfig, SiteConfigInput, assertSiteConfig, initSiteConfig, requireSiteConfig, updateSiteConfig, useSiteConfig }; | ||
export { assertSiteConfig, initSiteConfig, requireSiteConfig, updateSiteConfig, useSiteConfig }; |
import * as _nuxt_schema from '@nuxt/schema'; | ||
import { S as SiteConfig, a as SiteConfigInput } from './type-6889825a.js'; | ||
export { b as MaybeComputedRef, c as MaybeComputedRefEntries, M as MaybeReadonlyRef, d as SiteConfigContainer, e as SiteConfigReactiveContainer } from './type-6889825a.js'; | ||
import 'vue'; | ||
import { b as SiteConfigContainer, a as SiteConfigInput, S as SiteConfig } from './type-3a82b30b.js'; | ||
@@ -11,3 +9,20 @@ interface ModuleOptions extends SiteConfigInput { | ||
} | ||
declare module 'h3' { | ||
interface H3EventContext { | ||
siteConfig: SiteConfigContainer; | ||
} | ||
} | ||
declare module 'nuxt/schema' { | ||
interface AppConfigInput { | ||
/** Theme configuration */ | ||
site?: SiteConfigInput; | ||
} | ||
} | ||
declare module '@nuxt/schema' { | ||
interface AppConfigInput { | ||
/** Theme configuration */ | ||
site?: SiteConfigInput; | ||
} | ||
} | ||
declare module '@nuxt/schema' { | ||
interface RuntimeNuxtHooks { | ||
@@ -22,2 +37,2 @@ 'site-config:resolve': (siteConfig: SiteConfig) => void; | ||
export { ModuleHooks, ModuleOptions, ModulePublicRuntimeConfig, SiteConfig, SiteConfigInput, _default as default }; | ||
export { ModuleHooks, ModuleOptions, ModulePublicRuntimeConfig, _default as default }; |
@@ -8,3 +8,3 @@ { | ||
"configKey": "site", | ||
"version": "0.5.2" | ||
"version": "0.5.3" | ||
} |
@@ -1,2 +0,2 @@ | ||
import type { MaybeComputedRefEntries, SiteConfigInput } from '../../type'; | ||
export declare function updateSiteConfig(input?: MaybeComputedRefEntries<SiteConfigInput>): void; | ||
import type { SiteConfigInput } from '../../type'; | ||
export declare function updateSiteConfig(input?: SiteConfigInput): void; |
@@ -1,2 +0,2 @@ | ||
import type { SiteConfigInput } from '../type'; | ||
import type { SiteConfigInput } from '../../type'; | ||
export declare const envSiteConfig: SiteConfigInput; |
@@ -19,2 +19,2 @@ | ||
export { MaybeComputedRef, MaybeComputedRefEntries, MaybeReadonlyRef, SiteConfigContainer, SiteConfigReactiveContainer } from './module' | ||
export { ModuleHooks, ModuleOptions, ModulePublicRuntimeConfig, default } from './module' |
{ | ||
"name": "nuxt-site-config", | ||
"type": "module", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"packageManager": "pnpm@8.6.3", | ||
@@ -6,0 +6,0 @@ "description": "Shared site configuration for Nuxt 3 modules.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
27525
36
566