@devite/nuxt-sanity 2.13.0 → 2.14.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.json +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/SanityComponent.vue.d.ts +2 -2
- package/dist/runtime/components/SanityImageAsset.vue.d.ts +1 -1
- package/dist/runtime/components/SanityLinkExternal.vue.d.ts +3 -3
- package/dist/runtime/components/SanityLinkInternal.vue.d.ts +3 -3
- package/dist/runtime/components/SanityPage.vue +2 -1
- package/dist/runtime/components/SanityPage.vue.d.ts +3 -3
- package/dist/runtime/components/SanityPictureAsset.vue.d.ts +3 -3
- package/dist/runtime/components/SanityRichText.vue.d.ts +1 -1
- package/package.json +17 -17
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { defineNuxtModule, createResolver, addPlugin, addServerHandler, addImpor
|
|
|
3
3
|
import defu from 'defu';
|
|
4
4
|
|
|
5
5
|
const name = "@devite/nuxt-sanity";
|
|
6
|
-
const version = "2.
|
|
6
|
+
const version = "2.14.1";
|
|
7
7
|
|
|
8
8
|
const CONFIG_KEY = "sanity";
|
|
9
9
|
const module = defineNuxtModule({
|
|
@@ -3,9 +3,9 @@ import type { SanityModule } from '@devite/nuxt-sanity';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
data?: SanityModule | Array<SanityModule>;
|
|
5
5
|
};
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_10: any, __VLS_11: any;
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
[K in NonNullable<typeof
|
|
8
|
+
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
11
11
|
componentRef: import("vue").Ref<Component | undefined, Component | undefined>;
|
|
@@ -5,5 +5,5 @@ type __VLS_Props = {
|
|
|
5
5
|
loading?: 'eager' | 'lazy';
|
|
6
6
|
lqip?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props,
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -2,11 +2,11 @@ import type { LinkExternal } from '@devite/nuxt-sanity';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
data: LinkExternal;
|
|
4
4
|
};
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,11 +5,11 @@ type __VLS_Props = {
|
|
|
5
5
|
reference: Reference;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_7: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_7) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<{},
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
7
|
export default _default;
|
|
8
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -6,11 +6,11 @@ type __VLS_Props = {
|
|
|
6
6
|
lqip?: boolean;
|
|
7
7
|
imgAttrs?: Record<string, unknown>;
|
|
8
8
|
};
|
|
9
|
-
declare var
|
|
9
|
+
declare var __VLS_7: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_7) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,5 +3,5 @@ type __VLS_Props = {
|
|
|
3
3
|
data: RichText;
|
|
4
4
|
placeholders?: Record<string, string>;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props,
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devite/nuxt-sanity",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Advanced Sanity integration for Nuxt.js.",
|
|
5
5
|
"repository": "devite-io/nuxt-sanity",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,34 +29,34 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@nuxt/image": "^1.10.0",
|
|
31
31
|
"@portabletext/vue": "^1.0.12",
|
|
32
|
-
"@sanity/client": "^7.
|
|
33
|
-
"@sanity/core-loader": "^1.8.
|
|
34
|
-
"@sanity/preview-url-secret": "^2.1.
|
|
35
|
-
"@sanity/types": "^
|
|
36
|
-
"@sanity/visual-editing": "^
|
|
32
|
+
"@sanity/client": "^7.8.1",
|
|
33
|
+
"@sanity/core-loader": "^1.8.15",
|
|
34
|
+
"@sanity/preview-url-secret": "^2.1.14",
|
|
35
|
+
"@sanity/types": "^4.1.1",
|
|
36
|
+
"@sanity/visual-editing": "^3.0.0",
|
|
37
37
|
"defu": "^6.1.4",
|
|
38
38
|
"ofetch": "^1.4.1",
|
|
39
39
|
"ohash": "^1.1.6",
|
|
40
|
-
"unstorage": "^1.16.
|
|
40
|
+
"unstorage": "^1.16.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@nuxt/eslint-config": "^1.
|
|
44
|
-
"@nuxt/kit": "^
|
|
45
|
-
"@nuxt/module-builder": "^1.0.
|
|
46
|
-
"@nuxt/schema": "^
|
|
43
|
+
"@nuxt/eslint-config": "^1.7.1",
|
|
44
|
+
"@nuxt/kit": "^4.0.1",
|
|
45
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
46
|
+
"@nuxt/schema": "^4.0.1",
|
|
47
47
|
"@nuxt/test-utils": "^3.19.2",
|
|
48
48
|
"@types/node": "latest",
|
|
49
|
-
"changelogen": "^0.6.
|
|
50
|
-
"eslint": "^9.
|
|
49
|
+
"changelogen": "^0.6.2",
|
|
50
|
+
"eslint": "^9.32.0",
|
|
51
51
|
"h3": "^1.15.3",
|
|
52
|
-
"nuxt": "^
|
|
52
|
+
"nuxt": "^4.0.1",
|
|
53
53
|
"typescript": "5.8.3",
|
|
54
|
-
"vite": "
|
|
54
|
+
"vite": "7.0.6",
|
|
55
55
|
"vitest": "^3.2.4",
|
|
56
56
|
"vitest-environment-nuxt": "1.0.1",
|
|
57
|
-
"vue": "3.5.
|
|
57
|
+
"vue": "3.5.18",
|
|
58
58
|
"vue-router": "^4.5.1",
|
|
59
|
-
"vue-tsc": "^
|
|
59
|
+
"vue-tsc": "^3.0.4"
|
|
60
60
|
},
|
|
61
61
|
"resolutions": {
|
|
62
62
|
"@devite/nuxt-sanity": "link:."
|