@lwrjs/types 0.13.0-alpha.12 → 0.13.0-alpha.14

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
@@ -44,6 +44,8 @@ export interface LwrAppBootstrapConfig {
44
44
  mixedMode?: boolean;
45
45
  module?: string | undefined;
46
46
  preloadModules?: string[];
47
+ lwrVersion?: string;
48
+ lwcVersion?: string;
47
49
  }
48
50
  export interface NormalizedLwrAppBootstrapConfig extends Required<Omit<LwrAppBootstrapConfig, 'module'>> {
49
51
  services: BootstrapService[];
@@ -62,6 +64,8 @@ export interface NormalizedRouteHandlersConfig {
62
64
  export interface LocalizedViewRequest extends ViewRequest {
63
65
  locale?: string;
64
66
  basePath?: string;
67
+ assetBasePath?: string;
68
+ uiBasePath?: string;
65
69
  }
66
70
  export type RouteHandlerFunction = (viewRequest: LocalizedViewRequest, handlerContext: HandlerContext, routeHandlerOptions?: any) => Promise<RouteHandlerViewResponse> | RouteHandlerViewResponse;
67
71
  export interface ResourcePaths {
package/build/index.d.ts CHANGED
@@ -515,11 +515,8 @@ export interface ClientBootstrapConfig {
515
515
  imports?: ImportMetadataImports;
516
516
  index?: ImportMetadataIndex;
517
517
  metricsConfig?: MetricsConfig;
518
- /**
519
- /* @deprecated for mapping endpoint syntax
520
- /* Import map for the loader to resolve modules, defaults to a "lwr-importmap" script tag
521
- */
522
518
  importMappings?: object;
519
+ env?: any;
523
520
  }
524
521
  export interface Endpoints {
525
522
  uris: Record<string, string>;
@@ -1,5 +1,5 @@
1
1
  export type AppMetadata = {
2
- appId?: string;
2
+ appId?: string | null;
3
3
  bootstrapModule: string;
4
4
  rootComponent?: string;
5
5
  rootComponents?: string[];
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.13.0-alpha.12",
11
+ "version": "0.13.0-alpha.14",
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": "60e763c7829cfbcdf5ccd88bd5c2c1a31db4554d"
32
+ "gitHead": "7276973cd522d9117256026fbd35ca12a9032304"
33
33
  }