@nfdi4plants/arctrl 3.1.0 → 3.1.1

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.
Files changed (89) hide show
  1. package/dist/ts/ts/CWL/CWLTypes.d.ts +162 -45
  2. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  3. package/dist/ts/ts/CWL/CWLTypes.js +495 -104
  4. package/dist/ts/ts/CWL/Decode.d.ts +291 -48
  5. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  6. package/dist/ts/ts/CWL/Decode.js +911 -568
  7. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +37 -0
  8. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -0
  9. package/dist/ts/ts/CWL/DynamicObjHelpers.js +57 -0
  10. package/dist/ts/ts/CWL/Encode.d.ts +117 -2
  11. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  12. package/dist/ts/ts/CWL/Encode.js +399 -163
  13. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +2 -0
  14. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  15. package/dist/ts/ts/CWL/ExpressionToolDescription.js +7 -0
  16. package/dist/ts/ts/CWL/Inputs.d.ts +65 -14
  17. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  18. package/dist/ts/ts/CWL/Inputs.js +194 -51
  19. package/dist/ts/ts/CWL/OperationDescription.d.ts +2 -0
  20. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  21. package/dist/ts/ts/CWL/OperationDescription.js +7 -0
  22. package/dist/ts/ts/CWL/Outputs.d.ts +51 -12
  23. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  24. package/dist/ts/ts/CWL/Outputs.js +152 -76
  25. package/dist/ts/ts/CWL/ParameterReference.d.ts +4 -1
  26. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  27. package/dist/ts/ts/CWL/ParameterReference.js +17 -6
  28. package/dist/ts/ts/CWL/Requirements.d.ts +140 -51
  29. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  30. package/dist/ts/ts/CWL/Requirements.js +458 -128
  31. package/dist/ts/ts/CWL/ToolDescription.d.ts +27 -2
  32. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  33. package/dist/ts/ts/CWL/ToolDescription.js +74 -4
  34. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +2 -0
  35. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  36. package/dist/ts/ts/CWL/WorkflowDescription.js +7 -0
  37. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +50 -19
  38. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  39. package/dist/ts/ts/CWL/WorkflowSteps.js +152 -23
  40. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  41. package/dist/ts/ts/ContractIO/ContractIO.js +4 -1
  42. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  43. package/dist/ts/ts/Conversion/Assay.js +4 -3
  44. package/dist/ts/ts/Conversion/Investigation.js +2 -2
  45. package/dist/ts/ts/Conversion/Person.d.ts +1 -1
  46. package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
  47. package/dist/ts/ts/Conversion/Person.js +27 -11
  48. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  49. package/dist/ts/ts/Conversion/Run.js +3 -2
  50. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  51. package/dist/ts/ts/Conversion/ScholarlyArticle.js +2 -1
  52. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  53. package/dist/ts/ts/Conversion/Study.js +5 -4
  54. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  55. package/dist/ts/ts/Conversion/Workflow.js +13 -12
  56. package/dist/ts/ts/Conversion.d.ts +14 -10
  57. package/dist/ts/ts/Conversion.d.ts.map +1 -1
  58. package/dist/ts/ts/Conversion.js +18 -11
  59. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  60. package/dist/ts/ts/Core/ArcTypes.js +18 -0
  61. package/dist/ts/ts/Json.d.ts +2 -2
  62. package/dist/ts/ts/Json.d.ts.map +1 -1
  63. package/dist/ts/ts/Json.js +3 -3
  64. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  65. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +2 -1
  66. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +1 -1
  67. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  68. package/dist/ts/ts/Yaml/ValidationPackage.js +5 -5
  69. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +1 -1
  70. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  71. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -5
  72. package/dist/ts/ts/Yaml.js +1 -1
  73. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Decode.fs.js +5 -33
  74. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Persil.fs.js +11 -159
  75. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Preprocessing.fs.js +319 -0
  76. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Reader.fs.js +1867 -0
  77. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Regex.fs.js +1 -1
  78. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/RegexActivePatterns.fs.js +2 -2
  79. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Syntax.fs.js +819 -0
  80. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Writer.fs.js +75 -48
  81. package/package.json +1 -1
  82. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/FlowToBlock.fs.js +0 -956
  83. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Preprocessing.fs.js +0 -181
  84. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js +0 -1493
  85. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Encode.fs.js +0 -0
  86. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Escapes.fs.js +0 -0
  87. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/Interop/JsInterop.fs.js +0 -0
  88. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/StringBuffer.fs.js +0 -0
  89. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0-alpha.11}/YAMLiciousTypes.fs.js +0 -0
@@ -1,22 +1,74 @@
1
- import { Record, Union, FSharpRef } from '../../node_modules/@fable-org/fable-library-js/Types.js';
2
1
  import { unwrap, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
3
- import { defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
4
- import { record_type, option_type, string_type, union_type, array_type, class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
5
- import { CWLType } from './CWLTypes.js';
2
+ import { equals, arrayHash, comparePrimitives } from '../../node_modules/@fable-org/fable-library-js/Util.js';
3
+ import { dynamicPropertiesEqual, hashDynamicProperties } from './DynamicObjHelpers.js';
4
+ import { ofSeq } from '../../node_modules/@fable-org/fable-library-js/Set.js';
6
5
  import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
7
- import { setOptionalProperty, removeProperty, setProperty } from '../fable_modules/DynamicObj.7.1.0/DynObj.fs.js';
6
+ import { class_type, union_type, string_type, array_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
7
+ import { Union } from '../../node_modules/@fable-org/fable-library-js/Types.js';
8
8
 
9
- class OutputBinding extends Record {
10
- constructor(Glob) {
9
+ class OutputBinding extends DynamicObj {
10
+ constructor(glob, loadContents, loadListing, outputEval) {
11
11
  super();
12
- this.Glob = Glob;
12
+ this._glob = glob;
13
+ this._loadContents = loadContents;
14
+ this._loadListing = loadListing;
15
+ this._outputEval = outputEval;
16
+ }
17
+ get Glob() {
18
+ const this$ = this;
19
+ return unwrap(this$._glob);
20
+ }
21
+ set Glob(value) {
22
+ const this$ = this;
23
+ this$._glob = value;
24
+ }
25
+ get LoadContents() {
26
+ const this$ = this;
27
+ return unwrap(this$._loadContents);
28
+ }
29
+ set LoadContents(value) {
30
+ const this$ = this;
31
+ this$._loadContents = value;
32
+ }
33
+ get LoadListing() {
34
+ const this$ = this;
35
+ return unwrap(this$._loadListing);
36
+ }
37
+ set LoadListing(value) {
38
+ const this$ = this;
39
+ this$._loadListing = value;
40
+ }
41
+ get OutputEval() {
42
+ const this$ = this;
43
+ return unwrap(this$._outputEval);
44
+ }
45
+ set OutputEval(value) {
46
+ const this$ = this;
47
+ this$._outputEval = value;
48
+ }
49
+ Equals(o) {
50
+ let other;
51
+ const this$ = this;
52
+ return o instanceof OutputBinding && (other = o, equals(this$.Glob, other.Glob) && equals(this$.LoadContents, other.LoadContents) && equals(this$.LoadListing, other.LoadListing) && equals(this$.OutputEval, other.OutputEval) && dynamicPropertiesEqual(this$, other));
53
+ }
54
+ GetHashCode() {
55
+ const this$ = this;
56
+ return arrayHash([this$.Glob, this$.LoadContents, this$.LoadListing, this$.OutputEval, hashDynamicProperties(this$)]) | 0;
57
+ }
58
+ static get KnownFieldNames() {
59
+ return ofSeq(["loadContents", "loadListing", "glob", "outputEval"], {
60
+ Compare: comparePrimitives
61
+ });
62
+ }
63
+ static create(glob, loadContents, loadListing, outputEval) {
64
+ return new OutputBinding(unwrap(glob), unwrap(loadContents), unwrap(loadListing), unwrap(outputEval));
13
65
  }
14
66
  }
15
67
  function OutputBinding_$reflection() {
16
- return record_type("ARCtrl.CWL.OutputBinding", [], OutputBinding, () => [["Glob", option_type(string_type)]]);
68
+ return class_type("ARCtrl.CWL.OutputBinding", void 0, OutputBinding, DynamicObj_$reflection());
17
69
  }
18
- function OutputBinding_create_6DFDD678(glob) {
19
- return new OutputBinding(glob);
70
+ function OutputBinding_$ctor_Z179B3726(glob, loadContents, loadListing, outputEval) {
71
+ return new OutputBinding(glob, loadContents, loadListing, outputEval);
20
72
  }
21
73
  function OutputSource_Single(Item) {
22
74
  return new OutputSource(0, [Item]);
@@ -43,84 +95,89 @@ function OutputSource_$reflection() {
43
95
  return union_type("ARCtrl.CWL.OutputSource", [], OutputSource, () => [[["Item", string_type]], [["Item", array_type(string_type)]]]);
44
96
  }
45
97
  class CWLOutput extends DynamicObj {
46
- constructor(name, type_, outputBinding, outputSource) {
98
+ constructor(name, type_, outputBinding, outputSource, label, secondaryFiles, streamable, doc, format) {
47
99
  super();
48
- const this$ = new FSharpRef(defaultOf());
49
- this.name = name;
50
- this$.contents = this;
51
- this["init@23"] = 1;
52
- setOptionalProperty("type", type_, this$.contents);
53
- setOptionalProperty("outputBinding", outputBinding, this$.contents);
54
- setOptionalProperty("outputSource", outputSource, this$.contents);
100
+ this._name = name;
101
+ this._type = type_;
102
+ this._outputBinding = outputBinding;
103
+ this._outputSource = this.normalizeOutputSource(outputSource);
104
+ this._label = label;
105
+ this._secondaryFiles = secondaryFiles;
106
+ this._streamable = streamable;
107
+ this._doc = doc;
108
+ this._format = format;
55
109
  }
56
110
  get Name() {
57
111
  const this$ = this;
58
- return this$.name;
112
+ return this$._name;
113
+ }
114
+ set Name(value) {
115
+ const this$ = this;
116
+ this$._name = value;
59
117
  }
60
118
  get Type_() {
61
- let dynObj, matchValue, o;
62
119
  const this$ = this;
63
- return unwrap((dynObj = this$, matchValue = dynObj.TryGetPropertyValue("type"), matchValue != null ? (o = value(matchValue), o instanceof CWLType ? o : void 0) : void 0));
120
+ return unwrap(this$._type);
64
121
  }
65
- set Type_(value$1) {
122
+ set Type_(value) {
66
123
  const this$ = this;
67
- if (value$1 == null) {
68
- removeProperty("type", this$);
69
- } else {
70
- setProperty("type", value(value$1), this$);
71
- }
124
+ this$._type = value;
72
125
  }
73
126
  get OutputBinding() {
74
- let dynObj, matchValue, o;
75
127
  const this$ = this;
76
- return unwrap((dynObj = this$, matchValue = dynObj.TryGetPropertyValue("outputBinding"), matchValue != null ? (o = value(matchValue), o instanceof OutputBinding ? o : void 0) : void 0));
128
+ return unwrap(this$._outputBinding);
77
129
  }
78
- set OutputBinding(value$1) {
130
+ set OutputBinding(value) {
79
131
  const this$ = this;
80
- if (value$1 == null) {
81
- removeProperty("outputBinding", this$);
82
- } else {
83
- setProperty("outputBinding", value(value$1), this$);
84
- }
132
+ this$._outputBinding = value;
85
133
  }
86
134
  get OutputSource() {
87
- let dynObj, matchValue, o;
88
- const this$ = this;
89
- return unwrap((dynObj = this$, matchValue = dynObj.TryGetPropertyValue("outputSource"), matchValue != null ? (o = value(matchValue), o instanceof OutputSource ? o : void 0) : void 0));
90
- }
91
- set OutputSource(value$1) {
92
- let values;
93
- const this$ = this;
94
- let matchResult, values_1, v;
95
- if (value$1 == null) {
96
- matchResult = 2;
97
- } else if (value(value$1).tag === /* Multiple */
98
- 1) {
99
- if (values = value(value$1).fields[0], values.length === 0) {
100
- matchResult = 0;
101
- values_1 = value(value$1).fields[0];
102
- } else {
103
- matchResult = 1;
104
- v = value(value$1);
105
- }
106
- } else {
107
- matchResult = 1;
108
- v = value(value$1);
109
- }
110
- switch (matchResult) {
111
- case 0: {
112
- removeProperty("outputSource", this$);
113
- break;
114
- }
115
- case 1: {
116
- setProperty("outputSource", v, this$);
117
- break;
118
- }
119
- case 2: {
120
- removeProperty("outputSource", this$);
121
- break;
122
- }
123
- }
135
+ const this$ = this;
136
+ return unwrap(this$._outputSource);
137
+ }
138
+ set OutputSource(value) {
139
+ const this$ = this;
140
+ this$._outputSource = this$.normalizeOutputSource(value);
141
+ }
142
+ get Label() {
143
+ const this$ = this;
144
+ return unwrap(this$._label);
145
+ }
146
+ set Label(value) {
147
+ const this$ = this;
148
+ this$._label = value;
149
+ }
150
+ get SecondaryFiles() {
151
+ const this$ = this;
152
+ return unwrap(this$._secondaryFiles);
153
+ }
154
+ set SecondaryFiles(value) {
155
+ const this$ = this;
156
+ this$._secondaryFiles = value;
157
+ }
158
+ get Streamable() {
159
+ const this$ = this;
160
+ return unwrap(this$._streamable);
161
+ }
162
+ set Streamable(value) {
163
+ const this$ = this;
164
+ this$._streamable = value;
165
+ }
166
+ get Doc() {
167
+ const this$ = this;
168
+ return unwrap(this$._doc);
169
+ }
170
+ set Doc(value) {
171
+ const this$ = this;
172
+ this$._doc = value;
173
+ }
174
+ get Format() {
175
+ const this$ = this;
176
+ return unwrap(this$._format);
177
+ }
178
+ set Format(value) {
179
+ const this$ = this;
180
+ this$._format = value;
124
181
  }
125
182
  GetOutputSources() {
126
183
  const this$ = this;
@@ -132,12 +189,31 @@ class CWLOutput extends DynamicObj {
132
189
  return [];
133
190
  }
134
191
  }
192
+ Equals(o) {
193
+ let other;
194
+ const this$ = this;
195
+ return o instanceof CWLOutput && (other = o, this$.Name === other.Name && equals(this$.Type_, other.Type_) && equals(this$.OutputBinding, other.OutputBinding) && equals(this$.OutputSource, other.OutputSource) && equals(this$.Label, other.Label) && equals(this$.SecondaryFiles, other.SecondaryFiles) && equals(this$.Streamable, other.Streamable) && equals(this$.Doc, other.Doc) && equals(this$.Format, other.Format) && dynamicPropertiesEqual(this$, other));
196
+ }
197
+ GetHashCode() {
198
+ const this$ = this;
199
+ return arrayHash([this$.Name, this$.Type_, this$.OutputBinding, this$.OutputSource, this$.Label, this$.SecondaryFiles, this$.Streamable, this$.Doc, this$.Format, hashDynamicProperties(this$)]) | 0;
200
+ }
201
+ static get KnownFieldNames() {
202
+ return ofSeq(["id", "type", "label", "secondaryFiles", "streamable", "doc", "format", "outputBinding", "outputSource"], {
203
+ Compare: comparePrimitives
204
+ });
205
+ }
206
+ normalizeOutputSource(_arg) {
207
+ let values, values_1;
208
+ return _arg != null ? value(_arg).tag === /* Multiple */
209
+ 1 ? (values = value(_arg).fields[0], values.length === 0) ? (values_1 = value(_arg).fields[0], void 0) : _arg : _arg : _arg;
210
+ }
135
211
  }
136
212
  function CWLOutput_$reflection() {
137
213
  return class_type("ARCtrl.CWL.CWLOutput", void 0, CWLOutput, DynamicObj_$reflection());
138
214
  }
139
- function CWLOutput_$ctor_2471CF63(name, type_, outputBinding, outputSource) {
140
- return new CWLOutput(name, type_, outputBinding, outputSource);
215
+ function CWLOutput_$ctor_6D2AEA18(name, type_, outputBinding, outputSource, label, secondaryFiles, streamable, doc, format) {
216
+ return new CWLOutput(name, type_, outputBinding, outputSource, label, secondaryFiles, streamable, doc, format);
141
217
  }
142
218
 
143
- export { CWLOutput, CWLOutput_$ctor_2471CF63, CWLOutput_$reflection, OutputBinding, OutputBinding_$reflection, OutputBinding_create_6DFDD678, OutputSource, OutputSource_$reflection, OutputSource_Multiple, OutputSource_Single };
219
+ export { CWLOutput, CWLOutput_$ctor_6D2AEA18, CWLOutput_$reflection, OutputBinding, OutputBinding_$ctor_Z179B3726, OutputBinding_$reflection, OutputSource, OutputSource_$reflection, OutputSource_Multiple, OutputSource_Single };
@@ -1,8 +1,10 @@
1
1
  import { Option } from '@fable-org/fable-library-js/Option.js';
2
2
  import { CWLType_$union } from './CWLTypes.js';
3
3
  import { int32 } from '@fable-org/fable-library-js/Int32.js';
4
+ import { FSharpSet } from '@fable-org/fable-library-js/Set.js';
5
+ import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
4
6
  import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
5
- export declare class CWLParameterReference {
7
+ export declare class CWLParameterReference extends DynamicObj {
6
8
  _key: string;
7
9
  _values: string[];
8
10
  _type: Option<CWLType_$union>;
@@ -17,6 +19,7 @@ export declare class CWLParameterReference {
17
19
  Equals(obj: any): boolean;
18
20
  StructurallyEquals(other: CWLParameterReference): boolean;
19
21
  ReferenceEquals(other: CWLParameterReference): boolean;
22
+ static get KnownFieldNames(): FSharpSet<string>;
20
23
  }
21
24
  export declare function CWLParameterReference_$reflection(): TypeInfo;
22
25
  export declare function CWLParameterReference_$ctor_Z6E62A082(key: string, values?: string[], type_?: CWLType_$union): CWLParameterReference;
@@ -1 +1 @@
1
- {"version":3,"file":"ParameterReference.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ParameterReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,qBAAa,qBAAqB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC;gBAClB,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,cAAc;IAKlE,IAAI,GAAG,IAAI,MAAM,CAGhB;IACD,IAAI,GAAG,CAAC,KAAK,EAAE,MAAM,EAGpB;IACD,IAAI,MAAM,IAAI,MAAM,EAAE,CAGrB;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAGzB;IACD,IAAI,IAAI,IAAI,cAAc,GAAG,SAAS,CAGrC;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC,EAGrC;IACD,WAAW,IAAI,KAAK;IAIpB,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAIzB,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO;IAIzD,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO;CAIzD;AAED,wBAAgB,iCAAiC,IAAI,QAAQ,CAE5D;AAED,wBAAgB,qCAAqC,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,cAAc,GAAG,qBAAqB,CAEnI"}
1
+ {"version":3,"file":"ParameterReference.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ParameterReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAG7D,OAAO,EAAE,SAAS,EAAS,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAA0B,UAAU,EAAE,MAAM,oDAAoD,CAAC;AACxG,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,qBAAa,qBAAsB,SAAQ,UAAU;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC;gBAClB,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,cAAc;IAMlE,IAAI,GAAG,IAAI,MAAM,CAGhB;IACD,IAAI,GAAG,CAAC,KAAK,EAAE,MAAM,EAGpB;IACD,IAAI,MAAM,IAAI,MAAM,EAAE,CAGrB;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAGzB;IACD,IAAI,IAAI,IAAI,cAAc,GAAG,SAAS,CAGrC;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC,EAGrC;IACD,WAAW,IAAI,KAAK;IAIpB,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAKzB,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO;IAIzD,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO;IAItD,MAAM,KAAK,eAAe,IAAI,SAAS,CAAC,MAAM,CAAC,CAI9C;CACJ;AAED,wBAAgB,iCAAiC,IAAI,QAAQ,CAE5D;AAED,wBAAgB,qCAAqC,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,cAAc,GAAG,qBAAqB,CAEnI"}
@@ -1,10 +1,15 @@
1
1
  import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
2
  import { boxHashArray, boxHashSeq, hash, boxHashOption } from './HashHelpers.js';
3
- import { safeHash } from '../../node_modules/@fable-org/fable-library-js/Util.js';
3
+ import { hashDynamicProperties, dynamicPropertiesEqual } from './DynamicObjHelpers.js';
4
+ import { forAll2 } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
5
+ import { equals, comparePrimitives } from '../../node_modules/@fable-org/fable-library-js/Util.js';
6
+ import { ofSeq } from '../../node_modules/@fable-org/fable-library-js/Set.js';
7
+ import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
4
8
  import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
5
9
 
6
- class CWLParameterReference {
10
+ class CWLParameterReference extends DynamicObj {
7
11
  constructor(key, values, type_) {
12
+ super();
8
13
  this._key = key;
9
14
  this._values = defaultArg(values, []);
10
15
  this._type = type_;
@@ -35,23 +40,29 @@ class CWLParameterReference {
35
40
  }
36
41
  GetHashCode() {
37
42
  const this$ = this;
38
- return boxHashArray([boxHashSeq(this$.Values), hash(this$.Key), boxHashOption(this$.Type)]) | 0;
43
+ return boxHashArray([boxHashSeq(this$.Values), hash(this$.Key), boxHashOption(this$.Type), hashDynamicProperties(this$)]) | 0;
39
44
  }
40
45
  Equals(obj) {
46
+ let other;
41
47
  const this$ = this;
42
- return this$.StructurallyEquals(obj);
48
+ return obj instanceof CWLParameterReference && (other = obj, this$.StructurallyEquals(other));
43
49
  }
44
50
  StructurallyEquals(other) {
45
51
  const this$ = this;
46
- return safeHash(this$) === safeHash(other);
52
+ return this$.Key === other.Key && this$.Values.length === other.Values.length && forAll2((x, y) => x === y, this$.Values, other.Values) && equals(this$.Type, other.Type) && dynamicPropertiesEqual(this$, other);
47
53
  }
48
54
  ReferenceEquals(other) {
49
55
  const this$ = this;
50
56
  return this$ === other;
51
57
  }
58
+ static get KnownFieldNames() {
59
+ return ofSeq(["class", "path", "location", "type", "value"], {
60
+ Compare: comparePrimitives
61
+ });
62
+ }
52
63
  }
53
64
  function CWLParameterReference_$reflection() {
54
- return class_type("ARCtrl.CWL.CWLParameterReference", void 0, CWLParameterReference);
65
+ return class_type("ARCtrl.CWL.CWLParameterReference", void 0, CWLParameterReference, DynamicObj_$reflection());
55
66
  }
56
67
  function CWLParameterReference_$ctor_Z6E62A082(key, values, type_) {
57
68
  return new CWLParameterReference(key, values, type_);
@@ -1,34 +1,57 @@
1
- import { Union, Record } from '@fable-org/fable-library-js/Types.js';
2
1
  import { Option } from '@fable-org/fable-library-js/Option.js';
3
2
  import { SoftwarePackage, SchemaDefRequirementType, DirectoryInstance, FileInstance, DirentInstance, SchemaSaladString_$union } from './CWLTypes.js';
4
- import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
3
+ import { float64, int32 } from '@fable-org/fable-library-js/Int32.js';
4
+ import { FSharpSet } from '@fable-org/fable-library-js/Set.js';
5
+ import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
5
6
  import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
7
+ import { Union } from '@fable-org/fable-library-js/Types.js';
6
8
  import { int64 } from '@fable-org/fable-library-js/BigInt.js';
7
- import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
8
- import { float64, int32 } from '@fable-org/fable-library-js/Int32.js';
9
- import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.7/YAMLiciousTypes.fs.js';
10
- export declare class DockerRequirement extends Record implements IEquatable<DockerRequirement> {
11
- readonly DockerPull: Option<string>;
12
- readonly DockerFile: Option<SchemaSaladString_$union>;
13
- readonly DockerImageId: Option<string>;
14
- readonly DockerLoad: Option<string>;
15
- readonly DockerImport: Option<string>;
16
- readonly DockerOutputDirectory: Option<string>;
17
- readonly DockerRunOptions: Option<string[]>;
18
- constructor(DockerPull: Option<string>, DockerFile: Option<SchemaSaladString_$union>, DockerImageId: Option<string>, DockerLoad: Option<string>, DockerImport: Option<string>, DockerOutputDirectory: Option<string>, DockerRunOptions: Option<string[]>);
9
+ import { FSharpList } from '@fable-org/fable-library-js/List.js';
10
+ import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.11/YAMLiciousTypes.fs.js';
11
+ export declare class DockerRequirement extends DynamicObj {
12
+ _dockerPull: Option<string>;
13
+ _dockerFile: Option<SchemaSaladString_$union>;
14
+ _dockerImageId: Option<string>;
15
+ _dockerLoad: Option<string>;
16
+ _dockerImport: Option<string>;
17
+ _dockerOutputDirectory: Option<string>;
18
+ _dockerRunOptions: Option<string[]>;
19
+ constructor(dockerPull?: string, dockerFile?: SchemaSaladString_$union, dockerImageId?: string, dockerLoad?: string, dockerImport?: string, dockerOutputDirectory?: string, dockerRunOptions?: string[]);
20
+ get DockerPull(): string | undefined;
21
+ set DockerPull(value: Option<string>);
22
+ get DockerFile(): SchemaSaladString_$union | undefined;
23
+ set DockerFile(value: Option<SchemaSaladString_$union>);
24
+ get DockerImageId(): string | undefined;
25
+ set DockerImageId(value: Option<string>);
26
+ get DockerLoad(): string | undefined;
27
+ set DockerLoad(value: Option<string>);
28
+ get DockerImport(): string | undefined;
29
+ set DockerImport(value: Option<string>);
30
+ get DockerOutputDirectory(): string | undefined;
31
+ set DockerOutputDirectory(value: Option<string>);
32
+ get DockerRunOptions(): string[] | undefined;
33
+ set DockerRunOptions(value: Option<string[]>);
34
+ Equals(o: any): boolean;
35
+ GetHashCode(): int32;
36
+ static create(dockerPull?: string, dockerFile?: string, dockerFileReference?: SchemaSaladString_$union, dockerImageId?: string, dockerLoad?: string, dockerImport?: string, dockerOutputDirectory?: string, dockerRunOptions?: string[]): DockerRequirement;
37
+ static get KnownFieldNames(): FSharpSet<string>;
19
38
  }
20
39
  export declare function DockerRequirement_$reflection(): TypeInfo;
21
- /**
22
- * Create a DockerRequirement from a plain docker file path or explicit schema-salad reference.
23
- * If both `dockerFileReference` and `dockerFile` are provided, `dockerFileReference` takes precedence.
24
- */
25
- export declare function DockerRequirement_create_Z6E6AA686(dockerPull?: string, dockerFile?: string, dockerFileReference?: SchemaSaladString_$union, dockerImageId?: string, dockerLoad?: string, dockerImport?: string, dockerOutputDirectory?: string, dockerRunOptions?: string[]): DockerRequirement;
26
- export declare class EnvironmentDef extends Record implements IEquatable<EnvironmentDef>, IComparable<EnvironmentDef> {
27
- readonly EnvName: string;
28
- readonly EnvValue: string;
29
- constructor(EnvName: string, EnvValue: string);
40
+ export declare function DockerRequirement_$ctor_Z4715023E(dockerPull?: string, dockerFile?: SchemaSaladString_$union, dockerImageId?: string, dockerLoad?: string, dockerImport?: string, dockerOutputDirectory?: string, dockerRunOptions?: string[]): DockerRequirement;
41
+ export declare class EnvironmentDef extends DynamicObj {
42
+ _envName: string;
43
+ _envValue: string;
44
+ constructor(envName: string, envValue: string);
45
+ get EnvName(): string;
46
+ set EnvName(value: string);
47
+ get EnvValue(): string;
48
+ set EnvValue(value: string);
49
+ Equals(o: any): boolean;
50
+ GetHashCode(): int32;
51
+ static get KnownFieldNames(): FSharpSet<string>;
30
52
  }
31
53
  export declare function EnvironmentDef_$reflection(): TypeInfo;
54
+ export declare function EnvironmentDef_$ctor_Z384F8060(envName: string, envValue: string): EnvironmentDef;
32
55
  export type LoadListingEnum_$union = LoadListingEnum<0> | LoadListingEnum<1> | LoadListingEnum<2>;
33
56
  export type LoadListingEnum_$cases = {
34
57
  0: ["NoListing", []];
@@ -47,30 +70,54 @@ export declare class LoadListingEnum<Tag extends keyof LoadListingEnum_$cases> e
47
70
  export declare function LoadListingEnum_$reflection(): TypeInfo;
48
71
  export declare function LoadListingEnum_get_toCwlString(): ((arg0: LoadListingEnum_$union) => string);
49
72
  export declare function LoadListingEnum_tryParse_Z721C83C5(value: string): Option<LoadListingEnum_$union>;
50
- export declare class LoadListingRequirementValue extends Record implements IEquatable<LoadListingRequirementValue>, IComparable<LoadListingRequirementValue> {
51
- readonly LoadListing: LoadListingEnum_$union;
52
- constructor(LoadListing: LoadListingEnum_$union);
73
+ export declare class LoadListingRequirementValue extends DynamicObj {
74
+ _loadListing: LoadListingEnum_$union;
75
+ constructor(loadListing: LoadListingEnum_$union);
76
+ get LoadListing(): LoadListingEnum_$union;
77
+ set LoadListing(value: LoadListingEnum_$union);
78
+ Equals(o: any): boolean;
79
+ GetHashCode(): int32;
80
+ static get defaultNoListing(): LoadListingRequirementValue;
81
+ static get KnownFieldNames(): FSharpSet<string>;
53
82
  }
54
83
  export declare function LoadListingRequirementValue_$reflection(): TypeInfo;
55
- export declare function LoadListingRequirementValue_get_defaultNoListing(): LoadListingRequirementValue;
56
- export declare class WorkReuseRequirementValue extends Record implements IEquatable<WorkReuseRequirementValue>, IComparable<WorkReuseRequirementValue> {
57
- readonly EnableReuse: boolean;
58
- constructor(EnableReuse: boolean);
84
+ export declare function LoadListingRequirementValue_$ctor_70DB69D0(loadListing: LoadListingEnum_$union): LoadListingRequirementValue;
85
+ export declare class WorkReuseRequirementValue extends DynamicObj {
86
+ _enableReuse: boolean;
87
+ constructor(enableReuse: boolean);
88
+ get EnableReuse(): boolean;
89
+ set EnableReuse(value: boolean);
90
+ Equals(o: any): boolean;
91
+ GetHashCode(): int32;
92
+ static get defaultEnabled(): WorkReuseRequirementValue;
93
+ static get KnownFieldNames(): FSharpSet<string>;
59
94
  }
60
95
  export declare function WorkReuseRequirementValue_$reflection(): TypeInfo;
61
- export declare function WorkReuseRequirementValue_get_defaultEnabled(): WorkReuseRequirementValue;
62
- export declare class NetworkAccessRequirementValue extends Record implements IEquatable<NetworkAccessRequirementValue>, IComparable<NetworkAccessRequirementValue> {
63
- readonly NetworkAccess: boolean;
64
- constructor(NetworkAccess: boolean);
96
+ export declare function WorkReuseRequirementValue_$ctor_Z1FBCCD16(enableReuse: boolean): WorkReuseRequirementValue;
97
+ export declare class NetworkAccessRequirementValue extends DynamicObj {
98
+ _networkAccess: boolean;
99
+ constructor(networkAccess: boolean);
100
+ get NetworkAccess(): boolean;
101
+ set NetworkAccess(value: boolean);
102
+ Equals(o: any): boolean;
103
+ GetHashCode(): int32;
104
+ static get defaultEnabled(): NetworkAccessRequirementValue;
105
+ static get KnownFieldNames(): FSharpSet<string>;
65
106
  }
66
107
  export declare function NetworkAccessRequirementValue_$reflection(): TypeInfo;
67
- export declare function NetworkAccessRequirementValue_get_defaultEnabled(): NetworkAccessRequirementValue;
68
- export declare class InplaceUpdateRequirementValue extends Record implements IEquatable<InplaceUpdateRequirementValue>, IComparable<InplaceUpdateRequirementValue> {
69
- readonly InplaceUpdate: boolean;
70
- constructor(InplaceUpdate: boolean);
108
+ export declare function NetworkAccessRequirementValue_$ctor_Z1FBCCD16(networkAccess: boolean): NetworkAccessRequirementValue;
109
+ export declare class InplaceUpdateRequirementValue extends DynamicObj {
110
+ _inplaceUpdate: boolean;
111
+ constructor(inplaceUpdate: boolean);
112
+ get InplaceUpdate(): boolean;
113
+ set InplaceUpdate(value: boolean);
114
+ Equals(o: any): boolean;
115
+ GetHashCode(): int32;
116
+ static get defaultEnabled(): InplaceUpdateRequirementValue;
117
+ static get KnownFieldNames(): FSharpSet<string>;
71
118
  }
72
119
  export declare function InplaceUpdateRequirementValue_$reflection(): TypeInfo;
73
- export declare function InplaceUpdateRequirementValue_get_defaultEnabled(): InplaceUpdateRequirementValue;
120
+ export declare function InplaceUpdateRequirementValue_$ctor_Z1FBCCD16(inplaceUpdate: boolean): InplaceUpdateRequirementValue;
74
121
  export type ToolTimeLimitValue_$union = ToolTimeLimitValue<0> | ToolTimeLimitValue<1>;
75
122
  export type ToolTimeLimitValue_$cases = {
76
123
  0: ["ToolTimeLimitSeconds", [int64]];
@@ -86,14 +133,42 @@ export declare class ToolTimeLimitValue<Tag extends keyof ToolTimeLimitValue_$ca
86
133
  }
87
134
  export declare function ToolTimeLimitValue_$reflection(): TypeInfo;
88
135
  export declare class ResourceRequirementInstance extends DynamicObj {
89
- "init@101": int32;
136
+ _coresMin: Option<any>;
137
+ _coresMax: Option<any>;
138
+ _ramMin: Option<any>;
139
+ _ramMax: Option<any>;
140
+ _tmpdirMin: Option<any>;
141
+ _tmpdirMax: Option<any>;
142
+ _outdirMin: Option<any>;
143
+ _outdirMax: Option<any>;
90
144
  constructor(coresMin?: Option<any>, coresMax?: Option<any>, ramMin?: Option<any>, ramMax?: Option<any>, tmpdirMin?: Option<any>, tmpdirMax?: Option<any>, outdirMin?: Option<any>, outdirMax?: Option<any>);
145
+ get CoresMin(): Option<any>;
146
+ set CoresMin(value: Option<any>);
147
+ get CoresMax(): Option<any>;
148
+ set CoresMax(value: Option<any>);
149
+ get RamMin(): Option<any>;
150
+ set RamMin(value: Option<any>);
151
+ get RamMax(): Option<any>;
152
+ set RamMax(value: Option<any>);
153
+ get TmpdirMin(): Option<any>;
154
+ set TmpdirMin(value: Option<any>);
155
+ get TmpdirMax(): Option<any>;
156
+ set TmpdirMax(value: Option<any>);
157
+ get OutdirMin(): Option<any>;
158
+ set OutdirMin(value: Option<any>);
159
+ get OutdirMax(): Option<any>;
160
+ set OutdirMax(value: Option<any>);
161
+ TryGetKnownField(name: string): Option<any>;
162
+ TryGetInt64(name: string): Option<int64>;
163
+ TryGetFloat(name: string): Option<float64>;
164
+ TryGetExpression(name: string): Option<string>;
165
+ get KnownFieldValues(): FSharpList<[string, Option<any>]>;
166
+ Equals(o: any): boolean;
167
+ GetHashCode(): int32;
168
+ static get KnownFieldNames(): FSharpSet<string>;
91
169
  }
92
170
  export declare function ResourceRequirementInstance_$reflection(): TypeInfo;
93
171
  export declare function ResourceRequirementInstance_$ctor_D76FC00(coresMin?: Option<any>, coresMax?: Option<any>, ramMin?: Option<any>, ramMax?: Option<any>, tmpdirMin?: Option<any>, tmpdirMax?: Option<any>, outdirMin?: Option<any>, outdirMax?: Option<any>): ResourceRequirementInstance;
94
- export declare function ResourceRequirementInstance__TryGetInt64_Z721C83C5(this$: ResourceRequirementInstance, name: string): Option<int64>;
95
- export declare function ResourceRequirementInstance__TryGetFloat_Z721C83C5(this$: ResourceRequirementInstance, name: string): Option<float64>;
96
- export declare function ResourceRequirementInstance__TryGetExpression_Z721C83C5(this$: ResourceRequirementInstance, name: string): Option<string>;
97
172
  export type InitialWorkDirEntry_$union = InitialWorkDirEntry<0> | InitialWorkDirEntry<1> | InitialWorkDirEntry<2> | InitialWorkDirEntry<3>;
98
173
  export type InitialWorkDirEntry_$cases = {
99
174
  0: ["DirentEntry", [DirentInstance]];
@@ -112,18 +187,32 @@ export declare class InitialWorkDirEntry<Tag extends keyof InitialWorkDirEntry_$
112
187
  cases(): string[];
113
188
  }
114
189
  export declare function InitialWorkDirEntry_$reflection(): TypeInfo;
115
- export declare class InlineJavascriptRequirementValue extends Record implements IEquatable<InlineJavascriptRequirementValue> {
116
- readonly ExpressionLib: Option<string[]>;
117
- constructor(ExpressionLib: Option<string[]>);
190
+ export declare class InlineJavascriptRequirementValue extends DynamicObj {
191
+ _expressionLib: Option<string[]>;
192
+ constructor(expressionLib?: string[]);
193
+ get ExpressionLib(): string[] | undefined;
194
+ set ExpressionLib(value: Option<string[]>);
195
+ Equals(o: any): boolean;
196
+ GetHashCode(): int32;
197
+ static get defaultEmpty(): InlineJavascriptRequirementValue;
198
+ static get KnownFieldNames(): FSharpSet<string>;
118
199
  }
119
200
  export declare function InlineJavascriptRequirementValue_$reflection(): TypeInfo;
120
- export declare function InlineJavascriptRequirementValue_get_defaultEmpty(): InlineJavascriptRequirementValue;
121
- export declare class HintUnknownValue extends Record implements IEquatable<HintUnknownValue>, IComparable<HintUnknownValue> {
122
- readonly Class: Option<string>;
123
- readonly Raw: YAMLElement_$union;
124
- constructor(Class: Option<string>, Raw: YAMLElement_$union);
201
+ export declare function InlineJavascriptRequirementValue_$ctor_Z342FD1DF(expressionLib?: string[]): InlineJavascriptRequirementValue;
202
+ export declare class HintUnknownValue extends DynamicObj {
203
+ _class: Option<string>;
204
+ _raw: YAMLElement_$union;
205
+ constructor(class_: Option<string>, raw: YAMLElement_$union);
206
+ get Class(): string | undefined;
207
+ set Class(value: Option<string>);
208
+ get Raw(): YAMLElement_$union;
209
+ set Raw(value: YAMLElement_$union);
210
+ Equals(o: any): boolean;
211
+ GetHashCode(): int32;
212
+ static get KnownFieldNames(): FSharpSet<string>;
125
213
  }
126
214
  export declare function HintUnknownValue_$reflection(): TypeInfo;
215
+ export declare function HintUnknownValue_$ctor_2D616C51(class_: Option<string>, raw: YAMLElement_$union): HintUnknownValue;
127
216
  export type Requirement_$union = Requirement<0> | Requirement<1> | Requirement<2> | Requirement<3> | Requirement<4> | Requirement<5> | Requirement<6> | Requirement<7> | Requirement<8> | Requirement<9> | Requirement<10> | Requirement<11> | Requirement<12> | Requirement<13> | Requirement<14> | Requirement<15> | Requirement<16> | Requirement<17> | Requirement<18>;
128
217
  export type Requirement_$cases = {
129
218
  0: ["InlineJavascriptRequirement", [InlineJavascriptRequirementValue]];