@uniformdev/uniform-nuxt 20.75.1-alpha.0 → 20.75.1-alpha.15.sha-b6ff05804e
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 +5 -5
- package/dist/module.json +1 -1
- package/dist/runtime/plugin.d.ts +6 -7
- package/package.json +10 -10
package/dist/module.d.mts
CHANGED
|
@@ -8,31 +8,31 @@ interface UniformModuleOptions {
|
|
|
8
8
|
readOnlyApiKey: string;
|
|
9
9
|
/**
|
|
10
10
|
* The host to be used when calling the API.
|
|
11
|
-
* @
|
|
11
|
+
* @defaultValue 'https://uniform.app'
|
|
12
12
|
*/
|
|
13
13
|
apiHost?: string;
|
|
14
14
|
/**
|
|
15
15
|
* The host to be used when calling the Edge API.
|
|
16
|
-
* @
|
|
16
|
+
* @defaultValue 'https://uniform.global'
|
|
17
17
|
*/
|
|
18
18
|
edgeApiHost?: string;
|
|
19
19
|
/** The Uniform Context manifest. This one is usually fetched right before the app is started using Uniform's CLI. Uniform Context won't be enabled if a manifest is missing. */
|
|
20
20
|
manifest?: ManifestV2;
|
|
21
21
|
/**
|
|
22
22
|
* Set it to 'edge' when building the app for the edge using [NESI technology](https://docs.uniform.app/context/reference/netlify)
|
|
23
|
-
* @
|
|
23
|
+
* @defaultValue 'standard'
|
|
24
24
|
*/
|
|
25
25
|
outputType?: string;
|
|
26
26
|
/** The path to a file that exports a Unifrom Context instance as default.<br>This will override the values of `manifest`, `defaultConsent` and `enableContextDevTools`. Useful for advanced use cases (such us using plugins other than the Context DevTools one). */
|
|
27
27
|
uniformContextPath?: string;
|
|
28
28
|
/**
|
|
29
29
|
* Sets the default value of the user consent.
|
|
30
|
-
* @
|
|
30
|
+
* @defaultValue false
|
|
31
31
|
*/
|
|
32
32
|
defaultConsent?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Enables the [Context DevTools](https://docs.uniform.app/context/getting-started/browser-extension) plugin.
|
|
35
|
-
* @
|
|
35
|
+
* @defaultValue true
|
|
36
36
|
*/
|
|
37
37
|
enableContextDevTools?: boolean;
|
|
38
38
|
/**
|
package/dist/module.json
CHANGED
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CompositionDeliveryClient, CompositionGetParameters } from '@uniformdev/canvas';
|
|
2
2
|
import { Context } from '@uniformdev/context';
|
|
3
|
-
import { type Ref } from 'vue';
|
|
4
3
|
export type PreviewState = {
|
|
5
4
|
slug: string | undefined;
|
|
6
5
|
compositionId: string | undefined;
|
|
@@ -15,7 +14,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
15
14
|
uniformCanvasClient: CompositionDeliveryClient;
|
|
16
15
|
uniformContext: Context;
|
|
17
16
|
useComposition: (options: Pick<CompositionGetParameters, "compositionId" | "slug" | "state">) => Promise<{
|
|
18
|
-
data: Ref<({
|
|
17
|
+
data: import("vue").Ref<({
|
|
19
18
|
wholeResponseCacheDiagnostics?: {
|
|
20
19
|
info: string;
|
|
21
20
|
cacheTtl: number;
|
|
@@ -1600,8 +1599,8 @@ declare const _default: import("#app").Plugin<{
|
|
|
1600
1599
|
editionName?: string;
|
|
1601
1600
|
editionPriority?: number;
|
|
1602
1601
|
}) | undefined>;
|
|
1603
|
-
pending: Ref<boolean, boolean>;
|
|
1604
|
-
error: Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
|
|
1602
|
+
pending: import("vue").Ref<boolean, boolean>;
|
|
1603
|
+
error: import("vue").Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
|
|
1605
1604
|
}>;
|
|
1606
1605
|
}> & import("#app").ObjectPlugin<{
|
|
1607
1606
|
uniformIsSetup: boolean;
|
|
@@ -1610,7 +1609,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
1610
1609
|
uniformCanvasClient: CompositionDeliveryClient;
|
|
1611
1610
|
uniformContext: Context;
|
|
1612
1611
|
useComposition: (options: Pick<CompositionGetParameters, "compositionId" | "slug" | "state">) => Promise<{
|
|
1613
|
-
data: Ref<({
|
|
1612
|
+
data: import("vue").Ref<({
|
|
1614
1613
|
wholeResponseCacheDiagnostics?: {
|
|
1615
1614
|
info: string;
|
|
1616
1615
|
cacheTtl: number;
|
|
@@ -3195,8 +3194,8 @@ declare const _default: import("#app").Plugin<{
|
|
|
3195
3194
|
editionName?: string;
|
|
3196
3195
|
editionPriority?: number;
|
|
3197
3196
|
}) | undefined>;
|
|
3198
|
-
pending: Ref<boolean, boolean>;
|
|
3199
|
-
error: Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
|
|
3197
|
+
pending: import("vue").Ref<boolean, boolean>;
|
|
3198
|
+
error: import("vue").Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
|
|
3200
3199
|
}>;
|
|
3201
3200
|
}>;
|
|
3202
3201
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/uniform-nuxt",
|
|
3
|
-
"version": "20.75.1-alpha.
|
|
3
|
+
"version": "20.75.1-alpha.15.sha-b6ff05804e",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,24 +28,24 @@
|
|
|
28
28
|
"apidocs-extract": "api-extractor run --local"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@nuxt/kit": "4.
|
|
32
|
-
"@uniformdev/canvas": "20.75.1-alpha.
|
|
33
|
-
"@uniformdev/canvas-vue": "20.75.1-alpha.
|
|
34
|
-
"@uniformdev/context": "20.75.1-alpha.
|
|
35
|
-
"@uniformdev/context-vue": "20.75.1-alpha.
|
|
36
|
-
"@uniformdev/richtext": "20.75.1-alpha.
|
|
31
|
+
"@nuxt/kit": "4.5.2",
|
|
32
|
+
"@uniformdev/canvas": "20.75.1-alpha.15.sha-b6ff05804e",
|
|
33
|
+
"@uniformdev/canvas-vue": "20.75.1-alpha.15.sha-b6ff05804e",
|
|
34
|
+
"@uniformdev/context": "20.75.1-alpha.15.sha-b6ff05804e",
|
|
35
|
+
"@uniformdev/context-vue": "20.75.1-alpha.15.sha-b6ff05804e",
|
|
36
|
+
"@uniformdev/richtext": "20.75.1-alpha.15.sha-b6ff05804e"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@nuxt/module-builder": "1.0.2",
|
|
40
|
-
"@nuxt/schema": "4.
|
|
40
|
+
"@nuxt/schema": "4.5.2",
|
|
41
41
|
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
|
42
42
|
"esbuild": "0.28.1",
|
|
43
|
-
"nuxt": "4.
|
|
43
|
+
"nuxt": "4.5.2",
|
|
44
44
|
"vue": "3.5.38",
|
|
45
45
|
"vue-router": "4.5.1"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b6ff05804e8d082bdd9563566f9eda24d999a771"
|
|
51
51
|
}
|