@lwrjs/types 0.8.0-alpha.6 → 0.8.0-alpha.9
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/config.d.ts +1 -1
- package/build/index.d.ts +1 -1
- package/build/views.d.ts +11 -3
- package/package.json +2 -2
package/build/config.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface LwrAppBootstrapConfig {
|
|
|
32
32
|
};
|
|
33
33
|
services?: string[];
|
|
34
34
|
configAsSrc?: boolean;
|
|
35
|
-
|
|
35
|
+
ssr?: boolean;
|
|
36
36
|
}
|
|
37
37
|
export declare type NormalizedLwrAppBootstrapConfig = Required<LwrAppBootstrapConfig>;
|
|
38
38
|
export interface LwrLockerConfig {
|
package/build/index.d.ts
CHANGED
|
@@ -397,7 +397,7 @@ export declare type PublicResourceRegistry = Pick<ResourceRegistry, 'getResource
|
|
|
397
397
|
export interface AssetRegistry {
|
|
398
398
|
name: string;
|
|
399
399
|
addAssetProviders(provider: AssetProvider[]): void;
|
|
400
|
-
getAsset<R extends AssetIdentifier, T extends RuntimeEnvironment>(resourceIdentity: R, runtimeEnvironment: T
|
|
400
|
+
getAsset<R extends AssetIdentifier, T extends RuntimeEnvironment>(resourceIdentity: R, runtimeEnvironment: T): Promise<AssetDefinition>;
|
|
401
401
|
resolveAssetUri<R extends AssetIdentifier, T extends RuntimeEnvironment>(resourceIdentity: R, runtimeEnvironment: T): Promise<AssetUri>;
|
|
402
402
|
getPublicApi(): PublicAssetRegistry;
|
|
403
403
|
}
|
package/build/views.d.ts
CHANGED
|
@@ -180,7 +180,7 @@ export interface ViewRegistry {
|
|
|
180
180
|
getPublicApi(): PublicViewRegistry;
|
|
181
181
|
}
|
|
182
182
|
export declare type PublicViewRegistry = Pick<ViewRegistry, 'getView' | 'getViewDefinition'>;
|
|
183
|
-
export interface
|
|
183
|
+
export interface SsrRequestContext {
|
|
184
184
|
props: Json;
|
|
185
185
|
params: {
|
|
186
186
|
[key: string]: string;
|
|
@@ -190,8 +190,16 @@ export interface PropsRequestContext {
|
|
|
190
190
|
};
|
|
191
191
|
locale: string;
|
|
192
192
|
}
|
|
193
|
-
export interface
|
|
194
|
-
props
|
|
193
|
+
export interface PageDataResponse {
|
|
194
|
+
props?: Json;
|
|
195
|
+
markup?: {
|
|
196
|
+
links?: {
|
|
197
|
+
href: string;
|
|
198
|
+
as?: string;
|
|
199
|
+
rel?: string;
|
|
200
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
201
|
+
}[];
|
|
202
|
+
};
|
|
195
203
|
}
|
|
196
204
|
export {};
|
|
197
205
|
//# sourceMappingURL=views.d.ts.map
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc -b"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.8.0-alpha.
|
|
11
|
+
"version": "0.8.0-alpha.9",
|
|
12
12
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=14.15.4 <19"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "037c471903c6753fc6866ef598571b0df83e58f9"
|
|
30
30
|
}
|