site-config-stack
Advanced tools
Comparing version 1.1.3 to 1.2.0
@@ -30,3 +30,3 @@ interface SiteConfig { | ||
/** | ||
* Current locale, set with @nuxt/i18n. | ||
* Current locale, set with `@nuxt/i18n`. | ||
* | ||
@@ -61,5 +61,5 @@ * Falls back to the defaultLocale. | ||
* | ||
* Used for Schema.org sameAs and <meta profile>. | ||
* Used for Schema.org sameAs and `<meta profile>`. | ||
* | ||
* @example @harlan_zw | ||
* @example `@harlan_zw` | ||
*/ | ||
@@ -71,6 +71,8 @@ twitter?: string; | ||
_context: Partial<Record<Exclude<keyof SiteConfig, '_meta'>, string>>; | ||
[key: string]: any; | ||
[key: (string & Record<never, never>)]: any; | ||
} | ||
type SiteConfigInput = Partial<Omit<SiteConfig, '_context'>> & { | ||
type SiteConfigInput = Partial<Omit<SiteConfig, '_context' | 'indexable'>> & { | ||
_context?: string; | ||
_priority?: number; | ||
indexable?: string | boolean; | ||
}; | ||
@@ -77,0 +79,0 @@ interface SiteConfigStack { |
{ | ||
"name": "site-config-stack", | ||
"type": "module", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "Shared site configuration utilities.", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17274
306