@atlas-engine/admin_domain.contracts
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -8,2 +8,17 @@ define(["require", "exports"], function (require, exports) { | ||
class ProcessInstance { | ||
constructor(params) { | ||
this.correlationId = params.correlationId; | ||
this.processDefinitionId = params.processDefinitionId; | ||
this.processId = params.processId; | ||
this.processInstanceId = params.processInstanceId; | ||
this.parentProcessInstanceId = params.parentProcessInstanceId; | ||
this.hash = params.hash; | ||
this.xml = params.xml; | ||
this.state = params.state; | ||
this.error = params.error; | ||
this.ownerId = params.ownerId; | ||
this.createdAt = params.createdAt; | ||
this.finishedAt = params.finishedAt; | ||
this.terminatedByUserId = params.terminatedByUserId; | ||
} | ||
} | ||
@@ -10,0 +25,0 @@ exports.ProcessInstance = ProcessInstance; |
@@ -7,4 +7,19 @@ "use strict"; | ||
class ProcessInstance { | ||
constructor(params) { | ||
this.correlationId = params.correlationId; | ||
this.processDefinitionId = params.processDefinitionId; | ||
this.processId = params.processId; | ||
this.processInstanceId = params.processInstanceId; | ||
this.parentProcessInstanceId = params.parentProcessInstanceId; | ||
this.hash = params.hash; | ||
this.xml = params.xml; | ||
this.state = params.state; | ||
this.error = params.error; | ||
this.ownerId = params.ownerId; | ||
this.createdAt = params.createdAt; | ||
this.finishedAt = params.finishedAt; | ||
this.terminatedByUserId = params.terminatedByUserId; | ||
} | ||
} | ||
exports.ProcessInstance = ProcessInstance; | ||
//# sourceMappingURL=process_instance.js.map |
import { ProcessInstanceState } from './process_instance_state'; | ||
/** | ||
* Describes a ProcessInstance. | ||
*/ | ||
export declare class ProcessInstance { | ||
export interface IProcessInstanceParams { | ||
correlationId: string; | ||
@@ -16,3 +13,2 @@ processDefinitionId: string; | ||
ownerId: string; | ||
ownerToken: string; | ||
createdAt?: Date; | ||
@@ -22,1 +18,20 @@ finishedAt?: Date; | ||
} | ||
/** | ||
* Describes a ProcessInstance. | ||
*/ | ||
export declare class ProcessInstance { | ||
readonly correlationId: string; | ||
readonly processDefinitionId: string; | ||
readonly processId: string; | ||
readonly processInstanceId?: string; | ||
readonly parentProcessInstanceId?: string; | ||
readonly hash: string; | ||
readonly xml: string; | ||
readonly state: ProcessInstanceState; | ||
readonly error: Error; | ||
readonly ownerId: string; | ||
readonly createdAt?: Date; | ||
readonly finishedAt?: Date; | ||
readonly terminatedByUserId?: string; | ||
constructor(params: IProcessInstanceParams); | ||
} |
{ | ||
"name": "@atlas-engine/admin_domain.contracts", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Contains the contracts for accessing the AtlasEngine's public admin domain.", | ||
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
357114
6120