@nfdi4plants/arctrl 3.0.0-beta.8 → 3.0.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 (296) hide show
  1. package/README.md +30 -3
  2. package/dist/ts/index.d.ts +54 -16
  3. package/dist/ts/index.d.ts.map +1 -1
  4. package/dist/ts/index.js +56 -18
  5. package/dist/ts/ts/ARC.d.ts +38 -15
  6. package/dist/ts/ts/ARC.d.ts.map +1 -1
  7. package/dist/ts/ts/ARC.js +285 -140
  8. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +62 -0
  9. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -0
  10. package/dist/ts/ts/CWL/CWLProcessingUnit.js +250 -0
  11. package/dist/ts/ts/CWL/CWLTypes.d.ts +148 -0
  12. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -0
  13. package/dist/ts/ts/CWL/CWLTypes.js +384 -0
  14. package/dist/ts/ts/CWL/Decode.d.ts +210 -0
  15. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -0
  16. package/dist/ts/ts/CWL/Decode.js +2617 -0
  17. package/dist/ts/ts/CWL/Encode.d.ts +96 -0
  18. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -0
  19. package/dist/ts/ts/CWL/Encode.js +1509 -0
  20. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +50 -0
  21. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -0
  22. package/dist/ts/ts/CWL/ExpressionToolDescription.js +152 -0
  23. package/dist/ts/ts/CWL/HashHelpers.d.ts +9 -0
  24. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -0
  25. package/dist/ts/ts/CWL/HashHelpers.js +35 -0
  26. package/dist/ts/ts/CWL/Inputs.d.ts +31 -0
  27. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -0
  28. package/dist/ts/ts/CWL/Inputs.js +86 -0
  29. package/dist/ts/ts/CWL/OperationDescription.d.ts +46 -0
  30. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -0
  31. package/dist/ts/ts/CWL/OperationDescription.js +133 -0
  32. package/dist/ts/ts/CWL/Outputs.d.ts +44 -0
  33. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -0
  34. package/dist/ts/ts/CWL/Outputs.js +143 -0
  35. package/dist/ts/ts/CWL/ParameterReference.d.ts +23 -0
  36. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -0
  37. package/dist/ts/ts/CWL/ParameterReference.js +60 -0
  38. package/dist/ts/ts/CWL/Requirements.d.ts +206 -0
  39. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -0
  40. package/dist/ts/ts/CWL/Requirements.js +384 -0
  41. package/dist/ts/ts/CWL/ToolDescription.d.ts +50 -0
  42. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -0
  43. package/dist/ts/ts/CWL/ToolDescription.js +152 -0
  44. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +50 -0
  45. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -0
  46. package/dist/ts/ts/CWL/WorkflowDescription.js +142 -0
  47. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +160 -0
  48. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -0
  49. package/dist/ts/ts/CWL/WorkflowSteps.js +317 -0
  50. package/dist/ts/ts/CWLRunResolver.d.ts +45 -0
  51. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -0
  52. package/dist/ts/ts/CWLRunResolver.js +181 -0
  53. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  54. package/dist/ts/ts/Contract/ARC.js +27 -9
  55. package/dist/ts/ts/Contract/ArcRun.d.ts +6 -0
  56. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  57. package/dist/ts/ts/Contract/ArcRun.js +131 -4
  58. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +3 -0
  59. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  60. package/dist/ts/ts/Contract/ArcWorkflow.js +70 -4
  61. package/dist/ts/ts/Contract/Datamap.d.ts +25 -25
  62. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  63. package/dist/ts/ts/Contract/Datamap.js +61 -42
  64. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  65. package/dist/ts/ts/ContractIO/ContractIO.js +3 -1
  66. package/dist/ts/ts/Conversion/Assay.d.ts +13 -0
  67. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -0
  68. package/dist/ts/ts/Conversion/Assay.js +69 -0
  69. package/dist/ts/ts/Conversion/Basic.d.ts +105 -0
  70. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -0
  71. package/dist/ts/ts/Conversion/Basic.js +452 -0
  72. package/dist/ts/ts/Conversion/ColumnIndex.d.ts +11 -0
  73. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -0
  74. package/dist/ts/ts/Conversion/ColumnIndex.js +71 -0
  75. package/dist/ts/ts/Conversion/Datamap.d.ts +11 -0
  76. package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -0
  77. package/dist/ts/ts/Conversion/Datamap.js +21 -0
  78. package/dist/ts/ts/Conversion/DateTime.d.ts +4 -0
  79. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -0
  80. package/dist/ts/ts/Conversion/DateTime.js +23 -0
  81. package/dist/ts/ts/Conversion/Investigation.d.ts +12 -0
  82. package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -0
  83. package/dist/ts/ts/Conversion/Investigation.js +79 -0
  84. package/dist/ts/ts/Conversion/Person.d.ts +16 -0
  85. package/dist/ts/ts/Conversion/Person.d.ts.map +1 -0
  86. package/dist/ts/ts/Conversion/Person.js +100 -0
  87. package/dist/ts/ts/Conversion/Process.d.ts +84 -0
  88. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -0
  89. package/dist/ts/ts/Conversion/Process.js +455 -0
  90. package/dist/ts/ts/Conversion/Run.d.ts +35 -0
  91. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -0
  92. package/dist/ts/ts/Conversion/Run.js +254 -0
  93. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +16 -0
  94. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -0
  95. package/dist/ts/ts/Conversion/ScholarlyArticle.js +116 -0
  96. package/dist/ts/ts/Conversion/Study.d.ts +12 -0
  97. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -0
  98. package/dist/ts/ts/Conversion/Study.js +51 -0
  99. package/dist/ts/ts/Conversion/Table.d.ts +45 -0
  100. package/dist/ts/ts/Conversion/Table.d.ts.map +1 -0
  101. package/dist/ts/ts/Conversion/Table.js +203 -0
  102. package/dist/ts/ts/Conversion/Workflow.d.ts +91 -0
  103. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -0
  104. package/dist/ts/ts/Conversion/Workflow.js +455 -0
  105. package/dist/ts/ts/Conversion.d.ts +25 -276
  106. package/dist/ts/ts/Conversion.d.ts.map +1 -1
  107. package/dist/ts/ts/Conversion.js +64 -1477
  108. package/dist/ts/ts/Core/ArcTypes.d.ts +69 -59
  109. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  110. package/dist/ts/ts/Core/ArcTypes.js +251 -146
  111. package/dist/ts/ts/Core/Datamap.d.ts +53 -0
  112. package/dist/ts/ts/Core/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
  113. package/dist/ts/ts/Core/Datamap.js +177 -0
  114. package/dist/ts/ts/Core/Helper/Identifier.d.ts +24 -0
  115. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  116. package/dist/ts/ts/Core/Helper/Identifier.js +35 -2
  117. package/dist/ts/ts/Core/Table/ArcTable.d.ts +8 -8
  118. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  119. package/dist/ts/ts/Core/Table/ArcTable.js +20 -20
  120. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +4 -4
  121. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  122. package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -27
  123. package/dist/ts/ts/FileSystem/Path.d.ts +22 -0
  124. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  125. package/dist/ts/ts/FileSystem/Path.js +173 -3
  126. package/dist/ts/ts/Json/Assay.js +5 -5
  127. package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts.map +1 -1
  128. package/dist/ts/ts/Json/{DataMap/DataMap.d.ts → Datamap/Datamap.d.ts} +6 -6
  129. package/dist/ts/ts/Json/Datamap/Datamap.d.ts.map +1 -0
  130. package/dist/ts/ts/Json/{DataMap/DataMap.js → Datamap/Datamap.js} +3 -3
  131. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
  132. package/dist/ts/ts/Json/ROCrate/LDContext.js +21 -11
  133. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +1 -0
  134. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
  135. package/dist/ts/ts/Json/ROCrate/LDNode.js +18 -7
  136. package/dist/ts/ts/Json/Run.js +5 -5
  137. package/dist/ts/ts/Json/Study.js +5 -5
  138. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
  139. package/dist/ts/ts/Json/Workflow.js +10 -11
  140. package/dist/ts/ts/Json.d.ts +3 -5
  141. package/dist/ts/ts/Json.d.ts.map +1 -1
  142. package/dist/ts/ts/Json.js +4 -10
  143. package/dist/ts/ts/JsonIO/Datamap.d.ts +4 -4
  144. package/dist/ts/ts/JsonIO/Datamap.js +6 -6
  145. package/dist/ts/ts/JsonIO/Investigation.d.ts +0 -6
  146. package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
  147. package/dist/ts/ts/JsonIO/Investigation.js +2 -21
  148. package/dist/ts/ts/License.js +1 -1
  149. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  150. package/dist/ts/ts/ROCrate/LDContext.js +35 -31
  151. package/dist/ts/ts/ROCrate/LDObject.d.ts +2 -2
  152. package/dist/ts/ts/ROCrate/LDObject.js +2 -2
  153. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.d.ts.map +1 -1
  154. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +63 -0
  155. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -0
  156. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +361 -0
  157. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +39 -0
  158. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -0
  159. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +219 -0
  160. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +43 -0
  161. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -0
  162. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +224 -0
  163. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.d.ts.map +1 -1
  164. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.js +1 -1
  165. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.d.ts +34 -22
  166. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -0
  167. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.js +59 -2
  168. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.d.ts.map +1 -1
  169. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/File.d.ts +10 -4
  170. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -0
  171. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/File.js +34 -1
  172. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +59 -0
  173. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -0
  174. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +344 -0
  175. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProcess.d.ts +2 -0
  176. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -0
  177. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProcess.js +31 -5
  178. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProtocol.d.ts +6 -2
  179. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -0
  180. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProtocol.js +66 -15
  181. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.d.ts.map +1 -1
  182. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.d.ts.map +1 -1
  183. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.d.ts.map +1 -1
  184. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PropertyValue.d.ts +35 -11
  185. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -0
  186. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PropertyValue.js +191 -1
  187. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.d.ts.map +1 -1
  188. package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.d.ts.map +1 -1
  189. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +46 -0
  190. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -0
  191. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +247 -0
  192. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +12 -0
  193. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -0
  194. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +40 -0
  195. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +11 -0
  196. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -0
  197. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +46 -0
  198. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +2 -2
  199. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
  200. package/dist/ts/ts/ROCrate/ROCrateContext.js +6 -6
  201. package/dist/ts/ts/ROCrateIO.d.ts +7 -3
  202. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  203. package/dist/ts/ts/ROCrateIO.js +82 -13
  204. package/dist/ts/ts/Spreadsheet/ArcAssay.js +3 -3
  205. package/dist/ts/ts/Spreadsheet/ArcRun.js +2 -2
  206. package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
  207. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +2 -2
  208. package/dist/ts/ts/Spreadsheet/Datamap.d.ts +8 -0
  209. package/dist/ts/ts/Spreadsheet/Datamap.d.ts.map +1 -0
  210. package/dist/ts/ts/Spreadsheet/{DataMap.js → Datamap.js} +9 -9
  211. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts → DatamapTable/DatamapColumn.d.ts} +1 -1
  212. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts.map → DatamapTable/DatamapColumn.d.ts.map} +1 -1
  213. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.js → DatamapTable/DatamapColumn.js} +1 -1
  214. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts → DatamapTable/DatamapHeader.d.ts} +1 -1
  215. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts.map → DatamapTable/DatamapHeader.d.ts.map} +1 -1
  216. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts → DatamapTable/DatamapTable.d.ts} +5 -5
  217. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -0
  218. package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.js → DatamapTable/DatamapTable.js} +8 -8
  219. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +1 -1
  220. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  221. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +4 -4
  222. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +36 -0
  223. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -0
  224. package/dist/ts/ts/WorkflowGraph/Adapters.js +94 -0
  225. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +37 -0
  226. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -0
  227. package/dist/ts/ts/WorkflowGraph/BuildOptions.js +35 -0
  228. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +160 -0
  229. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -0
  230. package/dist/ts/ts/WorkflowGraph/Builder.js +556 -0
  231. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +182 -0
  232. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -0
  233. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +281 -0
  234. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +27 -0
  235. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -0
  236. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +49 -0
  237. package/dist/ts/ts/Xlsx.d.ts +5 -5
  238. package/dist/ts/ts/Xlsx.js +1 -1
  239. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +1 -1
  240. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  241. package/dist/ts/ts/Yaml/ValidationPackage.js +5 -5
  242. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +1 -1
  243. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  244. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -5
  245. package/dist/ts/ts/Yaml.d.ts +24 -0
  246. package/dist/ts/ts/Yaml.d.ts.map +1 -0
  247. package/dist/ts/ts/Yaml.js +56 -0
  248. package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynObj.fs.js +109 -0
  249. package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Encode.fs.js +1 -1
  250. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.3/FlowToBlock.fs.js +954 -0
  251. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.3/Interop/JsInterop.fs.js +10 -0
  252. package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Persil.fs.js +1 -1
  253. package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Reader.fs.js +208 -152
  254. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.3/Regex.fs.js +15 -0
  255. package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/RegexActivePatterns.fs.js +14 -10
  256. package/package.json +1 -1
  257. package/dist/ts/ts/Core/DataMap.d.ts +0 -52
  258. package/dist/ts/ts/Core/DataMap.js +0 -159
  259. package/dist/ts/ts/Json/DataMap/DataMap.d.ts.map +0 -1
  260. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +0 -1
  261. package/dist/ts/ts/ROCrate/Generic/File.d.ts.map +0 -1
  262. package/dist/ts/ts/ROCrate/Generic/LabProcess.d.ts.map +0 -1
  263. package/dist/ts/ts/ROCrate/Generic/LabProtocol.d.ts.map +0 -1
  264. package/dist/ts/ts/ROCrate/Generic/PropertyValue.d.ts.map +0 -1
  265. package/dist/ts/ts/Spreadsheet/DataMap.d.ts +0 -8
  266. package/dist/ts/ts/Spreadsheet/DataMap.d.ts.map +0 -1
  267. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +0 -1
  268. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +0 -10
  269. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +0 -11
  270. /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts +0 -0
  271. /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.js +0 -0
  272. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.d.ts +0 -0
  273. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.js +0 -0
  274. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.d.ts +0 -0
  275. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.d.ts +0 -0
  276. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.js +0 -0
  277. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.d.ts +0 -0
  278. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.js +0 -0
  279. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.d.ts +0 -0
  280. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.js +0 -0
  281. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.d.ts +0 -0
  282. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.js +0 -0
  283. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.d.ts +0 -0
  284. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.js +0 -0
  285. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.d.ts +0 -0
  286. /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.js +0 -0
  287. /package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.js → DatamapTable/DatamapHeader.js} +0 -0
  288. /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/DynamicObj.fs.js +0 -0
  289. /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/FableJS.fs.js +0 -0
  290. /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/HashCodes.fs.js +0 -0
  291. /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/PropertyHelper.fs.js +0 -0
  292. /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/ReflectionUtils.fs.js +0 -0
  293. /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Decode.fs.js +0 -0
  294. /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Preprocessing.fs.js +0 -0
  295. /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Writer.fs.js +0 -0
  296. /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/YAMLiciousTypes.fs.js +0 -0
@@ -1,5 +1,4 @@
1
1
  import { defaultArg, unwrap, value, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
- import { DataMap__Copy } from './DataMap.js';
3
2
  import { toArray, filter, contains, forAll, fold, length, toList, delay, map as map$1, item, choose, exists, tryFindIndex, iterate, removeAt, tryFind, append, collect } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
4
3
  import { stringHash, getEnumerator, safeHash, equals, disposeSafe, defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
5
4
  import { ResizeArray_map, ResizeArray_filter, ResizeArray_choose } from './Helper/Collections.js';
@@ -26,7 +25,7 @@ class ArcAssay extends ArcTables {
26
25
  this["measurementType@136"] = measurementType;
27
26
  this["technologyType@137"] = technologyType;
28
27
  this["technologyPlatform@138"] = technologyPlatform;
29
- this.dataMap = datamap;
28
+ this["datamap@139"] = datamap;
30
29
  this["performers@140-1"] = performers_1;
31
30
  this["comments@141-1"] = comments_1;
32
31
  this.staticHash = 0;
@@ -87,13 +86,13 @@ class ArcAssay extends ArcTables {
87
86
  const this$ = this;
88
87
  this$["technologyPlatform@138"] = n;
89
88
  }
90
- get DataMap() {
89
+ get Datamap() {
91
90
  const this$ = this;
92
- return unwrap(this$.dataMap);
91
+ return unwrap(this$["datamap@139"]);
93
92
  }
94
- set DataMap(n) {
93
+ set Datamap(n) {
95
94
  const this$ = this;
96
- this$.dataMap = n;
95
+ this$["datamap@139"] = n;
97
96
  }
98
97
  get Performers() {
99
98
  const this$ = this;
@@ -372,7 +371,7 @@ class ArcAssay extends ArcTables {
372
371
  const this$ = this;
373
372
  const nextTables = ResizeArray_map((c) => c.Copy(), this$.Tables);
374
373
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
375
- const nextDataMap = map(DataMap__Copy, this$.DataMap);
374
+ const nextDatamap = map((d) => d.Copy(), this$.Datamap);
376
375
  const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
377
376
  const identifier = this$.Identifier;
378
377
  const title = this$.Title;
@@ -380,7 +379,7 @@ class ArcAssay extends ArcTables {
380
379
  const measurementType = this$.MeasurementType;
381
380
  const technologyType = this$.TechnologyType;
382
381
  const technologyPlatform = this$.TechnologyPlatform;
383
- return ArcAssay.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextTables, nextDataMap, nextPerformers, nextComments);
382
+ return ArcAssay.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextTables, nextDatamap, nextPerformers, nextComments);
384
383
  }
385
384
  UpdateBy(assay, onlyReplaceExisting, appendSequences) {
386
385
  const this$ = this;
@@ -568,7 +567,7 @@ class ArcAssay extends ArcTables {
568
567
  if (assay.Comments.length !== 0 ? true : updateAlways) {
569
568
  this$.Comments = assay.Comments;
570
569
  }
571
- this$.DataMap = assay.DataMap;
570
+ this$.Datamap = assay.Datamap;
572
571
  if (assay.Performers.length !== 0 ? true : updateAlways) {
573
572
  this$.Performers = assay.Performers;
574
573
  }
@@ -576,7 +575,7 @@ class ArcAssay extends ArcTables {
576
575
  StructurallyEquals(other) {
577
576
  let a, b, a_1, b_1, a_2, b_2;
578
577
  const this$ = this;
579
- return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), equals(this$.DataMap, other.DataMap), (a = this$.Tables, b = other.Tables, length(a) === length(b) && fold((acc, e) => {
578
+ return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), equals(this$.Datamap, other.Datamap), (a = this$.Tables, b = other.Tables, length(a) === length(b) && fold((acc, e) => {
580
579
  if (acc) {
581
580
  return e;
582
581
  } else {
@@ -611,13 +610,13 @@ class ArcAssay extends ArcTables {
611
610
  }
612
611
  GetHashCode() {
613
612
  const this$ = this;
614
- return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
613
+ return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.Datamap), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
615
614
  }
616
615
  }
617
616
  function ArcAssay_$reflection() {
618
617
  return class_type("ARCtrl.ArcAssay", void 0, ArcAssay, ArcTables_$reflection());
619
618
  }
620
- function ArcAssay_$ctor_11E1F34(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
619
+ function ArcAssay_$ctor_Z69B192EC(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
621
620
  return new ArcAssay(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments);
622
621
  }
623
622
  class ArcStudy extends ArcTables {
@@ -715,11 +714,11 @@ class ArcStudy extends ArcTables {
715
714
  const this$ = this;
716
715
  this$["studyDesignDescriptors@590-1"] = n;
717
716
  }
718
- get DataMap() {
717
+ get Datamap() {
719
718
  const this$ = this;
720
719
  return unwrap(this$["datamap@591"]);
721
720
  }
722
- set DataMap(n) {
721
+ set Datamap(n) {
723
722
  const this$ = this;
724
723
  this$["datamap@591"] = n;
725
724
  }
@@ -1153,14 +1152,14 @@ class ArcStudy extends ArcTables {
1153
1152
  const nextContacts = ResizeArray_map((c_1) => c_1.Copy(), this$.Contacts);
1154
1153
  const nextPublications = ResizeArray_map((c_2) => c_2.Copy(), this$.Publications);
1155
1154
  const nextStudyDesignDescriptors = ResizeArray_map((c_3) => c_3.Copy(), this$.StudyDesignDescriptors);
1156
- const nextDataMap = map(DataMap__Copy, this$.DataMap);
1155
+ const nextDatamap = map((d) => d.Copy(), this$.Datamap);
1157
1156
  let study;
1158
1157
  const identifier = this$.Identifier;
1159
1158
  const title = this$.Title;
1160
1159
  const description = this$.Description;
1161
1160
  const submissionDate = this$.SubmissionDate;
1162
1161
  const publicReleaseDate = this$.PublicReleaseDate;
1163
- study = ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextDataMap, nextAssayIdentifiers, nextComments);
1162
+ study = ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextDatamap, nextAssayIdentifiers, nextComments);
1164
1163
  if (copyInvestigationRef_1) {
1165
1164
  study.Investigation = this$.Investigation;
1166
1165
  }
@@ -1194,7 +1193,7 @@ class ArcStudy extends ArcTables {
1194
1193
  const tables = ArcTables.updateReferenceTablesBySheets(new ArcTables(this$.Tables), new ArcTables(study.Tables), unwrap(keepUnusedRefTables));
1195
1194
  this$.Tables = tables.Tables;
1196
1195
  }
1197
- this$.DataMap = study.DataMap;
1196
+ this$.Datamap = study.Datamap;
1198
1197
  if (study.RegisteredAssayIdentifiers.length !== 0 ? true : updateAlways) {
1199
1198
  this$.RegisteredAssayIdentifiers = study.RegisteredAssayIdentifiers;
1200
1199
  }
@@ -1205,7 +1204,7 @@ class ArcStudy extends ArcTables {
1205
1204
  StructurallyEquals(other) {
1206
1205
  let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5;
1207
1206
  const this$ = this;
1208
- return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), equals(this$.DataMap, other.DataMap), (a = this$.Publications, b = other.Publications, length(a) === length(b) && fold((acc, e) => {
1207
+ return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), equals(this$.Datamap, other.Datamap), (a = this$.Publications, b = other.Publications, length(a) === length(b) && fold((acc, e) => {
1209
1208
  if (acc) {
1210
1209
  return e;
1211
1210
  } else {
@@ -1269,7 +1268,7 @@ class ArcStudy extends ArcTables {
1269
1268
  }
1270
1269
  GetHashCode() {
1271
1270
  const this$ = this;
1272
- return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashOption(this$.DataMap), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
1271
+ return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashOption(this$.Datamap), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
1273
1272
  }
1274
1273
  GetLightHashCode() {
1275
1274
  const this$ = this;
@@ -1279,11 +1278,11 @@ class ArcStudy extends ArcTables {
1279
1278
  function ArcStudy_$reflection() {
1280
1279
  return class_type("ARCtrl.ArcStudy", void 0, ArcStudy, ArcTables_$reflection());
1281
1280
  }
1282
- function ArcStudy_$ctor_64321D5B(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
1281
+ function ArcStudy_$ctor_Z273F64C5(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
1283
1282
  return new ArcStudy(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments);
1284
1283
  }
1285
1284
  class ArcWorkflow {
1286
- constructor(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
1285
+ constructor(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, cwlDescription, comments) {
1287
1286
  let identifier_1;
1288
1287
  this["identifier@1151"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1289
1288
  this.investigation = void 0;
@@ -1295,9 +1294,10 @@ class ArcWorkflow {
1295
1294
  this["version@1161"] = version;
1296
1295
  this["parameters@1162"] = defaultArg(parameters, []);
1297
1296
  this["components@1163"] = defaultArg(components, []);
1298
- this.dataMap = datamap;
1297
+ this["datamap@1164"] = datamap;
1299
1298
  this["contacts@1165"] = defaultArg(contacts, []);
1300
- this["comments@1166"] = defaultArg(comments, []);
1299
+ this["cwlDescription@1166"] = cwlDescription;
1300
+ this["comments@1167"] = defaultArg(comments, []);
1301
1301
  this.staticHash = 0;
1302
1302
  }
1303
1303
  get Identifier() {
@@ -1380,13 +1380,13 @@ class ArcWorkflow {
1380
1380
  const this$ = this;
1381
1381
  this$["components@1163"] = c;
1382
1382
  }
1383
- get DataMap() {
1383
+ get Datamap() {
1384
1384
  const this$ = this;
1385
- return unwrap(this$.dataMap);
1385
+ return unwrap(this$["datamap@1164"]);
1386
1386
  }
1387
- set DataMap(dm) {
1387
+ set Datamap(dm) {
1388
1388
  const this$ = this;
1389
- this$.dataMap = dm;
1389
+ this$["datamap@1164"] = dm;
1390
1390
  }
1391
1391
  get Contacts() {
1392
1392
  const this$ = this;
@@ -1396,13 +1396,21 @@ class ArcWorkflow {
1396
1396
  const this$ = this;
1397
1397
  this$["contacts@1165"] = c;
1398
1398
  }
1399
+ get CWLDescription() {
1400
+ const this$ = this;
1401
+ return unwrap(this$["cwlDescription@1166"]);
1402
+ }
1403
+ set CWLDescription(c) {
1404
+ const this$ = this;
1405
+ this$["cwlDescription@1166"] = c;
1406
+ }
1399
1407
  get Comments() {
1400
1408
  const this$ = this;
1401
- return this$["comments@1166"];
1409
+ return this$["comments@1167"];
1402
1410
  }
1403
1411
  set Comments(c) {
1404
1412
  const this$ = this;
1405
- this$["comments@1166"] = c;
1413
+ this$["comments@1167"] = c;
1406
1414
  }
1407
1415
  get StaticHash() {
1408
1416
  const this$ = this;
@@ -1415,11 +1423,11 @@ class ArcWorkflow {
1415
1423
  static init(identifier) {
1416
1424
  return new ArcWorkflow(identifier);
1417
1425
  }
1418
- static create(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
1419
- return new ArcWorkflow(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), unwrap(subWorkflowIdentifiers), unwrap(parameters), unwrap(components), unwrap(datamap), unwrap(contacts), unwrap(comments));
1426
+ static create(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, cwlDescription, comments) {
1427
+ return new ArcWorkflow(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), unwrap(subWorkflowIdentifiers), unwrap(parameters), unwrap(components), unwrap(datamap), unwrap(contacts), unwrap(cwlDescription), unwrap(comments));
1420
1428
  }
1421
- static make(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
1422
- return new ArcWorkflow(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), subWorkflowIdentifiers, parameters, components, unwrap(datamap), contacts, comments);
1429
+ static make(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, cwlDescription, comments) {
1430
+ return new ArcWorkflow(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), subWorkflowIdentifiers, parameters, components, unwrap(datamap), contacts, unwrap(cwlDescription), comments);
1423
1431
  }
1424
1432
  static get FileName() {
1425
1433
  return "isa.run.xlsx";
@@ -1576,7 +1584,7 @@ class ArcWorkflow {
1576
1584
  const nextSubWorkflowIdentifiers = Array.from(this$.SubWorkflowIdentifiers);
1577
1585
  const nextParameters = ResizeArray_map((x) => x, this$.Parameters);
1578
1586
  const nextComponents = ResizeArray_map((x_1) => x_1, this$.Components);
1579
- const nextDataMap = map(DataMap__Copy, this$.DataMap);
1587
+ const nextDatamap = map((d) => d.Copy(), this$.Datamap);
1580
1588
  const nextContacts = ResizeArray_map((c) => c.Copy(), this$.Contacts);
1581
1589
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
1582
1590
  let workflow;
@@ -1585,7 +1593,8 @@ class ArcWorkflow {
1585
1593
  const description = this$.Description;
1586
1594
  const uri = this$.URI;
1587
1595
  const version = this$.Version;
1588
- workflow = ArcWorkflow.make(identifier, title, description, nextWorkFlowType, uri, version, nextSubWorkflowIdentifiers, nextParameters, nextComponents, nextDataMap, nextContacts, nextComments);
1596
+ const cwlDescription = this$.CWLDescription;
1597
+ workflow = ArcWorkflow.make(identifier, title, description, nextWorkFlowType, uri, version, nextSubWorkflowIdentifiers, nextParameters, nextComponents, nextDatamap, nextContacts, cwlDescription, nextComments);
1589
1598
  if (copyInvestigationRef_1) {
1590
1599
  workflow.Investigation = this$.Investigation;
1591
1600
  }
@@ -1612,13 +1621,13 @@ class ArcWorkflow {
1612
1621
  } else {
1613
1622
  return false;
1614
1623
  }
1615
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.DataMap, other.DataMap), (a_3 = this$.Contacts, b_3 = other.Contacts, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
1624
+ }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.Datamap, other.Datamap), (a_3 = this$.Contacts, b_3 = other.Contacts, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
1616
1625
  if (acc_3) {
1617
1626
  return e_3;
1618
1627
  } else {
1619
1628
  return false;
1620
1629
  }
1621
- }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
1630
+ }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), equals(this$.CWLDescription, other.CWLDescription), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
1622
1631
  if (acc_4) {
1623
1632
  return e_4;
1624
1633
  } else {
@@ -1641,10 +1650,10 @@ class ArcWorkflow {
1641
1650
  const arg_6 = this$.SubWorkflowIdentifiers;
1642
1651
  const arg_7 = this$.Parameters;
1643
1652
  const arg_8 = this$.Components;
1644
- const arg_9 = this$.DataMap;
1653
+ const arg_9 = this$.Datamap;
1645
1654
  const arg_10 = this$.Contacts;
1646
1655
  const arg_11 = this$.Comments;
1647
- return toText(printf("ArcWorkflow {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n WorkflowType = %A,\r\n URI = %A,\r\n Version = %A,\r\n SubWorkflowIdentifiers = %A,\r\n Parameters = %A,\r\n Components = %A,\r\n DataMap = %A,\r\n Contacts = %A,\r\n Comments = %A}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11);
1656
+ return toText(printf("ArcWorkflow {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n WorkflowType = %A,\r\n URI = %A,\r\n Version = %A,\r\n SubWorkflowIdentifiers = %A,\r\n Parameters = %A,\r\n Components = %A,\r\n Datamap = %A,\r\n Contacts = %A,\r\n Comments = %A}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11);
1648
1657
  }
1649
1658
  Equals(other) {
1650
1659
  let s;
@@ -1653,7 +1662,7 @@ class ArcWorkflow {
1653
1662
  }
1654
1663
  GetHashCode() {
1655
1664
  const this$ = this;
1656
- return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.WorkflowType), boxHashOption(this$.URI), boxHashOption(this$.Version), boxHashSeq(this$.SubWorkflowIdentifiers), boxHashSeq(this$.Parameters), boxHashSeq(this$.Components), boxHashOption(this$.DataMap), boxHashSeq(this$.Contacts), boxHashSeq(this$.Comments)]) | 0;
1665
+ return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.WorkflowType), boxHashOption(this$.URI), boxHashOption(this$.Version), boxHashSeq(this$.SubWorkflowIdentifiers), boxHashSeq(this$.Parameters), boxHashSeq(this$.Components), boxHashOption(this$.Datamap), boxHashSeq(this$.Contacts), boxHashOption(this$.CWLDescription), boxHashSeq(this$.Comments)]) | 0;
1657
1666
  }
1658
1667
  GetLightHashCode() {
1659
1668
  const this$ = this;
@@ -1663,36 +1672,39 @@ class ArcWorkflow {
1663
1672
  function ArcWorkflow_$reflection() {
1664
1673
  return class_type("ARCtrl.ArcWorkflow", void 0, ArcWorkflow);
1665
1674
  }
1666
- function ArcWorkflow_$ctor_Z3BB02240(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
1667
- return new ArcWorkflow(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments);
1675
+ function ArcWorkflow_$ctor_Z5FF2D3D5(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, cwlDescription, comments) {
1676
+ return new ArcWorkflow(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, cwlDescription, comments);
1668
1677
  }
1669
1678
  class ArcRun extends ArcTables {
1670
- constructor(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
1679
+ constructor(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, cwlDescription, cwlInput, comments) {
1671
1680
  super(defaultArg(tables, []));
1672
1681
  let identifier_1;
1673
1682
  const performers_1 = defaultArg(performers, []);
1674
1683
  const comments_1 = defaultArg(comments, []);
1675
1684
  const workflowIdentifiers_1 = defaultArg(workflowIdentifiers, []);
1676
- this["identifier@1447"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1677
- this["title@1451"] = title;
1678
- this["description@1452"] = description;
1685
+ const cwlInput_1 = defaultArg(cwlInput, []);
1686
+ this["identifier@1453"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1687
+ this["title@1457"] = title;
1688
+ this["description@1458"] = description;
1679
1689
  this.investigation = void 0;
1680
- this["measurementType@1454"] = measurementType;
1681
- this["technologyType@1455"] = technologyType;
1682
- this["technologyPlatform@1456"] = technologyPlatform;
1683
- this["workflowIdentifiers@1457-1"] = workflowIdentifiers_1;
1684
- this.dataMap = datamap;
1685
- this["performers@1459-1"] = performers_1;
1686
- this["comments@1460-1"] = comments_1;
1690
+ this["measurementType@1460"] = measurementType;
1691
+ this["technologyType@1461"] = technologyType;
1692
+ this["technologyPlatform@1462"] = technologyPlatform;
1693
+ this["workflowIdentifiers@1463-1"] = workflowIdentifiers_1;
1694
+ this["datamap@1464"] = datamap;
1695
+ this["performers@1465-1"] = performers_1;
1696
+ this["cwlDescription@1466"] = cwlDescription;
1697
+ this["cwlInput@1467-1"] = cwlInput_1;
1698
+ this["comments@1468-1"] = comments_1;
1687
1699
  this.staticHash = 0;
1688
1700
  }
1689
1701
  get Identifier() {
1690
1702
  const this$ = this;
1691
- return this$["identifier@1447"];
1703
+ return this$["identifier@1453"];
1692
1704
  }
1693
1705
  set Identifier(i) {
1694
1706
  const this$ = this;
1695
- this$["identifier@1447"] = i;
1707
+ this$["identifier@1453"] = i;
1696
1708
  }
1697
1709
  get Investigation() {
1698
1710
  const this$ = this;
@@ -1704,75 +1716,91 @@ class ArcRun extends ArcTables {
1704
1716
  }
1705
1717
  get Title() {
1706
1718
  const this$ = this;
1707
- return unwrap(this$["title@1451"]);
1719
+ return unwrap(this$["title@1457"]);
1708
1720
  }
1709
1721
  set Title(t) {
1710
1722
  const this$ = this;
1711
- this$["title@1451"] = t;
1723
+ this$["title@1457"] = t;
1712
1724
  }
1713
1725
  get Description() {
1714
1726
  const this$ = this;
1715
- return unwrap(this$["description@1452"]);
1727
+ return unwrap(this$["description@1458"]);
1716
1728
  }
1717
1729
  set Description(d) {
1718
1730
  const this$ = this;
1719
- this$["description@1452"] = d;
1731
+ this$["description@1458"] = d;
1720
1732
  }
1721
1733
  get MeasurementType() {
1722
1734
  const this$ = this;
1723
- return unwrap(this$["measurementType@1454"]);
1735
+ return unwrap(this$["measurementType@1460"]);
1724
1736
  }
1725
1737
  set MeasurementType(n) {
1726
1738
  const this$ = this;
1727
- this$["measurementType@1454"] = n;
1739
+ this$["measurementType@1460"] = n;
1728
1740
  }
1729
1741
  get TechnologyType() {
1730
1742
  const this$ = this;
1731
- return unwrap(this$["technologyType@1455"]);
1743
+ return unwrap(this$["technologyType@1461"]);
1732
1744
  }
1733
1745
  set TechnologyType(n) {
1734
1746
  const this$ = this;
1735
- this$["technologyType@1455"] = n;
1747
+ this$["technologyType@1461"] = n;
1736
1748
  }
1737
1749
  get TechnologyPlatform() {
1738
1750
  const this$ = this;
1739
- return unwrap(this$["technologyPlatform@1456"]);
1751
+ return unwrap(this$["technologyPlatform@1462"]);
1740
1752
  }
1741
1753
  set TechnologyPlatform(n) {
1742
1754
  const this$ = this;
1743
- this$["technologyPlatform@1456"] = n;
1755
+ this$["technologyPlatform@1462"] = n;
1744
1756
  }
1745
1757
  get WorkflowIdentifiers() {
1746
1758
  const this$ = this;
1747
- return this$["workflowIdentifiers@1457-1"];
1759
+ return this$["workflowIdentifiers@1463-1"];
1748
1760
  }
1749
1761
  set WorkflowIdentifiers(w) {
1750
1762
  const this$ = this;
1751
- this$["workflowIdentifiers@1457-1"] = w;
1763
+ this$["workflowIdentifiers@1463-1"] = w;
1752
1764
  }
1753
- get DataMap() {
1765
+ get Datamap() {
1754
1766
  const this$ = this;
1755
- return unwrap(this$.dataMap);
1767
+ return unwrap(this$["datamap@1464"]);
1756
1768
  }
1757
- set DataMap(n) {
1769
+ set Datamap(n) {
1758
1770
  const this$ = this;
1759
- this$.dataMap = n;
1771
+ this$["datamap@1464"] = n;
1760
1772
  }
1761
1773
  get Performers() {
1762
1774
  const this$ = this;
1763
- return this$["performers@1459-1"];
1775
+ return this$["performers@1465-1"];
1764
1776
  }
1765
1777
  set Performers(n) {
1766
1778
  const this$ = this;
1767
- this$["performers@1459-1"] = n;
1779
+ this$["performers@1465-1"] = n;
1780
+ }
1781
+ get CWLDescription() {
1782
+ const this$ = this;
1783
+ return unwrap(this$["cwlDescription@1466"]);
1784
+ }
1785
+ set CWLDescription(n) {
1786
+ const this$ = this;
1787
+ this$["cwlDescription@1466"] = n;
1788
+ }
1789
+ get CWLInput() {
1790
+ const this$ = this;
1791
+ return this$["cwlInput@1467-1"];
1792
+ }
1793
+ set CWLInput(n) {
1794
+ const this$ = this;
1795
+ this$["cwlInput@1467-1"] = n;
1768
1796
  }
1769
1797
  get Comments() {
1770
1798
  const this$ = this;
1771
- return this$["comments@1460-1"];
1799
+ return this$["comments@1468-1"];
1772
1800
  }
1773
1801
  set Comments(n) {
1774
1802
  const this$ = this;
1775
- this$["comments@1460-1"] = n;
1803
+ this$["comments@1468-1"] = n;
1776
1804
  }
1777
1805
  get StaticHash() {
1778
1806
  const this$ = this;
@@ -1785,11 +1813,11 @@ class ArcRun extends ArcTables {
1785
1813
  static init(identifier) {
1786
1814
  return new ArcRun(identifier);
1787
1815
  }
1788
- static create(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
1789
- return new ArcRun(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), unwrap(workflowIdentifiers), unwrap(tables), unwrap(datamap), unwrap(performers), unwrap(comments));
1816
+ static create(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, cwlDescription, cwlInput, comments) {
1817
+ return new ArcRun(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), unwrap(workflowIdentifiers), unwrap(tables), unwrap(datamap), unwrap(performers), unwrap(cwlDescription), unwrap(cwlInput), unwrap(comments));
1790
1818
  }
1791
- static make(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
1792
- return new ArcRun(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), workflowIdentifiers, tables, unwrap(datamap), performers, comments);
1819
+ static make(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, cwlDescription, cwlInput, comments) {
1820
+ return new ArcRun(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), workflowIdentifiers, tables, unwrap(datamap), performers, unwrap(cwlDescription), cwlInput, comments);
1793
1821
  }
1794
1822
  static get FileName() {
1795
1823
  return "isa.run.xlsx";
@@ -2051,7 +2079,7 @@ class ArcRun extends ArcTables {
2051
2079
  const this$ = this;
2052
2080
  const nextTables = ResizeArray_map((c) => c.Copy(), this$.Tables);
2053
2081
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
2054
- const nextDataMap = map(DataMap__Copy, this$.DataMap);
2082
+ const nextDatamap = map((d) => d.Copy(), this$.Datamap);
2055
2083
  const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
2056
2084
  const nextWorkflowIdentifiers = ResizeArray_map((c_3) => c_3, this$.WorkflowIdentifiers);
2057
2085
  const identifier = this$.Identifier;
@@ -2060,7 +2088,9 @@ class ArcRun extends ArcTables {
2060
2088
  const measurementType = this$.MeasurementType;
2061
2089
  const technologyType = this$.TechnologyType;
2062
2090
  const technologyPlatform = this$.TechnologyPlatform;
2063
- return ArcRun.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextWorkflowIdentifiers, nextTables, nextDataMap, nextPerformers, nextComments);
2091
+ const cwlDescription = this$.CWLDescription;
2092
+ const cwlInput = this$.CWLInput;
2093
+ return ArcRun.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextWorkflowIdentifiers, nextTables, nextDatamap, nextPerformers, cwlDescription, cwlInput, nextComments);
2064
2094
  }
2065
2095
  UpdateBy(run, onlyReplaceExisting, appendSequences) {
2066
2096
  const this$ = this;
@@ -2122,8 +2152,8 @@ class ArcRun extends ArcTables {
2122
2152
  }
2123
2153
  this$.WorkflowIdentifiers = s;
2124
2154
  }
2125
- if (run.DataMap != null ? true : updateAlways) {
2126
- this$.DataMap = run.DataMap;
2155
+ if (run.Datamap != null ? true : updateAlways) {
2156
+ this$.Datamap = run.Datamap;
2127
2157
  }
2128
2158
  if (run.Tables.length !== 0 ? true : updateAlways) {
2129
2159
  let s_1;
@@ -2205,10 +2235,13 @@ class ArcRun extends ArcTables {
2205
2235
  }
2206
2236
  this$.Performers = s_2;
2207
2237
  }
2208
- if (run.Comments.length !== 0 ? true : updateAlways) {
2238
+ if (run.CWLDescription != null ? true : updateAlways) {
2239
+ this$.CWLDescription = run.CWLDescription;
2240
+ }
2241
+ if (run.CWLInput.length !== 0 ? true : updateAlways) {
2209
2242
  let s_3;
2210
- const origin_3 = this$.Comments;
2211
- const next_3 = run.Comments;
2243
+ const origin_3 = this$.CWLInput;
2244
+ const next_3 = run.CWLInput;
2212
2245
  if (!appendSequences_1) {
2213
2246
  s_3 = ResizeArray_map((x_9) => x_9, next_3);
2214
2247
  } else {
@@ -2243,7 +2276,47 @@ class ArcRun extends ArcTables {
2243
2276
  }
2244
2277
  s_3 = combined_3;
2245
2278
  }
2246
- this$.Comments = s_3;
2279
+ this$.CWLInput = s_3;
2280
+ }
2281
+ if (run.Comments.length !== 0 ? true : updateAlways) {
2282
+ let s_4;
2283
+ const origin_4 = this$.Comments;
2284
+ const next_4 = run.Comments;
2285
+ if (!appendSequences_1) {
2286
+ s_4 = ResizeArray_map((x_12) => x_12, next_4);
2287
+ } else {
2288
+ const combined_4 = [];
2289
+ let enumerator_5 = getEnumerator(origin_4);
2290
+ try {
2291
+ while (enumerator_5["System.Collections.IEnumerator.MoveNext"]()) {
2292
+ const e_5 = enumerator_5["System.Collections.Generic.IEnumerator`1.get_Current"]();
2293
+ if (!contains$1(e_5, combined_4, {
2294
+ Equals: equals,
2295
+ GetHashCode: safeHash
2296
+ })) {
2297
+ void combined_4.push(e_5);
2298
+ }
2299
+ }
2300
+ } finally {
2301
+ disposeSafe(enumerator_5);
2302
+ }
2303
+ let enumerator_1_4 = getEnumerator(next_4);
2304
+ try {
2305
+ while (enumerator_1_4["System.Collections.IEnumerator.MoveNext"]()) {
2306
+ const e_1_4 = enumerator_1_4["System.Collections.Generic.IEnumerator`1.get_Current"]();
2307
+ if (!contains$1(e_1_4, combined_4, {
2308
+ Equals: equals,
2309
+ GetHashCode: safeHash
2310
+ })) {
2311
+ void combined_4.push(e_1_4);
2312
+ }
2313
+ }
2314
+ } finally {
2315
+ disposeSafe(enumerator_1_4);
2316
+ }
2317
+ s_4 = combined_4;
2318
+ }
2319
+ this$.Comments = s_4;
2247
2320
  }
2248
2321
  }
2249
2322
  toString() {
@@ -2255,11 +2328,11 @@ class ArcRun extends ArcTables {
2255
2328
  const arg_4 = this$.TechnologyType;
2256
2329
  const arg_5 = this$.TechnologyPlatform;
2257
2330
  const arg_6 = this$.WorkflowIdentifiers;
2258
- const arg_7 = this$.DataMap;
2331
+ const arg_7 = this$.Datamap;
2259
2332
  const arg_8 = this$.Tables;
2260
2333
  const arg_9 = this$.Performers;
2261
2334
  const arg_10 = this$.Comments;
2262
- return toText(printf('ArcRun({\r\n Identifier = "%s",\r\n Title = %A,\r\n Description = %A,\r\n MeasurementType = %A,\r\n TechnologyType = %A,\r\n TechnologyPlatform = %A,\r\n WorkflowIdentifiers = %A,\r\n DataMap = %A,\r\n Tables = %A,\r\n Performers = %A,\r\n Comments = %A\r\n})'))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10);
2335
+ return toText(printf('ArcRun({\r\n Identifier = "%s",\r\n Title = %A,\r\n Description = %A,\r\n MeasurementType = %A,\r\n TechnologyType = %A,\r\n TechnologyPlatform = %A,\r\n WorkflowIdentifiers = %A,\r\n Datamap = %A,\r\n Tables = %A,\r\n Performers = %A,\r\n Comments = %A\r\n})'))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10);
2263
2336
  }
2264
2337
  AddToInvestigation(investigation) {
2265
2338
  const this$ = this;
@@ -2270,7 +2343,7 @@ class ArcRun extends ArcTables {
2270
2343
  this$.Investigation = void 0;
2271
2344
  }
2272
2345
  StructurallyEquals(other) {
2273
- let a, b, a_1, b_1, a_2, b_2, a_3, b_3;
2346
+ let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4;
2274
2347
  const this$ = this;
2275
2348
  return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), (a = this$.WorkflowIdentifiers, b = other.WorkflowIdentifiers, length(a) === length(b) && fold((acc, e) => {
2276
2349
  if (acc) {
@@ -2278,7 +2351,7 @@ class ArcRun extends ArcTables {
2278
2351
  } else {
2279
2352
  return false;
2280
2353
  }
2281
- }, true, toList(delay(() => map$1((i_1) => item(i_1, a) === item(i_1, b), rangeDouble(0, 1, length(a) - 1)))))), equals(this$.DataMap, other.DataMap), (a_1 = this$.Tables, b_1 = other.Tables, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
2354
+ }, true, toList(delay(() => map$1((i_1) => item(i_1, a) === item(i_1, b), rangeDouble(0, 1, length(a) - 1)))))), equals(this$.Datamap, other.Datamap), (a_1 = this$.Tables, b_1 = other.Tables, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
2282
2355
  if (acc_1) {
2283
2356
  return e_1;
2284
2357
  } else {
@@ -2290,13 +2363,19 @@ class ArcRun extends ArcTables {
2290
2363
  } else {
2291
2364
  return false;
2292
2365
  }
2293
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), (a_3 = this$.Comments, b_3 = other.Comments, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
2366
+ }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.CWLDescription, other.CWLDescription), (a_3 = this$.CWLInput, b_3 = other.CWLInput, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
2294
2367
  if (acc_3) {
2295
2368
  return e_3;
2296
2369
  } else {
2297
2370
  return false;
2298
2371
  }
2299
- }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))]);
2372
+ }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
2373
+ if (acc_4) {
2374
+ return e_4;
2375
+ } else {
2376
+ return false;
2377
+ }
2378
+ }, true, toList(delay(() => map$1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))]);
2300
2379
  }
2301
2380
  ReferenceEquals(other) {
2302
2381
  const this$ = this;
@@ -2313,14 +2392,14 @@ class ArcRun extends ArcTables {
2313
2392
  }
2314
2393
  GetHashCode() {
2315
2394
  const this$ = this;
2316
- return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.WorkflowIdentifiers), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
2395
+ return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.Datamap), boxHashSeq(this$.WorkflowIdentifiers), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashOption(this$.CWLDescription), boxHashSeq(this$.CWLInput), boxHashSeq(this$.Comments)]) | 0;
2317
2396
  }
2318
2397
  }
2319
2398
  function ArcRun_$reflection() {
2320
2399
  return class_type("ARCtrl.ArcRun", void 0, ArcRun, ArcTables_$reflection());
2321
2400
  }
2322
- function ArcRun_$ctor_Z38E7054B(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
2323
- return new ArcRun(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments);
2401
+ function ArcRun_$ctor_287C1303(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, cwlDescription, cwlInput, comments) {
2402
+ return new ArcRun(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, cwlDescription, cwlInput, comments);
2324
2403
  }
2325
2404
  class ArcInvestigation {
2326
2405
  constructor(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
@@ -2380,143 +2459,143 @@ class ArcInvestigation {
2380
2459
  const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
2381
2460
  const comments_1 = defaultArg(comments, []);
2382
2461
  const remarks_1 = defaultArg(remarks, []);
2383
- this["identifier@1928"] = identifier;
2384
- this["title@1929"] = title;
2385
- this["description@1930"] = description;
2386
- this["submissionDate@1931"] = submissionDate;
2387
- this["publicReleaseDate@1932"] = publicReleaseDate;
2388
- this["ontologySourceReferences@1933-1"] = ontologySourceReferences_1;
2389
- this["publications@1934-1"] = publications_1;
2390
- this["contacts@1935-1"] = contacts_1;
2391
- this["assays@1936-1"] = assays_1;
2392
- this["studies@1937-1"] = studies_1;
2393
- this["workflows@1938-1"] = workflows_1;
2394
- this["runs@1939-1"] = runs_1;
2395
- this["registeredStudyIdentifiers@1940-1"] = registeredStudyIdentifiers_1;
2396
- this["comments@1941-1"] = comments_1;
2397
- this["remarks@1942-1"] = remarks_1;
2462
+ this["identifier@1951"] = identifier;
2463
+ this["title@1952"] = title;
2464
+ this["description@1953"] = description;
2465
+ this["submissionDate@1954"] = submissionDate;
2466
+ this["publicReleaseDate@1955"] = publicReleaseDate;
2467
+ this["ontologySourceReferences@1956-1"] = ontologySourceReferences_1;
2468
+ this["publications@1957-1"] = publications_1;
2469
+ this["contacts@1958-1"] = contacts_1;
2470
+ this["assays@1959-1"] = assays_1;
2471
+ this["studies@1960-1"] = studies_1;
2472
+ this["workflows@1961-1"] = workflows_1;
2473
+ this["runs@1962-1"] = runs_1;
2474
+ this["registeredStudyIdentifiers@1963-1"] = registeredStudyIdentifiers_1;
2475
+ this["comments@1964-1"] = comments_1;
2476
+ this["remarks@1965-1"] = remarks_1;
2398
2477
  this.staticHash = 0;
2399
- this["init@1899"] = 1;
2478
+ this["init@1922"] = 1;
2400
2479
  }
2401
2480
  get Identifier() {
2402
2481
  const this$ = this;
2403
- return this$["identifier@1928"];
2482
+ return this$["identifier@1951"];
2404
2483
  }
2405
2484
  set Identifier(i) {
2406
2485
  const this$ = this;
2407
- this$["identifier@1928"] = i;
2486
+ this$["identifier@1951"] = i;
2408
2487
  }
2409
2488
  get Title() {
2410
2489
  const this$ = this;
2411
- return unwrap(this$["title@1929"]);
2490
+ return unwrap(this$["title@1952"]);
2412
2491
  }
2413
2492
  set Title(n) {
2414
2493
  const this$ = this;
2415
- this$["title@1929"] = n;
2494
+ this$["title@1952"] = n;
2416
2495
  }
2417
2496
  get Description() {
2418
2497
  const this$ = this;
2419
- return unwrap(this$["description@1930"]);
2498
+ return unwrap(this$["description@1953"]);
2420
2499
  }
2421
2500
  set Description(n) {
2422
2501
  const this$ = this;
2423
- this$["description@1930"] = n;
2502
+ this$["description@1953"] = n;
2424
2503
  }
2425
2504
  get SubmissionDate() {
2426
2505
  const this$ = this;
2427
- return unwrap(this$["submissionDate@1931"]);
2506
+ return unwrap(this$["submissionDate@1954"]);
2428
2507
  }
2429
2508
  set SubmissionDate(n) {
2430
2509
  const this$ = this;
2431
- this$["submissionDate@1931"] = n;
2510
+ this$["submissionDate@1954"] = n;
2432
2511
  }
2433
2512
  get PublicReleaseDate() {
2434
2513
  const this$ = this;
2435
- return unwrap(this$["publicReleaseDate@1932"]);
2514
+ return unwrap(this$["publicReleaseDate@1955"]);
2436
2515
  }
2437
2516
  set PublicReleaseDate(n) {
2438
2517
  const this$ = this;
2439
- this$["publicReleaseDate@1932"] = n;
2518
+ this$["publicReleaseDate@1955"] = n;
2440
2519
  }
2441
2520
  get OntologySourceReferences() {
2442
2521
  const this$ = this;
2443
- return this$["ontologySourceReferences@1933-1"];
2522
+ return this$["ontologySourceReferences@1956-1"];
2444
2523
  }
2445
2524
  set OntologySourceReferences(n) {
2446
2525
  const this$ = this;
2447
- this$["ontologySourceReferences@1933-1"] = n;
2526
+ this$["ontologySourceReferences@1956-1"] = n;
2448
2527
  }
2449
2528
  get Publications() {
2450
2529
  const this$ = this;
2451
- return this$["publications@1934-1"];
2530
+ return this$["publications@1957-1"];
2452
2531
  }
2453
2532
  set Publications(n) {
2454
2533
  const this$ = this;
2455
- this$["publications@1934-1"] = n;
2534
+ this$["publications@1957-1"] = n;
2456
2535
  }
2457
2536
  get Contacts() {
2458
2537
  const this$ = this;
2459
- return this$["contacts@1935-1"];
2538
+ return this$["contacts@1958-1"];
2460
2539
  }
2461
2540
  set Contacts(n) {
2462
2541
  const this$ = this;
2463
- this$["contacts@1935-1"] = n;
2542
+ this$["contacts@1958-1"] = n;
2464
2543
  }
2465
2544
  get Assays() {
2466
2545
  const this$ = this;
2467
- return this$["assays@1936-1"];
2546
+ return this$["assays@1959-1"];
2468
2547
  }
2469
2548
  set Assays(n) {
2470
2549
  const this$ = this;
2471
- this$["assays@1936-1"] = n;
2550
+ this$["assays@1959-1"] = n;
2472
2551
  }
2473
2552
  get Studies() {
2474
2553
  const this$ = this;
2475
- return this$["studies@1937-1"];
2554
+ return this$["studies@1960-1"];
2476
2555
  }
2477
2556
  set Studies(n) {
2478
2557
  const this$ = this;
2479
- this$["studies@1937-1"] = n;
2558
+ this$["studies@1960-1"] = n;
2480
2559
  }
2481
2560
  get Workflows() {
2482
2561
  const this$ = this;
2483
- return this$["workflows@1938-1"];
2562
+ return this$["workflows@1961-1"];
2484
2563
  }
2485
2564
  set Workflows(n) {
2486
2565
  const this$ = this;
2487
- this$["workflows@1938-1"] = n;
2566
+ this$["workflows@1961-1"] = n;
2488
2567
  }
2489
2568
  get Runs() {
2490
2569
  const this$ = this;
2491
- return this$["runs@1939-1"];
2570
+ return this$["runs@1962-1"];
2492
2571
  }
2493
2572
  set Runs(n) {
2494
2573
  const this$ = this;
2495
- this$["runs@1939-1"] = n;
2574
+ this$["runs@1962-1"] = n;
2496
2575
  }
2497
2576
  get RegisteredStudyIdentifiers() {
2498
2577
  const this$ = this;
2499
- return this$["registeredStudyIdentifiers@1940-1"];
2578
+ return this$["registeredStudyIdentifiers@1963-1"];
2500
2579
  }
2501
2580
  set RegisteredStudyIdentifiers(n) {
2502
2581
  const this$ = this;
2503
- this$["registeredStudyIdentifiers@1940-1"] = n;
2582
+ this$["registeredStudyIdentifiers@1963-1"] = n;
2504
2583
  }
2505
2584
  get Comments() {
2506
2585
  const this$ = this;
2507
- return this$["comments@1941-1"];
2586
+ return this$["comments@1964-1"];
2508
2587
  }
2509
2588
  set Comments(n) {
2510
2589
  const this$ = this;
2511
- this$["comments@1941-1"] = n;
2590
+ this$["comments@1964-1"] = n;
2512
2591
  }
2513
2592
  get Remarks() {
2514
2593
  const this$ = this;
2515
- return this$["remarks@1942-1"];
2594
+ return this$["remarks@1965-1"];
2516
2595
  }
2517
2596
  set Remarks(n) {
2518
2597
  const this$ = this;
2519
- this$["remarks@1942-1"] = n;
2598
+ this$["remarks@1965-1"] = n;
2520
2599
  }
2521
2600
  get StaticHash() {
2522
2601
  const this$ = this;
@@ -2686,11 +2765,23 @@ class ArcInvestigation {
2686
2765
  }
2687
2766
  RenameWorkflow(oldIdentifier, newIdentifier) {
2688
2767
  const this$ = this;
2689
- iterate((a) => {
2690
- if (a.Identifier === oldIdentifier) {
2691
- a.Identifier = newIdentifier;
2768
+ iterate((w) => {
2769
+ if (w.Identifier === oldIdentifier) {
2770
+ w.Identifier = newIdentifier;
2771
+ }
2772
+ const matchValue = tryFindIndex((subId) => subId === oldIdentifier, w.SubWorkflowIdentifiers);
2773
+ if (matchValue != null) {
2774
+ const i = value(matchValue) | 0;
2775
+ w.SubWorkflowIdentifiers[i] = newIdentifier;
2692
2776
  }
2693
2777
  }, this$.Workflows);
2778
+ iterate((r) => {
2779
+ const matchValue_1 = tryFindIndex((wId) => wId === oldIdentifier, r.WorkflowIdentifiers);
2780
+ if (matchValue_1 != null) {
2781
+ const i_1 = value(matchValue_1) | 0;
2782
+ r.WorkflowIdentifiers[i_1] = newIdentifier;
2783
+ }
2784
+ }, this$.Runs);
2694
2785
  }
2695
2786
  static renameWorkflow(oldIdentifier, newIdentifier) {
2696
2787
  return (inv) => {
@@ -3169,6 +3260,20 @@ class ArcInvestigation {
3169
3260
  const this$ = this;
3170
3261
  const index = this$.Workflows.findIndex((w) => w.Identifier === workflowIdentifier) | 0;
3171
3262
  this$.DeleteWorkflowAt(index);
3263
+ iterate((w_1) => {
3264
+ const matchValue = tryFindIndex((swi) => swi === workflowIdentifier, w_1.SubWorkflowIdentifiers);
3265
+ if (matchValue != null) {
3266
+ const swiIndex = value(matchValue) | 0;
3267
+ w_1.SubWorkflowIdentifiers.splice(swiIndex, 1);
3268
+ }
3269
+ }, this$.Workflows);
3270
+ iterate((r) => {
3271
+ const matchValue_1 = tryFindIndex((wi) => wi === workflowIdentifier, r.WorkflowIdentifiers);
3272
+ if (matchValue_1 != null) {
3273
+ const wiIndex = value(matchValue_1) | 0;
3274
+ r.WorkflowIdentifiers.splice(wiIndex, 1);
3275
+ }
3276
+ }, this$.Runs);
3172
3277
  }
3173
3278
  static deleteWorkflow(workflowIdentifier) {
3174
3279
  return (inv) => {
@@ -3680,4 +3785,4 @@ function ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, investig
3680
3785
  return `Error. Unable to find run with identifier '${runIdentifier}' in investigation ${investigationIdentifier}.`;
3681
3786
  }
3682
3787
 
3683
- export { ArcAssay, ArcAssay_$ctor_11E1F34, ArcAssay_$reflection, ArcInvestigation, ArcInvestigation_$ctor_Z67823F6C, ArcInvestigation_$reflection, ArcRun, ArcRun_$ctor_Z38E7054B, ArcRun_$reflection, ArcStudy, ArcStudy_$ctor_64321D5B, ArcStudy_$reflection, ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier, ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier, ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier, ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier, ArcWorkflow, ArcWorkflow_$ctor_Z3BB02240, ArcWorkflow_$reflection };
3788
+ export { ArcAssay, ArcAssay_$ctor_Z69B192EC, ArcAssay_$reflection, ArcInvestigation, ArcInvestigation_$ctor_Z67823F6C, ArcInvestigation_$reflection, ArcRun, ArcRun_$ctor_287C1303, ArcRun_$reflection, ArcStudy, ArcStudy_$ctor_Z273F64C5, ArcStudy_$reflection, ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier, ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier, ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier, ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier, ArcWorkflow, ArcWorkflow_$ctor_Z5FF2D3D5, ArcWorkflow_$reflection };