@nfdi4plants/arctrl 3.1.1 → 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 (889) 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 +62 -19
  58. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  59. package/dist/ts/ts/CWL/CWLTypes.js +241 -60
  60. package/dist/ts/ts/CWL/Decode.d.ts +24 -25
  61. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  62. package/dist/ts/ts/CWL/Decode.js +454 -314
  63. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +4 -4
  64. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  65. package/dist/ts/ts/CWL/DynamicObjHelpers.js +10 -10
  66. package/dist/ts/ts/CWL/Encode.d.ts +26 -17
  67. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  68. package/dist/ts/ts/CWL/Encode.js +451 -411
  69. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +31 -7
  70. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  71. package/dist/ts/ts/CWL/ExpressionToolDescription.js +29 -8
  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 +8 -8
  76. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  77. package/dist/ts/ts/CWL/Inputs.js +9 -13
  78. package/dist/ts/ts/CWL/OperationDescription.d.ts +7 -7
  79. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  80. package/dist/ts/ts/CWL/OperationDescription.js +5 -8
  81. package/dist/ts/ts/CWL/Outputs.d.ts +10 -10
  82. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  83. package/dist/ts/ts/CWL/Outputs.js +36 -17
  84. package/dist/ts/ts/CWL/ParameterReference.d.ts +13 -10
  85. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  86. package/dist/ts/ts/CWL/ParameterReference.js +29 -21
  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 +51 -23
  91. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  92. package/dist/ts/ts/CWL/Requirements.js +89 -81
  93. package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -9
  94. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  95. package/dist/ts/ts/CWL/ToolDescription.js +29 -8
  96. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +29 -8
  97. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  98. package/dist/ts/ts/CWL/WorkflowDescription.js +26 -8
  99. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -21
  100. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  101. package/dist/ts/ts/CWL/WorkflowSteps.js +70 -34
  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 +45 -43
  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 +35 -16
  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 +17 -10
  162. package/dist/ts/ts/Conversion/Person.d.ts +4 -4
  163. package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
  164. package/dist/ts/ts/Conversion/Person.js +39 -23
  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 +450 -68
  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 +25 -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 +27 -13
  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 +78 -40
  183. package/dist/ts/ts/Conversion.d.ts +10 -11
  184. package/dist/ts/ts/Conversion.d.ts.map +1 -1
  185. package/dist/ts/ts/Conversion.js +2 -2
  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 +567 -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 +9 -9
  538. package/dist/ts/ts/Json.d.ts.map +1 -1
  539. package/dist/ts/ts/Json.js +2 -2
  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 +4 -4
  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.11 → YAMLicious.1.0.0}/Decode.fs.js +98 -104
  829. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
  830. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
  831. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Persil.fs.js +48 -48
  832. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Preprocessing.fs.js +14 -14
  833. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Reader.fs.js +129 -112
  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.11 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +14 -14
  836. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Syntax.fs.js +77 -56
  837. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Writer.fs.js +34 -31
  838. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → 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.11/Regex.fs.js +0 -21
  887. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/StringBuffer.fs.js +0 -60
  888. /package/dist/ts/ts/fable_modules/{Fable.Exceljs.1.6.0 → Fable.Exceljs.2.0.0_565fc3e-alpha.1}/ExcelJs.fs.js +0 -0
  889. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
@@ -1,25 +1,30 @@
1
- import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node_modules/@fable-org/fable-library-js/Choice.js';
1
+ import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node_modules/@fable-org/fable-library-ts/Choice.js';
2
2
  import { FileInstance, DirectoryInstance, DirentInstance, InputRecordField, InputRecordSchema, InputEnumSchema, InputArraySchema, SchemaDefRequirementType, SoftwarePackage } from './CWLTypes.js';
3
- import { map, value, bind, filter } from '../../node_modules/@fable-org/fable-library-js/Option.js';
4
- import { toList, choose, fold, map as map$2, delay, append as append$1, singleton as singleton$1, empty as empty$2 } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
5
- import { isEmpty, head, tail, map as map$1, append, singleton, ofArray, empty as empty$1, ofSeq, length, choose as choose$1, filter as filter$1, contains, tryFind, reverse, cons } from '../../node_modules/@fable-org/fable-library-js/List.js';
6
- import { YAMLElement_Value, YAMLContent_create_Z1C3A29C9, YAMLElement_Object, YAMLElement_Mapping, YAMLElement, YAMLElement_Sequence, ScalarStyle_Block, BlockScalarStyle_Literal, ChompingMode_Clip, ScalarStyle_DoubleQuoted, Config } from '../fable_modules/YAMLicious.1.0.0-alpha.11/YAMLiciousTypes.fs.js';
7
- import { equals, defaultOf, int64ToString, isIterable, comparePrimitives, curry2, stringHash } from '../../node_modules/@fable-org/fable-library-js/Util.js';
8
- import { string, int } from '../fable_modules/YAMLicious.1.0.0-alpha.11/Encode.fs.js';
9
- import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
3
+ import { value, defaultArg, toArray } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
4
+ import { toList, choose, fold, map as map$1, delay, append as append$1, singleton as singleton$1, empty as empty$2 } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
5
+ import { isEmpty, head, tail, map, append, singleton, ofArray, empty as empty$1, ofSeq, length, choose as choose$1, filter, contains as contains$1, tryFind, reverse, cons } from '../../node_modules/@fable-org/fable-library-ts/List.js';
6
+ import { YAMLElement_Value, YAMLContent_create_Z1C3A29C9, YAMLElement_Object$, YAMLElement_Mapping, YAMLElement, YAMLElement_Sequence, ScalarStyle_Block, BlockScalarStyle, ChompingMode, ScalarStyle, Config } from '../fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js';
7
+ import { equals, defaultOf, int64ToString, isIterable, comparePrimitives, curry2, stringHash } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
8
+ import { string, int } from '../fable_modules/YAMLicious.1.0.0/Encode.fs.js';
9
+ import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
10
10
  import { dynamicPropertiesExcept } from './DynamicObjHelpers.js';
11
- import { empty, ofSeq as ofSeq$1, ofList, FSharpSet__Contains } from '../../node_modules/@fable-org/fable-library-js/Set.js';
12
- import { trimEnd, replace, toText, interpolate, trimStart, join, split } from '../../node_modules/@fable-org/fable-library-js/String.js';
11
+ import { empty, ofSeq as ofSeq$1, contains, ofList, FSharpSet__Contains } from '../../node_modules/@fable-org/fable-library-ts/Set.js';
12
+ import { trimEnd, replace, interpolate, trimStart, join, split, concat } from '../../node_modules/@fable-org/fable-library-ts/String.js';
13
+ import { Operators_IsNull } from '../../node_modules/@fable-org/fable-library-ts/FSharp.Core.js';
13
14
  import { LoadListingEnum_get_toCwlString, InlineJavascriptRequirementValue, InplaceUpdateRequirementValue, NetworkAccessRequirementValue, WorkReuseRequirementValue, ResourceRequirementInstance, EnvironmentDef, LoadListingRequirementValue, DockerRequirement } from './Requirements.js';
14
15
  import { OutputBinding, CWLOutput } from './Outputs.js';
16
+ import { item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
17
+ import { CWLParameterValueModule_floatToRoundTripString, CWLParameterValueModule_tryInferType } from './ParameterValue.js';
15
18
  import { InputBinding, CWLInput } from './Inputs.js';
16
19
  import { StepInput, StepOutputParameter, WorkflowStep } from './WorkflowSteps.js';
17
20
  import { WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetWorkflow, WorkflowStepRunOps_tryGetTool } from './CWLProcessingUnit.js';
18
21
  import { CWLToolDescription } from './ToolDescription.js';
22
+ import { ArgumentException_$ctor_Z721C83C5 } from '../../node_modules/@fable-org/fable-library-ts/System.js';
19
23
  import { CWLWorkflowDescription } from './WorkflowDescription.js';
20
24
  import { CWLExpressionToolDescription } from './ExpressionToolDescription.js';
21
25
  import { CWLOperationDescription } from './OperationDescription.js';
22
- import { write } from '../fable_modules/YAMLicious.1.0.0-alpha.11/Writer.fs.js';
26
+ import { write } from '../fable_modules/YAMLicious.1.0.0/Writer.fs.js';
27
+ import { CWLParameterReference } from './ParameterReference.js';
23
28
 
24
29
  function $007CPrimitiveType$007CComplexType$007C(t) {
25
30
  switch (t.tag) {
@@ -76,7 +81,7 @@ function $007CPrimitiveType$007CComplexType$007C(t) {
76
81
  }
77
82
  }
78
83
  function tryGetArrayShorthand(cwlType) {
79
- let matchResult, name_1, arraySchema;
84
+ let matchResult = void 0, name_1 = void 0, arraySchema = void 0;
80
85
  const activePatternResult = $007CPrimitiveType$007CComplexType$007C(cwlType);
81
86
  if (activePatternResult.tag === /* Choice1Of2 */
82
87
  0) {
@@ -100,8 +105,14 @@ function tryGetArrayShorthand(cwlType) {
100
105
  switch (matchResult) {
101
106
  case 0:
102
107
  return name_1;
103
- case 1:
104
- return map((s) => s + "[]", tryGetArrayShorthand(arraySchema.Items));
108
+ case 1: {
109
+ const option_1 = tryGetArrayShorthand(arraySchema.Items);
110
+ if (option_1 != null) {
111
+ return value(option_1) + "[]";
112
+ } else {
113
+ return void 0;
114
+ }
115
+ }
105
116
  default:
106
117
  return void 0;
107
118
  }
@@ -124,7 +135,7 @@ function isComplexType(t_mut) {
124
135
  case /* Union */
125
136
  14: {
126
137
  const typesList = toList(t.fields[0]);
127
- let matchResult, otherType;
138
+ let matchResult = void 0, otherType = void 0;
128
139
  if (!isEmpty(typesList)) {
129
140
  if (head(typesList).tag === /* Null */
130
141
  10) {
@@ -178,8 +189,8 @@ function yFloat(value) {
178
189
  return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(value.toString()));
179
190
  }
180
191
  function yMap(pairs) {
181
- return YAMLElement_Object(map$1((tupledArg) => {
182
- let _arg, single;
192
+ return YAMLElement_Object$(map((tupledArg) => {
193
+ let _arg = void 0, single = void 0;
183
194
  return YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9(tupledArg[0]), (_arg = tupledArg[1], _arg.tag === /* Object */
184
195
  3 ? !isEmpty(_arg.fields[0]) ? head(_arg.fields[0]).tag === /* Value */
185
196
  1 ? isEmpty(tail(_arg.fields[0])) ? _arg : _arg : head(_arg.fields[0]).tag === /* Alias */
@@ -218,24 +229,38 @@ function encodeDynamicValue(value) {
218
229
  }
219
230
  }
220
231
  function encodeDynamicObj(dynObj) {
221
- return yMap(toList(choose((kvp) => map((encoded) => [kvp[0], encoded], encodeDynamicValue(kvp[1])), dynamicPropertiesExcept(empty({
222
- Compare: comparePrimitives
232
+ return yMap(toList(choose((kvp) => {
233
+ const option_1 = encodeDynamicValue(kvp[1]);
234
+ if (option_1 != null) {
235
+ return [kvp[0], value(option_1)];
236
+ } else {
237
+ return void 0;
238
+ }
239
+ }, dynamicPropertiesExcept(empty({
240
+ Compare: (x, y) => comparePrimitives(x, y) | 0
223
241
  }), dynObj))));
224
242
  }
225
243
  function appendDynamicPropertiesExcept(knownFieldNames, dynObj, acc) {
226
- return fold((pairs, pair) => append(pairs, singleton(pair)), acc, choose((kvp) => map((encoded) => [kvp[0], encoded], encodeDynamicValue(kvp[1])), dynamicPropertiesExcept(knownFieldNames, dynObj)));
244
+ return fold((pairs, pair) => append(pairs, singleton(pair)), acc, choose((kvp) => {
245
+ const option_1 = encodeDynamicValue(kvp[1]);
246
+ if (option_1 != null) {
247
+ return [kvp[0], value(option_1)];
248
+ } else {
249
+ return void 0;
250
+ }
251
+ }, dynamicPropertiesExcept(knownFieldNames, dynObj)));
227
252
  }
228
253
  function appendDynamicProperties(dynObj, acc) {
229
254
  return appendDynamicPropertiesExcept(empty({
230
- Compare: comparePrimitives
255
+ Compare: (x, y) => comparePrimitives(x, y) | 0
231
256
  }), dynObj, acc);
232
257
  }
233
258
  function normalizeDocString(doc) {
234
259
  return trimEnd(trimEnd(replace(doc, "\r\n", "\n"), "\n"), "\r");
235
260
  }
236
261
  function encodeExpressionScalar(expression) {
237
- const normalized = expression == null ? "" : replace(replace(expression, "\r\n", "\n"), "\r", "\n");
238
- return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(normalized, void 0, void 0, void 0, normalized.indexOf("\n") >= 0 ? ScalarStyle_Block(BlockScalarStyle_Literal(), ChompingMode_Clip(), void 0) : ScalarStyle_DoubleQuoted()));
262
+ const normalized = Operators_IsNull(expression) ? "" : replace(replace(expression, "\r\n", "\n"), "\r", "\n");
263
+ return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(normalized, void 0, void 0, void 0, normalized.indexOf("\n") >= 0 ? ScalarStyle_Block(BlockScalarStyle.Literal, ChompingMode.Clip, void 0) : ScalarStyle.DoubleQuoted));
239
264
  }
240
265
  function encodeSchemaSaladString(value) {
241
266
  switch (value.tag) {
@@ -257,13 +282,13 @@ function normalizeEnvValueForEncode(envValue) {
257
282
  }
258
283
  }
259
284
  function encodeEnvVarRequirementCompactMap(envs) {
260
- const envDefMap = yMap(toList(map$2((env) => [env.EnvName, string(normalizeEnvValueForEncode(env.EnvValue))], envs)));
285
+ const envDefMap = yMap(toList(map$1((env) => [env.EnvName, string(normalizeEnvValueForEncode(env.EnvValue))], envs)));
261
286
  return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", envDefMap]]));
262
287
  }
263
288
  function encodeSoftwareRequirementCompactMap(packages) {
264
- const packagesMap = yMap(toList(map$2((package$_1) => {
265
- let package$, matchValue, matchValue_1, acc_2, value_3, acc_1, value_6, acc_3;
266
- return [package$_1.Package, (package$ = package$_1, matchValue = package$.Version, matchValue_1 = package$.Specs, matchValue == null ? matchValue_1 != null ? YAMLElement_Sequence(toList(map$2(string, value(matchValue_1)))) : yMap(empty$1()) : yMap((acc_2 = (value_3 = package$.Version, acc_1 = empty$1(), value_3 == null ? acc_1 : append(acc_1, singleton(["version", YAMLElement_Sequence(toList(map$2(string, value(value_3))))]))), value_6 = package$.Specs, acc_3 = acc_2, value_6 == null ? acc_3 : append(acc_3, singleton(["specs", YAMLElement_Sequence(toList(map$2(string, value(value_6))))])))))];
289
+ const packagesMap = yMap(toList(map$1((package$_1) => {
290
+ let package$ = void 0, matchValue = void 0, matchValue_1 = void 0, acc_2 = void 0, value_3 = void 0, acc_1 = void 0, value_6 = void 0, acc_3 = void 0;
291
+ return [package$_1.Package, (package$ = package$_1, matchValue = package$.Version, matchValue_1 = package$.Specs, matchValue == null ? matchValue_1 != null ? YAMLElement_Sequence(toList(map$1(string, value(matchValue_1)))) : yMap(empty$1()) : yMap((acc_2 = (value_3 = package$.Version, acc_1 = empty$1(), value_3 == null ? acc_1 : append(acc_1, singleton(["version", YAMLElement_Sequence(toList(map$1(string, value(value_3))))]))), value_6 = package$.Specs, acc_3 = acc_2, value_6 == null ? acc_3 : append(acc_3, singleton(["specs", YAMLElement_Sequence(toList(map$1(string, value(value_6))))])))))];
267
292
  }, packages)));
268
293
  return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", packagesMap]]));
269
294
  }
@@ -274,7 +299,7 @@ function encodeDoc(doc) {
274
299
  return ["doc", string(normalizeDocString(doc))];
275
300
  }
276
301
  function encodeIntent(intent) {
277
- return ["intent", YAMLElement_Sequence(ofSeq(map$2(string, intent)))];
302
+ return ["intent", YAMLElement_Sequence(ofSeq(map$1(string, intent)))];
278
303
  }
279
304
  function encodeFilePairs(discriminatorKey, discriminatorValue, file) {
280
305
  let acc_22;
@@ -345,7 +370,7 @@ function encodeDirectoryPairs(discriminatorKey, discriminatorValue, directory) {
345
370
  return appendDynamicPropertiesExcept(DirectoryInstance.KnownFieldNames, directory, acc_8);
346
371
  }
347
372
  function encodeCWLType(t) {
348
- let acc_4, acc_2, acc, value_2, acc_1, value_4, acc_3;
373
+ let acc_4 = void 0, acc_2 = void 0, acc = void 0, value_2 = void 0, acc_1 = void 0, value_4 = void 0, acc_3 = void 0;
349
374
  switch (t.tag) {
350
375
  case /* Directory */
351
376
  1:
@@ -388,7 +413,7 @@ function encodeCWLType(t) {
388
413
  14: {
389
414
  const types = t.fields[0];
390
415
  const typesList = toList(types);
391
- let matchResult, otherType;
416
+ let matchResult = void 0, otherType = void 0;
392
417
  if (!isEmpty(typesList)) {
393
418
  if (head(typesList).tag === /* Null */
394
419
  10) {
@@ -458,10 +483,10 @@ function encodeCWLType(t) {
458
483
  }
459
484
  }
460
485
  default:
461
- return YAMLElement_Sequence(map$1(encodeCWLType, typesList));
486
+ return YAMLElement_Sequence(map(encodeCWLType, typesList));
462
487
  }
463
488
  default:
464
- return YAMLElement_Sequence(map$1(encodeCWLType, typesList));
489
+ return YAMLElement_Sequence(map(encodeCWLType, typesList));
465
490
  }
466
491
  }
467
492
  case /* Array */
@@ -508,184 +533,138 @@ function encodeInputRecordField(field) {
508
533
  return [field.Name, yMap(pairs)];
509
534
  }
510
535
  function encodeInputRecordSchema(schema) {
511
- let acc_6, acc_4, acc_2, acc, value_2, acc_1, value_5, acc_3, value_8, acc_5;
536
+ let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, acc = void 0, value_2 = void 0, acc_1 = void 0, value_5 = void 0, acc_3 = void 0, value_8 = void 0, acc_5 = void 0;
512
537
  let fieldsElement;
513
538
  const matchValue = schema.Fields;
514
- fieldsElement = matchValue == null ? yMap(empty$1()) : yMap(toList(map$2(encodeInputRecordField, value(matchValue))));
539
+ fieldsElement = matchValue == null ? yMap(empty$1()) : yMap(toList(map$1(encodeInputRecordField, value(matchValue))));
515
540
  return yMap((acc_6 = (acc_4 = (acc_2 = (acc = ofArray([["type", string("record")], ["fields", fieldsElement]]), value_2 = schema.Label, acc_1 = acc, value_2 == null ? acc_1 : append(acc_1, singleton(["label", string(value(value_2))]))), value_5 = schema.Doc, acc_3 = acc_2, value_5 == null ? acc_3 : append(acc_3, singleton(["doc", string(value(value_5))]))), value_8 = schema.Name, acc_5 = acc_4, value_8 == null ? acc_5 : append(acc_5, singleton(["name", string(value(value_8))]))), appendDynamicPropertiesExcept(InputRecordSchema.KnownFieldNames, schema, acc_6)));
516
541
  }
517
542
  function encodeInputEnumSchema(schema) {
518
- let acc_6, acc_4, acc_2, value_3, acc_1, value_6, acc_3, value_9, acc_5;
519
- const pairs = append(singleton(["type", string("enum")]), singleton(["symbols", YAMLElement_Sequence(ofSeq(map$2(string, schema.Symbols)))]));
543
+ let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, value_3 = void 0, acc_1 = void 0, value_6 = void 0, acc_3 = void 0, value_9 = void 0, acc_5 = void 0;
544
+ const pairs = append(singleton(["type", string("enum")]), singleton(["symbols", YAMLElement_Sequence(ofSeq(map$1(string, schema.Symbols)))]));
520
545
  return yMap((acc_6 = (acc_4 = (acc_2 = (value_3 = schema.Label, acc_1 = pairs, value_3 == null ? acc_1 : append(acc_1, singleton(["label", string(value(value_3))]))), value_6 = schema.Doc, acc_3 = acc_2, value_6 == null ? acc_3 : append(acc_3, singleton(["doc", string(value(value_6))]))), value_9 = schema.Name, acc_5 = acc_4, value_9 == null ? acc_5 : append(acc_5, singleton(["name", string(value(value_9))]))), appendDynamicPropertiesExcept(InputEnumSchema.KnownFieldNames, schema, acc_6)));
521
546
  }
522
547
  function encodeInputArraySchema(schema) {
523
- let acc_6, acc_4, acc_2, acc, value_2, acc_1, value_5, acc_3, value_8, acc_5;
548
+ let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, acc = void 0, value_2 = void 0, acc_1 = void 0, value_5 = void 0, acc_3 = void 0, value_8 = void 0, acc_5 = void 0;
524
549
  return yMap((acc_6 = (acc_4 = (acc_2 = (acc = ofArray([["type", string("array")], ["items", encodeCWLType(schema.Items)]]), value_2 = schema.Label, acc_1 = acc, value_2 == null ? acc_1 : append(acc_1, singleton(["label", string(value(value_2))]))), value_5 = schema.Doc, acc_3 = acc_2, value_5 == null ? acc_3 : append(acc_3, singleton(["doc", string(value(value_5))]))), value_8 = schema.Name, acc_5 = acc_4, value_8 == null ? acc_5 : append(acc_5, singleton(["name", string(value(value_8))]))), appendDynamicPropertiesExcept(InputArraySchema.KnownFieldNames, schema, acc_6)));
525
550
  }
526
551
  function encodeOutputBinding(ob) {
527
- let acc_6, acc_4, acc_2, acc, value_1, acc_1, encoder_1, f1, value_4, acc_3, value_7, acc_5;
528
- return yMap((acc_6 = (acc_4 = (acc_2 = (acc = choose$1((x) => x, singleton(map((g) => ["glob", string(g)], ob.Glob))), value_1 = ob.LoadContents, acc_1 = acc, value_1 == null ? acc_1 : append(acc_1, singleton(["loadContents", yBool(value(value_1))]))), encoder_1 = (f1 = LoadListingEnum_get_toCwlString(), (arg) => string(f1(arg))), value_4 = ob.LoadListing, acc_3 = acc_2, value_4 == null ? acc_3 : append(acc_3, singleton(["loadListing", encoder_1(value(value_4))]))), value_7 = ob.OutputEval, acc_5 = acc_4, value_7 == null ? acc_5 : append(acc_5, singleton(["outputEval", string(value(value_7))]))), appendDynamicPropertiesExcept(OutputBinding.KnownFieldNames, ob, acc_6)));
552
+ let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, acc = void 0, option_1 = void 0, value_1 = void 0, acc_1 = void 0, encoder_1 = void 0, f1 = void 0, value_4 = void 0, acc_3 = void 0, value_7 = void 0, acc_5 = void 0;
553
+ return yMap((acc_6 = (acc_4 = (acc_2 = (acc = choose$1((x) => x, singleton((option_1 = ob.Glob, option_1 != null ? ["glob", string(value(option_1))] : void 0))), value_1 = ob.LoadContents, acc_1 = acc, value_1 == null ? acc_1 : append(acc_1, singleton(["loadContents", yBool(value(value_1))]))), encoder_1 = (f1 = LoadListingEnum_get_toCwlString(), (arg) => string(f1(arg))), value_4 = ob.LoadListing, acc_3 = acc_2, value_4 == null ? acc_3 : append(acc_3, singleton(["loadListing", encoder_1(value(value_4))]))), value_7 = ob.OutputEval, acc_5 = acc_4, value_7 == null ? acc_5 : append(acc_5, singleton(["outputEval", string(value(value_7))]))), appendDynamicPropertiesExcept(OutputBinding.KnownFieldNames, ob, acc_6)));
529
554
  }
530
555
  function encodeStringArrayOrScalar(values) {
531
556
  if (values.length === 1) {
532
- return string(values[0]);
557
+ return string(item(0, values));
533
558
  } else {
534
- return YAMLElement_Sequence(ofSeq(map$2(string, values)));
559
+ return YAMLElement_Sequence(ofSeq(map$1(string, values)));
560
+ }
561
+ }
562
+ function encodeCWLParameterValue(value) {
563
+ switch (value.tag) {
564
+ case /* String */
565
+ 1:
566
+ return string(value.fields[0]);
567
+ case /* Int */
568
+ 2:
569
+ return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(int64ToString(value.fields[0])));
570
+ case /* Float */
571
+ 3:
572
+ return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(CWLParameterValueModule_floatToRoundTripString(value.fields[0])));
573
+ case /* Boolean */
574
+ 4:
575
+ return yBool(value.fields[0]);
576
+ case /* File */
577
+ 5:
578
+ return yMap(encodeFilePairs("class", "File", value.fields[0]));
579
+ case /* Directory */
580
+ 6:
581
+ return yMap(encodeDirectoryPairs("class", "Directory", value.fields[0]));
582
+ case /* Array */
583
+ 7:
584
+ return YAMLElement_Sequence(toList(map$1(encodeCWLParameterValue, value.fields[0])));
585
+ case /* Record */
586
+ 8:
587
+ return yMap(toList(map$1((field) => [field.Name, encodeCWLParameterValue(field.Value)], value.fields[0])));
588
+ default:
589
+ return YAMLElement_Value(YAMLContent_create_Z1C3A29C9("null"));
535
590
  }
536
591
  }
537
592
  function encodeCWLOutput(o) {
538
- let values;
539
- const typeElement = map((t) => {
540
- switch (t.tag) {
541
- case /* Union */
542
- 14: {
543
- const typesList = toList(t.fields[0]);
544
- let matchResult, otherType;
545
- if (!isEmpty(typesList)) {
546
- if (head(typesList).tag === /* Null */
547
- 10) {
548
- if (!isEmpty(tail(typesList))) {
549
- if (isEmpty(tail(tail(typesList)))) {
550
- matchResult = 0;
551
- otherType = head(tail(typesList));
552
- } else {
553
- matchResult = 1;
554
- }
555
- } else {
556
- matchResult = 1;
557
- }
558
- } else if (!isEmpty(tail(typesList))) {
559
- if (head(tail(typesList)).tag === /* Null */
560
- 10) {
561
- if (isEmpty(tail(tail(typesList)))) {
562
- matchResult = 0;
563
- otherType = head(typesList);
564
- } else {
565
- matchResult = 1;
566
- }
567
- } else {
568
- matchResult = 1;
569
- }
570
- } else {
571
- matchResult = 1;
572
- }
573
- } else {
574
- matchResult = 1;
575
- }
576
- switch (matchResult) {
577
- case 0:
578
- switch (otherType.tag) {
579
- case /* File */
580
- 0:
581
- case /* Directory */
582
- 1:
583
- case /* String */
584
- 3:
585
- case /* Int */
586
- 4:
587
- case /* Long */
588
- 5:
589
- case /* Float */
590
- 6:
591
- case /* Double */
592
- 7:
593
- case /* Boolean */
594
- 8:
595
- return encodeCWLType(t);
596
- case /* Array */
597
- 11: {
598
- const arraySchema = otherType.fields[0];
599
- const matchValue = arraySchema.Items;
600
- switch (matchValue.tag) {
601
- case /* File */
602
- 0:
603
- case /* Directory */
604
- 1:
605
- case /* String */
606
- 3:
607
- case /* Int */
608
- 4:
609
- case /* Long */
610
- 5:
611
- case /* Float */
612
- 6:
613
- case /* Double */
614
- 7:
615
- case /* Boolean */
616
- 8:
617
- return encodeCWLType(t);
618
- default:
619
- return encodeCWLType(t);
620
- }
621
- }
622
- default:
623
- return encodeCWLType(t);
624
- }
625
- default:
626
- return encodeCWLType(t);
627
- }
628
- }
629
- case /* Array */
630
- 11: {
631
- const arraySchema_1 = t.fields[0];
632
- const matchValue_1 = arraySchema_1.Items;
633
- switch (matchValue_1.tag) {
634
- case /* File */
635
- 0:
636
- case /* Directory */
637
- 1:
638
- case /* Dirent */
639
- 2:
640
- case /* String */
641
- 3:
642
- case /* Int */
643
- 4:
644
- case /* Long */
645
- 5:
646
- case /* Float */
647
- 6:
648
- case /* Double */
649
- 7:
650
- case /* Boolean */
651
- 8:
652
- return encodeCWLType(t);
653
- default:
654
- return yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]));
655
- }
656
- }
657
- case /* Record */
658
- 12:
659
- return yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])]));
660
- case /* Enum */
661
- 13:
662
- return yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])]));
663
- default:
664
- return encodeCWLType(t);
665
- }
666
- }, o.Type_);
593
+ let t = void 0, typesList = void 0, arraySchema = void 0, matchValue = void 0, arraySchema_1 = void 0, matchValue_1 = void 0, values = void 0;
594
+ let typeElement;
595
+ const option_1 = o.Type_;
596
+ typeElement = option_1 != null ? (t = value(option_1), t.tag === /* Union */
597
+ 14 ? (typesList = toList(t.fields[0]), !isEmpty(typesList) ? head(typesList).tag === /* Null */
598
+ 10 ? !isEmpty(tail(typesList)) ? isEmpty(tail(tail(typesList))) ? head(tail(typesList)).tag === /* File */
599
+ 0 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Directory */
600
+ 1 ? encodeCWLType(t) : head(tail(typesList)).tag === /* String */
601
+ 3 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Int */
602
+ 4 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Long */
603
+ 5 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Float */
604
+ 6 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Double */
605
+ 7 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Boolean */
606
+ 8 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Array */
607
+ 11 ? (arraySchema = head(tail(typesList)).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
608
+ 0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
609
+ 1 ? encodeCWLType(t) : matchValue.tag === /* String */
610
+ 3 ? encodeCWLType(t) : matchValue.tag === /* Int */
611
+ 4 ? encodeCWLType(t) : matchValue.tag === /* Long */
612
+ 5 ? encodeCWLType(t) : matchValue.tag === /* Float */
613
+ 6 ? encodeCWLType(t) : matchValue.tag === /* Double */
614
+ 7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
615
+ 8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : !isEmpty(tail(typesList)) ? head(tail(typesList)).tag === /* Null */
616
+ 10 ? isEmpty(tail(tail(typesList))) ? head(typesList).tag === /* File */
617
+ 0 ? encodeCWLType(t) : head(typesList).tag === /* Directory */
618
+ 1 ? encodeCWLType(t) : head(typesList).tag === /* String */
619
+ 3 ? encodeCWLType(t) : head(typesList).tag === /* Int */
620
+ 4 ? encodeCWLType(t) : head(typesList).tag === /* Long */
621
+ 5 ? encodeCWLType(t) : head(typesList).tag === /* Float */
622
+ 6 ? encodeCWLType(t) : head(typesList).tag === /* Double */
623
+ 7 ? encodeCWLType(t) : head(typesList).tag === /* Boolean */
624
+ 8 ? encodeCWLType(t) : head(typesList).tag === /* Array */
625
+ 11 ? (arraySchema = head(typesList).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
626
+ 0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
627
+ 1 ? encodeCWLType(t) : matchValue.tag === /* String */
628
+ 3 ? encodeCWLType(t) : matchValue.tag === /* Int */
629
+ 4 ? encodeCWLType(t) : matchValue.tag === /* Long */
630
+ 5 ? encodeCWLType(t) : matchValue.tag === /* Float */
631
+ 6 ? encodeCWLType(t) : matchValue.tag === /* Double */
632
+ 7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
633
+ 8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t)) : t.tag === /* Array */
634
+ 11 ? (arraySchema_1 = t.fields[0], matchValue_1 = arraySchema_1.Items, matchValue_1.tag === /* File */
635
+ 0 ? encodeCWLType(t) : matchValue_1.tag === /* Directory */
636
+ 1 ? encodeCWLType(t) : matchValue_1.tag === /* Dirent */
637
+ 2 ? encodeCWLType(t) : matchValue_1.tag === /* String */
638
+ 3 ? encodeCWLType(t) : matchValue_1.tag === /* Int */
639
+ 4 ? encodeCWLType(t) : matchValue_1.tag === /* Long */
640
+ 5 ? encodeCWLType(t) : matchValue_1.tag === /* Float */
641
+ 6 ? encodeCWLType(t) : matchValue_1.tag === /* Double */
642
+ 7 ? encodeCWLType(t) : matchValue_1.tag === /* Boolean */
643
+ 8 ? encodeCWLType(t) : yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]))) : t.tag === /* Record */
644
+ 12 ? yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])])) : t.tag === /* Enum */
645
+ 13 ? yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])])) : encodeCWLType(t)) : void 0;
667
646
  let pairs;
668
647
  let acc_16;
669
648
  let value_17;
670
649
  const matchValue_2 = o.OutputSource;
671
- let matchResult_1, value$1, values_1;
650
+ let matchResult = void 0, value$1 = void 0, values_1 = void 0;
672
651
  if (matchValue_2 != null) {
673
652
  if (value(matchValue_2).tag === /* Multiple */
674
653
  1) {
675
654
  if (values = value(matchValue_2).fields[0], values.length > 0) {
676
- matchResult_1 = 1;
655
+ matchResult = 1;
677
656
  values_1 = value(matchValue_2).fields[0];
678
657
  } else {
679
- matchResult_1 = 2;
658
+ matchResult = 2;
680
659
  }
681
660
  } else {
682
- matchResult_1 = 0;
661
+ matchResult = 0;
683
662
  value$1 = value(matchValue_2).fields[0];
684
663
  }
685
664
  } else {
686
- matchResult_1 = 2;
665
+ matchResult = 2;
687
666
  }
688
- switch (matchResult_1) {
667
+ switch (matchResult) {
689
668
  case 0: {
690
669
  value_17 = string(value$1);
691
670
  break;
@@ -727,22 +706,22 @@ function encodeCWLOutput(o) {
727
706
  acc_15 = value_16 == null ? acc_13 : append(acc_13, singleton(["outputBinding", encodeOutputBinding(value(value_16))]));
728
707
  acc_16 = value_17 == null ? acc_15 : append(acc_15, singleton(["outputSource", value(value_17)]));
729
708
  pairs = appendDynamicPropertiesExcept(CWLOutput.KnownFieldNames, o, acc_16);
730
- let matchResult_2, t_1;
709
+ let matchResult_1 = void 0, t_1 = void 0;
731
710
  if (!isEmpty(pairs)) {
732
711
  if (head(pairs)[0] === "type") {
733
712
  if (isEmpty(tail(pairs))) {
734
- matchResult_2 = 0;
713
+ matchResult_1 = 0;
735
714
  t_1 = head(pairs)[1];
736
715
  } else {
737
- matchResult_2 = 1;
716
+ matchResult_1 = 1;
738
717
  }
739
718
  } else {
740
- matchResult_2 = 1;
719
+ matchResult_1 = 1;
741
720
  }
742
721
  } else {
743
- matchResult_2 = 1;
722
+ matchResult_1 = 1;
744
723
  }
745
- switch (matchResult_2) {
724
+ switch (matchResult_1) {
746
725
  case 0:
747
726
  return [o.Name, t_1];
748
727
  default:
@@ -750,10 +729,11 @@ function encodeCWLOutput(o) {
750
729
  }
751
730
  }
752
731
  function encodeInputBinding(ib) {
753
- let acc_14, acc_12, acc_10, acc_8, acc_6, acc_4, acc_2, value_1, acc_1, value_4, acc_3, value_6, acc_5, value_9, acc_7, value_11, acc_9, value_14, acc_11, value_16, acc_13;
732
+ let acc_14 = void 0, acc_12 = void 0, acc_10 = void 0, acc_8 = void 0, acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, value_1 = void 0, acc_1 = void 0, value_4 = void 0, acc_3 = void 0, value_6 = void 0, acc_5 = void 0, value_9 = void 0, acc_7 = void 0, value_11 = void 0, acc_9 = void 0, value_14 = void 0, acc_11 = void 0, value_16 = void 0, acc_13 = void 0;
754
733
  return yMap((acc_14 = (acc_12 = (acc_10 = (acc_8 = (acc_6 = (acc_4 = (acc_2 = (value_1 = ib.LoadContents, acc_1 = empty$1(), value_1 == null ? acc_1 : append(acc_1, singleton(["loadContents", yBool(value(value_1))]))), value_4 = ib.Prefix, acc_3 = acc_2, value_4 == null ? acc_3 : append(acc_3, singleton(["prefix", string(value(value_4))]))), value_6 = ib._position, acc_5 = acc_4, value_6 == null ? acc_5 : append(acc_5, singleton(["position", int(value(value_6))]))), value_9 = ib.ItemSeparator, acc_7 = acc_6, value_9 == null ? acc_7 : append(acc_7, singleton(["itemSeparator", string(value(value_9))]))), value_11 = ib.Separate, acc_9 = acc_8, value_11 == null ? acc_9 : append(acc_9, singleton(["separate", yBool(value(value_11))]))), value_14 = ib.ValueFrom, acc_11 = acc_10, value_14 == null ? acc_11 : append(acc_11, singleton(["valueFrom", string(value(value_14))]))), value_16 = ib.ShellQuote, acc_13 = acc_12, value_16 == null ? acc_13 : append(acc_13, singleton(["shellQuote", yBool(value(value_16))]))), appendDynamicPropertiesExcept(InputBinding.KnownFieldNames, ib, acc_14)));
755
734
  }
756
735
  function encodeCWLInput(i) {
736
+ let t = void 0, typesList = void 0, arraySchema = void 0, matchValue = void 0, arraySchema_1 = void 0, matchValue_1 = void 0;
757
737
  let pairs;
758
738
  let acc_20;
759
739
  let acc_18;
@@ -765,134 +745,58 @@ function encodeCWLInput(i) {
765
745
  let acc_6;
766
746
  let acc_4;
767
747
  let acc_2;
768
- const value$1 = map((t) => {
769
- switch (t.tag) {
770
- case /* Union */
771
- 14: {
772
- const typesList = toList(t.fields[0]);
773
- let matchResult, otherType;
774
- if (!isEmpty(typesList)) {
775
- if (head(typesList).tag === /* Null */
776
- 10) {
777
- if (!isEmpty(tail(typesList))) {
778
- if (isEmpty(tail(tail(typesList)))) {
779
- matchResult = 0;
780
- otherType = head(tail(typesList));
781
- } else {
782
- matchResult = 1;
783
- }
784
- } else {
785
- matchResult = 1;
786
- }
787
- } else if (!isEmpty(tail(typesList))) {
788
- if (head(tail(typesList)).tag === /* Null */
789
- 10) {
790
- if (isEmpty(tail(tail(typesList)))) {
791
- matchResult = 0;
792
- otherType = head(typesList);
793
- } else {
794
- matchResult = 1;
795
- }
796
- } else {
797
- matchResult = 1;
798
- }
799
- } else {
800
- matchResult = 1;
801
- }
802
- } else {
803
- matchResult = 1;
804
- }
805
- switch (matchResult) {
806
- case 0:
807
- switch (otherType.tag) {
808
- case /* File */
809
- 0:
810
- case /* Directory */
811
- 1:
812
- case /* String */
813
- 3:
814
- case /* Int */
815
- 4:
816
- case /* Long */
817
- 5:
818
- case /* Float */
819
- 6:
820
- case /* Double */
821
- 7:
822
- case /* Boolean */
823
- 8:
824
- return encodeCWLType(t);
825
- case /* Array */
826
- 11: {
827
- const arraySchema = otherType.fields[0];
828
- const matchValue = arraySchema.Items;
829
- switch (matchValue.tag) {
830
- case /* File */
831
- 0:
832
- case /* Directory */
833
- 1:
834
- case /* String */
835
- 3:
836
- case /* Int */
837
- 4:
838
- case /* Long */
839
- 5:
840
- case /* Float */
841
- 6:
842
- case /* Double */
843
- 7:
844
- case /* Boolean */
845
- 8:
846
- return encodeCWLType(t);
847
- default:
848
- return encodeCWLType(t);
849
- }
850
- }
851
- default:
852
- return encodeCWLType(t);
853
- }
854
- default:
855
- return encodeCWLType(t);
856
- }
857
- }
858
- case /* Array */
859
- 11: {
860
- const arraySchema_1 = t.fields[0];
861
- const matchValue_1 = arraySchema_1.Items;
862
- switch (matchValue_1.tag) {
863
- case /* File */
864
- 0:
865
- case /* Directory */
866
- 1:
867
- case /* Dirent */
868
- 2:
869
- case /* String */
870
- 3:
871
- case /* Int */
872
- 4:
873
- case /* Long */
874
- 5:
875
- case /* Float */
876
- 6:
877
- case /* Double */
878
- 7:
879
- case /* Boolean */
880
- 8:
881
- return encodeCWLType(t);
882
- default:
883
- return yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]));
884
- }
885
- }
886
- case /* Record */
887
- 12:
888
- return yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])]));
889
- case /* Enum */
890
- 13:
891
- return yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])]));
892
- default:
893
- return encodeCWLType(t);
894
- }
895
- }, i.Type_);
748
+ let value$1;
749
+ const option_1 = i.Type_;
750
+ value$1 = option_1 != null ? (t = value(option_1), t.tag === /* Union */
751
+ 14 ? (typesList = toList(t.fields[0]), !isEmpty(typesList) ? head(typesList).tag === /* Null */
752
+ 10 ? !isEmpty(tail(typesList)) ? isEmpty(tail(tail(typesList))) ? head(tail(typesList)).tag === /* File */
753
+ 0 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Directory */
754
+ 1 ? encodeCWLType(t) : head(tail(typesList)).tag === /* String */
755
+ 3 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Int */
756
+ 4 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Long */
757
+ 5 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Float */
758
+ 6 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Double */
759
+ 7 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Boolean */
760
+ 8 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Array */
761
+ 11 ? (arraySchema = head(tail(typesList)).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
762
+ 0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
763
+ 1 ? encodeCWLType(t) : matchValue.tag === /* String */
764
+ 3 ? encodeCWLType(t) : matchValue.tag === /* Int */
765
+ 4 ? encodeCWLType(t) : matchValue.tag === /* Long */
766
+ 5 ? encodeCWLType(t) : matchValue.tag === /* Float */
767
+ 6 ? encodeCWLType(t) : matchValue.tag === /* Double */
768
+ 7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
769
+ 8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : !isEmpty(tail(typesList)) ? head(tail(typesList)).tag === /* Null */
770
+ 10 ? isEmpty(tail(tail(typesList))) ? head(typesList).tag === /* File */
771
+ 0 ? encodeCWLType(t) : head(typesList).tag === /* Directory */
772
+ 1 ? encodeCWLType(t) : head(typesList).tag === /* String */
773
+ 3 ? encodeCWLType(t) : head(typesList).tag === /* Int */
774
+ 4 ? encodeCWLType(t) : head(typesList).tag === /* Long */
775
+ 5 ? encodeCWLType(t) : head(typesList).tag === /* Float */
776
+ 6 ? encodeCWLType(t) : head(typesList).tag === /* Double */
777
+ 7 ? encodeCWLType(t) : head(typesList).tag === /* Boolean */
778
+ 8 ? encodeCWLType(t) : head(typesList).tag === /* Array */
779
+ 11 ? (arraySchema = head(typesList).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
780
+ 0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
781
+ 1 ? encodeCWLType(t) : matchValue.tag === /* String */
782
+ 3 ? encodeCWLType(t) : matchValue.tag === /* Int */
783
+ 4 ? encodeCWLType(t) : matchValue.tag === /* Long */
784
+ 5 ? encodeCWLType(t) : matchValue.tag === /* Float */
785
+ 6 ? encodeCWLType(t) : matchValue.tag === /* Double */
786
+ 7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
787
+ 8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t)) : t.tag === /* Array */
788
+ 11 ? (arraySchema_1 = t.fields[0], matchValue_1 = arraySchema_1.Items, matchValue_1.tag === /* File */
789
+ 0 ? encodeCWLType(t) : matchValue_1.tag === /* Directory */
790
+ 1 ? encodeCWLType(t) : matchValue_1.tag === /* Dirent */
791
+ 2 ? encodeCWLType(t) : matchValue_1.tag === /* String */
792
+ 3 ? encodeCWLType(t) : matchValue_1.tag === /* Int */
793
+ 4 ? encodeCWLType(t) : matchValue_1.tag === /* Long */
794
+ 5 ? encodeCWLType(t) : matchValue_1.tag === /* Float */
795
+ 6 ? encodeCWLType(t) : matchValue_1.tag === /* Double */
796
+ 7 ? encodeCWLType(t) : matchValue_1.tag === /* Boolean */
797
+ 8 ? encodeCWLType(t) : yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]))) : t.tag === /* Record */
798
+ 12 ? yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])])) : t.tag === /* Enum */
799
+ 13 ? yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])])) : encodeCWLType(t)) : void 0;
896
800
  const acc_1 = empty$1();
897
801
  acc_2 = value$1 == null ? acc_1 : append(acc_1, singleton(["type", value(value$1)]));
898
802
  const value_3 = i.Label;
@@ -926,22 +830,22 @@ function encodeCWLInput(i) {
926
830
  const acc_19 = acc_18;
927
831
  acc_20 = value_22 == null ? acc_19 : append(acc_19, singleton(["inputBinding", encodeInputBinding(value(value_22))]));
928
832
  pairs = appendDynamicPropertiesExcept(CWLInput.KnownFieldNames, i, acc_20);
929
- let matchResult_1, t_1;
833
+ let matchResult = void 0, t_1 = void 0;
930
834
  if (!isEmpty(pairs)) {
931
835
  if (head(pairs)[0] === "type") {
932
836
  if (isEmpty(tail(pairs))) {
933
- matchResult_1 = 0;
837
+ matchResult = 0;
934
838
  t_1 = head(pairs)[1];
935
839
  } else {
936
- matchResult_1 = 1;
840
+ matchResult = 1;
937
841
  }
938
842
  } else {
939
- matchResult_1 = 1;
843
+ matchResult = 1;
940
844
  }
941
845
  } else {
942
- matchResult_1 = 1;
846
+ matchResult = 1;
943
847
  }
944
- switch (matchResult_1) {
848
+ switch (matchResult) {
945
849
  case 0:
946
850
  return [i.Name, t_1];
947
851
  default:
@@ -949,28 +853,28 @@ function encodeCWLInput(i) {
949
853
  }
950
854
  }
951
855
  function encodeSchemaDefRequirementType(s) {
952
- let acc;
856
+ let acc = void 0;
953
857
  return yMap((acc = ofArray([["name", string(s.Name)], ["type", encodeCWLType(s.Type_)]]), appendDynamicPropertiesExcept(SchemaDefRequirementType.KnownFieldNames, s, acc)));
954
858
  }
955
859
  function encodeRequirement(r) {
956
- let acc_17, acc_15, acc_13, acc_11, acc_9, acc_7, acc_5, acc_3, value_5, acc_4, value_8, acc_6, value_11, acc_8, value_14, acc_10, value_17, acc_12, value_20, acc_14, value_23, acc_16, acc_24, acc_32, acc_33, acc_34, acc_2, value_2, acc_1;
860
+ let acc_17 = void 0, acc_15 = void 0, acc_13 = void 0, acc_11 = void 0, acc_9 = void 0, acc_7 = void 0, acc_5 = void 0, acc_3 = void 0, value_5 = void 0, acc_4 = void 0, value_8 = void 0, acc_6 = void 0, value_11 = void 0, acc_8 = void 0, value_14 = void 0, acc_10 = void 0, value_17 = void 0, acc_12 = void 0, value_20 = void 0, acc_14 = void 0, value_23 = void 0, acc_16 = void 0, acc_24 = void 0, acc_32 = void 0, acc_33 = void 0, acc_34 = void 0, acc_2 = void 0, value_2 = void 0, option_1 = void 0, entries = void 0, acc_1 = void 0;
957
861
  switch (r.tag) {
958
862
  case /* SchemaDefRequirement */
959
863
  1: {
960
864
  const types = r.fields[0];
961
- return yMap(ofArray([["class", string("SchemaDefRequirement")], ["types", YAMLElement_Sequence(ofSeq(map$2(encodeSchemaDefRequirementType, types)))]]));
865
+ return yMap(ofArray([["class", string("SchemaDefRequirement")], ["types", YAMLElement_Sequence(ofSeq(map$1(encodeSchemaDefRequirementType, types)))]]));
962
866
  }
963
867
  case /* DockerRequirement */
964
868
  2: {
965
869
  const dr = r.fields[0];
966
- return yMap((acc_17 = (acc_15 = (acc_13 = (acc_11 = (acc_9 = (acc_7 = (acc_5 = (acc_3 = singleton(["class", string("DockerRequirement")]), value_5 = dr.DockerPull, acc_4 = acc_3, value_5 == null ? acc_4 : append(acc_4, singleton(["dockerPull", string(value(value_5))]))), value_8 = dr.DockerFile, acc_6 = acc_5, value_8 == null ? acc_6 : append(acc_6, singleton(["dockerFile", encodeSchemaSaladString(value(value_8))]))), value_11 = dr.DockerImageId, acc_8 = acc_7, value_11 == null ? acc_8 : append(acc_8, singleton(["dockerImageId", string(value(value_11))]))), value_14 = dr.DockerLoad, acc_10 = acc_9, value_14 == null ? acc_10 : append(acc_10, singleton(["dockerLoad", string(value(value_14))]))), value_17 = dr.DockerImport, acc_12 = acc_11, value_17 == null ? acc_12 : append(acc_12, singleton(["dockerImport", string(value(value_17))]))), value_20 = dr.DockerOutputDirectory, acc_14 = acc_13, value_20 == null ? acc_14 : append(acc_14, singleton(["dockerOutputDirectory", string(value(value_20))]))), value_23 = dr.DockerRunOptions, acc_16 = acc_15, value_23 == null ? acc_16 : append(acc_16, singleton(["cwltool:dockerRunOptions", YAMLElement_Sequence(ofSeq(map$2(string, value(value_23))))]))), appendDynamicPropertiesExcept(DockerRequirement.KnownFieldNames, dr, acc_17)));
870
+ return yMap((acc_17 = (acc_15 = (acc_13 = (acc_11 = (acc_9 = (acc_7 = (acc_5 = (acc_3 = singleton(["class", string("DockerRequirement")]), value_5 = dr.DockerPull, acc_4 = acc_3, value_5 == null ? acc_4 : append(acc_4, singleton(["dockerPull", string(value(value_5))]))), value_8 = dr.DockerFile, acc_6 = acc_5, value_8 == null ? acc_6 : append(acc_6, singleton(["dockerFile", encodeSchemaSaladString(value(value_8))]))), value_11 = dr.DockerImageId, acc_8 = acc_7, value_11 == null ? acc_8 : append(acc_8, singleton(["dockerImageId", string(value(value_11))]))), value_14 = dr.DockerLoad, acc_10 = acc_9, value_14 == null ? acc_10 : append(acc_10, singleton(["dockerLoad", string(value(value_14))]))), value_17 = dr.DockerImport, acc_12 = acc_11, value_17 == null ? acc_12 : append(acc_12, singleton(["dockerImport", string(value(value_17))]))), value_20 = dr.DockerOutputDirectory, acc_14 = acc_13, value_20 == null ? acc_14 : append(acc_14, singleton(["dockerOutputDirectory", string(value(value_20))]))), value_23 = dr.DockerRunOptions, acc_16 = acc_15, value_23 == null ? acc_16 : append(acc_16, singleton(["cwltool:dockerRunOptions", YAMLElement_Sequence(ofSeq(map$1(string, value(value_23))))]))), appendDynamicPropertiesExcept(DockerRequirement.KnownFieldNames, dr, acc_17)));
967
871
  }
968
872
  case /* SoftwareRequirement */
969
873
  3: {
970
874
  const pkgs = r.fields[0];
971
- return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", YAMLElement_Sequence(ofSeq(map$2((p) => {
972
- let acc_23, acc_21, acc_19, value_26, acc_20, value_29, acc_22;
973
- return yMap((acc_23 = (acc_21 = (acc_19 = append(empty$1(), singleton(["package", string(p.Package)])), value_26 = p.Version, acc_20 = acc_19, value_26 == null ? acc_20 : append(acc_20, singleton(["version", YAMLElement_Sequence(ofSeq(map$2(string, value(value_26))))]))), value_29 = p.Specs, acc_22 = acc_21, value_29 == null ? acc_22 : append(acc_22, singleton(["specs", YAMLElement_Sequence(ofSeq(map$2(string, value(value_29))))]))), appendDynamicPropertiesExcept(SoftwarePackage.KnownFieldNames, p, acc_23)));
875
+ return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", YAMLElement_Sequence(ofSeq(map$1((p) => {
876
+ let acc_23 = void 0, acc_21 = void 0, acc_19 = void 0, value_26 = void 0, acc_20 = void 0, value_29 = void 0, acc_22 = void 0;
877
+ return yMap((acc_23 = (acc_21 = (acc_19 = append(empty$1(), singleton(["package", string(p.Package)])), value_26 = p.Version, acc_20 = acc_19, value_26 == null ? acc_20 : append(acc_20, singleton(["version", YAMLElement_Sequence(ofSeq(map$1(string, value(value_26))))]))), value_29 = p.Specs, acc_22 = acc_21, value_29 == null ? acc_22 : append(acc_22, singleton(["specs", YAMLElement_Sequence(ofSeq(map$1(string, value(value_29))))]))), appendDynamicPropertiesExcept(SoftwarePackage.KnownFieldNames, p, acc_23)));
974
878
  }, pkgs)))]]));
975
879
  }
976
880
  case /* LoadListingRequirement */
@@ -981,8 +885,8 @@ function encodeRequirement(r) {
981
885
  case /* InitialWorkDirRequirement */
982
886
  5: {
983
887
  const listing = r.fields[0];
984
- return yMap(ofArray([["class", string("InitialWorkDirRequirement")], ["listing", YAMLElement_Sequence(ofSeq(map$2((_arg) => {
985
- let acc_30, acc_28, value_32, acc_26, value_34, acc_29;
888
+ return yMap(ofArray([["class", string("InitialWorkDirRequirement")], ["listing", YAMLElement_Sequence(ofSeq(map$1((_arg) => {
889
+ let acc_30 = void 0, acc_28 = void 0, value_32 = void 0, acc_26 = void 0, value_34 = void 0, acc_29 = void 0;
986
890
  switch (_arg.tag) {
987
891
  case /* StringEntry */
988
892
  1:
@@ -1003,8 +907,8 @@ function encodeRequirement(r) {
1003
907
  case /* EnvVarRequirement */
1004
908
  6: {
1005
909
  const envs = r.fields[0];
1006
- return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", YAMLElement_Sequence(ofSeq(map$2((e) => {
1007
- let acc_31;
910
+ return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", YAMLElement_Sequence(ofSeq(map$1((e) => {
911
+ let acc_31 = void 0;
1008
912
  const v_12 = normalizeEnvValueForEncode(e.EnvValue);
1009
913
  return yMap((acc_31 = ofArray([["envName", string(e.EnvName)], ["envValue", string(v_12)]]), appendDynamicPropertiesExcept(EnvironmentDef.KnownFieldNames, e, acc_31)));
1010
914
  }, envs)))]]));
@@ -1030,12 +934,20 @@ function encodeRequirement(r) {
1030
934
  return void 0;
1031
935
  }
1032
936
  };
1033
- const knownPairs = choose$1((tupledArg) => bind(curry2(tryEncodeScalar)(tupledArg[0]), tupledArg[1]), rr.KnownFieldValues);
937
+ const knownPairs = choose$1((tupledArg) => {
938
+ const binder_2 = curry2(tryEncodeScalar)(tupledArg[0]);
939
+ const option_3 = tupledArg[1];
940
+ if (option_3 != null) {
941
+ return binder_2(value(option_3));
942
+ } else {
943
+ return void 0;
944
+ }
945
+ }, rr.KnownFieldValues);
1034
946
  const dynamicPairs = toList(choose((kvp) => {
1035
947
  const matchValue = kvp[1];
1036
948
  return tryEncodeScalar(kvp[0], matchValue);
1037
- }, dynamicPropertiesExcept(ofSeq$1(map$2((x) => x, ResourceRequirementInstance.KnownFieldNames), {
1038
- Compare: comparePrimitives
949
+ }, dynamicPropertiesExcept(ofSeq$1(map$1((x) => x, ResourceRequirementInstance.KnownFieldNames), {
950
+ Compare: (x_1, y) => comparePrimitives(x_1, y) | 0
1039
951
  }), rr)));
1040
952
  return yMap(append(singleton(["class", string("ResourceRequirement")]), append(knownPairs, dynamicPairs)));
1041
953
  }
@@ -1085,13 +997,7 @@ function encodeRequirement(r) {
1085
997
  return yMap(singleton(["class", string("StepInputExpressionRequirement")]));
1086
998
  default: {
1087
999
  const value$1 = r.fields[0];
1088
- return yMap((acc_2 = (value_2 = bind((entries) => {
1089
- if (entries.length > 0) {
1090
- return entries;
1091
- } else {
1092
- return void 0;
1093
- }
1094
- }, value$1.ExpressionLib), acc_1 = singleton(["class", string("InlineJavascriptRequirement")]), value_2 == null ? acc_1 : append(acc_1, singleton(["expressionLib", YAMLElement_Sequence(ofSeq(map$2(string, value(value_2))))]))), appendDynamicPropertiesExcept(InlineJavascriptRequirementValue.KnownFieldNames, value$1, acc_2)));
1000
+ return yMap((acc_2 = (value_2 = (option_1 = value$1.ExpressionLib, option_1 != null ? (entries = value(option_1), entries.length > 0 ? entries : void 0) : void 0), acc_1 = singleton(["class", string("InlineJavascriptRequirement")]), value_2 == null ? acc_1 : append(acc_1, singleton(["expressionLib", YAMLElement_Sequence(ofSeq(map$1(string, value(value_2))))]))), appendDynamicPropertiesExcept(InlineJavascriptRequirementValue.KnownFieldNames, value$1, acc_2)));
1095
1001
  }
1096
1002
  }
1097
1003
  }
@@ -1106,9 +1012,9 @@ function encodeHintEntry(hint) {
1106
1012
  }
1107
1013
  function encodeSourceArray(sources) {
1108
1014
  if (sources.length === 1) {
1109
- return string(sources[0]);
1015
+ return string(item(0, sources));
1110
1016
  } else {
1111
- return YAMLElement_Sequence(ofSeq(map$2((s) => YAMLElement_Object(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(s)))), sources)));
1017
+ return YAMLElement_Sequence(ofSeq(map$1((s) => YAMLElement_Object$(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(s)))), sources)));
1112
1018
  }
1113
1019
  }
1114
1020
  function encodeLinkMergeMethod(linkMerge) {
@@ -1159,7 +1065,7 @@ function encodeStepInput(si) {
1159
1065
  const acc_17 = acc_16;
1160
1066
  acc_18 = value_21 == null ? acc_17 : append(acc_17, singleton(["label", string(value(value_21))]));
1161
1067
  pairs = appendDynamicPropertiesExcept(StepInput.KnownFieldNames, si, acc_18);
1162
- let matchResult, s_1;
1068
+ let matchResult = void 0, s_1 = void 0;
1163
1069
  if (!isEmpty(pairs)) {
1164
1070
  if (head(pairs)[0] === "source") {
1165
1071
  if (isEmpty(tail(pairs))) {
@@ -1186,14 +1092,14 @@ function encodeStepInput(si) {
1186
1092
  }
1187
1093
  }
1188
1094
  function encodeStepInputs(inputs) {
1189
- return yMap(toList(map$2(encodeStepInput, inputs)));
1095
+ return yMap(toList(map$1(encodeStepInput, inputs)));
1190
1096
  }
1191
1097
  function encodeStepOutputParameter(so) {
1192
- let acc;
1098
+ let acc = void 0;
1193
1099
  return yMap((acc = singleton(["id", string(so.Id)]), appendDynamicPropertiesExcept(StepOutputParameter.KnownFieldNames, so, acc)));
1194
1100
  }
1195
1101
  function encodeStepOutputs(outputs) {
1196
- return YAMLElement_Sequence(ofSeq(map$2((output) => {
1102
+ return YAMLElement_Sequence(ofSeq(map$1((output) => {
1197
1103
  if (output.tag === /* StepOutputRecord */
1198
1104
  1) {
1199
1105
  return encodeStepOutputParameter(output.fields[0]);
@@ -1204,9 +1110,9 @@ function encodeStepOutputs(outputs) {
1204
1110
  }
1205
1111
  function encodeScatter(scatter) {
1206
1112
  if (scatter.length === 1) {
1207
- return string(scatter[0]);
1113
+ return string(item(0, scatter));
1208
1114
  } else {
1209
- return YAMLElement_Sequence(ofSeq(map$2(string, scatter)));
1115
+ return YAMLElement_Sequence(ofSeq(map$1(string, scatter)));
1210
1116
  }
1211
1117
  }
1212
1118
  function encodeWorkflowStepRun(run) {
@@ -1216,7 +1122,7 @@ function encodeWorkflowStepRun(run) {
1216
1122
  const toolObj = run.fields[0];
1217
1123
  const matchValue = WorkflowStepRunOps_tryGetTool(run);
1218
1124
  if (matchValue == null) {
1219
- throw new Error(toText(interpolate("RunCommandLineTool must contain CWLToolDescription but got %A%P()", [toolObj])));
1125
+ throw ArgumentException_$ctor_Z721C83C5(`RunCommandLineTool must contain CWLToolDescription but got ${interpolate("%A%P()", [toolObj])}`);
1220
1126
  } else {
1221
1127
  return encodeToolDescriptionElement(value(matchValue));
1222
1128
  }
@@ -1226,7 +1132,7 @@ function encodeWorkflowStepRun(run) {
1226
1132
  const workflowObj = run.fields[0];
1227
1133
  const matchValue_1 = WorkflowStepRunOps_tryGetWorkflow(run);
1228
1134
  if (matchValue_1 == null) {
1229
- throw new Error(toText(interpolate("RunWorkflow must contain CWLWorkflowDescription but got %A%P()", [workflowObj])));
1135
+ throw ArgumentException_$ctor_Z721C83C5(`RunWorkflow must contain CWLWorkflowDescription but got ${interpolate("%A%P()", [workflowObj])}`);
1230
1136
  } else {
1231
1137
  return encodeWorkflowDescriptionElement(value(matchValue_1));
1232
1138
  }
@@ -1236,7 +1142,7 @@ function encodeWorkflowStepRun(run) {
1236
1142
  const expressionToolObj = run.fields[0];
1237
1143
  const matchValue_2 = WorkflowStepRunOps_tryGetExpressionTool(run);
1238
1144
  if (matchValue_2 == null) {
1239
- throw new Error(toText(interpolate("RunExpressionTool must contain CWLExpressionToolDescription but got %A%P()", [expressionToolObj])));
1145
+ throw ArgumentException_$ctor_Z721C83C5(`RunExpressionTool must contain CWLExpressionToolDescription but got ${interpolate("%A%P()", [expressionToolObj])}`);
1240
1146
  } else {
1241
1147
  return encodeExpressionToolDescriptionElement(value(matchValue_2));
1242
1148
  }
@@ -1246,7 +1152,7 @@ function encodeWorkflowStepRun(run) {
1246
1152
  const operationObj = run.fields[0];
1247
1153
  const matchValue_3 = WorkflowStepRunOps_tryGetOperation(run);
1248
1154
  if (matchValue_3 == null) {
1249
- throw new Error(toText(interpolate("RunOperation must contain CWLOperationDescription but got %A%P()", [operationObj])));
1155
+ throw ArgumentException_$ctor_Z721C83C5(`RunOperation must contain CWLOperationDescription but got ${interpolate("%A%P()", [operationObj])}`);
1250
1156
  } else {
1251
1157
  return encodeOperationDescriptionElement(value(matchValue_3));
1252
1158
  }
@@ -1256,27 +1162,37 @@ function encodeWorkflowStepRun(run) {
1256
1162
  }
1257
1163
  }
1258
1164
  function encodeToolDescriptionElement(td) {
1259
- let h, r, bc, matchValue_3, i, i_1;
1165
+ let intent = void 0, h = void 0, r = void 0, bc = void 0, matchValue_3 = void 0, i = void 0, i_1 = void 0;
1260
1166
  let basePairs;
1261
1167
  let acc_6;
1262
1168
  let acc_4;
1263
1169
  let acc_2;
1264
1170
  const acc = ofArray([["cwlVersion", string(td.CWLVersion)], ["class", string("CommandLineTool")]]);
1265
- const pairOpt_1 = map((id) => ["id", string(id)], td.Id);
1171
+ let pairOpt_1;
1172
+ const option_1 = td.Id;
1173
+ pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
1266
1174
  const acc_1 = acc;
1267
1175
  acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
1268
- const pairOpt_3 = map(encodeLabel, td.Label);
1176
+ let pairOpt_3;
1177
+ const option_3 = td.Label;
1178
+ pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
1269
1179
  const acc_3 = acc_2;
1270
1180
  acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
1271
- const pairOpt_5 = map(encodeDoc, td.Doc);
1181
+ let pairOpt_5;
1182
+ const option_5 = td.Doc;
1183
+ pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
1272
1184
  const acc_5 = acc_4;
1273
1185
  acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
1274
- const pairOpt_7 = map(encodeIntent, filter((intent) => intent.length > 0, td.Intent));
1186
+ let pairOpt_7;
1187
+ let option_9;
1188
+ const option_7 = td.Intent;
1189
+ option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
1190
+ pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
1275
1191
  const acc_7 = acc_6;
1276
1192
  basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
1277
1193
  let withHints;
1278
1194
  const matchValue = td.Hints;
1279
- let matchResult, h_1;
1195
+ let matchResult = void 0, h_1 = void 0;
1280
1196
  if (matchValue != null) {
1281
1197
  if (h = value(matchValue), h.length > 0) {
1282
1198
  matchResult = 0;
@@ -1289,7 +1205,7 @@ function encodeToolDescriptionElement(td) {
1289
1205
  }
1290
1206
  switch (matchResult) {
1291
1207
  case 0: {
1292
- withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$2(encodeHintEntry, h_1)))]));
1208
+ withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
1293
1209
  break;
1294
1210
  }
1295
1211
  default:
@@ -1297,7 +1213,7 @@ function encodeToolDescriptionElement(td) {
1297
1213
  }
1298
1214
  let withRequirements;
1299
1215
  const matchValue_1 = td.Requirements;
1300
- let matchResult_1, r_1;
1216
+ let matchResult_1 = void 0, r_1 = void 0;
1301
1217
  if (matchValue_1 != null) {
1302
1218
  if (r = value(matchValue_1), r.length > 0) {
1303
1219
  matchResult_1 = 0;
@@ -1310,7 +1226,7 @@ function encodeToolDescriptionElement(td) {
1310
1226
  }
1311
1227
  switch (matchResult_1) {
1312
1228
  case 0: {
1313
- withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$2(encodeRequirement, r_1)))]));
1229
+ withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
1314
1230
  break;
1315
1231
  }
1316
1232
  default:
@@ -1318,7 +1234,7 @@ function encodeToolDescriptionElement(td) {
1318
1234
  }
1319
1235
  let withBaseCommand;
1320
1236
  const matchValue_2 = td.BaseCommand;
1321
- let matchResult_2, bc_1;
1237
+ let matchResult_2 = void 0, bc_1 = void 0;
1322
1238
  if (matchValue_2 != null) {
1323
1239
  if (bc = value(matchValue_2), bc.length > 0) {
1324
1240
  matchResult_2 = 0;
@@ -1331,7 +1247,7 @@ function encodeToolDescriptionElement(td) {
1331
1247
  }
1332
1248
  switch (matchResult_2) {
1333
1249
  case 0: {
1334
- withBaseCommand = append(withRequirements, singleton(["baseCommand", YAMLElement_Sequence(ofSeq(map$2(string, bc_1)))]));
1250
+ withBaseCommand = append(withRequirements, singleton(["baseCommand", YAMLElement_Sequence(ofSeq(map$1(string, bc_1)))]));
1335
1251
  break;
1336
1252
  }
1337
1253
  default:
@@ -1358,41 +1274,51 @@ function encodeToolDescriptionElement(td) {
1358
1274
  acc_16 = value_11 == null ? acc_15 : append(acc_15, singleton(["stdout", string(value(value_11))]));
1359
1275
  const value_14 = td.SuccessCodes;
1360
1276
  const acc_17 = acc_16;
1361
- acc_18 = value_14 == null ? acc_17 : append(acc_17, singleton(["successCodes", YAMLElement_Sequence(ofSeq(map$2(int, value(value_14))))]));
1277
+ acc_18 = value_14 == null ? acc_17 : append(acc_17, singleton(["successCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_14))))]));
1362
1278
  const value_17 = td.TemporaryFailCodes;
1363
1279
  const acc_19 = acc_18;
1364
- acc_20 = value_17 == null ? acc_19 : append(acc_19, singleton(["temporaryFailCodes", YAMLElement_Sequence(ofSeq(map$2(int, value(value_17))))]));
1280
+ acc_20 = value_17 == null ? acc_19 : append(acc_19, singleton(["temporaryFailCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_17))))]));
1365
1281
  const value_20 = td.PermanentFailCodes;
1366
1282
  const acc_21 = acc_20;
1367
- withCommandFields = value_20 == null ? acc_21 : append(acc_21, singleton(["permanentFailCodes", YAMLElement_Sequence(ofSeq(map$2(int, value(value_20))))]));
1368
- const withOutputs = append((matchValue_3 = td.Inputs, matchValue_3 != null ? (i = value(matchValue_3), i.length > 0) ? (i_1 = value(matchValue_3), append(withCommandFields, singleton(["inputs", yMap(toList(map$2(encodeCWLInput, i_1)))]))) : withCommandFields : withCommandFields), singleton(["outputs", yMap(toList(map$2(encodeCWLOutput, td.Outputs)))]));
1283
+ withCommandFields = value_20 == null ? acc_21 : append(acc_21, singleton(["permanentFailCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_20))))]));
1284
+ const withOutputs = append((matchValue_3 = td.Inputs, matchValue_3 != null ? (i = value(matchValue_3), i.length > 0) ? (i_1 = value(matchValue_3), append(withCommandFields, singleton(["inputs", yMap(toList(map$1(encodeCWLInput, i_1)))]))) : withCommandFields : withCommandFields), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, td.Outputs)))]));
1369
1285
  let withMetadata;
1370
1286
  const matchValue_4 = td.Metadata;
1371
1287
  withMetadata = matchValue_4 == null ? withOutputs : appendDynamicProperties(value(matchValue_4), withOutputs);
1372
1288
  return yMap(appendDynamicPropertiesExcept(CWLToolDescription.KnownFieldNames, td, withMetadata));
1373
1289
  }
1374
1290
  function encodeExpressionToolDescriptionElement(et) {
1375
- let h, r, matchValue_2, i, i_1;
1291
+ let intent = void 0, h = void 0, r = void 0, matchValue_2 = void 0, i = void 0, i_1 = void 0;
1376
1292
  let basePairs;
1377
1293
  let acc_6;
1378
1294
  let acc_4;
1379
1295
  let acc_2;
1380
1296
  const acc = ofArray([["cwlVersion", string(et.CWLVersion)], ["class", string("ExpressionTool")]]);
1381
- const pairOpt_1 = map((id) => ["id", string(id)], et.Id);
1297
+ let pairOpt_1;
1298
+ const option_1 = et.Id;
1299
+ pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
1382
1300
  const acc_1 = acc;
1383
1301
  acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
1384
- const pairOpt_3 = map(encodeLabel, et.Label);
1302
+ let pairOpt_3;
1303
+ const option_3 = et.Label;
1304
+ pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
1385
1305
  const acc_3 = acc_2;
1386
1306
  acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
1387
- const pairOpt_5 = map(encodeDoc, et.Doc);
1307
+ let pairOpt_5;
1308
+ const option_5 = et.Doc;
1309
+ pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
1388
1310
  const acc_5 = acc_4;
1389
1311
  acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
1390
- const pairOpt_7 = map(encodeIntent, filter((intent) => intent.length > 0, et.Intent));
1312
+ let pairOpt_7;
1313
+ let option_9;
1314
+ const option_7 = et.Intent;
1315
+ option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
1316
+ pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
1391
1317
  const acc_7 = acc_6;
1392
1318
  basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
1393
1319
  let withHints;
1394
1320
  const matchValue = et.Hints;
1395
- let matchResult, h_1;
1321
+ let matchResult = void 0, h_1 = void 0;
1396
1322
  if (matchValue != null) {
1397
1323
  if (h = value(matchValue), h.length > 0) {
1398
1324
  matchResult = 0;
@@ -1405,7 +1331,7 @@ function encodeExpressionToolDescriptionElement(et) {
1405
1331
  }
1406
1332
  switch (matchResult) {
1407
1333
  case 0: {
1408
- withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$2(encodeHintEntry, h_1)))]));
1334
+ withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
1409
1335
  break;
1410
1336
  }
1411
1337
  default:
@@ -1413,7 +1339,7 @@ function encodeExpressionToolDescriptionElement(et) {
1413
1339
  }
1414
1340
  let withRequirements;
1415
1341
  const matchValue_1 = et.Requirements;
1416
- let matchResult_1, r_1;
1342
+ let matchResult_1 = void 0, r_1 = void 0;
1417
1343
  if (matchValue_1 != null) {
1418
1344
  if (r = value(matchValue_1), r.length > 0) {
1419
1345
  matchResult_1 = 0;
@@ -1426,40 +1352,50 @@ function encodeExpressionToolDescriptionElement(et) {
1426
1352
  }
1427
1353
  switch (matchResult_1) {
1428
1354
  case 0: {
1429
- withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$2(encodeRequirement, r_1)))]));
1355
+ withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
1430
1356
  break;
1431
1357
  }
1432
1358
  default:
1433
1359
  withRequirements = withHints;
1434
1360
  }
1435
- const withExpression = append(append((matchValue_2 = et.Inputs, matchValue_2 != null ? (i = value(matchValue_2), i.length > 0) ? (i_1 = value(matchValue_2), append(withRequirements, singleton(["inputs", yMap(toList(map$2(encodeCWLInput, i_1)))]))) : withRequirements : withRequirements), singleton(["outputs", yMap(toList(map$2(encodeCWLOutput, et.Outputs)))])), singleton(["expression", encodeExpressionScalar(et.Expression)]));
1361
+ const withExpression = append(append((matchValue_2 = et.Inputs, matchValue_2 != null ? (i = value(matchValue_2), i.length > 0) ? (i_1 = value(matchValue_2), append(withRequirements, singleton(["inputs", yMap(toList(map$1(encodeCWLInput, i_1)))]))) : withRequirements : withRequirements), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, et.Outputs)))])), singleton(["expression", encodeExpressionScalar(et.Expression)]));
1436
1362
  let withMetadata;
1437
1363
  const matchValue_3 = et.Metadata;
1438
1364
  withMetadata = matchValue_3 == null ? withExpression : appendDynamicProperties(value(matchValue_3), withExpression);
1439
1365
  return yMap(appendDynamicPropertiesExcept(CWLExpressionToolDescription.KnownFieldNames, et, withMetadata));
1440
1366
  }
1441
1367
  function encodeOperationDescriptionElement(op) {
1442
- let h, matchValue_1, r, r_1;
1368
+ let intent = void 0, h = void 0, matchValue_1 = void 0, r = void 0, r_1 = void 0;
1443
1369
  let basePairs;
1444
1370
  let acc_6;
1445
1371
  let acc_4;
1446
1372
  let acc_2;
1447
1373
  const acc = ofArray([["cwlVersion", string(op.CWLVersion)], ["class", string("Operation")]]);
1448
- const pairOpt_1 = map((id) => ["id", string(id)], op.Id);
1374
+ let pairOpt_1;
1375
+ const option_1 = op.Id;
1376
+ pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
1449
1377
  const acc_1 = acc;
1450
1378
  acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
1451
- const pairOpt_3 = map(encodeLabel, op.Label);
1379
+ let pairOpt_3;
1380
+ const option_3 = op.Label;
1381
+ pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
1452
1382
  const acc_3 = acc_2;
1453
1383
  acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
1454
- const pairOpt_5 = map(encodeDoc, op.Doc);
1384
+ let pairOpt_5;
1385
+ const option_5 = op.Doc;
1386
+ pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
1455
1387
  const acc_5 = acc_4;
1456
1388
  acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
1457
- const pairOpt_7 = map(encodeIntent, filter((intent) => intent.length > 0, op.Intent));
1389
+ let pairOpt_7;
1390
+ let option_9;
1391
+ const option_7 = op.Intent;
1392
+ option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
1393
+ pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
1458
1394
  const acc_7 = acc_6;
1459
1395
  basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
1460
1396
  let withHints;
1461
1397
  const matchValue = op.Hints;
1462
- let matchResult, h_1;
1398
+ let matchResult = void 0, h_1 = void 0;
1463
1399
  if (matchValue != null) {
1464
1400
  if (h = value(matchValue), h.length > 0) {
1465
1401
  matchResult = 0;
@@ -1472,40 +1408,50 @@ function encodeOperationDescriptionElement(op) {
1472
1408
  }
1473
1409
  switch (matchResult) {
1474
1410
  case 0: {
1475
- withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$2(encodeHintEntry, h_1)))]));
1411
+ withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
1476
1412
  break;
1477
1413
  }
1478
1414
  default:
1479
1415
  withHints = basePairs;
1480
1416
  }
1481
- const withOutputs = append(append((matchValue_1 = op.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$2(encodeRequirement, r_1)))]))) : withHints : withHints), singleton(["inputs", yMap(toList(map$2(encodeCWLInput, op.Inputs)))])), singleton(["outputs", yMap(toList(map$2(encodeCWLOutput, op.Outputs)))]));
1417
+ const withOutputs = append(append((matchValue_1 = op.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]))) : withHints : withHints), singleton(["inputs", yMap(toList(map$1(encodeCWLInput, op.Inputs)))])), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, op.Outputs)))]));
1482
1418
  let withMetadata;
1483
1419
  const matchValue_2 = op.Metadata;
1484
1420
  withMetadata = matchValue_2 == null ? withOutputs : appendDynamicProperties(value(matchValue_2), withOutputs);
1485
1421
  return yMap(appendDynamicPropertiesExcept(CWLOperationDescription.KnownFieldNames, op, withMetadata));
1486
1422
  }
1487
1423
  function encodeWorkflowDescriptionElement(wd) {
1488
- let h, matchValue_1, r, r_1;
1424
+ let intent = void 0, h = void 0, matchValue_1 = void 0, r = void 0, r_1 = void 0;
1489
1425
  let basePairs;
1490
1426
  let acc_6;
1491
1427
  let acc_4;
1492
1428
  let acc_2;
1493
1429
  const acc = ofArray([["cwlVersion", string(wd.CWLVersion)], ["class", string("Workflow")]]);
1494
- const pairOpt_1 = map((id) => ["id", string(id)], wd.Id);
1430
+ let pairOpt_1;
1431
+ const option_1 = wd.Id;
1432
+ pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
1495
1433
  const acc_1 = acc;
1496
1434
  acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
1497
- const pairOpt_3 = map(encodeLabel, wd.Label);
1435
+ let pairOpt_3;
1436
+ const option_3 = wd.Label;
1437
+ pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
1498
1438
  const acc_3 = acc_2;
1499
1439
  acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
1500
- const pairOpt_5 = map(encodeDoc, wd.Doc);
1440
+ let pairOpt_5;
1441
+ const option_5 = wd.Doc;
1442
+ pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
1501
1443
  const acc_5 = acc_4;
1502
1444
  acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
1503
- const pairOpt_7 = map(encodeIntent, filter((intent) => intent.length > 0, wd.Intent));
1445
+ let pairOpt_7;
1446
+ let option_9;
1447
+ const option_7 = wd.Intent;
1448
+ option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
1449
+ pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
1504
1450
  const acc_7 = acc_6;
1505
1451
  basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
1506
1452
  let withHints;
1507
1453
  const matchValue = wd.Hints;
1508
- let matchResult, h_1;
1454
+ let matchResult = void 0, h_1 = void 0;
1509
1455
  if (matchValue != null) {
1510
1456
  if (h = value(matchValue), h.length > 0) {
1511
1457
  matchResult = 0;
@@ -1518,20 +1464,20 @@ function encodeWorkflowDescriptionElement(wd) {
1518
1464
  }
1519
1465
  switch (matchResult) {
1520
1466
  case 0: {
1521
- withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$2(encodeHintEntry, h_1)))]));
1467
+ withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
1522
1468
  break;
1523
1469
  }
1524
1470
  default:
1525
1471
  withHints = basePairs;
1526
1472
  }
1527
- const withOutputs = append(append(append((matchValue_1 = wd.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$2(encodeRequirement, r_1)))]))) : withHints : withHints), singleton(["inputs", yMap(toList(map$2(encodeCWLInput, wd.Inputs)))])), singleton(["steps", yMap(toList(map$2(encodeWorkflowStep, wd.Steps)))])), singleton(["outputs", yMap(toList(map$2(encodeCWLOutput, wd.Outputs)))]));
1473
+ const withOutputs = append(append(append((matchValue_1 = wd.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]))) : withHints : withHints), singleton(["inputs", yMap(toList(map$1(encodeCWLInput, wd.Inputs)))])), singleton(["steps", yMap(toList(map$1(encodeWorkflowStep, wd.Steps)))])), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, wd.Outputs)))]));
1528
1474
  let withMetadata;
1529
1475
  const matchValue_2 = wd.Metadata;
1530
1476
  withMetadata = matchValue_2 == null ? withOutputs : appendDynamicProperties(value(matchValue_2), withOutputs);
1531
1477
  return yMap(appendDynamicPropertiesExcept(CWLWorkflowDescription.KnownFieldNames, wd, withMetadata));
1532
1478
  }
1533
1479
  function encodeWorkflowStep(ws) {
1534
- let h, r;
1480
+ let h = void 0, r = void 0;
1535
1481
  let basePairs;
1536
1482
  let acc_10;
1537
1483
  let acc_8;
@@ -1557,7 +1503,7 @@ function encodeWorkflowStep(ws) {
1557
1503
  basePairs = appendDynamicPropertiesExcept(WorkflowStep.KnownFieldNames, ws, acc_10);
1558
1504
  let withHints;
1559
1505
  const matchValue = ws.Hints;
1560
- let matchResult, h_1;
1506
+ let matchResult = void 0, h_1 = void 0;
1561
1507
  if (matchValue != null) {
1562
1508
  if (h = value(matchValue), h.length > 0) {
1563
1509
  matchResult = 0;
@@ -1570,7 +1516,7 @@ function encodeWorkflowStep(ws) {
1570
1516
  }
1571
1517
  switch (matchResult) {
1572
1518
  case 0: {
1573
- withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$2(encodeHintEntry, h_1)))]));
1519
+ withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
1574
1520
  break;
1575
1521
  }
1576
1522
  default:
@@ -1578,7 +1524,7 @@ function encodeWorkflowStep(ws) {
1578
1524
  }
1579
1525
  let withReq;
1580
1526
  const matchValue_1 = ws.Requirements;
1581
- let matchResult_1, r_1;
1527
+ let matchResult_1 = void 0, r_1 = void 0;
1582
1528
  if (matchValue_1 != null) {
1583
1529
  if (r = value(matchValue_1), r.length > 0) {
1584
1530
  matchResult_1 = 0;
@@ -1591,7 +1537,7 @@ function encodeWorkflowStep(ws) {
1591
1537
  }
1592
1538
  switch (matchResult_1) {
1593
1539
  case 0: {
1594
- withReq = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$2(encodeRequirement, r_1)))]));
1540
+ withReq = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
1595
1541
  break;
1596
1542
  }
1597
1543
  default:
@@ -1602,6 +1548,89 @@ function encodeWorkflowStep(ws) {
1602
1548
  function writeYaml(element) {
1603
1549
  return write(element, (c) => new Config(2, c.Level));
1604
1550
  }
1551
+ function encodeCWLParameterReference(reference) {
1552
+ let option_1 = void 0;
1553
+ const encodedValue = defaultArg((option_1 = reference.Value, option_1 != null ? encodeCWLParameterValue(value(option_1)) : void 0), YAMLElement_Sequence(empty$1()));
1554
+ const dynamicPairs = toList(choose((property) => {
1555
+ const option_4 = encodeDynamicValue(property[1]);
1556
+ if (option_4 != null) {
1557
+ return [property[0], value(option_4)];
1558
+ } else {
1559
+ return void 0;
1560
+ }
1561
+ }, dynamicPropertiesExcept(CWLParameterReference.KnownFieldNames, reference)));
1562
+ let inferredType;
1563
+ const option_6 = reference.Value;
1564
+ inferredType = option_6 != null ? CWLParameterValueModule_tryInferType(value(option_6)) : void 0;
1565
+ let explicitTypePair;
1566
+ const matchValue = reference.Type;
1567
+ let matchResult = void 0, type__1 = void 0;
1568
+ if (matchValue != null) {
1569
+ if (!equals(inferredType, value(matchValue))) {
1570
+ matchResult = 0;
1571
+ type__1 = value(matchValue);
1572
+ } else {
1573
+ matchResult = 1;
1574
+ }
1575
+ } else {
1576
+ matchResult = 1;
1577
+ }
1578
+ switch (matchResult) {
1579
+ case 0: {
1580
+ explicitTypePair = ["type", encodeCWLType(type__1)];
1581
+ break;
1582
+ }
1583
+ default:
1584
+ explicitTypePair = void 0;
1585
+ }
1586
+ let encodedReference;
1587
+ let matchResult_1 = void 0, overflow_1 = void 0, typePair = void 0, value_5 = void 0;
1588
+ if (explicitTypePair == null) {
1589
+ if (isEmpty(dynamicPairs)) {
1590
+ matchResult_1 = 0;
1591
+ } else if (encodedValue.tag === /* Object */
1592
+ 3) {
1593
+ matchResult_1 = 1;
1594
+ } else {
1595
+ matchResult_1 = 2;
1596
+ overflow_1 = dynamicPairs;
1597
+ typePair = explicitTypePair;
1598
+ value_5 = encodedValue;
1599
+ }
1600
+ } else {
1601
+ matchResult_1 = 2;
1602
+ overflow_1 = dynamicPairs;
1603
+ typePair = explicitTypePair;
1604
+ value_5 = encodedValue;
1605
+ }
1606
+ switch (matchResult_1) {
1607
+ case 0: {
1608
+ encodedReference = encodedValue;
1609
+ break;
1610
+ }
1611
+ case 1: {
1612
+ const valuePairs = choose$1((_arg) => {
1613
+ if (_arg.tag === /* Mapping */
1614
+ 0) {
1615
+ return [_arg.fields[0].Value, _arg.fields[1]];
1616
+ } else {
1617
+ return void 0;
1618
+ }
1619
+ }, encodedValue.fields[0]);
1620
+ const valueKeys = ofSeq$1(map$1((tuple) => tuple[0], valuePairs), {
1621
+ Compare: (x, y) => comparePrimitives(x, y) | 0
1622
+ });
1623
+ encodedReference = yMap(append(valuePairs, filter((tupledArg) => !contains(tupledArg[0], valueKeys), dynamicPairs)));
1624
+ break;
1625
+ }
1626
+ default:
1627
+ encodedReference = yMap(toList(delay(() => append$1(ofArray(toArray(typePair)), delay(() => append$1(singleton$1(["value", value_5]), delay(() => overflow_1)))))));
1628
+ }
1629
+ return [reference.Key, encodedReference];
1630
+ }
1631
+ function encodeYAMLParameterFile(references) {
1632
+ return writeYaml(yMap(toList(map$1(encodeCWLParameterReference, references))));
1633
+ }
1605
1634
  function getObjectPairs(element) {
1606
1635
  if (element.tag === /* Object */
1607
1636
  3) {
@@ -1620,20 +1649,27 @@ function getObjectPairs(element) {
1620
1649
  function renderTopLevelElement(baseKeys, orderedSectionKeys, element) {
1621
1650
  const section = (pairs) => trimEnd(replace(writeYaml(yMap(pairs)), "\r\n", "\n"), "\n");
1622
1651
  const pairs_2 = getObjectPairs(element);
1623
- const basePairs = filter$1((tupledArg) => contains(tupledArg[0], baseKeys, {
1652
+ const basePairs = filter((tupledArg) => contains$1(tupledArg[0], baseKeys, {
1624
1653
  Equals: (x, y) => x === y,
1625
- GetHashCode: stringHash
1654
+ GetHashCode: (x) => stringHash(x) | 0
1626
1655
  }), pairs_2);
1627
- const knownSections = choose$1((sectionKey) => map(singleton, tryFind((tupledArg_1) => tupledArg_1[0] === sectionKey, pairs_2)), orderedSectionKeys);
1656
+ const knownSections = choose$1((sectionKey) => {
1657
+ const option_1 = tryFind((tupledArg_1) => tupledArg_1[0] === sectionKey, pairs_2);
1658
+ if (option_1 != null) {
1659
+ return singleton(value(option_1));
1660
+ } else {
1661
+ return void 0;
1662
+ }
1663
+ }, orderedSectionKeys);
1628
1664
  const reservedKeys = ofList(append(baseKeys, orderedSectionKeys), {
1629
- Compare: comparePrimitives
1665
+ Compare: (x_1, y_1) => comparePrimitives(x_1, y_1) | 0
1630
1666
  });
1631
- const metadataPairs = filter$1((tupledArg_2) => !FSharpSet__Contains(reservedKeys, tupledArg_2[0]), pairs_2);
1667
+ const metadataPairs = filter((tupledArg_2) => !FSharpSet__Contains(reservedKeys, tupledArg_2[0]), pairs_2);
1632
1668
  const merge = (acc_mut, remaining_mut) => {
1633
1669
  merge:
1634
1670
  while (true) {
1635
1671
  const acc = acc_mut, remaining = remaining_mut;
1636
- let matchResult, a_1, b_1, rest_1, l, rest_2;
1672
+ let matchResult = void 0, a_1 = void 0, b_1 = void 0, rest_1 = void 0, l = void 0, rest_2 = void 0;
1637
1673
  if (isEmpty(remaining)) {
1638
1674
  matchResult = 2;
1639
1675
  } else if (!isEmpty(tail(remaining))) {
@@ -1669,7 +1705,7 @@ function renderTopLevelElement(baseKeys, orderedSectionKeys, element) {
1669
1705
  break;
1670
1706
  }
1671
1707
  };
1672
- return join("\r\n", merge(empty$1(), ofArray(split(join("\r\n\r\n", toList(delay(() => append$1(length(basePairs) > 0 ? singleton$1(section(basePairs)) : empty$2(), delay(() => append$1(map$1(section, knownSections), delay(() => length(metadataPairs) > 0 ? singleton$1(section(metadataPairs)) : empty$2()))))))), ["\r\n"], void 0, 0))));
1708
+ return join("\r\n", merge(empty$1(), ofArray(split(join("\r\n\r\n", toList(delay(() => append$1(length(basePairs) > 0 ? singleton$1(section(basePairs)) : empty$2(), delay(() => append$1(map(section, knownSections), delay(() => length(metadataPairs) > 0 ? singleton$1(section(metadataPairs)) : empty$2()))))))), ["\r\n"], void 0, 0))));
1673
1709
  }
1674
1710
  function encodeToolDescription(td) {
1675
1711
  return renderTopLevelElement(ofArray(["cwlVersion", "class", "id", "label", "doc", "intent"]), ofArray(["hints", "requirements", "baseCommand", "inputs", "outputs"]), encodeToolDescriptionElement(td));
@@ -1702,7 +1738,7 @@ function encodeCWLTypeYaml(t) {
1702
1738
  switch (t.tag) {
1703
1739
  case /* Union */
1704
1740
  14:
1705
- return "[" + join(", ", map$2(encodeCWLTypeYaml, t.fields[0])) + "]";
1741
+ return "[" + join(", ", map$1(encodeCWLTypeYaml, t.fields[0])) + "]";
1706
1742
  case /* Array */
1707
1743
  11:
1708
1744
  return encodeInputArraySchemaYaml(t.fields[0]);
@@ -1726,10 +1762,10 @@ function encodeInputRecordFieldYaml(field) {
1726
1762
  return `{name: ${field.Name}, type: ${typeYaml}}`;
1727
1763
  }
1728
1764
  function encodeInputRecordSchemaYaml(schema) {
1729
- let fs;
1765
+ let fs = void 0;
1730
1766
  let fieldsYaml;
1731
1767
  const matchValue = schema.Fields;
1732
- let matchResult, fs_1;
1768
+ let matchResult = void 0, fs_1 = void 0;
1733
1769
  if (matchValue != null) {
1734
1770
  if (fs = value(matchValue), fs.length > 0) {
1735
1771
  matchResult = 0;
@@ -1742,7 +1778,7 @@ function encodeInputRecordSchemaYaml(schema) {
1742
1778
  }
1743
1779
  switch (matchResult) {
1744
1780
  case 0: {
1745
- fieldsYaml = join(", ", map$2(encodeInputRecordFieldYaml, fs_1));
1781
+ fieldsYaml = join(", ", map$1(encodeInputRecordFieldYaml, fs_1));
1746
1782
  break;
1747
1783
  }
1748
1784
  default:
@@ -1751,17 +1787,21 @@ function encodeInputRecordSchemaYaml(schema) {
1751
1787
  if (fieldsYaml === "") {
1752
1788
  return "{type: record, fields: []}";
1753
1789
  } else {
1754
- return `{type: record, fields: [${fieldsYaml}]}`;
1790
+ return concat("{type: record, fields: [", fieldsYaml, "]}");
1755
1791
  }
1756
1792
  }
1757
1793
  function encodeInputEnumSchemaYaml(schema) {
1758
- return `{type: enum, symbols: [${join(", ", schema.Symbols)}]}`;
1794
+ return concat("{type: enum, symbols: [", join(", ", schema.Symbols), "]}");
1759
1795
  }
1760
1796
  function encodeInputArraySchemaYaml(schema) {
1761
- return `{type: array, items: ${encodeCWLTypeYaml(schema.Items)}}`;
1797
+ return concat("{type: array, items: ", encodeCWLTypeYaml(schema.Items), "}");
1762
1798
  }
1763
1799
  function cwlTypeToYamlString(t) {
1764
1800
  return encodeCWLTypeYaml(t);
1765
1801
  }
1802
+ function formatCWLType(type_) {
1803
+ const s = writeYaml(encodeCWLType(type_));
1804
+ return s.trim();
1805
+ }
1766
1806
 
1767
- export { $007CPrimitiveType$007CComplexType$007C, appendDynamicProperties, appendDynamicPropertiesExcept, cwlTypeToYamlString, encodeCWLInput, encodeCWLOutput, encodeCWLType, encodeCWLTypeYaml, encodeDirectoryPairs, encodeDoc, encodeDynamicObj, encodeDynamicValue, encodeEnvVarRequirementCompactMap, encodeExpressionScalar, encodeExpressionToolDescription, encodeExpressionToolDescriptionElement, encodeFilePairs, encodeHintEntry, encodeInputArraySchema, encodeInputArraySchemaYaml, encodeInputBinding, encodeInputEnumSchema, encodeInputEnumSchemaYaml, encodeInputRecordField, encodeInputRecordFieldYaml, encodeInputRecordSchema, encodeInputRecordSchemaYaml, encodeIntent, encodeLabel, encodeLinkMergeMethod, encodeOperationDescription, encodeOperationDescriptionElement, encodeOutputBinding, encodePickValueMethod, encodeProcessingUnit, encodeRequirement, encodeScatter, encodeScatterMethod, encodeSchemaDefRequirementType, encodeSchemaSaladString, encodeSoftwareRequirementCompactMap, encodeSourceArray, encodeStepInput, encodeStepInputs, encodeStepOutputParameter, encodeStepOutputs, encodeStringArrayOrScalar, encodeToolDescription, encodeToolDescriptionElement, encodeWorkflowDescription, encodeWorkflowDescriptionElement, encodeWorkflowStep, encodeWorkflowStepRun, getObjectPairs, isComplexType, normalizeDocString, normalizeEnvValueForEncode, renderTopLevelElement, tryGetArrayShorthand, writeYaml, yBool, yFloat, yMap };
1807
+ export { $007CPrimitiveType$007CComplexType$007C, appendDynamicProperties, appendDynamicPropertiesExcept, cwlTypeToYamlString, encodeCWLInput, encodeCWLOutput, encodeCWLParameterReference, encodeCWLParameterValue, encodeCWLType, encodeCWLTypeYaml, encodeDirectoryPairs, encodeDoc, encodeDynamicObj, encodeDynamicValue, encodeEnvVarRequirementCompactMap, encodeExpressionScalar, encodeExpressionToolDescription, encodeExpressionToolDescriptionElement, encodeFilePairs, encodeHintEntry, encodeInputArraySchema, encodeInputArraySchemaYaml, encodeInputBinding, encodeInputEnumSchema, encodeInputEnumSchemaYaml, encodeInputRecordField, encodeInputRecordFieldYaml, encodeInputRecordSchema, encodeInputRecordSchemaYaml, encodeIntent, encodeLabel, encodeLinkMergeMethod, encodeOperationDescription, encodeOperationDescriptionElement, encodeOutputBinding, encodePickValueMethod, encodeProcessingUnit, encodeRequirement, encodeScatter, encodeScatterMethod, encodeSchemaDefRequirementType, encodeSchemaSaladString, encodeSoftwareRequirementCompactMap, encodeSourceArray, encodeStepInput, encodeStepInputs, encodeStepOutputParameter, encodeStepOutputs, encodeStringArrayOrScalar, encodeToolDescription, encodeToolDescriptionElement, encodeWorkflowDescription, encodeWorkflowDescriptionElement, encodeWorkflowStep, encodeWorkflowStepRun, encodeYAMLParameterFile, formatCWLType, getObjectPairs, isComplexType, normalizeDocString, normalizeEnvValueForEncode, renderTopLevelElement, tryGetArrayShorthand, writeYaml, yBool, yFloat, yMap };