@squiz/edge-dev-render-runtime-lib 2.5.3 → 2.5.5

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.
@@ -1,4 +1,5 @@
1
1
  {
2
+ "openapi": "3.0.0",
2
3
  "components": {
3
4
  "examples": {},
4
5
  "headers": {},
@@ -4565,7 +4566,7 @@
4565
4566
  "type": "object",
4566
4567
  "additionalProperties": {}
4567
4568
  },
4568
- "MANIFEST_MODELS.v1.ComponentManifest": {
4569
+ "ComponentManifest": {
4569
4570
  "properties": {
4570
4571
  "$schema": {
4571
4572
  "type": "string",
@@ -4730,8 +4731,8 @@
4730
4731
  "type": "object",
4731
4732
  "additionalProperties": false
4732
4733
  },
4733
- "ComponentManifest": {
4734
- "$ref": "#/components/schemas/MANIFEST_MODELS.v1.ComponentManifest"
4734
+ "ComponentManifestType": {
4735
+ "$ref": "#/components/schemas/ComponentManifest"
4735
4736
  },
4736
4737
  "ComponentSchema": {
4737
4738
  "properties": {
@@ -4754,53 +4755,14 @@
4754
4755
  },
4755
4756
  "info": {
4756
4757
  "title": "@squiz/edge-dev-render-runtime-lib",
4757
- "version": "2.5.3",
4758
+ "version": "2.5.4",
4758
4759
  "description": "Package of Edge rendering utilities for components in dev mode",
4759
4760
  "license": {
4760
4761
  "name": "ISC"
4761
4762
  },
4762
4763
  "contact": {}
4763
4764
  },
4764
- "openapi": "3.0.0",
4765
4765
  "paths": {
4766
- "/schemas/{version.json}": {
4767
- "get": {
4768
- "operationId": "GetSchemaVersion",
4769
- "responses": {
4770
- "200": {
4771
- "description": "Ok",
4772
- "content": {
4773
- "application/json": {
4774
- "schema": {}
4775
- }
4776
- }
4777
- }
4778
- },
4779
- "security": [],
4780
- "parameters": [
4781
- {
4782
- "in": "path",
4783
- "name": "version",
4784
- "required": true,
4785
- "schema": {
4786
- "type": "string"
4787
- }
4788
- }
4789
- ]
4790
- }
4791
- },
4792
- "/": {
4793
- "get": {
4794
- "operationId": "GetComponents",
4795
- "responses": {
4796
- "204": {
4797
- "description": "No content"
4798
- }
4799
- },
4800
- "security": [],
4801
- "parameters": []
4802
- }
4803
- },
4804
4766
  "/s/{namespace}/{componentName}/{version}/{staticFile*}": {
4805
4767
  "get": {
4806
4768
  "operationId": "GetPreview",
@@ -4861,6 +4823,44 @@
4861
4823
  }
4862
4824
  ]
4863
4825
  }
4826
+ },
4827
+ "/schemas/{version.json}": {
4828
+ "get": {
4829
+ "operationId": "GetSchemaVersion",
4830
+ "responses": {
4831
+ "200": {
4832
+ "description": "Ok",
4833
+ "content": {
4834
+ "application/json": {
4835
+ "schema": {}
4836
+ }
4837
+ }
4838
+ }
4839
+ },
4840
+ "security": [],
4841
+ "parameters": [
4842
+ {
4843
+ "in": "path",
4844
+ "name": "version",
4845
+ "required": true,
4846
+ "schema": {
4847
+ "type": "string"
4848
+ }
4849
+ }
4850
+ ]
4851
+ }
4852
+ },
4853
+ "/": {
4854
+ "get": {
4855
+ "operationId": "GetComponents",
4856
+ "responses": {
4857
+ "204": {
4858
+ "description": "No content"
4859
+ }
4860
+ },
4861
+ "security": [],
4862
+ "parameters": []
4863
+ }
4864
4864
  }
4865
4865
  },
4866
4866
  "servers": [
@@ -7,7 +7,7 @@ import { Request as ExpressRequest, Response as ExpressResponse } from 'express'
7
7
  import { ComponentPreviewService } from '../../PreviewComponentService';
8
8
  import { ComponentExecutionInput, RenderInputService } from '../../RenderInputService';
9
9
  import { ContextAwareness } from '../../component-runner/ComponentRunnerService';
10
- type ComponentManifest = MANIFEST_MODELS.v1.ComponentManifest;
10
+ type ComponentManifestType = MANIFEST_MODELS.v1.ComponentManifest;
11
11
  type ComponentSchema = {
12
12
  name: string;
13
13
  schema: object;
@@ -25,14 +25,14 @@ export declare class DevelopmentController extends Controller {
25
25
  * @return {*} {Promise<ComponentManifest[]>}
26
26
  * @memberof EdgeDevelopmentController
27
27
  */
28
- getComponents(): Promise<ComponentManifest[]>;
28
+ getComponents(): Promise<ComponentManifestType[]>;
29
29
  /**
30
30
  * Returns the manifest for the given componentId
31
31
  * @param {string} componentId
32
32
  * @return {*} {Promise<ComponentManifest>}
33
33
  * @memberof EdgeDevelopmentController
34
34
  */
35
- Manifest(componentId: string): Promise<ComponentManifest>;
35
+ Manifest(componentId: string): Promise<ComponentManifestType>;
36
36
  /**
37
37
  * Returns the component schema for the given componentId
38
38
  * @param {string} componentId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/edge-dev-render-runtime-lib",
3
- "version": "2.5.3",
3
+ "version": "2.5.5",
4
4
  "description": "Package of Edge rendering utilities for components in dev mode",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "dependencies": {
16
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",
17
+ "@squiz/component-logger-lib": "^1.71.3",
18
+ "@squiz/component-web-api-lib": "^1.67.3",
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
22
  "@squiz/runtime-sandbox-common": "^1.65.2",
@@ -30,7 +30,7 @@
30
30
  "inversify": "6.0.2",
31
31
  "inversify-binding-decorators": "4.0.0",
32
32
  "swagger-ui-express": "4.6.0",
33
- "tsoa": "5.0.0",
33
+ "tsoa": "6.6.0",
34
34
  "winston": "3.8.2"
35
35
  },
36
36
  "devDependencies": {