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

@atlas-engine/admin_domain.repository.embedded

Package Overview
Dependencies
Maintainers
7
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlas-engine/admin_domain.repository.embedded - npm Package Compare versions

Comparing version 0.2.3-alpha.1 to 0.2.3-feature-908085-k7ynfou6

9

dist/amd/process_instance_repository.js

@@ -17,6 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

let ProcessInstanceRepository = class ProcessInstanceRepository {
constructor(executeProcessService, processInstanceManagementService, processInstanceRuntimeService) {
constructor(executeProcessService, processInstanceManagementService, processInstanceRuntimeService, resumeProcessService) {
this.executeProcessService = executeProcessService;
this.processInstanceManagementService = processInstanceManagementService;
this.processInstanceRuntimeService = processInstanceRuntimeService;
this.resumeProcessService = resumeProcessService;
}

@@ -44,2 +45,5 @@ async query(identity, query, offset, limit) {

}
async retryProcessInstance(identity, processInstanceId) {
return this.resumeProcessService.retryProcessInstance(identity, processInstanceId);
}
mapProcessInstance(data) {

@@ -62,3 +66,4 @@ return new admin_domain_contracts_1.DataModels.ProcessInstances.ProcessInstance(data);

__param(2, inversify_1.inject('RuntimeDomain.ProcessInstanceService')),
__metadata("design:paramtypes", [Object, Object, Object])
__param(3, inversify_1.inject('ResumeProcessService')),
__metadata("design:paramtypes", [Object, Object, Object, Object])
], ProcessInstanceRepository);

@@ -65,0 +70,0 @@ exports.ProcessInstanceRepository = ProcessInstanceRepository;

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

let ProcessInstanceRepository = class ProcessInstanceRepository {
constructor(executeProcessService, processInstanceManagementService, processInstanceRuntimeService) {
constructor(executeProcessService, processInstanceManagementService, processInstanceRuntimeService, resumeProcessService) {
this.executeProcessService = executeProcessService;
this.processInstanceManagementService = processInstanceManagementService;
this.processInstanceRuntimeService = processInstanceRuntimeService;
this.resumeProcessService = resumeProcessService;
}

@@ -46,2 +47,5 @@ async query(identity, query, offset, limit) {

}
async retryProcessInstance(identity, processInstanceId) {
return this.resumeProcessService.retryProcessInstance(identity, processInstanceId);
}
mapProcessInstance(data) {

@@ -64,5 +68,6 @@ return new admin_domain_contracts_1.DataModels.ProcessInstances.ProcessInstance(data);

__param(2, inversify_1.inject('RuntimeDomain.ProcessInstanceService')),
__metadata("design:paramtypes", [Object, Object, Object])
__param(3, inversify_1.inject('ResumeProcessService')),
__metadata("design:paramtypes", [Object, Object, Object, Object])
], ProcessInstanceRepository);
exports.ProcessInstanceRepository = ProcessInstanceRepository;
//# sourceMappingURL=process_instance_repository.js.map
import { IIdentity } from '@atlas-engine/iam.contracts';
import { DataModels, Repositories } from '@atlas-engine/admin_domain.contracts';
import { IExecuteProcessService, IProcessInstanceManagementService } from '@atlas-engine/core_domain.contracts';
import { IExecuteProcessService, IProcessInstanceManagementService, IResumeProcessService } from '@atlas-engine/core_domain.contracts';
import { Services as RuntimeServices } from '@atlas-engine/runtime_domain.contracts';

@@ -9,3 +9,4 @@ export declare class ProcessInstanceRepository implements Repositories.IProcessInstanceRepository {

private readonly processInstanceRuntimeService;
constructor(executeProcessService: IExecuteProcessService, processInstanceManagementService: IProcessInstanceManagementService, processInstanceRuntimeService: RuntimeServices.IProcessInstanceService);
private readonly resumeProcessService;
constructor(executeProcessService: IExecuteProcessService, processInstanceManagementService: IProcessInstanceManagementService, processInstanceRuntimeService: RuntimeServices.IProcessInstanceService, resumeProcessService: IResumeProcessService);
query(identity: IIdentity, query: DataModels.ProcessInstances.ProcessInstanceQuery, offset?: number, limit?: number): Promise<DataModels.ProcessInstances.ProcessInstanceList>;

@@ -15,4 +16,5 @@ startProcessInstance<TPayload>(identity: IIdentity, options: DataModels.ProcessInstances.ProcessStartRequest<TPayload>): Promise<DataModels.ProcessInstances.ProcessStartResponse>;

terminateProcessInstance(identity: IIdentity, processInstanceId: string): Promise<void>;
retryProcessInstance(identity: IIdentity, processInstanceId: string): Promise<void>;
private mapProcessInstance;
private mapProcessStartResult;
}
{
"name": "@atlas-engine/admin_domain.repository.embedded",
"version": "0.2.3-alpha.1",
"version": "0.2.3-feature-908085-k7ynfou6",
"description": "Contains the repository that the admin domain uses for accessing the Core- and Runtime- domains in an embedded application.",

@@ -24,3 +24,3 @@ "main": "dist/commonjs/index.js",

"dependencies": {
"@atlas-engine/admin_domain.contracts": "^0.2.0",
"@atlas-engine/admin_domain.contracts": "feature~add_retry_methods",
"@atlas-engine/error_provider": "^1.0.0",

@@ -32,6 +32,7 @@ "@atlas-engine/iam.contracts": "^0.1.0",

"devDependencies": {
"@atlas-engine/core_domain.contracts": "^0.4.0",
"@atlas-engine/ci_tools": "^3.0.0",
"@atlas-engine/core_domain.contracts": "feature~add_retry_methods",
"@atlas-engine/eslint-config": "^1.0.0",
"@atlas-engine/process_model": "^0.1.0",
"@atlas-engine/runtime_domain.contracts": "^0.5.0",
"@atlas-engine/runtime_domain.contracts": "feature~add_reset_methods",
"@process-engine/ci_tools": "^3.0.0",

@@ -38,0 +39,0 @@ "@types/node": "^12.11.7",

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