@lwrjs/types 0.22.12 → 0.22.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/index.d.ts +13 -0
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -617,6 +617,19 @@ export interface FlattenedModuleGraphs {
|
|
|
617
617
|
export type ImportMapImports = {
|
|
618
618
|
[key: string]: string;
|
|
619
619
|
};
|
|
620
|
+
/**
|
|
621
|
+
* Spec-shaped import map object (https://github.com/WICG/import-maps).
|
|
622
|
+
* Shared by legacy resolution, esmLoader, and LWR.importMap public API typing.
|
|
623
|
+
*/
|
|
624
|
+
export interface ImportMap {
|
|
625
|
+
imports?: ImportMapImports;
|
|
626
|
+
scopes?: {
|
|
627
|
+
[key: string]: ImportMapImports;
|
|
628
|
+
};
|
|
629
|
+
default?: string;
|
|
630
|
+
}
|
|
631
|
+
/** Flat script-URL → module specifiers form for LWR.importMap() runtime updates. */
|
|
632
|
+
export type ImportMapUpdate = Record<string, string[]>;
|
|
620
633
|
export interface LwrBuilderOverwriteOptions {
|
|
621
634
|
storeName?: boolean;
|
|
622
635
|
contentOnly?: boolean;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc -b"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.22.
|
|
11
|
+
"version": "0.22.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": ">=22.0.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "d502ef08ff191ef2e30429cb0e4b983cf9da7a3f"
|
|
33
33
|
}
|