@lwrjs/types 0.17.2-alpha.20 → 0.17.2-alpha.21
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 +0 -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
|
@@ -249,13 +249,8 @@ export interface SsrDataResponse {
|
|
|
249
249
|
};
|
|
250
250
|
markup?: HeadMarkup;
|
|
251
251
|
cache?: CacheResponse;
|
|
252
|
-
status?: SsrStatus;
|
|
253
252
|
warnings?: (Error | string)[];
|
|
254
253
|
}
|
|
255
|
-
export interface SsrStatus {
|
|
256
|
-
code: 301 | 302 | 429 | 503;
|
|
257
|
-
location?: string;
|
|
258
|
-
}
|
|
259
254
|
export interface DirectToCoreProxy {
|
|
260
255
|
origin: string;
|
|
261
256
|
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.21",
|
|
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": "448ae2b681a4718241a29890f34e0ac13e35e6fd"
|
|
33
33
|
}
|