@scayle/storefront-nuxt 7.85.10 → 7.85.11
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/CHANGELOG.md +6 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +1 -1
- package/dist/types.d.mts +4 -55
- package/dist/types.d.ts +4 -55
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
|
-
"version": "7.85.
|
|
3
|
+
"version": "7.85.11",
|
|
4
4
|
"configKey": "storefront",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"nuxt": "^3.9.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "0.
|
|
9
|
+
"@nuxt/module-builder": "0.8.4",
|
|
10
10
|
"unbuild": "2.0.0"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/dist/module.mjs
CHANGED
package/dist/types.d.mts
CHANGED
|
@@ -1,62 +1,11 @@
|
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
1
2
|
|
|
2
|
-
import type { ModulePublicRuntimeConfig } from './module.js'
|
|
3
|
-
|
|
4
|
-
export interface ModuleOptions {
|
|
5
|
-
session: {
|
|
6
|
-
/** @default "$session" */
|
|
7
|
-
cookieName: string,
|
|
8
|
-
|
|
9
|
-
/** @default "lax" */
|
|
10
|
-
sameSite: string,
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
/** @default "domain" */
|
|
14
|
-
shopSelector: string,
|
|
15
|
-
|
|
16
|
-
oauth: {
|
|
17
|
-
/** @default "" */
|
|
18
|
-
apiHost: string,
|
|
19
|
-
|
|
20
|
-
/** @default "" */
|
|
21
|
-
clientId: string,
|
|
22
|
-
|
|
23
|
-
/** @default "" */
|
|
24
|
-
clientSecret: string,
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
idp: {
|
|
28
|
-
/** @default false */
|
|
29
|
-
enabled: boolean,
|
|
30
|
-
|
|
31
|
-
idpKeys: Array<any>,
|
|
32
|
-
|
|
33
|
-
/** @default "" */
|
|
34
|
-
idpRedirectURL: string,
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
appKeys: {
|
|
38
|
-
/** @default "wishlist_{shopId}_{userId}" */
|
|
39
|
-
wishlistKey: string,
|
|
40
|
-
|
|
41
|
-
/** @default "basket_{shopId}_{userId}" */
|
|
42
|
-
basketKey: string,
|
|
43
|
-
|
|
44
|
-
/** @default "sha256" */
|
|
45
|
-
hashAlgorithm: string,
|
|
46
|
-
},
|
|
47
|
-
}
|
|
3
|
+
import type { default as Module, ModulePublicRuntimeConfig } from './module.js'
|
|
48
4
|
|
|
49
5
|
declare module '@nuxt/schema' {
|
|
50
|
-
interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
|
|
51
|
-
interface NuxtOptions { ['storefront']?: ModuleOptions }
|
|
52
|
-
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare module 'nuxt/schema' {
|
|
56
|
-
interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
|
|
57
|
-
interface NuxtOptions { ['storefront']?: ModuleOptions }
|
|
58
6
|
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
59
7
|
}
|
|
60
8
|
|
|
9
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
61
10
|
|
|
62
|
-
export type
|
|
11
|
+
export { type AdditionalShopConfig, type AppKeys, type BapiConfig, type CheckoutEvent, type CheckoutShopConfig, type ModulePublicRuntimeConfig, type PublicShopConfig, type RedisConfig, type SapiConfig, type SessionConfig, type ShopConfig, type ShopConfigIndexed, type StorageConfig, type StorageEntity, type StorageProvider, type StorefrontConfig } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,62 +1,11 @@
|
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
1
2
|
|
|
2
|
-
import type { ModulePublicRuntimeConfig } from './module'
|
|
3
|
-
|
|
4
|
-
export interface ModuleOptions {
|
|
5
|
-
session: {
|
|
6
|
-
/** @default "$session" */
|
|
7
|
-
cookieName: string,
|
|
8
|
-
|
|
9
|
-
/** @default "lax" */
|
|
10
|
-
sameSite: string,
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
/** @default "domain" */
|
|
14
|
-
shopSelector: string,
|
|
15
|
-
|
|
16
|
-
oauth: {
|
|
17
|
-
/** @default "" */
|
|
18
|
-
apiHost: string,
|
|
19
|
-
|
|
20
|
-
/** @default "" */
|
|
21
|
-
clientId: string,
|
|
22
|
-
|
|
23
|
-
/** @default "" */
|
|
24
|
-
clientSecret: string,
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
idp: {
|
|
28
|
-
/** @default false */
|
|
29
|
-
enabled: boolean,
|
|
30
|
-
|
|
31
|
-
idpKeys: Array<any>,
|
|
32
|
-
|
|
33
|
-
/** @default "" */
|
|
34
|
-
idpRedirectURL: string,
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
appKeys: {
|
|
38
|
-
/** @default "wishlist_{shopId}_{userId}" */
|
|
39
|
-
wishlistKey: string,
|
|
40
|
-
|
|
41
|
-
/** @default "basket_{shopId}_{userId}" */
|
|
42
|
-
basketKey: string,
|
|
43
|
-
|
|
44
|
-
/** @default "sha256" */
|
|
45
|
-
hashAlgorithm: string,
|
|
46
|
-
},
|
|
47
|
-
}
|
|
3
|
+
import type { default as Module, ModulePublicRuntimeConfig } from './module'
|
|
48
4
|
|
|
49
5
|
declare module '@nuxt/schema' {
|
|
50
|
-
interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
|
|
51
|
-
interface NuxtOptions { ['storefront']?: ModuleOptions }
|
|
52
|
-
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare module 'nuxt/schema' {
|
|
56
|
-
interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
|
|
57
|
-
interface NuxtOptions { ['storefront']?: ModuleOptions }
|
|
58
6
|
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
59
7
|
}
|
|
60
8
|
|
|
9
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
61
10
|
|
|
62
|
-
export type
|
|
11
|
+
export { type AdditionalShopConfig, type AppKeys, type BapiConfig, type CheckoutEvent, type CheckoutShopConfig, type ModulePublicRuntimeConfig, type PublicShopConfig, type RedisConfig, type SapiConfig, type SessionConfig, type ShopConfig, type ShopConfigIndexed, type StorageConfig, type StorageEntity, type StorageProvider, type StorefrontConfig } from './module'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.85.
|
|
4
|
+
"version": "7.85.11",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
"package:lint": "publint",
|
|
56
56
|
"test": "vitest run",
|
|
57
57
|
"test:ci": "vitest run",
|
|
58
|
-
"test:watch": "vitest watch"
|
|
59
|
-
"postinstall": "patch-package"
|
|
58
|
+
"test:watch": "vitest watch"
|
|
60
59
|
},
|
|
61
60
|
"dependencies": {
|
|
62
61
|
"@nuxt/kit": "^3.12.2",
|
|
@@ -81,7 +80,7 @@
|
|
|
81
80
|
},
|
|
82
81
|
"devDependencies": {
|
|
83
82
|
"@nuxt/eslint": "0.5.7",
|
|
84
|
-
"@nuxt/module-builder": "0.
|
|
83
|
+
"@nuxt/module-builder": "0.8.4",
|
|
85
84
|
"@nuxt/schema": "3.13.2",
|
|
86
85
|
"@nuxt/test-utils": "3.14.2",
|
|
87
86
|
"@scayle/eslint-config-storefront": "4.3.0",
|
|
@@ -95,7 +94,6 @@
|
|
|
95
94
|
"node-mocks-http": "1.16.0",
|
|
96
95
|
"nuxi": "3.14.0",
|
|
97
96
|
"nuxt": "3.13.2",
|
|
98
|
-
"patch-package": "8.0.0",
|
|
99
97
|
"publint": "0.2.11",
|
|
100
98
|
"vitest": "2.1.1",
|
|
101
99
|
"vue-tsc": "2.1.6"
|