@lwrjs/types 0.15.0-alpha.12 → 0.15.0-alpha.13

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
@@ -48,6 +48,7 @@ export interface LwrAppBootstrapConfig {
48
48
  preloadModules?: string[];
49
49
  lwrVersion?: string;
50
50
  lwcVersion?: string;
51
+ preloadResources?: PreloadResources;
51
52
  }
52
53
  export interface NormalizedLwrAppBootstrapConfig extends Required<Omit<LwrAppBootstrapConfig, 'module'>> {
53
54
  services: BootstrapService[];
@@ -314,5 +315,12 @@ export interface I18NConfig {
314
315
  uriPattern?: UriPattern;
315
316
  }
316
317
  export type UriPattern = undefined | 'path-prefix';
318
+ export interface PreloadResources {
319
+ patterns: PreloadResourcePatterns[];
320
+ }
321
+ export interface PreloadResourcePatterns {
322
+ match: string;
323
+ attributes?: Record<string, string>;
324
+ }
317
325
  export {};
318
326
  //# sourceMappingURL=config.d.ts.map
package/build/index.d.ts CHANGED
@@ -644,7 +644,7 @@ export interface DecisionTree<Artifact extends SiteArtifact> {
644
644
  /**
645
645
  * Retrieve an artifact from the tree based on a path of decisions
646
646
  */
647
- find(siteArtifactId: string | Partial<AbstractModuleId>, debug?: boolean, localeId?: string): Artifact | undefined;
647
+ find(siteArtifactId: string | Partial<AbstractModuleId>, debug?: boolean, ssr?: boolean, localeId?: string): Artifact | undefined;
648
648
  }
649
649
  export interface SiteMetadata {
650
650
  /**
package/build/views.d.ts CHANGED
@@ -212,7 +212,7 @@ export interface SsrRequestContext {
212
212
  query: ViewRequestQs;
213
213
  locale: string;
214
214
  basePath: string;
215
- lwrCache: Record<string, any>;
215
+ crossRequestCache: Record<string, any>;
216
216
  }
217
217
  export interface SsrRequestOptions {
218
218
  bundleSpecifier: 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.12",
11
+ "version": "0.15.0-alpha.13",
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": "24d0d4a163fcfbaa5e0a005aafd7cf77f314a2ab"
32
+ "gitHead": "687327a328b33a1abc3ac45e1406d72ebe7d37b4"
33
33
  }