@squiz/edge-dev-render-runtime-lib 2.5.8 → 2.6.1
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/lib/public/docs.json
CHANGED
|
@@ -2437,6 +2437,7 @@
|
|
|
2437
2437
|
"pageAssetListing",
|
|
2438
2438
|
"pageCalendarEventsSearch",
|
|
2439
2439
|
"pageCalendar",
|
|
2440
|
+
"pageContent",
|
|
2440
2441
|
"pagePasswordReset",
|
|
2441
2442
|
"pageRemoteContent",
|
|
2442
2443
|
"pageRestResourceJs",
|
|
@@ -2964,6 +2965,7 @@
|
|
|
2964
2965
|
"pageAssetListing",
|
|
2965
2966
|
"pageCalendarEventsSearch",
|
|
2966
2967
|
"pageCalendar",
|
|
2968
|
+
"pageContent",
|
|
2967
2969
|
"pagePasswordReset",
|
|
2968
2970
|
"pageRemoteContent",
|
|
2969
2971
|
"pageRestResourceJs",
|
|
@@ -4755,7 +4757,7 @@
|
|
|
4755
4757
|
},
|
|
4756
4758
|
"info": {
|
|
4757
4759
|
"title": "@squiz/edge-dev-render-runtime-lib",
|
|
4758
|
-
"version": "2.
|
|
4760
|
+
"version": "2.6.0",
|
|
4759
4761
|
"description": "Package of Edge rendering utilities for components in dev mode",
|
|
4760
4762
|
"license": {
|
|
4761
4763
|
"name": "ISC"
|
|
@@ -50,7 +50,7 @@ export declare class DevelopmentController extends Controller {
|
|
|
50
50
|
* @param {*} [data]
|
|
51
51
|
* @memberof DevelopmentController
|
|
52
52
|
*/
|
|
53
|
-
TemporaryPreview(req: ExpressRequest, componentId: string, functionName: string, headers?: any, _previewEnvVars?: any, data?:
|
|
53
|
+
TemporaryPreview(req: ExpressRequest, componentId: string, functionName: string, headers?: any, _previewEnvVars?: any, data?: string, contextMatrixAssetId?: string, contextMatrixUrl?: string): Promise<void>;
|
|
54
54
|
getDefaultFunctionRendering(expressRequest: ExpressRequest, componentId: string, componentSet?: string, previewKey?: string, contextMatrixAssetId?: string, contextMatrixUrl?: string): Promise<void>;
|
|
55
55
|
getGivenFunctionRendering(expressRequest: ExpressRequest, componentId: string, functionName: string, componentSet?: string, previewKey?: string, contextMatrixAssetId?: string, contextMatrixUrl?: string): Promise<void>;
|
|
56
56
|
protected handleResponse(input: ComponentExecutionInput, output: FunctionReturnTypes, response: ExpressResponse): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function hasSquizType(componentSchema: any): boolean;
|
|
2
|
-
export declare function resolveMock(componentSchema: any, data: Record<string,
|
|
2
|
+
export declare function resolveMock(componentSchema: any, data: Record<string, unknown>): Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squiz/edge-dev-render-runtime-lib",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Package of Edge rendering utilities for components in dev mode",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
"lib": "lib"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@squiz/component-lib": "^1.
|
|
16
|
+
"@squiz/component-lib": "^1.84.0",
|
|
17
17
|
"@squiz/component-logger-lib": "^1.71.3",
|
|
18
18
|
"@squiz/component-web-api-lib": "^1.67.3",
|
|
19
19
|
"@squiz/dx-common-lib": "^1.71.1",
|
|
20
20
|
"@squiz/dx-json-schema-lib": "^1.81.1",
|
|
21
21
|
"@squiz/dx-logger-lib": "^1.65.1",
|
|
22
|
+
"@squiz/formatted-text-lib": "^1.71.2",
|
|
23
|
+
"@squiz/local-component-runtime": "*",
|
|
22
24
|
"@squiz/runtime-sandbox-common": "^1.65.2",
|
|
23
25
|
"compression": "1.7.4",
|
|
24
26
|
"cors": "2.8.5",
|