@uniformdev/uniform-nuxt 20.75.1-alpha.15.sha-b6ff05804e → 20.75.1-alpha.3
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 +7 -6
- 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
|
+
* @default '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
|
+
* @default '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
|
+
* @default '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
|
+
* @default 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
|
+
* @default true
|
|
36
36
|
*/
|
|
37
37
|
enableContextDevTools?: boolean;
|
|
38
38
|
/**
|
package/dist/module.json
CHANGED
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CompositionDeliveryClient, CompositionGetParameters } from '@uniformdev/canvas';
|
|
2
2
|
import { Context } from '@uniformdev/context';
|
|
3
|
+
import { type Ref } from 'vue';
|
|
3
4
|
export type PreviewState = {
|
|
4
5
|
slug: string | undefined;
|
|
5
6
|
compositionId: string | undefined;
|
|
@@ -14,7 +15,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
14
15
|
uniformCanvasClient: CompositionDeliveryClient;
|
|
15
16
|
uniformContext: Context;
|
|
16
17
|
useComposition: (options: Pick<CompositionGetParameters, "compositionId" | "slug" | "state">) => Promise<{
|
|
17
|
-
data:
|
|
18
|
+
data: Ref<({
|
|
18
19
|
wholeResponseCacheDiagnostics?: {
|
|
19
20
|
info: string;
|
|
20
21
|
cacheTtl: number;
|
|
@@ -1599,8 +1600,8 @@ declare const _default: import("#app").Plugin<{
|
|
|
1599
1600
|
editionName?: string;
|
|
1600
1601
|
editionPriority?: number;
|
|
1601
1602
|
}) | undefined>;
|
|
1602
|
-
pending:
|
|
1603
|
-
error:
|
|
1603
|
+
pending: Ref<boolean, boolean>;
|
|
1604
|
+
error: Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
|
|
1604
1605
|
}>;
|
|
1605
1606
|
}> & import("#app").ObjectPlugin<{
|
|
1606
1607
|
uniformIsSetup: boolean;
|
|
@@ -1609,7 +1610,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
1609
1610
|
uniformCanvasClient: CompositionDeliveryClient;
|
|
1610
1611
|
uniformContext: Context;
|
|
1611
1612
|
useComposition: (options: Pick<CompositionGetParameters, "compositionId" | "slug" | "state">) => Promise<{
|
|
1612
|
-
data:
|
|
1613
|
+
data: Ref<({
|
|
1613
1614
|
wholeResponseCacheDiagnostics?: {
|
|
1614
1615
|
info: string;
|
|
1615
1616
|
cacheTtl: number;
|
|
@@ -3194,8 +3195,8 @@ declare const _default: import("#app").Plugin<{
|
|
|
3194
3195
|
editionName?: string;
|
|
3195
3196
|
editionPriority?: number;
|
|
3196
3197
|
}) | undefined>;
|
|
3197
|
-
pending:
|
|
3198
|
-
error:
|
|
3198
|
+
pending: Ref<boolean, boolean>;
|
|
3199
|
+
error: Ref<import("#app").NuxtError<unknown> | undefined, import("#app").NuxtError<unknown> | undefined>;
|
|
3199
3200
|
}>;
|
|
3200
3201
|
}>;
|
|
3201
3202
|
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.3+8eaaa5230a",
|
|
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.4.8",
|
|
32
|
+
"@uniformdev/canvas": "20.75.1-alpha.3+8eaaa5230a",
|
|
33
|
+
"@uniformdev/canvas-vue": "20.75.1-alpha.3+8eaaa5230a",
|
|
34
|
+
"@uniformdev/context": "20.75.1-alpha.3+8eaaa5230a",
|
|
35
|
+
"@uniformdev/context-vue": "20.75.1-alpha.3+8eaaa5230a",
|
|
36
|
+
"@uniformdev/richtext": "20.75.1-alpha.3+8eaaa5230a"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@nuxt/module-builder": "1.0.2",
|
|
40
|
-
"@nuxt/schema": "4.
|
|
40
|
+
"@nuxt/schema": "4.4.8",
|
|
41
41
|
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
|
42
42
|
"esbuild": "0.28.1",
|
|
43
|
-
"nuxt": "4.
|
|
43
|
+
"nuxt": "4.4.8",
|
|
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": "8eaaa5230a5621f7b30b1b54b48dcd097f684af9"
|
|
51
51
|
}
|