@toa.io/bridges.node 0.24.0-alpha.21 → 0.24.0-alpha.23

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/bridges.node",
3
- "version": "0.24.0-alpha.21",
3
+ "version": "0.24.0-alpha.23",
4
4
  "description": "Toa Node Bridge (inproc)",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -26,14 +26,14 @@
26
26
  "test": "echo \"Error: run tests from root\" && exit 1"
27
27
  },
28
28
  "dependencies": {
29
- "@toa.io/core": "0.24.0-alpha.21",
30
- "@toa.io/filesystem": "0.24.0-alpha.21",
31
- "@toa.io/generic": "0.24.0-alpha.21",
29
+ "@toa.io/core": "0.24.0-alpha.23",
30
+ "@toa.io/filesystem": "0.24.0-alpha.23",
31
+ "@toa.io/generic": "0.24.0-alpha.23",
32
32
  "fast-glob": "3.2.7",
33
33
  "matchacho": "0.3.5"
34
34
  },
35
35
  "devDependencies": {
36
36
  "clone-deep": "4.0.1"
37
37
  },
38
- "gitHead": "b30bbcf178be9339914e2e5203c61c0da2c3daf2"
38
+ "gitHead": "df9de3cbb530e8f985a660bca0bf65bd027dbb01"
39
39
  }
@@ -1,21 +1,21 @@
1
- import { bridges } from '@toa.io/core/types'
1
+ import { bridges } from '@toa.io/core'
2
2
  import * as _context from './context'
3
- import * as _core from '@toa.io/core/types'
3
+ import * as _core from '@toa.io/core'
4
4
 
5
- declare namespace toa.node {
5
+ declare namespace toa.node{
6
6
 
7
- namespace algorithms {
7
+ namespace algorithms{
8
8
 
9
9
  type Constructor = () => bridges.Algorithm
10
10
 
11
- interface Factory {
11
+ interface Factory{
12
12
  create: Constructor
13
13
  }
14
14
 
15
15
  type func = (input?: any, scope?: object | object[], context?: _context.Context) => Promise<_core.Reply>
16
16
  }
17
17
 
18
- interface Algorithm {
18
+ interface Algorithm{
19
19
  mount? (context: _context.Context): Promise<void> | void
20
20
 
21
21
  execute (input: any, scope: object | object[]): Promise<any>
@@ -1,10 +1,10 @@
1
1
  import { Underlay } from '@toa.io/generic/types'
2
- import { Connector } from '@toa.io/core/types'
2
+ import { Connector } from '@toa.io/core'
3
3
  import { Aspect } from '@toa.io/core/types/extensions'
4
4
 
5
- declare namespace toa.node {
5
+ declare namespace toa.node{
6
6
 
7
- interface Context extends Connector {
7
+ interface Context extends Connector{
8
8
  local: Underlay
9
9
  remote: Underlay
10
10
  aspects: Record<string, Function>
package/types/define.d.ts CHANGED
@@ -1,12 +1,11 @@
1
1
  import { Operation } from '@toa.io/norm/types'
2
2
  import { Node, Statement } from '@babel/types'
3
- import * as _bridges from '@toa.io/core/types/bridges'
4
3
  import * as _context from './context'
5
4
  import * as _algorithm from './algorithms'
6
5
 
7
- declare namespace toa.node.define {
6
+ declare namespace toa.node.define{
8
7
 
9
- namespace algorithms {
8
+ namespace algorithms{
10
9
  type Definition = Partial<Operation>
11
10
 
12
11
  type List = Record<string, Definition>