@transai/connector-runner-samba-sink 0.5.2 → 0.5.3

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.
@@ -9,6 +9,6 @@ export interface ReceiverSDKInterface {
9
9
  readonly internalServerError: KafkaCallbackResponseType;
10
10
  };
11
11
  registerCallback<T extends XodJobType = XodJobType>(callbackFunction: (message: T) => Promise<KafkaCallbackResponse>, eventType?: string, identifier?: string): void;
12
- getActionConfig(message: XodJobType): ActionInterface | null;
12
+ getActionConfig(message: XodJobType): Promise<ActionInterface | null>;
13
13
  emitEventType<T extends XodJobType = XodJobType>(callbackFunction: (message: T) => Promise<KafkaCallbackResponse>): (message: T) => Promise<KafkaCallbackResponse>;
14
14
  }
@@ -25,7 +25,7 @@ export interface WorkflowRunInterface {
25
25
  workflow: WorkflowDefinition;
26
26
  drawing?: WorkflowDrawing;
27
27
  trigger: EventInterface;
28
- jobs: Array<ActionJob | ConditionalJob | ValidationJob | AgentJob>;
28
+ jobs: Array<ActionJob | ConditionalJob | ValidationJob>;
29
29
  createdAt: Date;
30
30
  updatedAt: Date;
31
31
  testRun?: boolean;
@@ -53,10 +53,6 @@ export interface ActionJob extends WorkflowJobInterface {
53
53
  type: NodeTypes.ACTION;
54
54
  with: MessageMapper;
55
55
  }
56
- export interface AgentJob extends WorkflowJobInterface {
57
- type: NodeTypes.AGENT;
58
- with: MessageMapper;
59
- }
60
56
  export interface ConditionalJob extends WorkflowJobInterface {
61
57
  type: NodeTypes.CONDITIONAL;
62
58
  with: ConditionMapper;
@@ -3,7 +3,6 @@ import { ConditionMapper, MessageMapper } from './workflow-definition.interface'
3
3
  export declare enum NodeTypes {
4
4
  TRIGGER = "TRIGGER",
5
5
  ACTION = "ACTION",
6
- AGENT = "AGENT",
7
6
  CONDITIONAL = "CONDITIONAL",
8
7
  VALIDATION = "VALIDATION",
9
8
  ANNOTATION = "ANNOTATION",
@@ -36,13 +35,6 @@ export interface ActionNode extends Node {
36
35
  };
37
36
  with: MessageMapper;
38
37
  }
39
- export interface AgentNode extends Node {
40
- type: NodeTypes.AGENT;
41
- agent: {
42
- identifier: string;
43
- };
44
- with: MessageMapper;
45
- }
46
38
  export interface TriggerNode extends Node {
47
39
  type: NodeTypes.TRIGGER;
48
40
  trigger: {
@@ -72,7 +64,7 @@ export interface PlaceholderNode extends Node {
72
64
  export interface InvisibleNode extends Node {
73
65
  type: NodeTypes.INVISIBLE;
74
66
  }
75
- export type WorkflowNode = ActionNode | AgentNode | ConditionalNode | AnnotationNode | PlaceholderNode | ValidationNode | EndNode | InvisibleNode;
67
+ export type WorkflowNode = ActionNode | ConditionalNode | AnnotationNode | PlaceholderNode | ValidationNode | EndNode | InvisibleNode;
76
68
  export interface Edge {
77
69
  id: string;
78
70
  source: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-samba-sink",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },