@scayle/storefront-nuxt 7.83.0 → 7.84.1
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 +21 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/module.d.mts +2 -2
- package/dist/module.d.ts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +10 -10
- package/dist/rpc.d.mts +1 -1
- package/dist/rpc.d.ts +1 -1
- package/dist/runtime/api/cacheAuth.mjs +1 -0
- package/dist/runtime/composables/core/useIDP.mjs +2 -11
- package/dist/runtime/composables/core/useRpc.mjs +3 -1
- package/dist/runtime/composables/core/useSession.mjs +10 -17
- package/dist/runtime/composables/core/useUser.mjs +7 -14
- package/dist/runtime/composables/storefront/useBasket.mjs +11 -24
- package/dist/runtime/composables/storefront/useCategories.mjs +2 -10
- package/dist/runtime/composables/storefront/useCurrentPromotions.mjs +7 -1
- package/dist/runtime/composables/storefront/useSearch.mjs +3 -10
- package/dist/runtime/composables/storefront/useStorefrontSearch.mjs +5 -15
- package/dist/runtime/composables/storefront/useWishlist.mjs +9 -24
- package/dist/runtime/nitro/plugins/configValidation.d.ts +4 -0
- package/dist/runtime/nitro/plugins/configValidation.mjs +2 -2
- package/dist/runtime/nitro/plugins/nitroRuntimeStorageConfig.mjs +2 -1
- package/dist/runtime/server/middleware/bootstrap.d.ts +11 -1
- package/dist/runtime/server/middleware/bootstrap.mjs +3 -1
- package/dist/runtime/server/middleware/bootstrap.utils.d.ts +2 -2
- package/dist/runtime/server/middleware/bootstrap.utils.mjs +9 -7
- package/dist/runtime/utils/zodSchema.d.ts +987 -148
- package/dist/runtime/utils/zodSchema.mjs +34 -10
- package/dist/shared/{storefront-nuxt.87331293.d.mts → storefront-nuxt.d852fe87.d.mts} +21 -7
- package/dist/shared/{storefront-nuxt.87331293.d.ts → storefront-nuxt.d852fe87.d.ts} +21 -7
- package/package.json +11 -11
|
@@ -187,7 +187,6 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
187
187
|
}, {
|
|
188
188
|
resetPasswordUrl: string;
|
|
189
189
|
}>;
|
|
190
|
-
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
191
190
|
currency: z.ZodString;
|
|
192
191
|
checkout: z.ZodObject<{
|
|
193
192
|
token: z.ZodString;
|
|
@@ -437,6 +436,10 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
437
436
|
prefix?: string | undefined;
|
|
438
437
|
sslTransit?: boolean | undefined;
|
|
439
438
|
}>]>>;
|
|
439
|
+
/**
|
|
440
|
+
* @deprecated storeCampaignKeyword will be removed in a future release.
|
|
441
|
+
*/
|
|
442
|
+
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
440
443
|
}, "strip", z.ZodTypeAny, {
|
|
441
444
|
locale: string;
|
|
442
445
|
checkout: {
|
|
@@ -1037,6 +1040,9 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1037
1040
|
};
|
|
1038
1041
|
bapi?: undefined;
|
|
1039
1042
|
}>, z.ZodObject<{
|
|
1043
|
+
/**
|
|
1044
|
+
* bapi was renamed. Use {@link sapi} instead.
|
|
1045
|
+
*/
|
|
1040
1046
|
bapi: z.ZodObject<{
|
|
1041
1047
|
host: z.ZodString;
|
|
1042
1048
|
token: z.ZodString;
|
|
@@ -1072,20 +1078,49 @@ declare const PublicRuntimeConfigSchema: z.ZodObject<{
|
|
|
1072
1078
|
level: LogLevel;
|
|
1073
1079
|
name: string;
|
|
1074
1080
|
}>;
|
|
1081
|
+
disableDefaultGetCachedDataOverride: z.ZodOptional<z.ZodBoolean>;
|
|
1075
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1076
1083
|
log: {
|
|
1077
1084
|
level: LogLevel;
|
|
1078
1085
|
name: string;
|
|
1079
1086
|
};
|
|
1087
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
1080
1088
|
}, {
|
|
1081
1089
|
log: {
|
|
1082
1090
|
level: LogLevel;
|
|
1083
1091
|
name: string;
|
|
1084
1092
|
};
|
|
1093
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
1085
1094
|
}>;
|
|
1086
1095
|
export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
1087
|
-
storefront: z.ZodIntersection<z.ZodObject<{
|
|
1096
|
+
storefront: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1088
1097
|
shopSelector: z.ZodEnum<["path", "domain", "path_or_default"]>;
|
|
1098
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
1099
|
+
enabled: z.ZodBoolean;
|
|
1100
|
+
queryParamWhitelist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1101
|
+
}, "strip", z.ZodTypeAny, {
|
|
1102
|
+
enabled: boolean;
|
|
1103
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1104
|
+
}, {
|
|
1105
|
+
enabled: boolean;
|
|
1106
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1107
|
+
}>>;
|
|
1108
|
+
}, "strip", z.ZodTypeAny, {
|
|
1109
|
+
shopSelector: "domain" | "path" | "path_or_default";
|
|
1110
|
+
redirects?: {
|
|
1111
|
+
enabled: boolean;
|
|
1112
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1113
|
+
} | undefined;
|
|
1114
|
+
}, {
|
|
1115
|
+
shopSelector: "domain" | "path" | "path_or_default";
|
|
1116
|
+
redirects?: {
|
|
1117
|
+
enabled: boolean;
|
|
1118
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
1121
|
+
/**
|
|
1122
|
+
* @deprecated stores was renamed. Use {@link shops} instead
|
|
1123
|
+
*/
|
|
1089
1124
|
stores: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1090
1125
|
idp: z.ZodOptional<z.ZodObject<{
|
|
1091
1126
|
enabled: z.ZodBoolean;
|
|
@@ -1112,7 +1147,6 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1112
1147
|
}, {
|
|
1113
1148
|
resetPasswordUrl: string;
|
|
1114
1149
|
}>;
|
|
1115
|
-
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
1116
1150
|
currency: z.ZodString;
|
|
1117
1151
|
checkout: z.ZodObject<{
|
|
1118
1152
|
token: z.ZodString;
|
|
@@ -1362,6 +1396,10 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1362
1396
|
prefix?: string | undefined;
|
|
1363
1397
|
sslTransit?: boolean | undefined;
|
|
1364
1398
|
}>]>>;
|
|
1399
|
+
/**
|
|
1400
|
+
* @deprecated storeCampaignKeyword will be removed in a future release.
|
|
1401
|
+
*/
|
|
1402
|
+
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
1365
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1366
1404
|
locale: string;
|
|
1367
1405
|
checkout: {
|
|
@@ -1533,18 +1571,8 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1533
1571
|
} | undefined;
|
|
1534
1572
|
isDefault?: string | boolean | undefined;
|
|
1535
1573
|
}>>;
|
|
1536
|
-
|
|
1537
|
-
enabled: z.ZodBoolean;
|
|
1538
|
-
queryParamWhitelist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1539
|
-
}, "strip", z.ZodTypeAny, {
|
|
1540
|
-
enabled: boolean;
|
|
1541
|
-
queryParamWhitelist?: string[] | undefined;
|
|
1542
|
-
}, {
|
|
1543
|
-
enabled: boolean;
|
|
1544
|
-
queryParamWhitelist?: string[] | undefined;
|
|
1545
|
-
}>>;
|
|
1574
|
+
shops: z.ZodUndefined;
|
|
1546
1575
|
}, "strip", z.ZodTypeAny, {
|
|
1547
|
-
shopSelector: "domain" | "path" | "path_or_default";
|
|
1548
1576
|
stores: Record<string, {
|
|
1549
1577
|
locale: string;
|
|
1550
1578
|
checkout: {
|
|
@@ -1631,12 +1659,8 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1631
1659
|
} | undefined;
|
|
1632
1660
|
isDefault?: boolean | "" | undefined;
|
|
1633
1661
|
}>;
|
|
1634
|
-
|
|
1635
|
-
enabled: boolean;
|
|
1636
|
-
queryParamWhitelist?: string[] | undefined;
|
|
1637
|
-
} | undefined;
|
|
1662
|
+
shops?: undefined;
|
|
1638
1663
|
}, {
|
|
1639
|
-
shopSelector: "domain" | "path" | "path_or_default";
|
|
1640
1664
|
stores: Record<string, {
|
|
1641
1665
|
locale: string;
|
|
1642
1666
|
checkout: {
|
|
@@ -1723,130 +1747,755 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1723
1747
|
} | undefined;
|
|
1724
1748
|
isDefault?: string | boolean | undefined;
|
|
1725
1749
|
}>;
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
1747
|
-
*/
|
|
1748
|
-
secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1749
|
-
/**
|
|
1750
|
-
* Controls the domain option on the session cookie
|
|
1751
|
-
*/
|
|
1750
|
+
shops?: undefined;
|
|
1751
|
+
}>, z.ZodObject<{
|
|
1752
|
+
stores: z.ZodUndefined;
|
|
1753
|
+
shops: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1754
|
+
idp: z.ZodOptional<z.ZodObject<{
|
|
1755
|
+
enabled: z.ZodBoolean;
|
|
1756
|
+
idpKeys: z.ZodArray<z.ZodString, "many">;
|
|
1757
|
+
idpRedirectURL: z.ZodString;
|
|
1758
|
+
}, "strip", z.ZodTypeAny, {
|
|
1759
|
+
enabled: boolean;
|
|
1760
|
+
idpKeys: string[];
|
|
1761
|
+
idpRedirectURL: string;
|
|
1762
|
+
}, {
|
|
1763
|
+
enabled: boolean;
|
|
1764
|
+
idpKeys: string[];
|
|
1765
|
+
idpRedirectURL: string;
|
|
1766
|
+
}>>;
|
|
1767
|
+
shopId: z.ZodNumber;
|
|
1768
|
+
path: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1769
|
+
apiBasePath: z.ZodOptional<z.ZodString>;
|
|
1752
1770
|
domain: z.ZodOptional<z.ZodString>;
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
maxAge?: number | undefined;
|
|
1757
|
-
cookieName?: string | undefined;
|
|
1758
|
-
secret?: string | string[] | undefined;
|
|
1759
|
-
}, {
|
|
1760
|
-
domain?: string | undefined;
|
|
1761
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1762
|
-
maxAge?: number | undefined;
|
|
1763
|
-
cookieName?: string | undefined;
|
|
1764
|
-
secret?: string | string[] | undefined;
|
|
1765
|
-
}>>;
|
|
1766
|
-
storage: z.ZodOptional<z.ZodObject<{
|
|
1767
|
-
session: z.ZodOptional<z.ZodObject<{
|
|
1768
|
-
driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1769
|
-
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1770
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1771
|
-
token: z.ZodOptional<z.ZodString>;
|
|
1772
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1773
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
1774
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1775
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1776
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1777
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1771
|
+
locale: z.ZodString;
|
|
1772
|
+
auth: z.ZodObject<{
|
|
1773
|
+
resetPasswordUrl: z.ZodString;
|
|
1778
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1779
|
-
|
|
1780
|
-
ttl?: number | undefined;
|
|
1781
|
-
port?: number | undefined;
|
|
1782
|
-
host?: string | undefined;
|
|
1783
|
-
password?: string | undefined;
|
|
1784
|
-
token?: string | undefined;
|
|
1785
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1786
|
-
url?: string | undefined;
|
|
1787
|
-
username?: string | undefined;
|
|
1788
|
-
tls?: boolean | undefined;
|
|
1775
|
+
resetPasswordUrl: string;
|
|
1789
1776
|
}, {
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1777
|
+
resetPasswordUrl: string;
|
|
1778
|
+
}>;
|
|
1779
|
+
currency: z.ZodString;
|
|
1780
|
+
checkout: z.ZodObject<{
|
|
1781
|
+
token: z.ZodString;
|
|
1782
|
+
secret: z.ZodString;
|
|
1783
|
+
host: z.ZodString;
|
|
1784
|
+
user: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1785
|
+
cbdExpiration: z.ZodOptional<z.ZodNumber>;
|
|
1786
|
+
}, "strip", z.ZodTypeAny, {
|
|
1787
|
+
user: string | number;
|
|
1788
|
+
host: string;
|
|
1789
|
+
secret: string;
|
|
1790
|
+
token: string;
|
|
1791
|
+
cbdExpiration?: number | undefined;
|
|
1792
|
+
}, {
|
|
1793
|
+
user: string | number;
|
|
1794
|
+
host: string;
|
|
1795
|
+
secret: string;
|
|
1796
|
+
token: string;
|
|
1797
|
+
cbdExpiration?: number | undefined;
|
|
1798
|
+
}>;
|
|
1799
|
+
appKeys: z.ZodOptional<z.ZodObject<{
|
|
1800
|
+
wishlistKey: z.ZodString;
|
|
1801
|
+
basketKey: z.ZodString;
|
|
1802
|
+
hashAlgorithm: z.ZodEnum<[string, ...string[]]>;
|
|
1803
|
+
}, "strip", z.ZodTypeAny, {
|
|
1804
|
+
wishlistKey: string;
|
|
1805
|
+
basketKey: string;
|
|
1806
|
+
hashAlgorithm: string;
|
|
1807
|
+
}, {
|
|
1808
|
+
wishlistKey: string;
|
|
1809
|
+
basketKey: string;
|
|
1810
|
+
hashAlgorithm: string;
|
|
1800
1811
|
}>>;
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
+
currencyFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
1813
|
+
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1814
|
+
sessionConfig: z.ZodOptional<z.ZodObject<{
|
|
1815
|
+
/**
|
|
1816
|
+
* The sameSite policy to use for the session cookie
|
|
1817
|
+
*/
|
|
1818
|
+
sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
|
|
1819
|
+
/**
|
|
1820
|
+
* The default maxAge (in seconds) set on the session cookie and default TTL for session store
|
|
1821
|
+
*/
|
|
1822
|
+
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
1823
|
+
/**
|
|
1824
|
+
* The name used for the session cookie
|
|
1825
|
+
*/
|
|
1826
|
+
cookieName: z.ZodOptional<z.ZodString>;
|
|
1827
|
+
/**
|
|
1828
|
+
* The secret used for signing session cookies. If an array is passed, the last
|
|
1829
|
+
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
1830
|
+
*/
|
|
1831
|
+
secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1832
|
+
/**
|
|
1833
|
+
* Controls the domain option on the session cookie
|
|
1834
|
+
*/
|
|
1835
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
1812
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
token?: string | undefined;
|
|
1819
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1820
|
-
url?: string | undefined;
|
|
1821
|
-
username?: string | undefined;
|
|
1822
|
-
tls?: boolean | undefined;
|
|
1837
|
+
domain?: string | undefined;
|
|
1838
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1839
|
+
maxAge?: number | undefined;
|
|
1840
|
+
cookieName?: string | undefined;
|
|
1841
|
+
secret?: string | string[] | undefined;
|
|
1823
1842
|
}, {
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
token?: string | undefined;
|
|
1830
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1831
|
-
url?: string | undefined;
|
|
1832
|
-
username?: string | undefined;
|
|
1833
|
-
tls?: boolean | undefined;
|
|
1843
|
+
domain?: string | undefined;
|
|
1844
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1845
|
+
maxAge?: number | undefined;
|
|
1846
|
+
cookieName?: string | undefined;
|
|
1847
|
+
secret?: string | string[] | undefined;
|
|
1834
1848
|
}>>;
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1849
|
+
sapi: z.ZodOptional<z.ZodObject<{
|
|
1850
|
+
host: z.ZodString;
|
|
1851
|
+
token: z.ZodString;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
host: string;
|
|
1854
|
+
token: string;
|
|
1855
|
+
}, {
|
|
1856
|
+
host: string;
|
|
1857
|
+
token: string;
|
|
1858
|
+
}>>;
|
|
1859
|
+
bapi: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
host: z.ZodString;
|
|
1861
|
+
token: z.ZodString;
|
|
1862
|
+
}, "strip", z.ZodTypeAny, {
|
|
1863
|
+
host: string;
|
|
1864
|
+
token: string;
|
|
1865
|
+
}, {
|
|
1866
|
+
host: string;
|
|
1867
|
+
token: string;
|
|
1868
|
+
}>>;
|
|
1869
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
1870
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
1871
|
+
driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1872
|
+
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1873
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1874
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1877
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1878
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1879
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1880
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1881
|
+
}, "strip", z.ZodTypeAny, {
|
|
1882
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1883
|
+
ttl?: number | undefined;
|
|
1884
|
+
port?: number | undefined;
|
|
1885
|
+
host?: string | undefined;
|
|
1886
|
+
password?: string | undefined;
|
|
1887
|
+
token?: string | undefined;
|
|
1888
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1889
|
+
url?: string | undefined;
|
|
1890
|
+
username?: string | undefined;
|
|
1891
|
+
tls?: boolean | undefined;
|
|
1892
|
+
}, {
|
|
1893
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1894
|
+
ttl?: number | undefined;
|
|
1895
|
+
port?: number | undefined;
|
|
1896
|
+
host?: string | undefined;
|
|
1897
|
+
password?: string | undefined;
|
|
1898
|
+
token?: string | undefined;
|
|
1899
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1900
|
+
url?: string | undefined;
|
|
1901
|
+
username?: string | undefined;
|
|
1902
|
+
tls?: boolean | undefined;
|
|
1903
|
+
}>>;
|
|
1904
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
1905
|
+
driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1906
|
+
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1907
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1909
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1911
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1914
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1915
|
+
}, "strip", z.ZodTypeAny, {
|
|
1916
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1917
|
+
ttl?: number | undefined;
|
|
1918
|
+
port?: number | undefined;
|
|
1919
|
+
host?: string | undefined;
|
|
1920
|
+
password?: string | undefined;
|
|
1921
|
+
token?: string | undefined;
|
|
1922
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1923
|
+
url?: string | undefined;
|
|
1924
|
+
username?: string | undefined;
|
|
1925
|
+
tls?: boolean | undefined;
|
|
1926
|
+
}, {
|
|
1927
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1928
|
+
ttl?: number | undefined;
|
|
1929
|
+
port?: number | undefined;
|
|
1930
|
+
host?: string | undefined;
|
|
1931
|
+
password?: string | undefined;
|
|
1932
|
+
token?: string | undefined;
|
|
1933
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1934
|
+
url?: string | undefined;
|
|
1935
|
+
username?: string | undefined;
|
|
1936
|
+
tls?: boolean | undefined;
|
|
1937
|
+
}>>;
|
|
1938
|
+
}, "strip", z.ZodTypeAny, {
|
|
1939
|
+
session?: {
|
|
1940
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1941
|
+
ttl?: number | undefined;
|
|
1942
|
+
port?: number | undefined;
|
|
1943
|
+
host?: string | undefined;
|
|
1944
|
+
password?: string | undefined;
|
|
1945
|
+
token?: string | undefined;
|
|
1946
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1947
|
+
url?: string | undefined;
|
|
1948
|
+
username?: string | undefined;
|
|
1949
|
+
tls?: boolean | undefined;
|
|
1950
|
+
} | undefined;
|
|
1951
|
+
cache?: {
|
|
1952
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1953
|
+
ttl?: number | undefined;
|
|
1954
|
+
port?: number | undefined;
|
|
1955
|
+
host?: string | undefined;
|
|
1956
|
+
password?: string | undefined;
|
|
1957
|
+
token?: string | undefined;
|
|
1958
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1959
|
+
url?: string | undefined;
|
|
1960
|
+
username?: string | undefined;
|
|
1961
|
+
tls?: boolean | undefined;
|
|
1962
|
+
} | undefined;
|
|
1963
|
+
}, {
|
|
1964
|
+
session?: {
|
|
1965
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1966
|
+
ttl?: number | undefined;
|
|
1967
|
+
port?: number | undefined;
|
|
1968
|
+
host?: string | undefined;
|
|
1969
|
+
password?: string | undefined;
|
|
1970
|
+
token?: string | undefined;
|
|
1971
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1972
|
+
url?: string | undefined;
|
|
1973
|
+
username?: string | undefined;
|
|
1974
|
+
tls?: boolean | undefined;
|
|
1975
|
+
} | undefined;
|
|
1976
|
+
cache?: {
|
|
1977
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1978
|
+
ttl?: number | undefined;
|
|
1979
|
+
port?: number | undefined;
|
|
1980
|
+
host?: string | undefined;
|
|
1981
|
+
password?: string | undefined;
|
|
1982
|
+
token?: string | undefined;
|
|
1983
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1984
|
+
url?: string | undefined;
|
|
1985
|
+
username?: string | undefined;
|
|
1986
|
+
tls?: boolean | undefined;
|
|
1987
|
+
} | undefined;
|
|
1988
|
+
}>>;
|
|
1989
|
+
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
1990
|
+
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
1991
|
+
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1992
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1993
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
1996
|
+
}, "strip", z.ZodTypeAny, {
|
|
1997
|
+
port?: number | undefined;
|
|
1998
|
+
host?: string | undefined;
|
|
1999
|
+
prefix?: string | undefined;
|
|
2000
|
+
sslTransit?: boolean | undefined;
|
|
2001
|
+
}, {
|
|
2002
|
+
port?: number | undefined;
|
|
2003
|
+
host?: string | undefined;
|
|
2004
|
+
prefix?: string | undefined;
|
|
2005
|
+
sslTransit?: boolean | undefined;
|
|
2006
|
+
}>, z.ZodObject<{
|
|
2007
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
2008
|
+
host: z.ZodOptional<z.ZodString>;
|
|
2009
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
2010
|
+
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
2011
|
+
user: z.ZodString;
|
|
2012
|
+
password: z.ZodString;
|
|
2013
|
+
}, "strip", z.ZodTypeAny, {
|
|
2014
|
+
user: string;
|
|
2015
|
+
password: string;
|
|
2016
|
+
port?: number | undefined;
|
|
2017
|
+
host?: string | undefined;
|
|
2018
|
+
prefix?: string | undefined;
|
|
2019
|
+
sslTransit?: boolean | undefined;
|
|
2020
|
+
}, {
|
|
2021
|
+
user: string;
|
|
2022
|
+
password: string;
|
|
2023
|
+
port?: number | undefined;
|
|
2024
|
+
host?: string | undefined;
|
|
2025
|
+
prefix?: string | undefined;
|
|
2026
|
+
sslTransit?: boolean | undefined;
|
|
2027
|
+
}>]>>;
|
|
2028
|
+
/**
|
|
2029
|
+
* @deprecated storeCampaignKeyword will be removed in a future release.
|
|
2030
|
+
*/
|
|
2031
|
+
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
}, "strip", z.ZodTypeAny, {
|
|
2033
|
+
locale: string;
|
|
2034
|
+
checkout: {
|
|
2035
|
+
user: string | number;
|
|
2036
|
+
host: string;
|
|
2037
|
+
secret: string;
|
|
2038
|
+
token: string;
|
|
2039
|
+
cbdExpiration?: number | undefined;
|
|
2040
|
+
};
|
|
2041
|
+
shopId: number;
|
|
2042
|
+
auth: {
|
|
2043
|
+
resetPasswordUrl: string;
|
|
2044
|
+
};
|
|
2045
|
+
currency: string;
|
|
2046
|
+
domain?: string | undefined;
|
|
2047
|
+
storeCampaignKeyword?: string | undefined;
|
|
2048
|
+
idp?: {
|
|
2049
|
+
enabled: boolean;
|
|
2050
|
+
idpKeys: string[];
|
|
2051
|
+
idpRedirectURL: string;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
path?: string | string[] | undefined;
|
|
2054
|
+
redis?: {
|
|
2055
|
+
port?: number | undefined;
|
|
2056
|
+
host?: string | undefined;
|
|
2057
|
+
prefix?: string | undefined;
|
|
2058
|
+
sslTransit?: boolean | undefined;
|
|
2059
|
+
} | {
|
|
2060
|
+
user: string;
|
|
2061
|
+
password: string;
|
|
2062
|
+
port?: number | undefined;
|
|
2063
|
+
host?: string | undefined;
|
|
2064
|
+
prefix?: string | undefined;
|
|
2065
|
+
sslTransit?: boolean | undefined;
|
|
2066
|
+
} | undefined;
|
|
2067
|
+
apiBasePath?: string | undefined;
|
|
2068
|
+
appKeys?: {
|
|
2069
|
+
wishlistKey: string;
|
|
2070
|
+
basketKey: string;
|
|
2071
|
+
hashAlgorithm: string;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
currencyFractionDigits?: number | undefined;
|
|
2074
|
+
isEnabled?: boolean | undefined;
|
|
2075
|
+
sessionConfig?: {
|
|
2076
|
+
domain?: string | undefined;
|
|
2077
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2078
|
+
maxAge?: number | undefined;
|
|
2079
|
+
cookieName?: string | undefined;
|
|
2080
|
+
secret?: string | string[] | undefined;
|
|
2081
|
+
} | undefined;
|
|
2082
|
+
sapi?: {
|
|
2083
|
+
host: string;
|
|
2084
|
+
token: string;
|
|
2085
|
+
} | undefined;
|
|
2086
|
+
bapi?: {
|
|
2087
|
+
host: string;
|
|
2088
|
+
token: string;
|
|
2089
|
+
} | undefined;
|
|
2090
|
+
storage?: {
|
|
2091
|
+
session?: {
|
|
2092
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2093
|
+
ttl?: number | undefined;
|
|
2094
|
+
port?: number | undefined;
|
|
2095
|
+
host?: string | undefined;
|
|
2096
|
+
password?: string | undefined;
|
|
2097
|
+
token?: string | undefined;
|
|
2098
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2099
|
+
url?: string | undefined;
|
|
2100
|
+
username?: string | undefined;
|
|
2101
|
+
tls?: boolean | undefined;
|
|
2102
|
+
} | undefined;
|
|
2103
|
+
cache?: {
|
|
2104
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2105
|
+
ttl?: number | undefined;
|
|
2106
|
+
port?: number | undefined;
|
|
2107
|
+
host?: string | undefined;
|
|
2108
|
+
password?: string | undefined;
|
|
2109
|
+
token?: string | undefined;
|
|
2110
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2111
|
+
url?: string | undefined;
|
|
2112
|
+
username?: string | undefined;
|
|
2113
|
+
tls?: boolean | undefined;
|
|
2114
|
+
} | undefined;
|
|
2115
|
+
} | undefined;
|
|
2116
|
+
isDefault?: boolean | "" | undefined;
|
|
2117
|
+
}, {
|
|
2118
|
+
locale: string;
|
|
2119
|
+
checkout: {
|
|
2120
|
+
user: string | number;
|
|
2121
|
+
host: string;
|
|
2122
|
+
secret: string;
|
|
2123
|
+
token: string;
|
|
2124
|
+
cbdExpiration?: number | undefined;
|
|
2125
|
+
};
|
|
2126
|
+
shopId: number;
|
|
2127
|
+
auth: {
|
|
2128
|
+
resetPasswordUrl: string;
|
|
2129
|
+
};
|
|
2130
|
+
currency: string;
|
|
2131
|
+
domain?: string | undefined;
|
|
2132
|
+
storeCampaignKeyword?: string | undefined;
|
|
2133
|
+
idp?: {
|
|
2134
|
+
enabled: boolean;
|
|
2135
|
+
idpKeys: string[];
|
|
2136
|
+
idpRedirectURL: string;
|
|
2137
|
+
} | undefined;
|
|
2138
|
+
path?: string | string[] | undefined;
|
|
2139
|
+
redis?: {
|
|
2140
|
+
port?: number | undefined;
|
|
2141
|
+
host?: string | undefined;
|
|
2142
|
+
prefix?: string | undefined;
|
|
2143
|
+
sslTransit?: boolean | undefined;
|
|
2144
|
+
} | {
|
|
2145
|
+
user: string;
|
|
2146
|
+
password: string;
|
|
2147
|
+
port?: number | undefined;
|
|
2148
|
+
host?: string | undefined;
|
|
2149
|
+
prefix?: string | undefined;
|
|
2150
|
+
sslTransit?: boolean | undefined;
|
|
2151
|
+
} | undefined;
|
|
2152
|
+
apiBasePath?: string | undefined;
|
|
2153
|
+
appKeys?: {
|
|
2154
|
+
wishlistKey: string;
|
|
2155
|
+
basketKey: string;
|
|
2156
|
+
hashAlgorithm: string;
|
|
2157
|
+
} | undefined;
|
|
2158
|
+
currencyFractionDigits?: number | undefined;
|
|
2159
|
+
isEnabled?: boolean | undefined;
|
|
2160
|
+
sessionConfig?: {
|
|
2161
|
+
domain?: string | undefined;
|
|
2162
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2163
|
+
maxAge?: number | undefined;
|
|
2164
|
+
cookieName?: string | undefined;
|
|
2165
|
+
secret?: string | string[] | undefined;
|
|
2166
|
+
} | undefined;
|
|
2167
|
+
sapi?: {
|
|
2168
|
+
host: string;
|
|
2169
|
+
token: string;
|
|
2170
|
+
} | undefined;
|
|
2171
|
+
bapi?: {
|
|
2172
|
+
host: string;
|
|
2173
|
+
token: string;
|
|
2174
|
+
} | undefined;
|
|
2175
|
+
storage?: {
|
|
2176
|
+
session?: {
|
|
2177
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2178
|
+
ttl?: number | undefined;
|
|
2179
|
+
port?: number | undefined;
|
|
2180
|
+
host?: string | undefined;
|
|
2181
|
+
password?: string | undefined;
|
|
2182
|
+
token?: string | undefined;
|
|
2183
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2184
|
+
url?: string | undefined;
|
|
2185
|
+
username?: string | undefined;
|
|
2186
|
+
tls?: boolean | undefined;
|
|
2187
|
+
} | undefined;
|
|
2188
|
+
cache?: {
|
|
2189
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2190
|
+
ttl?: number | undefined;
|
|
2191
|
+
port?: number | undefined;
|
|
2192
|
+
host?: string | undefined;
|
|
2193
|
+
password?: string | undefined;
|
|
2194
|
+
token?: string | undefined;
|
|
2195
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2196
|
+
url?: string | undefined;
|
|
2197
|
+
username?: string | undefined;
|
|
2198
|
+
tls?: boolean | undefined;
|
|
2199
|
+
} | undefined;
|
|
2200
|
+
} | undefined;
|
|
2201
|
+
isDefault?: string | boolean | undefined;
|
|
2202
|
+
}>>;
|
|
2203
|
+
}, "strip", z.ZodTypeAny, {
|
|
2204
|
+
shops: Record<string, {
|
|
2205
|
+
locale: string;
|
|
2206
|
+
checkout: {
|
|
2207
|
+
user: string | number;
|
|
2208
|
+
host: string;
|
|
2209
|
+
secret: string;
|
|
2210
|
+
token: string;
|
|
2211
|
+
cbdExpiration?: number | undefined;
|
|
2212
|
+
};
|
|
2213
|
+
shopId: number;
|
|
2214
|
+
auth: {
|
|
2215
|
+
resetPasswordUrl: string;
|
|
2216
|
+
};
|
|
2217
|
+
currency: string;
|
|
2218
|
+
domain?: string | undefined;
|
|
2219
|
+
storeCampaignKeyword?: string | undefined;
|
|
2220
|
+
idp?: {
|
|
2221
|
+
enabled: boolean;
|
|
2222
|
+
idpKeys: string[];
|
|
2223
|
+
idpRedirectURL: string;
|
|
2224
|
+
} | undefined;
|
|
2225
|
+
path?: string | string[] | undefined;
|
|
2226
|
+
redis?: {
|
|
2227
|
+
port?: number | undefined;
|
|
2228
|
+
host?: string | undefined;
|
|
2229
|
+
prefix?: string | undefined;
|
|
2230
|
+
sslTransit?: boolean | undefined;
|
|
2231
|
+
} | {
|
|
2232
|
+
user: string;
|
|
2233
|
+
password: string;
|
|
2234
|
+
port?: number | undefined;
|
|
2235
|
+
host?: string | undefined;
|
|
2236
|
+
prefix?: string | undefined;
|
|
2237
|
+
sslTransit?: boolean | undefined;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
apiBasePath?: string | undefined;
|
|
2240
|
+
appKeys?: {
|
|
2241
|
+
wishlistKey: string;
|
|
2242
|
+
basketKey: string;
|
|
2243
|
+
hashAlgorithm: string;
|
|
2244
|
+
} | undefined;
|
|
2245
|
+
currencyFractionDigits?: number | undefined;
|
|
2246
|
+
isEnabled?: boolean | undefined;
|
|
2247
|
+
sessionConfig?: {
|
|
2248
|
+
domain?: string | undefined;
|
|
2249
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2250
|
+
maxAge?: number | undefined;
|
|
2251
|
+
cookieName?: string | undefined;
|
|
2252
|
+
secret?: string | string[] | undefined;
|
|
2253
|
+
} | undefined;
|
|
2254
|
+
sapi?: {
|
|
2255
|
+
host: string;
|
|
2256
|
+
token: string;
|
|
2257
|
+
} | undefined;
|
|
2258
|
+
bapi?: {
|
|
2259
|
+
host: string;
|
|
2260
|
+
token: string;
|
|
2261
|
+
} | undefined;
|
|
2262
|
+
storage?: {
|
|
2263
|
+
session?: {
|
|
2264
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2265
|
+
ttl?: number | undefined;
|
|
2266
|
+
port?: number | undefined;
|
|
2267
|
+
host?: string | undefined;
|
|
2268
|
+
password?: string | undefined;
|
|
2269
|
+
token?: string | undefined;
|
|
2270
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2271
|
+
url?: string | undefined;
|
|
2272
|
+
username?: string | undefined;
|
|
2273
|
+
tls?: boolean | undefined;
|
|
2274
|
+
} | undefined;
|
|
2275
|
+
cache?: {
|
|
2276
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2277
|
+
ttl?: number | undefined;
|
|
2278
|
+
port?: number | undefined;
|
|
2279
|
+
host?: string | undefined;
|
|
2280
|
+
password?: string | undefined;
|
|
2281
|
+
token?: string | undefined;
|
|
2282
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2283
|
+
url?: string | undefined;
|
|
2284
|
+
username?: string | undefined;
|
|
2285
|
+
tls?: boolean | undefined;
|
|
2286
|
+
} | undefined;
|
|
2287
|
+
} | undefined;
|
|
2288
|
+
isDefault?: boolean | "" | undefined;
|
|
2289
|
+
}>;
|
|
2290
|
+
stores?: undefined;
|
|
2291
|
+
}, {
|
|
2292
|
+
shops: Record<string, {
|
|
2293
|
+
locale: string;
|
|
2294
|
+
checkout: {
|
|
2295
|
+
user: string | number;
|
|
2296
|
+
host: string;
|
|
2297
|
+
secret: string;
|
|
2298
|
+
token: string;
|
|
2299
|
+
cbdExpiration?: number | undefined;
|
|
2300
|
+
};
|
|
2301
|
+
shopId: number;
|
|
2302
|
+
auth: {
|
|
2303
|
+
resetPasswordUrl: string;
|
|
2304
|
+
};
|
|
2305
|
+
currency: string;
|
|
2306
|
+
domain?: string | undefined;
|
|
2307
|
+
storeCampaignKeyword?: string | undefined;
|
|
2308
|
+
idp?: {
|
|
2309
|
+
enabled: boolean;
|
|
2310
|
+
idpKeys: string[];
|
|
2311
|
+
idpRedirectURL: string;
|
|
2312
|
+
} | undefined;
|
|
2313
|
+
path?: string | string[] | undefined;
|
|
2314
|
+
redis?: {
|
|
2315
|
+
port?: number | undefined;
|
|
2316
|
+
host?: string | undefined;
|
|
2317
|
+
prefix?: string | undefined;
|
|
2318
|
+
sslTransit?: boolean | undefined;
|
|
2319
|
+
} | {
|
|
2320
|
+
user: string;
|
|
2321
|
+
password: string;
|
|
2322
|
+
port?: number | undefined;
|
|
2323
|
+
host?: string | undefined;
|
|
2324
|
+
prefix?: string | undefined;
|
|
2325
|
+
sslTransit?: boolean | undefined;
|
|
2326
|
+
} | undefined;
|
|
2327
|
+
apiBasePath?: string | undefined;
|
|
2328
|
+
appKeys?: {
|
|
2329
|
+
wishlistKey: string;
|
|
2330
|
+
basketKey: string;
|
|
2331
|
+
hashAlgorithm: string;
|
|
2332
|
+
} | undefined;
|
|
2333
|
+
currencyFractionDigits?: number | undefined;
|
|
2334
|
+
isEnabled?: boolean | undefined;
|
|
2335
|
+
sessionConfig?: {
|
|
2336
|
+
domain?: string | undefined;
|
|
2337
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2338
|
+
maxAge?: number | undefined;
|
|
2339
|
+
cookieName?: string | undefined;
|
|
2340
|
+
secret?: string | string[] | undefined;
|
|
2341
|
+
} | undefined;
|
|
2342
|
+
sapi?: {
|
|
2343
|
+
host: string;
|
|
2344
|
+
token: string;
|
|
2345
|
+
} | undefined;
|
|
2346
|
+
bapi?: {
|
|
2347
|
+
host: string;
|
|
2348
|
+
token: string;
|
|
2349
|
+
} | undefined;
|
|
2350
|
+
storage?: {
|
|
2351
|
+
session?: {
|
|
2352
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2353
|
+
ttl?: number | undefined;
|
|
2354
|
+
port?: number | undefined;
|
|
2355
|
+
host?: string | undefined;
|
|
2356
|
+
password?: string | undefined;
|
|
2357
|
+
token?: string | undefined;
|
|
2358
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2359
|
+
url?: string | undefined;
|
|
2360
|
+
username?: string | undefined;
|
|
2361
|
+
tls?: boolean | undefined;
|
|
2362
|
+
} | undefined;
|
|
2363
|
+
cache?: {
|
|
2364
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2365
|
+
ttl?: number | undefined;
|
|
2366
|
+
port?: number | undefined;
|
|
2367
|
+
host?: string | undefined;
|
|
2368
|
+
password?: string | undefined;
|
|
2369
|
+
token?: string | undefined;
|
|
2370
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2371
|
+
url?: string | undefined;
|
|
2372
|
+
username?: string | undefined;
|
|
2373
|
+
tls?: boolean | undefined;
|
|
2374
|
+
} | undefined;
|
|
2375
|
+
} | undefined;
|
|
2376
|
+
isDefault?: string | boolean | undefined;
|
|
2377
|
+
}>;
|
|
2378
|
+
stores?: undefined;
|
|
2379
|
+
}>]>>, z.ZodIntersection<z.ZodObject<{
|
|
2380
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
2381
|
+
/**
|
|
2382
|
+
* The sameSite policy to use for the session cookie
|
|
2383
|
+
*/
|
|
2384
|
+
sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
|
|
2385
|
+
/**
|
|
2386
|
+
* The default maxAge (in seconds) set on the session cookie and default TTL for session store
|
|
2387
|
+
*/
|
|
2388
|
+
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
2389
|
+
/**
|
|
2390
|
+
* The name used for the session cookie
|
|
2391
|
+
*/
|
|
2392
|
+
cookieName: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
/**
|
|
2394
|
+
* The secret used for signing session cookies. If an array is passed, the last
|
|
2395
|
+
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
2396
|
+
*/
|
|
2397
|
+
secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2398
|
+
/**
|
|
2399
|
+
* Controls the domain option on the session cookie
|
|
2400
|
+
*/
|
|
2401
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
2402
|
+
}, "strip", z.ZodTypeAny, {
|
|
2403
|
+
domain?: string | undefined;
|
|
2404
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2405
|
+
maxAge?: number | undefined;
|
|
2406
|
+
cookieName?: string | undefined;
|
|
2407
|
+
secret?: string | string[] | undefined;
|
|
2408
|
+
}, {
|
|
2409
|
+
domain?: string | undefined;
|
|
2410
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2411
|
+
maxAge?: number | undefined;
|
|
2412
|
+
cookieName?: string | undefined;
|
|
2413
|
+
secret?: string | string[] | undefined;
|
|
2414
|
+
}>>;
|
|
2415
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
2416
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
2417
|
+
driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
2418
|
+
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
2419
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2420
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2421
|
+
host: z.ZodOptional<z.ZodString>;
|
|
2422
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2424
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2425
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
2426
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2427
|
+
}, "strip", z.ZodTypeAny, {
|
|
2428
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2429
|
+
ttl?: number | undefined;
|
|
2430
|
+
port?: number | undefined;
|
|
2431
|
+
host?: string | undefined;
|
|
2432
|
+
password?: string | undefined;
|
|
2433
|
+
token?: string | undefined;
|
|
2434
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2435
|
+
url?: string | undefined;
|
|
2436
|
+
username?: string | undefined;
|
|
2437
|
+
tls?: boolean | undefined;
|
|
2438
|
+
}, {
|
|
2439
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2440
|
+
ttl?: number | undefined;
|
|
2441
|
+
port?: number | undefined;
|
|
2442
|
+
host?: string | undefined;
|
|
2443
|
+
password?: string | undefined;
|
|
2444
|
+
token?: string | undefined;
|
|
2445
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2446
|
+
url?: string | undefined;
|
|
2447
|
+
username?: string | undefined;
|
|
2448
|
+
tls?: boolean | undefined;
|
|
2449
|
+
}>>;
|
|
2450
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
2451
|
+
driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
2452
|
+
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
2453
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2455
|
+
host: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
2457
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
2460
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2461
|
+
}, "strip", z.ZodTypeAny, {
|
|
2462
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2463
|
+
ttl?: number | undefined;
|
|
2464
|
+
port?: number | undefined;
|
|
2465
|
+
host?: string | undefined;
|
|
2466
|
+
password?: string | undefined;
|
|
2467
|
+
token?: string | undefined;
|
|
2468
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2469
|
+
url?: string | undefined;
|
|
2470
|
+
username?: string | undefined;
|
|
2471
|
+
tls?: boolean | undefined;
|
|
2472
|
+
}, {
|
|
2473
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2474
|
+
ttl?: number | undefined;
|
|
2475
|
+
port?: number | undefined;
|
|
2476
|
+
host?: string | undefined;
|
|
2477
|
+
password?: string | undefined;
|
|
2478
|
+
token?: string | undefined;
|
|
2479
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2480
|
+
url?: string | undefined;
|
|
2481
|
+
username?: string | undefined;
|
|
2482
|
+
tls?: boolean | undefined;
|
|
2483
|
+
}>>;
|
|
2484
|
+
}, "strip", z.ZodTypeAny, {
|
|
2485
|
+
session?: {
|
|
2486
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2487
|
+
ttl?: number | undefined;
|
|
2488
|
+
port?: number | undefined;
|
|
2489
|
+
host?: string | undefined;
|
|
2490
|
+
password?: string | undefined;
|
|
2491
|
+
token?: string | undefined;
|
|
2492
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2493
|
+
url?: string | undefined;
|
|
2494
|
+
username?: string | undefined;
|
|
2495
|
+
tls?: boolean | undefined;
|
|
2496
|
+
} | undefined;
|
|
2497
|
+
cache?: {
|
|
2498
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1850
2499
|
ttl?: number | undefined;
|
|
1851
2500
|
port?: number | undefined;
|
|
1852
2501
|
host?: string | undefined;
|
|
@@ -2154,6 +2803,9 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2154
2803
|
};
|
|
2155
2804
|
bapi?: undefined;
|
|
2156
2805
|
}>, z.ZodObject<{
|
|
2806
|
+
/**
|
|
2807
|
+
* bapi was renamed. Use {@link sapi} instead.
|
|
2808
|
+
*/
|
|
2157
2809
|
bapi: z.ZodObject<{
|
|
2158
2810
|
host: z.ZodString;
|
|
2159
2811
|
token: z.ZodString;
|
|
@@ -2190,16 +2842,19 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2190
2842
|
level: LogLevel;
|
|
2191
2843
|
name: string;
|
|
2192
2844
|
}>;
|
|
2845
|
+
disableDefaultGetCachedDataOverride: z.ZodOptional<z.ZodBoolean>;
|
|
2193
2846
|
}, "strip", z.ZodTypeAny, {
|
|
2194
2847
|
log: {
|
|
2195
2848
|
level: LogLevel;
|
|
2196
2849
|
name: string;
|
|
2197
2850
|
};
|
|
2851
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2198
2852
|
}, {
|
|
2199
2853
|
log: {
|
|
2200
2854
|
level: LogLevel;
|
|
2201
2855
|
name: string;
|
|
2202
2856
|
};
|
|
2857
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2203
2858
|
}>;
|
|
2204
2859
|
}, "strip", z.ZodTypeAny, {
|
|
2205
2860
|
storefront: {
|
|
@@ -2207,6 +2862,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2207
2862
|
level: LogLevel;
|
|
2208
2863
|
name: string;
|
|
2209
2864
|
};
|
|
2865
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2210
2866
|
};
|
|
2211
2867
|
}, {
|
|
2212
2868
|
storefront: {
|
|
@@ -2214,11 +2870,17 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2214
2870
|
level: LogLevel;
|
|
2215
2871
|
name: string;
|
|
2216
2872
|
};
|
|
2873
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2217
2874
|
};
|
|
2218
2875
|
}>;
|
|
2219
2876
|
}, "strip", z.ZodTypeAny, {
|
|
2220
|
-
storefront: {
|
|
2877
|
+
storefront: ({
|
|
2221
2878
|
shopSelector: "domain" | "path" | "path_or_default";
|
|
2879
|
+
redirects?: {
|
|
2880
|
+
enabled: boolean;
|
|
2881
|
+
queryParamWhitelist?: string[] | undefined;
|
|
2882
|
+
} | undefined;
|
|
2883
|
+
} & ({
|
|
2222
2884
|
stores: Record<string, {
|
|
2223
2885
|
locale: string;
|
|
2224
2886
|
checkout: {
|
|
@@ -2305,11 +2967,96 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2305
2967
|
} | undefined;
|
|
2306
2968
|
isDefault?: boolean | "" | undefined;
|
|
2307
2969
|
}>;
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2970
|
+
shops?: undefined;
|
|
2971
|
+
} | {
|
|
2972
|
+
shops: Record<string, {
|
|
2973
|
+
locale: string;
|
|
2974
|
+
checkout: {
|
|
2975
|
+
user: string | number;
|
|
2976
|
+
host: string;
|
|
2977
|
+
secret: string;
|
|
2978
|
+
token: string;
|
|
2979
|
+
cbdExpiration?: number | undefined;
|
|
2980
|
+
};
|
|
2981
|
+
shopId: number;
|
|
2982
|
+
auth: {
|
|
2983
|
+
resetPasswordUrl: string;
|
|
2984
|
+
};
|
|
2985
|
+
currency: string;
|
|
2986
|
+
domain?: string | undefined;
|
|
2987
|
+
storeCampaignKeyword?: string | undefined;
|
|
2988
|
+
idp?: {
|
|
2989
|
+
enabled: boolean;
|
|
2990
|
+
idpKeys: string[];
|
|
2991
|
+
idpRedirectURL: string;
|
|
2992
|
+
} | undefined;
|
|
2993
|
+
path?: string | string[] | undefined;
|
|
2994
|
+
redis?: {
|
|
2995
|
+
port?: number | undefined;
|
|
2996
|
+
host?: string | undefined;
|
|
2997
|
+
prefix?: string | undefined;
|
|
2998
|
+
sslTransit?: boolean | undefined;
|
|
2999
|
+
} | {
|
|
3000
|
+
user: string;
|
|
3001
|
+
password: string;
|
|
3002
|
+
port?: number | undefined;
|
|
3003
|
+
host?: string | undefined;
|
|
3004
|
+
prefix?: string | undefined;
|
|
3005
|
+
sslTransit?: boolean | undefined;
|
|
3006
|
+
} | undefined;
|
|
3007
|
+
apiBasePath?: string | undefined;
|
|
3008
|
+
appKeys?: {
|
|
3009
|
+
wishlistKey: string;
|
|
3010
|
+
basketKey: string;
|
|
3011
|
+
hashAlgorithm: string;
|
|
3012
|
+
} | undefined;
|
|
3013
|
+
currencyFractionDigits?: number | undefined;
|
|
3014
|
+
isEnabled?: boolean | undefined;
|
|
3015
|
+
sessionConfig?: {
|
|
3016
|
+
domain?: string | undefined;
|
|
3017
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
3018
|
+
maxAge?: number | undefined;
|
|
3019
|
+
cookieName?: string | undefined;
|
|
3020
|
+
secret?: string | string[] | undefined;
|
|
3021
|
+
} | undefined;
|
|
3022
|
+
sapi?: {
|
|
3023
|
+
host: string;
|
|
3024
|
+
token: string;
|
|
3025
|
+
} | undefined;
|
|
3026
|
+
bapi?: {
|
|
3027
|
+
host: string;
|
|
3028
|
+
token: string;
|
|
3029
|
+
} | undefined;
|
|
3030
|
+
storage?: {
|
|
3031
|
+
session?: {
|
|
3032
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3033
|
+
ttl?: number | undefined;
|
|
3034
|
+
port?: number | undefined;
|
|
3035
|
+
host?: string | undefined;
|
|
3036
|
+
password?: string | undefined;
|
|
3037
|
+
token?: string | undefined;
|
|
3038
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3039
|
+
url?: string | undefined;
|
|
3040
|
+
username?: string | undefined;
|
|
3041
|
+
tls?: boolean | undefined;
|
|
3042
|
+
} | undefined;
|
|
3043
|
+
cache?: {
|
|
3044
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3045
|
+
ttl?: number | undefined;
|
|
3046
|
+
port?: number | undefined;
|
|
3047
|
+
host?: string | undefined;
|
|
3048
|
+
password?: string | undefined;
|
|
3049
|
+
token?: string | undefined;
|
|
3050
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3051
|
+
url?: string | undefined;
|
|
3052
|
+
username?: string | undefined;
|
|
3053
|
+
tls?: boolean | undefined;
|
|
3054
|
+
} | undefined;
|
|
3055
|
+
} | undefined;
|
|
3056
|
+
isDefault?: boolean | "" | undefined;
|
|
3057
|
+
}>;
|
|
3058
|
+
stores?: undefined;
|
|
3059
|
+
})) & ({
|
|
2313
3060
|
oauth: {
|
|
2314
3061
|
apiHost: string;
|
|
2315
3062
|
clientId: string | number;
|
|
@@ -2399,11 +3146,17 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2399
3146
|
level: LogLevel;
|
|
2400
3147
|
name: string;
|
|
2401
3148
|
};
|
|
3149
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2402
3150
|
};
|
|
2403
3151
|
};
|
|
2404
3152
|
}, {
|
|
2405
|
-
storefront: {
|
|
3153
|
+
storefront: ({
|
|
2406
3154
|
shopSelector: "domain" | "path" | "path_or_default";
|
|
3155
|
+
redirects?: {
|
|
3156
|
+
enabled: boolean;
|
|
3157
|
+
queryParamWhitelist?: string[] | undefined;
|
|
3158
|
+
} | undefined;
|
|
3159
|
+
} & ({
|
|
2407
3160
|
stores: Record<string, {
|
|
2408
3161
|
locale: string;
|
|
2409
3162
|
checkout: {
|
|
@@ -2490,11 +3243,96 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2490
3243
|
} | undefined;
|
|
2491
3244
|
isDefault?: string | boolean | undefined;
|
|
2492
3245
|
}>;
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
3246
|
+
shops?: undefined;
|
|
3247
|
+
} | {
|
|
3248
|
+
shops: Record<string, {
|
|
3249
|
+
locale: string;
|
|
3250
|
+
checkout: {
|
|
3251
|
+
user: string | number;
|
|
3252
|
+
host: string;
|
|
3253
|
+
secret: string;
|
|
3254
|
+
token: string;
|
|
3255
|
+
cbdExpiration?: number | undefined;
|
|
3256
|
+
};
|
|
3257
|
+
shopId: number;
|
|
3258
|
+
auth: {
|
|
3259
|
+
resetPasswordUrl: string;
|
|
3260
|
+
};
|
|
3261
|
+
currency: string;
|
|
3262
|
+
domain?: string | undefined;
|
|
3263
|
+
storeCampaignKeyword?: string | undefined;
|
|
3264
|
+
idp?: {
|
|
3265
|
+
enabled: boolean;
|
|
3266
|
+
idpKeys: string[];
|
|
3267
|
+
idpRedirectURL: string;
|
|
3268
|
+
} | undefined;
|
|
3269
|
+
path?: string | string[] | undefined;
|
|
3270
|
+
redis?: {
|
|
3271
|
+
port?: number | undefined;
|
|
3272
|
+
host?: string | undefined;
|
|
3273
|
+
prefix?: string | undefined;
|
|
3274
|
+
sslTransit?: boolean | undefined;
|
|
3275
|
+
} | {
|
|
3276
|
+
user: string;
|
|
3277
|
+
password: string;
|
|
3278
|
+
port?: number | undefined;
|
|
3279
|
+
host?: string | undefined;
|
|
3280
|
+
prefix?: string | undefined;
|
|
3281
|
+
sslTransit?: boolean | undefined;
|
|
3282
|
+
} | undefined;
|
|
3283
|
+
apiBasePath?: string | undefined;
|
|
3284
|
+
appKeys?: {
|
|
3285
|
+
wishlistKey: string;
|
|
3286
|
+
basketKey: string;
|
|
3287
|
+
hashAlgorithm: string;
|
|
3288
|
+
} | undefined;
|
|
3289
|
+
currencyFractionDigits?: number | undefined;
|
|
3290
|
+
isEnabled?: boolean | undefined;
|
|
3291
|
+
sessionConfig?: {
|
|
3292
|
+
domain?: string | undefined;
|
|
3293
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
3294
|
+
maxAge?: number | undefined;
|
|
3295
|
+
cookieName?: string | undefined;
|
|
3296
|
+
secret?: string | string[] | undefined;
|
|
3297
|
+
} | undefined;
|
|
3298
|
+
sapi?: {
|
|
3299
|
+
host: string;
|
|
3300
|
+
token: string;
|
|
3301
|
+
} | undefined;
|
|
3302
|
+
bapi?: {
|
|
3303
|
+
host: string;
|
|
3304
|
+
token: string;
|
|
3305
|
+
} | undefined;
|
|
3306
|
+
storage?: {
|
|
3307
|
+
session?: {
|
|
3308
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3309
|
+
ttl?: number | undefined;
|
|
3310
|
+
port?: number | undefined;
|
|
3311
|
+
host?: string | undefined;
|
|
3312
|
+
password?: string | undefined;
|
|
3313
|
+
token?: string | undefined;
|
|
3314
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3315
|
+
url?: string | undefined;
|
|
3316
|
+
username?: string | undefined;
|
|
3317
|
+
tls?: boolean | undefined;
|
|
3318
|
+
} | undefined;
|
|
3319
|
+
cache?: {
|
|
3320
|
+
driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3321
|
+
ttl?: number | undefined;
|
|
3322
|
+
port?: number | undefined;
|
|
3323
|
+
host?: string | undefined;
|
|
3324
|
+
password?: string | undefined;
|
|
3325
|
+
token?: string | undefined;
|
|
3326
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3327
|
+
url?: string | undefined;
|
|
3328
|
+
username?: string | undefined;
|
|
3329
|
+
tls?: boolean | undefined;
|
|
3330
|
+
} | undefined;
|
|
3331
|
+
} | undefined;
|
|
3332
|
+
isDefault?: string | boolean | undefined;
|
|
3333
|
+
}>;
|
|
3334
|
+
stores?: undefined;
|
|
3335
|
+
})) & ({
|
|
2498
3336
|
oauth: {
|
|
2499
3337
|
apiHost: string;
|
|
2500
3338
|
clientId: string | number;
|
|
@@ -2584,6 +3422,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2584
3422
|
level: LogLevel;
|
|
2585
3423
|
name: string;
|
|
2586
3424
|
};
|
|
3425
|
+
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2587
3426
|
};
|
|
2588
3427
|
};
|
|
2589
3428
|
}>;
|