@lwrjs/types 0.17.2-alpha.14 → 0.17.2-alpha.16
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/views.d.ts +13 -18
- package/package.json +2 -2
package/build/views.d.ts
CHANGED
|
@@ -220,12 +220,6 @@ export interface SsrRequestContext {
|
|
|
220
220
|
basePath: string;
|
|
221
221
|
crossRequestCache: Record<string, any>;
|
|
222
222
|
}
|
|
223
|
-
export interface SsrRequestOptions {
|
|
224
|
-
bundleSpecifier: string;
|
|
225
|
-
cacheDir: string;
|
|
226
|
-
host?: string;
|
|
227
|
-
requestDepth?: number;
|
|
228
|
-
}
|
|
229
223
|
export type MetaTag = {
|
|
230
224
|
name?: string;
|
|
231
225
|
httpEquiv?: string;
|
|
@@ -237,22 +231,23 @@ export type LinkTag = {
|
|
|
237
231
|
rel?: string;
|
|
238
232
|
fetchpriority?: 'high' | 'low' | 'auto';
|
|
239
233
|
};
|
|
234
|
+
export interface HeadMarkup {
|
|
235
|
+
title?: string;
|
|
236
|
+
meta?: MetaTag[];
|
|
237
|
+
scripts?: {
|
|
238
|
+
body: string;
|
|
239
|
+
}[];
|
|
240
|
+
links?: LinkTag[];
|
|
241
|
+
styles?: {
|
|
242
|
+
body: string;
|
|
243
|
+
id?: string;
|
|
244
|
+
}[];
|
|
245
|
+
}
|
|
240
246
|
export interface SsrDataResponse {
|
|
241
247
|
props?: {
|
|
242
248
|
[prop: string]: Json;
|
|
243
249
|
};
|
|
244
|
-
markup?:
|
|
245
|
-
title?: string;
|
|
246
|
-
meta?: MetaTag[];
|
|
247
|
-
scripts?: {
|
|
248
|
-
body: string;
|
|
249
|
-
}[];
|
|
250
|
-
links?: LinkTag[];
|
|
251
|
-
styles?: {
|
|
252
|
-
body: string;
|
|
253
|
-
id?: string;
|
|
254
|
-
}[];
|
|
255
|
-
};
|
|
250
|
+
markup?: HeadMarkup;
|
|
256
251
|
cache?: CacheResponse;
|
|
257
252
|
status?: SsrStatus;
|
|
258
253
|
warnings?: (Error | string)[];
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc -b"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.17.2-alpha.
|
|
11
|
+
"version": "0.17.2-alpha.16",
|
|
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": ">=20.0.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "5a6b24c265145652f9dda60d1d2cb405148c71f3"
|
|
33
33
|
}
|