@lwrjs/types 0.7.0-alpha.0 → 0.7.0-alpha.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/build/index.d.ts +9 -3
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -152,10 +152,10 @@ export interface ServerModeConfig {
|
|
|
152
152
|
defaultLocale: string;
|
|
153
153
|
hmrEnabled: boolean;
|
|
154
154
|
immutableAssets: boolean;
|
|
155
|
-
|
|
155
|
+
featureFlags: FeatureFlags;
|
|
156
156
|
}
|
|
157
|
-
export interface
|
|
158
|
-
|
|
157
|
+
export interface FeatureFlags {
|
|
158
|
+
LEGACY_LOADER: boolean;
|
|
159
159
|
}
|
|
160
160
|
export interface RuntimeEnvironment extends ServerModeConfig {
|
|
161
161
|
apiVersion: string;
|
|
@@ -624,11 +624,13 @@ export interface ClientBootstrapConfig {
|
|
|
624
624
|
rootComponent?: string;
|
|
625
625
|
rootComponents?: string[];
|
|
626
626
|
customInit?: Function;
|
|
627
|
+
onError?: Function;
|
|
627
628
|
baseUrl?: string;
|
|
628
629
|
disableInitDefer?: boolean;
|
|
629
630
|
endpoints?: Endpoints;
|
|
630
631
|
imports?: ImportMetadataImports;
|
|
631
632
|
index?: ImportMetadataIndex;
|
|
633
|
+
metricsConfig?: MetricsConfig;
|
|
632
634
|
/**
|
|
633
635
|
/* @deprecated for mapping endpoint syntax
|
|
634
636
|
/* Import map for the loader to resolve modules, defaults to a "lwr-importmap" script tag
|
|
@@ -647,6 +649,10 @@ export interface BootstrapJson {
|
|
|
647
649
|
[id: string]: ModuleJson;
|
|
648
650
|
};
|
|
649
651
|
}
|
|
652
|
+
export interface MetricsConfig {
|
|
653
|
+
enableModuleFetchTracking?: boolean;
|
|
654
|
+
enableMappingFetchTracking?: boolean;
|
|
655
|
+
}
|
|
650
656
|
export interface ServerContext {
|
|
651
657
|
appObserver: LwrAppObserver;
|
|
652
658
|
appEmitter: LwrAppEmitter;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc -b"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.7.0-alpha.
|
|
11
|
+
"version": "0.7.0-alpha.1",
|
|
12
12
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=14.15.4 <17"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "24245670d6908d37e465f2316f92385df63d22aa"
|
|
31
31
|
}
|