@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,130 +1,341 @@
1
- import { Union } from '@fable-org/fable-library-ts/Types.ts';
1
+ import { float64, int32 } from '@fable-org/fable-library-ts/Int32.ts';
2
+ import { Union, Record } from '@fable-org/fable-library-ts/Types.ts';
3
+ import { YamlNode } from '../fable_modules/YAMLicious.2.0.0/Model.fs.js';
2
4
  import { TypeInfo } from '@fable-org/fable-library-ts/Reflection.ts';
3
- import { int32 } from '@fable-org/fable-library-ts/Int32.ts';
4
5
  import { Option } from '@fable-org/fable-library-ts/Option.ts';
5
6
  import { int64 } from '@fable-org/fable-library-ts/BigInt.ts';
6
- import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js';
7
7
  import { FSharpSet } from '@fable-org/fable-library-ts/Set.ts';
8
8
  import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
9
- export type SchemaSaladString_$union = SchemaSaladString<0> | SchemaSaladString<1> | SchemaSaladString<2>;
9
+ /**
10
+ * A YAML value that a CWL object keeps as it was written, such as the default value of an input or the
11
+ * secondaryFiles of a port. The node keeps its comments, blank lines, scalar styles and collection styles, and the
12
+ * encoder writes them back. A comment behind the last entry of a raw value moves in front of that entry when the
13
+ * encoder writes the value in front of other entries. YamlNode has no structural equality. DynamicObj compares and
14
+ * hashes the properties of an object through the objects that it holds, so the value carries its own equality. Two
15
+ * values are equal when their nodes have the same shape, tags, keys and scalar texts, and when each scalar is plain
16
+ * in both or quoted in both. Comments, blank lines, anchors, collection styles and the kind of quote do not count.
17
+ */
18
+ export declare class RawYaml extends Record {
19
+ readonly Node: YamlNode;
20
+ constructor(Node$: YamlNode);
21
+ Equals(o: any): boolean;
22
+ GetHashCode(): int32;
23
+ }
24
+ export declare function RawYaml_$reflection(): TypeInfo;
25
+ /**
26
+ * The path of the $mixin directive in a mapping that holds one, and the empty text for any other node.
27
+ */
28
+ export declare function RawYaml__get_MixinPath(this$: RawYaml): string;
29
+ /**
30
+ * The text of a field of a mapping when the field holds a scalar with a value, and none otherwise.
31
+ */
32
+ export declare function RawYaml__TryScalarField_Z721C83C5(this$: RawYaml, field: string): Option<string>;
33
+ export declare function IntegerOf_tryNumber(value: float64): Option<int64>;
34
+ export type SchemaSaladString_$union = SchemaSaladString<0> | SchemaSaladString<1> | SchemaSaladString<2> | SchemaSaladString<3> | SchemaSaladString<4>;
10
35
  export type SchemaSaladString_$cases = {
11
36
  0: ["Literal", [string]];
12
37
  1: ["Include", [string]];
13
38
  2: ["Import", [string]];
39
+ 3: ["Mixin", [string]];
40
+ 4: ["Mixed", [RawYaml]];
14
41
  };
15
42
  export declare function SchemaSaladString_Literal(Item: string): SchemaSaladString<0>;
16
43
  export declare function SchemaSaladString_Include(Item: string): SchemaSaladString<1>;
17
44
  export declare function SchemaSaladString_Import(Item: string): SchemaSaladString<2>;
45
+ export declare function SchemaSaladString_Mixin(Item: string): SchemaSaladString<3>;
46
+ export declare function SchemaSaladString_Mixed(Item: RawYaml): SchemaSaladString<4>;
18
47
  export declare class SchemaSaladString<Tag extends keyof SchemaSaladString_$cases> extends Union<Tag, SchemaSaladString_$cases[Tag][0]> {
19
48
  constructor(tag: Tag, fields: SchemaSaladString_$cases[Tag][1]);
20
49
  readonly tag: Tag;
21
50
  readonly fields: SchemaSaladString_$cases[Tag][1];
22
51
  cases(): string[];
52
+ static literal(value: string): SchemaSaladString_$union;
53
+ static include(value: string): SchemaSaladString_$union;
54
+ static import(value: string): SchemaSaladString_$union;
55
+ static mixin(value: string): SchemaSaladString_$union;
56
+ static mixed(value: RawYaml): SchemaSaladString_$union;
57
+ /**
58
+ * The text of a literal and the path of a directive.
59
+ */
60
+ get Value(): string;
61
+ /**
62
+ * The text as a document spells it, with the directive in front of the path. The description of an expression tool in
63
+ * an RO-Crate and the properties of a node of the workflow graph show a string through it, so it is a text for display.
64
+ * The decoder and the encoder keep the directive as a case, so a document never holds this text.
65
+ */
66
+ get AsDirectiveString(): string;
23
67
  }
24
68
  export declare function SchemaSaladString_$reflection(): TypeInfo;
25
- export declare function SchemaSaladString__get_Value(this$: SchemaSaladString_$union): string;
26
- export declare function SchemaSaladString__get_AsDirectiveString(this$: SchemaSaladString_$union): string;
27
69
  export declare function SchemaSaladStringModule_literal(value: string): SchemaSaladString_$union;
28
70
  export declare function SchemaSaladStringModule_includePath(value: string): SchemaSaladString_$union;
29
71
  export declare function SchemaSaladStringModule_importPath(value: string): SchemaSaladString_$union;
72
+ export declare function SchemaSaladStringModule_mixinPath(value: string): SchemaSaladString_$union;
30
73
  export declare function SchemaSaladStringModule_value(saladString: SchemaSaladString_$union): string;
31
- export declare function SchemaSaladStringModule_toDirectiveString(saladString: SchemaSaladString_$union): string;
74
+ /**
75
+ * The text of a literal string, and none for a directive, which names a file whose text the model does not hold.
76
+ */
77
+ export declare function SchemaSaladStringModule_tryLiteral(saladString: SchemaSaladString_$union): Option<string>;
78
+ export type ListEntry$1_$union<T> = ListEntry$1<T, 0> | ListEntry$1<T, 1> | ListEntry$1<T, 2>;
79
+ export type ListEntry$1_$cases<T> = {
80
+ 0: ["Value", [T]];
81
+ 1: ["Imported", [string]];
82
+ 2: ["Mixed", [RawYaml]];
83
+ };
84
+ export declare function ListEntry$1_Value<T>(Item: T): ListEntry$1<T, 0>;
85
+ export declare function ListEntry$1_Imported<T>(Item: string): ListEntry$1<T, 1>;
86
+ export declare function ListEntry$1_Mixed<T>(Item: RawYaml): ListEntry$1<T, 2>;
87
+ /**
88
+ * An entry of a list of objects or numbers, such as the inputs, the outputs, the steps, the fields of a record or the
89
+ * success codes. An entry is the value itself, or the import of a file that holds the value or a list of values, as in
90
+ * inputs: [{$import: ports.yml}]. A value that a file completes through $mixin is a third kind, which keeps the mapping as
91
+ * written. The decoder reads no file, so the import and the mixin stay entries of their own, in their place. The same
92
+ * union serves the entries of a list and the one object of a field, such as the inputBinding of an input.
93
+ */
94
+ export declare class ListEntry$1<T, Tag extends keyof ListEntry$1_$cases<T>> extends Union<Tag, ListEntry$1_$cases<T>[Tag][0]> {
95
+ constructor(tag: Tag, fields: ListEntry$1_$cases<T>[Tag][1]);
96
+ readonly tag: Tag;
97
+ readonly fields: ListEntry$1_$cases<T>[Tag][1];
98
+ cases(): string[];
99
+ /**
100
+ * The object of a value entry, and none for an import or a mixin.
101
+ */
102
+ static tryValue<T>(entry: ListEntry$1_$union<T>): Option<T>;
103
+ /**
104
+ * The objects of the value entries, in order. The imports and the mixins stand for objects that the decoder does not
105
+ * read, so they are left out. The result is a new list.
106
+ */
107
+ static values<T>(entries: Iterable<ListEntry$1_$union<T>>): T[];
108
+ /**
109
+ * The value entries for these objects, in order.
110
+ */
111
+ static ofValues<T>(values: Iterable<T>): ListEntry$1_$union<T>[];
112
+ /**
113
+ * The entry with another object, and the same import or mixin.
114
+ */
115
+ static map<T, U>(mapping: ((arg0: T) => U), entry: ListEntry$1_$union<T>): ListEntry$1_$union<U>;
116
+ }
117
+ export declare function ListEntry$1_$reflection(gen0: TypeInfo): TypeInfo;
118
+ export type SchemaSaladBool_$union = SchemaSaladBool<0> | SchemaSaladBool<1> | SchemaSaladBool<2>;
119
+ export type SchemaSaladBool_$cases = {
120
+ 0: ["Value", [boolean]];
121
+ 1: ["Imported", [string]];
122
+ 2: ["Mixed", [RawYaml]];
123
+ };
124
+ export declare function SchemaSaladBool_Value(Item: boolean): SchemaSaladBool<0>;
125
+ export declare function SchemaSaladBool_Imported(Item: string): SchemaSaladBool<1>;
126
+ export declare function SchemaSaladBool_Mixed(Item: RawYaml): SchemaSaladBool<2>;
127
+ /**
128
+ * A field that CWL types as a boolean: the value, or a directive that stands for it. An $import takes the data of a
129
+ * file, and a $mixin does the same, so both can stand where a boolean stands. The file holds a boolean, so the fields
130
+ * beside a mixin drop out. An $include yields the text of a file, which is a string, so it cannot. The decoder reads no
131
+ * file, so a directive stays as written and a mixin keeps its mapping. A directive is a case of its own because a value
132
+ * that is missing, or false, would pass for it.
133
+ */
134
+ export declare class SchemaSaladBool<Tag extends keyof SchemaSaladBool_$cases> extends Union<Tag, SchemaSaladBool_$cases[Tag][0]> {
135
+ constructor(tag: Tag, fields: SchemaSaladBool_$cases[Tag][1]);
136
+ readonly tag: Tag;
137
+ readonly fields: SchemaSaladBool_$cases[Tag][1];
138
+ cases(): string[];
139
+ /**
140
+ * The boolean of a value, and none for a directive, which names a file whose data the model does not hold.
141
+ */
142
+ static tryValue(value: SchemaSaladBool_$union): Option<boolean>;
143
+ }
144
+ export declare function SchemaSaladBool_$reflection(): TypeInfo;
145
+ export type FileSize_$union = FileSize<0> | FileSize<1> | FileSize<2>;
146
+ export type FileSize_$cases = {
147
+ 0: ["Bytes", [int64]];
148
+ 1: ["Imported", [string]];
149
+ 2: ["Mixed", [RawYaml]];
150
+ };
151
+ export declare function FileSize_Bytes(Item: int64): FileSize<0>;
152
+ export declare function FileSize_Imported(Item: string): FileSize<1>;
153
+ export declare function FileSize_Mixed(Item: RawYaml): FileSize<2>;
154
+ /**
155
+ * The size of a File object in bytes: the number, or a directive that stands for it. The directives that can stand
156
+ * there are an $import and a $mixin, as in SchemaSaladBool. The file holds a number, so the fields beside a mixin drop out.
157
+ */
158
+ export declare class FileSize<Tag extends keyof FileSize_$cases> extends Union<Tag, FileSize_$cases[Tag][0]> {
159
+ constructor(tag: Tag, fields: FileSize_$cases[Tag][1]);
160
+ readonly tag: Tag;
161
+ readonly fields: FileSize_$cases[Tag][1];
162
+ cases(): string[];
163
+ /**
164
+ * The number of bytes of a size, and none for a directive.
165
+ */
166
+ static tryBytes(size: FileSize_$union): Option<int64>;
167
+ }
168
+ export declare function FileSize_$reflection(): TypeInfo;
169
+ export type DocText_$union = DocText<0> | DocText<1>;
170
+ export type DocText_$cases = {
171
+ 0: ["Text", [SchemaSaladString_$union]];
172
+ 1: ["Parts", [SchemaSaladString_$union[]]];
173
+ };
174
+ export declare function DocText_Text$(Item: SchemaSaladString_$union): DocText<0>;
175
+ export declare function DocText_Parts(Item: SchemaSaladString_$union[]): DocText<1>;
176
+ /**
177
+ * The doc of a CWL object. CWL admits one string or a list of strings, and Schema Salad joins the items of a list
178
+ * without a separator. A string, a directive and a list of plain strings are each one value, so the list [a, b] and the
179
+ * string ab are the same doc, and the layout of the author stays in the source node of the object. A directive in a
180
+ * list names a file with a part of the text, and the model does not hold that text, so the parts stay apart. The
181
+ * parts exist for that case only. A doc is the one string position that takes a list, so a list of strings has a type of
182
+ * its own and no other field can hold one.
183
+ */
184
+ export declare class DocText<Tag extends keyof DocText_$cases> extends Union<Tag, DocText_$cases[Tag][0]> {
185
+ constructor(tag: Tag, fields: DocText_$cases[Tag][1]);
186
+ readonly tag: Tag;
187
+ readonly fields: DocText_$cases[Tag][1];
188
+ cases(): string[];
189
+ Equals(o: any): boolean;
190
+ GetHashCode(): int32;
191
+ /**
192
+ * The doc that is the given text.
193
+ */
194
+ static literal(text: string): DocText_$union;
195
+ /**
196
+ * The text of the doc, and none for a doc with a directive.
197
+ */
198
+ get TryText(): string | undefined;
199
+ }
200
+ export declare function DocText_$reflection(): TypeInfo;
201
+ /**
202
+ * A File value. Its string fields take a directive, as the strings of a process do. cwltool accepts a directive in the
203
+ * location and the path when the file holds an absolute URL and refuses it for a relative text. The verdict depends on the
204
+ * file, so the decoder keeps the directive.
205
+ */
32
206
  export declare class FileInstance extends DynamicObj {
33
- _location: Option<string>;
34
- _path: Option<string>;
35
- _basename: Option<string>;
36
- _dirname: Option<string>;
37
- _nameroot: Option<string>;
38
- _nameext: Option<string>;
39
- _checksum: Option<string>;
40
- _size: Option<int64>;
41
- _secondaryFiles: Option<YAMLElement_$union>;
42
- _format: Option<string>;
43
- _contents: Option<string>;
44
- constructor(location?: string, path?: string, basename?: string, dirname?: string, nameroot?: string, nameext?: string, checksum?: string, size?: int64, secondaryFiles?: YAMLElement_$union, format?: string, contents?: string);
45
- get Location(): string | undefined;
46
- set Location(value: Option<string>);
47
- get Path(): string | undefined;
48
- set Path(value: Option<string>);
49
- get Basename(): string | undefined;
50
- set Basename(value: Option<string>);
51
- get Dirname(): string | undefined;
52
- set Dirname(value: Option<string>);
53
- get Nameroot(): string | undefined;
54
- set Nameroot(value: Option<string>);
55
- get Nameext(): string | undefined;
56
- set Nameext(value: Option<string>);
57
- get Checksum(): string | undefined;
58
- set Checksum(value: Option<string>);
59
- get Size(): int64 | undefined;
60
- set Size(value: Option<int64>);
61
- get SecondaryFiles(): YAMLElement_$union | undefined;
62
- set SecondaryFiles(value: Option<YAMLElement_$union>);
63
- get Format(): string | undefined;
64
- set Format(value: Option<string>);
65
- get Contents(): string | undefined;
66
- set Contents(value: Option<string>);
207
+ _location: Option<SchemaSaladString_$union>;
208
+ _path: Option<SchemaSaladString_$union>;
209
+ _basename: Option<SchemaSaladString_$union>;
210
+ _dirname: Option<SchemaSaladString_$union>;
211
+ _nameroot: Option<SchemaSaladString_$union>;
212
+ _nameext: Option<SchemaSaladString_$union>;
213
+ _checksum: Option<SchemaSaladString_$union>;
214
+ _size: Option<FileSize_$union>;
215
+ _secondaryFiles: Option<RawYaml>;
216
+ _format: Option<SchemaSaladString_$union>;
217
+ _contents: Option<SchemaSaladString_$union>;
218
+ constructor(location?: SchemaSaladString_$union, path?: SchemaSaladString_$union, basename?: SchemaSaladString_$union, dirname?: SchemaSaladString_$union, nameroot?: SchemaSaladString_$union, nameext?: SchemaSaladString_$union, checksum?: SchemaSaladString_$union, size?: FileSize_$union, secondaryFiles?: RawYaml, format?: SchemaSaladString_$union, contents?: SchemaSaladString_$union);
219
+ get Location(): SchemaSaladString_$union | undefined;
220
+ set Location(value: Option<SchemaSaladString_$union>);
221
+ get Path(): SchemaSaladString_$union | undefined;
222
+ set Path(value: Option<SchemaSaladString_$union>);
223
+ get Basename(): SchemaSaladString_$union | undefined;
224
+ set Basename(value: Option<SchemaSaladString_$union>);
225
+ get Dirname(): SchemaSaladString_$union | undefined;
226
+ set Dirname(value: Option<SchemaSaladString_$union>);
227
+ get Nameroot(): SchemaSaladString_$union | undefined;
228
+ set Nameroot(value: Option<SchemaSaladString_$union>);
229
+ get Nameext(): SchemaSaladString_$union | undefined;
230
+ set Nameext(value: Option<SchemaSaladString_$union>);
231
+ get Checksum(): SchemaSaladString_$union | undefined;
232
+ set Checksum(value: Option<SchemaSaladString_$union>);
233
+ get Size(): FileSize_$union | undefined;
234
+ set Size(value: Option<FileSize_$union>);
235
+ get SecondaryFiles(): RawYaml | undefined;
236
+ set SecondaryFiles(value: Option<RawYaml>);
237
+ get Format(): SchemaSaladString_$union | undefined;
238
+ set Format(value: Option<SchemaSaladString_$union>);
239
+ get Contents(): SchemaSaladString_$union | undefined;
240
+ set Contents(value: Option<SchemaSaladString_$union>);
67
241
  static get KnownFieldNames(): FSharpSet<string>;
68
242
  GetHashCode(): int32;
69
243
  Equals(o: any): boolean;
70
244
  }
71
245
  export declare function FileInstance_$reflection(): TypeInfo;
72
- export declare function FileInstance_$ctor_75C1B52E(location?: string, path?: string, basename?: string, dirname?: string, nameroot?: string, nameext?: string, checksum?: string, size?: int64, secondaryFiles?: YAMLElement_$union, format?: string, contents?: string): FileInstance;
246
+ export declare function FileInstance_$ctor_150431C5(location?: SchemaSaladString_$union, path?: SchemaSaladString_$union, basename?: SchemaSaladString_$union, dirname?: SchemaSaladString_$union, nameroot?: SchemaSaladString_$union, nameext?: SchemaSaladString_$union, checksum?: SchemaSaladString_$union, size?: FileSize_$union, secondaryFiles?: RawYaml, format?: SchemaSaladString_$union, contents?: SchemaSaladString_$union): FileInstance;
247
+ /**
248
+ * A Directory value. Its string fields take a directive like the strings of a File.
249
+ */
73
250
  export declare class DirectoryInstance extends DynamicObj {
74
- _location: Option<string>;
75
- _path: Option<string>;
76
- _basename: Option<string>;
77
- _listing: Option<YAMLElement_$union>;
78
- constructor(location?: string, path?: string, basename?: string, listing?: YAMLElement_$union);
79
- get Location(): string | undefined;
80
- set Location(value: Option<string>);
81
- get Path(): string | undefined;
82
- set Path(value: Option<string>);
83
- get Basename(): string | undefined;
84
- set Basename(value: Option<string>);
85
- get Listing(): YAMLElement_$union | undefined;
86
- set Listing(value: Option<YAMLElement_$union>);
251
+ _location: Option<SchemaSaladString_$union>;
252
+ _path: Option<SchemaSaladString_$union>;
253
+ _basename: Option<SchemaSaladString_$union>;
254
+ _listing: Option<RawYaml>;
255
+ constructor(location?: SchemaSaladString_$union, path?: SchemaSaladString_$union, basename?: SchemaSaladString_$union, listing?: RawYaml);
256
+ get Location(): SchemaSaladString_$union | undefined;
257
+ set Location(value: Option<SchemaSaladString_$union>);
258
+ get Path(): SchemaSaladString_$union | undefined;
259
+ set Path(value: Option<SchemaSaladString_$union>);
260
+ get Basename(): SchemaSaladString_$union | undefined;
261
+ set Basename(value: Option<SchemaSaladString_$union>);
262
+ get Listing(): RawYaml | undefined;
263
+ set Listing(value: Option<RawYaml>);
87
264
  static get KnownFieldNames(): FSharpSet<string>;
88
265
  Equals(o: any): boolean;
89
266
  GetHashCode(): int32;
90
267
  }
91
268
  export declare function DirectoryInstance_$reflection(): TypeInfo;
92
- export declare function DirectoryInstance_$ctor_Z4C1E59AE(location?: string, path?: string, basename?: string, listing?: YAMLElement_$union): DirectoryInstance;
269
+ export declare function DirectoryInstance_$ctor_219ADA02(location?: SchemaSaladString_$union, path?: SchemaSaladString_$union, basename?: SchemaSaladString_$union, listing?: RawYaml): DirectoryInstance;
93
270
  export declare class DirentInstance extends DynamicObj {
94
271
  _entry: SchemaSaladString_$union;
95
272
  _entryname: Option<SchemaSaladString_$union>;
96
- _writable: Option<boolean>;
97
- constructor(entry: SchemaSaladString_$union, entryname?: SchemaSaladString_$union, writable?: boolean);
273
+ _writable: Option<SchemaSaladBool_$union>;
274
+ constructor(entry: SchemaSaladString_$union, entryname?: SchemaSaladString_$union, writable?: SchemaSaladBool_$union);
98
275
  get Entry(): SchemaSaladString_$union;
99
276
  set Entry(value: SchemaSaladString_$union);
100
277
  get Entryname(): SchemaSaladString_$union | undefined;
101
278
  set Entryname(value: Option<SchemaSaladString_$union>);
102
- get Writable(): boolean | undefined;
103
- set Writable(value: Option<boolean>);
279
+ get Writable(): SchemaSaladBool_$union | undefined;
280
+ set Writable(value: Option<SchemaSaladBool_$union>);
104
281
  Equals(o: any): boolean;
105
282
  GetHashCode(): int32;
106
283
  static get KnownFieldNames(): FSharpSet<string>;
107
284
  }
108
285
  export declare function DirentInstance_$reflection(): TypeInfo;
109
- export declare function DirentInstance_$ctor_Z61DE5D76(entry: SchemaSaladString_$union, entryname?: SchemaSaladString_$union, writable?: boolean): DirentInstance;
286
+ export declare function DirentInstance_$ctor_F8980C3(entry: SchemaSaladString_$union, entryname?: SchemaSaladString_$union, writable?: SchemaSaladBool_$union): DirentInstance;
287
+ /**
288
+ * The nodes that the doc and the label of a CWL object were read from. A node holds the layout of the author, such as
289
+ * the lines of a folded doc. The encoder writes the current text of the property into the node. The node gives the
290
+ * lines of the document back while the text is unchanged, and an edited text keeps the style of the node and the lines
291
+ * that still fit.
292
+ *
293
+ * The layout is no part of the value of an object, so every SourceNodes is equal to every other one and hashes to 0.
294
+ * DynamicObj compares and hashes all properties of an object on JavaScript and Python, whatever their visibility, and
295
+ * the objects without an Equals of their own rely on that. YamlNode has no structural equality either.
296
+ */
297
+ export declare class SourceNodes extends Record {
298
+ readonly Doc: Option<YamlNode>;
299
+ readonly Label: Option<YamlNode>;
300
+ readonly WholeFields: FSharpSet<string>;
301
+ constructor(Doc: Option<YamlNode>, Label: Option<YamlNode>, WholeFields: FSharpSet<string>);
302
+ Equals(o: any): boolean;
303
+ GetHashCode(): int32;
304
+ }
305
+ export declare function SourceNodes_$reflection(): TypeInfo;
306
+ export declare function SourceNodes_get_Empty(): SourceNodes;
110
307
  /**
111
308
  * Represents an enumeration type with a defined set of valid symbol values.
112
309
  * Per the CWL specification, symbol order is semantically significant and preserved during serialization.
310
+ * A symbol is a string, so a directive can stand in its place. An $include yields the text of a file as the symbol,
311
+ * and an $import yields the symbol or the list of symbols of a file. The decoder reads no file, so a directive stays
312
+ * an entry of the list, in its place.
113
313
  */
114
314
  export declare class InputEnumSchema extends DynamicObj {
115
- _symbols: string[];
116
- _label: Option<string>;
117
- _doc: Option<string>;
315
+ _symbols: SchemaSaladString_$union[];
316
+ _label: Option<SchemaSaladString_$union>;
317
+ _doc: Option<DocText_$union>;
118
318
  _name: Option<string>;
119
- constructor(symbols: string[], label?: string, doc?: string, name?: string);
120
- get Symbols(): string[];
121
- set Symbols(value: string[]);
122
- get Label(): string | undefined;
123
- set Label(value: Option<string>);
124
- get Doc(): string | undefined;
125
- set Doc(value: Option<string>);
319
+ _sourceNodes: SourceNodes;
320
+ constructor(symbols: SchemaSaladString_$union[], label?: SchemaSaladString_$union, doc?: DocText_$union, name?: string);
321
+ get Symbols(): SchemaSaladString_$union[];
322
+ set Symbols(value: SchemaSaladString_$union[]);
323
+ get Label(): SchemaSaladString_$union | undefined;
324
+ set Label(value: Option<SchemaSaladString_$union>);
325
+ get Doc(): DocText_$union | undefined;
326
+ set Doc(value: Option<DocText_$union>);
126
327
  get Name(): string | undefined;
127
328
  set Name(value: Option<string>);
329
+ /**
330
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
331
+ * They stay out of the equality and the hash of the object.
332
+ */
333
+ get SourceNodes(): SourceNodes;
334
+ /**
335
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
336
+ * They stay out of the equality and the hash of the object.
337
+ */
338
+ set SourceNodes(value: SourceNodes);
128
339
  /**
129
340
  * Equality comparison that treats symbol order as significant.
130
341
  * Two enums are equal only if their symbols appear in the same order.
@@ -133,111 +344,171 @@ export declare class InputEnumSchema extends DynamicObj {
133
344
  Equals(o: any): boolean;
134
345
  GetHashCode(): int32;
135
346
  static get KnownFieldNames(): FSharpSet<string>;
347
+ /**
348
+ * Returns a new list of the symbols that the document writes out as strings. The directives are left out, so a change
349
+ * of the list changes nothing in the enum. The entries of the enum are in Symbols.
350
+ */
351
+ static getSymbolValues(schema: InputEnumSchema): string[];
136
352
  }
137
353
  export declare function InputEnumSchema_$reflection(): TypeInfo;
138
- export declare function InputEnumSchema_$ctor_Z998ED46(symbols: string[], label?: string, doc?: string, name?: string): InputEnumSchema;
354
+ export declare function InputEnumSchema_$ctor_162689D3(symbols: SchemaSaladString_$union[], label?: SchemaSaladString_$union, doc?: DocText_$union, name?: string): InputEnumSchema;
139
355
  /**
140
356
  * Represents a field in an InputRecordSchema
141
357
  */
142
358
  export declare class InputRecordField extends DynamicObj {
143
359
  _name: string;
144
360
  _type: CWLType_$union;
145
- _doc: Option<string>;
146
- _label: Option<string>;
147
- constructor(name: string, type_: CWLType_$union, doc?: string, label?: string);
361
+ _doc: Option<DocText_$union>;
362
+ _label: Option<SchemaSaladString_$union>;
363
+ _sourceNodes: SourceNodes;
364
+ constructor(name: string, type_: CWLType_$union, doc?: DocText_$union, label?: SchemaSaladString_$union);
148
365
  get Name(): string;
149
366
  set Name(value: string);
150
367
  get Type(): CWLType_$union;
151
368
  set Type(value: CWLType_$union);
152
- get Doc(): string | undefined;
153
- set Doc(value: Option<string>);
154
- get Label(): string | undefined;
155
- set Label(value: Option<string>);
369
+ get Doc(): DocText_$union | undefined;
370
+ set Doc(value: Option<DocText_$union>);
371
+ get Label(): SchemaSaladString_$union | undefined;
372
+ set Label(value: Option<SchemaSaladString_$union>);
373
+ /**
374
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
375
+ * They stay out of the equality and the hash of the object.
376
+ */
377
+ get SourceNodes(): SourceNodes;
378
+ /**
379
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
380
+ * They stay out of the equality and the hash of the object.
381
+ */
382
+ set SourceNodes(value: SourceNodes);
156
383
  Equals(o: any): boolean;
157
384
  GetHashCode(): int32;
158
385
  static get KnownFieldNames(): FSharpSet<string>;
159
386
  }
160
387
  export declare function InputRecordField_$reflection(): TypeInfo;
161
- export declare function InputRecordField_$ctor_Z155BDB64(name: string, type_: CWLType_$union, doc?: string, label?: string): InputRecordField;
388
+ export declare function InputRecordField_$ctor_ZBF0B4CA(name: string, type_: CWLType_$union, doc?: DocText_$union, label?: SchemaSaladString_$union): InputRecordField;
162
389
  /**
163
- * Represents a record schema for workflow input parameters
390
+ * Represents a record schema for workflow input parameters. An entry of the fields is a field, or the import of a file
391
+ * that holds a field or a list of fields. The decoder reads no file, so the import stays an entry of its own, in its
392
+ * place.
164
393
  */
165
394
  export declare class InputRecordSchema extends DynamicObj {
166
- _fields: Option<InputRecordField[]>;
167
- _label: Option<string>;
168
- _doc: Option<string>;
395
+ _fields: Option<ListEntry$1_$union<InputRecordField>[]>;
396
+ _label: Option<SchemaSaladString_$union>;
397
+ _doc: Option<DocText_$union>;
169
398
  _name: Option<string>;
170
- constructor(fields?: InputRecordField[], label?: string, doc?: string, name?: string);
171
- get Fields(): InputRecordField[] | undefined;
172
- set Fields(value: Option<InputRecordField[]>);
173
- get Label(): string | undefined;
174
- set Label(value: Option<string>);
175
- get Doc(): string | undefined;
176
- set Doc(value: Option<string>);
399
+ _sourceNodes: SourceNodes;
400
+ constructor(fields?: ListEntry$1_$union<InputRecordField>[], label?: SchemaSaladString_$union, doc?: DocText_$union, name?: string);
401
+ get Fields(): ListEntry$1_$union<InputRecordField>[] | undefined;
402
+ set Fields(value: Option<ListEntry$1_$union<InputRecordField>[]>);
403
+ get Label(): SchemaSaladString_$union | undefined;
404
+ set Label(value: Option<SchemaSaladString_$union>);
405
+ get Doc(): DocText_$union | undefined;
406
+ set Doc(value: Option<DocText_$union>);
177
407
  get Name(): string | undefined;
178
408
  set Name(value: Option<string>);
409
+ /**
410
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
411
+ * They stay out of the equality and the hash of the object.
412
+ */
413
+ get SourceNodes(): SourceNodes;
414
+ /**
415
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
416
+ * They stay out of the equality and the hash of the object.
417
+ */
418
+ set SourceNodes(value: SourceNodes);
179
419
  Equals(o: any): boolean;
180
420
  GetHashCode(): int32;
181
421
  static get KnownFieldNames(): FSharpSet<string>;
422
+ /**
423
+ * Returns a new list of the fields of the record that are objects, or an empty list for a record without fields. The
424
+ * imports and the mixins are left out, so a change of the list changes nothing in the record. The entries of the
425
+ * record are in Fields.
426
+ */
427
+ static getFieldValuesOrEmpty(schema: InputRecordSchema): InputRecordField[];
182
428
  }
183
429
  export declare function InputRecordSchema_$reflection(): TypeInfo;
184
- export declare function InputRecordSchema_$ctor_Z52C4D9E4(fields?: InputRecordField[], label?: string, doc?: string, name?: string): InputRecordSchema;
430
+ export declare function InputRecordSchema_$ctor_6F045035(fields?: ListEntry$1_$union<InputRecordField>[], label?: SchemaSaladString_$union, doc?: DocText_$union, name?: string): InputRecordSchema;
185
431
  /**
186
432
  * Represents an array schema for workflow input parameters
187
433
  */
188
434
  export declare class InputArraySchema extends DynamicObj {
189
435
  _items: CWLType_$union;
190
- _label: Option<string>;
191
- _doc: Option<string>;
436
+ _label: Option<SchemaSaladString_$union>;
437
+ _doc: Option<DocText_$union>;
192
438
  _name: Option<string>;
193
- constructor(items: CWLType_$union, label?: string, doc?: string, name?: string);
439
+ _sourceNodes: SourceNodes;
440
+ constructor(items: CWLType_$union, label?: SchemaSaladString_$union, doc?: DocText_$union, name?: string);
194
441
  get Items(): CWLType_$union;
195
442
  set Items(value: CWLType_$union);
196
- get Label(): string | undefined;
197
- set Label(value: Option<string>);
198
- get Doc(): string | undefined;
199
- set Doc(value: Option<string>);
443
+ get Label(): SchemaSaladString_$union | undefined;
444
+ set Label(value: Option<SchemaSaladString_$union>);
445
+ get Doc(): DocText_$union | undefined;
446
+ set Doc(value: Option<DocText_$union>);
200
447
  get Name(): string | undefined;
201
448
  set Name(value: Option<string>);
449
+ /**
450
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
451
+ * They stay out of the equality and the hash of the object.
452
+ */
453
+ get SourceNodes(): SourceNodes;
454
+ /**
455
+ * The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
456
+ * They stay out of the equality and the hash of the object.
457
+ */
458
+ set SourceNodes(value: SourceNodes);
202
459
  Equals(o: any): boolean;
203
460
  GetHashCode(): int32;
204
461
  static get KnownFieldNames(): FSharpSet<string>;
205
462
  }
206
463
  export declare function InputArraySchema_$reflection(): TypeInfo;
207
- export declare function InputArraySchema_$ctor_4E4FFD9F(items: CWLType_$union, label?: string, doc?: string, name?: string): InputArraySchema;
208
- export type CWLType_$union = CWLType<0> | CWLType<1> | CWLType<2> | CWLType<3> | CWLType<4> | CWLType<5> | CWLType<6> | CWLType<7> | CWLType<8> | CWLType<9> | CWLType<10> | CWLType<11> | CWLType<12> | CWLType<13> | CWLType<14>;
464
+ export declare function InputArraySchema_$ctor_24D6AC35(items: CWLType_$union, label?: SchemaSaladString_$union, doc?: DocText_$union, name?: string): InputArraySchema;
465
+ export type CWLType_$union = CWLType<0> | CWLType<1> | CWLType<2> | CWLType<3> | CWLType<4> | CWLType<5> | CWLType<6> | CWLType<7> | CWLType<8> | CWLType<9> | CWLType<10> | CWLType<11> | CWLType<12> | CWLType<13> | CWLType<14> | CWLType<15> | CWLType<16> | CWLType<17> | CWLType<18> | CWLType<19> | CWLType<20> | CWLType<21>;
209
466
  export type CWLType_$cases = {
210
- 0: ["File", [FileInstance]];
211
- 1: ["Directory", [DirectoryInstance]];
212
- 2: ["Dirent", [DirentInstance]];
213
- 3: ["String", []];
214
- 4: ["Int", []];
215
- 5: ["Long", []];
216
- 6: ["Float", []];
217
- 7: ["Double", []];
218
- 8: ["Boolean", []];
467
+ 0: ["File", []];
468
+ 1: ["Directory", []];
469
+ 2: ["String", []];
470
+ 3: ["Int", []];
471
+ 4: ["Long", []];
472
+ 5: ["Float", []];
473
+ 6: ["Double", []];
474
+ 7: ["Boolean", []];
475
+ 8: ["Any", []];
219
476
  9: ["Stdout", []];
220
- 10: ["Null", []];
221
- 11: ["Array", [InputArraySchema]];
222
- 12: ["Record", [InputRecordSchema]];
223
- 13: ["Enum", [InputEnumSchema]];
224
- 14: ["Union", [CWLType_$union[]]];
477
+ 10: ["Stderr", []];
478
+ 11: ["Stdin", []];
479
+ 12: ["Reference", [string]];
480
+ 13: ["ImportedType", [string]];
481
+ 14: ["IncludedType", [string]];
482
+ 15: ["MixedType", [RawYaml]];
483
+ 16: ["RawType", [RawYaml]];
484
+ 17: ["Null", []];
485
+ 18: ["Array", [InputArraySchema]];
486
+ 19: ["Record", [InputRecordSchema]];
487
+ 20: ["Enum", [InputEnumSchema]];
488
+ 21: ["Union", [CWLType_$union[]]];
225
489
  };
226
- export declare function CWLType_File(Item: FileInstance): CWLType<0>;
227
- export declare function CWLType_Directory(Item: DirectoryInstance): CWLType<1>;
228
- export declare function CWLType_Dirent(Item: DirentInstance): CWLType<2>;
490
+ export declare function CWLType_File(): any;
491
+ export declare function CWLType_Directory(): any;
229
492
  export declare function CWLType_String$(): any;
230
493
  export declare function CWLType_Int(): any;
231
494
  export declare function CWLType_Long(): any;
232
495
  export declare function CWLType_Float(): any;
233
496
  export declare function CWLType_Double(): any;
234
497
  export declare function CWLType_Boolean$(): any;
498
+ export declare function CWLType_Any(): any;
235
499
  export declare function CWLType_Stdout(): any;
500
+ export declare function CWLType_Stderr(): any;
501
+ export declare function CWLType_Stdin(): any;
502
+ export declare function CWLType_Reference(Item: string): CWLType<12>;
503
+ export declare function CWLType_ImportedType(Item: string): CWLType<13>;
504
+ export declare function CWLType_IncludedType(Item: string): CWLType<14>;
505
+ export declare function CWLType_MixedType(Item: RawYaml): CWLType<15>;
506
+ export declare function CWLType_RawType(Item: RawYaml): CWLType<16>;
236
507
  export declare function CWLType_Null(): any;
237
- export declare function CWLType_Array$(Item: InputArraySchema): CWLType<11>;
238
- export declare function CWLType_Record(Item: InputRecordSchema): CWLType<12>;
239
- export declare function CWLType_Enum(Item: InputEnumSchema): CWLType<13>;
240
- export declare function CWLType_Union(Item: CWLType_$union[]): CWLType<14>;
508
+ export declare function CWLType_Array$(Item: InputArraySchema): CWLType<18>;
509
+ export declare function CWLType_Record(Item: InputRecordSchema): CWLType<19>;
510
+ export declare function CWLType_Enum(Item: InputEnumSchema): CWLType<20>;
511
+ export declare function CWLType_Union(Item: CWLType_$union[]): CWLType<21>;
241
512
  /**
242
513
  * Primitive types with the concept of a file and directory as a builtin type.
243
514
  */
@@ -246,60 +517,122 @@ export declare class CWLType<Tag extends keyof CWLType_$cases> extends Union<Tag
246
517
  readonly tag: Tag;
247
518
  readonly fields: CWLType_$cases[Tag][1];
248
519
  cases(): string[];
520
+ static readonly File: any;
521
+ static readonly Directory: any;
249
522
  static readonly String$: any;
250
523
  static readonly Int: any;
251
524
  static readonly Long: any;
252
525
  static readonly Float: any;
253
526
  static readonly Double: any;
254
527
  static readonly Boolean$: any;
528
+ static readonly Any: any;
255
529
  static readonly Stdout: any;
530
+ static readonly Stderr: any;
531
+ static readonly Stdin: any;
256
532
  static readonly Null: any;
257
533
  Equals(o: any): boolean;
258
534
  GetHashCode(): int32;
535
+ static file(): CWLType_$union;
536
+ static directory(): CWLType_$union;
537
+ static string(): CWLType_$union;
538
+ static int(): CWLType_$union;
539
+ static long(): CWLType_$union;
540
+ static float(): CWLType_$union;
541
+ static double(): CWLType_$union;
542
+ static boolean(): CWLType_$union;
543
+ static any(): CWLType_$union;
544
+ static stdout(): CWLType_$union;
545
+ static stderr(): CWLType_$union;
546
+ static stdin(): CWLType_$union;
547
+ static reference(value: string): CWLType_$union;
548
+ static importedType(value: string): CWLType_$union;
549
+ static includedType(value: string): CWLType_$union;
550
+ static mixedType(value: RawYaml): CWLType_$union;
551
+ static rawType(value: RawYaml): CWLType_$union;
552
+ static null(): CWLType_$union;
553
+ static array(value: InputArraySchema): CWLType_$union;
554
+ static enum(value: InputEnumSchema): CWLType_$union;
555
+ static record(value: InputRecordSchema): CWLType_$union;
556
+ static union(value: CWLType_$union[]): CWLType_$union;
259
557
  }
260
558
  export declare function CWLType_$reflection(): TypeInfo;
261
- export declare function CWLType_file(): CWLType_$union;
262
- export declare function CWLType_directory(): CWLType_$union;
263
- export declare class SchemaDefRequirementType extends DynamicObj {
264
- _name: string;
265
- _type: CWLType_$union;
266
- constructor(name: string, type_: CWLType_$union);
267
- get Name(): string;
268
- set Name(value: string);
269
- get Type_(): CWLType_$union;
270
- set Type_(value: CWLType_$union);
559
+ export type SchemaDefinition_$union = SchemaDefinition<0> | SchemaDefinition<1> | SchemaDefinition<2>;
560
+ export type SchemaDefinition_$cases = {
561
+ 0: ["Record", [InputRecordSchema]];
562
+ 1: ["Enum", [InputEnumSchema]];
563
+ 2: ["Array", [InputArraySchema]];
564
+ };
565
+ export declare function SchemaDefinition_Record(Item: InputRecordSchema): SchemaDefinition<0>;
566
+ export declare function SchemaDefinition_Enum(Item: InputEnumSchema): SchemaDefinition<1>;
567
+ export declare function SchemaDefinition_Array$(Item: InputArraySchema): SchemaDefinition<2>;
568
+ /**
569
+ * The schema that a SchemaDefRequirement defines. CWL admits record, enum and array schemas there and no other type,
570
+ * so an alias for a builtin type has no case. A union of the three schema classes holds that rule in the type itself,
571
+ * and no place has to check it. The schema keeps its own name, which is optional, and its own extension fields. A port
572
+ * cannot name an array definition, because cwltool reports its name as an unknown type, so the case only holds the
573
+ * definition of a document that never uses it.
574
+ */
575
+ export declare class SchemaDefinition<Tag extends keyof SchemaDefinition_$cases> extends Union<Tag, SchemaDefinition_$cases[Tag][0]> {
576
+ constructor(tag: Tag, fields: SchemaDefinition_$cases[Tag][1]);
577
+ readonly tag: Tag;
578
+ readonly fields: SchemaDefinition_$cases[Tag][1];
579
+ cases(): string[];
271
580
  Equals(o: any): boolean;
272
581
  GetHashCode(): int32;
273
- static get KnownFieldNames(): FSharpSet<string>;
274
582
  }
275
- export declare function SchemaDefRequirementType_$reflection(): TypeInfo;
276
- export declare function SchemaDefRequirementType_$ctor_Z1662A364(name: string, type_: CWLType_$union): SchemaDefRequirementType;
583
+ export declare function SchemaDefinition_$reflection(): TypeInfo;
277
584
  export declare class SoftwarePackage extends DynamicObj {
278
- _package: string;
279
- _version: Option<string[]>;
280
- _specs: Option<string[]>;
281
- constructor(package$: string, version?: string[], specs?: string[]);
282
- get Package(): string;
283
- set Package(value: string);
284
- get Version(): string[] | undefined;
285
- set Version(value: Option<string[]>);
286
- get Specs(): string[] | undefined;
287
- set Specs(value: Option<string[]>);
585
+ _package: SchemaSaladString_$union;
586
+ _version: Option<SchemaSaladString_$union[]>;
587
+ _specs: Option<SchemaSaladString_$union[]>;
588
+ constructor(package$: SchemaSaladString_$union, version?: SchemaSaladString_$union[], specs?: SchemaSaladString_$union[]);
589
+ get Package(): SchemaSaladString_$union;
590
+ set Package(value: SchemaSaladString_$union);
591
+ get Version(): SchemaSaladString_$union[] | undefined;
592
+ set Version(value: Option<SchemaSaladString_$union[]>);
593
+ get Specs(): SchemaSaladString_$union[] | undefined;
594
+ set Specs(value: Option<SchemaSaladString_$union[]>);
288
595
  Equals(o: any): boolean;
289
596
  GetHashCode(): int32;
290
597
  static get KnownFieldNames(): FSharpSet<string>;
291
598
  }
292
599
  export declare function SoftwarePackage_$reflection(): TypeInfo;
293
- export declare function SoftwarePackage_$ctor_7A38CADB(package$: string, version?: string[], specs?: string[]): SoftwarePackage;
600
+ export declare function SoftwarePackage_$ctor_Z14DD0A28(package$: SchemaSaladString_$union, version?: SchemaSaladString_$union[], specs?: SchemaSaladString_$union[]): SoftwarePackage;
601
+ /**
602
+ * The text of the path, or of the location when the path has none. The empty text stands when neither is a literal. A
603
+ * directive names a file whose text the model does not hold, so it counts as absent.
604
+ */
294
605
  export declare function FileInstanceModule_pathOrLocation(value: FileInstance): string;
606
+ /**
607
+ * The text of the path, or of the location when the path has none. The empty text stands when neither is a literal.
608
+ */
295
609
  export declare function DirectoryInstanceModule_pathOrLocation(value: DirectoryInstance): string;
296
610
  export declare function InputRecordSchemaModule_tryGetFieldType(name: string, schema: InputRecordSchema): Option<CWLType_$union>;
297
611
  /**
298
- * Compare two CWLTypes for equality, ignoring the metadata carried by File and Directory instances.
612
+ * Compare two CWLTypes for equality, ignoring the label, the doc and the name of array and record schemas.
299
613
  *
300
- * This is deliberately laxer than CWLType.Equals, which compares FileInstance and DirectoryInstance contents.
614
+ * This is deliberately laxer than CWLType.Equals, which compares them too.
301
615
  */
302
616
  export declare function CWLTypeModule_typesEqual(left_mut: CWLType_$union, right_mut: CWLType_$union): boolean;
617
+ /**
618
+ * True when a value of valueType fits a parameter of parameterType. A union admits what one of its members admits,
619
+ * so File? admits a File, and an array type admits an array whose items its items admit. Any admits every value, and
620
+ * so does a type that stays unresolved (a reference to a SchemaDefRequirement, $import, $include, $mixin or a raw
621
+ * type), because the type it stands for is unknown. Stdin admits what File admits, because a stdin input takes a File.
622
+ * Every other type admits the values of an equal type. The run conversion uses this rule to check the values of a job
623
+ * file against the inputs of a workflow.
624
+ */
625
+ export declare function CWLTypeModule_admits(parameterType_mut: CWLType_$union, valueType_mut: CWLType_$union): boolean;
626
+ /**
627
+ * True when the type is a union that contains null, so that a value of the type may be missing. The shorthand
628
+ * File? is such a union.
629
+ */
630
+ export declare function CWLTypeModule_isOptional(type_: CWLType_$union): boolean;
631
+ /**
632
+ * The type with null added: the union of null and the type, with null in front. A type that admits null already
633
+ * stays as it is, and the members of a union stay the members of one union.
634
+ */
635
+ export declare function CWLTypeModule_makeOptional(type_: CWLType_$union): CWLType_$union;
303
636
  /**
304
637
  * Helper function to check if a CWLType is or contains an Array type
305
638
  */