@5minds/processcube_engine_sdk 5.1.0-develop-599f99-lyqy81ev → 5.1.0-develop-473a27-lywhazgl

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 CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as express from 'express';
2
- import { UserTaskInstance } from './DataModels';
3
2
  import { Identity } from './DataModels/Iam/index';
4
3
  import { EngineEventType, MiddlewareCallback } from './EngineEvents/index';
5
4
  import { IApplicationInfoExtensionAdapter, ICorrelationExtensionAdapter, ICronjobExtensionAdapter, IDataObjectInstanceExtensionAdapter, IEventExtensionAdapter, IExternalTaskExtensionAdapter, IFlowNodeInstanceExtensionAdapter, IIamExtensionAdapter, IManualTaskExtensionAdapter, INotificationExtensionAdapter, IProcessDefinitionExtensionAdapter, IProcessInstanceExtensionAdapter, IProcessModelExtensionAdapter, IUntypedTaskExtensionAdapter, IUserTaskExtensionAdapter } from './ExtensionAdapter';
@@ -111,8 +110,6 @@ export type HttpRedirectAction = {
111
110
  url: string;
112
111
  statusCode?: number;
113
112
  };
114
- export type UserTaskAssignmentResolver = (UserTaskInstance: UserTaskInstance) => Promise<Array<string>>;
115
- export declare const userTaskAssignmentResolverTag = "userTaskAssignmentResolverTag";
116
113
  export type CustomHttpRouteResult = {
117
114
  action: HttpResponseAction;
118
115
  append?: {
@@ -321,7 +318,6 @@ export type Engine = {
321
318
  */
322
319
  getSignalEvents(processModelIds?: string | Array<string>): Promise<Array<EventViewModel>>;
323
320
  registerCustomServiceTask<TPayload extends object>(serviceTaskType: string, serviceTaskHandler: CustomServiceTaskHandler<TPayload>): void;
324
- registerUserTaskAssignmentResolver(resolver: UserTaskAssignmentResolver): void;
325
321
  removeCustomServiceTask(serviceTaskType: string): void;
326
322
  /**
327
323
  * Registers a HTTP Route at the Engine Server. These routes will be hosted by the engine itself and can be used to extend the Engine's native API.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.userTaskAssignmentResolverTag = exports.HttpResponseActionType = void 0;
3
+ exports.HttpResponseActionType = void 0;
4
4
  var HttpResponseActionType;
5
5
  (function (HttpResponseActionType) {
6
6
  HttpResponseActionType["Send"] = "send";
@@ -12,5 +12,4 @@ var HttpResponseActionType;
12
12
  HttpResponseActionType["SendStatus"] = "sendStatus";
13
13
  HttpResponseActionType["Redirect"] = "redirect";
14
14
  })(HttpResponseActionType || (exports.HttpResponseActionType = HttpResponseActionType = {}));
15
- exports.userTaskAssignmentResolverTag = 'userTaskAssignmentResolverTag';
16
15
  //# sourceMappingURL=Engine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Engine.js","sourceRoot":"","sources":["../../src/Engine.ts"],"names":[],"mappings":";;;AAsFA,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,uCAAa,CAAA;IACb,yCAAe,CAAA;IACf,+CAAqB,CAAA;IACrB,+CAAqB,CAAA;IACrB,qCAAW,CAAA;IACX,mDAAyB,CAAA;IACzB,+CAAqB,CAAA;AACvB,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC;AAoCY,QAAA,6BAA6B,GAAG,+BAA+B,CAAC"}
1
+ {"version":3,"file":"Engine.js","sourceRoot":"","sources":["../../src/Engine.ts"],"names":[],"mappings":";;;AAqFA,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,uCAAa,CAAA;IACb,yCAAe,CAAA;IACf,+CAAqB,CAAA;IACrB,+CAAqB,CAAA;IACrB,qCAAW,CAAA;IACX,mDAAyB,CAAA;IACzB,+CAAqB,CAAA;AACvB,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/processcube_engine_sdk",
3
- "version": "5.1.0-develop-599f99-lyqy81ev",
3
+ "version": "5.1.0-develop-473a27-lywhazgl",
4
4
  "description": "Software development kit for the Engine.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "dist/index.d.ts",