File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/minions/runtime/runtime-core/src/interfaces Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { Jointer } from "../classes" ;
2
2
3
3
//数据推送接口
4
- export type InputHandler = ( inputValue ?: unknown , runContext ?: object ) => void ;
4
+ export type InputHandler = ( inputValue ?: unknown , runContext ?: IJointer [ "runContext" ] ) => void ;
5
5
6
6
export interface IJointer {
7
7
//当key使用,不参与业务逻辑
@@ -10,8 +10,8 @@ export interface IJointer {
10
10
//接收上一级Jointer推送来的数据
11
11
push : InputHandler ;
12
12
//添加下游Jointer
13
- connect : ( jointerInput : InputHandler , parent ?: IJointer ) => void ;
14
- runContext ?: Record < string , unknown > & { __runback ?: ( error ?: unknown , value ?: unknown ) => void }
13
+ connect : ( jointerInput : InputHandler , parent ?: Jointer ) => void ;
14
+ runContext ?: Record < string , unknown > & { __runback ?: ( error ?: unknown , value ?: unknown ) => void }
15
15
}
16
16
17
17
export interface IActivityJointers {
You can’t perform that action at this time.
0 commit comments