@uniformdev/uniform-nuxt 20.14.4-alpha.3 → 20.15.1-alpha.4
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.cjs +5 -0
- package/dist/module.d.mts +1 -2
- package/dist/module.d.ts +45 -0
- package/dist/module.json +2 -2
- package/dist/runtime/composables/useUniformComposition.d.ts +4 -1305
- package/dist/runtime/plugin.d.ts +1 -3142
- package/dist/types.d.mts +2 -4
- package/dist/types.d.ts +7 -0
- package/package.json +19 -25
package/dist/module.cjs
ADDED
package/dist/module.d.mts
CHANGED
|
@@ -42,5 +42,4 @@ interface UniformModuleOptions {
|
|
|
42
42
|
}
|
|
43
43
|
declare const _default: _nuxt_schema.NuxtModule<UniformModuleOptions, UniformModuleOptions, false>;
|
|
44
44
|
|
|
45
|
-
export { _default as default };
|
|
46
|
-
export type { UniformModuleOptions };
|
|
45
|
+
export { type UniformModuleOptions, _default as default };
|
package/dist/module.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
+
import { ManifestV2 } from '@uniformdev/context';
|
|
3
|
+
|
|
4
|
+
interface UniformModuleOptions {
|
|
5
|
+
/** The ID of the Uniform project you want to use in your app. */
|
|
6
|
+
projectId: string;
|
|
7
|
+
/** An API key that has read permissions to your Uniform project. ⚠️ Make sure the API key has only read access, because it's used in Nuxt's public runtime config */
|
|
8
|
+
readOnlyApiKey: string;
|
|
9
|
+
/**
|
|
10
|
+
* The host to be used when calling the API.
|
|
11
|
+
* @default 'https://uniform.app'
|
|
12
|
+
*/
|
|
13
|
+
apiHost?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The host to be used when calling the Edge API.
|
|
16
|
+
* @default 'https://uniform.global'
|
|
17
|
+
*/
|
|
18
|
+
edgeApiHost?: string;
|
|
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
|
+
manifest?: ManifestV2;
|
|
21
|
+
/**
|
|
22
|
+
* Set it to 'edge' when building the app for the edge using [NESI technology](https://docs.uniform.app/context/reference/netlify)
|
|
23
|
+
* @default 'standard'
|
|
24
|
+
*/
|
|
25
|
+
outputType?: string;
|
|
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
|
+
uniformContextPath?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the default value of the user consent.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
defaultConsent?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Enables the [Context DevTools](https://docs.uniform.app/context/getting-started/browser-extension) plugin.
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
enableContextDevTools?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The path to the playground page, to live preview components and patterns.
|
|
40
|
+
*/
|
|
41
|
+
playgroundPath?: string;
|
|
42
|
+
}
|
|
43
|
+
declare const _default: _nuxt_schema.NuxtModule<UniformModuleOptions, UniformModuleOptions, false>;
|
|
44
|
+
|
|
45
|
+
export { type UniformModuleOptions, _default as default };
|
package/dist/module.json
CHANGED