@toa.io/core 1.0.0-alpha.67 → 1.0.0-alpha.73
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 +3 -3
- package/types/extensions.d.ts +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.73",
|
|
4
4
|
"description": "Toa Core",
|
|
5
5
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/toa-io/toa#readme",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@toa.io/generic": "1.0.0-alpha.63",
|
|
25
25
|
"@toa.io/yaml": "1.0.0-alpha.63",
|
|
26
26
|
"error-value": "0.3.0",
|
|
27
|
-
"openspan": "1.0.0-alpha.
|
|
27
|
+
"openspan": "1.0.0-alpha.73"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "3c7d415c68324aae8f1524b2ae06b02eb5832c54"
|
|
30
30
|
}
|
package/types/extensions.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import * as _component from './component'
|
|
|
3
3
|
import * as _context from './context'
|
|
4
4
|
import * as _storages from './storages'
|
|
5
5
|
import * as _bindings from './bindings'
|
|
6
|
+
import { Manifest } from '@toa.io/norm'
|
|
6
7
|
|
|
7
|
-
export interface Factory{
|
|
8
|
-
tenant? (locator: _core.Locator, manifest: object): _core.Connector
|
|
8
|
+
export interface Factory {
|
|
9
|
+
tenant? (locator: _core.Locator, manifest: object, component: Manifest): _core.Connector
|
|
9
10
|
|
|
10
11
|
aspect? (locator: _core.Locator, manifest: object | null): Aspect | Aspect[]
|
|
11
12
|
|
|
@@ -22,7 +23,7 @@ export interface Factory{
|
|
|
22
23
|
receiver? (receiver: _core.Receiver, locator: _core.Locator): _core.Receiver
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export interface Aspect extends _core.Connector{
|
|
26
|
+
export interface Aspect extends _core.Connector {
|
|
26
27
|
name: string
|
|
27
28
|
|
|
28
29
|
invoke (...args: any[]): any
|