@squiz/edge-dev-render-runtime-lib 2.4.2 → 2.5.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/index.js +23 -14
- package/lib/index.js.map +2 -2
- package/lib/public/docs.json +28 -55
- package/lib/test/helpers/fixtures.d.ts +1 -1
- package/lib/webserver/controllers/StaticController.d.ts +1 -1
- package/package.json +11 -22
package/lib/public/docs.json
CHANGED
|
@@ -2322,41 +2322,34 @@
|
|
|
2322
2322
|
"additionalProperties": false
|
|
2323
2323
|
},
|
|
2324
2324
|
"UiMetadata": {
|
|
2325
|
-
"
|
|
2326
|
-
{
|
|
2327
|
-
"
|
|
2328
|
-
|
|
2329
|
-
"type": "boolean",
|
|
2330
|
-
"description": "Whether the component should automatically reload when the input is changed"
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
"additionalProperties": {},
|
|
2334
|
-
"type": "object"
|
|
2325
|
+
"properties": {
|
|
2326
|
+
"autoReload": {
|
|
2327
|
+
"type": "boolean",
|
|
2328
|
+
"description": "Whether the component should automatically reload when the input is changed"
|
|
2335
2329
|
},
|
|
2336
|
-
{
|
|
2337
|
-
"
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
"type": "object"
|
|
2356
|
-
}
|
|
2357
|
-
]
|
|
2330
|
+
"inlineEditable": {
|
|
2331
|
+
"type": "boolean",
|
|
2332
|
+
"description": "Allow this property to be editable inline"
|
|
2333
|
+
},
|
|
2334
|
+
"collapsedByDefault": {
|
|
2335
|
+
"type": "boolean",
|
|
2336
|
+
"description": "Choose if an object grouping should be collapsed by default"
|
|
2337
|
+
},
|
|
2338
|
+
"quickOption": {
|
|
2339
|
+
"type": "boolean",
|
|
2340
|
+
"description": "Allow this property to be part of the Quick Options UI"
|
|
2341
|
+
},
|
|
2342
|
+
"enumWidget": {
|
|
2343
|
+
"type": "string",
|
|
2344
|
+
"enum": [
|
|
2345
|
+
"radio",
|
|
2346
|
+
"dropdown"
|
|
2347
|
+
],
|
|
2348
|
+
"description": "Choose if the enum values are displayed as a radio button list or a dropdown"
|
|
2358
2349
|
}
|
|
2359
|
-
|
|
2350
|
+
},
|
|
2351
|
+
"type": "object",
|
|
2352
|
+
"additionalProperties": false
|
|
2360
2353
|
},
|
|
2361
2354
|
"CoreSchemaMetaSchema2": {
|
|
2362
2355
|
"anyOf": [
|
|
@@ -2682,27 +2675,7 @@
|
|
|
2682
2675
|
"type": "string"
|
|
2683
2676
|
},
|
|
2684
2677
|
"ui:metadata": {
|
|
2685
|
-
"
|
|
2686
|
-
{
|
|
2687
|
-
"properties": {
|
|
2688
|
-
"collapsedByDefault": {
|
|
2689
|
-
"type": "boolean"
|
|
2690
|
-
}
|
|
2691
|
-
},
|
|
2692
|
-
"type": "object"
|
|
2693
|
-
},
|
|
2694
|
-
{
|
|
2695
|
-
"properties": {
|
|
2696
|
-
"quickOption": {
|
|
2697
|
-
"type": "boolean"
|
|
2698
|
-
},
|
|
2699
|
-
"inlineEditable": {
|
|
2700
|
-
"type": "boolean"
|
|
2701
|
-
}
|
|
2702
|
-
},
|
|
2703
|
-
"type": "object"
|
|
2704
|
-
}
|
|
2705
|
-
]
|
|
2678
|
+
"$ref": "#/components/schemas/UiMetadata"
|
|
2706
2679
|
},
|
|
2707
2680
|
"$id": {
|
|
2708
2681
|
"type": "string"
|
|
@@ -4788,7 +4761,7 @@
|
|
|
4788
4761
|
},
|
|
4789
4762
|
"info": {
|
|
4790
4763
|
"title": "@squiz/edge-dev-render-runtime-lib",
|
|
4791
|
-
"version": "2.
|
|
4764
|
+
"version": "2.5.0",
|
|
4792
4765
|
"description": "Package of Edge rendering utilities for components in dev mode",
|
|
4793
4766
|
"license": {
|
|
4794
4767
|
"name": "ISC"
|
|
@@ -11,7 +11,7 @@ export declare class ComponentFixture {
|
|
|
11
11
|
fixtureDirectory: string;
|
|
12
12
|
componentDirectory: string;
|
|
13
13
|
version: string;
|
|
14
|
-
manifest: import("packages/dx-json-schema-lib/
|
|
14
|
+
manifest: import("packages/dx-json-schema-lib/lib/manifest/v1/v1").ComponentManifest;
|
|
15
15
|
componentName: string;
|
|
16
16
|
}>;
|
|
17
17
|
static new(returnObj: string | object, { raw, environment, set }?: {
|
|
@@ -10,5 +10,5 @@ export declare class StaticController extends Controller {
|
|
|
10
10
|
private setResponseHeaders;
|
|
11
11
|
protected getHeadersForInputType(_componentSet: string | undefined, _previewKey: string | undefined, manifest: Manifest): Promise<Headers>;
|
|
12
12
|
protected getValidatedSet(_componentSet: string, manifest: ManifestV1): Promise<ComponentSet>;
|
|
13
|
-
protected getValidatedPreviewDefinition(_previewKey: string, manifestModel: ManifestModel): Promise<import("packages/dx-json-schema-lib/
|
|
13
|
+
protected getValidatedPreviewDefinition(_previewKey: string, manifestModel: ManifestModel): Promise<import("packages/dx-json-schema-lib/lib/manifest/v1/v1").PreviewDefinition>;
|
|
14
14
|
}
|
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.5.1",
|
|
4
4
|
"description": "Package of Edge rendering utilities for components in dev mode",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -13,22 +13,18 @@
|
|
|
13
13
|
"lib": "lib"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@
|
|
17
|
-
"@
|
|
18
|
-
"@
|
|
19
|
-
"@squiz/
|
|
20
|
-
"@squiz/
|
|
21
|
-
"@squiz/
|
|
22
|
-
"@squiz/
|
|
23
|
-
"@squiz/dx-json-schema-lib": "^1.76.1",
|
|
24
|
-
"@squiz/dx-logger-lib": "^1.64.0",
|
|
25
|
-
"@squiz/formatted-text-lib": "^1.68.1",
|
|
26
|
-
"@squiz/runtime-sandbox-common": "^1.65.1",
|
|
16
|
+
"@squiz/component-lib": "^1.81.1",
|
|
17
|
+
"@squiz/component-logger-lib": "^1.71.2",
|
|
18
|
+
"@squiz/component-web-api-lib": "^1.67.1",
|
|
19
|
+
"@squiz/dx-common-lib": "^1.69.1",
|
|
20
|
+
"@squiz/dx-json-schema-lib": "^1.80.1",
|
|
21
|
+
"@squiz/dx-logger-lib": "^1.65.1",
|
|
22
|
+
"@squiz/runtime-sandbox-common": "^1.65.2",
|
|
27
23
|
"compression": "1.7.4",
|
|
28
24
|
"cors": "2.8.5",
|
|
29
25
|
"dotenv": "16.0.3",
|
|
30
26
|
"esbuild": "^0.23.0",
|
|
31
|
-
"express": "4.
|
|
27
|
+
"express": "^4.21.2",
|
|
32
28
|
"fs-extra": "11.1.0",
|
|
33
29
|
"helmet": "6.0.1",
|
|
34
30
|
"inversify": "6.0.2",
|
|
@@ -38,26 +34,19 @@
|
|
|
38
34
|
"winston": "3.8.2"
|
|
39
35
|
},
|
|
40
36
|
"devDependencies": {
|
|
41
|
-
"@squiz/runtime-sandbox-node": "^1.64.2",
|
|
42
|
-
"@types/bunyan": "1.8.11",
|
|
43
37
|
"@types/compression": "1.7.5",
|
|
44
38
|
"@types/cors": "2.8.17",
|
|
45
39
|
"@types/express": "4.17.21",
|
|
46
40
|
"@types/fs-extra": "11.0.4",
|
|
47
|
-
"@types/jest": "28.1.8",
|
|
48
41
|
"@types/node": "20.12.12",
|
|
49
42
|
"@types/ringbufferjs": "1.1.0",
|
|
50
43
|
"@types/supertest": "2.0.12",
|
|
51
44
|
"@types/swagger-ui-express": "4.1.3",
|
|
52
45
|
"jest": "29.4.1",
|
|
53
|
-
"nodemon": "2.0.20",
|
|
54
|
-
"rimraf": "5.0.7",
|
|
55
46
|
"ringbufferjs": "2.0.0",
|
|
56
47
|
"supertest": "6.2.4",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"ts-node": "10.9.2",
|
|
60
|
-
"typescript": "4.9.4"
|
|
48
|
+
"typescript": "4.9.4",
|
|
49
|
+
"winston-transport": "^4.9.0"
|
|
61
50
|
},
|
|
62
51
|
"files": [
|
|
63
52
|
"lib"
|