@lwrjs/types 0.15.0-alpha.27 → 0.15.0-alpha.29
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/build/config.d.ts +3 -1
- package/package.json +2 -2
package/build/config.d.ts
CHANGED
|
@@ -126,12 +126,13 @@ export interface LwrGlobalConfig {
|
|
|
126
126
|
uriTransformers?: ServiceConfig[];
|
|
127
127
|
i18n?: I18NConfig;
|
|
128
128
|
coreProxy?: DirectToCoreProxy | null;
|
|
129
|
+
unsafeEnableViewLinkCaching?: boolean;
|
|
129
130
|
_isSsrCompilerEnabled?: boolean;
|
|
130
131
|
}
|
|
131
132
|
type RequiredPick<T, K extends keyof T> = {
|
|
132
133
|
[P in K]-?: T[P];
|
|
133
134
|
};
|
|
134
|
-
export type OnStartConfig = RequiredPick<LwrGlobalConfig, '_isSsrCompilerEnabled' | 'basePath' | 'coreProxy' | 'errorRoutes' | 'i18n' | 'routes'>;
|
|
135
|
+
export type OnStartConfig = RequiredPick<LwrGlobalConfig, '_isSsrCompilerEnabled' | 'assets' | 'basePath' | 'coreProxy' | 'errorRoutes' | 'i18n' | 'routes'>;
|
|
135
136
|
export interface BuildOptions {
|
|
136
137
|
target?: string;
|
|
137
138
|
input?: string;
|
|
@@ -317,6 +318,7 @@ export interface I18NConfig {
|
|
|
317
318
|
defaultLocale: string;
|
|
318
319
|
locales: Locale[];
|
|
319
320
|
uriPattern?: UriPattern;
|
|
321
|
+
defaultRedirectParams?: Record<string, string>;
|
|
320
322
|
}
|
|
321
323
|
export type UriPattern = undefined | 'path-prefix';
|
|
322
324
|
export interface PreloadResources {
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc -b"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.15.0-alpha.
|
|
11
|
+
"version": "0.15.0-alpha.29",
|
|
12
12
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=18.0.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "69be18491fa9b68311835d5a957165daf415ea30"
|
|
33
33
|
}
|