Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@5minds/processcube_engine_sdk

Package Overview
Dependencies
Maintainers
0
Versions
935
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/processcube_engine_sdk - npm Package Compare versions

Comparing version 6.1.0-feature-0f33b5-m49vqcy6 to 6.1.0-feature-1b69da-m49vzx7t

dist/commonjs/EngineEvents/EventPayloads/ProcessIsSingletonChangedMessage.js

1

dist/commonjs/EngineEvents/EventPayloads/index.js

@@ -33,2 +33,3 @@ "use strict";

__exportStar(require("./TokenChangeMessage"), exports);
__exportStar(require("./ProcessIsSingletonChangedMessage"), exports);
//# sourceMappingURL=index.js.map

@@ -27,2 +27,6 @@ "use strict";

/**
* If true, this process can only be run once at a time.
*/
isSingleton;
/**
* The lanes contained in this process.

@@ -29,0 +33,0 @@ */

@@ -20,2 +20,5 @@ "use strict";

}
getIsSingleton() {
return this.processModel.isSingleton;
}
getFlowNodesByType(flowNodeType, includeEmbeddedSubProcess = false) {

@@ -22,0 +25,0 @@ return this.processModel.getFlowNodesByType(flowNodeType, includeEmbeddedSubProcess);

@@ -23,2 +23,3 @@ "use strict";

process.isExecutable = rawProcess.isExecutable === 'true';
process.isSingleton = rawProcess.isSingleton === 'true';
const bpmnErrors = parseProcessModelErrors(rawProcessDefinition);

@@ -25,0 +26,0 @@ const eventDefinitions = parseEventDefinitionsFromObjectModel(rawProcessDefinition);

15

dist/commonjs/ProcessModel/ViewModel/Activities/ActivityViewModel.js

@@ -6,19 +6,4 @@ "use strict";

class ActivityViewModel extends FlowNodeViewModel_1.FlowNodeViewModel {
/**
* @swagger
* components:
* schemas:
* ActivityViewModel:
* description: An Activity.
* allOf:
* - $ref: '#/components/schemas/FlowNodeViewModel'
*
*/
messageChannel;
constructor(activity, processModel) {
super(activity, processModel);
this.messageChannel = activity.messageChannel;
}
}
exports.ActivityViewModel = ActivityViewModel;
//# sourceMappingURL=ActivityViewModel.js.map

@@ -8,2 +8,3 @@ "use strict";

messageId;
messageChannel;
constructor(receiveTask, processModel) {

@@ -10,0 +11,0 @@ super(receiveTask, processModel);

@@ -8,2 +8,3 @@ "use strict";

messageId;
messageChannel;
constructor(sendTask, processModel) {

@@ -10,0 +11,0 @@ super(sendTask, processModel);

@@ -13,2 +13,4 @@ "use strict";

condition;
messageChannel;
signalChannel;
constructor(boundaryEvent, processModel) {

@@ -15,0 +17,0 @@ super(boundaryEvent, processModel);

@@ -35,2 +35,4 @@ "use strict";

errorMessage;
messageChannel;
signalChannel;
constructor(endEvent, processModel) {

@@ -37,0 +39,0 @@ super(endEvent, processModel);

@@ -18,6 +18,4 @@ "use strict";

messageId;
messageChannel;
signalName;
signalId;
signalChannel;
constructor(event, processModel) {

@@ -27,6 +25,4 @@ super(event, processModel);

this.messageId = event.messageEventDefinition?.id;
this.messageChannel = event.messageChannel;
this.signalName = event.signalEventDefinition?.name;
this.signalId = event.signalEventDefinition?.id;
this.signalChannel = event.signalChannel;
}

@@ -33,0 +29,0 @@ }

@@ -11,2 +11,4 @@ "use strict";

condition;
messageChannel;
signalChannel;
constructor(intermediateCatchEvent, processModel) {

@@ -13,0 +15,0 @@ super(intermediateCatchEvent, processModel);

@@ -7,2 +7,4 @@ "use strict";

linkName;
messageChannel;
signalChannel;
constructor(intermediateThrowEvent, processModel) {

@@ -9,0 +11,0 @@ super(intermediateThrowEvent, processModel);

@@ -32,2 +32,4 @@ "use strict";

timerValue;
messageChannel;
signalChannel;
constructor(startEvent, processModel) {

@@ -34,0 +36,0 @@ super(startEvent, processModel);

@@ -99,2 +99,3 @@ import { EndEventViewModel, FlowNodeViewModel, Model, StartEventViewModel } from '../ProcessModel/index';

isExecutable: boolean;
isSingleton: boolean;
laneSet?: Model.ProcessElements.LaneSet;

@@ -101,0 +102,0 @@ startEvents: Array<StartEventViewModel>;

@@ -1,2 +0,2 @@

import { CronjobEnabledChangedMessage, CronjobEventMessage, EventMessage, ExternalTaskCreatedMessage, ExternalTaskExpiredMessage, ExternalTaskLockedMessage, ExternalTaskUnlockedMessage, MetadataChangedMessage, ProcessDeploymentMessage, ProcessInstancesDeletedMessage, ProcessIsExecutableChangedMessage, UserTaskFinishedMessage } from './EventPayloads/index';
import { CronjobEnabledChangedMessage, CronjobEventMessage, EventMessage, ExternalTaskCreatedMessage, ExternalTaskExpiredMessage, ExternalTaskLockedMessage, ExternalTaskUnlockedMessage, MetadataChangedMessage, ProcessDeploymentMessage, ProcessInstancesDeletedMessage, ProcessIsExecutableChangedMessage, ProcessIsSingletonChangedMessage, UserTaskFinishedMessage } from './EventPayloads/index';
export type OnActivityErrorCallback = (activityError: EventMessage) => void | Promise<void>;

@@ -6,2 +6,3 @@ export type OnProcessDeployedCallback = (message: ProcessDeploymentMessage) => void | Promise<void>;

export type OnProcessIsExecutableChangedCallback = (message: ProcessIsExecutableChangedMessage) => void | Promise<void>;
export type OnProcessIsSingletonChangedCallback = (message: ProcessIsSingletonChangedMessage) => void | Promise<void>;
export type OnCronjobEnabledChangedCallback = (message: CronjobEnabledChangedMessage) => void | Promise<void>;

@@ -8,0 +9,0 @@ export type OnProcessUndeployedCallback = (message: ProcessDeploymentMessage) => void | Promise<void>;

@@ -17,1 +17,2 @@ export * from './BaseMessage';

export * from './TokenChangeMessage';
export * from './ProcessIsSingletonChangedMessage';

@@ -20,2 +20,6 @@ import { Identity, Messages, Subscription } from '../index';

}): Promise<Subscription>;
onProcessIsSingletonChanged(callback: Messages.CallbackTypes.OnProcessIsSingletonChangedCallback, options?: {
subscribeOnce?: boolean;
identity?: Identity;
}): Promise<Subscription>;
onProcessStarting(callback: Messages.CallbackTypes.OnProcessStartingCallback, options?: {

@@ -22,0 +26,0 @@ subscribeOnce?: boolean;

@@ -28,2 +28,6 @@ import { SubProcess } from './Activities';

/**
* If true, this process can only be run once at a time.
*/
isSingleton: boolean;
/**
* The lanes contained in this process.

@@ -30,0 +34,0 @@ */

@@ -7,2 +7,3 @@ import { BpmnType, Model } from '../Model/index';

getIsExecutable(): boolean;
getIsSingleton(): boolean;
getFlowNodesByType<TFlowNode extends Model.Base.FlowNode>(flowNodeType: BpmnType, includeEmbeddedSubProcess?: boolean): Array<TFlowNode>;

@@ -9,0 +10,0 @@ getStartEvents(includeEmbeddedSubProcess?: boolean): Array<Model.Events.StartEvent>;

@@ -1,17 +0,3 @@

import { Activity } from '../../Model/Activities';
import { ProcessModelLike } from '../BaseElementViewModel';
import { FlowNodeViewModel } from '../FlowNodeViewModel';
export declare abstract class ActivityViewModel extends FlowNodeViewModel {
/**
* @swagger
* components:
* schemas:
* ActivityViewModel:
* description: An Activity.
* allOf:
* - $ref: '#/components/schemas/FlowNodeViewModel'
*
*/
messageChannel?: string;
constructor(activity: Activity, processModel: ProcessModelLike);
}

@@ -7,3 +7,4 @@ import { ReceiveTask } from '../../Model/Activities/index';

messageId?: string;
messageChannel?: string;
constructor(receiveTask: ReceiveTask, processModel: ProcessModelLike);
}

@@ -7,3 +7,4 @@ import { SendTask } from '../../Model/Activities/index';

messageId?: string;
messageChannel?: string;
constructor(sendTask: SendTask, processModel: ProcessModelLike);
}

@@ -11,3 +11,5 @@ import { BoundaryEvent } from '../../Model/Events/index';

condition?: string;
messageChannel?: string;
signalChannel?: string;
constructor(boundaryEvent: BoundaryEvent, processModel: ProcessModelLike);
}

@@ -34,3 +34,5 @@ import { EndEvent } from '../../Model/Events/index';

errorMessage?: string;
messageChannel?: string;
signalChannel?: string;
constructor(endEvent: EndEvent, processModel: ProcessModelLike);
}

@@ -17,7 +17,5 @@ import { Event } from '../../Model/Events/index';

messageId?: string;
messageChannel?: string;
signalName?: string;
signalId?: string;
signalChannel?: string;
constructor(event: Event, processModel: ProcessModelLike);
}

@@ -9,3 +9,5 @@ import { IntermediateCatchEvent } from '../../Model/Events/index';

condition?: string;
messageChannel?: string;
signalChannel?: string;
constructor(intermediateCatchEvent: IntermediateCatchEvent, processModel: ProcessModelLike);
}

@@ -6,3 +6,5 @@ import { IntermediateThrowEvent } from '../../Model/Events/index';

linkName?: string;
messageChannel?: string;
signalChannel?: string;
constructor(intermediateThrowEvent: IntermediateThrowEvent, processModel: ProcessModelLike);
}

@@ -30,3 +30,5 @@ import { StartEvent } from '../../Model/Events/index';

timerValue?: string;
messageChannel?: string;
signalChannel?: string;
constructor(startEvent: StartEvent, processModel: ProcessModelLike);
}
{
"name": "@5minds/processcube_engine_sdk",
"version": "6.1.0-feature-0f33b5-m49vqcy6",
"version": "6.1.0-feature-1b69da-m49vzx7t",
"description": "Software development kit for the Engine.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

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

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc