@lwrjs/types 0.17.2-alpha.20 → 0.17.2-alpha.22
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/cli.d.ts +10 -2
- package/build/views.d.ts +4 -5
- package/package.json +2 -2
package/build/cli.d.ts
CHANGED
|
@@ -30,16 +30,24 @@ export type LocalDevMode = 'dev' | 'prod';
|
|
|
30
30
|
*/
|
|
31
31
|
export interface LocalDevOptions {
|
|
32
32
|
mode: LocalDevMode;
|
|
33
|
-
siteDir: string;
|
|
34
33
|
port: number;
|
|
34
|
+
basePath?: string;
|
|
35
35
|
timeout?: number;
|
|
36
36
|
logLevel?: string;
|
|
37
37
|
open?: boolean;
|
|
38
|
-
siteZip?: string;
|
|
39
38
|
authToken?: string;
|
|
40
39
|
sfCLI?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface SitesLocalDevOptions extends LocalDevOptions {
|
|
42
|
+
siteDir: string;
|
|
43
|
+
siteZip?: string;
|
|
41
44
|
writeSrcFilesToBundle?: boolean;
|
|
42
45
|
inlineUpdate?: boolean;
|
|
43
46
|
regenerateAllRoutes?: boolean;
|
|
44
47
|
}
|
|
48
|
+
export interface ComponentLocalDevOptions extends LocalDevOptions {
|
|
49
|
+
name?: string;
|
|
50
|
+
namespacePaths?: string[];
|
|
51
|
+
rootDir?: string;
|
|
52
|
+
}
|
|
45
53
|
//# sourceMappingURL=cli.d.ts.map
|
package/build/views.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ export interface RenderedViewMetadata {
|
|
|
48
48
|
warnings?: (Error | string)[];
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
+
export interface HtmlMetadata {
|
|
52
|
+
customElements: CustomElementReference[];
|
|
53
|
+
assetReferences: AssetReference[];
|
|
54
|
+
}
|
|
51
55
|
export interface RenderedAssetReference {
|
|
52
56
|
url: string;
|
|
53
57
|
tagName?: string;
|
|
@@ -249,13 +253,8 @@ export interface SsrDataResponse {
|
|
|
249
253
|
};
|
|
250
254
|
markup?: HeadMarkup;
|
|
251
255
|
cache?: CacheResponse;
|
|
252
|
-
status?: SsrStatus;
|
|
253
256
|
warnings?: (Error | string)[];
|
|
254
257
|
}
|
|
255
|
-
export interface SsrStatus {
|
|
256
|
-
code: 301 | 302 | 429 | 503;
|
|
257
|
-
location?: string;
|
|
258
|
-
}
|
|
259
258
|
export interface DirectToCoreProxy {
|
|
260
259
|
origin: string;
|
|
261
260
|
host?: 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.22",
|
|
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": "89460a05096fe25860f06a9bea2c5c9a25b9cf05"
|
|
33
33
|
}
|