@5minds/processcube_engine_sdk 7.0.0-beta.3 → 7.0.0-beta.4
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/dist/Engine.d.ts +12 -5
- package/dist/EngineConfiguration.d.ts +5 -0
- package/package.json +1 -1
package/dist/Engine.d.ts
CHANGED
|
@@ -277,9 +277,11 @@ export type Engine = {
|
|
|
277
277
|
* @param identity Optional: The requesting users identity.
|
|
278
278
|
* @param correlationId Optional: The ID of a correlation to which the message should belong.
|
|
279
279
|
* @param messageChannel Optional: The message channel to which the message is being sent.
|
|
280
|
+
* @param eventId Optional: The ID by which to identity the unique signal. Will be auto-generated, if not provided.
|
|
281
|
+
*
|
|
280
282
|
* @returns A guid to identify the corresponding acknowledgement event.
|
|
281
283
|
*/
|
|
282
|
-
triggerMessageEvent: <TPayload extends object>(messageName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string, messageChannel?: string) => Promise<string>;
|
|
284
|
+
triggerMessageEvent: <TPayload extends object>(messageName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string, messageChannel?: string, eventId?: string) => Promise<string>;
|
|
283
285
|
/**
|
|
284
286
|
* Triggers a message start event.
|
|
285
287
|
*
|
|
@@ -289,9 +291,11 @@ export type Engine = {
|
|
|
289
291
|
* @param identity Optional: The requesting users identity.
|
|
290
292
|
* @param correlationId Optional: The ID of a correlation to which the message should belong.
|
|
291
293
|
* @param messageChannel Optional: The message channel to which the message is being sent.
|
|
294
|
+
* @param eventId Optional: The ID by which to identity the unique signal. Will be auto-generated, if not provided.
|
|
295
|
+
*
|
|
292
296
|
* @returns A guid to identify the corresponding acknowledgement event.
|
|
293
297
|
*/
|
|
294
|
-
triggerMessageStartEvent: <TPayload extends object>(messageName: string, payload?: TPayload, identity?: Identity, correlationId?: string, messageChannel?: string) => Promise<string>;
|
|
298
|
+
triggerMessageStartEvent: <TPayload extends object>(messageName: string, payload?: TPayload, identity?: Identity, correlationId?: string, messageChannel?: string, eventId?: string) => Promise<string>;
|
|
295
299
|
/**
|
|
296
300
|
* Triggers a signal event.
|
|
297
301
|
*
|
|
@@ -302,9 +306,11 @@ export type Engine = {
|
|
|
302
306
|
* @param identity Optional: The requesting users identity.
|
|
303
307
|
* @param correlationId Optional: The ID of a correlation to which the signal should belong.
|
|
304
308
|
* @param signalChannel Optional: The signal channel to which the signal is being sent.
|
|
309
|
+
* @param eventId Optional: The ID by which to identity the unique signal. Will be auto-generated, if not provided.
|
|
310
|
+
*
|
|
305
311
|
* @returns A guid to identify the corresponding acknowledgement event.
|
|
306
312
|
*/
|
|
307
|
-
triggerSignalEvent: <TPayload extends object>(signalName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string, signalChannel?: string) => Promise<string>;
|
|
313
|
+
triggerSignalEvent: <TPayload extends object>(signalName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string, signalChannel?: string, eventId?: string) => Promise<string>;
|
|
308
314
|
/**
|
|
309
315
|
* Triggers a signal start event.
|
|
310
316
|
*
|
|
@@ -314,10 +320,11 @@ export type Engine = {
|
|
|
314
320
|
* @param identity Optional: The requesting users identity.
|
|
315
321
|
* @param correlationId Optional: The ID of a correlation to which the signal should belong.
|
|
316
322
|
* @param signalChannel Optional: The signal channel to which the signal is being sent.
|
|
317
|
-
|
|
323
|
+
* @param eventId Optional: The ID by which to identity the unique signal. Will be auto-generated, if not provided.
|
|
324
|
+
*
|
|
318
325
|
* @returns A guid to identify the corresponding acknowledgement event.
|
|
319
326
|
*/
|
|
320
|
-
triggerSignalStartEvent: <TPayload extends object>(signalName: string, payload?: TPayload, identity?: Identity, correlationId?: string, signalChannel?: string) => Promise<string>;
|
|
327
|
+
triggerSignalStartEvent: <TPayload extends object>(signalName: string, payload?: TPayload, identity?: Identity, correlationId?: string, signalChannel?: string, eventId?: string) => Promise<string>;
|
|
321
328
|
/**
|
|
322
329
|
* Returns a distinct list of all message events currently deployed to the engine.
|
|
323
330
|
*
|
|
@@ -9,6 +9,7 @@ export declare interface IConfigurator {
|
|
|
9
9
|
}
|
|
10
10
|
export declare type EngineConfiguration = {
|
|
11
11
|
application?: ApplicationConfig;
|
|
12
|
+
extensions?: ExtensionsConfig;
|
|
12
13
|
httpServer?: HttpServerConfig;
|
|
13
14
|
httpClient?: HttpClientConfig;
|
|
14
15
|
iam: IAMConfiguration;
|
|
@@ -24,6 +25,10 @@ export declare type ApplicationConfig = {
|
|
|
24
25
|
touchFileOnReady?: string;
|
|
25
26
|
defaultResponseLimit?: number;
|
|
26
27
|
};
|
|
28
|
+
export declare type ExtensionsConfig = {
|
|
29
|
+
include?: string[];
|
|
30
|
+
exclude?: string[];
|
|
31
|
+
};
|
|
27
32
|
export declare type RuntimeExpressionConfig = {
|
|
28
33
|
timeoutInMiliseconds?: number;
|
|
29
34
|
workerPoolSize?: number;
|