@toa.io/extensions.exposition 0.8.2 → 0.8.3-canary.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/extensions.exposition",
3
- "version": "0.8.2",
3
+ "version": "0.8.3-canary.0",
4
4
  "description": "Toa Resources Exposition",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -22,15 +22,15 @@
22
22
  "@types/express": "4.17.13"
23
23
  },
24
24
  "dependencies": {
25
- "@toa.io/bindings.amqp": "0.7.5",
25
+ "@toa.io/bindings.amqp": "0.7.6-canary.0",
26
26
  "@toa.io/console": "0.6.0",
27
- "@toa.io/core": "1.0.1",
28
- "@toa.io/generic": "0.10.0",
29
- "@toa.io/schema": "0.7.5",
30
- "@toa.io/yaml": "0.7.5",
27
+ "@toa.io/core": "1.1.0-canary.0",
28
+ "@toa.io/generic": "0.11.0-canary.0",
29
+ "@toa.io/schema": "0.7.6-canary.0",
30
+ "@toa.io/yaml": "0.7.6-canary.0",
31
31
  "cors": "2.8.5",
32
32
  "express": "4.18.1",
33
33
  "path-to-regexp": "6.2.0"
34
34
  },
35
- "gitHead": "25fdf15b413338d49b16ddefe17807e4e746f37e"
35
+ "gitHead": "0adb45e6d6d309b21b976d257ac0a4fc48d866b3"
36
36
  }
@@ -3,6 +3,7 @@ $id: https://schemas.toa.io/0.0.0/rtd
3
3
 
4
4
  definitions:
5
5
  resource:
6
+ type: 'object'
6
7
  patternProperties:
7
8
  ^(\/([^\/#\?]+)?)+\/?$:
8
9
  $ref: "#/definitions/resource"
@@ -41,10 +42,10 @@ definitions:
41
42
  operation:
42
43
  $ref: definitions#/definitions/token
43
44
  type:
44
- enum: [transition, observation, assignment, computation, effect]
45
+ enum: [ transition, observation, assignment, computation, effect ]
45
46
  scope:
46
47
  type: string
47
- enum: [object, objects, changeset, none]
48
+ enum: [ object, objects, changeset, none ]
48
49
  query:
49
50
  type: boolean
50
51
  additionalProperties: false
@@ -62,8 +63,9 @@ definitions:
62
63
  items:
63
64
  $ref: "#/definitions/range/properties/value"
64
65
  additionalProperties: false
65
- required: [range]
66
+ required: [ range ]
66
67
 
67
68
  $ref: "#/definitions/resource"
68
69
  not:
69
- required: [operations] # root doesn't have path
70
+ type: object
71
+ required: [ operations ] # root doesn't have path