@toa.io/norm 0.20.0 → 0.22.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/norm",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Toa declarations normalization and validation",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -20,11 +20,11 @@
20
20
  "test": "echo \"Error: run tests from root\" && exit 1"
21
21
  },
22
22
  "dependencies": {
23
- "@toa.io/core": "0.20.0",
24
- "@toa.io/generic": "0.20.0",
25
- "@toa.io/schema": "0.20.0",
26
- "@toa.io/schemas": "0.20.0",
27
- "@toa.io/yaml": "0.20.0"
23
+ "@toa.io/core": "0.22.0",
24
+ "@toa.io/generic": "0.22.0",
25
+ "@toa.io/schema": "0.22.0",
26
+ "@toa.io/schemas": "0.22.0",
27
+ "@toa.io/yaml": "0.22.0"
28
28
  },
29
- "gitHead": "28fc4b45c224c3683acaaf0e4abd1eb04e07b408"
29
+ "gitHead": "c463348c8eb54a43f7755ec8aeba9acafb56d53b"
30
30
  }
@@ -13,7 +13,8 @@ const SHORTCUTS = {
13
13
  origins: '@toa.io/extensions.origins',
14
14
  configuration: '@toa.io/extensions.configuration',
15
15
  state: '@toa.io/extensions.state',
16
- stash: '@toa.io/extensions.stash'
16
+ stash: '@toa.io/extensions.stash',
17
+ storages: '@toa.io/extensions.storages'
17
18
  }
18
19
 
19
20
  exports.extensions = extensions
package/src/shortcuts.js CHANGED
@@ -49,7 +49,8 @@ const SHORTCUTS = {
49
49
  realtime: '@toa.io/extensions.realtime',
50
50
  configuration: '@toa.io/extensions.configuration',
51
51
  origins: '@toa.io/extensions.origins',
52
- stash: '@toa.io/extensions.stash'
52
+ stash: '@toa.io/extensions.stash',
53
+ storages: '@toa.io/extensions.storages'
53
54
  }
54
55
 
55
56
  exports.recognize = recognize
@@ -1,14 +1,14 @@
1
- import * as _component from './component'
1
+ import { Manifest } from './component'
2
2
  import { Locator } from '@toa.io/core/types'
3
3
  import type { Declaration } from './context/declaration'
4
4
 
5
- interface Runtime {
5
+ interface Runtime{
6
6
  version: string
7
7
  registry?: string
8
8
  proxy?: string
9
9
  }
10
10
 
11
- interface Registry {
11
+ interface Registry{
12
12
  base?: string
13
13
  platforms?: string[] | null
14
14
  build?: {
@@ -18,18 +18,18 @@ interface Registry {
18
18
  credentials: string
19
19
  }
20
20
 
21
- interface Composition {
21
+ interface Composition{
22
22
  name: string,
23
23
  components: _component.Component[]
24
24
  }
25
25
 
26
- export interface Dependency<T = undefined> {
26
+ export interface Dependency<T = undefined>{
27
27
  locator: Locator
28
28
  manifest: T,
29
- component: _component.Component
29
+ component: Manifest
30
30
  }
31
31
 
32
- interface Context extends Declaration {
32
+ interface Context extends Declaration{
33
33
  runtime?: Runtime
34
34
  environment?: string
35
35
  registry?: Registry