@5minds/processcube_engine_sdk 5.1.0-develop-881581-lzgjplf0 → 5.1.0-develop-38192d-lzic8mkw

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.
@@ -2,6 +2,7 @@ import { BaseElement } from '../Model/Base';
2
2
  export type ProcessModelLike = {
3
3
  processModelId: string;
4
4
  processModelName?: string;
5
+ processModelVersion?: string;
5
6
  };
6
7
  /**
7
8
  * @swagger
@@ -34,6 +35,9 @@ export type ProcessModelLike = {
34
35
  * processModelName:
35
36
  * type: string
36
37
  * description: The name of the ProcessModel that contains the BaseElement.
38
+ * processModelVersion:
39
+ * type: string
40
+ * description: The version of the ProcessModel that contains the BaseElement.
37
41
  */
38
42
  export declare abstract class BaseElementViewModel {
39
43
  id: string;
@@ -43,5 +47,6 @@ export declare abstract class BaseElementViewModel {
43
47
  documentation?: Array<string>;
44
48
  processModelId: string;
45
49
  processModelName?: string;
50
+ processModelVersion?: string;
46
51
  constructor(baseElement: BaseElement, processModel: ProcessModelLike);
47
52
  }
@@ -32,6 +32,9 @@ exports.BaseElementViewModel = void 0;
32
32
  * processModelName:
33
33
  * type: string
34
34
  * description: The name of the ProcessModel that contains the BaseElement.
35
+ * processModelVersion:
36
+ * type: string
37
+ * description: The version of the ProcessModel that contains the BaseElement.
35
38
  */
36
39
  class BaseElementViewModel {
37
40
  id;
@@ -39,12 +42,14 @@ class BaseElementViewModel {
39
42
  documentation;
40
43
  processModelId;
41
44
  processModelName;
45
+ processModelVersion;
42
46
  constructor(baseElement, processModel) {
43
47
  this.id = baseElement.id;
44
48
  this.documentation = baseElement.documentation;
45
49
  this.customProperties = {};
46
50
  this.processModelId = processModel.processModelId;
47
51
  this.processModelName = processModel.processModelName;
52
+ this.processModelVersion = processModel.processModelVersion;
48
53
  if (baseElement.extensionElements?.camundaExtensionProperties) {
49
54
  for (const camundaExtensionProperty of baseElement.extensionElements?.camundaExtensionProperties) {
50
55
  this.customProperties[camundaExtensionProperty.name] = camundaExtensionProperty.value;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseElementViewModel.js","sourceRoot":"","sources":["../../../../src/ProcessModel/ViewModel/BaseElementViewModel.ts"],"names":[],"mappings":";;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAsB,oBAAoB;IACjC,EAAE,CAAS;IACX,gBAAgB,CAA4B;IAC5C,aAAa,CAAiB;IAE9B,cAAc,CAAS;IACvB,gBAAgB,CAAU;IAEjC,YAAY,WAAwB,EAAE,YAA8B;QAClE,IAAI,CAAC,EAAE,GAAG,WAAW,CAAC,EAAE,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,gBAAgB,GAAG,EAAE,CAAC;QAE3B,IAAI,CAAC,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC;QAClD,IAAI,CAAC,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC;QAEtD,IAAI,WAAW,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;YAC9D,KAAK,MAAM,wBAAwB,IAAI,WAAW,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;gBACjG,IAAI,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,IAAI,CAAC,GAAG,wBAAwB,CAAC,KAAK,CAAC;YACxF,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAtBD,oDAsBC"}
1
+ {"version":3,"file":"BaseElementViewModel.js","sourceRoot":"","sources":["../../../../src/ProcessModel/ViewModel/BaseElementViewModel.ts"],"names":[],"mappings":";;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAsB,oBAAoB;IACjC,EAAE,CAAS;IACX,gBAAgB,CAA4B;IAC5C,aAAa,CAAiB;IAE9B,cAAc,CAAS;IACvB,gBAAgB,CAAU;IAC1B,mBAAmB,CAAU;IAEpC,YAAY,WAAwB,EAAE,YAA8B;QAClE,IAAI,CAAC,EAAE,GAAG,WAAW,CAAC,EAAE,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,gBAAgB,GAAG,EAAE,CAAC;QAE3B,IAAI,CAAC,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC;QAClD,IAAI,CAAC,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC;QACtD,IAAI,CAAC,mBAAmB,GAAG,YAAY,CAAC,mBAAmB,CAAC;QAE5D,IAAI,WAAW,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;YAC9D,KAAK,MAAM,wBAAwB,IAAI,WAAW,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;gBACjG,IAAI,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,IAAI,CAAC,GAAG,wBAAwB,CAAC,KAAK,CAAC;YACxF,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAxBD,oDAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/processcube_engine_sdk",
3
- "version": "5.1.0-develop-881581-lzgjplf0",
3
+ "version": "5.1.0-develop-38192d-lzic8mkw",
4
4
  "description": "Software development kit for the Engine.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "dist/index.d.ts",