@nfdi4plants/arctrl 3.2.2 → 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 (470) hide show
  1. package/README.md +0 -64
  2. package/dist/ts/index.d.ts +44 -7
  3. package/dist/ts/index.d.ts.map +1 -1
  4. package/dist/ts/index.js +45 -8
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
  35. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
  36. package/dist/ts/ts/ARC.d.ts +22 -5
  37. package/dist/ts/ts/ARC.d.ts.map +1 -1
  38. package/dist/ts/ts/ARC.js +282 -185
  39. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
  40. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
  41. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
  42. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
  43. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  44. package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
  45. package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
  46. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  47. package/dist/ts/ts/CWL/CWLTypes.js +887 -201
  48. package/dist/ts/ts/CWL/Decode.d.ts +480 -211
  49. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  50. package/dist/ts/ts/CWL/Decode.js +3614 -2462
  51. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
  52. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  53. package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
  54. package/dist/ts/ts/CWL/Encode.d.ts +225 -85
  55. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  56. package/dist/ts/ts/CWL/Encode.js +1858 -970
  57. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
  58. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  59. package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
  60. package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
  61. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  62. package/dist/ts/ts/CWL/HashHelpers.js +255 -6
  63. package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
  64. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  65. package/dist/ts/ts/CWL/Inputs.js +107 -16
  66. package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
  67. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  68. package/dist/ts/ts/CWL/OperationDescription.js +35 -9
  69. package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
  70. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  71. package/dist/ts/ts/CWL/Outputs.js +101 -19
  72. package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
  73. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  74. package/dist/ts/ts/CWL/ParameterReference.js +18 -25
  75. package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
  76. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
  77. package/dist/ts/ts/CWL/ParameterValue.js +59 -35
  78. package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
  79. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  80. package/dist/ts/ts/CWL/Requirements.js +462 -89
  81. package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
  82. package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
  83. package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
  84. package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
  85. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  86. package/dist/ts/ts/CWL/ToolDescription.js +34 -13
  87. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
  88. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  89. package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
  90. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
  91. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  92. package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
  93. package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
  94. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  95. package/dist/ts/ts/CWLRunResolver.js +221 -86
  96. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  97. package/dist/ts/ts/Contract/ARC.js +13 -14
  98. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  99. package/dist/ts/ts/Contract/ArcAssay.js +4 -4
  100. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  101. package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
  102. package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
  103. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  104. package/dist/ts/ts/Contract/ArcRun.js +47 -20
  105. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  106. package/dist/ts/ts/Contract/ArcStudy.js +4 -4
  107. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
  108. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  109. package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
  110. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  111. package/dist/ts/ts/Contract/Datamap.js +16 -17
  112. package/dist/ts/ts/Contract/Git.js +1 -1
  113. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  114. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
  115. package/dist/ts/ts/ContractIO/ContractIO.d.ts +7 -0
  116. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  117. package/dist/ts/ts/ContractIO/ContractIO.js +95 -18
  118. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -0
  119. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
  120. package/dist/ts/ts/ContractIO/FileSystemHelper.js +12 -5
  121. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  122. package/dist/ts/ts/Conversion/Assay.js +26 -18
  123. package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
  124. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  125. package/dist/ts/ts/Conversion/Basic.js +55 -31
  126. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  127. package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
  128. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  129. package/dist/ts/ts/Conversion/DateTime.js +1 -2
  130. package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
  131. package/dist/ts/ts/Conversion/Investigation.js +15 -14
  132. package/dist/ts/ts/Conversion/Person.js +11 -11
  133. package/dist/ts/ts/Conversion/Process.d.ts +4 -2
  134. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  135. package/dist/ts/ts/Conversion/Process.js +134 -97
  136. package/dist/ts/ts/Conversion/Run.d.ts +36 -6
  137. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  138. package/dist/ts/ts/Conversion/Run.js +320 -136
  139. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  140. package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
  141. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  142. package/dist/ts/ts/Conversion/Study.js +23 -12
  143. package/dist/ts/ts/Conversion/Table.d.ts +3 -2
  144. package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
  145. package/dist/ts/ts/Conversion/Table.js +8 -8
  146. package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
  147. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  148. package/dist/ts/ts/Conversion/Workflow.js +655 -163
  149. package/dist/ts/ts/Conversion.js +6 -6
  150. package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
  151. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  152. package/dist/ts/ts/Core/ArcTypes.js +219 -129
  153. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  154. package/dist/ts/ts/Core/Comment.js +2 -2
  155. package/dist/ts/ts/Core/CommentList.js +7 -7
  156. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  157. package/dist/ts/ts/Core/Conversion.js +68 -59
  158. package/dist/ts/ts/Core/Data.d.ts +6 -0
  159. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  160. package/dist/ts/ts/Core/Data.js +32 -12
  161. package/dist/ts/ts/Core/DataContext.d.ts +1 -1
  162. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  163. package/dist/ts/ts/Core/DataContext.js +4 -4
  164. package/dist/ts/ts/Core/DataFile.d.ts +11 -8
  165. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  166. package/dist/ts/ts/Core/DataFile.js +55 -61
  167. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  168. package/dist/ts/ts/Core/Datamap.js +2 -3
  169. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  170. package/dist/ts/ts/Core/Helper/Collections.js +2 -4
  171. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  172. package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
  173. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  174. package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
  175. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  176. package/dist/ts/ts/Core/Helper/Regex.js +52 -53
  177. package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
  178. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  179. package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
  180. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  181. package/dist/ts/ts/Core/Helper/Url.js +1 -1
  182. package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
  183. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  184. package/dist/ts/ts/Core/Person.js +2 -2
  185. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  186. package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
  187. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/Process/Component.js +22 -22
  189. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  190. package/dist/ts/ts/Core/Process/Factor.js +7 -7
  191. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  192. package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
  193. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  194. package/dist/ts/ts/Core/Process/Material.js +2 -2
  195. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  196. package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
  197. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  198. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
  199. package/dist/ts/ts/Core/Process/Process.js +21 -21
  200. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  201. package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
  202. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  203. package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
  204. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  205. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
  206. package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
  207. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  208. package/dist/ts/ts/Core/Process/Protocol.js +9 -9
  209. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  210. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
  211. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Publication.js +3 -3
  213. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
  214. package/dist/ts/ts/Core/ScalarValue.js +9 -13
  215. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  216. package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
  217. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
  218. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  219. package/dist/ts/ts/Core/Table/ArcTableAux.js +59 -70
  220. package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
  221. package/dist/ts/ts/Core/Table/CompositeCell.d.ts +4 -0
  222. package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
  223. package/dist/ts/ts/Core/Table/CompositeCell.js +39 -2
  224. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  225. package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
  226. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  227. package/dist/ts/ts/Core/Templates.js +2 -2
  228. package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
  229. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  230. package/dist/ts/ts/FileSystem/Path.js +37 -19
  231. package/dist/ts/ts/Json/Assay.js +22 -22
  232. package/dist/ts/ts/Json/Comment.js +9 -9
  233. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  234. package/dist/ts/ts/Json/Data.js +11 -11
  235. package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
  236. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  237. package/dist/ts/ts/Json/Decode.js +3 -5
  238. package/dist/ts/ts/Json/Encode.js +2 -2
  239. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  240. package/dist/ts/ts/Json/Investigation.js +20 -20
  241. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  242. package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
  243. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  244. package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
  245. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  246. package/dist/ts/ts/Json/Person.js +20 -20
  247. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  248. package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
  249. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  250. package/dist/ts/ts/Json/Process/Component.js +5 -6
  251. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  252. package/dist/ts/ts/Json/Process/Factor.js +7 -7
  253. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  254. package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
  255. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  256. package/dist/ts/ts/Json/Process/Material.js +9 -10
  257. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  258. package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
  259. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  260. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
  261. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  262. package/dist/ts/ts/Json/Process/Process.js +8 -9
  263. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  264. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
  265. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  266. package/dist/ts/ts/Json/Process/Protocol.js +17 -17
  267. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  268. package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
  269. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  270. package/dist/ts/ts/Json/Process/Sample.js +9 -9
  271. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  272. package/dist/ts/ts/Json/Process/Source.js +10 -11
  273. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  274. package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
  275. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  276. package/dist/ts/ts/Json/PropertyValue.js +24 -24
  277. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  278. package/dist/ts/ts/Json/Publication.js +10 -10
  279. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
  280. package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
  281. package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
  282. package/dist/ts/ts/Json/Run.js +9 -9
  283. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  284. package/dist/ts/ts/Json/StringTable.js +4 -7
  285. package/dist/ts/ts/Json/Study.js +20 -20
  286. package/dist/ts/ts/Json/Table/CellTable.js +1 -2
  287. package/dist/ts/ts/Json/Table/OATable.js +1 -2
  288. package/dist/ts/ts/Json/Workflow.js +9 -9
  289. package/dist/ts/ts/Json.d.ts +121 -1
  290. package/dist/ts/ts/Json.d.ts.map +1 -1
  291. package/dist/ts/ts/Json.js +310 -2
  292. package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
  293. package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
  294. package/dist/ts/ts/JsonIO/Comment.js +67 -0
  295. package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
  296. package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
  297. package/dist/ts/ts/JsonIO/Data.js +49 -0
  298. package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
  299. package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
  300. package/dist/ts/ts/JsonIO/DataFile.js +48 -0
  301. package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
  302. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  303. package/dist/ts/ts/JsonIO/LDObject.js +173 -17
  304. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
  305. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
  306. package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
  307. package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
  308. package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
  309. package/dist/ts/ts/JsonIO/Publication.js +68 -0
  310. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
  311. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
  312. package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
  313. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
  314. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
  315. package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
  316. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
  317. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
  318. package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
  319. package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
  320. package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
  321. package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
  322. package/dist/ts/ts/License.d.ts.map +1 -1
  323. package/dist/ts/ts/License.js +6 -6
  324. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  325. package/dist/ts/ts/ROCrate/LDContext.js +31 -39
  326. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  327. package/dist/ts/ts/ROCrate/LDObject.js +56 -49
  328. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
  329. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
  330. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
  331. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
  332. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
  333. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  334. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
  335. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  336. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
  337. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
  338. package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
  339. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
  340. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
  341. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
  342. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
  343. package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
  344. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
  345. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  346. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
  347. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
  348. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
  349. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
  350. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
  351. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
  352. package/dist/ts/ts/ROCrateIO.d.ts +18 -4
  353. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  354. package/dist/ts/ts/ROCrateIO.js +49 -38
  355. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  356. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
  357. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  358. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
  359. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  360. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
  361. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
  362. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  363. package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
  364. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
  365. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +10 -12
  366. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  367. package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
  368. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  369. package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
  370. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  371. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
  372. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  373. package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
  374. package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
  375. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
  376. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
  377. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  378. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
  379. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  380. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +8 -10
  381. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +8 -0
  382. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  383. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +18 -7
  384. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  385. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +4 -6
  386. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  387. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -8
  388. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  389. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +5 -7
  390. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
  391. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +2 -4
  392. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  393. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +7 -9
  394. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  395. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +6 -8
  396. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
  397. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  398. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +9 -11
  399. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  400. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
  401. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  402. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -12
  403. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  404. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +7 -9
  405. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
  406. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  407. package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
  408. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
  409. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  410. package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
  411. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
  412. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  413. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
  414. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
  415. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  416. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
  417. package/dist/ts/ts/Xlsx.js +3 -3
  418. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
  419. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  420. package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
  421. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
  422. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  423. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
  424. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
  425. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
  426. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
  427. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
  428. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
  429. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
  430. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
  431. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
  432. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
  433. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
  434. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
  435. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
  436. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
  437. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
  438. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
  439. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
  440. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
  441. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
  442. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
  443. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
  444. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
  445. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
  446. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
  447. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
  448. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
  449. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
  450. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
  451. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
  452. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
  453. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
  454. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
  455. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
  456. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
  457. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
  458. package/package.json +5 -4
  459. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
  460. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
  461. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
  462. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
  463. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
  464. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
  465. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
  466. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
  467. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
  468. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
  469. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
  470. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
@@ -1,19 +1,20 @@
1
- import { IMap, Exception, IComparable, IEquatable } from '@fable-org/fable-library-ts/Util.ts';
2
- import { Record } from '@fable-org/fable-library-ts/Types.ts';
1
+ import { IComparable, IEquatable } from '@fable-org/fable-library-ts/Util.ts';
2
+ import { Union, Record } from '@fable-org/fable-library-ts/Types.ts';
3
3
  import { Option } from '@fable-org/fable-library-ts/Option.ts';
4
4
  import { TypeInfo } from '@fable-org/fable-library-ts/Reflection.ts';
5
- import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js';
6
- import { int32 } from '@fable-org/fable-library-ts/Int32.ts';
5
+ import { MappingEntry, YamlNode } from '../fable_modules/YAMLicious.2.0.0/Model.fs.js';
6
+ import { Decode_IGetters } from '../fable_modules/YAMLicious.2.0.0/Decode.fs.js';
7
7
  import { FSharpList } from '@fable-org/fable-library-ts/List.ts';
8
- import { IGetters } from '../fable_modules/YAMLicious.1.0.0/Decode.fs.js';
8
+ import { float64, int32 } from '@fable-org/fable-library-ts/Int32.ts';
9
+ import { FSharpChoice$6_$union } from '@fable-org/fable-library-ts/Choice.ts';
9
10
  import { int64 } from '@fable-org/fable-library-ts/BigInt.ts';
10
11
  import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
11
- import { HintEntry_$union, InlineJavascriptRequirementValue, ToolTimeLimitValue_$union, InplaceUpdateRequirementValue, Requirement_$union, ResourceRequirementInstance, LoadListingRequirementValue, EnvironmentDef, DockerRequirement, InitialWorkDirEntry_$union, LoadListingEnum_$union } from './Requirements.ts';
12
- import { SchemaDefRequirementType, SoftwarePackage, InputEnumSchema, InputRecordSchema, InputRecordField, InputArraySchema, CWLType_$union, SchemaSaladString_$union, DirectoryInstance, FileInstance } from './CWLTypes.ts';
13
- import { CWLOutput, OutputBinding } from './Outputs.ts';
14
- import { CWLInput, InputBinding } from './Inputs.ts';
15
- import { WorkflowStep, WorkflowStepRun_$union, StepOutput_$union, StepInput, ScatterMethod_$union, PickValueMethod_$union, LinkMergeMethod_$union } from './WorkflowSteps.ts';
12
+ import { SchemaDefinition_$union, SoftwarePackage, InputEnumSchema, InputRecordSchema, InputRecordField, InputArraySchema, CWLType_$union, DirentInstance, SourceNodes, DocText_$union, ListEntry$1_$union, DirectoryInstance, FileInstance, FileSize_$union, SchemaSaladBool_$union, SchemaSaladString_$union, RawYaml } from './CWLTypes.ts';
13
+ import { HintEntry_$union, InlineJavascriptRequirementValue, ToolTimeLimitValue_$union, InplaceUpdateRequirementValue, SchemaDefEntry_$union, ResourceRequirementInstance, LoadListingRequirementValue, Requirement_$union, EnvironmentDef, DockerRequirement, InitialWorkDirEntry_$union, LoadListingEnum_$union } from './Requirements.ts';
14
+ import { CWLOutput, OutputSource_$union, OutputBinding, OutputGlob_$union } from './Outputs.ts';
16
15
  import { CWLProcessingUnit_$union } from './CWLProcessingUnit.ts';
16
+ import { CWLInput, InputFormat_$union, InputBinding, BindingPosition_$union } from './Inputs.ts';
17
+ import { WorkflowStep, WorkflowStepRun_$union, StepOutput_$union, StepInput, ScatterMethod_$union, PickValueMethod_$union, LinkMergeMethod_$union } from './WorkflowSteps.ts';
17
18
  import { CWLWorkflowDescription } from './WorkflowDescription.ts';
18
19
  import { CWLExpressionToolDescription } from './ExpressionToolDescription.ts';
19
20
  import { CWLOperationDescription } from './OperationDescription.ts';
@@ -37,378 +38,638 @@ export declare function Decode_DecodeResult$1_$reflection(gen0: TypeInfo): TypeI
37
38
  /**
38
39
  * Add a recoverable decode warning only when the caller requested warning collection.
39
40
  */
40
- export declare function Decode_addWarning(warnings: Option<Decode_DecodeWarning[]>, path: string, message: string, raw: Option<YAMLElement_$union>): void;
41
+ export declare function Decode_addWarning(warnings: Option<Decode_DecodeWarning[]>, path: string, message: string, raw: Option<YamlNode>): void;
42
+ export declare function Decode_failAlias<T>(name: string, node: YamlNode): T;
41
43
  /**
42
- * Strip parser-level comment nodes and sequence placeholders before CWL semantic decoding.
44
+ * The type that the YAML 1.2 core schema gives a scalar node. This is the rule behind the quoting of
45
+ * Encode.string, so a decoder has to read the plain spellings the same way. Quoted and block scalars
46
+ * are text, and an explicit tag fixes the type. A node that is no scalar counts as text. The core schema sets no
47
+ * size limit for an int, so an int beyond 64 bits is a case of its own that holds the text of the scalar, and the
48
+ * field that takes it converts it (CoreSchema.integerToFloat).
43
49
  */
44
- export declare function Decode_removeYamlComments(yamlElement: YAMLElement_$union): YAMLElement_$union;
50
+ export declare function Decode_$007CCoreNull$007CCoreBool$007CCoreInt$007CCoreBigInt$007CCoreFloat$007CCoreText$007C(node: YamlNode): FSharpChoice$6_$union<void, boolean, int64, string, float64, void>;
45
51
  /**
46
- * Determines if an exception represents a recoverable decoding error.
47
- * Returns true for schema mismatches; false for system errors that should propagate.
52
+ * Fail with the first anchor, alias, explicit tag, repeated scalar key and $namespaces field that holds no mapping in the
53
+ * tree. Schema Salad v1.2 prohibits the first three (see prohibitedMessage). Every anchor counts, also one that no alias
54
+ * names, and so does every explicit tag, also the non-specific tag !. Raw values keep their entries as they were written,
55
+ * so a repeated key would be written back twice, and YAML 1.2 asks for unique keys. Two keys repeat each other when the
56
+ * loader of cwltool takes them for one key (see keyIdentity). cwltool refuses a $namespaces that is
57
+ * no mapping in any object of a document, and in a job file too. A mapping with a $mixin and everything below it is exempt
58
+ * from the $namespaces check. Schema Salad merges the fields beside a $mixin into the data of the file only when that
59
+ * data is a mapping, so the fields drop out when the file holds a scalar or a list, and the verdict depends on the file.
60
+ * The other checks apply there. The walk keeps its own stack, so a raw value of any depth is safe. It checks the keys and
61
+ * the values of a mapping and the items of a sequence.
48
62
  */
49
- export declare function Decode_isRecoverableDecodingError(ex: Exception): boolean;
63
+ export declare function Decode_rejectWhatTheSpecProhibits(root: YamlNode): void;
50
64
  /**
51
- * Read YAML and normalize comment nodes that CWL decoders intentionally ignore.
65
+ * Read the root node of a CWL document. The text must hold one document that follows the restrictions of Schema Salad: no
66
+ * %YAML or %TAG directive, no explicit tag, no anchor, no alias and no repeated key (see rejectWhatTheSpecProhibits). A
67
+ * merge key is no YAML 1.2 feature, so << is an ordinary key. Every text entry point reads through this function, also the
68
+ * one of the job files and of the additional type of an RO-Crate. A decoder that takes a tree has its own entry point, which
69
+ * applies rejectWhatTheSpecProhibits to the tree. An alias without an anchor fails in the reader before a tree exists, so
70
+ * its error stands at the root of the document.
52
71
  */
53
- export declare function Decode_readSanitizedYaml(yaml: string): YAMLElement_$union;
72
+ export declare function Decode_readYaml(yaml: string): YamlNode;
54
73
  /**
55
74
  * Box int64 values in a way that preserves 64-bit numeric intent across Fable targets.
56
75
  */
57
76
  export declare function Decode_boxOverflowInt64(value: int64): any;
77
+ /**
78
+ * The entries of a mapping in source order, with keys of any type. Decode.object takes strings as keys only. A caller
79
+ * reads a key with idMapKey, which names the type of a key that is no string in the CWL message, or with entryName,
80
+ * which takes the text of any scalar. Decode.entries returns every entry as written, and a public decoder may get a
81
+ * tree that did not pass rejectWhatTheSpecProhibits, so the function checks the keys of this mapping with the same
82
+ * rule and fails with the same error. A caller that loops over the entries inside an array comprehension binds the
83
+ * result first. When the source of a comprehension fails, Python raises a TypeError of its runtime that hides
84
+ * the decode error.
85
+ */
86
+ export declare function Decode_mappingEntries(node: YamlNode): FSharpList<MappingEntry>;
87
+ /**
88
+ * The text of the key of an entry as it is written, also for a key that the core schema reads as a number, a bool or
89
+ * null.
90
+ */
91
+ export declare function Decode_entryName(entry: MappingEntry): string;
92
+ /**
93
+ * Run a decoder for the value of a map entry and put the name of the entry in the path of its error.
94
+ */
95
+ export declare function Decode_atField<T>(name: string, decode: (() => T)): T;
96
+ /**
97
+ * The text of a CWL string field. CWL types these fields as strings, so a plain scalar that the core schema reads
98
+ * as null, a bool, an int or a float is a decode error at the field, as cwltool reports it. Every other scalar is
99
+ * a string, for example a quoted one or one tagged !!str. A collection and an alias are errors too. Decode.string
100
+ * accepts the same nodes and fails at the same place, and this decoder gives the CWL message with the advice to
101
+ * quote the value.
102
+ */
103
+ export declare function Decode_stringDecoder(node: YamlNode): string;
104
+ /**
105
+ * The text of a type. CWL types a type name as a string, so a plain null (null, Null, NULL or ~), like a plain bool or
106
+ * number, is a decode error at the node, and the null type is the quoted text "null". A missing value fails with the
107
+ * message for a missing value.
108
+ */
109
+ export declare function Decode_typeText(node: YamlNode): string;
110
+ /**
111
+ * The id that the key of an entry gives its value in an id map, such as inputs, outputs, steps and requirements in map
112
+ * form. CWL types the id as a string, so a plain key that the core schema reads as null, a bool, an int or a float
113
+ * is a decode error at the key.
114
+ */
115
+ export declare function Decode_idMapKey(entry: MappingEntry): string;
58
116
  /**
59
117
  * Decode key value pairs into a dynamic object, while preserving their tree structure.
60
118
  */
61
- export declare function Decode_overflowDecoder(dynObj: DynamicObj, dict: IMap<string, YAMLElement_$union>): DynamicObj;
119
+ export declare function Decode_overflowDecoder(dynObj: DynamicObj, entries: FSharpList<MappingEntry>): DynamicObj;
120
+ /**
121
+ * Decode an optional field of a node that may be a scalar shorthand. A node that is no mapping has no
122
+ * fields, and a field with a null value counts as missing.
123
+ */
124
+ export declare function Decode_tryGetPresentField<T>(fieldName: string, decoder: ((arg0: YamlNode) => T), node: YamlNode): Option<T>;
125
+ export declare function Decode_tryGetStringField(fieldName: string, value: YamlNode): Option<string>;
126
+ export declare function Decode_tryGetYamlField(fieldName: string, value: YamlNode): Option<RawYaml>;
127
+ /**
128
+ * Preserve unknown object fields on DynamicObj-backed CWL objects.
129
+ */
130
+ export declare function Decode_overflowIntoDynamicObj(dynObj: DynamicObj, knownFields: FSharpList<string>, value: YamlNode): DynamicObj;
131
+ /**
132
+ * Read a directive at a place that takes a string. The directive stays a case of SchemaSaladString, so the encoder
133
+ * writes the mapping again. A $mixin beside other fields stays as it was written, because the file decides whether
134
+ * the fields count. A mapping with a directive key that is no directive is an error, and a node without a
135
+ * directive key is none.
136
+ */
137
+ export declare function Decode_tryDirective(node: YamlNode): Option<SchemaSaladString_$union>;
62
138
  /**
63
- * Treat comment artifacts and empty placeholder objects as non-semantic collection items.
139
+ * Read a directive at a place that takes the whole of a list. Only $import can stand there, because an $include
140
+ * yields the text of a file and a $mixin completes an object with the fields beside it. The result is the path of
141
+ * the imported file, and none for a node without a directive key. The text names what the place takes, as in the
142
+ * types field.
64
143
  */
65
- export declare function Decode_isIgnorableYamlNoise(value: YAMLElement_$union): boolean;
144
+ export declare function Decode_importOnly(what: string, node: YamlNode): Option<string>;
145
+ export type Decode_ValueDirective_$union = Decode_ValueDirective<0> | Decode_ValueDirective<1>;
146
+ export type Decode_ValueDirective_$cases = {
147
+ 0: ["ImportedFile", [string]];
148
+ 1: ["MixedMapping", [RawYaml]];
149
+ };
150
+ export declare function Decode_ValueDirective_ImportedFile(Item: string): Decode_ValueDirective<0>;
151
+ export declare function Decode_ValueDirective_MixedMapping(Item: RawYaml): Decode_ValueDirective<1>;
66
152
  /**
67
- * Decode an optional field only if the field is physically present, avoiding fallback
68
- * behavior that can blur absent fields with malformed field values.
153
+ * What a mapping with a directive stands for at a place that takes an object or a scalar that is no string.
69
154
  */
70
- export declare function Decode_tryGetPresentField<T>(fieldName: string, decoder: ((arg0: YAMLElement_$union) => T), value: YAMLElement_$union): Option<T>;
71
- export declare function Decode_tryGetStringField(fieldName: string, value: YAMLElement_$union): Option<string>;
72
- export declare function Decode_tryGetBoolField(fieldName: string, value: YAMLElement_$union): Option<boolean>;
73
- export declare function Decode_tryGetYamlField(fieldName: string, value: YAMLElement_$union): Option<YAMLElement_$union>;
74
- export declare function Decode_tryGetIntArrayField(fieldName: string, value: YAMLElement_$union): Option<int32[]>;
155
+ export declare class Decode_ValueDirective<Tag extends keyof Decode_ValueDirective_$cases> extends Union<Tag, Decode_ValueDirective_$cases[Tag][0]> {
156
+ constructor(tag: Tag, fields: Decode_ValueDirective_$cases[Tag][1]);
157
+ readonly tag: Tag;
158
+ readonly fields: Decode_ValueDirective_$cases[Tag][1];
159
+ cases(): string[];
160
+ }
161
+ export declare function Decode_ValueDirective_$reflection(): TypeInfo;
162
+ /**
163
+ * Read a directive at a place that takes an object, as in an entry of the types field.
164
+ */
165
+ export declare function Decode_objectDirective(what: string, node: YamlNode): Option<Decode_ValueDirective_$union>;
75
166
  /**
76
- * Decode int64 fields explicitly so resource and File sizes do not narrow to int.
167
+ * Decode a boolean field. A directive stands for the boolean of a file. The text names what the place is, as in the
168
+ * loadContents field.
77
169
  */
78
- export declare function Decode_tryGetInt64Field(fieldName: string, value: YAMLElement_$union): Option<int64>;
170
+ export declare function Decode_schemaSaladBoolDecoder(what: string, node: YamlNode): SchemaSaladBool_$union;
171
+ /**
172
+ * Decode the boolean field of a node that may be a scalar shorthand. A node that is no mapping has no fields, and a
173
+ * field with a null value counts as missing.
174
+ */
175
+ export declare function Decode_tryGetBoolField(fieldName: string, value: YamlNode): Option<SchemaSaladBool_$union>;
176
+ /**
177
+ * Decode the size of a File through the core schema, so that the size does not narrow to int and a quoted size
178
+ * fails like the other typed fields. A directive stands for the size of a file.
179
+ */
180
+ export declare function Decode_fileSizeDecoder(node: YamlNode): FileSize_$union;
181
+ export declare const Decode_loadListingDecoder: (node_1: YamlNode) => LoadListingEnum_$union;
79
182
  /**
80
183
  * Decode and validate CWL loadListing enum fields from their YAML string form.
81
184
  */
82
- export declare function Decode_tryGetLoadListingField(fieldName: string, value: YAMLElement_$union): Option<LoadListingEnum_$union>;
185
+ export declare function Decode_tryGetLoadListingField(fieldName: string, value: YamlNode): Option<LoadListingEnum_$union>;
83
186
  /**
84
- * Preserve unknown object fields on DynamicObj-backed CWL objects.
187
+ * Decode a string field that may hold a Schema Salad directive. A scalar is the literal text. A mapping with a
188
+ * directive as its only field names the file whose text or data takes the place of the mapping.
85
189
  */
86
- export declare function Decode_overflowIntoDynamicObj(dynObj: DynamicObj, knownFields: FSharpList<string>, value: YAMLElement_$union): DynamicObj;
190
+ export declare function Decode_decodeSchemaSaladString(node: YamlNode): SchemaSaladString_$union;
87
191
  /**
88
192
  * Decode File object fields while preserving unrecognized extension metadata.
89
193
  */
90
- export declare function Decode_decodeFileInstanceFields(element: YAMLElement_$union): FileInstance;
194
+ export declare function Decode_decodeFileInstanceFields(element: YamlNode): FileInstance;
91
195
  /**
92
196
  * Decode Directory object fields while preserving unrecognized extension metadata.
93
197
  */
94
- export declare function Decode_decodeDirectoryInstanceFields(element: YAMLElement_$union): DirectoryInstance;
198
+ export declare function Decode_decodeDirectoryInstanceFields(element: YamlNode): DirectoryInstance;
199
+ /**
200
+ * Decode a list of schema-salad strings.
201
+ */
202
+ export declare function Decode_decodeSchemaSaladStringArray(value: YamlNode): SchemaSaladString_$union[];
203
+ /**
204
+ * Decode a field that holds a list of strings and nothing else. A directive on its own stands for the whole list when
205
+ * it is an $import or a $mixin, and it is the one entry of the result.
206
+ */
207
+ export declare function Decode_decodeSchemaSaladStringList(what: string, node: YamlNode): SchemaSaladString_$union[];
208
+ /**
209
+ * Decode a field that holds a list of numbers. A directive on its own stands for the whole list when it is an $import
210
+ * or a $mixin, and it is the one entry of the result.
211
+ */
212
+ export declare function Decode_intListDecoder(what: string, node: YamlNode): ListEntry$1_$union<int32>[];
213
+ export declare function Decode_tryGetIntListField(fieldName: string, value: YamlNode): Option<ListEntry$1_$union<int32>[]>;
214
+ /**
215
+ * Decode a field that holds a string or a list of strings, such as the scatter. A string is one entry. A directive on
216
+ * its own stands for the string or the list of strings of a file, so it is one entry whichever directive it is.
217
+ */
218
+ export declare function Decode_stringsOrOneDecoder(node: YamlNode): SchemaSaladString_$union[];
219
+ /**
220
+ * Decode the doc and the label of a mapping, each with the node that it was read from. The values go to the Doc and
221
+ * Label properties of an object, and the nodes go to its SourceNodes, so that the encoder can write the layout of
222
+ * the author again. A field with a null value counts as missing, as it does for the other fields. A doc and a label
223
+ * are strings in CWL, so a plain scalar that the core schema reads as a number or a bool is a decode error at the
224
+ * field. Every other scalar is a string, for example a quoted one or one tagged !!str, and a directive names a file
225
+ * with the text. A doc may also be a list of strings, which Schema Salad concatenates without a separator. A list of
226
+ * plain strings is one text, and a list with a directive keeps its parts, because the model does not hold the text
227
+ * of the file. The node of a doc may be the sequence.
228
+ */
229
+ export declare function Decode_docAndLabelDecoder(value: YamlNode): [Option<DocText_$union>, Option<SchemaSaladString_$union>, SourceNodes];
230
+ /**
231
+ * Decode the glob of an output binding: one pattern or a list of patterns, kept as it was written.
232
+ */
233
+ export declare function Decode_outputGlobDecoder(node: YamlNode): OutputGlob_$union;
234
+ /**
235
+ * Decode a YamlNode into the fields of an output binding. The argument decodes the outputEval.
236
+ */
237
+ export declare function Decode_outputBindingGlobDecoder(outputEvalDecoder: ((arg0: YamlNode) => SchemaSaladString_$union), value: YamlNode): OutputBinding;
238
+ /**
239
+ * Decode a YamlNode into an OutputBinding, or the directive that stands for it. A port in scalar shorthand has none.
240
+ */
241
+ export declare function Decode_outputBindingDecoder(outputEvalDecoder: ((arg0: YamlNode) => SchemaSaladString_$union)): ((arg0: YamlNode) => Option<ListEntry$1_$union<OutputBinding>>);
95
242
  /**
96
- * Decode scalar schema-salad string fields.
97
- * Recognized directive wrappers are `$include` and `$import`.
98
- * Unknown single-key mappings are intentionally coerced to a legacy literal `key: value` string.
243
+ * Decode a list of strings. A single string stands for a list of one.
99
244
  */
100
- export declare function Decode_decodeSchemaSaladString(yEle: YAMLElement_$union): SchemaSaladString_$union;
245
+ export declare function Decode_decodeStringArrayOrScalar(value: YamlNode): string[];
101
246
  /**
102
- * Decode a YAMLElement which is either a string or expression into a string.
103
- * Directive objects such as {$include: path} are represented using legacy string form.
247
+ * Decode a source or an outputSource. A string is a single source and a list is a list of sources, also a list of
248
+ * one, because cwltool keeps the two apart when a linkMerge applies. A directive on its own is a single source.
104
249
  */
105
- export declare function Decode_decodeStringOrExpression(yEle: YAMLElement_$union): string;
250
+ export declare function Decode_sourceDecoder(node: YamlNode): OutputSource_$union;
251
+ export declare const Decode_outputSourceDecoder: (node: YamlNode) => Option<OutputSource_$union>;
106
252
  /**
107
- * Decode a YAMLElement into a glob search pattern for output binding
253
+ * Decode a YamlNode into a Dirent
108
254
  */
109
- export declare function Decode_outputBindingGlobDecoder(value: YAMLElement_$union): OutputBinding;
110
- export declare const Decode_outputBindingDecoder: (value_1: YAMLElement_$union) => Option<OutputBinding>;
255
+ export declare function Decode_direntDecoder(value: YamlNode): DirentInstance;
111
256
  /**
112
- * Decode schema-salad string-or-array fields into a uniform ResizeArray.
257
+ * Decode a listing entry of InitialWorkDirRequirement. CWL admits null, a Dirent, an expression, a File, a
258
+ * Directory and an array of Files and Directories. A text is an expression, so it holds $( or ${.
113
259
  */
114
- export declare function Decode_decodeStringArrayOrScalar(value: YAMLElement_$union): string[];
115
- export declare const Decode_outputSourceDecoder: (value_1: YAMLElement_$union) => Option<string[]>;
260
+ export declare function Decode_initialWorkDirEntryDecoder(value: YamlNode): InitialWorkDirEntry_$union;
261
+ export type Decode_StreamTypes_$union = Decode_StreamTypes<0> | Decode_StreamTypes<1> | Decode_StreamTypes<2> | Decode_StreamTypes<3>;
262
+ export type Decode_StreamTypes_$cases = {
263
+ 0: ["NoStreams", []];
264
+ 1: ["OutputStreams", []];
265
+ 2: ["InputStreams", []];
266
+ 3: ["AnyStreams", []];
267
+ };
268
+ export declare function Decode_StreamTypes_NoStreams(): any;
269
+ export declare function Decode_StreamTypes_OutputStreams(): any;
270
+ export declare function Decode_StreamTypes_InputStreams(): any;
271
+ export declare function Decode_StreamTypes_AnyStreams(): any;
116
272
  /**
117
- * Decode a YAMLElement into a Dirent
273
+ * Where a type may be one of the stream types stdout, stderr and stdin.
118
274
  */
119
- export declare function Decode_direntDecoder(value: YAMLElement_$union): CWLType_$union;
275
+ export declare class Decode_StreamTypes<Tag extends keyof Decode_StreamTypes_$cases> extends Union<Tag, Decode_StreamTypes_$cases[Tag][0]> {
276
+ constructor(tag: Tag, fields: Decode_StreamTypes_$cases[Tag][1]);
277
+ readonly tag: Tag;
278
+ readonly fields: Decode_StreamTypes_$cases[Tag][1];
279
+ cases(): string[];
280
+ static readonly NoStreams: any;
281
+ static readonly OutputStreams: any;
282
+ static readonly InputStreams: any;
283
+ static readonly AnyStreams: any;
284
+ }
285
+ export declare function Decode_StreamTypes_$reflection(): TypeInfo;
286
+ export type Decode_ProcessClass_$union = Decode_ProcessClass<0> | Decode_ProcessClass<1> | Decode_ProcessClass<2> | Decode_ProcessClass<3>;
287
+ export type Decode_ProcessClass_$cases = {
288
+ 0: ["CommandLineToolClass", []];
289
+ 1: ["WorkflowClass", []];
290
+ 2: ["ExpressionToolClass", []];
291
+ 3: ["OperationClass", []];
292
+ };
293
+ export declare function Decode_ProcessClass_CommandLineToolClass(): any;
294
+ export declare function Decode_ProcessClass_WorkflowClass(): any;
295
+ export declare function Decode_ProcessClass_ExpressionToolClass(): any;
296
+ export declare function Decode_ProcessClass_OperationClass(): any;
297
+ /**
298
+ * The class of a process. CWL gives the ports of each class their own fields.
299
+ */
300
+ export declare class Decode_ProcessClass<Tag extends keyof Decode_ProcessClass_$cases> extends Union<Tag, Decode_ProcessClass_$cases[Tag][0]> {
301
+ constructor(tag: Tag, fields: Decode_ProcessClass_$cases[Tag][1]);
302
+ readonly tag: Tag;
303
+ readonly fields: Decode_ProcessClass_$cases[Tag][1];
304
+ cases(): string[];
305
+ static readonly CommandLineToolClass: any;
306
+ static readonly WorkflowClass: any;
307
+ static readonly ExpressionToolClass: any;
308
+ static readonly OperationClass: any;
309
+ }
310
+ export declare function Decode_ProcessClass_$reflection(): TypeInfo;
120
311
  /**
121
- * Decode a listing entry of InitialWorkDirRequirement.
122
- * Supports both Dirent object form and string/expression form.
312
+ * What the decoders of types, ports and steps know about the place that they read.
123
313
  */
124
- export declare function Decode_initialWorkDirEntryDecoder(value: YAMLElement_$union): InitialWorkDirEntry_$union;
314
+ export declare class Decode_DecodeScope extends Record implements IEquatable<Decode_DecodeScope>, IComparable<Decode_DecodeScope> {
315
+ readonly Shorthand: boolean;
316
+ readonly Process: Option<Decode_ProcessClass_$union>;
317
+ readonly StreamTypes: Decode_StreamTypes_$union;
318
+ readonly DocId: string;
319
+ readonly DefaultCwlVersion: Option<string>;
320
+ constructor(Shorthand: boolean, Process: Option<Decode_ProcessClass_$union>, StreamTypes: Decode_StreamTypes_$union, DocId: string, DefaultCwlVersion: Option<string>);
321
+ }
322
+ export declare function Decode_DecodeScope_$reflection(): TypeInfo;
323
+ export declare const Decode_rootScope: Decode_DecodeScope;
125
324
  /**
126
- * Decode the contained type of a CWL Array
325
+ * The scope of a document, with the id of its root process.
127
326
  */
128
- export declare function Decode_cwlSimpleTypeFromString(s: string): CWLType_$union;
327
+ export declare function Decode_documentScope(root: YamlNode): Decode_DecodeScope;
129
328
  /**
130
- * Recursively parse array shorthand notation (File[][], string[][][], etc.)
329
+ * The type that a type name spells. The node is the scalar that holds the name. A well-formed name that is no
330
+ * builtin type is a Reference as written. The decoder reads no other file, so it leaves the name to the
331
+ * SchemaDefRequirements and imports that define it. A name that is not well-formed is a decode error at its place.
332
+ * The stream types are no name here. A port admits them as its whole type, which
333
+ * the readers of a port type check before they read a name.
131
334
  */
132
- export declare function Decode_parseArrayShorthand(typeStr: string): Option<CWLType_$union>;
335
+ export declare function Decode_cwlSimpleTypeFromString(scope: Decode_DecodeScope, node: YamlNode, name: string): CWLType_$union;
133
336
  /**
134
- * Decode an InputArraySchema from a YAMLElement
337
+ * Read a type name with the shorthand of a CWL document. T[] is an array of T and T? is null or T, so T[]? is an
338
+ * optional array. A document reads one [] only, because CWL reads a nested array as a schema. The scope tells
339
+ * whether the place of the node reads the shorthand, which a type under items does not.
135
340
  */
136
- export declare function Decode_inputArraySchemaDecoder(value: YAMLElement_$union): InputArraySchema;
341
+ export declare function Decode_cwlTypeFromShorthand(scope: Decode_DecodeScope, node: YamlNode): CWLType_$union;
137
342
  /**
138
- * Decode an InputRecordField from a YAMLElement
343
+ * Decode an InputArraySchema from a YamlNode
139
344
  */
140
- export declare function Decode_inputRecordFieldDecoder(value: YAMLElement_$union): InputRecordField;
345
+ export declare function Decode_inputArraySchemaDecoder(scope: Decode_DecodeScope, value: YamlNode): InputArraySchema;
141
346
  /**
142
- * Attempt to decode fields as flow-style array: [{name: x, type: y}]
347
+ * Decode a record field object under its name. The type field is the type of the field. The doc and the label
348
+ * are typed, and every other property of the field, such as inputBinding or secondaryFiles, stays on the field.
143
349
  */
144
- export declare function Decode_tryDecodeFieldsAsArray(element: YAMLElement_$union): Option<InputRecordField[]>;
350
+ export declare function Decode_inputRecordFieldObject(scope: Decode_DecodeScope, name: string, value: YamlNode): InputRecordField;
145
351
  /**
146
- * Attempt to decode fields as map-style: {fieldName: type}
352
+ * Decode an InputRecordField from a YamlNode
147
353
  */
148
- export declare function Decode_tryDecodeFieldsAsMap(element: YAMLElement_$union): Option<InputRecordField[]>;
354
+ export declare function Decode_inputRecordFieldDecoder(scope: Decode_DecodeScope, value: YamlNode): InputRecordField;
149
355
  /**
150
- * Decode an InputRecordSchema from a YAMLElement
356
+ * Decode fields as an array: [{name: x, type: y}]. An $import stands for the fields of a file.
151
357
  */
152
- export declare function Decode_inputRecordSchemaDecoder(value: YAMLElement_$union): InputRecordSchema;
358
+ export declare function Decode_decodeFieldsAsArray(scope: Decode_DecodeScope, element: YamlNode): ListEntry$1_$union<InputRecordField>[];
153
359
  /**
154
- * Decode an InputEnumSchema from a YAMLElement
360
+ * Decode fields as a map: {fieldName: type} or {fieldName: {type: ..., inputBinding: ...}}
155
361
  */
156
- export declare function Decode_inputEnumSchemaDecoder(value: YAMLElement_$union): InputEnumSchema;
362
+ export declare function Decode_decodeFieldsAsMap(scope: Decode_DecodeScope, element: YamlNode): ListEntry$1_$union<InputRecordField>[];
157
363
  /**
158
- * Decode a CWLType from a YAMLElement (handles all types including complex schemas)
364
+ * Decode an InputRecordSchema from a YamlNode
159
365
  */
160
- export declare function Decode_cwlTypeDecoder$0027(element: YAMLElement_$union): CWLType_$union;
366
+ export declare function Decode_inputRecordSchemaDecoder(scope: Decode_DecodeScope, value: YamlNode): InputRecordSchema;
161
367
  /**
162
- * Match the input string to the possible CWL types and checks if it is optional
368
+ * Decode an InputEnumSchema from a YamlNode
163
369
  */
164
- export declare function Decode_cwlTypeStringMatcher(t: string, get$: IGetters): [CWLType_$union, boolean];
165
- export declare const Decode_cwlTypeDecoder: (value_1: YAMLElement_$union) => [CWLType_$union, boolean];
370
+ export declare function Decode_inputEnumSchemaDecoder(value: YamlNode): InputEnumSchema;
371
+ /**
372
+ * Decode a CWLType from a YamlNode (handles all types including complex schemas). A document reads the shorthand
373
+ * File[] and File? as the whole value of a type field and as a member of a type list.
374
+ */
375
+ export declare function Decode_cwlTypeDecoder$0027(element: YamlNode): CWLType_$union;
376
+ /**
377
+ * Decode the type under items. It is a name or a schema, and a list of those, with no shorthand.
378
+ */
379
+ export declare function Decode_itemsTypeDecoder(scope: Decode_DecodeScope, element: YamlNode): CWLType_$union;
380
+ /**
381
+ * Decode a CWLType from a YamlNode. The scope tells whether the place reads the shorthand of a type name.
382
+ */
383
+ export declare function Decode_cwlTypeDecoderAt(scope: Decode_DecodeScope, element: YamlNode): CWLType_$union;
384
+ export declare const Decode_typeTextScope: Decode_DecodeScope;
385
+ /**
386
+ * Decode the type text of a scalar, whether it stands alone or in the type field of a mapping.
387
+ */
388
+ export declare function Decode_cwlTypeStringDecoder(scope: Decode_DecodeScope, node: YamlNode): CWLType_$union;
389
+ /**
390
+ * Decode the text of the additional type of an RO-Crate entity. The text is YAML. A scalar is a type name such as
391
+ * File[][]? and may be quoted, as the null type is written ("null"), or carry a comment. The shorthand nests
392
+ * arrays there, which a CWL document does not read. Anything else is a schema or a list of types. The text reads
393
+ * like any type text (typeTextScope). A stream type is the whole text, and a name that is no builtin type is a
394
+ * Reference when it is well-formed. The text is no CWL document, so the plain text null names the null type there,
395
+ * where a document needs it in quotes.
396
+ */
397
+ export declare function Decode_cwlTypeFromAdditionalType(text: string): CWLType_$union;
398
+ /**
399
+ * Access the type field and decode a YamlNode into a CWLType
400
+ */
401
+ export declare function Decode_cwlTypeDecoder(scope: Decode_DecodeScope): ((arg0: YamlNode) => CWLType_$union);
402
+ /**
403
+ * Decode the type of a port. CWL lets a map entry hold just the type, written as a type string
404
+ * (File?) or as a list of types (a union such as ["null", File]). Any other value is the port object.
405
+ */
406
+ export declare function Decode_portTypeDecoder(scope: Decode_DecodeScope, value: YamlNode): CWLType_$union;
166
407
  /**
167
408
  * Decode a named output from either map shorthand or full object form.
168
409
  */
169
- export declare function Decode_decodeNamedOutput(name: string, value: YAMLElement_$union): CWLOutput;
410
+ export declare function Decode_decodeNamedOutput(scope: Decode_DecodeScope, name: string, value: YamlNode): CWLOutput;
170
411
  /**
171
- * Decode one sequence-form output, warning only for malformed unnamed entries.
412
+ * Decode one sequence-form output, which is a mapping with an id.
172
413
  */
173
- export declare function Decode_decodeOutputSequenceItem(warnings: Option<Decode_DecodeWarning[]>, path: string, index: int32, item: YAMLElement_$union): Option<CWLOutput>;
414
+ export declare function Decode_decodeOutputSequenceItem(scope: Decode_DecodeScope, index: int32, item: YamlNode): CWLOutput;
174
415
  /**
175
- * Decode a YAMLElement into an Output Array
416
+ * Decode a YamlNode into an Output Array. An $import stands for the outputs of a file, in the list or as the whole
417
+ * field.
176
418
  */
177
- export declare function Decode_outputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value: YAMLElement_$union): CWLOutput[];
178
- export declare const Decode_outputArrayDecoder: (value: YAMLElement_$union) => CWLOutput[];
419
+ export declare function Decode_outputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, path: string, value: YamlNode): ListEntry$1_$union<CWLOutput>[];
420
+ export declare const Decode_outputArrayDecoder: (value: YamlNode) => ListEntry$1_$union<CWLOutput>[];
179
421
  /**
180
- * Access the outputs field and decode a YAMLElement into an Output Array
422
+ * Access the outputs field and decode a YamlNode into an Output Array
181
423
  */
182
- export declare function Decode_outputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>): ((arg0: YAMLElement_$union) => CWLOutput[]);
183
- export declare const Decode_outputsDecoder: ((arg0: YAMLElement_$union) => CWLOutput[]);
424
+ export declare function Decode_outputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => ListEntry$1_$union<CWLOutput>[]);
425
+ export declare const Decode_outputsDecoder: ((arg0: YamlNode) => ListEntry$1_$union<CWLOutput>[]);
184
426
  /**
185
- * Decode a YAMLElement into a DockerRequirement
427
+ * Decode a YamlNode into a DockerRequirement
186
428
  */
187
- export declare function Decode_dockerRequirementDecoder(get$: IGetters): DockerRequirement;
429
+ export declare function Decode_dockerRequirementDecoder(get$: Decode_IGetters): DockerRequirement;
188
430
  /**
189
- * Decode a YAMLElement into an EnvVarRequirement array.
190
- * Supports both array form and map shorthand form (envName -> envValue).
431
+ * Decode a YamlNode into an EnvVarRequirement array.
432
+ * Supports both array form and map shorthand form (envName -> envValue). An $import stands for the definitions of
433
+ * a file, in the list and as the whole field.
191
434
  */
192
- export declare function Decode_envVarRequirementDecoder(get$: IGetters): EnvironmentDef[];
435
+ export declare function Decode_envVarRequirementDecoder(get$: Decode_IGetters): ListEntry$1_$union<EnvironmentDef>[];
193
436
  /**
194
- * Decode a YAMLElement into a SoftwareRequirement array.
437
+ * Decode a YamlNode into a SoftwareRequirement array.
195
438
  * Supports both array form and map shorthand form.
196
439
  */
197
- export declare function Decode_softwareRequirementDecoder(get$: IGetters): SoftwarePackage[];
440
+ export declare function Decode_softwareRequirementDecoder(get$: Decode_IGetters): ListEntry$1_$union<SoftwarePackage>[];
198
441
  /**
199
- * Decode a YAMLElement into an InitialWorkDirRequirement array.
200
- * Supports both string/expression and Dirent listing items.
442
+ * Decode a YamlNode into an InitialWorkDirRequirement. The listing is a list of entries or an expression that
443
+ * evaluates to the list.
201
444
  */
202
- export declare function Decode_initialWorkDirRequirementDecoder(get$: IGetters): InitialWorkDirEntry_$union[];
445
+ export declare function Decode_initialWorkDirRequirementDecoder(get$: Decode_IGetters): Requirement_$union;
203
446
  /**
204
447
  * Decode LoadListingRequirement, applying CWL's default no_listing behavior.
205
448
  */
206
- export declare function Decode_loadListingRequirementDecoder(get$: IGetters): LoadListingRequirementValue;
449
+ export declare function Decode_loadListingRequirementDecoder(get$: Decode_IGetters): LoadListingRequirementValue;
207
450
  /**
208
451
  * Decode resource scalar fields as int64, float, or expression string without losing numeric shape.
452
+ * CWL types these fields as long, float or string, so the core schema decides. A plain number keeps its
453
+ * numeric shape and a quoted number is a string. Schema Salad accepts an int of any size for a float, and the model holds
454
+ * an int beyond 64 bits as the nearest float. An int beyond the largest float is a decode error.
209
455
  */
210
- export declare function Decode_decodeResourceScalar(element: YAMLElement_$union): any;
456
+ export declare function Decode_decodeResourceScalar(element: YamlNode): any;
211
457
  /**
212
458
  * Decode an optional resource field through the resource scalar coercion rules.
213
459
  */
214
- export declare function Decode_optionalResourceField(get$: IGetters, fieldName: string): Option<any>;
460
+ export declare function Decode_optionalResourceField(get$: Decode_IGetters, fieldName: string): Option<any>;
215
461
  /**
216
- * Decode a YAMLElement into a ResourceRequirementInstance
462
+ * Decode a YamlNode into a ResourceRequirementInstance
217
463
  */
218
- export declare function Decode_resourceRequirementDecoder(get$: IGetters): ResourceRequirementInstance;
464
+ export declare function Decode_resourceRequirementDecoder(get$: Decode_IGetters): ResourceRequirementInstance;
219
465
  /**
220
- * Decode schema definition entries in either named object or map-entry shorthand form.
466
+ * Decode an entry of the types field that defines a type. CWL defines the entry as the schema itself, with type:
467
+ * record, enum or array. Process.yml admits no other type there, so any other type is an error at the entry, such
468
+ * as a builtin type name. The schema keeps its name, which is optional, and its extension fields.
221
469
  */
222
- export declare function Decode_schemaDefRequirementTypeDecoder(value: YAMLElement_$union): SchemaDefRequirementType;
470
+ export declare function Decode_schemaDefinitionDecoder(scope: Decode_DecodeScope, value: YamlNode): SchemaDefinition_$union;
223
471
  /**
224
- * Decode a YAMLElement into a SchemaDefRequirementType array
472
+ * Decode an entry of the types field: a file to import, as {$import: path}, or a type to define.
225
473
  */
226
- export declare function Decode_schemaDefRequirementDecoder(get$: IGetters): SchemaDefRequirementType[];
474
+ export declare function Decode_schemaDefEntryDecoder(scope: Decode_DecodeScope, value: YamlNode): SchemaDefEntry_$union;
227
475
  /**
228
- * Decode only literal boolean scalars, leaving expressions for requirement-specific handling.
476
+ * Decode a YamlNode into a SchemaDefEntry array. A types field that is an $import mapping stands for a list with
477
+ * one import.
229
478
  */
230
- export declare function Decode_tryDecodeBoolScalar(element: YAMLElement_$union): Option<boolean>;
479
+ export declare function Decode_schemaDefRequirementDecoder(scope: Decode_DecodeScope, get$: Decode_IGetters): SchemaDefEntry_$union[];
231
480
  /**
232
- * Decode WorkReuse as either a concrete bool requirement or an expression payload.
481
+ * Decode only plain boolean scalars, as the core schema reads them, and leave every other node for the
482
+ * requirement to take as an expression. A quoted "false" is a string.
233
483
  */
234
- export declare function Decode_workReuseRequirementDecoder(get$: IGetters): Requirement_$union;
484
+ export declare function Decode_tryDecodeBoolScalar(element: YamlNode): Option<boolean>;
235
485
  /**
236
- * Decode NetworkAccess as either a concrete bool requirement or an expression payload.
486
+ * Decode WorkReuse as either a concrete bool requirement or an expression payload. A WorkReuse without
487
+ * enableReuse enables the reuse.
237
488
  */
238
- export declare function Decode_networkAccessRequirementDecoder(get$: IGetters): Requirement_$union;
489
+ export declare function Decode_workReuseRequirementDecoder(get$: Decode_IGetters): Requirement_$union;
239
490
  /**
240
- * Decode InplaceUpdateRequirement, defaulting missing inplaceUpdate to true.
491
+ * Decode NetworkAccess as either a concrete bool requirement or an expression payload. CWL requires the
492
+ * networkAccess field, and a missing one is no permission to use the network.
241
493
  */
242
- export declare function Decode_inplaceUpdateRequirementDecoder(get$: IGetters): InplaceUpdateRequirementValue;
494
+ export declare function Decode_networkAccessRequirementDecoder(get$: Decode_IGetters): Requirement_$union;
243
495
  /**
244
- * Decode a YAMLElement into a ToolTimeLimitRequirement value
496
+ * Decode InplaceUpdateRequirement. CWL requires the inplaceUpdate field.
245
497
  */
246
- export declare function Decode_toolTimeLimitRequirementDecoder(get$: IGetters): ToolTimeLimitValue_$union;
498
+ export declare function Decode_inplaceUpdateRequirementDecoder(get$: Decode_IGetters): InplaceUpdateRequirementValue;
247
499
  /**
248
- * Decode InlineJavascriptRequirement expressionLib in scalar or array form.
500
+ * Decode a YamlNode into a ToolTimeLimitRequirement value
249
501
  */
250
- export declare function Decode_inlineJavascriptRequirementDecoder(get$: IGetters): InlineJavascriptRequirementValue;
502
+ export declare function Decode_toolTimeLimitRequirementDecoder(get$: Decode_IGetters): ToolTimeLimitValue_$union;
251
503
  /**
252
- * Dispatch a known CWL requirement class to its typed decoder.
504
+ * Decode InlineJavascriptRequirement, whose expressionLib is a list of strings.
253
505
  */
254
- export declare function Decode_requirementFromTypeName(cls: string, get$: IGetters): Requirement_$union;
506
+ export declare function Decode_inlineJavascriptRequirementDecoder(get$: Decode_IGetters): InlineJavascriptRequirementValue;
255
507
  /**
256
- * Attach unknown payload fields to DynamicObj-backed requirement values after class dispatch.
508
+ * The decoder of the payload of a CWL requirement class, and none for a class that the model does not know. The caller
509
+ * knows the class before it reads the payload, because a hint of an unknown class may hold keys of any type.
257
510
  */
258
- export declare function Decode_addRequirementPayloadOverflow(element: YAMLElement_$union, requirement: Requirement_$union): Requirement_$union;
511
+ export declare function Decode_tryRequirementDecoder(scope: Decode_DecodeScope, cls: string): Option<((arg0: Decode_IGetters) => Requirement_$union)>;
259
512
  /**
260
- * Decode requirements from either sequence syntax or class-name map syntax.
513
+ * Attach unknown payload fields to DynamicObj-backed requirement values after class dispatch.
261
514
  */
262
- export declare function Decode_requirementArrayDecoder(yEle: YAMLElement_$union): Requirement_$union[];
515
+ export declare function Decode_addRequirementPayloadOverflow(element: YamlNode, requirement: Requirement_$union): Requirement_$union;
263
516
  /**
264
- * Try known requirement decoding for hints, falling back to UnknownHint on decode failure.
517
+ * Decode requirements from either sequence syntax or class-name map syntax. The field is the name of the field that
518
+ * holds them in the process, as it stands in the path of a warning. An $import stands for the requirements of a
519
+ * file, and the field may be that directive as a whole.
265
520
  */
266
- export declare function Decode_tryDecodeKnownRequirementFromElement(element: YAMLElement_$union): Option<Requirement_$union>;
521
+ export declare function Decode_requirementArrayDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, field: string, scope: Decode_DecodeScope, yEle: YamlNode): Requirement_$union[];
522
+ export declare const Decode_requirementArrayDecoder: (yEle: YamlNode) => Requirement_$union[];
267
523
  /**
268
- * Decode one hint as a known requirement when possible, otherwise preserve the raw hint.
524
+ * Decode one hint. An $import stands for the hints of a file, and the decoder checks for it before it reads the class,
525
+ * because the directive has none. A hint of a class that the model knows decodes with the decoder of the requirement of
526
+ * that class and fails with the same errors. A hint of any other class stays as it was written. cwltool accepts keys of
527
+ * any type in such a hint, so the decoder reads the class before Decode.object, which takes strings as keys only.
269
528
  */
270
- export declare function Decode_decodeHintElement(element: YAMLElement_$union): HintEntry_$union;
529
+ export declare function Decode_decodeHintElement(scope: Decode_DecodeScope, element: YamlNode): HintEntry_$union;
271
530
  /**
272
531
  * Decode hints from sequence syntax or class-name map syntax while preserving unknown hints.
273
532
  */
274
- export declare function Decode_hintArrayDecoder(yEle: YAMLElement_$union): HintEntry_$union[];
275
- export declare const Decode_requirementsDecoder: (value: YAMLElement_$union) => Option<Requirement_$union[]>;
276
- export declare const Decode_hintsDecoder: (value: YAMLElement_$union) => Option<HintEntry_$union[]>;
277
- export declare const Decode_inputBindingDecoder: (value_9: YAMLElement_$union) => Option<InputBinding>;
533
+ export declare function Decode_hintArrayDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, yEle: YamlNode): HintEntry_$union[];
534
+ export declare const Decode_hintArrayDecoder: (yEle: YamlNode) => HintEntry_$union[];
278
535
  /**
279
- * Decode a named input from map shorthand or full object form, preserving optionality and extensions.
536
+ * Access the requirements field and decode the YamlNodes into a Requirement array
280
537
  */
281
- export declare function Decode_decodeNamedInput(name: string, value: YAMLElement_$union): CWLInput;
538
+ export declare function Decode_requirementsDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => Option<Requirement_$union[]>);
282
539
  /**
283
- * Decode one sequence-form input, warning only for malformed unnamed entries.
540
+ * Access the hints field and decode the YamlNodes into a HintEntry array
284
541
  */
285
- export declare function Decode_decodeInputSequenceItem(warnings: Option<Decode_DecodeWarning[]>, path: string, index: int32, item: YAMLElement_$union): Option<CWLInput>;
542
+ export declare function Decode_hintsDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => Option<HintEntry_$union[]>);
286
543
  /**
287
- * Decode a YAMLElement into an Input array
544
+ * Decode the requirements of a node that stands alone.
288
545
  */
289
- export declare function Decode_inputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value: YAMLElement_$union): CWLInput[];
290
- export declare const Decode_inputArrayDecoder: (value: YAMLElement_$union) => CWLInput[];
546
+ export declare function Decode_requirementsDecoder(node: YamlNode): Option<Requirement_$union[]>;
291
547
  /**
292
- * Access the inputs field and decode the YAMLElements into an Input array
548
+ * Decode the hints of a node that stands alone, as requirementsDecoder decodes its requirements.
293
549
  */
294
- export declare function Decode_inputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>): ((arg0: YAMLElement_$union) => Option<CWLInput[]>);
295
- export declare const Decode_inputsDecoder: ((arg0: YAMLElement_$union) => Option<CWLInput[]>);
296
- export declare const Decode_baseCommandDecoder: (value_2: YAMLElement_$union) => Option<string[]>;
297
- export declare const Decode_versionDecoder: (value_1: YAMLElement_$union) => string;
298
- export declare const Decode_classDecoder: (value_1: YAMLElement_$union) => string;
299
- export declare function Decode_stringOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string>);
300
- export declare function Decode_boolOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<boolean>);
301
- export declare function Decode_yamlElementOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<YAMLElement_$union>);
302
- export declare function Decode_stringFieldDecoder(field: string): ((arg0: YAMLElement_$union) => string);
550
+ export declare function Decode_hintsDecoder(node: YamlNode): Option<HintEntry_$union[]>;
303
551
  /**
304
- * Decode a YAMLElement that may be a single string or an array of strings.
552
+ * Decode the position of an input binding: an int, or an expression that evaluates to one. A plain scalar that the
553
+ * core schema reads as an int is the number, and a string with $( or ${ in it is the expression. A directive
554
+ * stands for the number or the expression of a file.
305
555
  */
306
- export declare function Decode_stringOrStringArrayDecoder(value: YAMLElement_$union): Option<string[]>;
556
+ export declare function Decode_bindingPositionDecoder(node: YamlNode): BindingPosition_$union;
557
+ export declare const Decode_inputBindingDecoder: (node: YamlNode) => Option<ListEntry$1_$union<InputBinding>>;
307
558
  /**
308
- * Decode a YAMLElement into a ResizeArray<string> option for the source field
309
- * Handles both single string values and arrays of strings
559
+ * Decode the format of an input: one name or a list of names. The format of an output admits one name only.
310
560
  */
311
- export declare function Decode_sourceArrayFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string[]>);
561
+ export declare function Decode_inputFormatDecoder(node: YamlNode): InputFormat_$union;
312
562
  /**
313
- * Decode and validate linkMerge enum fields.
563
+ * Decode a named input from map shorthand or full object form, preserving optionality and extensions.
314
564
  */
315
- export declare function Decode_linkMergeFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<LinkMergeMethod_$union>);
565
+ export declare function Decode_decodeNamedInput(scope: Decode_DecodeScope, name: string, value: YamlNode): CWLInput;
316
566
  /**
317
- * Decode and validate pickValue enum fields.
567
+ * Decode one sequence-form input, which is a mapping with an id.
318
568
  */
319
- export declare function Decode_pickValueFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<PickValueMethod_$union>);
320
- export declare function Decode_scatterFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string[]>);
569
+ export declare function Decode_decodeInputSequenceItem(scope: Decode_DecodeScope, index: int32, item: YamlNode): CWLInput;
321
570
  /**
322
- * Decode and validate scatterMethod enum fields.
571
+ * Decode a YamlNode into an Input array. An $import stands for the inputs of a file, in the list or as the whole
572
+ * field.
323
573
  */
324
- export declare function Decode_scatterMethodFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<ScatterMethod_$union>);
574
+ export declare function Decode_inputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, path: string, value: YamlNode): ListEntry$1_$union<CWLInput>[];
575
+ export declare const Decode_inputArrayDecoder: (value: YamlNode) => ListEntry$1_$union<CWLInput>[];
325
576
  /**
326
- * Decode optional expression-like fields, including schema-salad directive wrappers.
577
+ * Access the inputs field and decode the YamlNodes into an Input array
327
578
  */
328
- export declare function Decode_expressionStringOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string>);
579
+ export declare function Decode_inputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => Option<ListEntry$1_$union<CWLInput>[]>);
580
+ export declare const Decode_inputsDecoder: ((arg0: YamlNode) => Option<ListEntry$1_$union<CWLInput>[]>);
581
+ export declare const Decode_baseCommandDecoder: (node_1: YamlNode) => Option<SchemaSaladString_$union[]>;
582
+ export declare function Decode_stringOptionFieldDecoder(field: string): ((arg0: YamlNode) => Option<string>);
583
+ export declare function Decode_rawYamlOptionFieldDecoder(field: string): ((arg0: YamlNode) => Option<RawYaml>);
584
+ export declare function Decode_stringFieldDecoder(field: string): ((arg0: YamlNode) => string);
329
585
  /**
330
- * Decode a step input from map or scalar shorthand and preserve unknown step-input fields.
586
+ * Decode a YamlNode into the source of a step input, which is a single string or an array of strings
331
587
  */
332
- export declare function Decode_decodeStepInputFromValue(id: string, value: YAMLElement_$union, allowScalarSource: boolean): StepInput;
588
+ export declare function Decode_sourceArrayFieldDecoder(field: string): ((arg0: YamlNode) => Option<OutputSource_$union>);
333
589
  /**
334
- * Decode map-form step inputs where the map key supplies the step input id.
590
+ * Decode and validate linkMerge enum fields. A directive stands for the symbol of a file.
335
591
  */
336
- export declare function Decode_decodeStepInputsFromMap(value: YAMLElement_$union): StepInput[];
592
+ export declare function Decode_linkMergeFieldDecoder(field: string): ((arg0: YamlNode) => Option<LinkMergeMethod_$union>);
337
593
  /**
338
- * Decode sequence-form step inputs where the id must be present in the item.
594
+ * Decode and validate pickValue enum fields. A directive stands for the symbol of a file.
339
595
  */
340
- export declare function Decode_decodeStepInputFromArrayItem(item: YAMLElement_$union): StepInput;
596
+ export declare function Decode_pickValueFieldDecoder(field: string): ((arg0: YamlNode) => Option<PickValueMethod_$union>);
597
+ export declare function Decode_scatterFieldDecoder(field: string): ((arg0: YamlNode) => Option<SchemaSaladString_$union[]>);
341
598
  /**
342
- * Decode sequence-form step inputs, warning and skipping only malformed unnamed entries.
599
+ * Decode and validate scatterMethod enum fields. A directive stands for the symbol of a file.
343
600
  */
344
- export declare function Decode_decodeStepInputsFromArrayWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, items: FSharpList<YAMLElement_$union>): StepInput[];
345
- export declare function Decode_decodeStepInputsFromArray(items: FSharpList<YAMLElement_$union>): StepInput[];
601
+ export declare function Decode_scatterMethodFieldDecoder(field: string): ((arg0: YamlNode) => Option<ScatterMethod_$union>);
346
602
  /**
347
- * Select the step input decoder based on CWL map-form versus sequence-form syntax.
348
- */
349
- export declare function Decode_inputStepDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value: YAMLElement_$union): StepInput[];
350
- export declare const Decode_inputStepDecoder: (value: YAMLElement_$union) => StepInput[];
351
- /**
352
- * Decode step outputs from scalar shorthand or record form with extension fields.
603
+ * Decode optional expression-like fields, including schema-salad directive wrappers.
353
604
  */
354
- export declare function Decode_decodeStepOutputItem(value: YAMLElement_$union): StepOutput_$union;
355
- export declare const Decode_outputStepsDecoder: (value_2: YAMLElement_$union) => StepOutput_$union[];
356
- export declare const Decode_docDecoder: (value_1: YAMLElement_$union) => Option<string>;
357
- export declare const Decode_labelDecoder: (value_1: YAMLElement_$union) => Option<string>;
358
- export declare const Decode_idDecoder: (value_1: YAMLElement_$union) => Option<string>;
359
- export declare const Decode_intentDecoder: (value_1: YAMLElement_$union) => Option<string[]>;
605
+ export declare function Decode_expressionStringOptionFieldDecoder(field: string): ((arg0: YamlNode) => Option<SchemaSaladString_$union>);
360
606
  /**
361
- * Test object mappings for an explicit field without invoking a typed decoder.
607
+ * Decode a step input from map or scalar shorthand and preserve unknown step-input fields.
362
608
  */
363
- export declare function Decode_hasField(fieldName: string, yamlElement: YAMLElement_$union): boolean;
609
+ export declare function Decode_decodeStepInputFromValue(id: string, value: YamlNode, allowScalarSource: boolean): StepInput;
364
610
  /**
365
- * Inject the parent workflow cwlVersion into inline run objects that omit it.
611
+ * Decode map-form step inputs where the map key supplies the step input id.
366
612
  */
367
- export declare function Decode_withDefaultCwlVersion(defaultCwlVersion: string, yamlElement: YAMLElement_$union): YAMLElement_$union;
613
+ export declare function Decode_decodeStepInputsFromMap(value: YamlNode): ListEntry$1_$union<StepInput>[];
368
614
  /**
369
- * Decode a workflow step run as either a path string or an inline CWL processing unit.
615
+ * Decode sequence-form step inputs, which are mappings with an id. An $import stands for the step inputs of a file.
370
616
  */
371
- export declare function Decode_workflowStepRunDecoder(warnings: Option<Decode_DecodeWarning[]>, defaultCwlVersion: string, runValue: YAMLElement_$union): WorkflowStepRun_$union;
617
+ export declare function Decode_decodeStepInputsFromArrayWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, items: FSharpList<YamlNode>): ListEntry$1_$union<StepInput>[];
618
+ export declare function Decode_decodeStepInputsFromArray(items: FSharpList<YamlNode>): ListEntry$1_$union<StepInput>[];
372
619
  /**
373
- * Decode a named workflow step and thread warnings into nested step inputs and inline runs.
620
+ * Select the step input decoder based on CWL map-form versus sequence-form syntax. An $import mapping as the whole
621
+ * field stands for the step inputs of a file.
374
622
  */
375
- export declare function Decode_decodeWorkflowStepFromValueWithId(warnings: Option<Decode_DecodeWarning[]>, defaultCwlVersion: string, path: string, stepId: string, value: YAMLElement_$union): WorkflowStep;
376
- export declare function Decode_decodeWorkflowStepFromArrayItem(defaultCwlVersion: string, item: YAMLElement_$union): WorkflowStep;
623
+ export declare function Decode_inputStepDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value: YamlNode): ListEntry$1_$union<StepInput>[];
624
+ export declare const Decode_inputStepDecoder: (value: YamlNode) => ListEntry$1_$union<StepInput>[];
377
625
  /**
378
- * Decode one sequence-form workflow step, warning only for malformed unnamed entries.
626
+ * Decode a step output from the scalar shorthand or from the record form with extension fields. A directive stands
627
+ * for a file. A record with an id and a $mixin is the output that the id names, and a $mixin without an id stands
628
+ * for an entry of its own.
379
629
  */
380
- export declare function Decode_decodeWorkflowStepFromArrayItemWithWarnings(warnings: Option<Decode_DecodeWarning[]>, defaultCwlVersion: string, index: int32, item: YAMLElement_$union): Option<WorkflowStep>;
630
+ export declare function Decode_decodeStepOutputItem(value: YamlNode): StepOutput_$union;
631
+ export declare const Decode_outputStepsDecoder: (node_2: YamlNode) => StepOutput_$union[];
632
+ export declare const Decode_idDecoder: (node_1: YamlNode) => Option<string>;
633
+ export declare const Decode_intentDecoder: (node_1: YamlNode) => Option<SchemaSaladString_$union[]>;
381
634
  /**
382
- * Decode workflow steps from sequence-form or map-form syntax with version-aware inline runs.
635
+ * Test object mappings for an explicit field without invoking a typed decoder.
383
636
  */
384
- export declare function Decode_stepArrayDecoderWithVersion(warnings: Option<Decode_DecodeWarning[]>, defaultCwlVersion: string, value: YAMLElement_$union): WorkflowStep[];
385
- export declare function Decode_stepsDecoderWithVersion(warnings: Option<Decode_DecodeWarning[]>, defaultCwlVersion: string): ((arg0: YAMLElement_$union) => WorkflowStep[]);
637
+ export declare function Decode_hasField(fieldName: string, node: YamlNode): boolean;
386
638
  /**
387
- * Decode a CommandLineTool and preserve unknown top-level metadata fields.
639
+ * The cwlVersion of a process. A process below the top level takes the default of the scope, which is the version of
640
+ * the enclosing process. CWL ignores a cwlVersion field anywhere else than at the top level (concepts.md), so the
641
+ * value of such a field changes nothing. CWL types the field as a string everywhere, so a plain scalar that the core
642
+ * schema reads as a number or a bool is a decode error, and so is a list or a mapping. A process below the top level
643
+ * may leave the field out or give it a null. The field of the root is required.
388
644
  */
389
- export declare function Decode_commandLineToolDecoder(warnings: Option<Decode_DecodeWarning[]>, yamlCWL: YAMLElement_$union): CWLToolDescription;
645
+ export declare function Decode_versionDecoder(scope: Decode_DecodeScope, node: YamlNode): string;
390
646
  /**
391
- * Decode an ExpressionTool and preserve unknown top-level metadata fields.
647
+ * Decode a workflow step run as either a path string or an inline CWL processing unit.
392
648
  */
393
- export declare function Decode_expressionToolDecoder(warnings: Option<Decode_DecodeWarning[]>, yamlCWL: YAMLElement_$union): CWLExpressionToolDescription;
649
+ export declare function Decode_workflowStepRunDecoder(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, runValue: YamlNode): WorkflowStepRun_$union;
394
650
  /**
395
- * Decode an Operation and enforce its required inputs collection.
651
+ * Decode a workflow step with or without an id and thread warnings into nested step inputs and inline runs.
396
652
  */
397
- export declare function Decode_operationDecoder(warnings: Option<Decode_DecodeWarning[]>, yamlCWL: YAMLElement_$union): CWLOperationDescription;
653
+ export declare function Decode_decodeWorkflowStepFromValueWithId(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, path: string, stepId: Option<string>, value: YamlNode): WorkflowStep;
654
+ export declare function Decode_decodeWorkflowStepFromArrayItem(scope: Decode_DecodeScope, item: YamlNode): WorkflowStep;
398
655
  /**
399
- * Decode a Workflow, including version-aware steps and preserved metadata fields.
656
+ * Decode one sequence-form workflow step. CWL makes the id of a step optional, so a step without an id key is a step
657
+ * without an id, and it decodes in full like any other step. A null id is an error, as it is for cwltool, and so is
658
+ * an entry that is no mapping.
400
659
  */
401
- export declare function Decode_workflowDecoder(warnings: Option<Decode_DecodeWarning[]>, yamlCWL: YAMLElement_$union): CWLWorkflowDescription;
660
+ export declare function Decode_decodeWorkflowStepFromArrayItemWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, index: int32, item: YamlNode): WorkflowStep;
402
661
  /**
403
- * Dispatch a parsed CWL document to the processing-unit decoder declared by its class field.
662
+ * Decode workflow steps from sequence-form or map-form syntax with version-aware inline runs.
404
663
  */
405
- export declare function Decode_decodeCWLProcessingUnitElementWithWarnings(warnings: Option<Decode_DecodeWarning[]>, yamlCWL: YAMLElement_$union): CWLProcessingUnit_$union;
664
+ export declare function Decode_stepArrayDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, value: YamlNode): ListEntry$1_$union<WorkflowStep>[];
665
+ export declare function Decode_stepsDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => ListEntry$1_$union<WorkflowStep>[]);
406
666
  /**
407
- * Decode an already-parsed CWL element without warning collection.
667
+ * Decode an already-parsed CWL element without warning collection. The tree has to pass the same check as a text, so the
668
+ * function applies rejectWhatTheSpecProhibits to it.
408
669
  */
409
- export declare function Decode_decodeCWLProcessingUnitElement(yamlCWL: YAMLElement_$union): CWLProcessingUnit_$union;
410
- export declare const Decode_stepArrayDecoder: (value: YAMLElement_$union) => WorkflowStep[];
411
- export declare const Decode_stepsDecoder: ((arg0: YAMLElement_$union) => WorkflowStep[]);
670
+ export declare function Decode_decodeCWLProcessingUnitElement(yamlCWL: YamlNode): CWLProcessingUnit_$union;
671
+ export declare const Decode_stepArrayDecoder: ((arg0: YamlNode) => ListEntry$1_$union<WorkflowStep>[]);
672
+ export declare const Decode_stepsDecoder: ((arg0: YamlNode) => ListEntry$1_$union<WorkflowStep>[]);
412
673
  /**
413
674
  * Decode a CWL CommandLineTool YAML string and return recoverable warnings.
414
675
  */
@@ -449,9 +710,17 @@ export declare function Decode_decodeCWLProcessingUnitWithWarnings(cwl: string):
449
710
  * Decode any CWL processing unit and discard recoverable warnings.
450
711
  */
451
712
  export declare function Decode_decodeCWLProcessingUnit(cwl: string): CWLProcessingUnit_$union;
452
- export declare function DecodeParameters_decodeParameterValue(value: YAMLElement_$union): CWLParameterValue_$union;
453
- export declare function DecodeParameters_cwlParameterReferenceDecoder(get$: IGetters, key: string, yEle: YAMLElement_$union): CWLParameterReference;
454
- export declare const DecodeParameters_cwlparameterReferenceArrayDecoder: (value: YAMLElement_$union) => CWLParameterReference[];
713
+ export declare function DecodeParameters_decodeParameterValue(value: YamlNode): CWLParameterValue_$union;
714
+ /**
715
+ * A job file gives each input a plain CWL value. An object with the fields type and value is a record with these
716
+ * two fields, and the type of the input comes from the process.
717
+ */
718
+ export declare function DecodeParameters_cwlParameterReferenceDecoder(key: string, yEle: YamlNode): CWLParameterReference;
719
+ /**
720
+ * Decode the root of an already-parsed job file into parameter references. The tree has to pass the same check as a text, so
721
+ * the function applies rejectWhatTheSpecProhibits to it.
722
+ */
723
+ export declare function DecodeParameters_cwlparameterReferenceArrayDecoder(root: YamlNode): CWLParameterReference[];
455
724
  /**
456
725
  * Decode a YAML parameter file string into parameter references.
457
726
  */