@lwrjs/types 0.13.0-alpha.15 → 0.13.0-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/index.d.ts +3 -0
- package/build/views.d.ts +3 -1
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -314,6 +314,7 @@ export interface BundleDefinition extends ModuleId {
|
|
|
314
314
|
map?: any;
|
|
315
315
|
bundleRecord: BundleRecord;
|
|
316
316
|
src?: string;
|
|
317
|
+
integrity?: string;
|
|
317
318
|
}
|
|
318
319
|
export interface ProviderAppConfig {
|
|
319
320
|
modules: ResolverModuleRecord[];
|
|
@@ -375,6 +376,7 @@ export interface ResourceDefinition {
|
|
|
375
376
|
stream?: () => Readable;
|
|
376
377
|
isPreload?: boolean;
|
|
377
378
|
version?: string;
|
|
379
|
+
integrity?: string;
|
|
378
380
|
}
|
|
379
381
|
export interface AssetMetadata {
|
|
380
382
|
assetReferences?: AssetReference[];
|
|
@@ -685,6 +687,7 @@ export interface SiteAssets {
|
|
|
685
687
|
export interface SiteArtifact {
|
|
686
688
|
path: string;
|
|
687
689
|
mimeType?: string;
|
|
690
|
+
integrity?: string;
|
|
688
691
|
}
|
|
689
692
|
export interface SiteResource extends SiteArtifact {
|
|
690
693
|
inline?: boolean;
|
package/build/views.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface CompiledView extends ViewSource {
|
|
|
16
16
|
properties?: {
|
|
17
17
|
[key: string]: unknown;
|
|
18
18
|
};
|
|
19
|
-
render: (context
|
|
19
|
+
render: (context: any, runtimeEnvironment: RuntimeEnvironment) => Promise<RenderingResult>;
|
|
20
20
|
}
|
|
21
21
|
export type NormalizedRenderingResult = Required<RenderingResult>;
|
|
22
22
|
export interface RenderingResult {
|
|
@@ -74,6 +74,7 @@ export interface RenderedViewRecord {
|
|
|
74
74
|
customElements?: CustomElementRecord[];
|
|
75
75
|
endpoints?: Endpoints;
|
|
76
76
|
importMetadata?: ImportMetadata;
|
|
77
|
+
moduleResources: ResourceDefinition[];
|
|
77
78
|
bootstrapModule?: {
|
|
78
79
|
specifier: Specifier;
|
|
79
80
|
flatGraph: FlattenedModuleGraphs;
|
|
@@ -185,6 +186,7 @@ export type ViewModuleResourceContext = {
|
|
|
185
186
|
isSSR?: boolean;
|
|
186
187
|
async?: boolean;
|
|
187
188
|
nonce?: string;
|
|
189
|
+
integrity?: string;
|
|
188
190
|
};
|
|
189
191
|
export interface ViewRegistry {
|
|
190
192
|
addViewProviders(providers: ViewProvider[]): void;
|
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.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": ">=18.0.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "5aabb958d70a4a962b207da21e852d7a801d7d44"
|
|
33
33
|
}
|