@lwrjs/types 0.13.0-alpha.2 → 0.13.0-alpha.4

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 CHANGED
@@ -365,6 +365,7 @@ export interface ResourceDefinition {
365
365
  specifier?: string;
366
366
  type: ResourceType;
367
367
  src?: string;
368
+ entry?: string;
368
369
  inline?: boolean;
369
370
  async?: boolean;
370
371
  defer?: boolean;
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.2",
11
+ "version": "0.13.0-alpha.4",
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": "3ae1051ef1eb282f9c1fb54f6aab44ab5ba48480"
32
+ "gitHead": "1a3c46bb34ab4f3501c118943b4297a95b6e4978"
33
33
  }