@5minds/processcube_engine_sdk
Advanced tools
Comparing version 6.1.0-feature-cbf9b6-m3yklquj to 6.1.0-feature-cdab15-m4iir51o
@@ -50,3 +50,2 @@ "use strict"; | ||
__exportStar(require("./EventPayloads/index"), exports); | ||
__exportStar(require("./Subscription"), exports); | ||
var Messages; | ||
@@ -53,0 +52,0 @@ (function (Messages) { |
@@ -25,3 +25,7 @@ "use strict"; | ||
__exportStar(require("./Engine"), exports); | ||
__exportStar(require("./EngineEventBus"), exports); | ||
__exportStar(require("./EngineConfiguration"), exports); | ||
__exportStar(require("./EngineEventBusSettings"), exports); | ||
__exportStar(require("./EngineRestApiSettings"), exports); | ||
__exportStar(require("./EngineSocketIoSettings"), exports); | ||
__exportStar(require("./Logger"), exports); | ||
@@ -28,0 +32,0 @@ __exportStar(require("./Serializer"), exports); |
import * as express from 'express'; | ||
import { UserTaskInstance } from './DataModels'; | ||
import { Identity } from './DataModels/Iam/index'; | ||
import { ExternalEventBus } from './EngineEventBus'; | ||
import { EngineEventType, MiddlewareCallback } from './EngineEvents/index'; | ||
@@ -204,3 +205,2 @@ import { IApplicationInfoExtensionAdapter, ICorrelationExtensionAdapter, ICronjobExtensionAdapter, IDataObjectInstanceExtensionAdapter, IEventExtensionAdapter, IExternalTaskExtensionAdapter, IFlowNodeInstanceExtensionAdapter, IIamExtensionAdapter, IManualTaskExtensionAdapter, INotificationExtensionAdapter, IProcessDefinitionExtensionAdapter, IProcessInstanceExtensionAdapter, IProcessModelExtensionAdapter, IUntypedTaskExtensionAdapter, IUserTaskExtensionAdapter } from './ExtensionAdapter'; | ||
/** | ||
* Registers a callback to execute after the Engine has finished starting up. | ||
* | ||
@@ -211,2 +211,10 @@ * @param callback The callback to call after the Engine has finished starting up. | ||
/** | ||
* Registers a custom Event Bus, which will replace the Engine's own internal Event Bus. | ||
* | ||
* **NOTE:** Can only be used BEFORE the {@link Engine.onReady} Event was fired! | ||
* | ||
* @param eventBus A custom {@link ExternalEventBus}. | ||
*/ | ||
registerCustomEventBus(eventBus: ExternalEventBus): void; | ||
/** | ||
* Registers the given callback as an Event Middleware. | ||
@@ -213,0 +221,0 @@ * This middleware gets called whenever a Log Event occurs at the Engine. |
@@ -6,2 +6,3 @@ import { Identity } from '../../DataModels/Iam/index'; | ||
export type TerminateProcessInstanceMessage = { | ||
processInstanceId: string; | ||
/** | ||
@@ -8,0 +9,0 @@ * If the Process Instance is terminated by a user, this will contain the users identity. |
@@ -12,3 +12,2 @@ /** | ||
export * from './EventPayloads/index'; | ||
export * from './Subscription'; | ||
export declare namespace Messages { | ||
@@ -15,0 +14,0 @@ export import EventMessage = eventPayloads.EventMessage; |
@@ -22,2 +22,8 @@ import { DataModels, Identity, Messages, Subscription } from '../index'; | ||
}): Promise<void>; | ||
/** | ||
* @requires Engine v19 | ||
*/ | ||
triggerTimerEvent(flowNodeInstanceId: string, options?: { | ||
identity?: Identity; | ||
}): Promise<void>; | ||
onBoundaryEventTriggered(callback: Messages.CallbackTypes.OnBoundaryEventTriggeredCallback, options?: { | ||
@@ -24,0 +30,0 @@ subscribeOnce?: boolean; |
@@ -80,2 +80,6 @@ import { Identity, Messages, Subscription } from '../index'; | ||
}): Promise<Subscription>; | ||
onActivityError(callback: Messages.CallbackTypes.OnActivityErrorCallback, options?: { | ||
subscribeOnce?: boolean; | ||
identity?: Identity; | ||
}): Promise<Subscription>; | ||
onUntypedTaskWaiting(callback: Messages.CallbackTypes.OnUntypedTaskWaitingCallback, options?: { | ||
@@ -141,6 +145,2 @@ subscribeOnce?: boolean; | ||
}): Promise<Subscription>; | ||
onFlowNodeEventRetrySending(callback: Messages.CallbackTypes.OnFlowNodeEventRetrySendingCallback, options?: { | ||
subscribeOnce?: boolean; | ||
identity?: Identity; | ||
}): Promise<Subscription>; | ||
onMessageTriggered(callback: Messages.CallbackTypes.OnMessageTriggeredCallback, options?: { | ||
@@ -147,0 +147,0 @@ subscribeOnce?: boolean; |
@@ -8,3 +8,7 @@ import { EngineEventType } from './EngineEvents/index'; | ||
export * from './Engine'; | ||
export * from './EngineEventBus'; | ||
export * from './EngineConfiguration'; | ||
export * from './EngineEventBusSettings'; | ||
export * from './EngineRestApiSettings'; | ||
export * from './EngineSocketIoSettings'; | ||
export * from './Logger'; | ||
@@ -11,0 +15,0 @@ export * from './Serializer'; |
{ | ||
"name": "@5minds/processcube_engine_sdk", | ||
"version": "6.1.0-feature-cbf9b6-m3yklquj", | ||
"version": "6.1.0-feature-cdab15-m4iir51o", | ||
"description": "Software development kit for the Engine.", | ||
@@ -41,3 +41,3 @@ "main": "dist/commonjs/index.js", | ||
"devDependencies": { | ||
"@trivago/prettier-plugin-sort-imports": "^4.2.0", | ||
"@trivago/prettier-plugin-sort-imports": "^5.0.0", | ||
"@types/express": "^5.0.0", | ||
@@ -44,0 +44,0 @@ "@types/mocha": "^10.0.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
842880
609
15987