@lwrjs/types 0.15.0-alpha.25 → 0.15.0-alpha.27

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 CHANGED
@@ -131,7 +131,7 @@ export interface LwrGlobalConfig {
131
131
  type RequiredPick<T, K extends keyof T> = {
132
132
  [P in K]-?: T[P];
133
133
  };
134
- export type OnStartConfig = RequiredPick<LwrGlobalConfig, 'basePath' | 'i18n' | 'routes' | 'errorRoutes'>;
134
+ export type OnStartConfig = RequiredPick<LwrGlobalConfig, '_isSsrCompilerEnabled' | 'basePath' | 'coreProxy' | 'errorRoutes' | 'i18n' | 'routes'>;
135
135
  export interface BuildOptions {
136
136
  target?: string;
137
137
  input?: string;
package/build/index.d.ts CHANGED
@@ -344,6 +344,7 @@ export interface ProviderAppConfig {
344
344
  bundleConfig: BundleConfig;
345
345
  assets: AssetConfig[];
346
346
  i18n: I18NConfig;
347
+ _isSsrCompilerEnabled: boolean;
347
348
  }
348
349
  export interface ProviderContext {
349
350
  appObserver: Pick<LwrAppObserver, 'onModuleDefinitionChange' | 'onModuleSourceChange' | 'onAssetSourceChange' | 'onViewSourceChange'>;
package/build/views.d.ts CHANGED
@@ -154,6 +154,7 @@ type ViewPluginLinkHook = (builder: LwrStringBuilder, viewContext: ViewTransform
154
154
  type ViewPluginLinkHookReturn = void | null | undefined | false | LwrStringBuilder | {
155
155
  builder?: LwrStringBuilder;
156
156
  cache?: CacheResponse;
157
+ redirect?: SsrRedirect;
157
158
  };
158
159
  type ViewPluginOptimizeHook = (code: string, assetSource: AssetSource) => Promise<ViewPluginOptimizeHookReturn>;
159
160
  type ViewPluginOptimizeHookReturn = null | undefined | false | string | {
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.25",
11
+ "version": "0.15.0-alpha.27",
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": "0e430bd7cbd44f66c9a30d86d2dc69fa592af0ea"
32
+ "gitHead": "6051c73d6009467325975f79dfa608a10bf2efa8"
33
33
  }