@nuxtjs/prismic 3.3.1 → 3.3.2
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/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/307dc44b-75df-496b-aaea-804f4eb051d6.json +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/types.d.mts +2 -33
- package/dist/types.d.ts +2 -33
- package/package.json +1 -1
- package/src/module.ts +1 -1
- package/dist/client/_nuxt/builds/meta/90726dd4-ebfb-46c1-9125-67d088c2862d.json +0 -1
package/dist/client/200.html
CHANGED
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
<link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/CpxYXSTt.js">
|
|
12
12
|
<script type="module" src="/__prismic-client/_nuxt/DCUMl-h9.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
13
13
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
14
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"
|
|
14
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"307dc44b-75df-496b-aaea-804f4eb051d6",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
<link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/CpxYXSTt.js">
|
|
12
12
|
<script type="module" src="/__prismic-client/_nuxt/DCUMl-h9.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
13
13
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
14
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"
|
|
14
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"307dc44b-75df-496b-aaea-804f4eb051d6",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"307dc44b-75df-496b-aaea-804f4eb051d6","timestamp":1719927253879}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"307dc44b-75df-496b-aaea-804f4eb051d6","timestamp":1719927253879,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
package/dist/client/index.html
CHANGED
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
<link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/CpxYXSTt.js">
|
|
12
12
|
<script type="module" src="/__prismic-client/_nuxt/DCUMl-h9.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
13
13
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
14
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"
|
|
14
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"307dc44b-75df-496b-aaea-804f4eb051d6",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.d.mts
CHANGED
|
@@ -102,4 +102,4 @@ declare module '@nuxt/schema' {
|
|
|
102
102
|
}
|
|
103
103
|
declare const _default: _nuxt_schema.NuxtModule<PrismicModuleOptions>;
|
|
104
104
|
|
|
105
|
-
export { type PrismicModuleOptions, _default as default };
|
|
105
|
+
export { type PrismicModuleOptions as ModuleOptions, type PrismicModuleOptions, _default as default };
|
package/dist/module.d.ts
CHANGED
|
@@ -102,4 +102,4 @@ declare module '@nuxt/schema' {
|
|
|
102
102
|
}
|
|
103
103
|
declare const _default: _nuxt_schema.NuxtModule<PrismicModuleOptions>;
|
|
104
104
|
|
|
105
|
-
export { type PrismicModuleOptions, _default as default };
|
|
105
|
+
export { type PrismicModuleOptions as ModuleOptions, type PrismicModuleOptions, _default as default };
|
package/dist/module.json
CHANGED
package/dist/types.d.mts
CHANGED
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import type {
|
|
2
|
+
import type { ModuleOptions } from './module.js'
|
|
3
3
|
|
|
4
|
-
export interface ModuleOptions {
|
|
5
|
-
/** @default "" */
|
|
6
|
-
endpoint: string,
|
|
7
4
|
|
|
8
|
-
/** @default "" */
|
|
9
|
-
environment: string,
|
|
10
|
-
|
|
11
|
-
clientConfig: any,
|
|
12
|
-
|
|
13
|
-
/** @default "~/app/prismic/client" */
|
|
14
|
-
client: string,
|
|
15
|
-
|
|
16
|
-
/** @default "~/app/prismic/linkResolver" */
|
|
17
|
-
linkResolver: string,
|
|
18
|
-
|
|
19
|
-
/** @default "~/app/prismic/richTextSerializer" */
|
|
20
|
-
richTextSerializer: string,
|
|
21
|
-
|
|
22
|
-
/** @default true */
|
|
23
|
-
injectComponents: boolean,
|
|
24
|
-
|
|
25
|
-
components: any,
|
|
26
|
-
|
|
27
|
-
/** @default "/preview" */
|
|
28
|
-
preview: string,
|
|
29
|
-
|
|
30
|
-
/** @default true */
|
|
31
|
-
toolbar: boolean,
|
|
32
|
-
|
|
33
|
-
/** @default true */
|
|
34
|
-
devtools: boolean,
|
|
35
|
-
}
|
|
36
5
|
|
|
37
6
|
declare module '@nuxt/schema' {
|
|
38
7
|
interface NuxtConfig { ['prismic']?: Partial<ModuleOptions> }
|
|
@@ -45,4 +14,4 @@ declare module 'nuxt/schema' {
|
|
|
45
14
|
}
|
|
46
15
|
|
|
47
16
|
|
|
48
|
-
export type { PrismicModuleOptions, default } from './module.js'
|
|
17
|
+
export type { ModuleOptions, PrismicModuleOptions, default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import type {
|
|
2
|
+
import type { ModuleOptions } from './module'
|
|
3
3
|
|
|
4
|
-
export interface ModuleOptions {
|
|
5
|
-
/** @default "" */
|
|
6
|
-
endpoint: string,
|
|
7
4
|
|
|
8
|
-
/** @default "" */
|
|
9
|
-
environment: string,
|
|
10
|
-
|
|
11
|
-
clientConfig: any,
|
|
12
|
-
|
|
13
|
-
/** @default "~/app/prismic/client" */
|
|
14
|
-
client: string,
|
|
15
|
-
|
|
16
|
-
/** @default "~/app/prismic/linkResolver" */
|
|
17
|
-
linkResolver: string,
|
|
18
|
-
|
|
19
|
-
/** @default "~/app/prismic/richTextSerializer" */
|
|
20
|
-
richTextSerializer: string,
|
|
21
|
-
|
|
22
|
-
/** @default true */
|
|
23
|
-
injectComponents: boolean,
|
|
24
|
-
|
|
25
|
-
components: any,
|
|
26
|
-
|
|
27
|
-
/** @default "/preview" */
|
|
28
|
-
preview: string,
|
|
29
|
-
|
|
30
|
-
/** @default true */
|
|
31
|
-
toolbar: boolean,
|
|
32
|
-
|
|
33
|
-
/** @default true */
|
|
34
|
-
devtools: boolean,
|
|
35
|
-
}
|
|
36
5
|
|
|
37
6
|
declare module '@nuxt/schema' {
|
|
38
7
|
interface NuxtConfig { ['prismic']?: Partial<ModuleOptions> }
|
|
@@ -45,4 +14,4 @@ declare module 'nuxt/schema' {
|
|
|
45
14
|
}
|
|
46
15
|
|
|
47
16
|
|
|
48
|
-
export type { PrismicModuleOptions, default } from './module'
|
|
17
|
+
export type { ModuleOptions, PrismicModuleOptions, default } from './module'
|
package/package.json
CHANGED
package/src/module.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { logger, fileExists } from './lib'
|
|
|
21
21
|
import type { PrismicModuleOptions } from './types'
|
|
22
22
|
|
|
23
23
|
// Options export
|
|
24
|
-
export type { PrismicModuleOptions } from './types'
|
|
24
|
+
export type { PrismicModuleOptions, PrismicModuleOptions as ModuleOptions } from './types'
|
|
25
25
|
|
|
26
26
|
declare module '@nuxt/schema' {
|
|
27
27
|
interface PublicRuntimeConfig {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"90726dd4-ebfb-46c1-9125-67d088c2862d","timestamp":1718375458202,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|