@nfdi4plants/arctrl 3.2.3 → 3.3.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 (453) hide show
  1. package/dist/ts/index.d.ts +44 -7
  2. package/dist/ts/index.d.ts.map +1 -1
  3. package/dist/ts/index.js +45 -8
  4. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
  35. package/dist/ts/ts/ARC.d.ts +19 -2
  36. package/dist/ts/ts/ARC.d.ts.map +1 -1
  37. package/dist/ts/ts/ARC.js +128 -89
  38. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
  39. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
  40. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
  41. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
  42. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  43. package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
  44. package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
  45. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  46. package/dist/ts/ts/CWL/CWLTypes.js +887 -201
  47. package/dist/ts/ts/CWL/Decode.d.ts +480 -211
  48. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  49. package/dist/ts/ts/CWL/Decode.js +3614 -2462
  50. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
  51. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  52. package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
  53. package/dist/ts/ts/CWL/Encode.d.ts +225 -85
  54. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  55. package/dist/ts/ts/CWL/Encode.js +1858 -970
  56. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
  57. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  58. package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
  59. package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
  60. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  61. package/dist/ts/ts/CWL/HashHelpers.js +255 -6
  62. package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
  63. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  64. package/dist/ts/ts/CWL/Inputs.js +107 -16
  65. package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
  66. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  67. package/dist/ts/ts/CWL/OperationDescription.js +35 -9
  68. package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
  69. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  70. package/dist/ts/ts/CWL/Outputs.js +101 -19
  71. package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
  72. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  73. package/dist/ts/ts/CWL/ParameterReference.js +18 -25
  74. package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
  75. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
  76. package/dist/ts/ts/CWL/ParameterValue.js +59 -35
  77. package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
  78. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  79. package/dist/ts/ts/CWL/Requirements.js +462 -89
  80. package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
  81. package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
  82. package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
  83. package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
  84. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  85. package/dist/ts/ts/CWL/ToolDescription.js +34 -13
  86. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
  87. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  88. package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
  89. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
  90. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  91. package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
  92. package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
  93. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  94. package/dist/ts/ts/CWLRunResolver.js +221 -86
  95. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  96. package/dist/ts/ts/Contract/ARC.js +13 -14
  97. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  98. package/dist/ts/ts/Contract/ArcAssay.js +4 -4
  99. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  100. package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
  101. package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
  102. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  103. package/dist/ts/ts/Contract/ArcRun.js +47 -20
  104. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  105. package/dist/ts/ts/Contract/ArcStudy.js +4 -4
  106. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
  107. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  108. package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
  109. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  110. package/dist/ts/ts/Contract/Datamap.js +16 -17
  111. package/dist/ts/ts/Contract/Git.js +1 -1
  112. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  113. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
  114. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  115. package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
  116. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  117. package/dist/ts/ts/Conversion/Assay.js +26 -18
  118. package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
  119. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  120. package/dist/ts/ts/Conversion/Basic.js +55 -31
  121. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  122. package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
  123. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  124. package/dist/ts/ts/Conversion/DateTime.js +1 -2
  125. package/dist/ts/ts/Conversion/Investigation.js +11 -11
  126. package/dist/ts/ts/Conversion/Person.js +11 -11
  127. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  128. package/dist/ts/ts/Conversion/Process.js +107 -86
  129. package/dist/ts/ts/Conversion/Run.d.ts +36 -6
  130. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  131. package/dist/ts/ts/Conversion/Run.js +320 -136
  132. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  133. package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
  134. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  135. package/dist/ts/ts/Conversion/Study.js +23 -12
  136. package/dist/ts/ts/Conversion/Table.js +5 -5
  137. package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
  138. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  139. package/dist/ts/ts/Conversion/Workflow.js +655 -163
  140. package/dist/ts/ts/Conversion.js +6 -6
  141. package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
  142. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  143. package/dist/ts/ts/Core/ArcTypes.js +219 -129
  144. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  145. package/dist/ts/ts/Core/Comment.js +2 -2
  146. package/dist/ts/ts/Core/CommentList.js +7 -7
  147. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  148. package/dist/ts/ts/Core/Conversion.js +41 -41
  149. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  150. package/dist/ts/ts/Core/Data.js +14 -11
  151. package/dist/ts/ts/Core/DataContext.d.ts +1 -1
  152. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  153. package/dist/ts/ts/Core/DataContext.js +4 -4
  154. package/dist/ts/ts/Core/DataFile.d.ts +11 -8
  155. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  156. package/dist/ts/ts/Core/DataFile.js +55 -61
  157. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  158. package/dist/ts/ts/Core/Datamap.js +2 -3
  159. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  160. package/dist/ts/ts/Core/Helper/Collections.js +2 -4
  161. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  162. package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
  163. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  164. package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
  165. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  166. package/dist/ts/ts/Core/Helper/Regex.js +52 -53
  167. package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
  168. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  169. package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
  170. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  171. package/dist/ts/ts/Core/Helper/Url.js +1 -1
  172. package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
  173. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  174. package/dist/ts/ts/Core/Person.js +2 -2
  175. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  176. package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
  177. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  178. package/dist/ts/ts/Core/Process/Component.js +22 -22
  179. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  180. package/dist/ts/ts/Core/Process/Factor.js +7 -7
  181. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  182. package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
  183. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  184. package/dist/ts/ts/Core/Process/Material.js +2 -2
  185. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  186. package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
  187. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
  189. package/dist/ts/ts/Core/Process/Process.js +21 -21
  190. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  191. package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
  192. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  193. package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
  194. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  195. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
  196. package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
  197. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  198. package/dist/ts/ts/Core/Process/Protocol.js +9 -9
  199. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  200. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
  201. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  202. package/dist/ts/ts/Core/Publication.js +3 -3
  203. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
  204. package/dist/ts/ts/Core/ScalarValue.js +9 -13
  205. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  206. package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
  207. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
  208. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  209. package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
  210. package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
  211. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
  213. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  214. package/dist/ts/ts/Core/Templates.js +2 -2
  215. package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
  216. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  217. package/dist/ts/ts/FileSystem/Path.js +37 -19
  218. package/dist/ts/ts/Json/Assay.js +22 -22
  219. package/dist/ts/ts/Json/Comment.js +9 -9
  220. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  221. package/dist/ts/ts/Json/Data.js +11 -11
  222. package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
  223. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  224. package/dist/ts/ts/Json/Decode.js +3 -5
  225. package/dist/ts/ts/Json/Encode.js +2 -2
  226. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  227. package/dist/ts/ts/Json/Investigation.js +20 -20
  228. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  229. package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
  230. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  231. package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
  232. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  233. package/dist/ts/ts/Json/Person.js +20 -20
  234. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  235. package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
  236. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  237. package/dist/ts/ts/Json/Process/Component.js +5 -6
  238. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  239. package/dist/ts/ts/Json/Process/Factor.js +7 -7
  240. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  241. package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
  242. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  243. package/dist/ts/ts/Json/Process/Material.js +9 -10
  244. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  245. package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
  246. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  247. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
  248. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  249. package/dist/ts/ts/Json/Process/Process.js +8 -9
  250. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  251. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
  252. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  253. package/dist/ts/ts/Json/Process/Protocol.js +17 -17
  254. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  255. package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
  256. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  257. package/dist/ts/ts/Json/Process/Sample.js +9 -9
  258. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  259. package/dist/ts/ts/Json/Process/Source.js +10 -11
  260. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  261. package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
  262. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  263. package/dist/ts/ts/Json/PropertyValue.js +24 -24
  264. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  265. package/dist/ts/ts/Json/Publication.js +10 -10
  266. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
  267. package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
  268. package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
  269. package/dist/ts/ts/Json/Run.js +9 -9
  270. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  271. package/dist/ts/ts/Json/StringTable.js +4 -7
  272. package/dist/ts/ts/Json/Study.js +20 -20
  273. package/dist/ts/ts/Json/Table/CellTable.js +1 -2
  274. package/dist/ts/ts/Json/Table/OATable.js +1 -2
  275. package/dist/ts/ts/Json/Workflow.js +9 -9
  276. package/dist/ts/ts/Json.d.ts +121 -1
  277. package/dist/ts/ts/Json.d.ts.map +1 -1
  278. package/dist/ts/ts/Json.js +310 -2
  279. package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
  280. package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
  281. package/dist/ts/ts/JsonIO/Comment.js +67 -0
  282. package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
  283. package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
  284. package/dist/ts/ts/JsonIO/Data.js +49 -0
  285. package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
  286. package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
  287. package/dist/ts/ts/JsonIO/DataFile.js +48 -0
  288. package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
  289. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  290. package/dist/ts/ts/JsonIO/LDObject.js +173 -17
  291. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
  292. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
  293. package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
  294. package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
  295. package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
  296. package/dist/ts/ts/JsonIO/Publication.js +68 -0
  297. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
  298. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
  299. package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
  300. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
  301. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
  302. package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
  303. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
  304. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
  305. package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
  306. package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
  307. package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
  308. package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
  309. package/dist/ts/ts/License.d.ts.map +1 -1
  310. package/dist/ts/ts/License.js +6 -6
  311. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  312. package/dist/ts/ts/ROCrate/LDContext.js +31 -39
  313. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  314. package/dist/ts/ts/ROCrate/LDObject.js +56 -49
  315. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
  316. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
  317. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
  318. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
  319. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
  320. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  321. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
  322. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  323. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
  324. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
  325. package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
  326. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
  327. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
  328. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
  329. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
  330. package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
  331. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
  332. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  333. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
  334. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
  335. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
  336. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
  337. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
  338. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
  339. package/dist/ts/ts/ROCrateIO.d.ts +18 -4
  340. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  341. package/dist/ts/ts/ROCrateIO.js +49 -38
  342. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  343. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
  344. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  345. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
  346. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  347. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
  348. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
  349. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  350. package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
  351. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
  352. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  353. package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
  354. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  355. package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
  356. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  357. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
  358. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  359. package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
  360. package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
  361. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
  362. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
  363. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  364. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
  365. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  366. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  367. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  368. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
  369. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  370. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  371. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  372. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
  373. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  374. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
  375. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  376. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
  377. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  378. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
  379. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
  380. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  381. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
  382. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  383. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
  384. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  385. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
  386. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  387. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  388. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
  389. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  390. package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
  391. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
  392. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  393. package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
  394. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
  395. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  396. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
  397. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
  398. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  399. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
  400. package/dist/ts/ts/Xlsx.js +3 -3
  401. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
  402. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  403. package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
  404. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
  405. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  406. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
  407. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
  408. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
  409. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
  410. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
  411. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
  412. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
  413. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
  414. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
  415. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
  416. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
  417. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
  418. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
  419. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
  420. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
  421. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
  422. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
  423. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
  424. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
  425. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
  426. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
  427. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
  428. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
  429. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
  430. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
  431. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
  432. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
  433. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
  434. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
  435. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
  436. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
  437. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
  438. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
  439. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
  440. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
  441. package/package.json +5 -4
  442. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
  443. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
  444. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
  445. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
  446. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
  447. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
  448. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
  449. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
  450. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
  451. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
  452. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
  453. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
@@ -1,13 +1,22 @@
1
+ import { substring } from '../../node_modules/@fable-org/fable-library-ts/String.js';
2
+ import { CWLToolDescription, CWLToolDescription_$reflection } from './ToolDescription.js';
3
+ import { CWLWorkflowDescription, CWLWorkflowDescription_$reflection } from './WorkflowDescription.js';
4
+ import { CWLExpressionToolDescription, CWLExpressionToolDescription_$reflection } from './ExpressionToolDescription.js';
5
+ import { CWLOperationDescription, CWLOperationDescription_$reflection } from './OperationDescription.js';
6
+ import { RawYaml_$reflection } from './CWLTypes.js';
7
+ import { HintEntry } from './Requirements.js';
8
+ import { choose } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
1
9
  import { Union } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
2
- import { CWLToolDescription_$reflection, CWLToolDescription } from './ToolDescription.js';
3
- import { CWLWorkflowDescription_$reflection, CWLWorkflowDescription } from './WorkflowDescription.js';
4
- import { CWLExpressionToolDescription_$reflection, CWLExpressionToolDescription } from './ExpressionToolDescription.js';
5
- import { CWLOperationDescription_$reflection, CWLOperationDescription } from './OperationDescription.js';
6
10
  import { union_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
7
- import { HintEntry_get_tryAsRequirement } from './Requirements.js';
8
- import { choose } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
9
11
  import { WorkflowStepRun_RunCommandLineTool, WorkflowStepRun_RunWorkflow, WorkflowStepRun_RunExpressionTool, WorkflowStepRun_RunOperation } from './WorkflowSteps.js';
10
12
 
13
+ function LocalReference_withoutHash(reference) {
14
+ if (reference.startsWith("#")) {
15
+ return substring(reference, 1);
16
+ } else {
17
+ return reference;
18
+ }
19
+ }
11
20
  function CWLProcessingUnit_CommandLineTool(Item) {
12
21
  return new CWLProcessingUnit(0, [Item]);
13
22
  }
@@ -20,6 +29,9 @@ function CWLProcessingUnit_ExpressionTool(Item) {
20
29
  function CWLProcessingUnit_Operation(Item) {
21
30
  return new CWLProcessingUnit(3, [Item]);
22
31
  }
32
+ function CWLProcessingUnit_RawProcess(Item) {
33
+ return new CWLProcessingUnit(4, [Item]);
34
+ }
23
35
  class CWLProcessingUnit extends Union {
24
36
  constructor(tag, fields) {
25
37
  super();
@@ -27,132 +39,261 @@ class CWLProcessingUnit extends Union {
27
39
  this.fields = fields;
28
40
  }
29
41
  cases() {
30
- return ["CommandLineTool", "Workflow", "ExpressionTool", "Operation"];
42
+ return ["CommandLineTool", "Workflow", "ExpressionTool", "Operation", "RawProcess"];
31
43
  }
32
- }
33
- function CWLProcessingUnit_$reflection() {
34
- return union_type("ARCtrl.CWL.CWLProcessingUnit", [], CWLProcessingUnit, () => [[["Item", CWLToolDescription_$reflection()]], [["Item", CWLWorkflowDescription_$reflection()]], [["Item", CWLExpressionToolDescription_$reflection()]], [["Item", CWLOperationDescription_$reflection()]]]);
35
- }
36
- function CWLProcessingUnit_getInputs_30922B92(processingUnit) {
37
- switch (processingUnit.tag) {
38
- case /* Workflow */
39
- 1: {
40
- const workflow = processingUnit.fields[0];
41
- return CWLWorkflowDescription.getInputs(workflow);
42
- }
43
- case /* ExpressionTool */
44
- 2: {
45
- const tool_1 = processingUnit.fields[0];
46
- return CWLExpressionToolDescription.getInputsOrEmpty(tool_1);
47
- }
48
- case /* Operation */
49
- 3: {
50
- const operation = processingUnit.fields[0];
51
- return CWLOperationDescription.getInputs(operation);
52
- }
53
- default: {
54
- const tool = processingUnit.fields[0];
55
- return CWLToolDescription.getInputsOrEmpty(tool);
56
- }
44
+ static commandLineTool(value) {
45
+ return CWLProcessingUnit_CommandLineTool(value);
57
46
  }
58
- }
59
- function CWLProcessingUnit_getOutputs_30922B92(processingUnit) {
60
- switch (processingUnit.tag) {
61
- case /* Workflow */
62
- 1: {
63
- const workflow = processingUnit.fields[0];
64
- return CWLWorkflowDescription.getOutputs(workflow);
65
- }
66
- case /* ExpressionTool */
67
- 2: {
68
- const tool_1 = processingUnit.fields[0];
69
- return CWLExpressionToolDescription.getOutputs(tool_1);
70
- }
71
- case /* Operation */
72
- 3: {
73
- const operation = processingUnit.fields[0];
74
- return CWLOperationDescription.getOutputs(operation);
75
- }
76
- default: {
77
- const tool = processingUnit.fields[0];
78
- return CWLToolDescription.getOutputs(tool);
79
- }
47
+ static workflow(value) {
48
+ return CWLProcessingUnit_Workflow(value);
80
49
  }
81
- }
82
- function CWLProcessingUnit_getRequirements_30922B92(processingUnit) {
83
- switch (processingUnit.tag) {
84
- case /* Workflow */
85
- 1: {
86
- const workflow = processingUnit.fields[0];
87
- return CWLWorkflowDescription.getRequirementsOrEmpty(workflow);
88
- }
89
- case /* ExpressionTool */
90
- 2: {
91
- const tool_1 = processingUnit.fields[0];
92
- return CWLExpressionToolDescription.getRequirementsOrEmpty(tool_1);
93
- }
94
- case /* Operation */
95
- 3: {
96
- const operation = processingUnit.fields[0];
97
- return CWLOperationDescription.getRequirementsOrEmpty(operation);
98
- }
99
- default: {
100
- const tool = processingUnit.fields[0];
101
- return CWLToolDescription.getRequirementsOrEmpty(tool);
102
- }
50
+ static expressionTool(value) {
51
+ return CWLProcessingUnit_ExpressionTool(value);
103
52
  }
104
- }
105
- function CWLProcessingUnit_getHints_30922B92(processingUnit) {
106
- switch (processingUnit.tag) {
107
- case /* Workflow */
108
- 1: {
109
- const workflow = processingUnit.fields[0];
110
- return CWLWorkflowDescription.getHintsOrEmpty(workflow);
111
- }
112
- case /* ExpressionTool */
113
- 2: {
114
- const tool_1 = processingUnit.fields[0];
115
- return CWLExpressionToolDescription.getHintsOrEmpty(tool_1);
53
+ static operation(value) {
54
+ return CWLProcessingUnit_Operation(value);
55
+ }
56
+ static rawProcess(value) {
57
+ return CWLProcessingUnit_RawProcess(value);
58
+ }
59
+ /**
60
+ * Returns a new list of the inputs of the process that are objects, for every kind of process. A change of the list
61
+ * changes nothing in the process.
62
+ */
63
+ static getInputValues(processingUnit) {
64
+ switch (processingUnit.tag) {
65
+ case /* Workflow */
66
+ 1: {
67
+ const workflow = processingUnit.fields[0];
68
+ return CWLWorkflowDescription.getInputValues(workflow);
69
+ }
70
+ case /* ExpressionTool */
71
+ 2: {
72
+ const tool_1 = processingUnit.fields[0];
73
+ return CWLExpressionToolDescription.getInputValuesOrEmpty(tool_1);
74
+ }
75
+ case /* Operation */
76
+ 3: {
77
+ const operation = processingUnit.fields[0];
78
+ return CWLOperationDescription.getInputValues(operation);
79
+ }
80
+ case /* RawProcess */
81
+ 4:
82
+ return [];
83
+ default: {
84
+ const tool = processingUnit.fields[0];
85
+ return CWLToolDescription.getInputValuesOrEmpty(tool);
86
+ }
116
87
  }
117
- case /* Operation */
118
- 3: {
119
- const operation = processingUnit.fields[0];
120
- return CWLOperationDescription.getHintsOrEmpty(operation);
88
+ }
89
+ /**
90
+ * Returns a new list of the outputs of the process that are objects, for every kind of process. A change of the list
91
+ * changes nothing in the process.
92
+ */
93
+ static getOutputValues(processingUnit) {
94
+ switch (processingUnit.tag) {
95
+ case /* Workflow */
96
+ 1: {
97
+ const workflow = processingUnit.fields[0];
98
+ return CWLWorkflowDescription.getOutputValues(workflow);
99
+ }
100
+ case /* ExpressionTool */
101
+ 2: {
102
+ const tool_1 = processingUnit.fields[0];
103
+ return CWLExpressionToolDescription.getOutputValues(tool_1);
104
+ }
105
+ case /* Operation */
106
+ 3: {
107
+ const operation = processingUnit.fields[0];
108
+ return CWLOperationDescription.getOutputValues(operation);
109
+ }
110
+ case /* RawProcess */
111
+ 4:
112
+ return [];
113
+ default: {
114
+ const tool = processingUnit.fields[0];
115
+ return CWLToolDescription.getOutputValues(tool);
116
+ }
121
117
  }
122
- default: {
123
- const tool = processingUnit.fields[0];
124
- return CWLToolDescription.getHintsOrEmpty(tool);
118
+ }
119
+ /**
120
+ * Returns requirements for all CWL processing unit variants.
121
+ */
122
+ static getRequirements(processingUnit) {
123
+ switch (processingUnit.tag) {
124
+ case /* Workflow */
125
+ 1: {
126
+ const workflow = processingUnit.fields[0];
127
+ return CWLWorkflowDescription.getRequirementsOrEmpty(workflow);
128
+ }
129
+ case /* ExpressionTool */
130
+ 2: {
131
+ const tool_1 = processingUnit.fields[0];
132
+ return CWLExpressionToolDescription.getRequirementsOrEmpty(tool_1);
133
+ }
134
+ case /* Operation */
135
+ 3: {
136
+ const operation = processingUnit.fields[0];
137
+ return CWLOperationDescription.getRequirementsOrEmpty(operation);
138
+ }
139
+ case /* RawProcess */
140
+ 4:
141
+ return [];
142
+ default: {
143
+ const tool = processingUnit.fields[0];
144
+ return CWLToolDescription.getRequirementsOrEmpty(tool);
145
+ }
125
146
  }
126
147
  }
127
- }
128
- function CWLProcessingUnit_getIntent_30922B92(processingUnit) {
129
- switch (processingUnit.tag) {
130
- case /* Workflow */
131
- 1: {
132
- const workflow = processingUnit.fields[0];
133
- return CWLWorkflowDescription.getIntentOrEmpty(workflow);
148
+ /**
149
+ * Returns hints for all CWL processing unit variants.
150
+ */
151
+ static getHints(processingUnit) {
152
+ switch (processingUnit.tag) {
153
+ case /* Workflow */
154
+ 1: {
155
+ const workflow = processingUnit.fields[0];
156
+ return CWLWorkflowDescription.getHintsOrEmpty(workflow);
157
+ }
158
+ case /* ExpressionTool */
159
+ 2: {
160
+ const tool_1 = processingUnit.fields[0];
161
+ return CWLExpressionToolDescription.getHintsOrEmpty(tool_1);
162
+ }
163
+ case /* Operation */
164
+ 3: {
165
+ const operation = processingUnit.fields[0];
166
+ return CWLOperationDescription.getHintsOrEmpty(operation);
167
+ }
168
+ case /* RawProcess */
169
+ 4:
170
+ return [];
171
+ default: {
172
+ const tool = processingUnit.fields[0];
173
+ return CWLToolDescription.getHintsOrEmpty(tool);
174
+ }
134
175
  }
135
- case /* ExpressionTool */
136
- 2: {
137
- const tool_1 = processingUnit.fields[0];
138
- return CWLExpressionToolDescription.getIntentOrEmpty(tool_1);
176
+ }
177
+ /**
178
+ * Returns intent for all CWL processing unit variants.
179
+ */
180
+ static getIntent(processingUnit) {
181
+ switch (processingUnit.tag) {
182
+ case /* Workflow */
183
+ 1: {
184
+ const workflow = processingUnit.fields[0];
185
+ return CWLWorkflowDescription.getIntentOrEmpty(workflow);
186
+ }
187
+ case /* ExpressionTool */
188
+ 2: {
189
+ const tool_1 = processingUnit.fields[0];
190
+ return CWLExpressionToolDescription.getIntentOrEmpty(tool_1);
191
+ }
192
+ case /* Operation */
193
+ 3: {
194
+ const operation = processingUnit.fields[0];
195
+ return CWLOperationDescription.getIntentOrEmpty(operation);
196
+ }
197
+ case /* RawProcess */
198
+ 4:
199
+ return [];
200
+ default: {
201
+ const tool = processingUnit.fields[0];
202
+ return CWLToolDescription.getIntentOrEmpty(tool);
203
+ }
139
204
  }
140
- case /* Operation */
141
- 3: {
142
- const operation = processingUnit.fields[0];
143
- return CWLOperationDescription.getIntentOrEmpty(operation);
205
+ }
206
+ /**
207
+ * Returns known requirement hints only, dropping unknown extension hints.
208
+ */
209
+ static getKnownHints(processingUnit) {
210
+ let collection;
211
+ const source = CWLProcessingUnit.getHints(processingUnit);
212
+ collection = choose(HintEntry.tryAsRequirement, source);
213
+ return Array.from(collection);
214
+ }
215
+ /**
216
+ * True when both values wrap the same description object. Two union values around one object are the same process.
217
+ */
218
+ static isSameObject(left, right) {
219
+ let matchResult = void 0, leftTool = void 0, rightTool = void 0, leftWorkflow = void 0, rightWorkflow = void 0, leftTool_1 = void 0, rightTool_1 = void 0, leftOperation = void 0, rightOperation = void 0, leftRaw = void 0, rightRaw = void 0;
220
+ switch (left.tag) {
221
+ case /* Workflow */
222
+ 1: {
223
+ if (right.tag === /* Workflow */
224
+ 1) {
225
+ matchResult = 1;
226
+ leftWorkflow = left.fields[0];
227
+ rightWorkflow = right.fields[0];
228
+ } else {
229
+ matchResult = 5;
230
+ }
231
+ break;
232
+ }
233
+ case /* ExpressionTool */
234
+ 2: {
235
+ if (right.tag === /* ExpressionTool */
236
+ 2) {
237
+ matchResult = 2;
238
+ leftTool_1 = left.fields[0];
239
+ rightTool_1 = right.fields[0];
240
+ } else {
241
+ matchResult = 5;
242
+ }
243
+ break;
244
+ }
245
+ case /* Operation */
246
+ 3: {
247
+ if (right.tag === /* Operation */
248
+ 3) {
249
+ matchResult = 3;
250
+ leftOperation = left.fields[0];
251
+ rightOperation = right.fields[0];
252
+ } else {
253
+ matchResult = 5;
254
+ }
255
+ break;
256
+ }
257
+ case /* RawProcess */
258
+ 4: {
259
+ if (right.tag === /* RawProcess */
260
+ 4) {
261
+ matchResult = 4;
262
+ leftRaw = left.fields[0];
263
+ rightRaw = right.fields[0];
264
+ } else {
265
+ matchResult = 5;
266
+ }
267
+ break;
268
+ }
269
+ default:
270
+ if (right.tag === /* CommandLineTool */
271
+ 0) {
272
+ matchResult = 0;
273
+ leftTool = left.fields[0];
274
+ rightTool = right.fields[0];
275
+ } else {
276
+ matchResult = 5;
277
+ }
144
278
  }
145
- default: {
146
- const tool = processingUnit.fields[0];
147
- return CWLToolDescription.getIntentOrEmpty(tool);
279
+ switch (matchResult) {
280
+ case 0:
281
+ return leftTool === rightTool;
282
+ case 1:
283
+ return leftWorkflow === rightWorkflow;
284
+ case 2:
285
+ return leftTool_1 === rightTool_1;
286
+ case 3:
287
+ return leftOperation === rightOperation;
288
+ case 4:
289
+ return leftRaw === rightRaw;
290
+ default:
291
+ return false;
148
292
  }
149
293
  }
150
294
  }
151
- function CWLProcessingUnit_getKnownHints_30922B92(processingUnit) {
152
- let collection;
153
- const source = CWLProcessingUnit_getHints_30922B92(processingUnit);
154
- collection = choose(HintEntry_get_tryAsRequirement(), source);
155
- return Array.from(collection);
295
+ function CWLProcessingUnit_$reflection() {
296
+ return union_type("ARCtrl.CWL.CWLProcessingUnit", [], CWLProcessingUnit, () => [[["Item", CWLToolDescription_$reflection()]], [["Item", CWLWorkflowDescription_$reflection()]], [["Item", CWLExpressionToolDescription_$reflection()]], [["Item", CWLOperationDescription_$reflection()]], [["Item", RawYaml_$reflection()]]]);
156
297
  }
157
298
  function WorkflowStepRunOps_fromTool(tool) {
158
299
  return WorkflowStepRun_RunCommandLineTool(tool);
@@ -169,7 +310,7 @@ function WorkflowStepRunOps_fromOperation(operation) {
169
310
  function WorkflowStepRunOps_tryGetTool(run) {
170
311
  let matchResult = void 0, tool = void 0;
171
312
  if (run.tag === /* RunCommandLineTool */
172
- 1) {
313
+ 4) {
173
314
  if (run.fields[0] instanceof CWLToolDescription) {
174
315
  matchResult = 0;
175
316
  tool = run.fields[0];
@@ -189,7 +330,7 @@ function WorkflowStepRunOps_tryGetTool(run) {
189
330
  function WorkflowStepRunOps_tryGetWorkflow(run) {
190
331
  let matchResult = void 0, workflow = void 0;
191
332
  if (run.tag === /* RunWorkflow */
192
- 2) {
333
+ 5) {
193
334
  if (run.fields[0] instanceof CWLWorkflowDescription) {
194
335
  matchResult = 0;
195
336
  workflow = run.fields[0];
@@ -209,7 +350,7 @@ function WorkflowStepRunOps_tryGetWorkflow(run) {
209
350
  function WorkflowStepRunOps_tryGetExpressionTool(run) {
210
351
  let matchResult = void 0, expressionTool = void 0;
211
352
  if (run.tag === /* RunExpressionTool */
212
- 3) {
353
+ 6) {
213
354
  if (run.fields[0] instanceof CWLExpressionToolDescription) {
214
355
  matchResult = 0;
215
356
  expressionTool = run.fields[0];
@@ -229,7 +370,7 @@ function WorkflowStepRunOps_tryGetExpressionTool(run) {
229
370
  function WorkflowStepRunOps_tryGetOperation(run) {
230
371
  let matchResult = void 0, operation = void 0;
231
372
  if (run.tag === /* RunOperation */
232
- 4) {
373
+ 7) {
233
374
  if (run.fields[0] instanceof CWLOperationDescription) {
234
375
  matchResult = 0;
235
376
  operation = run.fields[0];
@@ -246,5 +387,53 @@ function WorkflowStepRunOps_tryGetOperation(run) {
246
387
  return void 0;
247
388
  }
248
389
  }
390
+ function WorkflowStepRunOps_tryGetProcessingUnit(run) {
391
+ switch (run.tag) {
392
+ case /* RunWorkflow */
393
+ 5: {
394
+ const option_3 = WorkflowStepRunOps_tryGetWorkflow(run);
395
+ if (option_3 != null) {
396
+ return CWLProcessingUnit_Workflow(option_3);
397
+ } else {
398
+ return void 0;
399
+ }
400
+ }
401
+ case /* RunExpressionTool */
402
+ 6: {
403
+ const option_5 = WorkflowStepRunOps_tryGetExpressionTool(run);
404
+ if (option_5 != null) {
405
+ return CWLProcessingUnit_ExpressionTool(option_5);
406
+ } else {
407
+ return void 0;
408
+ }
409
+ }
410
+ case /* RunOperation */
411
+ 7: {
412
+ const option_7 = WorkflowStepRunOps_tryGetOperation(run);
413
+ if (option_7 != null) {
414
+ return CWLProcessingUnit_Operation(option_7);
415
+ } else {
416
+ return void 0;
417
+ }
418
+ }
419
+ case /* RunString */
420
+ 0:
421
+ case /* RunImport */
422
+ 1:
423
+ case /* RunMixed */
424
+ 2:
425
+ case /* RunRaw */
426
+ 3:
427
+ return void 0;
428
+ default: {
429
+ const option_1 = WorkflowStepRunOps_tryGetTool(run);
430
+ if (option_1 != null) {
431
+ return CWLProcessingUnit_CommandLineTool(option_1);
432
+ } else {
433
+ return void 0;
434
+ }
435
+ }
436
+ }
437
+ }
249
438
 
250
- export { CWLProcessingUnit, CWLProcessingUnit_$reflection, CWLProcessingUnit_CommandLineTool, CWLProcessingUnit_ExpressionTool, CWLProcessingUnit_Operation, CWLProcessingUnit_Workflow, CWLProcessingUnit_getHints_30922B92, CWLProcessingUnit_getInputs_30922B92, CWLProcessingUnit_getIntent_30922B92, CWLProcessingUnit_getKnownHints_30922B92, CWLProcessingUnit_getOutputs_30922B92, CWLProcessingUnit_getRequirements_30922B92, WorkflowStepRunOps_fromExpressionTool, WorkflowStepRunOps_fromOperation, WorkflowStepRunOps_fromTool, WorkflowStepRunOps_fromWorkflow, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetTool, WorkflowStepRunOps_tryGetWorkflow };
439
+ export { CWLProcessingUnit, CWLProcessingUnit_$reflection, CWLProcessingUnit_CommandLineTool, CWLProcessingUnit_ExpressionTool, CWLProcessingUnit_Operation, CWLProcessingUnit_RawProcess, CWLProcessingUnit_Workflow, LocalReference_withoutHash, WorkflowStepRunOps_fromExpressionTool, WorkflowStepRunOps_fromOperation, WorkflowStepRunOps_fromTool, WorkflowStepRunOps_fromWorkflow, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetProcessingUnit, WorkflowStepRunOps_tryGetTool, WorkflowStepRunOps_tryGetWorkflow };