@devite/nuxt-sanity 2.16.0 → 2.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { HistoryRefresh, VisualEditingOptions as VisualEditingOptions$1 } from '@sanity/visual-editing';
3
3
  import { ClientConfig } from '@sanity/client';
4
- import { Slug, PortableTextBlock, ImageAsset } from '@sanity/types';
4
+ import { Slug, ImageAsset, PortableTextBlock } from '@sanity/types';
5
5
 
6
6
  type ModuleOptions = ClientConfig & {
7
7
  projectId?: string;
@@ -78,6 +78,13 @@ interface Page {
78
78
  seo: SEO;
79
79
  }
80
80
 
81
+ interface GlobalSEO {
82
+ siteName: string;
83
+ image: {
84
+ asset: ImageAsset;
85
+ };
86
+ }
87
+
81
88
  type RichText = PortableTextBlock[];
82
89
 
83
90
  interface SEO {
@@ -116,4 +123,4 @@ type SanityArray<T> = Array<T & {
116
123
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
117
124
 
118
125
  export { _default as default };
119
- export type { Home, LinkExternal, LinkInternal, ModuleOptions, NotFound, Page, RichText, SEO, SanityArray, SanityModule, SanityVisualEditingMode, SanityVisualEditingRefreshHandler, VisualEditingOptions };
126
+ export type { GlobalSEO, Home, LinkExternal, LinkInternal, ModuleOptions, NotFound, Page, RichText, SEO, SanityArray, SanityModule, SanityVisualEditingMode, SanityVisualEditingRefreshHandler, VisualEditingOptions };
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devite/nuxt-sanity",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "configKey": "sanity",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import defu from 'defu';
3
3
  import { randomBytes } from 'node:crypto';
4
4
 
5
5
  const name = "@devite/nuxt-sanity";
6
- const version = "2.16.0";
6
+ const version = "2.16.1";
7
7
 
8
8
  const CONFIG_KEY = "sanity";
9
9
  const module = defineNuxtModule({
package/dist/types.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { default } from './module.mjs'
2
2
 
3
- export { type Home, type LinkExternal, type LinkInternal, type ModuleOptions, type NotFound, type Page, type RichText, type SEO, type SanityArray, type SanityModule, type SanityVisualEditingMode, type SanityVisualEditingRefreshHandler, type VisualEditingOptions } from './module.mjs'
3
+ export { type GlobalSEO, type Home, type LinkExternal, type LinkInternal, type ModuleOptions, type NotFound, type Page, type RichText, type SEO, type SanityArray, type SanityModule, type SanityVisualEditingMode, type SanityVisualEditingRefreshHandler, type VisualEditingOptions } from './module.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devite/nuxt-sanity",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "Advanced Sanity integration for Nuxt.js.",
5
5
  "repository": "devite-io/nuxt-sanity",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "unstorage": "^1.17.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@nuxt/eslint-config": "^1.9.0",
43
+ "@nuxt/eslint-config": "^1.10.0",
44
44
  "@nuxt/kit": "^4.2.0",
45
45
  "@nuxt/module-builder": "^1.0.2",
46
46
  "@nuxt/schema": "^4.2.0",
@@ -52,7 +52,7 @@
52
52
  "nuxt": "^4.2.0",
53
53
  "typescript": "5.9.3",
54
54
  "vite": "7.1.12",
55
- "vitest": "^3.2.0",
55
+ "vitest": "^3.2.4",
56
56
  "vitest-environment-nuxt": "1.0.1",
57
57
  "vue": "3.5.22",
58
58
  "vue-router": "^4.6.3",