Use callbacks to respond to Widget events
listener
option can be passed in order to respond to various widget events.
()
()
(entityId, flow)
Name | Type | Description |
---|---|---|
entityId | string | ID of the entity (source/target/connector) being reconnected |
flow | string | ID of the flow |
(id, flowId)
Name | Type | Description |
---|---|---|
id | string | ID of source/target being linked |
flowId | string | ID of flow being linked |
(source, flowId, tenantId)
Name | Type | Description |
---|---|---|
source | object | The source that has been linked. Follows same response structure as linked sources API |
flowId | string | ID of flow that has been linked |
tenantId | string | ID of the tenant |
(target, flowId)
Name | Type | Description |
---|---|---|
target | object | The target that has been linked. Follows same response structure as linked targets API |
flowId | string | ID of flow that has been linked |
(connector, flowId, tenantId)
Name | Type | Description |
---|---|---|
connector | object | The connector that has been linked |
flowId | string | ID of flow that has been linked |
tenantId | string | ID of the tenant |
(tapId, flowId)
Name | Type | Description |
---|---|---|
tapId | string | ID of source |
flowId | string | ID of flow |
(connectorId, flowId)
Name | Type | Description |
---|---|---|
connectorId | string | ID of connector |
flowId | string | ID of flow |
(source, flowId)
Name | Type | Description |
---|---|---|
source | string | The source that has been unlinked |
flowId | string | ID of flow that has been unlinked |
(connector, flowId)
Name | Type | Description |
---|---|---|
connector | string | The connector that has been unlinked |
flowId | string | ID of flow that has been unlinked |
(target, flowId)
Name | Type | Description |
---|---|---|
target | string | The target that has been unlinked |
flowId | string | ID of flow that has been unlinked |
(targetId, flowId)
Name | Type | Description |
---|---|---|
targetId | string | ID of target |
flowId | string | ID of flow |
(source, flowId, tenant, errorMessage)
Name | Type | Description |
---|---|---|
source | string | object | The source that failed to link |
flowId | string | ID of flow |
tenant | string | ID of the tenant |
errorMessage | string | Error message describing the failure |
(connector, flowId, tenant, errorMessage)
Name | Type | Description |
---|---|---|
connector | string | object | The connector that failed to link |
flowId | string | ID of flow |
tenant | string | ID of the tenant |
errorMessage | string | Error message describing the failure |
(target, flowId, tenant, errorMessage)
Name | Type | Description |
---|---|---|
target | string | object | The target that failed to link |
flowId | string | ID of flow |
tenant | string | ID of the tenant |
errorMessage | string | Error message describing the failure |
(tap_id, flow_id, user_id)
Name | Type | Description |
---|---|---|
tap_id | string | ID of source the job is running for |
flow_id | string | ID of flow source is linked under |
user_id | string | ID of the tenant who started job |
(entityId, flowId, tenantId)
Name | Type | Description |
---|---|---|
entityId | string | ID of the entity |
flowId | string | ID of the flow |
tenantId | string | ID of the tenant |
(entityId, flowId, tenantId)
Name | Type | Description |
---|---|---|
entityId | string | ID of the entity |
flowId | string | ID of the flow |
tenantId | string | ID of the tenant |