@lwrjs/types 0.13.0-alpha.7 → 0.13.0-alpha.9

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.
Files changed (2) hide show
  1. package/build/index.d.ts +5 -0
  2. package/package.json +2 -2
package/build/index.d.ts CHANGED
@@ -373,6 +373,7 @@ export interface ResourceDefinition {
373
373
  content?: string;
374
374
  stream?: () => Readable;
375
375
  isPreload?: boolean;
376
+ version?: string;
376
377
  }
377
378
  export interface AssetMetadata {
378
379
  assetReferences?: AssetReference[];
@@ -669,6 +670,10 @@ export interface SiteMetadata {
669
670
  * Get get decision tree to figure out the best site bundle to use.
670
671
  */
671
672
  getSiteBundlesDecisionTree(): DecisionTree<SiteBundle>;
673
+ /**
674
+ * Get get decision tree to figure out the best site resource to use.
675
+ */
676
+ getSiteResourcesDecisionTree(): DecisionTree<SiteResource>;
672
677
  }
673
678
  export interface SiteBundles {
674
679
  bundles: Record<string, SiteBundle>;
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.7",
11
+ "version": "0.13.0-alpha.9",
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": "4b77dea6ac8d473a4113ad7b345b3a37b0b8a3f8"
32
+ "gitHead": "a2a9e1dbf39a7b04c7a43433e004895b6f4c51a3"
33
33
  }