@lwrjs/types 0.8.0-alpha.8 → 0.8.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/views.d.ts +11 -3
  2. package/package.json +2 -2
package/build/views.d.ts CHANGED
@@ -180,7 +180,7 @@ export interface ViewRegistry {
180
180
  getPublicApi(): PublicViewRegistry;
181
181
  }
182
182
  export declare type PublicViewRegistry = Pick<ViewRegistry, 'getView' | 'getViewDefinition'>;
183
- export interface PropsRequestContext {
183
+ export interface SsrRequestContext {
184
184
  props: Json;
185
185
  params: {
186
186
  [key: string]: string;
@@ -190,8 +190,16 @@ export interface PropsRequestContext {
190
190
  };
191
191
  locale: string;
192
192
  }
193
- export interface PropsResponse {
194
- props: Json;
193
+ export interface PageDataResponse {
194
+ props?: Json;
195
+ markup?: {
196
+ links?: {
197
+ href: string;
198
+ as?: string;
199
+ rel?: string;
200
+ fetchpriority?: 'high' | 'low' | 'auto';
201
+ }[];
202
+ };
195
203
  }
196
204
  export {};
197
205
  //# sourceMappingURL=views.d.ts.map
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.8.0-alpha.8",
11
+ "version": "0.8.0-alpha.9",
12
12
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
13
13
  "repository": {
14
14
  "type": "git",
@@ -26,5 +26,5 @@
26
26
  "engines": {
27
27
  "node": ">=14.15.4 <19"
28
28
  },
29
- "gitHead": "345e7545d2d1d1f587567aacf0a072473c746d9e"
29
+ "gitHead": "037c471903c6753fc6866ef598571b0df83e58f9"
30
30
  }