@toa.io/userland 0.24.0-alpha.9 → 1.0.0-alpha.2
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/example/components/math.calculations/manifest.toa.yaml +0 -2
- package/example/components/math.proxy/manifest.toa.yaml +0 -2
- package/package.json +9 -9
- package/samples/types/message.d.ts +3 -3
- package/samples/types/operation.d.ts +3 -3
- package/samples/types/suite.d.ts +3 -3
- package/stage/types/binding.d.ts +6 -6
- package/stage/types/index.d.ts +1 -1
- package/stage/types/state.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/userland",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "Toa development kit",
|
|
5
5
|
"homepage": "https://toa.io",
|
|
6
6
|
"author": {
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"main": "src/index.js",
|
|
25
25
|
"types": "types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@toa.io/boot": "0.
|
|
28
|
-
"@toa.io/core": "0.
|
|
29
|
-
"@toa.io/filesystem": "0.
|
|
30
|
-
"@toa.io/generic": "0.
|
|
31
|
-
"@toa.io/norm": "0.
|
|
32
|
-
"@toa.io/schemas": "0.
|
|
27
|
+
"@toa.io/boot": "1.0.0-alpha.2",
|
|
28
|
+
"@toa.io/core": "1.0.0-alpha.2",
|
|
29
|
+
"@toa.io/filesystem": "1.0.0-alpha.2",
|
|
30
|
+
"@toa.io/generic": "1.0.0-alpha.2",
|
|
31
|
+
"@toa.io/norm": "1.0.0-alpha.2",
|
|
32
|
+
"@toa.io/schemas": "1.0.0-alpha.2",
|
|
33
33
|
"@toa.io/storages.null": "0.22.0",
|
|
34
|
-
"@toa.io/yaml": "0.
|
|
34
|
+
"@toa.io/yaml": "1.0.0-alpha.2",
|
|
35
35
|
"tap": "16.3.4"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "7688e6e980a65c82ac2e459be4e355eebf406cd0"
|
|
38
38
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type * as _core from '@toa.io/core
|
|
1
|
+
import type * as _core from '@toa.io/core'
|
|
2
2
|
import type * as _operation from './operation'
|
|
3
3
|
|
|
4
|
-
declare namespace toa.samples
|
|
4
|
+
declare namespace toa.samples{
|
|
5
5
|
|
|
6
|
-
namespace messages
|
|
6
|
+
namespace messages{
|
|
7
7
|
|
|
8
8
|
type Set = Record<string, Message[]>
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as _core from '@toa.io/core
|
|
1
|
+
import * as _core from '@toa.io/core'
|
|
2
2
|
import * as _sampling from '@toa.io/extensions.sampling/types/request'
|
|
3
3
|
|
|
4
|
-
declare namespace toa.samples
|
|
4
|
+
declare namespace toa.samples{
|
|
5
5
|
|
|
6
|
-
namespace operations
|
|
6
|
+
namespace operations{
|
|
7
7
|
|
|
8
8
|
type Call = {
|
|
9
9
|
input?: any
|
package/samples/types/suite.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as _core from '@toa.io/core
|
|
1
|
+
import * as _core from '@toa.io/core'
|
|
2
2
|
import * as _operations from './operation'
|
|
3
3
|
import * as _messages from './message'
|
|
4
4
|
|
|
5
|
-
declare namespace toa.samples
|
|
5
|
+
declare namespace toa.samples{
|
|
6
6
|
|
|
7
|
-
namespace suite
|
|
7
|
+
namespace suite{
|
|
8
8
|
type Operations = Record<string, _operations.Set>
|
|
9
9
|
|
|
10
10
|
type Options = {
|
package/stage/types/binding.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as _core from '@toa.io/core
|
|
1
|
+
import * as _core from '@toa.io/core'
|
|
2
2
|
|
|
3
|
-
declare namespace toa.stage.binding
|
|
3
|
+
declare namespace toa.stage.binding{
|
|
4
4
|
|
|
5
5
|
type Callback = (message: Object) => Promise<void>
|
|
6
6
|
type Call = (request: Object) => Promise<Object>
|
|
7
7
|
|
|
8
|
-
interface Binding
|
|
9
|
-
subscribe(label: string, callback: Callback): Promise<void>
|
|
8
|
+
interface Binding{
|
|
9
|
+
subscribe (label: string, callback: Callback): Promise<void>
|
|
10
10
|
|
|
11
|
-
emit(label: string, message: Object): Promise<undefined>
|
|
11
|
+
emit (label: string, message: Object): Promise<undefined>
|
|
12
12
|
|
|
13
|
-
reply(label, call: Call): Promise<Object>
|
|
13
|
+
reply (label, call: Call): Promise<Object>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
}
|
package/stage/types/index.d.ts
CHANGED
package/stage/types/state.d.ts
CHANGED