@lwrjs/types 0.13.0-alpha.3 → 0.13.0-alpha.5

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 +16 -5
  2. package/package.json +2 -2
package/build/views.d.ts CHANGED
@@ -212,17 +212,28 @@ export interface SsrRequestOptions {
212
212
  host?: string;
213
213
  requestDepth?: number;
214
214
  }
215
+ export type MetaTag = {
216
+ name?: string;
217
+ httpEquiv?: string;
218
+ content?: string;
219
+ };
220
+ export type LinkTag = {
221
+ href: string;
222
+ as?: string;
223
+ rel?: string;
224
+ fetchpriority?: 'high' | 'low' | 'auto';
225
+ };
215
226
  export interface SsrDataResponse {
216
227
  props?: {
217
228
  [prop: string]: Json;
218
229
  };
219
230
  markup?: {
220
- links?: {
221
- href: string;
222
- as?: string;
223
- rel?: string;
224
- fetchpriority?: 'high' | 'low' | 'auto';
231
+ title?: string;
232
+ meta?: MetaTag[];
233
+ scripts?: {
234
+ body: string;
225
235
  }[];
236
+ links?: LinkTag[];
226
237
  };
227
238
  cache?: CacheResponse;
228
239
  }
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.3",
11
+ "version": "0.13.0-alpha.5",
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": "f2435da0eb0cf643add2a7cf896b3372df75733e"
32
+ "gitHead": "228fe607cb3f377a11efe53dd800c4f53a4eab66"
33
33
  }