@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 +1 -0
- package/build/views.d.ts +16 -5
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
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
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
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.
|
|
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": "
|
|
32
|
+
"gitHead": "1a3c46bb34ab4f3501c118943b4297a95b6e4978"
|
|
33
33
|
}
|