@squiz/edge-dev-render-runtime-lib 2.6.0 → 2.6.2
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",
|
|
@@ -2563,6 +2564,10 @@
|
|
|
2563
2564
|
},
|
|
2564
2565
|
"type": "object"
|
|
2565
2566
|
},
|
|
2567
|
+
"translatable": {
|
|
2568
|
+
"type": "boolean",
|
|
2569
|
+
"description": "Indicates whether the field can be stored in multi-language variations"
|
|
2570
|
+
},
|
|
2566
2571
|
"properties": {
|
|
2567
2572
|
"properties": {},
|
|
2568
2573
|
"additionalProperties": {
|
|
@@ -2822,6 +2827,10 @@
|
|
|
2822
2827
|
},
|
|
2823
2828
|
"type": "object"
|
|
2824
2829
|
},
|
|
2830
|
+
"translatable": {
|
|
2831
|
+
"type": "boolean",
|
|
2832
|
+
"description": "Indicates whether the field can be stored in multi-language variations"
|
|
2833
|
+
},
|
|
2825
2834
|
"patternProperties": {
|
|
2826
2835
|
"properties": {},
|
|
2827
2836
|
"additionalProperties": {
|
|
@@ -2964,6 +2973,7 @@
|
|
|
2964
2973
|
"pageAssetListing",
|
|
2965
2974
|
"pageCalendarEventsSearch",
|
|
2966
2975
|
"pageCalendar",
|
|
2976
|
+
"pageContent",
|
|
2967
2977
|
"pagePasswordReset",
|
|
2968
2978
|
"pageRemoteContent",
|
|
2969
2979
|
"pageRestResourceJs",
|
|
@@ -4755,7 +4765,7 @@
|
|
|
4755
4765
|
},
|
|
4756
4766
|
"info": {
|
|
4757
4767
|
"title": "@squiz/edge-dev-render-runtime-lib",
|
|
4758
|
-
"version": "2.6.
|
|
4768
|
+
"version": "2.6.1",
|
|
4759
4769
|
"description": "Package of Edge rendering utilities for components in dev mode",
|
|
4760
4770
|
"license": {
|
|
4761
4771
|
"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.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"description": "Package of Edge rendering utilities for components in dev mode",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -13,12 +13,13 @@
|
|
|
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",
|
|
22
23
|
"@squiz/local-component-runtime": "*",
|
|
23
24
|
"@squiz/runtime-sandbox-common": "^1.65.2",
|
|
24
25
|
"compression": "1.7.4",
|