attlaz-client 1.9.66 → 1.9.67
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/Model/Flow/Flow.js
CHANGED
|
@@ -12,6 +12,7 @@ class Flow extends MetaDataAware_1.MetaDataAware {
|
|
|
12
12
|
this.state = State_1.State.Active;
|
|
13
13
|
/** The maximum number of flows to run at any time (0 = no limit) **/
|
|
14
14
|
this.parallelLimit = 0;
|
|
15
|
+
this.codeSource = null;
|
|
15
16
|
}
|
|
16
17
|
static parse(rawFlow) {
|
|
17
18
|
const flow = new Flow();
|
|
@@ -23,6 +24,7 @@ class Flow extends MetaDataAware_1.MetaDataAware {
|
|
|
23
24
|
flow.isDirect = Utils_1.Utils.isTrue(rawFlow.is_direct);
|
|
24
25
|
flow.state = State_1.State.fromString(rawFlow.state);
|
|
25
26
|
flow.parallelLimit = Utils_1.Utils.parseInt(rawFlow.parallel_limit);
|
|
27
|
+
flow.codeSource = rawFlow.code_source;
|
|
26
28
|
flow.metadata = DataValueCollection_1.DataValueCollection.fromObject(rawFlow.metadata);
|
|
27
29
|
return flow;
|
|
28
30
|
}
|