@nfdi4plants/arctrl 3.1.0 → 3.2.0

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 (892) hide show
  1. package/dist/ts/index.d.ts +3 -0
  2. package/dist/ts/index.d.ts.map +1 -1
  3. package/dist/ts/index.js +3 -0
  4. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +1296 -0
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +174 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +190 -0
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +479 -0
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/Boolean.js +23 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/Char.js +172 -0
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Choice.js +187 -0
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/CollectionUtil.js +148 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +843 -0
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/DateOffset.js +247 -0
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +279 -0
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +53 -0
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Collections.js +48 -0
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +148 -0
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +31 -0
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/Guid.js +140 -0
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +165 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +1282 -0
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +40 -0
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +1298 -0
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/MapUtil.js +126 -0
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +323 -0
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +225 -0
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Native.js +14 -0
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +63 -0
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/Option.js +81 -0
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +174 -0
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +47 -0
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/Reflection.js +471 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +137 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/Result.js +169 -0
  35. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +1398 -0
  36. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +110 -0
  37. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +1670 -0
  38. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +660 -0
  39. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +328 -0
  40. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +201 -0
  41. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +292 -0
  42. package/dist/ts/node_modules/@fable-org/fable-library-ts/TimeSpan.js +170 -0
  43. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +199 -0
  44. package/dist/ts/node_modules/@fable-org/{fable-library-js → fable-library-ts}/Unicode.13.0.0.js +0 -2
  45. package/dist/ts/node_modules/@fable-org/fable-library-ts/Uri.js +154 -0
  46. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +747 -0
  47. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +1052 -0
  48. package/dist/ts/ts/ARC.d.ts +122 -62
  49. package/dist/ts/ts/ARC.d.ts.map +1 -1
  50. package/dist/ts/ts/ARC.js +142 -86
  51. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +32 -0
  52. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -0
  53. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +95 -0
  54. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +12 -12
  55. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  56. package/dist/ts/ts/CWL/CWLProcessingUnit.js +7 -7
  57. package/dist/ts/ts/CWL/CWLTypes.d.ts +219 -59
  58. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  59. package/dist/ts/ts/CWL/CWLTypes.js +696 -124
  60. package/dist/ts/ts/CWL/Decode.d.ts +303 -61
  61. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  62. package/dist/ts/ts/CWL/Decode.js +1162 -679
  63. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +37 -0
  64. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -0
  65. package/dist/ts/ts/CWL/DynamicObjHelpers.js +57 -0
  66. package/dist/ts/ts/CWL/Encode.d.ts +138 -14
  67. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  68. package/dist/ts/ts/CWL/Encode.js +798 -522
  69. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +32 -6
  70. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  71. package/dist/ts/ts/CWL/ExpressionToolDescription.js +31 -3
  72. package/dist/ts/ts/CWL/HashHelpers.d.ts +4 -3
  73. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  74. package/dist/ts/ts/CWL/HashHelpers.js +9 -9
  75. package/dist/ts/ts/CWL/Inputs.d.ts +69 -18
  76. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  77. package/dist/ts/ts/CWL/Inputs.js +191 -52
  78. package/dist/ts/ts/CWL/OperationDescription.d.ts +8 -6
  79. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  80. package/dist/ts/ts/CWL/OperationDescription.js +7 -3
  81. package/dist/ts/ts/CWL/Outputs.d.ts +55 -16
  82. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  83. package/dist/ts/ts/CWL/Outputs.js +170 -75
  84. package/dist/ts/ts/CWL/ParameterReference.d.ts +15 -9
  85. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  86. package/dist/ts/ts/CWL/ParameterReference.js +36 -17
  87. package/dist/ts/ts/CWL/ParameterValue.d.ts +57 -0
  88. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -0
  89. package/dist/ts/ts/CWL/ParameterValue.js +321 -0
  90. package/dist/ts/ts/CWL/Requirements.d.ts +183 -66
  91. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  92. package/dist/ts/ts/CWL/Requirements.js +475 -137
  93. package/dist/ts/ts/CWL/ToolDescription.d.ts +57 -8
  94. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  95. package/dist/ts/ts/CWL/ToolDescription.js +98 -7
  96. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +30 -7
  97. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  98. package/dist/ts/ts/CWL/WorkflowDescription.js +28 -3
  99. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +91 -36
  100. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  101. package/dist/ts/ts/CWL/WorkflowSteps.js +206 -41
  102. package/dist/ts/ts/CWLRunResolver.d.ts +11 -11
  103. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  104. package/dist/ts/ts/CWLRunResolver.js +16 -16
  105. package/dist/ts/ts/Contract/ARC.d.ts +2 -2
  106. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  107. package/dist/ts/ts/Contract/ARC.js +1 -1
  108. package/dist/ts/ts/Contract/ArcAssay.d.ts +7 -6
  109. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  110. package/dist/ts/ts/Contract/ArcAssay.js +15 -10
  111. package/dist/ts/ts/Contract/ArcInvestigation.d.ts +5 -4
  112. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  113. package/dist/ts/ts/Contract/ArcInvestigation.js +12 -7
  114. package/dist/ts/ts/Contract/ArcRun.d.ts +11 -10
  115. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  116. package/dist/ts/ts/Contract/ArcRun.js +24 -21
  117. package/dist/ts/ts/Contract/ArcStudy.d.ts +8 -7
  118. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  119. package/dist/ts/ts/Contract/ArcStudy.js +15 -10
  120. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +9 -8
  121. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  122. package/dist/ts/ts/Contract/ArcWorkflow.js +20 -16
  123. package/dist/ts/ts/Contract/Contract.d.ts +38 -8
  124. package/dist/ts/ts/Contract/Contract.d.ts.map +1 -1
  125. package/dist/ts/ts/Contract/Contract.js +46 -7
  126. package/dist/ts/ts/Contract/Datamap.d.ts +5 -4
  127. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  128. package/dist/ts/ts/Contract/Datamap.js +45 -32
  129. package/dist/ts/ts/Contract/Git.d.ts +6 -5
  130. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  131. package/dist/ts/ts/Contract/Git.js +4 -4
  132. package/dist/ts/ts/Contract/License.d.ts +4 -3
  133. package/dist/ts/ts/Contract/License.d.ts.map +1 -1
  134. package/dist/ts/ts/Contract/License.js +5 -5
  135. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts +5 -4
  136. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  137. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +6 -7
  138. package/dist/ts/ts/ContractIO/ContractIO.d.ts +5 -4
  139. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  140. package/dist/ts/ts/ContractIO/ContractIO.js +49 -44
  141. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +13 -12
  142. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
  143. package/dist/ts/ts/ContractIO/FileSystemHelper.js +6 -6
  144. package/dist/ts/ts/Conversion/Assay.d.ts +5 -5
  145. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  146. package/dist/ts/ts/Conversion/Assay.js +38 -18
  147. package/dist/ts/ts/Conversion/Basic.d.ts +16 -13
  148. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  149. package/dist/ts/ts/Conversion/Basic.js +69 -38
  150. package/dist/ts/ts/Conversion/ColumnIndex.d.ts +3 -3
  151. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  152. package/dist/ts/ts/Conversion/ColumnIndex.js +8 -8
  153. package/dist/ts/ts/Conversion/Datamap.d.ts +4 -4
  154. package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -1
  155. package/dist/ts/ts/Conversion/Datamap.js +2 -2
  156. package/dist/ts/ts/Conversion/DateTime.d.ts +1 -1
  157. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  158. package/dist/ts/ts/Conversion/DateTime.js +7 -6
  159. package/dist/ts/ts/Conversion/Investigation.d.ts +5 -5
  160. package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
  161. package/dist/ts/ts/Conversion/Investigation.js +19 -12
  162. package/dist/ts/ts/Conversion/Person.d.ts +5 -5
  163. package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
  164. package/dist/ts/ts/Conversion/Person.js +57 -25
  165. package/dist/ts/ts/Conversion/Process.d.ts +14 -11
  166. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  167. package/dist/ts/ts/Conversion/Process.js +57 -46
  168. package/dist/ts/ts/Conversion/Run.d.ts +12 -17
  169. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  170. package/dist/ts/ts/Conversion/Run.js +452 -69
  171. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +4 -4
  172. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  173. package/dist/ts/ts/Conversion/ScholarlyArticle.js +26 -17
  174. package/dist/ts/ts/Conversion/Study.d.ts +5 -5
  175. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  176. package/dist/ts/ts/Conversion/Study.js +30 -15
  177. package/dist/ts/ts/Conversion/Table.d.ts +10 -11
  178. package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
  179. package/dist/ts/ts/Conversion/Table.js +17 -24
  180. package/dist/ts/ts/Conversion/Workflow.d.ts +17 -17
  181. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  182. package/dist/ts/ts/Conversion/Workflow.js +86 -47
  183. package/dist/ts/ts/Conversion.d.ts +24 -21
  184. package/dist/ts/ts/Conversion.d.ts.map +1 -1
  185. package/dist/ts/ts/Conversion.js +20 -13
  186. package/dist/ts/ts/Core/ArcTypes.d.ts +331 -76
  187. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/ArcTypes.js +585 -299
  189. package/dist/ts/ts/Core/Comment.d.ts +5 -5
  190. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  191. package/dist/ts/ts/Core/Comment.js +17 -10
  192. package/dist/ts/ts/Core/CommentList.d.ts +3 -3
  193. package/dist/ts/ts/Core/CommentList.d.ts.map +1 -1
  194. package/dist/ts/ts/Core/CommentList.js +8 -8
  195. package/dist/ts/ts/Core/Conversion.d.ts +25 -25
  196. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  197. package/dist/ts/ts/Core/Conversion.js +102 -102
  198. package/dist/ts/ts/Core/Data.d.ts +6 -6
  199. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  200. package/dist/ts/ts/Core/Data.js +11 -10
  201. package/dist/ts/ts/Core/DataContext.d.ts +10 -10
  202. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  203. package/dist/ts/ts/Core/DataContext.js +3 -3
  204. package/dist/ts/ts/Core/DataFile.d.ts +9 -6
  205. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  206. package/dist/ts/ts/Core/DataFile.js +20 -9
  207. package/dist/ts/ts/Core/Datamap.d.ts +17 -16
  208. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  209. package/dist/ts/ts/Core/Datamap.js +16 -14
  210. package/dist/ts/ts/Core/Helper/Collections.d.ts +4 -4
  211. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Helper/Collections.js +30 -37
  213. package/dist/ts/ts/Core/Helper/HashCodes.d.ts +15 -4
  214. package/dist/ts/ts/Core/Helper/HashCodes.d.ts.map +1 -1
  215. package/dist/ts/ts/Core/Helper/HashCodes.js +33 -14
  216. package/dist/ts/ts/Core/Helper/Identifier.d.ts +1 -1
  217. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  218. package/dist/ts/ts/Core/Helper/Identifier.js +10 -8
  219. package/dist/ts/ts/Core/Helper/ORCID.d.ts +1 -1
  220. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  221. package/dist/ts/ts/Core/Helper/ORCID.js +4 -3
  222. package/dist/ts/ts/Core/Helper/Regex.d.ts +7 -7
  223. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  224. package/dist/ts/ts/Core/Helper/Regex.js +20 -12
  225. package/dist/ts/ts/Core/Helper/SemVer.d.ts +5 -5
  226. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  227. package/dist/ts/ts/Core/Helper/SemVer.js +7 -7
  228. package/dist/ts/ts/Core/Helper/Url.d.ts +1 -1
  229. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  230. package/dist/ts/ts/Core/Helper/Url.js +8 -7
  231. package/dist/ts/ts/Core/IdentifierSetters.d.ts +2 -2
  232. package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
  233. package/dist/ts/ts/Core/OntologyAnnotation.d.ts +23 -5
  234. package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
  235. package/dist/ts/ts/Core/OntologyAnnotation.js +116 -45
  236. package/dist/ts/ts/Core/OntologySourceReference.d.ts +4 -4
  237. package/dist/ts/ts/Core/OntologySourceReference.d.ts.map +1 -1
  238. package/dist/ts/ts/Core/OntologySourceReference.js +4 -4
  239. package/dist/ts/ts/Core/Person.d.ts +19 -9
  240. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  241. package/dist/ts/ts/Core/Person.js +27 -11
  242. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts +11 -11
  243. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  244. package/dist/ts/ts/Core/Process/ColumnIndex.js +68 -29
  245. package/dist/ts/ts/Core/Process/Component.d.ts +16 -16
  246. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  247. package/dist/ts/ts/Core/Process/Component.js +38 -25
  248. package/dist/ts/ts/Core/Process/Factor.d.ts +53 -8
  249. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  250. package/dist/ts/ts/Core/Process/Factor.js +62 -11
  251. package/dist/ts/ts/Core/Process/FactorValue.d.ts +15 -15
  252. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  253. package/dist/ts/ts/Core/Process/FactorValue.js +39 -47
  254. package/dist/ts/ts/Core/Process/Material.d.ts +9 -9
  255. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  256. package/dist/ts/ts/Core/Process/Material.js +5 -5
  257. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts +7 -7
  258. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  259. package/dist/ts/ts/Core/Process/MaterialAttribute.js +17 -8
  260. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts +15 -15
  261. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  262. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +45 -48
  263. package/dist/ts/ts/Core/Process/MaterialType.d.ts +7 -5
  264. package/dist/ts/ts/Core/Process/MaterialType.d.ts.map +1 -1
  265. package/dist/ts/ts/Core/Process/MaterialType.js +14 -7
  266. package/dist/ts/ts/Core/Process/Process.d.ts +22 -22
  267. package/dist/ts/ts/Core/Process/Process.d.ts.map +1 -1
  268. package/dist/ts/ts/Core/Process/Process.js +42 -26
  269. package/dist/ts/ts/Core/Process/ProcessInput.d.ts +14 -14
  270. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  271. package/dist/ts/ts/Core/Process/ProcessInput.js +15 -10
  272. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts +14 -14
  273. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  274. package/dist/ts/ts/Core/Process/ProcessOutput.js +15 -10
  275. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts +30 -15
  276. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  277. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +56 -46
  278. package/dist/ts/ts/Core/Process/ProcessSequence.d.ts +16 -16
  279. package/dist/ts/ts/Core/Process/ProcessSequence.d.ts.map +1 -1
  280. package/dist/ts/ts/Core/Process/ProcessSequence.js +33 -26
  281. package/dist/ts/ts/Core/Process/Protocol.d.ts +9 -9
  282. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  283. package/dist/ts/ts/Core/Process/Protocol.js +21 -13
  284. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts +28 -7
  285. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  286. package/dist/ts/ts/Core/Process/ProtocolParameter.js +33 -8
  287. package/dist/ts/ts/Core/Process/Sample.d.ts +10 -10
  288. package/dist/ts/ts/Core/Process/Sample.d.ts.map +1 -1
  289. package/dist/ts/ts/Core/Process/Sample.js +5 -5
  290. package/dist/ts/ts/Core/Process/Source.d.ts +8 -8
  291. package/dist/ts/ts/Core/Process/Source.d.ts.map +1 -1
  292. package/dist/ts/ts/Core/Process/Source.js +5 -5
  293. package/dist/ts/ts/Core/Publication.d.ts +5 -5
  294. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  295. package/dist/ts/ts/Core/Publication.js +18 -11
  296. package/dist/ts/ts/Core/ScalarValue.d.ts +41 -0
  297. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -0
  298. package/dist/ts/ts/Core/{Value.js → ScalarValue.js} +56 -29
  299. package/dist/ts/ts/Core/Table/ArcTable.d.ts +134 -15
  300. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  301. package/dist/ts/ts/Core/Table/ArcTable.js +204 -68
  302. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +15 -10
  303. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  304. package/dist/ts/ts/Core/Table/ArcTableAux.js +75 -71
  305. package/dist/ts/ts/Core/Table/ArcTables.d.ts +12 -9
  306. package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
  307. package/dist/ts/ts/Core/Table/ArcTables.js +42 -38
  308. package/dist/ts/ts/Core/Table/CompositeCell.d.ts +46 -7
  309. package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
  310. package/dist/ts/ts/Core/Table/CompositeCell.js +52 -12
  311. package/dist/ts/ts/Core/Table/CompositeColumn.d.ts +20 -7
  312. package/dist/ts/ts/Core/Table/CompositeColumn.d.ts.map +1 -1
  313. package/dist/ts/ts/Core/Table/CompositeColumn.js +17 -4
  314. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts +116 -22
  315. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  316. package/dist/ts/ts/Core/Table/CompositeHeader.js +219 -65
  317. package/dist/ts/ts/Core/Template.d.ts +15 -9
  318. package/dist/ts/ts/Core/Template.d.ts.map +1 -1
  319. package/dist/ts/ts/Core/Template.js +19 -11
  320. package/dist/ts/ts/Core/Templates.d.ts +24 -5
  321. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  322. package/dist/ts/ts/Core/Templates.js +26 -8
  323. package/dist/ts/ts/Core/URI.d.ts.map +1 -1
  324. package/dist/ts/ts/CrossAsync.d.ts +6 -5
  325. package/dist/ts/ts/CrossAsync.d.ts.map +1 -1
  326. package/dist/ts/ts/CrossAsync.js +6 -6
  327. package/dist/ts/ts/FileSystem/Commit.d.ts +3 -3
  328. package/dist/ts/ts/FileSystem/Commit.d.ts.map +1 -1
  329. package/dist/ts/ts/FileSystem/Commit.js +2 -2
  330. package/dist/ts/ts/FileSystem/FileSystem.d.ts +9 -9
  331. package/dist/ts/ts/FileSystem/FileSystem.d.ts.map +1 -1
  332. package/dist/ts/ts/FileSystem/FileSystem.js +4 -4
  333. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +35 -16
  334. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  335. package/dist/ts/ts/FileSystem/FileSystemTree.js +36 -18
  336. package/dist/ts/ts/FileSystem/Path.d.ts +9 -8
  337. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  338. package/dist/ts/ts/FileSystem/Path.js +13 -13
  339. package/dist/ts/ts/Json/Assay.d.ts +9 -9
  340. package/dist/ts/ts/Json/Assay.d.ts.map +1 -1
  341. package/dist/ts/ts/Json/Assay.js +86 -50
  342. package/dist/ts/ts/Json/Comment.d.ts +4 -4
  343. package/dist/ts/ts/Json/Comment.d.ts.map +1 -1
  344. package/dist/ts/ts/Json/Comment.js +38 -17
  345. package/dist/ts/ts/Json/Data.d.ts +7 -7
  346. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  347. package/dist/ts/ts/Json/Data.js +48 -20
  348. package/dist/ts/ts/Json/DataFile.d.ts +2 -2
  349. package/dist/ts/ts/Json/DataFile.d.ts.map +1 -1
  350. package/dist/ts/ts/Json/DataFile.js +10 -9
  351. package/dist/ts/ts/Json/Datamap/DataContext.d.ts +2 -2
  352. package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
  353. package/dist/ts/ts/Json/Datamap/DataContext.js +14 -7
  354. package/dist/ts/ts/Json/Datamap/Datamap.d.ts +7 -7
  355. package/dist/ts/ts/Json/Datamap/Datamap.d.ts.map +1 -1
  356. package/dist/ts/ts/Json/Datamap/Datamap.js +4 -4
  357. package/dist/ts/ts/Json/Decode.d.ts +6 -6
  358. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  359. package/dist/ts/ts/Json/Decode.js +32 -32
  360. package/dist/ts/ts/Json/Encode.d.ts +6 -5
  361. package/dist/ts/ts/Json/Encode.d.ts.map +1 -1
  362. package/dist/ts/ts/Json/Encode.js +28 -26
  363. package/dist/ts/ts/Json/IDTable.d.ts +2 -2
  364. package/dist/ts/ts/Json/IDTable.d.ts.map +1 -1
  365. package/dist/ts/ts/Json/IDTable.js +2 -2
  366. package/dist/ts/ts/Json/Investigation.d.ts +9 -9
  367. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  368. package/dist/ts/ts/Json/Investigation.js +68 -33
  369. package/dist/ts/ts/Json/OntologyAnnotation.d.ts +6 -6
  370. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  371. package/dist/ts/ts/Json/OntologyAnnotation.js +60 -25
  372. package/dist/ts/ts/Json/OntologySourceReference.d.ts +4 -4
  373. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  374. package/dist/ts/ts/Json/OntologySourceReference.js +36 -15
  375. package/dist/ts/ts/Json/Person.d.ts +5 -5
  376. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  377. package/dist/ts/ts/Json/Person.js +57 -29
  378. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +5 -5
  379. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  380. package/dist/ts/ts/Json/Process/AssayMaterials.js +12 -5
  381. package/dist/ts/ts/Json/Process/Component.d.ts +5 -5
  382. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  383. package/dist/ts/ts/Json/Process/Component.js +25 -11
  384. package/dist/ts/ts/Json/Process/Factor.d.ts +4 -4
  385. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  386. package/dist/ts/ts/Json/Process/Factor.js +17 -9
  387. package/dist/ts/ts/Json/Process/FactorValue.d.ts +5 -5
  388. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  389. package/dist/ts/ts/Json/Process/FactorValue.js +14 -7
  390. package/dist/ts/ts/Json/Process/Material.d.ts +5 -5
  391. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  392. package/dist/ts/ts/Json/Process/Material.js +31 -31
  393. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +4 -4
  394. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  395. package/dist/ts/ts/Json/Process/MaterialAttribute.js +16 -8
  396. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +5 -5
  397. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  398. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +14 -7
  399. package/dist/ts/ts/Json/Process/MaterialType.d.ts +2 -2
  400. package/dist/ts/ts/Json/Process/MaterialType.d.ts.map +1 -1
  401. package/dist/ts/ts/Json/Process/MaterialType.js +9 -8
  402. package/dist/ts/ts/Json/Process/Process.d.ts +4 -4
  403. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  404. package/dist/ts/ts/Json/Process/Process.js +28 -14
  405. package/dist/ts/ts/Json/Process/ProcessInput.d.ts +4 -4
  406. package/dist/ts/ts/Json/Process/ProcessInput.d.ts.map +1 -1
  407. package/dist/ts/ts/Json/Process/ProcessInput.js +2 -2
  408. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +4 -4
  409. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts.map +1 -1
  410. package/dist/ts/ts/Json/Process/ProcessOutput.js +2 -2
  411. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +5 -5
  412. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  413. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +16 -8
  414. package/dist/ts/ts/Json/Process/Protocol.d.ts +4 -4
  415. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  416. package/dist/ts/ts/Json/Process/Protocol.js +30 -16
  417. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -4
  418. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  419. package/dist/ts/ts/Json/Process/ProtocolParameter.js +16 -8
  420. package/dist/ts/ts/Json/Process/Sample.d.ts +7 -7
  421. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  422. package/dist/ts/ts/Json/Process/Sample.js +37 -60
  423. package/dist/ts/ts/Json/Process/Source.d.ts +5 -5
  424. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  425. package/dist/ts/ts/Json/Process/Source.js +34 -57
  426. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +5 -5
  427. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  428. package/dist/ts/ts/Json/Process/StudyMaterials.js +12 -5
  429. package/dist/ts/ts/Json/Process/Value.d.ts +6 -6
  430. package/dist/ts/ts/Json/Process/Value.d.ts.map +1 -1
  431. package/dist/ts/ts/Json/Process/Value.js +4 -4
  432. package/dist/ts/ts/Json/PropertyValue.d.ts +6 -6
  433. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  434. package/dist/ts/ts/Json/PropertyValue.js +31 -22
  435. package/dist/ts/ts/Json/Publication.d.ts +5 -5
  436. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  437. package/dist/ts/ts/Json/Publication.js +36 -15
  438. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +2 -2
  439. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
  440. package/dist/ts/ts/Json/ROCrate/LDContext.js +17 -16
  441. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +2 -2
  442. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts.map +1 -1
  443. package/dist/ts/ts/Json/ROCrate/LDGraph.js +21 -14
  444. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +2 -2
  445. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
  446. package/dist/ts/ts/Json/ROCrate/LDNode.js +94 -29
  447. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +2 -2
  448. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts.map +1 -1
  449. package/dist/ts/ts/Json/ROCrate/LDRef.js +4 -4
  450. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +2 -2
  451. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts.map +1 -1
  452. package/dist/ts/ts/Json/ROCrate/LDValue.js +8 -7
  453. package/dist/ts/ts/Json/Run.d.ts +7 -7
  454. package/dist/ts/ts/Json/Run.d.ts.map +1 -1
  455. package/dist/ts/ts/Json/Run.js +28 -14
  456. package/dist/ts/ts/Json/StringTable.d.ts +7 -7
  457. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  458. package/dist/ts/ts/Json/StringTable.js +10 -10
  459. package/dist/ts/ts/Json/Study.d.ts +9 -9
  460. package/dist/ts/ts/Json/Study.d.ts.map +1 -1
  461. package/dist/ts/ts/Json/Study.js +79 -45
  462. package/dist/ts/ts/Json/Table/ArcTable.d.ts +10 -10
  463. package/dist/ts/ts/Json/Table/ArcTable.d.ts.map +1 -1
  464. package/dist/ts/ts/Json/Table/ArcTable.js +28 -28
  465. package/dist/ts/ts/Json/Table/CellTable.d.ts +9 -9
  466. package/dist/ts/ts/Json/Table/CellTable.d.ts.map +1 -1
  467. package/dist/ts/ts/Json/Table/CellTable.js +8 -8
  468. package/dist/ts/ts/Json/Table/CompositeCell.d.ts +6 -6
  469. package/dist/ts/ts/Json/Table/CompositeCell.d.ts.map +1 -1
  470. package/dist/ts/ts/Json/Table/CompositeCell.js +7 -7
  471. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +2 -2
  472. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts.map +1 -1
  473. package/dist/ts/ts/Json/Table/CompositeHeader.js +7 -7
  474. package/dist/ts/ts/Json/Table/IOType.d.ts +2 -2
  475. package/dist/ts/ts/Json/Table/IOType.d.ts.map +1 -1
  476. package/dist/ts/ts/Json/Table/IOType.js +2 -2
  477. package/dist/ts/ts/Json/Table/OATable.d.ts +8 -8
  478. package/dist/ts/ts/Json/Table/OATable.d.ts.map +1 -1
  479. package/dist/ts/ts/Json/Table/OATable.js +8 -8
  480. package/dist/ts/ts/Json/Table/Templates.d.ts +9 -9
  481. package/dist/ts/ts/Json/Table/Templates.d.ts.map +1 -1
  482. package/dist/ts/ts/Json/Table/Templates.js +11 -11
  483. package/dist/ts/ts/Json/Workflow.d.ts +7 -7
  484. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
  485. package/dist/ts/ts/Json/Workflow.js +28 -14
  486. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +4 -4
  487. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -1
  488. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +3 -3
  489. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +4 -4
  490. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -1
  491. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +3 -3
  492. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +4 -4
  493. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -1
  494. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +3 -3
  495. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +4 -4
  496. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -1
  497. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +3 -3
  498. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +4 -4
  499. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -1
  500. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +3 -3
  501. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +4 -4
  502. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -1
  503. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
  504. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +4 -4
  505. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -1
  506. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
  507. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +4 -4
  508. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -1
  509. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +3 -3
  510. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +4 -4
  511. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -1
  512. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +3 -3
  513. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +4 -4
  514. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -1
  515. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +3 -3
  516. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +4 -4
  517. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -1
  518. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +3 -3
  519. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +4 -4
  520. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -1
  521. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +3 -3
  522. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +4 -4
  523. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -1
  524. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +3 -3
  525. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +4 -4
  526. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -1
  527. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +3 -3
  528. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +4 -4
  529. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -1
  530. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +3 -3
  531. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
  532. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -1
  533. package/dist/ts/ts/Json/context/rocrate/property_value_context.js +1 -1
  534. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +4 -4
  535. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -1
  536. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +3 -3
  537. package/dist/ts/ts/Json.d.ts +10 -10
  538. package/dist/ts/ts/Json.d.ts.map +1 -1
  539. package/dist/ts/ts/Json.js +5 -5
  540. package/dist/ts/ts/JsonIO/Assay.d.ts +6 -7
  541. package/dist/ts/ts/JsonIO/Assay.d.ts.map +1 -1
  542. package/dist/ts/ts/JsonIO/Assay.js +13 -12
  543. package/dist/ts/ts/JsonIO/Datamap.d.ts +3 -4
  544. package/dist/ts/ts/JsonIO/Datamap.d.ts.map +1 -1
  545. package/dist/ts/ts/JsonIO/Datamap.js +7 -6
  546. package/dist/ts/ts/JsonIO/Investigation.d.ts +5 -6
  547. package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
  548. package/dist/ts/ts/JsonIO/Investigation.js +11 -10
  549. package/dist/ts/ts/JsonIO/LDObject.d.ts +5 -6
  550. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  551. package/dist/ts/ts/JsonIO/LDObject.js +14 -13
  552. package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts +5 -6
  553. package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -1
  554. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +11 -10
  555. package/dist/ts/ts/JsonIO/Person.d.ts +5 -6
  556. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -1
  557. package/dist/ts/ts/JsonIO/Person.js +11 -10
  558. package/dist/ts/ts/JsonIO/Run.d.ts +4 -5
  559. package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -1
  560. package/dist/ts/ts/JsonIO/Run.js +9 -8
  561. package/dist/ts/ts/JsonIO/Study.d.ts +7 -8
  562. package/dist/ts/ts/JsonIO/Study.d.ts.map +1 -1
  563. package/dist/ts/ts/JsonIO/Study.js +13 -12
  564. package/dist/ts/ts/JsonIO/Table/Compression.d.ts +6 -6
  565. package/dist/ts/ts/JsonIO/Table/Compression.d.ts.map +1 -1
  566. package/dist/ts/ts/JsonIO/Table/Compression.js +4 -4
  567. package/dist/ts/ts/JsonIO/Table/Templates.d.ts +10 -10
  568. package/dist/ts/ts/JsonIO/Table/Templates.d.ts.map +1 -1
  569. package/dist/ts/ts/JsonIO/Table/Templates.js +13 -12
  570. package/dist/ts/ts/JsonIO/Workflow.d.ts +4 -5
  571. package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -1
  572. package/dist/ts/ts/JsonIO/Workflow.js +9 -8
  573. package/dist/ts/ts/License.d.ts +12 -6
  574. package/dist/ts/ts/License.d.ts.map +1 -1
  575. package/dist/ts/ts/License.js +49 -14
  576. package/dist/ts/ts/ROCrate/Helper.d.ts.map +1 -1
  577. package/dist/ts/ts/ROCrate/Helper.js +1 -1
  578. package/dist/ts/ts/ROCrate/LDContext.d.ts +15 -4
  579. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  580. package/dist/ts/ts/ROCrate/LDContext.js +27 -16
  581. package/dist/ts/ts/ROCrate/LDObject.d.ts +19 -10
  582. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  583. package/dist/ts/ts/ROCrate/LDObject.js +76 -38
  584. package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts +4 -4
  585. package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts.map +1 -1
  586. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +11 -9
  587. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +5 -5
  588. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -1
  589. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +18 -16
  590. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +4 -4
  591. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -1
  592. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +22 -16
  593. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +4 -4
  594. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -1
  595. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +15 -13
  596. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +4 -4
  597. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  598. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +25 -23
  599. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts +4 -4
  600. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  601. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +48 -45
  602. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts +4 -4
  603. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts.map +1 -1
  604. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +11 -9
  605. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts +4 -4
  606. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -1
  607. package/dist/ts/ts/ROCrate/LDTypes/File.js +15 -13
  608. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +4 -4
  609. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -1
  610. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +18 -16
  611. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts +4 -4
  612. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -1
  613. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +16 -14
  614. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts +4 -4
  615. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -1
  616. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +17 -16
  617. package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts +4 -4
  618. package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts.map +1 -1
  619. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +8 -6
  620. package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts +4 -4
  621. package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts.map +1 -1
  622. package/dist/ts/ts/ROCrate/LDTypes/Person.js +28 -25
  623. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts +4 -4
  624. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts.map +1 -1
  625. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +17 -16
  626. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +10 -6
  627. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  628. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +104 -61
  629. package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts +4 -4
  630. package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts.map +1 -1
  631. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +14 -13
  632. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts +4 -4
  633. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts.map +1 -1
  634. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +12 -10
  635. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +5 -5
  636. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -1
  637. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +11 -10
  638. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +3 -3
  639. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -1
  640. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +4 -3
  641. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +3 -3
  642. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -1
  643. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +4 -3
  644. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +1 -1
  645. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
  646. package/dist/ts/ts/ROCrate/ROCrateContext.js +2 -2
  647. package/dist/ts/ts/ROCrateIO.d.ts +13 -8
  648. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  649. package/dist/ts/ts/ROCrateIO.js +16 -13
  650. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +13 -12
  651. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  652. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +15 -15
  653. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -8
  654. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  655. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +23 -12
  656. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +14 -14
  657. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  658. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +17 -18
  659. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +18 -17
  660. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -1
  661. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +37 -29
  662. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +6 -6
  663. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  664. package/dist/ts/ts/Spreadsheet/ArcAssay.js +16 -15
  665. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +14 -14
  666. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
  667. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +21 -21
  668. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +5 -5
  669. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  670. package/dist/ts/ts/Spreadsheet/ArcRun.js +9 -9
  671. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +7 -7
  672. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  673. package/dist/ts/ts/Spreadsheet/ArcStudy.js +13 -12
  674. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +5 -5
  675. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  676. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +9 -9
  677. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts +8 -8
  678. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  679. package/dist/ts/ts/Spreadsheet/CollectionAux.js +11 -11
  680. package/dist/ts/ts/Spreadsheet/Datamap.d.ts +2 -2
  681. package/dist/ts/ts/Spreadsheet/Datamap.d.ts.map +1 -1
  682. package/dist/ts/ts/Spreadsheet/Datamap.js +6 -5
  683. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts +4 -4
  684. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
  685. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +14 -10
  686. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts +7 -7
  687. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
  688. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +30 -21
  689. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts +7 -7
  690. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  691. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +10 -10
  692. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts +7 -7
  693. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  694. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +12 -9
  695. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +5 -5
  696. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  697. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +11 -7
  698. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts +7 -7
  699. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  700. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +8 -8
  701. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts +9 -8
  702. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -1
  703. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -6
  704. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +7 -7
  705. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -1
  706. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  707. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts +7 -7
  708. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  709. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -6
  710. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +7 -7
  711. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  712. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -7
  713. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +7 -7
  714. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
  715. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +7 -7
  716. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts +7 -7
  717. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  718. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +9 -8
  719. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts +7 -7
  720. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  721. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +11 -9
  722. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +7 -7
  723. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  724. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +13 -10
  725. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +10 -10
  726. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  727. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +55 -49
  728. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts +14 -14
  729. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  730. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -10
  731. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts +7 -7
  732. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  733. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +8 -8
  734. package/dist/ts/ts/Template.Web.d.ts +10 -6
  735. package/dist/ts/ts/Template.Web.d.ts.map +1 -1
  736. package/dist/ts/ts/Template.Web.js +4 -4
  737. package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts +6 -3
  738. package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -1
  739. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +10 -7
  740. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts +7 -4
  741. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -1
  742. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +29 -24
  743. package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts +1 -1
  744. package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts.map +1 -1
  745. package/dist/ts/ts/WebRequest/WebRequest.Node.js +4 -4
  746. package/dist/ts/ts/WebRequest/WebRequest.d.ts +1 -1
  747. package/dist/ts/ts/WebRequest/WebRequest.d.ts.map +1 -1
  748. package/dist/ts/ts/WebRequest/WebRequest.js +3 -3
  749. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +6 -6
  750. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  751. package/dist/ts/ts/WorkflowGraph/Adapters.js +13 -13
  752. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +7 -4
  753. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -1
  754. package/dist/ts/ts/WorkflowGraph/BuildOptions.js +2 -2
  755. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -19
  756. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  757. package/dist/ts/ts/WorkflowGraph/Builder.js +82 -68
  758. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +52 -32
  759. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  760. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +90 -30
  761. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +5 -5
  762. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  763. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +6 -5
  764. package/dist/ts/ts/Xlsx.d.ts +5 -5
  765. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  766. package/dist/ts/ts/Xlsx.js +8 -6
  767. package/dist/ts/ts/Yaml/Encode.d.ts +2 -2
  768. package/dist/ts/ts/Yaml/Encode.d.ts.map +1 -1
  769. package/dist/ts/ts/Yaml/Encode.js +2 -2
  770. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +4 -5
  771. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  772. package/dist/ts/ts/Yaml/ValidationPackage.js +12 -12
  773. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +4 -5
  774. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  775. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +12 -12
  776. package/dist/ts/ts/Yaml.d.ts +3 -3
  777. package/dist/ts/ts/Yaml.d.ts.map +1 -1
  778. package/dist/ts/ts/Yaml.js +3 -8
  779. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/DynObj.fs.js +6 -6
  780. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +515 -0
  781. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/FableJS.fs.js +23 -8
  782. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/HashCodes.fs.js +11 -11
  783. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/PropertyHelper.fs.js +2 -2
  784. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/ReflectionUtils.fs.js +16 -6
  785. package/dist/ts/ts/fable_modules/{Fable.Fetch.2.6.0 → Fable.Fetch.2.7.0}/Fetch.fs.js +11 -11
  786. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +8 -7
  787. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +3 -3
  788. package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Http.fs.js +21 -21
  789. package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Types.fs.js +52 -19
  790. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCell.fs.js +255 -126
  791. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCellsCollection.fs.js +135 -18
  792. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/CellBuilder.fs.js +9 -9
  793. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Expression.fs.js +1 -1
  794. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/RowBuilder.fs.js +5 -5
  795. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Types.fs.js +16 -16
  796. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsAddress.fs.js +41 -17
  797. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsColumn.fs.js +70 -7
  798. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsRow.fs.js +76 -8
  799. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorkbook.fs.js +77 -11
  800. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorksheet.fs.js +237 -32
  801. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/HashCodes.fs.js +9 -9
  802. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Cell.fs.js +10 -10
  803. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Column.fs.js +6 -6
  804. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Row.fs.js +6 -6
  805. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Table.fs.js +3 -3
  806. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Value.fs.js +11 -11
  807. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Workbook.fs.js +3 -3
  808. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Worksheet.fs.js +8 -8
  809. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRange.fs.js +6 -5
  810. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeAddress.fs.js +11 -5
  811. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeBase.fs.js +18 -13
  812. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeColumn.fs.js +9 -3
  813. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeRow.fs.js +1 -1
  814. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTable.fs.js +185 -26
  815. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTableField.fs.js +48 -5
  816. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +65 -0
  817. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/FsExtensions.fs.js +1 -1
  818. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Json.fs.js +9 -9
  819. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Table.fs.js +15 -14
  820. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Workbook.fs.js +4 -4
  821. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Worksheet.fs.js +4 -4
  822. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Xlsx.fs.js +2 -2
  823. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Decode.fs.js +265 -159
  824. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Encode.fs.js +94 -36
  825. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Types.fs.js +16 -22
  826. package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Decode.fs.js +9 -7
  827. package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Encode.fs.js +2 -3
  828. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Decode.fs.js +100 -134
  829. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
  830. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
  831. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Persil.fs.js +56 -204
  832. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +319 -0
  833. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +1884 -0
  834. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +23 -0
  835. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +16 -16
  836. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +840 -0
  837. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Writer.fs.js +106 -76
  838. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/YAMLiciousTypes.fs.js +74 -32
  839. package/package.json +3 -2
  840. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +0 -1244
  841. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +0 -146
  842. package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +0 -186
  843. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +0 -286
  844. package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +0 -24
  845. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +0 -172
  846. package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +0 -187
  847. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +0 -185
  848. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +0 -750
  849. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +0 -271
  850. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +0 -214
  851. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +0 -49
  852. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +0 -30
  853. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +0 -72
  854. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +0 -10
  855. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +0 -145
  856. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +0 -137
  857. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +0 -1276
  858. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +0 -49
  859. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +0 -1399
  860. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +0 -130
  861. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +0 -330
  862. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +0 -236
  863. package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +0 -10
  864. package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +0 -73
  865. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +0 -99
  866. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +0 -48
  867. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +0 -465
  868. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +0 -133
  869. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +0 -168
  870. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +0 -1381
  871. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +0 -114
  872. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +0 -1792
  873. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +0 -557
  874. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +0 -320
  875. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +0 -165
  876. package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +0 -8
  877. package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +0 -180
  878. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +0 -211
  879. package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +0 -160
  880. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +0 -771
  881. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +0 -825
  882. package/dist/ts/ts/Core/Value.d.ts +0 -41
  883. package/dist/ts/ts/Core/Value.d.ts.map +0 -1
  884. package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js +0 -367
  885. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +0 -68
  886. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/FlowToBlock.fs.js +0 -956
  887. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Preprocessing.fs.js +0 -181
  888. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js +0 -1493
  889. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Regex.fs.js +0 -21
  890. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/StringBuffer.fs.js +0 -60
  891. /package/dist/ts/ts/fable_modules/{Fable.Exceljs.1.6.0 → Fable.Exceljs.2.0.0_565fc3e-alpha.1}/ExcelJs.fs.js +0 -0
  892. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
@@ -1,29 +1,34 @@
1
- import { getEnumerator, disposeSafe, Lazy } from '../../node_modules/@fable-org/fable-library-js/Util.js';
2
- import { length, takeWhile, toArray, delay, collect, append, empty as empty$1, singleton, head as head$1, map as map$2 } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
3
- import { replace, join, trimEnd, trimStart, toText, interpolate, printf, substring, trim } from '../../node_modules/@fable-org/fable-library-js/String.js';
4
- import { item } from '../../node_modules/@fable-org/fable-library-js/Array.js';
5
- import { isMatch } from '../../node_modules/@fable-org/fable-library-js/RegExp.js';
6
- import { value, map as map$1, unwrap, defaultArg, some, bind } from '../../node_modules/@fable-org/fable-library-js/Option.js';
7
- import { choose, isEmpty, head, tail, iterate, map, empty, exists, tryPick, cons, singleton as singleton$1, ofArray, tryHead } from '../../node_modules/@fable-org/fable-library-js/List.js';
8
- import { YAMLElement_Mapping, YAMLElement_Sequence, YAMLElement_Object, YAMLContent_create_Z1C3A29C9, YAMLElement_Value } from '../fable_modules/YAMLicious.1.0.0-alpha.7/YAMLiciousTypes.fs.js';
9
- import { read, object, string, bool, resizearray, int } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Decode.fs.js';
10
- import { setProperty, setOptionalProperty } from '../fable_modules/DynamicObj.7.1.0/DynObj.fs.js';
11
- import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
12
- import { SchemaSaladString_Literal, SchemaSaladString_Import, SchemaSaladString_Include, SchemaSaladStringModule_toDirectiveString, CWLType_Dirent, DirentInstance, DirectoryInstance_$ctor, FileInstance_$ctor, CWLType_Null, CWLType_Stdout, CWLType_Boolean, CWLType_Double, CWLType_Float, CWLType_Long, CWLType_Int, CWLType_String, CWLType_Directory, CWLType_File, CWLType_Array, InputArraySchema, InputRecordField, InputRecordSchema, InputEnumSchema, CWLType_Union, CWLType_Record, CWLType_Enum, SoftwarePackage, SchemaDefRequirementType } from './CWLTypes.js';
13
- import { OutputBinding, CWLOutput, OutputSource_Multiple, OutputSource_Single } from './Outputs.js';
14
- import { InitialWorkDirEntry_StringEntry, InitialWorkDirEntry_DirentEntry, InitialWorkDirEntry_DirectoryEntry, InitialWorkDirEntry_FileEntry, DockerRequirement_create_Z6E6AA686, EnvironmentDef, LoadListingRequirementValue, LoadListingEnum_tryParse_Z721C83C5, ResourceRequirementInstance_$ctor_D76FC00, Requirement_WorkReuseExpressionRequirement, Requirement_WorkReuseRequirement, WorkReuseRequirementValue, Requirement_NetworkAccessExpressionRequirement, Requirement_NetworkAccessRequirement, NetworkAccessRequirementValue, InplaceUpdateRequirementValue, ToolTimeLimitValue_ToolTimeLimitExpression, ToolTimeLimitValue_ToolTimeLimitSeconds, InlineJavascriptRequirementValue, Requirement_StepInputExpressionRequirement, Requirement_MultipleInputFeatureRequirement, Requirement_ScatterFeatureRequirement, Requirement_SubworkflowFeatureRequirement, Requirement_ToolTimeLimitRequirement, Requirement_InplaceUpdateRequirement, Requirement_ResourceRequirement, Requirement_ShellCommandRequirement, Requirement_EnvVarRequirement, Requirement_InitialWorkDirRequirement, Requirement_LoadListingRequirement, Requirement_SoftwareRequirement, Requirement_DockerRequirement, Requirement_SchemaDefRequirement, Requirement_InlineJavascriptRequirement, HintEntry_UnknownHint, HintUnknownValue, HintEntry_KnownHint } from './Requirements.js';
15
- import { getItemFromDict } from '../../node_modules/@fable-org/fable-library-js/MapUtil.js';
16
- import { compare } from '../../node_modules/@fable-org/fable-library-js/BigInt.js';
17
- import { tryParse } from '../../node_modules/@fable-org/fable-library-js/Long.js';
18
- import { FSharpRef } from '../../node_modules/@fable-org/fable-library-js/Types.js';
19
- import { tryParse as tryParse$1 } from '../../node_modules/@fable-org/fable-library-js/Double.js';
1
+ import { getEnumerator, disposeSafe, Exception, defaultOf, comparePrimitives } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
2
+ import { Record, FSharpRef } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
3
+ import { value, unwrap, defaultArg, some } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
4
+ import { record_type, string_type, option_type, array_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
5
+ import { toText, printf, concat, interpolate, substring, replace, trim } from '../../node_modules/@fable-org/fable-library-ts/String.js';
6
+ import { YAMLElement_Mapping, YAMLElement_Sequence, YAMLElement_Object$, YAMLContent_create_Z1C3A29C9, YAMLElement_Value } from '../fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js';
7
+ import { choose, isEmpty, head, tail, empty, map, exists, tryPick, mapIndexed, cons, singleton, ofArray, append, filter } from '../../node_modules/@fable-org/fable-library-ts/List.js';
8
+ import { KeyNotFoundException } from '../../node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js';
9
+ import { ArgumentException, FormatException, InvalidOperationException, ArgumentException_$ctor_Z721C83C5, InvalidOperationException_$ctor_Z721C83C5 } from '../../node_modules/@fable-org/fable-library-ts/System.js';
10
+ import { read, object, string, bool, resizearray, int } from '../fable_modules/YAMLicious.1.0.0/Decode.fs.js';
11
+ import { compare } from '../../node_modules/@fable-org/fable-library-ts/BigInt.js';
12
+ import { tryParse } from '../../node_modules/@fable-org/fable-library-ts/Boolean.js';
13
+ import { tryParse as tryParse$1 } from '../../node_modules/@fable-org/fable-library-ts/Long.js';
14
+ import { tryParse as tryParse$2 } from '../../node_modules/@fable-org/fable-library-ts/Double.js';
15
+ import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
16
+ import { setProperty } from '../fable_modules/DynamicObj.8.0.0/DynObj.fs.js';
17
+ import { LoadListingEnum_tryParse_Z721C83C5, InitialWorkDirEntry_StringEntry, InitialWorkDirEntry_DirentEntry, InitialWorkDirEntry_DirectoryEntry, InitialWorkDirEntry_FileEntry, DockerRequirement, EnvironmentDef, LoadListingRequirementValue, ResourceRequirementInstance, Requirement_WorkReuseExpressionRequirement, Requirement_WorkReuseRequirement, WorkReuseRequirementValue, Requirement_NetworkAccessExpressionRequirement, Requirement_NetworkAccessRequirement, NetworkAccessRequirementValue, InplaceUpdateRequirementValue, ToolTimeLimitValue_ToolTimeLimitExpression, ToolTimeLimitValue_ToolTimeLimitSeconds, InlineJavascriptRequirementValue, Requirement, Requirement_ToolTimeLimitRequirement, Requirement_InplaceUpdateRequirement, Requirement_ResourceRequirement, Requirement_EnvVarRequirement, Requirement_InitialWorkDirRequirement, Requirement_LoadListingRequirement, Requirement_SoftwareRequirement, Requirement_DockerRequirement, Requirement_SchemaDefRequirement, Requirement_InlineJavascriptRequirement, HintEntry_UnknownHint, HintUnknownValue, HintEntry_KnownHint } from './Requirements.js';
18
+ import { FileInstance, DirectoryInstance, SchemaSaladString_Literal, SchemaSaladString_Import, SchemaSaladString_Include, SchemaSaladStringModule_toDirectiveString, DirentInstance, CWLType_Dirent, CWLType, CWLType_Directory, CWLType_File, CWLType_Array$, InputArraySchema, InputRecordField, InputRecordSchema, InputEnumSchema, CWLType_Union, CWLType_Enum, CWLType_Record, SoftwarePackage, SchemaDefRequirementType } from './CWLTypes.js';
19
+ import { toList, toArray, delay, map as map$1, head as head$1, length } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
20
+ import { OutputBinding, CWLOutput, OutputSource_Single, OutputSource_Multiple } from './Outputs.js';
21
+ import { item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
22
+ import { getItemFromDict } from '../../node_modules/@fable-org/fable-library-ts/MapUtil.js';
23
+ import { unionMany } from '../../node_modules/@fable-org/fable-library-ts/Set.js';
20
24
  import { InputBinding, CWLInput } from './Inputs.js';
21
- import { LinkMergeMethod, PickValueMethod, ScatterMethod, StepInput, StepOutput_StepOutputRecord, StepOutputParameter, StepOutput_StepOutputString, WorkflowStepRun_RunString, WorkflowStep } from './WorkflowSteps.js';
25
+ import { LinkMergeMethod, PickValueMethod, ScatterMethod, StepInput, StepOutputParameter, StepOutput_StepOutputRecord, StepOutput_StepOutputString, WorkflowStepRun_RunString, WorkflowStep } from './WorkflowSteps.js';
22
26
  import { WorkflowStepRunOps_fromTool, WorkflowStepRunOps_fromOperation, WorkflowStepRunOps_fromExpressionTool, WorkflowStepRunOps_fromWorkflow, CWLProcessingUnit_Operation, CWLProcessingUnit_ExpressionTool, CWLProcessingUnit_Workflow, CWLProcessingUnit_CommandLineTool } from './CWLProcessingUnit.js';
23
- import { CWLToolDescription } from './ToolDescription.js';
27
+ import { CWLWorkflowDescription } from './WorkflowDescription.js';
24
28
  import { CWLExpressionToolDescription } from './ExpressionToolDescription.js';
25
29
  import { CWLOperationDescription } from './OperationDescription.js';
26
- import { CWLWorkflowDescription } from './WorkflowDescription.js';
30
+ import { CWLToolDescription } from './ToolDescription.js';
31
+ import { CWLParameterValue_String$, CWLParameterValue_Record, CWLParameterRecordField, CWLParameterValue_Directory, CWLParameterValue_File, CWLParameterValue_Array$, CWLParameterValue_Int, CWLParameterValue_Float, CWLParameterValue_Boolean$, CWLParameterValue, CWLParameterValueModule_tryInferType } from './ParameterValue.js';
27
32
  import { CWLParameterReference } from './ParameterReference.js';
28
33
 
29
34
  function ResizeArray_map(f, a) {
@@ -39,84 +44,40 @@ function ResizeArray_map(f, a) {
39
44
  }
40
45
  return b;
41
46
  }
42
- function Decode_countLeadingSpaces(line) {
43
- return length(takeWhile((c) => c === " ", line.split("")));
47
+ class Decode_DecodeWarning extends Record {
48
+ constructor(Path, Message, Raw) {
49
+ super();
50
+ this.Path = Path;
51
+ this.Message = Message;
52
+ this.Raw = Raw;
53
+ }
44
54
  }
45
- function Decode_isBlankLine(line) {
46
- return line.trim().length === 0;
55
+ function Decode_DecodeWarning_$reflection() {
56
+ return record_type("ARCtrl.CWL.Decode.DecodeWarning", [], Decode_DecodeWarning, () => [["Path", string_type], ["Message", string_type], ["Raw", option_type(string_type)]]);
47
57
  }
48
- function Decode_normalizeLineEndings(yaml) {
49
- if (yaml == null) {
50
- return "";
51
- } else {
52
- return replace(yaml, "\r\n", "\n");
58
+ class Decode_DecodeResult$1 extends Record {
59
+ constructor(Value, Warnings) {
60
+ super();
61
+ this.Value = Value;
62
+ this.Warnings = Warnings;
53
63
  }
54
64
  }
55
- function Decode_stripLeadingShebang(yaml) {
56
- const normalized = Decode_normalizeLineEndings(yaml);
57
- const lines = normalized.split("\n");
58
- if (lines.length > 0 && item(0, lines).startsWith("#!")) {
59
- return join("\n", lines.slice(1, lines.length));
60
- } else {
61
- return normalized;
62
- }
65
+ function Decode_DecodeResult$1_$reflection(gen0) {
66
+ return record_type("ARCtrl.CWL.Decode.DecodeResult`1", [gen0], Decode_DecodeResult$1, () => [["Value", gen0], ["Warnings", array_type(Decode_DecodeWarning_$reflection())]]);
63
67
  }
64
- function Decode_tryParseBlockScalarHeader(line) {
65
- if (Decode_isBlankLine(line)) {
66
- return void 0;
67
- } else if (isMatch(/^(?:.+:\s*[|>][1-9]?[+-]?\s*(?:#.*)?|-\s*[|>][1-9]?[+-]?\s*(?:#.*)?)$/gu, trimEnd(line))) {
68
- return Decode_countLeadingSpaces(line);
68
+ function Decode_addWarning(warnings, path, message, raw) {
69
+ let mapping = void 0, clo = void 0, option_1 = void 0;
70
+ if (warnings == null) {
69
71
  } else {
70
- return void 0;
72
+ const warningList = value(warnings);
73
+ void warningList.push(new Decode_DecodeWarning(path, message, (mapping = (clo = toText(printf("%A")), clo), option_1 = raw, option_1 != null ? mapping(value(option_1)) : void 0)));
71
74
  }
72
75
  }
73
- function Decode_normalizeYamlInput(yaml) {
74
- const normalized = Decode_stripLeadingShebang(yaml);
75
- const filtered = [];
76
- let blockScalarIndent = void 0;
77
- const processLine = (line_mut) => {
78
- processLine:
79
- while (true) {
80
- const line = line_mut;
81
- if (blockScalarIndent == null) {
82
- const matchValue = Decode_tryParseBlockScalarHeader(line);
83
- if (matchValue == null) {
84
- if (line === "" ? true : line.trim().length > 0) {
85
- void filtered.push(line);
86
- }
87
- } else {
88
- const indent_1 = value(matchValue) | 0;
89
- blockScalarIndent = indent_1;
90
- void filtered.push(line);
91
- }
92
- } else {
93
- const indent = value(blockScalarIndent) | 0;
94
- if (Decode_isBlankLine(line)) {
95
- void filtered.push(line);
96
- } else if (Decode_countLeadingSpaces(line) > indent) {
97
- void filtered.push(line);
98
- } else {
99
- blockScalarIndent = void 0;
100
- line_mut = line;
101
- continue processLine;
102
- }
103
- }
104
- break;
105
- }
106
- };
107
- const array = normalized.split("\n");
108
- array.forEach(processLine);
109
- return trimEnd(join("\n", toArray(filtered)));
110
- }
111
- function Decode_removeFullLineComments(yaml) {
112
- let array;
113
- return join("\n", (array = yaml.split("\n"), array.filter((line) => !trimStart(line).startsWith("#"))));
114
- }
115
76
  function Decode_removeYamlComments(yamlElement) {
116
77
  switch (yamlElement.tag) {
117
78
  case /* Object */
118
79
  3:
119
- return YAMLElement_Object(choose((element) => {
80
+ return YAMLElement_Object$(choose((element) => {
120
81
  if (element.tag === /* Comment */
121
82
  4) {
122
83
  return void 0;
@@ -128,7 +89,7 @@ function Decode_removeYamlComments(yamlElement) {
128
89
  2:
129
90
  return YAMLElement_Sequence(choose((element_1) => {
130
91
  const matchValue = Decode_removeYamlComments(element_1);
131
- let matchResult, other_1;
92
+ let matchResult = void 0, other_1 = void 0;
132
93
  switch (matchValue.tag) {
133
94
  case /* Comment */
134
95
  4: {
@@ -167,8 +128,24 @@ function Decode_removeYamlComments(yamlElement) {
167
128
  }
168
129
  }
169
130
  function Decode_isRecoverableDecodingError(ex) {
170
- let matchResult;
171
- if (ex.message.indexOf("Expected") >= 0) {
131
+ let matchResult = void 0;
132
+ if (ex instanceof KeyNotFoundException) {
133
+ matchResult = 0;
134
+ } else if (ex instanceof ArgumentException) {
135
+ matchResult = 1;
136
+ } else if (ex instanceof FormatException) {
137
+ matchResult = 2;
138
+ } else if (ex instanceof InvalidOperationException) {
139
+ if (ex.message.indexOf("decode") >= 0) {
140
+ matchResult = 3;
141
+ } else if (ex.message.indexOf("Expected") >= 0) {
142
+ matchResult = 4;
143
+ } else if (ex.message.indexOf("Required") >= 0) {
144
+ matchResult = 5;
145
+ } else {
146
+ matchResult = 6;
147
+ }
148
+ } else if (ex.message.indexOf("Expected") >= 0) {
172
149
  matchResult = 4;
173
150
  } else if (ex.message.indexOf("Required") >= 0) {
174
151
  matchResult = 5;
@@ -193,43 +170,31 @@ function Decode_isRecoverableDecodingError(ex) {
193
170
  }
194
171
  }
195
172
  function Decode_readSanitizedYaml(yaml) {
196
- const prepared = Decode_stripLeadingShebang(yaml);
197
- const tryRead = (text) => Decode_removeYamlComments(read(text));
198
- try {
199
- return tryRead(prepared);
200
- } catch (matchValue) {
201
- if (Decode_isRecoverableDecodingError(matchValue)) {
202
- const normalized = Decode_normalizeYamlInput(prepared);
203
- try {
204
- return tryRead(normalized);
205
- } catch (matchValue_1) {
206
- if (Decode_isRecoverableDecodingError(matchValue_1)) {
207
- return tryRead(Decode_removeFullLineComments(normalized));
208
- } else {
209
- throw matchValue_1;
210
- }
211
- }
212
- } else {
213
- throw matchValue;
214
- }
215
- }
173
+ return Decode_removeYamlComments(read(yaml));
174
+ }
175
+ function Decode_boxOverflowInt64(value) {
176
+ return value;
216
177
  }
217
178
  function Decode_overflowDecoder(dynObj, dict) {
218
- let enumerator = getEnumerator(dict);
219
- try {
220
- while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
221
- const e = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
222
- const matchValue = e[1];
223
- let matchResult, v, s;
224
- if (matchValue.tag === /* Object */
225
- 3) {
226
- if (!isEmpty(matchValue.fields[0])) {
227
- switch (head(matchValue.fields[0]).tag) {
179
+ const decodeOverflowValue = (value_1) => {
180
+ let collection = void 0;
181
+ let matchResult = void 0, v_3 = void 0, items = void 0, other = void 0;
182
+ switch (value_1.tag) {
183
+ case /* Value */
184
+ 1: {
185
+ matchResult = 0;
186
+ v_3 = value_1.fields[0];
187
+ break;
188
+ }
189
+ case /* Object */
190
+ 3: {
191
+ if (!isEmpty(value_1.fields[0])) {
192
+ switch (head(value_1.fields[0]).tag) {
228
193
  case /* Value */
229
194
  1: {
230
- if (isEmpty(tail(matchValue.fields[0]))) {
195
+ if (isEmpty(tail(value_1.fields[0]))) {
231
196
  matchResult = 0;
232
- v = head(matchValue.fields[0]).fields[0];
197
+ v_3 = head(value_1.fields[0]).fields[0];
233
198
  } else {
234
199
  matchResult = 2;
235
200
  }
@@ -237,9 +202,9 @@ function Decode_overflowDecoder(dynObj, dict) {
237
202
  }
238
203
  case /* Sequence */
239
204
  2: {
240
- if (isEmpty(tail(matchValue.fields[0]))) {
205
+ if (isEmpty(tail(value_1.fields[0]))) {
241
206
  matchResult = 1;
242
- s = head(matchValue.fields[0]).fields[0];
207
+ items = head(value_1.fields[0]).fields[0];
243
208
  } else {
244
209
  matchResult = 2;
245
210
  }
@@ -251,34 +216,263 @@ function Decode_overflowDecoder(dynObj, dict) {
251
216
  } else {
252
217
  matchResult = 2;
253
218
  }
219
+ break;
220
+ }
221
+ case /* Sequence */
222
+ 2: {
223
+ matchResult = 1;
224
+ items = value_1.fields[0];
225
+ break;
226
+ }
227
+ default: {
228
+ matchResult = 3;
229
+ other = value_1;
230
+ }
231
+ }
232
+ switch (matchResult) {
233
+ case 0: {
234
+ const value$1 = v_3;
235
+ const matchValue = value$1.Style;
236
+ let matchResult_1 = void 0;
237
+ if (matchValue != null) {
238
+ switch (value(matchValue).tag) {
239
+ case /* SingleQuoted */
240
+ 1:
241
+ case /* DoubleQuoted */
242
+ 2:
243
+ case /* Block */
244
+ 3: {
245
+ matchResult_1 = 0;
246
+ break;
247
+ }
248
+ default:
249
+ matchResult_1 = 1;
250
+ }
251
+ } else {
252
+ matchResult_1 = 1;
253
+ }
254
+ switch (matchResult_1) {
255
+ case 0:
256
+ return value$1.Value;
257
+ default: {
258
+ let matchValue_1;
259
+ let outArg = false;
260
+ matchValue_1 = [tryParse(value$1.Value, new FSharpRef(() => outArg, (v) => {
261
+ outArg = v;
262
+ })), outArg];
263
+ if (matchValue_1[0]) {
264
+ return matchValue_1[1];
265
+ } else {
266
+ let matchValue_2;
267
+ let outArg_1 = 0n;
268
+ matchValue_2 = [tryParse$1(value$1.Value, 7, false, 64, new FSharpRef(() => outArg_1, (v_1) => {
269
+ outArg_1 = v_1;
270
+ })), outArg_1];
271
+ if (matchValue_2[0]) {
272
+ return Decode_boxOverflowInt64(matchValue_2[1]);
273
+ } else {
274
+ let matchValue_3;
275
+ let outArg_2 = 0;
276
+ matchValue_3 = [tryParse$2(value$1.Value, new FSharpRef(() => outArg_2, (v_2) => {
277
+ outArg_2 = v_2;
278
+ })), outArg_2];
279
+ if (matchValue_3[0]) {
280
+ return matchValue_3[1];
281
+ } else {
282
+ return value$1.Value;
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }
288
+ }
289
+ case 1:
290
+ return collection = map(decodeOverflowValue, items), Array.from(collection);
291
+ case 2:
292
+ return Decode_overflowDecoder(new DynamicObj(), object((get$) => get$.Overflow.FieldList(empty()), value_1));
293
+ default:
294
+ return other;
295
+ }
296
+ };
297
+ let enumerator = getEnumerator(dict);
298
+ try {
299
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
300
+ const e = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
301
+ setProperty(e[0], decodeOverflowValue(e[1]), dynObj);
302
+ }
303
+ } finally {
304
+ disposeSafe(enumerator);
305
+ }
306
+ return dynObj;
307
+ }
308
+ function Decode_isIgnorableYamlNoise(value) {
309
+ let matchResult = void 0;
310
+ switch (value.tag) {
311
+ case /* Comment */
312
+ 4: {
313
+ matchResult = 0;
314
+ break;
315
+ }
316
+ case /* Object */
317
+ 3: {
318
+ if (isEmpty(value.fields[0])) {
319
+ matchResult = 1;
254
320
  } else {
255
321
  matchResult = 2;
256
322
  }
257
- switch (matchResult) {
258
- case 0: {
259
- setProperty(e[0], v.Value, dynObj);
260
- break;
323
+ break;
324
+ }
325
+ default:
326
+ matchResult = 2;
327
+ }
328
+ switch (matchResult) {
329
+ case 0:
330
+ return true;
331
+ case 1:
332
+ return true;
333
+ default:
334
+ return false;
335
+ }
336
+ }
337
+ function Decode_tryGetPresentField(fieldName, decoder, value) {
338
+ let matchResult = void 0, fields_1 = void 0;
339
+ if (value.tag === /* Object */
340
+ 3) {
341
+ if (exists((_arg) => {
342
+ let matchResult_1 = void 0, key_1 = void 0;
343
+ if (_arg.tag === /* Mapping */
344
+ 0) {
345
+ if (_arg.fields[0].Value === fieldName) {
346
+ matchResult_1 = 0;
347
+ key_1 = _arg.fields[0];
348
+ } else {
349
+ matchResult_1 = 1;
261
350
  }
262
- case 1: {
263
- const newDynObj = new DynamicObj();
264
- iterate((x) => {
265
- setProperty(e[0], x, dynObj);
266
- }, map((arg) => Decode_overflowDecoder(newDynObj, object((get$) => get$.Overflow.FieldList(empty()), arg)), s));
267
- break;
351
+ } else {
352
+ matchResult_1 = 1;
353
+ }
354
+ switch (matchResult_1) {
355
+ case 0:
356
+ return true;
357
+ default:
358
+ return false;
359
+ }
360
+ }, value.fields[0])) {
361
+ matchResult = 0;
362
+ fields_1 = value.fields[0];
363
+ } else {
364
+ matchResult = 1;
365
+ }
366
+ } else {
367
+ matchResult = 1;
368
+ }
369
+ switch (matchResult) {
370
+ case 0:
371
+ return object((get$) => {
372
+ const objectArg = get$.Optional;
373
+ return objectArg.Field(fieldName, decoder);
374
+ }, value);
375
+ default:
376
+ return void 0;
377
+ }
378
+ }
379
+ function Decode_tryGetStringField(fieldName, value) {
380
+ return Decode_tryGetPresentField(fieldName, string, value);
381
+ }
382
+ function Decode_tryGetBoolField(fieldName, value) {
383
+ return Decode_tryGetPresentField(fieldName, bool, value);
384
+ }
385
+ function Decode_tryGetYamlField(fieldName, value) {
386
+ return Decode_tryGetPresentField(fieldName, (x) => x, value);
387
+ }
388
+ function Decode_tryGetIntArrayField(fieldName, value) {
389
+ return Decode_tryGetPresentField(fieldName, (value_1) => resizearray((value_2) => int(value_2) | 0, value_1), value);
390
+ }
391
+ function Decode_tryGetInt64Field(fieldName, value) {
392
+ return Decode_tryGetPresentField(fieldName, (_arg) => {
393
+ let matchResult = void 0, scalar = void 0, other = void 0;
394
+ switch (_arg.tag) {
395
+ case /* Value */
396
+ 1: {
397
+ matchResult = 0;
398
+ scalar = _arg.fields[0];
399
+ break;
400
+ }
401
+ case /* Object */
402
+ 3: {
403
+ if (!isEmpty(_arg.fields[0])) {
404
+ if (head(_arg.fields[0]).tag === /* Value */
405
+ 1) {
406
+ if (isEmpty(tail(_arg.fields[0]))) {
407
+ matchResult = 0;
408
+ scalar = head(_arg.fields[0]).fields[0];
409
+ } else {
410
+ matchResult = 1;
411
+ other = _arg;
412
+ }
413
+ } else {
414
+ matchResult = 1;
415
+ other = _arg;
416
+ }
417
+ } else {
418
+ matchResult = 1;
419
+ other = _arg;
268
420
  }
269
- case 2: {
270
- setProperty(e[0], e[1], dynObj);
271
- break;
421
+ break;
422
+ }
423
+ default: {
424
+ matchResult = 1;
425
+ other = _arg;
426
+ }
427
+ }
428
+ switch (matchResult) {
429
+ case 0: {
430
+ let matchValue;
431
+ let outArg = 0n;
432
+ matchValue = [tryParse$1(scalar.Value, 7, false, 64, new FSharpRef(() => outArg, (v) => {
433
+ outArg = v;
434
+ })), outArg];
435
+ if (matchValue[0]) {
436
+ return matchValue[1];
437
+ } else {
438
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid int64 value for ", fieldName, ": ", scalar.Value));
272
439
  }
273
440
  }
441
+ default:
442
+ throw ArgumentException_$ctor_Z721C83C5(`Invalid int64 value for ${fieldName}: ${other}`);
274
443
  }
275
- } finally {
276
- disposeSafe(enumerator);
444
+ }, value);
445
+ }
446
+ function Decode_tryGetLoadListingField(fieldName, value$1) {
447
+ let loadListingValue = void 0, matchValue = void 0;
448
+ const option_1 = Decode_tryGetStringField(fieldName, value$1);
449
+ if (option_1 != null) {
450
+ return loadListingValue = value(option_1), matchValue = LoadListingEnum_tryParse_Z721C83C5(loadListingValue), matchValue == null ? (() => {
451
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid loadListing value '", loadListingValue, "'. Expected one of: no_listing, shallow_listing, deep_listing."));
452
+ })() : value(matchValue);
453
+ } else {
454
+ return void 0;
455
+ }
456
+ }
457
+ function Decode_overflowIntoDynamicObj(dynObj, knownFields, value) {
458
+ if (value.tag === /* Object */
459
+ 3) {
460
+ object((get$) => Decode_overflowDecoder(dynObj, get$.Overflow.FieldList(knownFields)), value);
277
461
  }
278
462
  return dynObj;
279
463
  }
464
+ function Decode_decodeFileInstanceFields(element) {
465
+ const file = new FileInstance(unwrap(Decode_tryGetStringField("location", element)), unwrap(Decode_tryGetStringField("path", element)), unwrap(Decode_tryGetStringField("basename", element)), unwrap(Decode_tryGetStringField("dirname", element)), unwrap(Decode_tryGetStringField("nameroot", element)), unwrap(Decode_tryGetStringField("nameext", element)), unwrap(Decode_tryGetStringField("checksum", element)), unwrap(Decode_tryGetInt64Field("size", element)), unwrap(Decode_tryGetYamlField("secondaryFiles", element)), unwrap(Decode_tryGetStringField("format", element)), unwrap(Decode_tryGetStringField("contents", element)));
466
+ Decode_overflowIntoDynamicObj(file, toList(FileInstance.KnownFieldNames), element);
467
+ return file;
468
+ }
469
+ function Decode_decodeDirectoryInstanceFields(element) {
470
+ const directory = new DirectoryInstance(unwrap(Decode_tryGetStringField("location", element)), unwrap(Decode_tryGetStringField("path", element)), unwrap(Decode_tryGetStringField("basename", element)), unwrap(Decode_tryGetYamlField("listing", element)));
471
+ Decode_overflowIntoDynamicObj(directory, toList(DirectoryInstance.KnownFieldNames), element);
472
+ return directory;
473
+ }
280
474
  function Decode_decodeSchemaSaladString(yEle) {
281
- let matchResult, v, c, v_1;
475
+ let matchResult = void 0, v = void 0, c = void 0, v_1 = void 0;
282
476
  switch (yEle.tag) {
283
477
  case /* Value */
284
478
  1: {
@@ -369,22 +563,26 @@ function Decode_decodeSchemaSaladString(yEle) {
369
563
  }
370
564
  }
371
565
  default:
372
- throw new Error(toText(interpolate("Unexpected YAMLElement format in decodeSchemaSaladString: %A%P()", [yEle])));
566
+ throw ArgumentException_$ctor_Z721C83C5(`Unexpected YAMLElement format in decodeSchemaSaladString: ${interpolate("%A%P()", [yEle])}`);
373
567
  }
374
568
  }
375
569
  function Decode_decodeStringOrExpression(yEle) {
376
570
  return SchemaSaladStringModule_toDirectiveString(Decode_decodeSchemaSaladString(yEle));
377
571
  }
378
- const Decode_outputBindingGlobDecoder = (value_1) => object((get$) => {
379
- let objectArg;
380
- return new OutputBinding((objectArg = get$.Optional, objectArg.Field("glob", string)));
381
- }, value_1);
382
- const Decode_outputBindingDecoder = (value) => object((get$) => {
572
+ function Decode_outputBindingGlobDecoder(value) {
573
+ return object((get$) => {
574
+ let objectArg = void 0, objectArg_1 = void 0, objectArg_2 = void 0;
575
+ const binding = new OutputBinding(unwrap((objectArg = get$.Optional, objectArg.Field("glob", string))), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("loadContents", bool))), unwrap(Decode_tryGetLoadListingField("loadListing", value)), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("outputEval", string))));
576
+ Decode_overflowIntoDynamicObj(binding, toList(OutputBinding.KnownFieldNames), value);
577
+ return binding;
578
+ }, value);
579
+ }
580
+ const Decode_outputBindingDecoder = (value_1) => object((get$) => {
383
581
  const objectArg = get$.Optional;
384
582
  return objectArg.Field("outputBinding", Decode_outputBindingGlobDecoder);
385
- }, value);
583
+ }, value_1);
386
584
  function Decode_decodeStringArrayOrScalar(value) {
387
- let matchResult, items;
585
+ let matchResult = void 0, items = void 0;
388
586
  switch (value.tag) {
389
587
  case /* Object */
390
588
  3: {
@@ -427,18 +625,21 @@ const Decode_outputSourceDecoder = (value_1) => object((get$) => {
427
625
  const objectArg = get$.Optional;
428
626
  return objectArg.Field("outputSource", Decode_decodeStringArrayOrScalar);
429
627
  }, value_1);
430
- const Decode_direntDecoder = (value_1) => object((get$) => {
431
- let objectArg, objectArg_1, objectArg_2;
432
- return CWLType_Dirent(new DirentInstance((objectArg = get$.Required, objectArg.Field("entry", Decode_decodeSchemaSaladString)), (objectArg_1 = get$.Optional, objectArg_1.Field("entryname", Decode_decodeSchemaSaladString)), (objectArg_2 = get$.Optional, objectArg_2.Field("writable", bool))));
433
- }, value_1);
628
+ function Decode_direntDecoder(value) {
629
+ return object((get$) => {
630
+ let objectArg = void 0, objectArg_1 = void 0, objectArg_2 = void 0;
631
+ const dirent = new DirentInstance((objectArg = get$.Required, objectArg.Field("entry", Decode_decodeSchemaSaladString)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("entryname", Decode_decodeSchemaSaladString))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("writable", bool))));
632
+ Decode_overflowIntoDynamicObj(dirent, toList(DirentInstance.KnownFieldNames), value);
633
+ return CWLType_Dirent(dirent);
634
+ }, value);
635
+ }
434
636
  function Decode_initialWorkDirEntryDecoder(value$1) {
435
- let fileInstance, directoryInstance;
436
637
  switch (value$1.tag) {
437
638
  case /* Object */
438
639
  3: {
439
640
  const mappings = value$1.fields[0];
440
641
  if (exists((_arg) => {
441
- let matchResult, k_1;
642
+ let matchResult = void 0, k_1 = void 0;
442
643
  if (_arg.tag === /* Mapping */
443
644
  0) {
444
645
  if (_arg.fields[0].Value === "entry") {
@@ -462,12 +663,11 @@ function Decode_initialWorkDirEntryDecoder(value$1) {
462
663
  2) {
463
664
  return InitialWorkDirEntry_DirentEntry(matchValue.fields[0]);
464
665
  } else {
465
- throw new Error("Unexpected InitialWorkDir Dirent decoding result.");
666
+ throw ArgumentException_$ctor_Z721C83C5("Unexpected InitialWorkDir Dirent decoding result.");
466
667
  }
467
668
  } else {
468
669
  const classValue = tryPick((_arg_1) => {
469
- let v, v_1;
470
- let matchResult_1, k_4, v_2, k_5, v_3;
670
+ let matchResult_1 = void 0, k_4 = void 0, v_2 = void 0, k_5 = void 0, v_3 = void 0;
471
671
  if (_arg_1.tag === /* Mapping */
472
672
  0) {
473
673
  switch (_arg_1.fields[1].tag) {
@@ -477,7 +677,7 @@ function Decode_initialWorkDirEntryDecoder(value$1) {
477
677
  if (head(_arg_1.fields[1].fields[0]).tag === /* Value */
478
678
  1) {
479
679
  if (isEmpty(tail(_arg_1.fields[1].fields[0]))) {
480
- if (v = head(_arg_1.fields[1].fields[0]).fields[0], _arg_1.fields[0].Value === "class") {
680
+ if (head(_arg_1.fields[1].fields[0]).fields[0], _arg_1.fields[0].Value === "class") {
481
681
  matchResult_1 = 0;
482
682
  k_4 = _arg_1.fields[0];
483
683
  v_2 = head(_arg_1.fields[1].fields[0]).fields[0];
@@ -497,7 +697,7 @@ function Decode_initialWorkDirEntryDecoder(value$1) {
497
697
  }
498
698
  case /* Value */
499
699
  1: {
500
- if (v_1 = _arg_1.fields[1].fields[0], _arg_1.fields[0].Value === "class") {
700
+ if (_arg_1.fields[1].fields[0], _arg_1.fields[0].Value === "class") {
501
701
  matchResult_1 = 1;
502
702
  k_5 = _arg_1.fields[0];
503
703
  v_3 = _arg_1.fields[1].fields[0];
@@ -521,7 +721,7 @@ function Decode_initialWorkDirEntryDecoder(value$1) {
521
721
  return void 0;
522
722
  }
523
723
  }, mappings);
524
- let matchResult_2;
724
+ let matchResult_2 = void 0;
525
725
  if (classValue != null) {
526
726
  switch (value(classValue)) {
527
727
  case "File": {
@@ -540,9 +740,9 @@ function Decode_initialWorkDirEntryDecoder(value$1) {
540
740
  }
541
741
  switch (matchResult_2) {
542
742
  case 0:
543
- return InitialWorkDirEntry_FileEntry((fileInstance = FileInstance_$ctor(), void object((get$) => Decode_overflowDecoder(fileInstance, get$.Overflow.FieldList(empty())), value$1), fileInstance));
743
+ return InitialWorkDirEntry_FileEntry(Decode_decodeFileInstanceFields(value$1));
544
744
  case 1:
545
- return InitialWorkDirEntry_DirectoryEntry((directoryInstance = DirectoryInstance_$ctor(), void object((get$_1) => Decode_overflowDecoder(directoryInstance, get$_1.Overflow.FieldList(empty())), value$1), directoryInstance));
745
+ return InitialWorkDirEntry_DirectoryEntry(Decode_decodeDirectoryInstanceFields(value$1));
546
746
  default:
547
747
  return InitialWorkDirEntry_StringEntry(Decode_decodeSchemaSaladString(value$1));
548
748
  }
@@ -552,33 +752,33 @@ function Decode_initialWorkDirEntryDecoder(value$1) {
552
752
  1:
553
753
  return InitialWorkDirEntry_StringEntry(Decode_decodeSchemaSaladString(value$1));
554
754
  default:
555
- throw new Error(toText(interpolate("Invalid InitialWorkDir listing entry: %A%P()", [value$1])));
755
+ throw ArgumentException_$ctor_Z721C83C5(`Invalid InitialWorkDir listing entry: ${interpolate("%A%P()", [value$1])}`);
556
756
  }
557
757
  }
558
758
  function Decode_cwlSimpleTypeFromString(s) {
559
759
  switch (s) {
560
760
  case "File":
561
- return CWLType_File(FileInstance_$ctor());
761
+ return CWLType_File(new FileInstance());
562
762
  case "Directory":
563
- return CWLType_Directory(DirectoryInstance_$ctor());
763
+ return CWLType_Directory(new DirectoryInstance());
564
764
  case "string":
565
- return CWLType_String();
765
+ return CWLType.String$;
566
766
  case "int":
567
- return CWLType_Int();
767
+ return CWLType.Int;
568
768
  case "long":
569
- return CWLType_Long();
769
+ return CWLType.Long;
570
770
  case "float":
571
- return CWLType_Float();
771
+ return CWLType.Float;
572
772
  case "double":
573
- return CWLType_Double();
773
+ return CWLType.Double;
574
774
  case "boolean":
575
- return CWLType_Boolean();
775
+ return CWLType.Boolean$;
576
776
  case "stdout":
577
- return CWLType_Stdout();
777
+ return CWLType.Stdout;
578
778
  case "null":
579
- return CWLType_Null();
779
+ return CWLType.Null;
580
780
  default:
581
- throw new Error(`Invalid CWL simple type: ${s}`);
781
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid CWL simple type: ", s));
582
782
  }
583
783
  }
584
784
  function Decode_parseArrayShorthand(typeStr) {
@@ -587,7 +787,7 @@ function Decode_parseArrayShorthand(typeStr) {
587
787
  const matchValue = Decode_parseArrayShorthand(innerType);
588
788
  if (matchValue == null) {
589
789
  try {
590
- return CWLType_Array(new InputArraySchema(Decode_cwlSimpleTypeFromString(innerType), void 0, void 0, void 0));
790
+ return CWLType_Array$(new InputArraySchema(Decode_cwlSimpleTypeFromString(innerType)));
591
791
  } catch (matchValue_1) {
592
792
  if (Decode_isRecoverableDecodingError(matchValue_1)) {
593
793
  return void 0;
@@ -596,46 +796,31 @@ function Decode_parseArrayShorthand(typeStr) {
596
796
  }
597
797
  }
598
798
  } else {
599
- return CWLType_Array(new InputArraySchema(value(matchValue), void 0, void 0, void 0));
799
+ return CWLType_Array$(new InputArraySchema(value(matchValue)));
600
800
  }
601
801
  } else {
602
802
  return void 0;
603
803
  }
604
804
  }
605
- function inputArraySchemaDecoder$0040324() {
606
- return (value_3) => object((get$) => {
607
- let objectArg, objectArg_1, objectArg_2, objectArg_3;
608
- return new InputArraySchema(Decode_cwlTypeDecoder$0027((objectArg = get$.Required, objectArg.Field("items", (x) => x))), (objectArg_1 = get$.Optional, objectArg_1.Field("label", string)), (objectArg_2 = get$.Optional, objectArg_2.Field("doc", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("name", string)));
609
- }, value_3);
610
- }
611
- const inputArraySchemaDecoder$0040324$002D1 = new Lazy(inputArraySchemaDecoder$0040324);
612
- function inputRecordFieldDecoder$0040338() {
613
- return (value_3) => object((get$) => {
614
- let objectArg, objectArg_1, objectArg_2, objectArg_3;
615
- return new InputRecordField((objectArg = get$.Required, objectArg.Field("name", string)), Decode_cwlTypeDecoder$0027((objectArg_1 = get$.Required, objectArg_1.Field("type", (x) => x))), (objectArg_2 = get$.Optional, objectArg_2.Field("doc", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("label", string)));
616
- }, value_3);
617
- }
618
- const inputRecordFieldDecoder$0040338$002D1 = new Lazy(inputRecordFieldDecoder$0040338);
619
- function inputRecordSchemaDecoder$0040377() {
620
- return (value_3) => object((get$) => {
621
- let fieldsElement, objectArg, element, matchValue, objectArg_1, objectArg_2, objectArg_3;
622
- return new InputRecordSchema((fieldsElement = (objectArg = get$.Optional, objectArg.Field("fields", (x) => x)), fieldsElement == null ? void 0 : value(fieldsElement).tag === /* Object */
623
- 3 ? isEmpty(value(fieldsElement).fields[0]) ? [] : (element = value(fieldsElement), matchValue = Decode_tryDecodeFieldsAsArray(element), matchValue == null ? Decode_tryDecodeFieldsAsMap(element) : value(matchValue)) : (element = value(fieldsElement), matchValue = Decode_tryDecodeFieldsAsArray(element), matchValue == null ? Decode_tryDecodeFieldsAsMap(element) : value(matchValue))), (objectArg_1 = get$.Optional, objectArg_1.Field("label", string)), (objectArg_2 = get$.Optional, objectArg_2.Field("doc", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("name", string)));
624
- }, value_3);
625
- }
626
- const inputRecordSchemaDecoder$0040377$002D1 = new Lazy(inputRecordSchemaDecoder$0040377);
627
- function inputEnumSchemaDecoder$0040404() {
628
- return (value_5) => object((get$) => {
629
- let objectArg, objectArg_1, objectArg_2, objectArg_3;
630
- return new InputEnumSchema((objectArg = get$.Required, objectArg.Field("symbols", (value) => resizearray(string, value))), (objectArg_1 = get$.Optional, objectArg_1.Field("label", string)), (objectArg_2 = get$.Optional, objectArg_2.Field("doc", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("name", string)));
631
- }, value_5);
632
- }
633
- const inputEnumSchemaDecoder$0040404$002D1 = new Lazy(inputEnumSchemaDecoder$0040404);
634
- const Decode_inputArraySchemaDecoder = inputArraySchemaDecoder$0040324$002D1.Value;
635
- const Decode_inputRecordFieldDecoder = inputRecordFieldDecoder$0040338$002D1.Value;
805
+ function Decode_inputArraySchemaDecoder(value) {
806
+ return object((get$) => {
807
+ let objectArg = void 0, objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0;
808
+ const schema = new InputArraySchema(Decode_cwlTypeDecoder$0027((objectArg = get$.Required, objectArg.Field("items", (x) => x))), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("label", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("doc", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("name", string))));
809
+ Decode_overflowIntoDynamicObj(schema, toList(InputArraySchema.KnownFieldNames), value);
810
+ return schema;
811
+ }, value);
812
+ }
813
+ function Decode_inputRecordFieldDecoder(value) {
814
+ return object((get$) => {
815
+ let objectArg = void 0, objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0;
816
+ const field = new InputRecordField((objectArg = get$.Required, objectArg.Field("name", string)), Decode_cwlTypeDecoder$0027((objectArg_1 = get$.Required, objectArg_1.Field("type", (x) => x))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("doc", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("label", string))));
817
+ Decode_overflowIntoDynamicObj(field, toList(InputRecordField.KnownFieldNames), value);
818
+ return field;
819
+ }, value);
820
+ }
636
821
  function Decode_tryDecodeFieldsAsArray(element) {
637
822
  try {
638
- return resizearray(inputRecordFieldDecoder$0040338$002D1.Value, element);
823
+ return resizearray(Decode_inputRecordFieldDecoder, element);
639
824
  } catch (matchValue) {
640
825
  if (Decode_isRecoverableDecodingError(matchValue)) {
641
826
  return void 0;
@@ -651,8 +836,9 @@ function Decode_tryDecodeFieldsAsMap(element) {
651
836
  try {
652
837
  while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
653
838
  const kvp = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
654
- const fieldType = Decode_cwlTypeDecoder$0027(kvp[1]);
655
- void fields.push(new InputRecordField(kvp[0], fieldType, void 0, void 0));
839
+ const field = new InputRecordField(kvp[0], Decode_cwlTypeDecoder$0027(kvp[1]), unwrap(Decode_tryGetStringField("doc", kvp[1])), unwrap(Decode_tryGetStringField("label", kvp[1])));
840
+ Decode_overflowIntoDynamicObj(field, toList(InputRecordField.KnownFieldNames), kvp[1]);
841
+ void fields.push(field);
656
842
  }
657
843
  } finally {
658
844
  disposeSafe(enumerator);
@@ -666,10 +852,25 @@ function Decode_tryDecodeFieldsAsMap(element) {
666
852
  }
667
853
  }
668
854
  }
669
- const Decode_inputRecordSchemaDecoder = inputRecordSchemaDecoder$0040377$002D1.Value;
670
- const Decode_inputEnumSchemaDecoder = inputEnumSchemaDecoder$0040404$002D1.Value;
855
+ function Decode_inputRecordSchemaDecoder(value$1) {
856
+ return object((get$) => {
857
+ let fieldsElement = void 0, objectArg = void 0, element = void 0, matchValue = void 0, objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0;
858
+ const schema = new InputRecordSchema(unwrap((fieldsElement = (objectArg = get$.Optional, objectArg.Field("fields", (x) => x)), fieldsElement == null ? void 0 : value(fieldsElement).tag === /* Object */
859
+ 3 ? isEmpty(value(fieldsElement).fields[0]) ? [] : (element = value(fieldsElement), matchValue = Decode_tryDecodeFieldsAsArray(element), matchValue == null ? Decode_tryDecodeFieldsAsMap(element) : value(matchValue)) : (element = value(fieldsElement), matchValue = Decode_tryDecodeFieldsAsArray(element), matchValue == null ? Decode_tryDecodeFieldsAsMap(element) : value(matchValue)))), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("label", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("doc", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("name", string))));
860
+ Decode_overflowIntoDynamicObj(schema, toList(InputRecordSchema.KnownFieldNames), value$1);
861
+ return schema;
862
+ }, value$1);
863
+ }
864
+ function Decode_inputEnumSchemaDecoder(value) {
865
+ return object((get$) => {
866
+ let objectArg = void 0, objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0;
867
+ const schema = new InputEnumSchema((objectArg = get$.Required, objectArg.Field("symbols", (value_1) => resizearray(string, value_1))), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("label", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("doc", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("name", string))));
868
+ Decode_overflowIntoDynamicObj(schema, toList(InputEnumSchema.KnownFieldNames), value);
869
+ return schema;
870
+ }, value);
871
+ }
671
872
  function Decode_cwlTypeDecoder$0027(element) {
672
- let collection;
873
+ let collection = void 0;
673
874
  const parseTypeString = (typeStr) => {
674
875
  const patternInput = typeStr.endsWith("?") ? [replace(typeStr, "?", ""), true] : [typeStr, false];
675
876
  const stripped = patternInput[0];
@@ -677,12 +878,12 @@ function Decode_cwlTypeDecoder$0027(element) {
677
878
  const matchValue = Decode_parseArrayShorthand(stripped);
678
879
  baseType = matchValue == null ? Decode_cwlSimpleTypeFromString(stripped) : value(matchValue);
679
880
  if (patternInput[1]) {
680
- return CWLType_Union([CWLType_Null(), baseType]);
881
+ return CWLType_Union([CWLType.Null, baseType]);
681
882
  } else {
682
883
  return baseType;
683
884
  }
684
885
  };
685
- let matchResult, v, items;
886
+ let matchResult = void 0, v = void 0, items = void 0;
686
887
  switch (element.tag) {
687
888
  case /* Value */
688
889
  1: {
@@ -738,11 +939,11 @@ function Decode_cwlTypeDecoder$0027(element) {
738
939
  return CWLType_Union((collection = map(Decode_cwlTypeDecoder$0027, items), Array.from(collection)));
739
940
  case 2:
740
941
  return object((get$) => {
741
- let objectArg_1;
942
+ let objectArg_1 = void 0;
742
943
  let typeField;
743
944
  const objectArg = get$.Optional;
744
945
  typeField = objectArg.Field("type", (x) => x);
745
- let matchResult_1, v_1;
946
+ let matchResult_1 = void 0, v_1 = void 0;
746
947
  if (typeField != null) {
747
948
  if (value(typeField).tag === /* Object */
748
949
  3) {
@@ -770,16 +971,41 @@ function Decode_cwlTypeDecoder$0027(element) {
770
971
  switch (matchResult_1) {
771
972
  case 0: {
772
973
  const matchValue_1 = v_1.Value;
773
- return matchValue_1 === "record" ? CWLType_Record(inputRecordSchemaDecoder$0040377$002D1.Value(element)) : matchValue_1 === "enum" ? CWLType_Enum(inputEnumSchemaDecoder$0040404$002D1.Value(element)) : matchValue_1 === "array" ? CWLType_Array(inputArraySchemaDecoder$0040324$002D1.Value(element)) : parseTypeString(matchValue_1);
974
+ switch (matchValue_1) {
975
+ case "record":
976
+ return CWLType_Record(Decode_inputRecordSchemaDecoder(element));
977
+ case "enum":
978
+ return CWLType_Enum(Decode_inputEnumSchemaDecoder(element));
979
+ case "array":
980
+ return CWLType_Array$(Decode_inputArraySchemaDecoder(element));
981
+ default: {
982
+ const typeStr_1 = matchValue_1;
983
+ const patternInput_1 = typeStr_1.endsWith("?") ? [replace(typeStr_1, "?", ""), true] : [typeStr_1, false];
984
+ const stripped_1 = patternInput_1[0];
985
+ const isOptional_1 = patternInput_1[1];
986
+ switch (stripped_1) {
987
+ case "File": {
988
+ const baseType_1 = CWLType_File(Decode_decodeFileInstanceFields(element));
989
+ return isOptional_1 ? CWLType_Union([CWLType.Null, baseType_1]) : baseType_1;
990
+ }
991
+ case "Directory": {
992
+ const baseType_2 = CWLType_Directory(Decode_decodeDirectoryInstanceFields(element));
993
+ return isOptional_1 ? CWLType_Union([CWLType.Null, baseType_2]) : baseType_2;
994
+ }
995
+ default:
996
+ return parseTypeString(typeStr_1);
997
+ }
998
+ }
999
+ }
774
1000
  }
775
1001
  case 1:
776
1002
  return Decode_cwlTypeDecoder$0027((objectArg_1 = get$.Required, objectArg_1.Field("type", (x_1) => x_1)));
777
1003
  default:
778
- throw new Error("Unexpected type format in cwlTypeDecoder'");
1004
+ throw ArgumentException_$ctor_Z721C83C5("Unexpected type format in cwlTypeDecoder'");
779
1005
  }
780
1006
  }, element);
781
1007
  default:
782
- throw new Error("Unexpected YAMLElement in cwlTypeDecoder'");
1008
+ throw ArgumentException_$ctor_Z721C83C5("Unexpected YAMLElement in cwlTypeDecoder'");
783
1009
  }
784
1010
  }
785
1011
  function Decode_cwlTypeStringMatcher(t, get$) {
@@ -791,11 +1017,11 @@ function Decode_cwlTypeStringMatcher(t, get$) {
791
1017
  if (matchValue == null) {
792
1018
  switch (newT) {
793
1019
  case "File": {
794
- cwlType = CWLType_File(FileInstance_$ctor());
1020
+ cwlType = CWLType_File(new FileInstance());
795
1021
  break;
796
1022
  }
797
1023
  case "Directory": {
798
- cwlType = CWLType_Directory(DirectoryInstance_$ctor());
1024
+ cwlType = CWLType_Directory(new DirectoryInstance());
799
1025
  break;
800
1026
  }
801
1027
  case "Dirent": {
@@ -804,51 +1030,51 @@ function Decode_cwlTypeStringMatcher(t, get$) {
804
1030
  break;
805
1031
  }
806
1032
  case "string": {
807
- cwlType = CWLType_String();
1033
+ cwlType = CWLType.String$;
808
1034
  break;
809
1035
  }
810
1036
  case "int": {
811
- cwlType = CWLType_Int();
1037
+ cwlType = CWLType.Int;
812
1038
  break;
813
1039
  }
814
1040
  case "long": {
815
- cwlType = CWLType_Long();
1041
+ cwlType = CWLType.Long;
816
1042
  break;
817
1043
  }
818
1044
  case "float": {
819
- cwlType = CWLType_Float();
1045
+ cwlType = CWLType.Float;
820
1046
  break;
821
1047
  }
822
1048
  case "double": {
823
- cwlType = CWLType_Double();
1049
+ cwlType = CWLType.Double;
824
1050
  break;
825
1051
  }
826
1052
  case "boolean": {
827
- cwlType = CWLType_Boolean();
1053
+ cwlType = CWLType.Boolean$;
828
1054
  break;
829
1055
  }
830
1056
  case "stdout": {
831
- cwlType = CWLType_Stdout();
1057
+ cwlType = CWLType.Stdout;
832
1058
  break;
833
1059
  }
834
1060
  case "null": {
835
- cwlType = CWLType_Null();
1061
+ cwlType = CWLType.Null;
836
1062
  break;
837
1063
  }
838
1064
  default:
839
- throw new Error("Invalid CWL type");
1065
+ throw new Exception("Invalid CWL type");
840
1066
  }
841
1067
  } else {
842
1068
  cwlType = value(matchValue);
843
1069
  }
844
- return [optional ? CWLType_Union([CWLType_Null(), cwlType]) : cwlType, optional];
1070
+ return [optional ? CWLType_Union([CWLType.Null, cwlType]) : cwlType, optional];
845
1071
  }
846
1072
  const Decode_cwlTypeDecoder = (value_1) => object((get$) => {
847
- let objectArg_1;
1073
+ let objectArg_1 = void 0;
848
1074
  let cwlType;
849
1075
  const objectArg = get$.Required;
850
1076
  cwlType = objectArg.Field("type", (value) => {
851
- let matchResult, v, o;
1077
+ let matchResult = void 0, v = void 0, o = void 0;
852
1078
  switch (value.tag) {
853
1079
  case /* Value */
854
1080
  1: {
@@ -894,7 +1120,7 @@ const Decode_cwlTypeDecoder = (value_1) => object((get$) => {
894
1120
  case 2:
895
1121
  return void 0;
896
1122
  default:
897
- throw new Error("Unexpected YAMLElement in cwlTypeDecoder");
1123
+ throw ArgumentException_$ctor_Z721C83C5("Unexpected YAMLElement in cwlTypeDecoder");
898
1124
  }
899
1125
  });
900
1126
  if (cwlType == null) {
@@ -903,38 +1129,120 @@ const Decode_cwlTypeDecoder = (value_1) => object((get$) => {
903
1129
  return Decode_cwlTypeStringMatcher(value(cwlType), get$);
904
1130
  }
905
1131
  }, value_1);
906
- const Decode_outputArrayDecoder = (value_1) => object((get$) => {
907
- const dict = get$.Overflow.FieldList(empty());
908
- const collection = toArray(delay(() => collect((key) => {
909
- let v;
910
- const value$1 = getItemFromDict(dict, key);
911
- const outputBinding = Decode_outputBindingDecoder(value$1);
912
- const outputSourceValues = Decode_outputSourceDecoder(value$1);
913
- const output = new CWLOutput(key, value$1.tag === /* Object */
914
- 3 ? !isEmpty(value$1.fields[0]) ? head(value$1.fields[0]).tag === /* Value */
915
- 1 ? isEmpty(tail(value$1.fields[0])) ? (v = head(value$1.fields[0]).fields[0], Decode_cwlTypeStringMatcher(v.Value, get$)[0]) : Decode_cwlTypeDecoder(value$1)[0] : Decode_cwlTypeDecoder(value$1)[0] : Decode_cwlTypeDecoder(value$1)[0] : Decode_cwlTypeDecoder(value$1)[0]);
916
- return append(outputBinding != null ? (setOptionalProperty("outputBinding", outputBinding, output), empty$1()) : empty$1(), delay(() => {
917
- let matchValue, values, values_2, values_1, values_3;
918
- return append((matchValue = outputSourceValues, matchValue != null ? (values = value(matchValue), values.length > 1) ? (values_2 = value(matchValue), output.OutputSource = OutputSource_Multiple(values_2), empty$1()) : (values_1 = value(matchValue), values_1.length === 1) ? (values_3 = value(matchValue), output.OutputSource = OutputSource_Single(values_3[0]), empty$1()) : empty$1() : empty$1()), delay(() => singleton(output)));
919
- }));
920
- }, dict.keys())));
921
- return Array.from(collection);
922
- }, value_1);
923
- const Decode_outputsDecoder = (value) => object((get$) => {
924
- const objectArg = get$.Required;
925
- return objectArg.Field("outputs", Decode_outputArrayDecoder);
926
- }, value);
1132
+ function Decode_decodeNamedOutput(name, value$1) {
1133
+ let v = void 0, values = void 0, values_1 = void 0;
1134
+ const outputBinding = Decode_outputBindingDecoder(value$1);
1135
+ const outputSourceValues = Decode_outputSourceDecoder(value$1);
1136
+ const output = new CWLOutput(name, value$1.tag === /* Object */
1137
+ 3 ? !isEmpty(value$1.fields[0]) ? head(value$1.fields[0]).tag === /* Value */
1138
+ 1 ? isEmpty(tail(value$1.fields[0])) ? (v = head(value$1.fields[0]).fields[0], Decode_cwlTypeStringMatcher(v.Value, defaultOf())[0]) : Decode_cwlTypeDecoder(value$1)[0] : Decode_cwlTypeDecoder(value$1)[0] : Decode_cwlTypeDecoder(value$1)[0] : Decode_cwlTypeDecoder(value$1)[0], void 0, void 0, unwrap(Decode_tryGetStringField("label", value$1)), unwrap(Decode_tryGetYamlField("secondaryFiles", value$1)), unwrap(Decode_tryGetBoolField("streamable", value$1)), unwrap(Decode_tryGetStringField("doc", value$1)), unwrap(Decode_tryGetStringField("format", value$1)));
1139
+ output.OutputBinding = outputBinding;
1140
+ let matchResult = void 0, values_2 = void 0, values_3 = void 0;
1141
+ if (outputSourceValues != null) {
1142
+ if (values = value(outputSourceValues), values.length > 1) {
1143
+ matchResult = 0;
1144
+ values_2 = value(outputSourceValues);
1145
+ } else if (values_1 = value(outputSourceValues), values_1.length === 1) {
1146
+ matchResult = 1;
1147
+ values_3 = value(outputSourceValues);
1148
+ } else {
1149
+ matchResult = 2;
1150
+ }
1151
+ } else {
1152
+ matchResult = 2;
1153
+ }
1154
+ switch (matchResult) {
1155
+ case 0: {
1156
+ output.OutputSource = OutputSource_Multiple(values_2);
1157
+ break;
1158
+ }
1159
+ case 1: {
1160
+ output.OutputSource = OutputSource_Single(item(0, values_3));
1161
+ break;
1162
+ }
1163
+ }
1164
+ Decode_overflowIntoDynamicObj(output, toList(CWLOutput.KnownFieldNames), value$1);
1165
+ return output;
1166
+ }
1167
+ function Decode_decodeOutputSequenceItem(warnings, path, index, item) {
1168
+ const matchValue = Decode_tryGetStringField("id", item);
1169
+ if (matchValue == null) {
1170
+ if (Decode_isIgnorableYamlNoise(item)) {
1171
+ return void 0;
1172
+ } else {
1173
+ Decode_addWarning(warnings, `${path}[${index}]`, "Skipped malformed unnamed CWL output entry.", item);
1174
+ return void 0;
1175
+ }
1176
+ } else {
1177
+ return Decode_decodeNamedOutput(value(matchValue), item);
1178
+ }
1179
+ }
1180
+ function Decode_outputArrayDecoderWithWarnings(warnings, path, value) {
1181
+ let matchResult = void 0, items = void 0;
1182
+ switch (value.tag) {
1183
+ case /* Object */
1184
+ 3: {
1185
+ if (!isEmpty(value.fields[0])) {
1186
+ if (head(value.fields[0]).tag === /* Sequence */
1187
+ 2) {
1188
+ if (isEmpty(tail(value.fields[0]))) {
1189
+ matchResult = 0;
1190
+ items = head(value.fields[0]).fields[0];
1191
+ } else {
1192
+ matchResult = 1;
1193
+ }
1194
+ } else {
1195
+ matchResult = 1;
1196
+ }
1197
+ } else {
1198
+ matchResult = 1;
1199
+ }
1200
+ break;
1201
+ }
1202
+ case /* Sequence */
1203
+ 2: {
1204
+ matchResult = 0;
1205
+ items = value.fields[0];
1206
+ break;
1207
+ }
1208
+ default:
1209
+ matchResult = 1;
1210
+ }
1211
+ switch (matchResult) {
1212
+ case 0: {
1213
+ const collection = choose((x) => x, mapIndexed((index, item) => Decode_decodeOutputSequenceItem(warnings, path, index, item), items));
1214
+ return Array.from(collection);
1215
+ }
1216
+ default: {
1217
+ const dict = object((get$) => get$.Overflow.FieldList(empty()), value);
1218
+ const collection_1 = toArray(delay(() => map$1((key) => Decode_decodeNamedOutput(key, getItemFromDict(dict, key)), dict.keys())));
1219
+ return Array.from(collection_1);
1220
+ }
1221
+ }
1222
+ }
1223
+ const Decode_outputArrayDecoder = (value) => Decode_outputArrayDecoderWithWarnings(void 0, "outputs", value);
1224
+ function Decode_outputsDecoderWithWarnings(warnings) {
1225
+ return (value_1) => object((get$) => {
1226
+ const objectArg = get$.Required;
1227
+ return objectArg.Field("outputs", (value) => Decode_outputArrayDecoderWithWarnings(warnings, "outputs", value));
1228
+ }, value_1);
1229
+ }
1230
+ const Decode_outputsDecoder = Decode_outputsDecoderWithWarnings(void 0);
927
1231
  function Decode_dockerRequirementDecoder(get$) {
928
- let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6;
929
- const dockerFile = map$1(Decode_decodeSchemaSaladString, (objectArg = get$.Optional, objectArg.Field("dockerFile", (x) => x)));
930
- return DockerRequirement_create_Z6E6AA686(unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("dockerPull", string))), void 0, unwrap(dockerFile), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("dockerImageId", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("dockerLoad", string))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("dockerImport", string))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("dockerOutputDirectory", string))), unwrap((objectArg_6 = get$.Optional, objectArg_6.Field("cwltool:dockerRunOptions", Decode_decodeStringArrayOrScalar))));
1232
+ let objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0, objectArg_4 = void 0, objectArg_5 = void 0, objectArg_6 = void 0;
1233
+ let dockerFile;
1234
+ let option_1;
1235
+ const objectArg = get$.Optional;
1236
+ option_1 = objectArg.Field("dockerFile", (x) => x);
1237
+ dockerFile = option_1 != null ? Decode_decodeSchemaSaladString(value(option_1)) : void 0;
1238
+ return DockerRequirement.create(unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("dockerPull", string))), void 0, unwrap(dockerFile), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("dockerImageId", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("dockerLoad", string))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("dockerImport", string))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("dockerOutputDirectory", string))), unwrap((objectArg_6 = get$.Optional, objectArg_6.Field("cwltool:dockerRunOptions", Decode_decodeStringArrayOrScalar))));
931
1239
  }
932
1240
  function Decode_envVarRequirementDecoder(get$) {
933
1241
  let envDefElement;
934
1242
  let _arg;
935
1243
  const objectArg = get$.Required;
936
1244
  _arg = objectArg.Field("envDef", (x) => x);
937
- let matchResult, sequence, mappings, other;
1245
+ let matchResult = void 0, sequence = void 0, mappings = void 0, other = void 0;
938
1246
  if (_arg.tag === /* Object */
939
1247
  3) {
940
1248
  if (!isEmpty(_arg.fields[0])) {
@@ -980,7 +1288,7 @@ function Decode_envVarRequirementDecoder(get$) {
980
1288
  break;
981
1289
  }
982
1290
  case 1: {
983
- envDefElement = YAMLElement_Object(mappings);
1291
+ envDefElement = YAMLElement_Object$(mappings);
984
1292
  break;
985
1293
  }
986
1294
  default:
@@ -989,14 +1297,16 @@ function Decode_envVarRequirementDecoder(get$) {
989
1297
  switch (envDefElement.tag) {
990
1298
  case /* Sequence */
991
1299
  2:
992
- return resizearray((value_3) => object((get2) => {
993
- let objectArg_1, objectArg_2;
994
- return new EnvironmentDef((objectArg_1 = get2.Required, objectArg_1.Field("envName", string)), (objectArg_2 = get2.Required, objectArg_2.Field("envValue", string)));
995
- }, value_3), envDefElement);
1300
+ return resizearray((value_1) => object((get2) => {
1301
+ let objectArg_1 = void 0, objectArg_2 = void 0;
1302
+ const env = new EnvironmentDef((objectArg_1 = get2.Required, objectArg_1.Field("envName", string)), (objectArg_2 = get2.Required, objectArg_2.Field("envValue", string)));
1303
+ Decode_overflowIntoDynamicObj(env, toList(EnvironmentDef.KnownFieldNames), value_1);
1304
+ return env;
1305
+ }, value_1), envDefElement);
996
1306
  case /* Object */
997
1307
  3: {
998
1308
  const collection = choose((_arg_2) => {
999
- let _arg_1, value;
1309
+ let _arg_1 = void 0, value = void 0;
1000
1310
  if (_arg_2.tag === /* Mapping */
1001
1311
  0) {
1002
1312
  return new EnvironmentDef(_arg_2.fields[0].Value, (_arg_1 = _arg_2.fields[1], _arg_1.tag === /* Value */
@@ -1010,13 +1320,13 @@ function Decode_envVarRequirementDecoder(get$) {
1010
1320
  return Array.from(collection);
1011
1321
  }
1012
1322
  default:
1013
- throw new Error("Invalid envDef format. Expected array or map.");
1323
+ throw ArgumentException_$ctor_Z721C83C5("Invalid envDef format. Expected array or map.");
1014
1324
  }
1015
1325
  }
1016
1326
  function Decode_softwareRequirementDecoder(get$) {
1017
- let objectArg;
1327
+ let objectArg = void 0;
1018
1328
  const normalizeCollectionElement = (_arg) => {
1019
- let matchResult, sequence, mappings, other;
1329
+ let matchResult = void 0, sequence = void 0, mappings = void 0, other = void 0;
1020
1330
  if (_arg.tag === /* Object */
1021
1331
  3) {
1022
1332
  if (!isEmpty(_arg.fields[0])) {
@@ -1060,7 +1370,7 @@ function Decode_softwareRequirementDecoder(get$) {
1060
1370
  case 0:
1061
1371
  return YAMLElement_Sequence(sequence);
1062
1372
  case 1:
1063
- return YAMLElement_Object(mappings);
1373
+ return YAMLElement_Object$(mappings);
1064
1374
  default:
1065
1375
  return other;
1066
1376
  }
@@ -1070,23 +1380,24 @@ function Decode_softwareRequirementDecoder(get$) {
1070
1380
  switch (packagesElement.tag) {
1071
1381
  case /* Sequence */
1072
1382
  2:
1073
- return resizearray((value_5) => object((get2) => {
1074
- let objectArg_1, objectArg_2, objectArg_3;
1075
- return new SoftwarePackage((objectArg_1 = get2.Required, objectArg_1.Field("package", string)), (objectArg_2 = get2.Optional, objectArg_2.Field("version", (value_1) => resizearray(string, value_1))), (objectArg_3 = get2.Optional, objectArg_3.Field("specs", (value_3) => resizearray(string, value_3))));
1076
- }, value_5), packagesElement);
1383
+ return resizearray((value_1) => object((get2) => {
1384
+ let objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0;
1385
+ const package$_1 = new SoftwarePackage((objectArg_1 = get2.Required, objectArg_1.Field("package", string)), unwrap((objectArg_2 = get2.Optional, objectArg_2.Field("version", (value_3) => resizearray(string, value_3)))), unwrap((objectArg_3 = get2.Optional, objectArg_3.Field("specs", (value_5) => resizearray(string, value_5)))));
1386
+ Decode_overflowIntoDynamicObj(package$_1, toList(SoftwarePackage.KnownFieldNames), value_1);
1387
+ return package$_1;
1388
+ }, value_1), packagesElement);
1077
1389
  case /* Object */
1078
1390
  3: {
1079
1391
  const collection = choose((_arg_3) => {
1080
- let packageName, packageValue, normalizedPackageValue, mappings_1;
1392
+ let packageName = void 0, packageValue = void 0, normalizedPackageValue = void 0, mappings_1 = void 0, package$ = void 0;
1081
1393
  if (_arg_3.tag === /* Mapping */
1082
1394
  0) {
1083
1395
  return packageName = _arg_3.fields[0].Value, packageValue = _arg_3.fields[1], normalizedPackageValue = normalizeCollectionElement(packageValue), normalizedPackageValue.tag === /* Object */
1084
- 3 ? isEmpty(normalizedPackageValue.fields[0]) ? new SoftwarePackage(packageName, void 0, void 0) : (mappings_1 = normalizedPackageValue.fields[0], new SoftwarePackage(packageName, tryPick((_arg_1) => {
1085
- let v;
1086
- let matchResult_1, k_1, v_1;
1396
+ 3 ? isEmpty(normalizedPackageValue.fields[0]) ? new SoftwarePackage(packageName) : (mappings_1 = normalizedPackageValue.fields[0], package$ = new SoftwarePackage(packageName, unwrap(tryPick((_arg_1) => {
1397
+ let matchResult_1 = void 0, k_1 = void 0, v_1 = void 0;
1087
1398
  if (_arg_1.tag === /* Mapping */
1088
1399
  0) {
1089
- if (v = _arg_1.fields[1], _arg_1.fields[0].Value === "version") {
1400
+ if (_arg_1.fields[1], _arg_1.fields[0].Value === "version") {
1090
1401
  matchResult_1 = 0;
1091
1402
  k_1 = _arg_1.fields[0];
1092
1403
  v_1 = _arg_1.fields[1];
@@ -1102,12 +1413,11 @@ function Decode_softwareRequirementDecoder(get$) {
1102
1413
  default:
1103
1414
  return void 0;
1104
1415
  }
1105
- }, mappings_1), tryPick((_arg_2) => {
1106
- let v_2;
1107
- let matchResult_2, k_3, v_3;
1416
+ }, mappings_1)), unwrap(tryPick((_arg_2) => {
1417
+ let matchResult_2 = void 0, k_3 = void 0, v_3 = void 0;
1108
1418
  if (_arg_2.tag === /* Mapping */
1109
1419
  0) {
1110
- if (v_2 = _arg_2.fields[1], _arg_2.fields[0].Value === "specs") {
1420
+ if (_arg_2.fields[1], _arg_2.fields[0].Value === "specs") {
1111
1421
  matchResult_2 = 0;
1112
1422
  k_3 = _arg_2.fields[0];
1113
1423
  v_3 = _arg_2.fields[1];
@@ -1123,7 +1433,7 @@ function Decode_softwareRequirementDecoder(get$) {
1123
1433
  default:
1124
1434
  return void 0;
1125
1435
  }
1126
- }, mappings_1))) : normalizedPackageValue.tag === /* Sequence */
1436
+ }, mappings_1))), void Decode_overflowIntoDynamicObj(package$, toList(SoftwarePackage.KnownFieldNames), normalizedPackageValue), package$) : normalizedPackageValue.tag === /* Sequence */
1127
1437
  2 ? new SoftwarePackage(packageName, void 0, decodeSpecsArray(normalizedPackageValue)) : new SoftwarePackage(packageName, void 0, [Decode_decodeStringOrExpression(packageValue)]);
1128
1438
  } else {
1129
1439
  return void 0;
@@ -1132,14 +1442,14 @@ function Decode_softwareRequirementDecoder(get$) {
1132
1442
  return Array.from(collection);
1133
1443
  }
1134
1444
  default:
1135
- throw new Error("Invalid packages format. Expected array or map.");
1445
+ throw ArgumentException_$ctor_Z721C83C5("Invalid packages format. Expected array or map.");
1136
1446
  }
1137
1447
  }
1138
1448
  function Decode_initialWorkDirRequirementDecoder(get$) {
1139
1449
  let listingElement;
1140
1450
  const objectArg = get$.Required;
1141
1451
  listingElement = objectArg.Field("listing", (x) => x);
1142
- let matchResult;
1452
+ let matchResult = void 0;
1143
1453
  switch (listingElement.tag) {
1144
1454
  case /* Object */
1145
1455
  3: {
@@ -1175,16 +1485,16 @@ function Decode_initialWorkDirRequirementDecoder(get$) {
1175
1485
  }
1176
1486
  }
1177
1487
  function Decode_loadListingRequirementDecoder(get$) {
1178
- let objectArg, matchValue;
1488
+ let objectArg = void 0, matchValue = void 0;
1179
1489
  const loadListingValue = defaultArg((objectArg = get$.Optional, objectArg.Field("loadListing", string)), "no_listing");
1180
1490
  return new LoadListingRequirementValue((matchValue = LoadListingEnum_tryParse_Z721C83C5(loadListingValue), matchValue == null ? (() => {
1181
- throw new Error(`Invalid loadListing value '${loadListingValue}'. Expected one of: no_listing, shallow_listing, deep_listing.`);
1491
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid loadListing value '", loadListingValue, "'. Expected one of: no_listing, shallow_listing, deep_listing."));
1182
1492
  })() : value(matchValue)));
1183
1493
  }
1184
1494
  function Decode_decodeResourceScalar(element) {
1185
1495
  let matchValue;
1186
1496
  const _arg = element;
1187
- let matchResult, value$1;
1497
+ let matchResult = void 0, value$1 = void 0;
1188
1498
  switch (_arg.tag) {
1189
1499
  case /* Value */
1190
1500
  1: {
@@ -1228,7 +1538,7 @@ function Decode_decodeResourceScalar(element) {
1228
1538
  const scalarValue = value(matchValue);
1229
1539
  let matchValue_1;
1230
1540
  let outArg = 0n;
1231
- matchValue_1 = [tryParse(scalarValue, 7, false, 64, new FSharpRef(() => outArg, (v) => {
1541
+ matchValue_1 = [tryParse$1(scalarValue, 7, false, 64, new FSharpRef(() => outArg, (v) => {
1232
1542
  outArg = v;
1233
1543
  })), outArg];
1234
1544
  if (matchValue_1[0]) {
@@ -1236,7 +1546,7 @@ function Decode_decodeResourceScalar(element) {
1236
1546
  } else {
1237
1547
  let matchValue_2;
1238
1548
  let outArg_1 = 0;
1239
- matchValue_2 = [tryParse$1(scalarValue, new FSharpRef(() => outArg_1, (v_1) => {
1549
+ matchValue_2 = [tryParse$2(scalarValue, new FSharpRef(() => outArg_1, (v_1) => {
1240
1550
  outArg_1 = v_1;
1241
1551
  })), outArg_1];
1242
1552
  if (matchValue_2[0]) {
@@ -1248,22 +1558,35 @@ function Decode_decodeResourceScalar(element) {
1248
1558
  }
1249
1559
  }
1250
1560
  function Decode_optionalResourceField(get$, fieldName) {
1251
- let objectArg;
1252
- return map$1(Decode_decodeResourceScalar, (objectArg = get$.Optional, objectArg.Field(fieldName, (x) => x)));
1561
+ let option_1;
1562
+ const objectArg = get$.Optional;
1563
+ option_1 = objectArg.Field(fieldName, (x) => x);
1564
+ if (option_1 != null) {
1565
+ return some(Decode_decodeResourceScalar(value(option_1)));
1566
+ } else {
1567
+ return void 0;
1568
+ }
1253
1569
  }
1254
1570
  function Decode_resourceRequirementDecoder(get$) {
1255
- return ResourceRequirementInstance_$ctor_D76FC00(some(Decode_optionalResourceField(get$, "coresMin")), some(Decode_optionalResourceField(get$, "coresMax")), some(Decode_optionalResourceField(get$, "ramMin")), some(Decode_optionalResourceField(get$, "ramMax")), some(Decode_optionalResourceField(get$, "tmpdirMin")), some(Decode_optionalResourceField(get$, "tmpdirMax")), some(Decode_optionalResourceField(get$, "outdirMin")), some(Decode_optionalResourceField(get$, "outdirMax")));
1571
+ return new ResourceRequirementInstance(Decode_optionalResourceField(get$, "coresMin"), Decode_optionalResourceField(get$, "coresMax"), Decode_optionalResourceField(get$, "ramMin"), Decode_optionalResourceField(get$, "ramMax"), Decode_optionalResourceField(get$, "tmpdirMin"), Decode_optionalResourceField(get$, "tmpdirMax"), Decode_optionalResourceField(get$, "outdirMin"), Decode_optionalResourceField(get$, "outdirMax"));
1256
1572
  }
1257
1573
  function Decode_schemaDefRequirementTypeDecoder(value) {
1258
1574
  const dict = object((get$) => get$.Overflow.FieldList(empty()), value);
1575
+ const schemaDefKnownFields = toList(unionMany([SchemaDefRequirementType.KnownFieldNames, InputRecordSchema.KnownFieldNames, InputArraySchema.KnownFieldNames, InputEnumSchema.KnownFieldNames], {
1576
+ Compare: (x, y) => comparePrimitives(x, y) | 0
1577
+ }));
1259
1578
  if (dict.has("name")) {
1260
- return new SchemaDefRequirementType(Decode_decodeStringOrExpression(getItemFromDict(dict, "name")), Decode_cwlTypeDecoder$0027(value));
1579
+ const schema = new SchemaDefRequirementType(Decode_decodeStringOrExpression(getItemFromDict(dict, "name")), Decode_cwlTypeDecoder$0027(value));
1580
+ Decode_overflowIntoDynamicObj(schema, schemaDefKnownFields, value);
1581
+ return schema;
1261
1582
  } else {
1262
1583
  if (dict.size === 0) {
1263
- throw new Error("SchemaDefRequirement entry cannot be empty.");
1584
+ throw ArgumentException_$ctor_Z721C83C5("SchemaDefRequirement entry cannot be empty.");
1264
1585
  }
1265
1586
  const kv = head$1(dict);
1266
- return new SchemaDefRequirementType(kv[0], Decode_cwlTypeDecoder$0027(kv[1]));
1587
+ const schema_1 = new SchemaDefRequirementType(kv[0], Decode_cwlTypeDecoder$0027(kv[1]));
1588
+ Decode_overflowIntoDynamicObj(schema_1, cons(kv[0], schemaDefKnownFields), value);
1589
+ return schema_1;
1267
1590
  }
1268
1591
  }
1269
1592
  function Decode_schemaDefRequirementDecoder(get$) {
@@ -1271,7 +1594,7 @@ function Decode_schemaDefRequirementDecoder(get$) {
1271
1594
  return objectArg.Field("types", (value) => resizearray(Decode_schemaDefRequirementTypeDecoder, value));
1272
1595
  }
1273
1596
  function Decode_tryDecodeBoolScalar(element) {
1274
- let matchResult, value;
1597
+ let matchResult = void 0, value = void 0;
1275
1598
  switch (element.tag) {
1276
1599
  case /* Value */
1277
1600
  1: {
@@ -1350,11 +1673,11 @@ function Decode_networkAccessRequirementDecoder(get$) {
1350
1673
  }
1351
1674
  }
1352
1675
  function Decode_inplaceUpdateRequirementDecoder(get$) {
1353
- let objectArg;
1676
+ let objectArg = void 0;
1354
1677
  return new InplaceUpdateRequirementValue(defaultArg((objectArg = get$.Optional, objectArg.Field("inplaceUpdate", bool)), true));
1355
1678
  }
1356
1679
  function Decode_toolTimeLimitRequirementDecoder(get$) {
1357
- let value$1;
1680
+ let value$1 = void 0;
1358
1681
  let timeLimitElement;
1359
1682
  const objectArg = get$.Required;
1360
1683
  timeLimitElement = objectArg.Field("timelimit", (x) => x);
@@ -1367,14 +1690,14 @@ function Decode_toolTimeLimitRequirementDecoder(get$) {
1367
1690
  } else {
1368
1691
  let matchValue;
1369
1692
  let outArg = 0n;
1370
- matchValue = [tryParse(value(tryGetScalarString), 7, false, 64, new FSharpRef(() => outArg, (v) => {
1693
+ matchValue = [tryParse$1(value(tryGetScalarString), 7, false, 64, new FSharpRef(() => outArg, (v) => {
1371
1694
  outArg = v;
1372
1695
  })), outArg];
1373
1696
  if (matchValue[0]) {
1374
1697
  if (compare(matchValue[1], 0n) >= 0) {
1375
1698
  return ToolTimeLimitValue_ToolTimeLimitSeconds(matchValue[1]);
1376
1699
  } else {
1377
- throw new Error("ToolTimeLimit timelimit must be non-negative.");
1700
+ throw ArgumentException_$ctor_Z721C83C5("ToolTimeLimit timelimit must be non-negative.");
1378
1701
  }
1379
1702
  } else {
1380
1703
  return ToolTimeLimitValue_ToolTimeLimitExpression(Decode_decodeStringOrExpression(timeLimitElement));
@@ -1382,8 +1705,8 @@ function Decode_toolTimeLimitRequirementDecoder(get$) {
1382
1705
  }
1383
1706
  }
1384
1707
  function Decode_inlineJavascriptRequirementDecoder(get$) {
1385
- let objectArg;
1386
- return new InlineJavascriptRequirementValue((objectArg = get$.Optional, objectArg.Field("expressionLib", Decode_decodeStringArrayOrScalar)));
1708
+ let objectArg = void 0;
1709
+ return new InlineJavascriptRequirementValue(unwrap((objectArg = get$.Optional, objectArg.Field("expressionLib", Decode_decodeStringArrayOrScalar))));
1387
1710
  }
1388
1711
  function Decode_requirementFromTypeName(cls, get$) {
1389
1712
  switch (cls) {
@@ -1402,7 +1725,7 @@ function Decode_requirementFromTypeName(cls, get$) {
1402
1725
  case "EnvVarRequirement":
1403
1726
  return Requirement_EnvVarRequirement(Decode_envVarRequirementDecoder(get$));
1404
1727
  case "ShellCommandRequirement":
1405
- return Requirement_ShellCommandRequirement();
1728
+ return Requirement.ShellCommandRequirement;
1406
1729
  case "ResourceRequirement":
1407
1730
  return Requirement_ResourceRequirement(Decode_resourceRequirementDecoder(get$));
1408
1731
  case "WorkReuse":
@@ -1418,19 +1741,69 @@ function Decode_requirementFromTypeName(cls, get$) {
1418
1741
  case "ToolTimeLimitRequirement":
1419
1742
  return Requirement_ToolTimeLimitRequirement(Decode_toolTimeLimitRequirementDecoder(get$));
1420
1743
  case "SubworkflowFeatureRequirement":
1421
- return Requirement_SubworkflowFeatureRequirement();
1744
+ return Requirement.SubworkflowFeatureRequirement;
1422
1745
  case "ScatterFeatureRequirement":
1423
- return Requirement_ScatterFeatureRequirement();
1746
+ return Requirement.ScatterFeatureRequirement;
1424
1747
  case "MultipleInputFeatureRequirement":
1425
- return Requirement_MultipleInputFeatureRequirement();
1748
+ return Requirement.MultipleInputFeatureRequirement;
1426
1749
  case "StepInputExpressionRequirement":
1427
- return Requirement_StepInputExpressionRequirement();
1750
+ return Requirement.StepInputExpressionRequirement;
1751
+ default:
1752
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid or unsupported requirement class: ", cls));
1753
+ }
1754
+ }
1755
+ function Decode_addRequirementPayloadOverflow(element, requirement) {
1756
+ const knownWithClass = (knownFields) => cons("class", toList(knownFields));
1757
+ switch (requirement.tag) {
1758
+ case /* InlineJavascriptRequirement */
1759
+ 0: {
1760
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(InlineJavascriptRequirementValue.KnownFieldNames), element);
1761
+ break;
1762
+ }
1763
+ case /* DockerRequirement */
1764
+ 2: {
1765
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(DockerRequirement.KnownFieldNames), element);
1766
+ break;
1767
+ }
1768
+ case /* LoadListingRequirement */
1769
+ 4: {
1770
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(LoadListingRequirementValue.KnownFieldNames), element);
1771
+ break;
1772
+ }
1773
+ case /* EnvVarRequirement */
1774
+ 6: {
1775
+ break;
1776
+ }
1777
+ case /* SoftwareRequirement */
1778
+ 3: {
1779
+ break;
1780
+ }
1781
+ case /* ResourceRequirement */
1782
+ 8: {
1783
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(ResourceRequirementInstance.KnownFieldNames), element);
1784
+ break;
1785
+ }
1786
+ case /* WorkReuseRequirement */
1787
+ 9: {
1788
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(WorkReuseRequirementValue.KnownFieldNames), element);
1789
+ break;
1790
+ }
1791
+ case /* NetworkAccessRequirement */
1792
+ 11: {
1793
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(NetworkAccessRequirementValue.KnownFieldNames), element);
1794
+ break;
1795
+ }
1796
+ case /* InplaceUpdateRequirement */
1797
+ 13: {
1798
+ Decode_overflowIntoDynamicObj(requirement.fields[0], knownWithClass(InplaceUpdateRequirementValue.KnownFieldNames), element);
1799
+ break;
1800
+ }
1428
1801
  default:
1429
- throw new Error(`Invalid or unsupported requirement class: ${cls}`);
1430
1802
  }
1803
+ return requirement;
1431
1804
  }
1432
1805
  function Decode_requirementArrayDecoder(yEle) {
1433
- let matchResult, items, other;
1806
+ let matchResult = void 0, items = void 0, other = void 0;
1434
1807
  if (yEle.tag === /* Object */
1435
1808
  3) {
1436
1809
  if (!isEmpty(yEle.fields[0])) {
@@ -1455,25 +1828,25 @@ function Decode_requirementArrayDecoder(yEle) {
1455
1828
  switch (matchResult) {
1456
1829
  case 0: {
1457
1830
  const collection = map((ele) => object((get$) => {
1458
- let objectArg;
1459
- return Decode_requirementFromTypeName((objectArg = get$.Required, objectArg.Field("class", string)), get$);
1831
+ let objectArg = void 0;
1832
+ return Decode_addRequirementPayloadOverflow(ele, Decode_requirementFromTypeName((objectArg = get$.Required, objectArg.Field("class", string)), get$));
1460
1833
  }, ele), items);
1461
1834
  return Array.from(collection);
1462
1835
  }
1463
1836
  case 1:
1464
1837
  return object((get$_1) => {
1465
- const collection_1 = map$2((kv) => object((get$_2) => Decode_requirementFromTypeName(kv[0], get$_2), kv[1]), get$_1.Overflow.FieldList(empty()));
1838
+ const collection_1 = map$1((kv) => Decode_addRequirementPayloadOverflow(kv[1], object((get$_2) => Decode_requirementFromTypeName(kv[0], get$_2), kv[1])), get$_1.Overflow.FieldList(empty()));
1466
1839
  return Array.from(collection_1);
1467
1840
  }, yEle);
1468
1841
  default:
1469
- throw new Error(`Invalid CWL requirements syntax: ${other}`);
1842
+ throw ArgumentException_$ctor_Z721C83C5(`Invalid CWL requirements syntax: ${other}`);
1470
1843
  }
1471
1844
  }
1472
1845
  function Decode_tryDecodeKnownRequirementFromElement(element) {
1473
1846
  try {
1474
1847
  return object((get$) => {
1475
- let objectArg;
1476
- return Decode_requirementFromTypeName((objectArg = get$.Required, objectArg.Field("class", string)), get$);
1848
+ let objectArg = void 0;
1849
+ return Decode_addRequirementPayloadOverflow(element, Decode_requirementFromTypeName((objectArg = get$.Required, objectArg.Field("class", string)), get$));
1477
1850
  }, element);
1478
1851
  } catch (ex) {
1479
1852
  let hintClass;
@@ -1487,7 +1860,7 @@ function Decode_tryDecodeKnownRequirementFromElement(element) {
1487
1860
  }
1488
1861
  if (hintClass == null) {
1489
1862
  } else {
1490
- const knownClass = value(hintClass);
1863
+ value(hintClass);
1491
1864
  }
1492
1865
  return void 0;
1493
1866
  }
@@ -1510,7 +1883,7 @@ function Decode_decodeHintElement(element) {
1510
1883
  }
1511
1884
  }
1512
1885
  function Decode_hintArrayDecoder(yEle) {
1513
- let matchResult, items, other_1;
1886
+ let matchResult = void 0, items = void 0, other_1 = void 0;
1514
1887
  switch (yEle.tag) {
1515
1888
  case /* Object */
1516
1889
  3: {
@@ -1549,11 +1922,11 @@ function Decode_hintArrayDecoder(yEle) {
1549
1922
  }
1550
1923
  case 1:
1551
1924
  return object((get$) => {
1552
- const collection_1 = map$2((kv) => {
1553
- let matchValue, mappings;
1925
+ const collection_1 = map$1((kv) => {
1926
+ let matchValue = void 0, mappings = void 0;
1554
1927
  return Decode_decodeHintElement((matchValue = kv[1], matchValue.tag === /* Object */
1555
1928
  3 ? (mappings = matchValue.fields[0], exists((_arg) => {
1556
- let matchResult_1, k_1;
1929
+ let matchResult_1 = void 0, k_1 = void 0;
1557
1930
  if (_arg.tag === /* Mapping */
1558
1931
  0) {
1559
1932
  if (_arg.fields[0].Value === "class") {
@@ -1571,12 +1944,12 @@ function Decode_hintArrayDecoder(yEle) {
1571
1944
  default:
1572
1945
  return false;
1573
1946
  }
1574
- }, mappings) ? kv[1] : YAMLElement_Object(cons(YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("class"), YAMLElement_Object(singleton$1(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(kv[0]))))), mappings))) : YAMLElement_Object(ofArray([YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("class"), YAMLElement_Object(singleton$1(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(kv[0]))))), YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("value"), matchValue)]))));
1947
+ }, mappings) ? kv[1] : YAMLElement_Object$(cons(YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("class"), YAMLElement_Object$(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(kv[0]))))), mappings))) : YAMLElement_Object$(ofArray([YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("class"), YAMLElement_Object$(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(kv[0]))))), YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("value"), matchValue)]))));
1575
1948
  }, get$.Overflow.FieldList(empty()));
1576
1949
  return Array.from(collection_1);
1577
1950
  }, yEle);
1578
1951
  default:
1579
- throw new Error(`Invalid CWL hints syntax: ${other_1}`);
1952
+ throw ArgumentException_$ctor_Z721C83C5(`Invalid CWL hints syntax: ${other_1}`);
1580
1953
  }
1581
1954
  }
1582
1955
  const Decode_requirementsDecoder = (value) => object((get$) => {
@@ -1587,120 +1960,98 @@ const Decode_hintsDecoder = (value) => object((get$) => {
1587
1960
  const objectArg = get$.Optional;
1588
1961
  return objectArg.Field("hints", Decode_hintArrayDecoder);
1589
1962
  }, value);
1590
- const Decode_inputBindingDecoder = (value_5) => object((get$) => {
1963
+ const Decode_inputBindingDecoder = (value_9) => object((get$) => {
1591
1964
  const objectArg = get$.Optional;
1592
- return objectArg.Field("inputBinding", (value_4) => object((get$0027) => {
1593
- let objectArg_1, objectArg_2, objectArg_3, objectArg_4;
1594
- return new InputBinding((objectArg_1 = get$0027.Optional, objectArg_1.Field("prefix", string)), (objectArg_2 = get$0027.Optional, objectArg_2.Field("position", int)), (objectArg_3 = get$0027.Optional, objectArg_3.Field("itemSeparator", string)), (objectArg_4 = get$0027.Optional, objectArg_4.Field("separate", bool)));
1595
- }, value_4));
1596
- }, value_5);
1597
- const Decode_inputArrayDecoder = (value_1) => object((get$) => {
1598
- const dict = get$.Overflow.FieldList(empty());
1599
- const collection = toArray(delay(() => collect((key) => {
1600
- const value = getItemFromDict(dict, key);
1601
- const inputBinding = Decode_inputBindingDecoder(value);
1602
- let patternInput;
1603
- let matchResult, v, mappings;
1604
- if (value.tag === /* Object */
1605
- 3) {
1965
+ return objectArg.Field("inputBinding", (value) => object((get$0027) => {
1966
+ let objectArg_1 = void 0, objectArg_2 = void 0, objectArg_3 = void 0, objectArg_4 = void 0, objectArg_5 = void 0, objectArg_6 = void 0, objectArg_7 = void 0;
1967
+ const binding = new InputBinding(unwrap((objectArg_1 = get$0027.Optional, objectArg_1.Field("prefix", string))), unwrap((objectArg_2 = get$0027.Optional, objectArg_2.Field("position", (value_2) => int(value_2) | 0))), unwrap((objectArg_3 = get$0027.Optional, objectArg_3.Field("itemSeparator", string))), unwrap((objectArg_4 = get$0027.Optional, objectArg_4.Field("separate", bool))), unwrap((objectArg_5 = get$0027.Optional, objectArg_5.Field("loadContents", bool))), unwrap((objectArg_6 = get$0027.Optional, objectArg_6.Field("valueFrom", string))), unwrap((objectArg_7 = get$0027.Optional, objectArg_7.Field("shellQuote", bool))));
1968
+ Decode_overflowIntoDynamicObj(binding, toList(InputBinding.KnownFieldNames), value);
1969
+ return binding;
1970
+ }, value));
1971
+ }, value_9);
1972
+ function Decode_decodeNamedInput(name, value) {
1973
+ let v = void 0;
1974
+ const inputBinding = Decode_inputBindingDecoder(value);
1975
+ const patternInput = value.tag === /* Object */
1976
+ 3 ? !isEmpty(value.fields[0]) ? head(value.fields[0]).tag === /* Value */
1977
+ 1 ? isEmpty(tail(value.fields[0])) ? (v = head(value.fields[0]).fields[0], Decode_cwlTypeStringMatcher(v.Value, defaultOf())) : Decode_cwlTypeDecoder(value) : Decode_cwlTypeDecoder(value) : Decode_cwlTypeDecoder(value) : Decode_cwlTypeDecoder(value);
1978
+ const input = new CWLInput(name, patternInput[0], void 0, void 0, unwrap(Decode_tryGetStringField("label", value)), unwrap(Decode_tryGetYamlField("secondaryFiles", value)), unwrap(Decode_tryGetBoolField("streamable", value)), unwrap(Decode_tryGetStringField("doc", value)), unwrap(Decode_tryGetStringField("format", value)), unwrap(Decode_tryGetBoolField("loadContents", value)), unwrap(Decode_tryGetLoadListingField("loadListing", value)), unwrap(Decode_tryGetYamlField("default", value)));
1979
+ if (patternInput[1]) {
1980
+ input.Optional = true;
1981
+ }
1982
+ input.InputBinding = inputBinding;
1983
+ Decode_overflowIntoDynamicObj(input, toList(CWLInput.KnownFieldNames), value);
1984
+ return input;
1985
+ }
1986
+ function Decode_decodeInputSequenceItem(warnings, path, index, item) {
1987
+ const matchValue = Decode_tryGetStringField("id", item);
1988
+ if (matchValue == null) {
1989
+ if (Decode_isIgnorableYamlNoise(item)) {
1990
+ return void 0;
1991
+ } else {
1992
+ Decode_addWarning(warnings, `${path}[${index}]`, "Skipped malformed unnamed CWL input entry.", item);
1993
+ return void 0;
1994
+ }
1995
+ } else {
1996
+ return Decode_decodeNamedInput(value(matchValue), item);
1997
+ }
1998
+ }
1999
+ function Decode_inputArrayDecoderWithWarnings(warnings, path, value) {
2000
+ let matchResult = void 0, items = void 0;
2001
+ switch (value.tag) {
2002
+ case /* Object */
2003
+ 3: {
1606
2004
  if (!isEmpty(value.fields[0])) {
1607
- if (head(value.fields[0]).tag === /* Value */
1608
- 1) {
2005
+ if (head(value.fields[0]).tag === /* Sequence */
2006
+ 2) {
1609
2007
  if (isEmpty(tail(value.fields[0]))) {
1610
2008
  matchResult = 0;
1611
- v = head(value.fields[0]).fields[0];
1612
- } else {
1613
- matchResult = 1;
1614
- mappings = value.fields[0];
1615
- }
1616
- } else {
1617
- matchResult = 1;
1618
- mappings = value.fields[0];
1619
- }
1620
- } else {
1621
- matchResult = 1;
1622
- mappings = value.fields[0];
1623
- }
1624
- } else {
1625
- matchResult = 2;
1626
- }
1627
- switch (matchResult) {
1628
- case 0: {
1629
- patternInput = Decode_cwlTypeStringMatcher(v.Value, get$);
1630
- break;
1631
- }
1632
- case 1: {
1633
- if (exists((m) => {
1634
- let matchResult_1, k_1;
1635
- if (m.tag === /* Mapping */
1636
- 0) {
1637
- if (m.fields[0].Value === "type") {
1638
- matchResult_1 = 0;
1639
- k_1 = m.fields[0];
1640
- } else {
1641
- matchResult_1 = 1;
1642
- }
1643
- } else {
1644
- matchResult_1 = 1;
1645
- }
1646
- switch (matchResult_1) {
1647
- case 0:
1648
- return true;
1649
- default:
1650
- return false;
1651
- }
1652
- }, mappings)) {
1653
- patternInput = Decode_cwlTypeDecoder(value);
1654
- } else {
1655
- let matchResult_2, v_1;
1656
- if (value.tag === /* Object */
1657
- 3) {
1658
- if (!isEmpty(value.fields[0])) {
1659
- if (head(value.fields[0]).tag === /* Value */
1660
- 1) {
1661
- if (isEmpty(tail(value.fields[0]))) {
1662
- matchResult_2 = 0;
1663
- v_1 = head(value.fields[0]).fields[0];
1664
- } else {
1665
- matchResult_2 = 1;
1666
- }
1667
- } else {
1668
- matchResult_2 = 1;
1669
- }
1670
- } else {
1671
- matchResult_2 = 1;
1672
- }
2009
+ items = head(value.fields[0]).fields[0];
1673
2010
  } else {
1674
- matchResult_2 = 1;
1675
- }
1676
- switch (matchResult_2) {
1677
- case 0: {
1678
- patternInput = Decode_cwlTypeStringMatcher(v_1.Value, get$);
1679
- break;
1680
- }
1681
- default:
1682
- throw new Error("Unexpected input format without type field");
2011
+ matchResult = 1;
1683
2012
  }
2013
+ } else {
2014
+ matchResult = 1;
1684
2015
  }
1685
- break;
2016
+ } else {
2017
+ matchResult = 1;
1686
2018
  }
1687
- default:
1688
- throw new Error("Unexpected input format in inputArrayDecoder");
2019
+ break;
1689
2020
  }
1690
- const input = new CWLInput(key, patternInput[0]);
1691
- return append(patternInput[1] ? (setOptionalProperty("optional", true, input), empty$1()) : empty$1(), delay(() => append(inputBinding != null ? (setOptionalProperty("inputBinding", inputBinding, input), empty$1()) : empty$1(), delay(() => singleton(input)))));
1692
- }, dict.keys())));
1693
- return Array.from(collection);
1694
- }, value_1);
1695
- const Decode_inputsDecoder = (value) => object((get$) => {
1696
- const objectArg = get$.Optional;
1697
- return objectArg.Field("inputs", Decode_inputArrayDecoder);
1698
- }, value);
2021
+ case /* Sequence */
2022
+ 2: {
2023
+ matchResult = 0;
2024
+ items = value.fields[0];
2025
+ break;
2026
+ }
2027
+ default:
2028
+ matchResult = 1;
2029
+ }
2030
+ switch (matchResult) {
2031
+ case 0: {
2032
+ const collection = choose((x) => x, mapIndexed((index, item) => Decode_decodeInputSequenceItem(warnings, path, index, item), items));
2033
+ return Array.from(collection);
2034
+ }
2035
+ default: {
2036
+ const dict = object((get$) => get$.Overflow.FieldList(empty()), value);
2037
+ const collection_1 = toArray(delay(() => map$1((key) => Decode_decodeNamedInput(key, getItemFromDict(dict, key)), dict.keys())));
2038
+ return Array.from(collection_1);
2039
+ }
2040
+ }
2041
+ }
2042
+ const Decode_inputArrayDecoder = (value) => Decode_inputArrayDecoderWithWarnings(void 0, "inputs", value);
2043
+ function Decode_inputsDecoderWithWarnings(warnings) {
2044
+ return (value_1) => object((get$) => {
2045
+ const objectArg = get$.Optional;
2046
+ return objectArg.Field("inputs", (value) => Decode_inputArrayDecoderWithWarnings(warnings, "inputs", value));
2047
+ }, value_1);
2048
+ }
2049
+ const Decode_inputsDecoder = Decode_inputsDecoderWithWarnings(void 0);
1699
2050
  const Decode_baseCommandDecoder = (value_2) => object((get$) => {
1700
2051
  let baseCommandField;
1701
2052
  const objectArg = get$.Optional;
1702
2053
  baseCommandField = objectArg.Field("baseCommand", (x) => x);
1703
- let matchResult, v, v_1, s, s_1;
2054
+ let matchResult = void 0, v = void 0, v_1 = void 0, s = void 0, s_1 = void 0;
1704
2055
  if (baseCommandField == null) {
1705
2056
  matchResult = 4;
1706
2057
  } else {
@@ -1801,7 +2152,7 @@ function Decode_stringFieldDecoder(field) {
1801
2152
  }, value_1);
1802
2153
  }
1803
2154
  function Decode_stringOrStringArrayDecoder(value) {
1804
- let matchResult, v, s;
2155
+ let matchResult = void 0, v = void 0, s = void 0;
1805
2156
  switch (value.tag) {
1806
2157
  case /* Object */
1807
2158
  3: {
@@ -1861,8 +2212,14 @@ function Decode_stringOrStringArrayDecoder(value) {
1861
2212
  }
1862
2213
  function Decode_sourceArrayFieldDecoder(field) {
1863
2214
  return (value_1) => object((get$) => {
1864
- let objectArg;
1865
- return bind(Decode_stringOrStringArrayDecoder, (objectArg = get$.Optional, objectArg.Field(field, (x) => x)));
2215
+ let option_1;
2216
+ const objectArg = get$.Optional;
2217
+ option_1 = objectArg.Field(field, (x) => x);
2218
+ if (option_1 != null) {
2219
+ return Decode_stringOrStringArrayDecoder(value(option_1));
2220
+ } else {
2221
+ return void 0;
2222
+ }
1866
2223
  }, value_1);
1867
2224
  }
1868
2225
  function Decode_linkMergeFieldDecoder(field) {
@@ -1876,7 +2233,7 @@ function Decode_linkMergeFieldDecoder(field) {
1876
2233
  const linkMergeString = value(linkMergeField);
1877
2234
  const matchValue = LinkMergeMethod.tryParse(linkMergeString);
1878
2235
  if (matchValue == null) {
1879
- throw new Error(`Invalid linkMerge value: ${linkMergeString}`);
2236
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid linkMerge value: ", linkMergeString));
1880
2237
  } else {
1881
2238
  return value(matchValue);
1882
2239
  }
@@ -1894,7 +2251,7 @@ function Decode_pickValueFieldDecoder(field) {
1894
2251
  const pickValueString = value(pickValueField);
1895
2252
  const matchValue = PickValueMethod.tryParse(pickValueString);
1896
2253
  if (matchValue == null) {
1897
- throw new Error(`Invalid pickValue value: ${pickValueString}`);
2254
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid pickValue value: ", pickValueString));
1898
2255
  } else {
1899
2256
  return value(matchValue);
1900
2257
  }
@@ -1903,8 +2260,14 @@ function Decode_pickValueFieldDecoder(field) {
1903
2260
  }
1904
2261
  function Decode_scatterFieldDecoder(field) {
1905
2262
  return (value_1) => object((get$) => {
1906
- let objectArg;
1907
- return bind(Decode_stringOrStringArrayDecoder, (objectArg = get$.Optional, objectArg.Field(field, (x) => x)));
2263
+ let option_1;
2264
+ const objectArg = get$.Optional;
2265
+ option_1 = objectArg.Field(field, (x) => x);
2266
+ if (option_1 != null) {
2267
+ return Decode_stringOrStringArrayDecoder(value(option_1));
2268
+ } else {
2269
+ return void 0;
2270
+ }
1908
2271
  }, value_1);
1909
2272
  }
1910
2273
  function Decode_scatterMethodFieldDecoder(field) {
@@ -1918,7 +2281,7 @@ function Decode_scatterMethodFieldDecoder(field) {
1918
2281
  const scatterMethodString = value(scatterMethodField);
1919
2282
  const matchValue = ScatterMethod.tryParse(scatterMethodString);
1920
2283
  if (matchValue == null) {
1921
- throw new Error(`Invalid scatterMethod value: ${scatterMethodString}`);
2284
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid scatterMethod value: ", scatterMethodString));
1922
2285
  } else {
1923
2286
  return value(matchValue);
1924
2287
  }
@@ -1926,30 +2289,54 @@ function Decode_scatterMethodFieldDecoder(field) {
1926
2289
  }, value_1);
1927
2290
  }
1928
2291
  function Decode_expressionStringOptionFieldDecoder(field) {
1929
- return (value) => object((get$) => {
1930
- let objectArg;
1931
- return map$1(Decode_decodeStringOrExpression, (objectArg = get$.Optional, objectArg.Field(field, (x) => x)));
1932
- }, value);
2292
+ return (value$1) => object((get$) => {
2293
+ let option_1;
2294
+ const objectArg = get$.Optional;
2295
+ option_1 = objectArg.Field(field, (x) => x);
2296
+ if (option_1 != null) {
2297
+ return Decode_decodeStringOrExpression(value(option_1));
2298
+ } else {
2299
+ return void 0;
2300
+ }
2301
+ }, value$1);
1933
2302
  }
1934
2303
  function Decode_decodeStepInputFromValue(id, value$1, allowScalarSource) {
1935
2304
  const scalarSource = allowScalarSource ? Decode_stringOrStringArrayDecoder(value$1) : void 0;
1936
2305
  const fieldSource = Decode_sourceArrayFieldDecoder("source")(value$1);
1937
- return new StepInput(id, scalarSource != null ? value(scalarSource) : fieldSource != null ? value(fieldSource) : void 0, Decode_yamlElementOptionFieldDecoder("default")(value$1), Decode_stringOptionFieldDecoder("valueFrom")(value$1), Decode_linkMergeFieldDecoder("linkMerge")(value$1), Decode_pickValueFieldDecoder("pickValue")(value$1), Decode_stringOptionFieldDecoder("doc")(value$1), Decode_boolOptionFieldDecoder("loadContents")(value$1), Decode_stringOptionFieldDecoder("loadListing")(value$1), Decode_stringOptionFieldDecoder("label")(value$1));
2306
+ const source = scalarSource != null ? value(scalarSource) : fieldSource != null ? value(fieldSource) : void 0;
2307
+ const stepInput = StepInput.create(id, unwrap(source), unwrap(Decode_yamlElementOptionFieldDecoder("default")(value$1)), unwrap(Decode_stringOptionFieldDecoder("valueFrom")(value$1)), unwrap(Decode_linkMergeFieldDecoder("linkMerge")(value$1)), unwrap(Decode_pickValueFieldDecoder("pickValue")(value$1)), unwrap(Decode_stringOptionFieldDecoder("doc")(value$1)), unwrap(Decode_boolOptionFieldDecoder("loadContents")(value$1)), unwrap(Decode_stringOptionFieldDecoder("loadListing")(value$1)), unwrap(Decode_stringOptionFieldDecoder("label")(value$1)));
2308
+ Decode_overflowIntoDynamicObj(stepInput, toList(StepInput.KnownFieldNames), value$1);
2309
+ return stepInput;
1938
2310
  }
1939
2311
  function Decode_decodeStepInputsFromMap(value) {
1940
2312
  const dict = object((get$) => get$.Overflow.FieldList(empty()), value);
1941
- const collection = toArray(delay(() => map$2((key) => Decode_decodeStepInputFromValue(key, getItemFromDict(dict, key), true), dict.keys())));
2313
+ const collection = toArray(delay(() => map$1((key) => Decode_decodeStepInputFromValue(key, getItemFromDict(dict, key), true), dict.keys())));
1942
2314
  return Array.from(collection);
1943
2315
  }
1944
2316
  function Decode_decodeStepInputFromArrayItem(item) {
1945
2317
  return Decode_decodeStepInputFromValue(Decode_stringFieldDecoder("id")(item), item, false);
1946
2318
  }
1947
- function Decode_decodeStepInputsFromArray(items) {
1948
- const collection = map(Decode_decodeStepInputFromArrayItem, items);
2319
+ function Decode_decodeStepInputsFromArrayWithWarnings(warnings, path, items) {
2320
+ const collection = choose((x) => x, mapIndexed((index, item) => {
2321
+ const matchValue = Decode_tryGetStringField("id", item);
2322
+ if (matchValue == null) {
2323
+ if (Decode_isIgnorableYamlNoise(item)) {
2324
+ return void 0;
2325
+ } else {
2326
+ Decode_addWarning(warnings, `${path}[${index}]`, "Skipped malformed unnamed CWL step input entry.", item);
2327
+ return void 0;
2328
+ }
2329
+ } else {
2330
+ return Decode_decodeStepInputFromArrayItem(item);
2331
+ }
2332
+ }, items));
1949
2333
  return Array.from(collection);
1950
2334
  }
1951
- function Decode_inputStepDecoder(value) {
1952
- let matchResult, items;
2335
+ function Decode_decodeStepInputsFromArray(items) {
2336
+ return Decode_decodeStepInputsFromArrayWithWarnings(void 0, "in", items);
2337
+ }
2338
+ function Decode_inputStepDecoderWithWarnings(warnings, path, value) {
2339
+ let matchResult = void 0, items = void 0;
1953
2340
  switch (value.tag) {
1954
2341
  case /* Object */
1955
2342
  3: {
@@ -1981,13 +2368,14 @@ function Decode_inputStepDecoder(value) {
1981
2368
  }
1982
2369
  switch (matchResult) {
1983
2370
  case 0:
1984
- return Decode_decodeStepInputsFromArray(items);
2371
+ return Decode_decodeStepInputsFromArrayWithWarnings(warnings, path, items);
1985
2372
  default:
1986
2373
  return Decode_decodeStepInputsFromMap(value);
1987
2374
  }
1988
2375
  }
2376
+ const Decode_inputStepDecoder = (value) => Decode_inputStepDecoderWithWarnings(void 0, "in", value);
1989
2377
  function Decode_decodeStepOutputItem(value) {
1990
- let matchResult, v;
2378
+ let matchResult = void 0, v = void 0;
1991
2379
  switch (value.tag) {
1992
2380
  case /* Object */
1993
2381
  3: {
@@ -2020,15 +2408,19 @@ function Decode_decodeStepOutputItem(value) {
2020
2408
  switch (matchResult) {
2021
2409
  case 0:
2022
2410
  return StepOutput_StepOutputString(v.Value);
2023
- default:
2024
- return StepOutput_StepOutputRecord(new StepOutputParameter(Decode_stringFieldDecoder("id")(value)));
2411
+ default: {
2412
+ const id = Decode_stringFieldDecoder("id")(value);
2413
+ const output = StepOutputParameter.create(id);
2414
+ Decode_overflowIntoDynamicObj(output, toList(StepOutputParameter.KnownFieldNames), value);
2415
+ return StepOutput_StepOutputRecord(output);
2416
+ }
2025
2417
  }
2026
2418
  }
2027
2419
  const Decode_outputStepsDecoder = (value_2) => object((get$) => {
2028
2420
  let outField;
2029
2421
  const objectArg = get$.Required;
2030
2422
  outField = objectArg.Field("out", (x) => x);
2031
- let matchResult, v_1, outputs, value_1;
2423
+ let matchResult = void 0, v_1 = void 0, outputs = void 0, value_1 = void 0;
2032
2424
  switch (outField.tag) {
2033
2425
  case /* Object */
2034
2426
  3: {
@@ -2121,14 +2513,20 @@ const Decode_idDecoder = (value_1) => object((get$) => {
2121
2513
  return objectArg.Field("id", string);
2122
2514
  }, value_1);
2123
2515
  const Decode_intentDecoder = (value_1) => object((get$) => {
2124
- let objectArg;
2125
- return bind(Decode_stringOrStringArrayDecoder, (objectArg = get$.Optional, objectArg.Field("intent", (x) => x)));
2516
+ let option_1;
2517
+ const objectArg = get$.Optional;
2518
+ option_1 = objectArg.Field("intent", (x) => x);
2519
+ if (option_1 != null) {
2520
+ return Decode_stringOrStringArrayDecoder(value(option_1));
2521
+ } else {
2522
+ return void 0;
2523
+ }
2126
2524
  }, value_1);
2127
2525
  function Decode_hasField(fieldName, yamlElement) {
2128
2526
  if (yamlElement.tag === /* Object */
2129
2527
  3) {
2130
2528
  return exists((_arg) => {
2131
- let matchResult, k_1;
2529
+ let matchResult = void 0, k_1 = void 0;
2132
2530
  if (_arg.tag === /* Mapping */
2133
2531
  0) {
2134
2532
  if (_arg.fields[0].Value === fieldName) {
@@ -2152,22 +2550,21 @@ function Decode_hasField(fieldName, yamlElement) {
2152
2550
  }
2153
2551
  }
2154
2552
  function Decode_withDefaultCwlVersion(defaultCwlVersion, yamlElement) {
2155
- let fields;
2156
2553
  if (yamlElement.tag === /* Object */
2157
2554
  3) {
2158
- if (fields = yamlElement.fields[0], Decode_hasField("cwlVersion", yamlElement)) {
2555
+ if (yamlElement.fields[0], Decode_hasField("cwlVersion", yamlElement)) {
2159
2556
  const fields_1 = yamlElement.fields[0];
2160
2557
  return yamlElement;
2161
2558
  } else {
2162
2559
  const fields_2 = yamlElement.fields[0];
2163
- return YAMLElement_Object(cons(YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("cwlVersion"), YAMLElement_Object(singleton$1(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(defaultCwlVersion))))), fields_2));
2560
+ return YAMLElement_Object$(cons(YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9("cwlVersion"), YAMLElement_Object$(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(defaultCwlVersion))))), fields_2));
2164
2561
  }
2165
2562
  } else {
2166
2563
  return yamlElement;
2167
2564
  }
2168
2565
  }
2169
- function Decode_workflowStepRunDecoder(defaultCwlVersion, runValue) {
2170
- let matchResult, v;
2566
+ function Decode_workflowStepRunDecoder(warnings, defaultCwlVersion, runValue) {
2567
+ let matchResult = void 0, v = void 0;
2171
2568
  switch (runValue.tag) {
2172
2569
  case /* Object */
2173
2570
  3: {
@@ -2201,7 +2598,7 @@ function Decode_workflowStepRunDecoder(defaultCwlVersion, runValue) {
2201
2598
  case 0:
2202
2599
  return WorkflowStepRun_RunString(v.Value);
2203
2600
  case 1: {
2204
- const matchValue = Decode_decodeCWLProcessingUnitElement(Decode_withDefaultCwlVersion(defaultCwlVersion, runValue));
2601
+ const matchValue = Decode_decodeCWLProcessingUnitElementWithWarnings(warnings, Decode_withDefaultCwlVersion(defaultCwlVersion, runValue));
2205
2602
  switch (matchValue.tag) {
2206
2603
  case /* Workflow */
2207
2604
  1:
@@ -2217,17 +2614,20 @@ function Decode_workflowStepRunDecoder(defaultCwlVersion, runValue) {
2217
2614
  }
2218
2615
  }
2219
2616
  default:
2220
- throw new Error(toText(interpolate("Unsupported run value for workflow step: %A%P()", [runValue])));
2617
+ throw ArgumentException_$ctor_Z721C83C5(`Unsupported run value for workflow step: ${interpolate("%A%P()", [runValue])}`);
2221
2618
  }
2222
2619
  }
2223
- function Decode_decodeWorkflowStepFromValueWithId(defaultCwlVersion, stepId, value) {
2224
- const run = Decode_workflowStepRunDecoder(defaultCwlVersion, object((get$0027) => {
2620
+ function Decode_decodeWorkflowStepFromValueWithId(warnings, defaultCwlVersion, path, stepId, value) {
2621
+ const run = Decode_workflowStepRunDecoder(warnings, defaultCwlVersion, object((get$0027) => {
2225
2622
  const objectArg = get$0027.Required;
2226
2623
  return objectArg.Field("run", (x) => x);
2227
2624
  }, value));
2228
2625
  const inputs = object((get$0027_1) => {
2626
+ let arg_3;
2627
+ const path_1 = concat(path, ".in");
2628
+ arg_3 = (value_1) => Decode_inputStepDecoderWithWarnings(warnings, path_1, value_1);
2229
2629
  const objectArg_1 = get$0027_1.Required;
2230
- return objectArg_1.Field("in", Decode_inputStepDecoder);
2630
+ return objectArg_1.Field("in", arg_3);
2231
2631
  }, value);
2232
2632
  const outputs = Decode_outputStepsDecoder(value);
2233
2633
  const requirements = Decode_requirementsDecoder(value);
@@ -2240,13 +2640,27 @@ function Decode_decodeWorkflowStepFromValueWithId(defaultCwlVersion, stepId, val
2240
2640
  if (hints != null) {
2241
2641
  wfStep.Hints = hints;
2242
2642
  }
2643
+ Decode_overflowIntoDynamicObj(wfStep, toList(WorkflowStep.KnownFieldNames), value);
2243
2644
  return wfStep;
2244
2645
  }
2245
2646
  function Decode_decodeWorkflowStepFromArrayItem(defaultCwlVersion, item) {
2246
- return Decode_decodeWorkflowStepFromValueWithId(defaultCwlVersion, Decode_stringFieldDecoder("id")(item), item);
2647
+ return Decode_decodeWorkflowStepFromValueWithId(void 0, defaultCwlVersion, "steps[]", Decode_stringFieldDecoder("id")(item), item);
2648
+ }
2649
+ function Decode_decodeWorkflowStepFromArrayItemWithWarnings(warnings, defaultCwlVersion, index, item) {
2650
+ const matchValue = Decode_tryGetStringField("id", item);
2651
+ if (matchValue == null) {
2652
+ if (Decode_isIgnorableYamlNoise(item)) {
2653
+ return void 0;
2654
+ } else {
2655
+ Decode_addWarning(warnings, `steps[${index}]`, "Skipped malformed unnamed CWL workflow step entry.", item);
2656
+ return void 0;
2657
+ }
2658
+ } else {
2659
+ return Decode_decodeWorkflowStepFromValueWithId(warnings, defaultCwlVersion, `steps[${index}]`, value(matchValue), item);
2660
+ }
2247
2661
  }
2248
- function Decode_stepArrayDecoderWithVersion(defaultCwlVersion, value) {
2249
- let matchResult, items;
2662
+ function Decode_stepArrayDecoderWithVersion(warnings, defaultCwlVersion, value) {
2663
+ let matchResult = void 0, items = void 0;
2250
2664
  switch (value.tag) {
2251
2665
  case /* Object */
2252
2666
  3: {
@@ -2278,38 +2692,37 @@ function Decode_stepArrayDecoderWithVersion(defaultCwlVersion, value) {
2278
2692
  }
2279
2693
  switch (matchResult) {
2280
2694
  case 0: {
2281
- const collection = map((item) => Decode_decodeWorkflowStepFromArrayItem(defaultCwlVersion, item), items);
2695
+ const collection = choose((x) => x, mapIndexed((index, item) => Decode_decodeWorkflowStepFromArrayItemWithWarnings(warnings, defaultCwlVersion, index, item), items));
2282
2696
  return Array.from(collection);
2283
2697
  }
2284
2698
  default: {
2285
2699
  const dict = object((get$) => get$.Overflow.FieldList(empty()), value);
2286
- const collection_1 = toArray(delay(() => map$2((key) => Decode_decodeWorkflowStepFromValueWithId(defaultCwlVersion, key, getItemFromDict(dict, key)), dict.keys())));
2700
+ const collection_1 = toArray(delay(() => map$1((key) => Decode_decodeWorkflowStepFromValueWithId(warnings, defaultCwlVersion, concat("steps.", key), key, getItemFromDict(dict, key)), dict.keys())));
2287
2701
  return Array.from(collection_1);
2288
2702
  }
2289
2703
  }
2290
2704
  }
2291
- function Decode_stepsDecoderWithVersion(defaultCwlVersion) {
2705
+ function Decode_stepsDecoderWithVersion(warnings, defaultCwlVersion) {
2292
2706
  return (value_1) => object((get$) => {
2293
2707
  const objectArg = get$.Required;
2294
- return objectArg.Field("steps", (value) => Decode_stepArrayDecoderWithVersion(defaultCwlVersion, value));
2708
+ return objectArg.Field("steps", (value) => Decode_stepArrayDecoderWithVersion(warnings, defaultCwlVersion, value));
2295
2709
  }, value_1);
2296
2710
  }
2297
- function Decode_commandLineToolDecoder(yamlCWL) {
2711
+ function Decode_commandLineToolDecoder(warnings, yamlCWL) {
2298
2712
  const cwlVersion = Decode_versionDecoder(yamlCWL);
2299
- const outputs = Decode_outputsDecoder(yamlCWL);
2300
- const inputs = Decode_inputsDecoder(yamlCWL);
2713
+ const outputs = Decode_outputsDecoderWithWarnings(warnings)(yamlCWL);
2714
+ const inputs = Decode_inputsDecoderWithWarnings(warnings)(yamlCWL);
2301
2715
  const requirements = Decode_requirementsDecoder(yamlCWL);
2302
2716
  const hints = Decode_hintsDecoder(yamlCWL);
2303
2717
  const intent = Decode_intentDecoder(yamlCWL);
2304
2718
  const baseCommand = Decode_baseCommandDecoder(yamlCWL);
2305
2719
  const doc = Decode_docDecoder(yamlCWL);
2306
2720
  const label = Decode_labelDecoder(yamlCWL);
2307
- const description = new CWLToolDescription(outputs, cwlVersion, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(Decode_idDecoder(yamlCWL)));
2721
+ const description = new CWLToolDescription(outputs, cwlVersion, void 0, unwrap(Decode_tryGetYamlField("arguments", yamlCWL)), unwrap(Decode_tryGetStringField("stdin", yamlCWL)), unwrap(Decode_tryGetStringField("stderr", yamlCWL)), unwrap(Decode_tryGetStringField("stdout", yamlCWL)), unwrap(Decode_tryGetIntArrayField("successCodes", yamlCWL)), unwrap(Decode_tryGetIntArrayField("temporaryFailCodes", yamlCWL)), unwrap(Decode_tryGetIntArrayField("permanentFailCodes", yamlCWL)), void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(Decode_idDecoder(yamlCWL)));
2308
2722
  let metadata;
2309
2723
  const md = new DynamicObj();
2310
- object((get$) => Decode_overflowDecoder(md, get$.Overflow.FieldList(ofArray(["inputs", "outputs", "class", "id", "label", "doc", "intent", "requirements", "hints", "cwlVersion", "baseCommand", "arguments", "stdin", "stderr", "stdout", "successCodes", "temporaryFailCodes", "permanentFailCodes"]))), yamlCWL);
2724
+ object((get$) => Decode_overflowDecoder(md, get$.Overflow.FieldList(toList(CWLToolDescription.KnownFieldNames))), yamlCWL);
2311
2725
  metadata = md;
2312
- object((get$_1) => Decode_overflowDecoder(description, get$_1.MultipleOptional.FieldList(ofArray(["arguments", "stdin", "stderr", "stdout", "successCodes", "temporaryFailCodes", "permanentFailCodes"]))), yamlCWL);
2313
2726
  if (inputs != null) {
2314
2727
  description.Inputs = inputs;
2315
2728
  }
@@ -2336,10 +2749,10 @@ function Decode_commandLineToolDecoder(yamlCWL) {
2336
2749
  }
2337
2750
  return description;
2338
2751
  }
2339
- function Decode_expressionToolDecoder(yamlCWL) {
2752
+ function Decode_expressionToolDecoder(warnings, yamlCWL) {
2340
2753
  const cwlVersion = Decode_versionDecoder(yamlCWL);
2341
- const outputs = Decode_outputsDecoder(yamlCWL);
2342
- const inputs = Decode_inputsDecoder(yamlCWL);
2754
+ const outputs = Decode_outputsDecoderWithWarnings(warnings)(yamlCWL);
2755
+ const inputs = Decode_inputsDecoderWithWarnings(warnings)(yamlCWL);
2343
2756
  const requirements = Decode_requirementsDecoder(yamlCWL);
2344
2757
  const hints = Decode_hintsDecoder(yamlCWL);
2345
2758
  const intent = Decode_intentDecoder(yamlCWL);
@@ -2351,7 +2764,7 @@ function Decode_expressionToolDecoder(yamlCWL) {
2351
2764
  }, yamlCWL), cwlVersion, void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(Decode_idDecoder(yamlCWL)));
2352
2765
  let metadata;
2353
2766
  const md = new DynamicObj();
2354
- object((get$_1) => Decode_overflowDecoder(md, get$_1.Overflow.FieldList(ofArray(["inputs", "outputs", "class", "id", "label", "doc", "intent", "requirements", "hints", "cwlVersion", "expression"]))), yamlCWL);
2767
+ object((get$_1) => Decode_overflowDecoder(md, get$_1.Overflow.FieldList(toList(CWLExpressionToolDescription.KnownFieldNames))), yamlCWL);
2355
2768
  metadata = md;
2356
2769
  if (inputs != null) {
2357
2770
  description.Inputs = inputs;
@@ -2376,13 +2789,13 @@ function Decode_expressionToolDecoder(yamlCWL) {
2376
2789
  }
2377
2790
  return description;
2378
2791
  }
2379
- function Decode_operationDecoder(yamlCWL) {
2792
+ function Decode_operationDecoder(warnings, yamlCWL) {
2380
2793
  const cwlVersion = Decode_versionDecoder(yamlCWL);
2381
- const outputs = Decode_outputsDecoder(yamlCWL);
2794
+ const outputs = Decode_outputsDecoderWithWarnings(warnings)(yamlCWL);
2382
2795
  let inputs;
2383
- const matchValue = Decode_inputsDecoder(yamlCWL);
2796
+ const matchValue = Decode_inputsDecoderWithWarnings(warnings)(yamlCWL);
2384
2797
  if (matchValue == null) {
2385
- throw new Error("Inputs are required for an operation");
2798
+ throw InvalidOperationException_$ctor_Z721C83C5("Inputs are required for an operation");
2386
2799
  } else {
2387
2800
  inputs = value(matchValue);
2388
2801
  }
@@ -2394,7 +2807,7 @@ function Decode_operationDecoder(yamlCWL) {
2394
2807
  const description = new CWLOperationDescription(inputs, outputs, cwlVersion, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(Decode_idDecoder(yamlCWL)));
2395
2808
  let metadata;
2396
2809
  const md = new DynamicObj();
2397
- object((get$) => Decode_overflowDecoder(md, get$.Overflow.FieldList(ofArray(["inputs", "outputs", "label", "doc", "intent", "class", "id", "requirements", "hints", "cwlVersion"]))), yamlCWL);
2810
+ object((get$) => Decode_overflowDecoder(md, get$.Overflow.FieldList(toList(CWLOperationDescription.KnownFieldNames))), yamlCWL);
2398
2811
  metadata = md;
2399
2812
  if (requirements != null) {
2400
2813
  description.Requirements = requirements;
@@ -2416,26 +2829,26 @@ function Decode_operationDecoder(yamlCWL) {
2416
2829
  }
2417
2830
  return description;
2418
2831
  }
2419
- function Decode_workflowDecoder(yamlCWL) {
2832
+ function Decode_workflowDecoder(warnings, yamlCWL) {
2420
2833
  const cwlVersion = Decode_versionDecoder(yamlCWL);
2421
- const outputs = Decode_outputsDecoder(yamlCWL);
2834
+ const outputs = Decode_outputsDecoderWithWarnings(warnings)(yamlCWL);
2422
2835
  let inputs;
2423
- const matchValue = Decode_inputsDecoder(yamlCWL);
2836
+ const matchValue = Decode_inputsDecoderWithWarnings(warnings)(yamlCWL);
2424
2837
  if (matchValue == null) {
2425
- throw new Error("Inputs are required for a workflow");
2838
+ throw InvalidOperationException_$ctor_Z721C83C5("Inputs are required for a workflow");
2426
2839
  } else {
2427
2840
  inputs = value(matchValue);
2428
2841
  }
2429
2842
  const requirements = Decode_requirementsDecoder(yamlCWL);
2430
2843
  const hints = Decode_hintsDecoder(yamlCWL);
2431
2844
  const intent = Decode_intentDecoder(yamlCWL);
2432
- const steps = Decode_stepsDecoderWithVersion(cwlVersion)(yamlCWL);
2845
+ const steps = Decode_stepsDecoderWithVersion(warnings, cwlVersion)(yamlCWL);
2433
2846
  const doc = Decode_docDecoder(yamlCWL);
2434
2847
  const label = Decode_labelDecoder(yamlCWL);
2435
2848
  const description = new CWLWorkflowDescription(steps, inputs, outputs, cwlVersion, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(Decode_idDecoder(yamlCWL)));
2436
2849
  let metadata;
2437
2850
  const md = new DynamicObj();
2438
- object((get$) => Decode_overflowDecoder(md, get$.Overflow.FieldList(ofArray(["inputs", "outputs", "label", "doc", "intent", "class", "steps", "id", "requirements", "hints", "cwlVersion"]))), yamlCWL);
2851
+ object((get$) => Decode_overflowDecoder(md, get$.Overflow.FieldList(toList(CWLWorkflowDescription.KnownFieldNames))), yamlCWL);
2439
2852
  metadata = md;
2440
2853
  if (requirements != null) {
2441
2854
  description.Requirements = requirements;
@@ -2457,256 +2870,326 @@ function Decode_workflowDecoder(yamlCWL) {
2457
2870
  }
2458
2871
  return description;
2459
2872
  }
2460
- function Decode_decodeCWLProcessingUnitElement(yamlCWL) {
2873
+ function Decode_decodeCWLProcessingUnitElementWithWarnings(warnings, yamlCWL) {
2461
2874
  const cls = Decode_classDecoder(yamlCWL);
2462
2875
  switch (cls) {
2463
2876
  case "CommandLineTool":
2464
- return CWLProcessingUnit_CommandLineTool(Decode_commandLineToolDecoder(yamlCWL));
2877
+ return CWLProcessingUnit_CommandLineTool(Decode_commandLineToolDecoder(warnings, yamlCWL));
2465
2878
  case "Workflow":
2466
- return CWLProcessingUnit_Workflow(Decode_workflowDecoder(yamlCWL));
2879
+ return CWLProcessingUnit_Workflow(Decode_workflowDecoder(warnings, yamlCWL));
2467
2880
  case "ExpressionTool":
2468
- return CWLProcessingUnit_ExpressionTool(Decode_expressionToolDecoder(yamlCWL));
2881
+ return CWLProcessingUnit_ExpressionTool(Decode_expressionToolDecoder(warnings, yamlCWL));
2469
2882
  case "Operation":
2470
- return CWLProcessingUnit_Operation(Decode_operationDecoder(yamlCWL));
2883
+ return CWLProcessingUnit_Operation(Decode_operationDecoder(warnings, yamlCWL));
2471
2884
  default:
2472
- throw new Error(`Invalid or unsupported CWL class: ${cls}`);
2885
+ throw ArgumentException_$ctor_Z721C83C5(concat("Invalid or unsupported CWL class: ", cls));
2473
2886
  }
2474
2887
  }
2475
- const Decode_stepArrayDecoder = (value) => Decode_stepArrayDecoderWithVersion("v1.2", value);
2476
- const Decode_stepsDecoder = Decode_stepsDecoderWithVersion("v1.2");
2888
+ function Decode_decodeCWLProcessingUnitElement(yamlCWL) {
2889
+ return Decode_decodeCWLProcessingUnitElementWithWarnings(void 0, yamlCWL);
2890
+ }
2891
+ const Decode_stepArrayDecoder = (value) => Decode_stepArrayDecoderWithVersion(void 0, "v1.2", value);
2892
+ const Decode_stepsDecoder = Decode_stepsDecoderWithVersion(void 0, "v1.2");
2893
+ function Decode_decodeCommandLineToolWithWarnings(cwl) {
2894
+ const warnings = [];
2895
+ return new Decode_DecodeResult$1(Decode_commandLineToolDecoder(warnings, Decode_readSanitizedYaml(cwl)), warnings);
2896
+ }
2477
2897
  function Decode_decodeCommandLineTool(cwl) {
2478
- return Decode_commandLineToolDecoder(Decode_readSanitizedYaml(cwl));
2898
+ return Decode_decodeCommandLineToolWithWarnings(cwl).Value;
2899
+ }
2900
+ function Decode_decodeWorkflowWithWarnings(cwl) {
2901
+ const warnings = [];
2902
+ return new Decode_DecodeResult$1(Decode_workflowDecoder(warnings, Decode_readSanitizedYaml(cwl)), warnings);
2479
2903
  }
2480
2904
  function Decode_decodeWorkflow(cwl) {
2481
- return Decode_workflowDecoder(Decode_readSanitizedYaml(cwl));
2905
+ return Decode_decodeWorkflowWithWarnings(cwl).Value;
2906
+ }
2907
+ function Decode_decodeExpressionToolWithWarnings(cwl) {
2908
+ const warnings = [];
2909
+ return new Decode_DecodeResult$1(Decode_expressionToolDecoder(warnings, Decode_readSanitizedYaml(cwl)), warnings);
2482
2910
  }
2483
2911
  function Decode_decodeExpressionTool(cwl) {
2484
- return Decode_expressionToolDecoder(Decode_readSanitizedYaml(cwl));
2912
+ return Decode_decodeExpressionToolWithWarnings(cwl).Value;
2913
+ }
2914
+ function Decode_decodeOperationWithWarnings(cwl) {
2915
+ const warnings = [];
2916
+ return new Decode_DecodeResult$1(Decode_operationDecoder(warnings, Decode_readSanitizedYaml(cwl)), warnings);
2485
2917
  }
2486
2918
  function Decode_decodeOperation(cwl) {
2487
- return Decode_operationDecoder(Decode_readSanitizedYaml(cwl));
2919
+ return Decode_decodeOperationWithWarnings(cwl).Value;
2920
+ }
2921
+ function Decode_decodeCWLProcessingUnitWithWarnings(cwl) {
2922
+ const warnings = [];
2923
+ return new Decode_DecodeResult$1(Decode_decodeCWLProcessingUnitElementWithWarnings(warnings, Decode_readSanitizedYaml(cwl)), warnings);
2488
2924
  }
2489
2925
  function Decode_decodeCWLProcessingUnit(cwl) {
2490
- return Decode_decodeCWLProcessingUnitElement(Decode_readSanitizedYaml(cwl));
2926
+ return Decode_decodeCWLProcessingUnitWithWarnings(cwl).Value;
2491
2927
  }
2492
- function DecodeParameters_cwlParameterReferenceDecoder(get$, key, yEle) {
2493
- let v_1;
2494
- let matchResult, v, v1, v2, s;
2928
+ function DecodeParameters_tryField(fieldName, yEle) {
2495
2929
  if (yEle.tag === /* Object */
2496
2930
  3) {
2497
- if (!isEmpty(yEle.fields[0])) {
2498
- switch (head(yEle.fields[0]).tag) {
2499
- case /* Value */
2500
- 1: {
2931
+ return tryPick((_arg) => {
2932
+ let matchResult = void 0, key_1 = void 0, value_1 = void 0;
2933
+ if (_arg.tag === /* Mapping */
2934
+ 0) {
2935
+ if (_arg.fields[1], _arg.fields[0].Value === fieldName) {
2936
+ matchResult = 0;
2937
+ key_1 = _arg.fields[0];
2938
+ value_1 = _arg.fields[1];
2939
+ } else {
2940
+ matchResult = 1;
2941
+ }
2942
+ } else {
2943
+ matchResult = 1;
2944
+ }
2945
+ switch (matchResult) {
2946
+ case 0:
2947
+ return value_1;
2948
+ default:
2949
+ return void 0;
2950
+ }
2951
+ }, yEle.fields[0]);
2952
+ } else {
2953
+ return void 0;
2954
+ }
2955
+ }
2956
+ function DecodeParameters_tryScalarString(yEle) {
2957
+ let matchResult = void 0, value = void 0;
2958
+ switch (yEle.tag) {
2959
+ case /* Value */
2960
+ 1: {
2961
+ matchResult = 0;
2962
+ value = yEle.fields[0];
2963
+ break;
2964
+ }
2965
+ case /* Object */
2966
+ 3: {
2967
+ if (!isEmpty(yEle.fields[0])) {
2968
+ if (head(yEle.fields[0]).tag === /* Value */
2969
+ 1) {
2501
2970
  if (isEmpty(tail(yEle.fields[0]))) {
2502
2971
  matchResult = 0;
2503
- v = head(yEle.fields[0]).fields[0];
2972
+ value = head(yEle.fields[0]).fields[0];
2504
2973
  } else {
2505
- matchResult = 3;
2974
+ matchResult = 1;
2506
2975
  }
2507
- break;
2976
+ } else {
2977
+ matchResult = 1;
2508
2978
  }
2509
- case /* Mapping */
2510
- 0: {
2511
- if (head(yEle.fields[0]).fields[1].tag === /* Object */
2512
- 3) {
2513
- if (!isEmpty(head(yEle.fields[0]).fields[1].fields[0])) {
2514
- if (head(head(yEle.fields[0]).fields[1].fields[0]).tag === /* Value */
2515
- 1) {
2516
- if (isEmpty(tail(head(yEle.fields[0]).fields[1].fields[0]))) {
2517
- if (!isEmpty(tail(yEle.fields[0]))) {
2518
- if (head(tail(yEle.fields[0])).tag === /* Mapping */
2519
- 0) {
2520
- if (head(tail(yEle.fields[0])).fields[1].tag === /* Object */
2521
- 3) {
2522
- if (!isEmpty(head(tail(yEle.fields[0])).fields[1].fields[0])) {
2523
- if (head(head(tail(yEle.fields[0])).fields[1].fields[0]).tag === /* Value */
2524
- 1) {
2525
- if (isEmpty(tail(head(tail(yEle.fields[0])).fields[1].fields[0]))) {
2526
- if (isEmpty(tail(tail(yEle.fields[0])))) {
2527
- matchResult = 1;
2528
- v1 = head(head(yEle.fields[0]).fields[1].fields[0]).fields[0];
2529
- v2 = head(head(tail(yEle.fields[0])).fields[1].fields[0]).fields[0];
2530
- } else {
2531
- matchResult = 3;
2532
- }
2533
- } else {
2534
- matchResult = 3;
2535
- }
2536
- } else {
2537
- matchResult = 3;
2538
- }
2539
- } else {
2540
- matchResult = 3;
2541
- }
2542
- } else {
2543
- matchResult = 3;
2544
- }
2545
- } else {
2546
- matchResult = 3;
2547
- }
2548
- } else {
2549
- matchResult = 3;
2550
- }
2551
- } else {
2552
- matchResult = 3;
2553
- }
2979
+ } else {
2980
+ matchResult = 1;
2981
+ }
2982
+ break;
2983
+ }
2984
+ default:
2985
+ matchResult = 1;
2986
+ }
2987
+ switch (matchResult) {
2988
+ case 0:
2989
+ return value.Value;
2990
+ default:
2991
+ return void 0;
2992
+ }
2993
+ }
2994
+ function DecodeParameters_decodeFileInstance(yEle) {
2995
+ return Decode_decodeFileInstanceFields(yEle);
2996
+ }
2997
+ function DecodeParameters_decodeDirectoryInstance(yEle) {
2998
+ return Decode_decodeDirectoryInstanceFields(yEle);
2999
+ }
3000
+ function DecodeParameters_decodeParameterValue(value$1) {
3001
+ let collection = void 0, collection_1 = void 0, collection_2 = void 0;
3002
+ let matchResult = void 0, scalar = void 0, items_1 = void 0, items_2 = void 0, trailingMappings_1 = void 0, fields = void 0, other_1 = void 0;
3003
+ switch (value$1.tag) {
3004
+ case /* Value */
3005
+ 1: {
3006
+ matchResult = 0;
3007
+ scalar = value$1.fields[0];
3008
+ break;
3009
+ }
3010
+ case /* Object */
3011
+ 3: {
3012
+ if (!isEmpty(value$1.fields[0])) {
3013
+ switch (head(value$1.fields[0]).tag) {
3014
+ case /* Value */
3015
+ 1: {
3016
+ if (isEmpty(tail(value$1.fields[0]))) {
3017
+ matchResult = 0;
3018
+ scalar = head(value$1.fields[0]).fields[0];
3019
+ } else {
3020
+ matchResult = 3;
3021
+ fields = value$1.fields[0];
3022
+ }
3023
+ break;
3024
+ }
3025
+ case /* Sequence */
3026
+ 2: {
3027
+ if (isEmpty(tail(value$1.fields[0]))) {
3028
+ matchResult = 1;
3029
+ items_1 = head(value$1.fields[0]).fields[0];
3030
+ } else if (head(value$1.fields[0]).fields[0], exists((_arg) => {
3031
+ if (_arg.tag === /* Mapping */
3032
+ 0) {
3033
+ return true;
2554
3034
  } else {
2555
- matchResult = 3;
3035
+ return false;
2556
3036
  }
3037
+ }, tail(value$1.fields[0]))) {
3038
+ matchResult = 2;
3039
+ items_2 = head(value$1.fields[0]).fields[0];
3040
+ trailingMappings_1 = tail(value$1.fields[0]);
2557
3041
  } else {
2558
3042
  matchResult = 3;
3043
+ fields = value$1.fields[0];
2559
3044
  }
2560
- } else {
2561
- matchResult = 3;
3045
+ break;
2562
3046
  }
2563
- break;
2564
- }
2565
- case /* Sequence */
2566
- 2: {
2567
- if (isEmpty(tail(yEle.fields[0]))) {
2568
- matchResult = 2;
2569
- s = head(yEle.fields[0]).fields[0];
2570
- } else {
3047
+ default: {
2571
3048
  matchResult = 3;
3049
+ fields = value$1.fields[0];
2572
3050
  }
2573
- break;
2574
3051
  }
2575
- default:
2576
- matchResult = 3;
3052
+ } else {
3053
+ matchResult = 3;
3054
+ fields = value$1.fields[0];
2577
3055
  }
2578
- } else {
2579
- matchResult = 3;
3056
+ break;
3057
+ }
3058
+ case /* Sequence */
3059
+ 2: {
3060
+ matchResult = 1;
3061
+ items_1 = value$1.fields[0];
3062
+ break;
3063
+ }
3064
+ default: {
3065
+ matchResult = 4;
3066
+ other_1 = value$1;
2580
3067
  }
2581
- } else {
2582
- matchResult = 3;
2583
3068
  }
2584
3069
  switch (matchResult) {
2585
- case 0:
2586
- return new CWLParameterReference(key, [v.Value]);
3070
+ case 0: {
3071
+ const matchValue = scalar.Value;
3072
+ switch (matchValue) {
3073
+ case "null":
3074
+ return CWLParameterValue.Null;
3075
+ case "true":
3076
+ return CWLParameterValue_Boolean$(true);
3077
+ case "false":
3078
+ return CWLParameterValue_Boolean$(false);
3079
+ default: {
3080
+ const text = matchValue;
3081
+ let matchValue_1;
3082
+ let outArg = 0n;
3083
+ matchValue_1 = [tryParse$1(text, 7, false, 64, new FSharpRef(() => outArg, (v) => {
3084
+ outArg = v;
3085
+ })), outArg];
3086
+ if (matchValue_1[0]) {
3087
+ return CWLParameterValue_Int(matchValue_1[1]);
3088
+ } else {
3089
+ let matchValue_2;
3090
+ let outArg_1 = 0;
3091
+ matchValue_2 = [tryParse$2(text, new FSharpRef(() => outArg_1, (v_1) => {
3092
+ outArg_1 = v_1;
3093
+ })), outArg_1];
3094
+ if (matchValue_2[0]) {
3095
+ return CWLParameterValue_Float(matchValue_2[1]);
3096
+ } else {
3097
+ return CWLParameterValue_String$(text);
3098
+ }
3099
+ }
3100
+ }
3101
+ }
3102
+ }
2587
3103
  case 1:
2588
- return new CWLParameterReference(key, [v2.Value], Decode_cwlTypeStringMatcher(v1.Value, get$)[0]);
2589
- case 2: {
2590
- const matchValue = tryHead(s);
2591
- let matchResult_1, mappings;
2592
- if (matchValue != null) {
2593
- if (value(matchValue).tag === /* Object */
3104
+ return CWLParameterValue_Array$((collection = map(DecodeParameters_decodeParameterValue, filter((arg) => !Decode_isIgnorableYamlNoise(arg), items_1)), Array.from(collection)));
3105
+ case 2:
3106
+ return CWLParameterValue_Array$((collection_1 = map(DecodeParameters_decodeParameterValue, map((item) => {
3107
+ if (item.tag === /* Object */
2594
3108
  3) {
2595
- matchResult_1 = 0;
2596
- mappings = value(matchValue).fields[0];
3109
+ return YAMLElement_Object$(append(item.fields[0], trailingMappings_1));
2597
3110
  } else {
2598
- matchResult_1 = 1;
3111
+ return YAMLElement_Object$(cons(item, trailingMappings_1));
3112
+ }
3113
+ }, items_2)), Array.from(collection_1)));
3114
+ case 3: {
3115
+ let matchValue_3;
3116
+ const option_1 = DecodeParameters_tryField("class", value$1);
3117
+ matchValue_3 = option_1 != null ? DecodeParameters_tryScalarString(value(option_1)) : void 0;
3118
+ let matchResult_1 = void 0;
3119
+ if (matchValue_3 != null) {
3120
+ switch (value(matchValue_3)) {
3121
+ case "File": {
3122
+ matchResult_1 = 0;
3123
+ break;
3124
+ }
3125
+ case "Directory": {
3126
+ matchResult_1 = 1;
3127
+ break;
3128
+ }
3129
+ default:
3130
+ matchResult_1 = 2;
2599
3131
  }
2600
3132
  } else {
2601
- matchResult_1 = 1;
3133
+ matchResult_1 = 2;
2602
3134
  }
2603
3135
  switch (matchResult_1) {
2604
3136
  case 0:
2605
- if (!exists((_arg) => {
2606
- if (_arg.tag === /* Mapping */
2607
- 0) {
2608
- return true;
2609
- } else {
2610
- return false;
2611
- }
2612
- }, mappings)) {
2613
- return new CWLParameterReference(key, resizearray(string, YAMLElement_Sequence(s)));
2614
- } else if (exists((_arg_1) => {
2615
- let matchResult_2, k_1;
3137
+ return CWLParameterValue_File(DecodeParameters_decodeFileInstance(value$1));
3138
+ case 1:
3139
+ return CWLParameterValue_Directory(DecodeParameters_decodeDirectoryInstance(value$1));
3140
+ default:
3141
+ return CWLParameterValue_Record((collection_2 = choose((_arg_1) => {
2616
3142
  if (_arg_1.tag === /* Mapping */
2617
3143
  0) {
2618
- if (_arg_1.fields[0].Value === "class") {
2619
- matchResult_2 = 0;
2620
- k_1 = _arg_1.fields[0];
2621
- } else {
2622
- matchResult_2 = 1;
2623
- }
3144
+ return new CWLParameterRecordField(_arg_1.fields[0].Value, DecodeParameters_decodeParameterValue(_arg_1.fields[1]));
2624
3145
  } else {
2625
- matchResult_2 = 1;
2626
- }
2627
- switch (matchResult_2) {
2628
- case 0:
2629
- return true;
2630
- default:
2631
- return false;
2632
- }
2633
- }, mappings)) {
2634
- const paths = [];
2635
- const enumerator = getEnumerator(s);
2636
- try {
2637
- while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
2638
- const item = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
2639
- if (item.tag === /* Object */
2640
- 3) {
2641
- const enumerator_1 = getEnumerator(item.fields[0]);
2642
- try {
2643
- while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
2644
- const mapping = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
2645
- let matchResult_3, k_3, v_2;
2646
- if (mapping.tag === /* Mapping */
2647
- 0) {
2648
- if (mapping.fields[1].tag === /* Object */
2649
- 3) {
2650
- if (!isEmpty(mapping.fields[1].fields[0])) {
2651
- if (head(mapping.fields[1].fields[0]).tag === /* Value */
2652
- 1) {
2653
- if (isEmpty(tail(mapping.fields[1].fields[0]))) {
2654
- if (v_1 = head(mapping.fields[1].fields[0]).fields[0], mapping.fields[0].Value === "path") {
2655
- matchResult_3 = 0;
2656
- k_3 = mapping.fields[0];
2657
- v_2 = head(mapping.fields[1].fields[0]).fields[0];
2658
- } else {
2659
- matchResult_3 = 1;
2660
- }
2661
- } else {
2662
- matchResult_3 = 1;
2663
- }
2664
- } else {
2665
- matchResult_3 = 1;
2666
- }
2667
- } else {
2668
- matchResult_3 = 1;
2669
- }
2670
- } else {
2671
- matchResult_3 = 1;
2672
- }
2673
- } else {
2674
- matchResult_3 = 1;
2675
- }
2676
- switch (matchResult_3) {
2677
- case 0: {
2678
- void paths.push(v_2.Value);
2679
- break;
2680
- }
2681
- }
2682
- }
2683
- } finally {
2684
- disposeSafe(enumerator_1);
2685
- }
2686
- }
2687
- }
2688
- } finally {
2689
- disposeSafe(enumerator);
3146
+ return void 0;
2690
3147
  }
2691
- return new CWLParameterReference(key, paths, CWLType_Array(new InputArraySchema(CWLType_File(FileInstance_$ctor()), void 0, void 0, void 0)));
2692
- } else {
2693
- return new CWLParameterReference(key, []);
2694
- }
2695
- default:
2696
- return new CWLParameterReference(key, resizearray(string, YAMLElement_Sequence(s)));
3148
+ }, fields), Array.from(collection_2)));
2697
3149
  }
2698
3150
  }
2699
3151
  default:
2700
- throw new Error(toText(interpolate("Unexpected YAMLElement format in cwlParameterReferenceDecoder: %A%P()", [yEle])));
3152
+ return CWLParameterValue_String$(toText(printf("%A"))(other_1));
3153
+ }
3154
+ }
3155
+ function DecodeParameters_cwlParameterReferenceDecoder(get$, key, yEle) {
3156
+ let matchValue_4 = void 0;
3157
+ const makeReference = (value, explicitType) => {
3158
+ let option_1 = void 0;
3159
+ return new CWLParameterReference(key, void 0, value, unwrap((option_1 = explicitType, option_1 != null ? option_1 : CWLParameterValueModule_tryInferType(value))));
3160
+ };
3161
+ const withOverflow = (reference) => {
3162
+ Decode_overflowIntoDynamicObj(reference, toList(CWLParameterReference.KnownFieldNames), yEle);
3163
+ return reference;
3164
+ };
3165
+ const matchValue = DecodeParameters_tryField("type", yEle);
3166
+ const matchValue_1 = DecodeParameters_tryField("value", yEle);
3167
+ if (matchValue == null) {
3168
+ if (matchValue_1 != null) {
3169
+ const valueElement_1 = value(matchValue_1);
3170
+ return withOverflow(makeReference(DecodeParameters_decodeParameterValue(valueElement_1), void 0));
3171
+ } else {
3172
+ return withOverflow(makeReference(DecodeParameters_decodeParameterValue(yEle), void 0));
3173
+ }
3174
+ } else if (matchValue_1 == null) {
3175
+ const typeElement_1 = value(matchValue);
3176
+ return withOverflow(makeReference(CWLParameterValue.Null, (matchValue_4 = DecodeParameters_tryScalarString(typeElement_1), matchValue_4 == null ? Decode_cwlTypeDecoder$0027(typeElement_1) : Decode_cwlTypeStringMatcher(value(matchValue_4), get$)[0])));
3177
+ } else {
3178
+ const typeElement = value(matchValue);
3179
+ const valueElement = value(matchValue_1);
3180
+ let type__1;
3181
+ const matchValue_3 = DecodeParameters_tryScalarString(typeElement);
3182
+ type__1 = matchValue_3 == null ? Decode_cwlTypeDecoder$0027(typeElement) : Decode_cwlTypeStringMatcher(value(matchValue_3), get$)[0];
3183
+ return withOverflow(makeReference(DecodeParameters_decodeParameterValue(valueElement), type__1));
2701
3184
  }
2702
3185
  }
2703
3186
  const DecodeParameters_cwlparameterReferenceArrayDecoder = (value) => object((get$) => {
2704
3187
  const dict = get$.Overflow.FieldList(empty());
2705
- const collection = toArray(delay(() => map$2((ele) => DecodeParameters_cwlParameterReferenceDecoder(get$, ele[0], ele[1]), dict)));
3188
+ const collection = toArray(delay(() => map$1((ele) => DecodeParameters_cwlParameterReferenceDecoder(get$, ele[0], ele[1]), dict)));
2706
3189
  return Array.from(collection);
2707
3190
  }, value);
2708
3191
  function DecodeParameters_decodeYAMLParameterFile(yaml) {
2709
3192
  return DecodeParameters_cwlparameterReferenceArrayDecoder(read(yaml));
2710
3193
  }
2711
3194
 
2712
- export { DecodeParameters_cwlParameterReferenceDecoder, DecodeParameters_cwlparameterReferenceArrayDecoder, DecodeParameters_decodeYAMLParameterFile, Decode_baseCommandDecoder, Decode_boolOptionFieldDecoder, Decode_classDecoder, Decode_commandLineToolDecoder, Decode_countLeadingSpaces, Decode_cwlSimpleTypeFromString, Decode_cwlTypeDecoder, Decode_cwlTypeDecoder$0027, Decode_cwlTypeStringMatcher, Decode_decodeCWLProcessingUnit, Decode_decodeCWLProcessingUnitElement, Decode_decodeCommandLineTool, Decode_decodeExpressionTool, Decode_decodeHintElement, Decode_decodeOperation, Decode_decodeResourceScalar, Decode_decodeSchemaSaladString, Decode_decodeStepInputFromArrayItem, Decode_decodeStepInputFromValue, Decode_decodeStepInputsFromArray, Decode_decodeStepInputsFromMap, Decode_decodeStepOutputItem, Decode_decodeStringArrayOrScalar, Decode_decodeStringOrExpression, Decode_decodeWorkflow, Decode_decodeWorkflowStepFromArrayItem, Decode_decodeWorkflowStepFromValueWithId, Decode_direntDecoder, Decode_docDecoder, Decode_dockerRequirementDecoder, Decode_envVarRequirementDecoder, Decode_expressionStringOptionFieldDecoder, Decode_expressionToolDecoder, Decode_hasField, Decode_hintArrayDecoder, Decode_hintsDecoder, Decode_idDecoder, Decode_initialWorkDirEntryDecoder, Decode_initialWorkDirRequirementDecoder, Decode_inlineJavascriptRequirementDecoder, Decode_inplaceUpdateRequirementDecoder, Decode_inputArrayDecoder, Decode_inputArraySchemaDecoder, Decode_inputBindingDecoder, Decode_inputEnumSchemaDecoder, Decode_inputRecordFieldDecoder, Decode_inputRecordSchemaDecoder, Decode_inputStepDecoder, Decode_inputsDecoder, Decode_intentDecoder, Decode_isBlankLine, Decode_isRecoverableDecodingError, Decode_labelDecoder, Decode_linkMergeFieldDecoder, Decode_loadListingRequirementDecoder, Decode_networkAccessRequirementDecoder, Decode_normalizeLineEndings, Decode_normalizeYamlInput, Decode_operationDecoder, Decode_optionalResourceField, Decode_outputArrayDecoder, Decode_outputBindingDecoder, Decode_outputBindingGlobDecoder, Decode_outputSourceDecoder, Decode_outputStepsDecoder, Decode_outputsDecoder, Decode_overflowDecoder, Decode_parseArrayShorthand, Decode_pickValueFieldDecoder, Decode_readSanitizedYaml, Decode_removeFullLineComments, Decode_removeYamlComments, Decode_requirementArrayDecoder, Decode_requirementFromTypeName, Decode_requirementsDecoder, Decode_resourceRequirementDecoder, Decode_scatterFieldDecoder, Decode_scatterMethodFieldDecoder, Decode_schemaDefRequirementDecoder, Decode_schemaDefRequirementTypeDecoder, Decode_softwareRequirementDecoder, Decode_sourceArrayFieldDecoder, Decode_stepArrayDecoder, Decode_stepArrayDecoderWithVersion, Decode_stepsDecoder, Decode_stepsDecoderWithVersion, Decode_stringFieldDecoder, Decode_stringOptionFieldDecoder, Decode_stringOrStringArrayDecoder, Decode_stripLeadingShebang, Decode_toolTimeLimitRequirementDecoder, Decode_tryDecodeBoolScalar, Decode_tryDecodeFieldsAsArray, Decode_tryDecodeFieldsAsMap, Decode_tryDecodeKnownRequirementFromElement, Decode_tryParseBlockScalarHeader, Decode_versionDecoder, Decode_withDefaultCwlVersion, Decode_workReuseRequirementDecoder, Decode_workflowDecoder, Decode_workflowStepRunDecoder, Decode_yamlElementOptionFieldDecoder, ResizeArray_map, inputArraySchemaDecoder$0040324, inputArraySchemaDecoder$0040324$002D1, inputEnumSchemaDecoder$0040404, inputEnumSchemaDecoder$0040404$002D1, inputRecordFieldDecoder$0040338, inputRecordFieldDecoder$0040338$002D1, inputRecordSchemaDecoder$0040377, inputRecordSchemaDecoder$0040377$002D1 };
3195
+ export { DecodeParameters_cwlParameterReferenceDecoder, DecodeParameters_cwlparameterReferenceArrayDecoder, DecodeParameters_decodeParameterValue, DecodeParameters_decodeYAMLParameterFile, Decode_DecodeResult$1, Decode_DecodeResult$1_$reflection, Decode_DecodeWarning, Decode_DecodeWarning_$reflection, Decode_addRequirementPayloadOverflow, Decode_addWarning, Decode_baseCommandDecoder, Decode_boolOptionFieldDecoder, Decode_boxOverflowInt64, Decode_classDecoder, Decode_commandLineToolDecoder, Decode_cwlSimpleTypeFromString, Decode_cwlTypeDecoder, Decode_cwlTypeDecoder$0027, Decode_cwlTypeStringMatcher, Decode_decodeCWLProcessingUnit, Decode_decodeCWLProcessingUnitElement, Decode_decodeCWLProcessingUnitElementWithWarnings, Decode_decodeCWLProcessingUnitWithWarnings, Decode_decodeCommandLineTool, Decode_decodeCommandLineToolWithWarnings, Decode_decodeDirectoryInstanceFields, Decode_decodeExpressionTool, Decode_decodeExpressionToolWithWarnings, Decode_decodeFileInstanceFields, Decode_decodeHintElement, Decode_decodeInputSequenceItem, Decode_decodeNamedInput, Decode_decodeNamedOutput, Decode_decodeOperation, Decode_decodeOperationWithWarnings, Decode_decodeOutputSequenceItem, Decode_decodeResourceScalar, Decode_decodeSchemaSaladString, Decode_decodeStepInputFromArrayItem, Decode_decodeStepInputFromValue, Decode_decodeStepInputsFromArray, Decode_decodeStepInputsFromArrayWithWarnings, Decode_decodeStepInputsFromMap, Decode_decodeStepOutputItem, Decode_decodeStringArrayOrScalar, Decode_decodeStringOrExpression, Decode_decodeWorkflow, Decode_decodeWorkflowStepFromArrayItem, Decode_decodeWorkflowStepFromArrayItemWithWarnings, Decode_decodeWorkflowStepFromValueWithId, Decode_decodeWorkflowWithWarnings, Decode_direntDecoder, Decode_docDecoder, Decode_dockerRequirementDecoder, Decode_envVarRequirementDecoder, Decode_expressionStringOptionFieldDecoder, Decode_expressionToolDecoder, Decode_hasField, Decode_hintArrayDecoder, Decode_hintsDecoder, Decode_idDecoder, Decode_initialWorkDirEntryDecoder, Decode_initialWorkDirRequirementDecoder, Decode_inlineJavascriptRequirementDecoder, Decode_inplaceUpdateRequirementDecoder, Decode_inputArrayDecoder, Decode_inputArrayDecoderWithWarnings, Decode_inputArraySchemaDecoder, Decode_inputBindingDecoder, Decode_inputEnumSchemaDecoder, Decode_inputRecordFieldDecoder, Decode_inputRecordSchemaDecoder, Decode_inputStepDecoder, Decode_inputStepDecoderWithWarnings, Decode_inputsDecoder, Decode_inputsDecoderWithWarnings, Decode_intentDecoder, Decode_isIgnorableYamlNoise, Decode_isRecoverableDecodingError, Decode_labelDecoder, Decode_linkMergeFieldDecoder, Decode_loadListingRequirementDecoder, Decode_networkAccessRequirementDecoder, Decode_operationDecoder, Decode_optionalResourceField, Decode_outputArrayDecoder, Decode_outputArrayDecoderWithWarnings, Decode_outputBindingDecoder, Decode_outputBindingGlobDecoder, Decode_outputSourceDecoder, Decode_outputStepsDecoder, Decode_outputsDecoder, Decode_outputsDecoderWithWarnings, Decode_overflowDecoder, Decode_overflowIntoDynamicObj, Decode_parseArrayShorthand, Decode_pickValueFieldDecoder, Decode_readSanitizedYaml, Decode_removeYamlComments, Decode_requirementArrayDecoder, Decode_requirementFromTypeName, Decode_requirementsDecoder, Decode_resourceRequirementDecoder, Decode_scatterFieldDecoder, Decode_scatterMethodFieldDecoder, Decode_schemaDefRequirementDecoder, Decode_schemaDefRequirementTypeDecoder, Decode_softwareRequirementDecoder, Decode_sourceArrayFieldDecoder, Decode_stepArrayDecoder, Decode_stepArrayDecoderWithVersion, Decode_stepsDecoder, Decode_stepsDecoderWithVersion, Decode_stringFieldDecoder, Decode_stringOptionFieldDecoder, Decode_stringOrStringArrayDecoder, Decode_toolTimeLimitRequirementDecoder, Decode_tryDecodeBoolScalar, Decode_tryDecodeFieldsAsArray, Decode_tryDecodeFieldsAsMap, Decode_tryDecodeKnownRequirementFromElement, Decode_tryGetBoolField, Decode_tryGetInt64Field, Decode_tryGetIntArrayField, Decode_tryGetLoadListingField, Decode_tryGetPresentField, Decode_tryGetStringField, Decode_tryGetYamlField, Decode_versionDecoder, Decode_withDefaultCwlVersion, Decode_workReuseRequirementDecoder, Decode_workflowDecoder, Decode_workflowStepRunDecoder, Decode_yamlElementOptionFieldDecoder, ResizeArray_map };