@nfdi4plants/arctrl 3.2.3 → 3.3.1

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 (454) hide show
  1. package/dist/ts/index.d.ts +44 -7
  2. package/dist/ts/index.d.ts.map +1 -1
  3. package/dist/ts/index.js +45 -8
  4. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
  35. package/dist/ts/ts/ARC.d.ts +19 -2
  36. package/dist/ts/ts/ARC.d.ts.map +1 -1
  37. package/dist/ts/ts/ARC.js +128 -89
  38. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
  39. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
  40. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
  41. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
  42. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  43. package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
  44. package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
  45. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  46. package/dist/ts/ts/CWL/CWLTypes.js +887 -201
  47. package/dist/ts/ts/CWL/Decode.d.ts +480 -211
  48. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  49. package/dist/ts/ts/CWL/Decode.js +3614 -2462
  50. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
  51. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  52. package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
  53. package/dist/ts/ts/CWL/Encode.d.ts +225 -85
  54. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  55. package/dist/ts/ts/CWL/Encode.js +1858 -970
  56. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
  57. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  58. package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
  59. package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
  60. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  61. package/dist/ts/ts/CWL/HashHelpers.js +255 -6
  62. package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
  63. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  64. package/dist/ts/ts/CWL/Inputs.js +107 -16
  65. package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
  66. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  67. package/dist/ts/ts/CWL/OperationDescription.js +35 -9
  68. package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
  69. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  70. package/dist/ts/ts/CWL/Outputs.js +101 -19
  71. package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
  72. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  73. package/dist/ts/ts/CWL/ParameterReference.js +18 -25
  74. package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
  75. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
  76. package/dist/ts/ts/CWL/ParameterValue.js +59 -35
  77. package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
  78. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  79. package/dist/ts/ts/CWL/Requirements.js +462 -89
  80. package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
  81. package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
  82. package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
  83. package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
  84. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  85. package/dist/ts/ts/CWL/ToolDescription.js +34 -13
  86. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
  87. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  88. package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
  89. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
  90. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  91. package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
  92. package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
  93. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  94. package/dist/ts/ts/CWLRunResolver.js +221 -86
  95. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  96. package/dist/ts/ts/Contract/ARC.js +13 -14
  97. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  98. package/dist/ts/ts/Contract/ArcAssay.js +4 -4
  99. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  100. package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
  101. package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
  102. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  103. package/dist/ts/ts/Contract/ArcRun.js +47 -20
  104. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  105. package/dist/ts/ts/Contract/ArcStudy.js +4 -4
  106. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
  107. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  108. package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
  109. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  110. package/dist/ts/ts/Contract/Datamap.js +16 -17
  111. package/dist/ts/ts/Contract/Git.js +1 -1
  112. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  113. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
  114. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  115. package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
  116. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  117. package/dist/ts/ts/Conversion/Assay.js +26 -18
  118. package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
  119. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  120. package/dist/ts/ts/Conversion/Basic.js +55 -31
  121. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  122. package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
  123. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  124. package/dist/ts/ts/Conversion/DateTime.js +1 -2
  125. package/dist/ts/ts/Conversion/Investigation.js +11 -11
  126. package/dist/ts/ts/Conversion/Person.js +11 -11
  127. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  128. package/dist/ts/ts/Conversion/Process.js +107 -86
  129. package/dist/ts/ts/Conversion/Run.d.ts +36 -6
  130. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  131. package/dist/ts/ts/Conversion/Run.js +320 -136
  132. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  133. package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
  134. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  135. package/dist/ts/ts/Conversion/Study.js +23 -12
  136. package/dist/ts/ts/Conversion/Table.js +5 -5
  137. package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
  138. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  139. package/dist/ts/ts/Conversion/Workflow.js +655 -163
  140. package/dist/ts/ts/Conversion.js +6 -6
  141. package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
  142. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  143. package/dist/ts/ts/Core/ArcTypes.js +219 -129
  144. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  145. package/dist/ts/ts/Core/Comment.js +2 -2
  146. package/dist/ts/ts/Core/CommentList.js +7 -7
  147. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  148. package/dist/ts/ts/Core/Conversion.js +41 -41
  149. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  150. package/dist/ts/ts/Core/Data.js +14 -11
  151. package/dist/ts/ts/Core/DataContext.d.ts +1 -1
  152. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  153. package/dist/ts/ts/Core/DataContext.js +4 -4
  154. package/dist/ts/ts/Core/DataFile.d.ts +11 -8
  155. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  156. package/dist/ts/ts/Core/DataFile.js +55 -61
  157. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  158. package/dist/ts/ts/Core/Datamap.js +2 -3
  159. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  160. package/dist/ts/ts/Core/Helper/Collections.js +2 -4
  161. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  162. package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
  163. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  164. package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
  165. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  166. package/dist/ts/ts/Core/Helper/Regex.js +52 -53
  167. package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
  168. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  169. package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
  170. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  171. package/dist/ts/ts/Core/Helper/Url.js +1 -1
  172. package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
  173. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  174. package/dist/ts/ts/Core/Person.js +2 -2
  175. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  176. package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
  177. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  178. package/dist/ts/ts/Core/Process/Component.js +22 -22
  179. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  180. package/dist/ts/ts/Core/Process/Factor.js +7 -7
  181. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  182. package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
  183. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  184. package/dist/ts/ts/Core/Process/Material.js +2 -2
  185. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  186. package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
  187. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
  189. package/dist/ts/ts/Core/Process/Process.js +21 -21
  190. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  191. package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
  192. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  193. package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
  194. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  195. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
  196. package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
  197. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  198. package/dist/ts/ts/Core/Process/Protocol.js +9 -9
  199. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  200. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
  201. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  202. package/dist/ts/ts/Core/Publication.js +3 -3
  203. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
  204. package/dist/ts/ts/Core/ScalarValue.js +9 -13
  205. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  206. package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
  207. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
  208. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  209. package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
  210. package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
  211. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
  213. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  214. package/dist/ts/ts/Core/Templates.js +2 -2
  215. package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
  216. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  217. package/dist/ts/ts/FileSystem/Path.js +37 -19
  218. package/dist/ts/ts/Json/Assay.js +22 -22
  219. package/dist/ts/ts/Json/Comment.js +9 -9
  220. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  221. package/dist/ts/ts/Json/Data.js +11 -11
  222. package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
  223. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  224. package/dist/ts/ts/Json/Decode.js +3 -5
  225. package/dist/ts/ts/Json/Encode.js +2 -2
  226. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  227. package/dist/ts/ts/Json/Investigation.js +20 -20
  228. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  229. package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
  230. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  231. package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
  232. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  233. package/dist/ts/ts/Json/Person.js +20 -20
  234. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  235. package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
  236. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  237. package/dist/ts/ts/Json/Process/Component.js +5 -6
  238. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  239. package/dist/ts/ts/Json/Process/Factor.js +7 -7
  240. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  241. package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
  242. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  243. package/dist/ts/ts/Json/Process/Material.js +9 -10
  244. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  245. package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
  246. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  247. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
  248. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  249. package/dist/ts/ts/Json/Process/Process.js +8 -9
  250. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  251. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
  252. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  253. package/dist/ts/ts/Json/Process/Protocol.js +17 -17
  254. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  255. package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
  256. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  257. package/dist/ts/ts/Json/Process/Sample.js +9 -9
  258. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  259. package/dist/ts/ts/Json/Process/Source.js +10 -11
  260. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  261. package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
  262. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  263. package/dist/ts/ts/Json/PropertyValue.js +24 -24
  264. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  265. package/dist/ts/ts/Json/Publication.js +10 -10
  266. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
  267. package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
  268. package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
  269. package/dist/ts/ts/Json/Run.js +9 -9
  270. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  271. package/dist/ts/ts/Json/StringTable.js +4 -7
  272. package/dist/ts/ts/Json/Study.js +20 -20
  273. package/dist/ts/ts/Json/Table/CellTable.js +1 -2
  274. package/dist/ts/ts/Json/Table/OATable.js +1 -2
  275. package/dist/ts/ts/Json/Workflow.js +9 -9
  276. package/dist/ts/ts/Json.d.ts +121 -1
  277. package/dist/ts/ts/Json.d.ts.map +1 -1
  278. package/dist/ts/ts/Json.js +310 -2
  279. package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
  280. package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
  281. package/dist/ts/ts/JsonIO/Comment.js +67 -0
  282. package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
  283. package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
  284. package/dist/ts/ts/JsonIO/Data.js +49 -0
  285. package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
  286. package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
  287. package/dist/ts/ts/JsonIO/DataFile.js +48 -0
  288. package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
  289. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  290. package/dist/ts/ts/JsonIO/LDObject.js +173 -17
  291. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
  292. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
  293. package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
  294. package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
  295. package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
  296. package/dist/ts/ts/JsonIO/Publication.js +68 -0
  297. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
  298. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
  299. package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
  300. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
  301. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
  302. package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
  303. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
  304. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
  305. package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
  306. package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
  307. package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
  308. package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
  309. package/dist/ts/ts/License.d.ts.map +1 -1
  310. package/dist/ts/ts/License.js +6 -6
  311. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  312. package/dist/ts/ts/ROCrate/LDContext.js +31 -39
  313. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  314. package/dist/ts/ts/ROCrate/LDObject.js +56 -49
  315. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
  316. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
  317. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
  318. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
  319. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
  320. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  321. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
  322. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  323. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
  324. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
  325. package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
  326. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
  327. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
  328. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
  329. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
  330. package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
  331. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
  332. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +11 -0
  333. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  334. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +61 -50
  335. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
  336. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
  337. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
  338. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
  339. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
  340. package/dist/ts/ts/ROCrateIO.d.ts +18 -4
  341. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  342. package/dist/ts/ts/ROCrateIO.js +49 -38
  343. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  344. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
  345. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  346. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
  347. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  348. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
  349. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
  350. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  351. package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
  352. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
  353. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  354. package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
  355. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  356. package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
  357. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  358. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
  359. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  360. package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
  361. package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
  362. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
  363. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
  364. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  365. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
  366. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  367. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  368. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  369. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
  370. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  371. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  372. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  373. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
  374. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  375. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
  376. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  377. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
  378. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  379. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
  380. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
  381. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  382. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
  383. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  384. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
  385. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  386. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
  387. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  388. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  389. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
  390. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  391. package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
  392. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
  393. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  394. package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
  395. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
  396. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  397. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
  398. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
  399. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  400. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
  401. package/dist/ts/ts/Xlsx.js +3 -3
  402. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
  403. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  404. package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
  405. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
  406. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  407. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
  408. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
  409. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
  410. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
  411. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
  412. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
  413. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
  414. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
  415. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
  416. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
  417. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
  418. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
  419. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
  420. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
  421. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
  422. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
  423. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
  424. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
  425. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
  426. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
  427. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
  428. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
  429. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
  430. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
  431. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
  432. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
  433. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
  434. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
  435. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
  436. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
  437. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
  438. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
  439. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
  440. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
  441. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
  442. package/package.json +5 -4
  443. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
  444. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
  445. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
  446. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
  447. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
  448. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
  449. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
  450. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
  451. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
  452. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
  453. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
  454. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
@@ -142,7 +142,7 @@ class ArcAssay extends ArcTables {
142
142
  if (matchValue == null) {
143
143
  return [];
144
144
  } else {
145
- const i = value(matchValue);
145
+ const i = matchValue;
146
146
  return toArray(filter((s) => {
147
147
  const source = s.RegisteredAssayIdentifiers;
148
148
  return contains(this$.Identifier, source, {
@@ -386,7 +386,7 @@ class ArcAssay extends ArcTables {
386
386
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
387
387
  let nextDatamap;
388
388
  const option_1 = this$.Datamap;
389
- nextDatamap = option_1 != null ? (d = value(option_1), d.Copy()) : void 0;
389
+ nextDatamap = option_1 != null ? (d = option_1, d.Copy()) : void 0;
390
390
  const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
391
391
  const identifier = this$.Identifier;
392
392
  const title = this$.Title;
@@ -819,7 +819,7 @@ class ArcStudy extends ArcTables {
819
819
  let inv;
820
820
  const investigation = this$.Investigation;
821
821
  if (investigation != null) {
822
- inv = value(investigation);
822
+ inv = investigation;
823
823
  } else {
824
824
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
825
825
  }
@@ -834,7 +834,7 @@ class ArcStudy extends ArcTables {
834
834
  let inv;
835
835
  const investigation = this$.Investigation;
836
836
  if (investigation != null) {
837
- inv = value(investigation);
837
+ inv = investigation;
838
838
  } else {
839
839
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
840
840
  }
@@ -849,7 +849,7 @@ class ArcStudy extends ArcTables {
849
849
  let inv;
850
850
  const investigation = this$.Investigation;
851
851
  if (investigation != null) {
852
- inv = value(investigation);
852
+ inv = investigation;
853
853
  } else {
854
854
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
855
855
  }
@@ -917,7 +917,7 @@ class ArcStudy extends ArcTables {
917
917
  let inv;
918
918
  const investigation = this$.Investigation;
919
919
  if (investigation != null) {
920
- inv = value(investigation);
920
+ inv = investigation;
921
921
  } else {
922
922
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
923
923
  }
@@ -944,13 +944,13 @@ class ArcStudy extends ArcTables {
944
944
  if (matchValue == null) {
945
945
  return ResizeArray_map((identifier_1) => ArcAssay.init(identifier_1), this$.RegisteredAssayIdentifiers);
946
946
  } else {
947
- const i = value(matchValue);
947
+ const i = matchValue;
948
948
  return ResizeArray_map((identifier) => {
949
949
  const matchValue_1 = i.TryGetAssay(identifier);
950
950
  if (matchValue_1 == null) {
951
951
  return ArcAssay.init(identifier);
952
952
  } else {
953
- return value(matchValue_1);
953
+ return matchValue_1;
954
954
  }
955
955
  }, this$.RegisteredAssayIdentifiers);
956
956
  }
@@ -1224,7 +1224,7 @@ class ArcStudy extends ArcTables {
1224
1224
  const nextStudyDesignDescriptors = ResizeArray_map((c_3) => c_3.Copy(), this$.StudyDesignDescriptors);
1225
1225
  let nextDatamap;
1226
1226
  const option_1 = this$.Datamap;
1227
- nextDatamap = option_1 != null ? (d = value(option_1), d.Copy()) : void 0;
1227
+ nextDatamap = option_1 != null ? (d = option_1, d.Copy()) : void 0;
1228
1228
  let study;
1229
1229
  const identifier = this$.Identifier;
1230
1230
  const title = this$.Title;
@@ -1379,6 +1379,7 @@ class ArcWorkflow {
1379
1379
  this["cwlDescription@1172"] = cwlDescription;
1380
1380
  this["comments@1173"] = defaultArg(comments, []);
1381
1381
  this.staticHash = 0;
1382
+ this.cwlStaticHash = 0;
1382
1383
  }
1383
1384
  /**
1384
1385
  * Must be unique in one study
@@ -1506,6 +1507,22 @@ class ArcWorkflow {
1506
1507
  const this$ = this;
1507
1508
  this$.staticHash = s | 0;
1508
1509
  }
1510
+ /**
1511
+ * The hash of the CWL file of the workflow at the last read or write, or 0 when the file was not there. The ARC
1512
+ * compares it with GetCWLHashCode to find the changes of the file, as it compares StaticHash for the xlsx file.
1513
+ */
1514
+ get CWLStaticHash() {
1515
+ const this$ = this;
1516
+ return this$.cwlStaticHash | 0;
1517
+ }
1518
+ /**
1519
+ * The hash of the CWL file of the workflow at the last read or write, or 0 when the file was not there. The ARC
1520
+ * compares it with GetCWLHashCode to find the changes of the file, as it compares StaticHash for the xlsx file.
1521
+ */
1522
+ set CWLStaticHash(h) {
1523
+ const this$ = this;
1524
+ this$.cwlStaticHash = h | 0;
1525
+ }
1509
1526
  static init(identifier) {
1510
1527
  return new ArcWorkflow(identifier);
1511
1528
  }
@@ -1540,7 +1557,7 @@ class ArcWorkflow {
1540
1557
  let inv;
1541
1558
  const investigation = this$.Investigation;
1542
1559
  if (investigation != null) {
1543
- inv = value(investigation);
1560
+ inv = investigation;
1544
1561
  } else {
1545
1562
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1546
1563
  }
@@ -1555,7 +1572,7 @@ class ArcWorkflow {
1555
1572
  let inv;
1556
1573
  const investigation = this$.Investigation;
1557
1574
  if (investigation != null) {
1558
- inv = value(investigation);
1575
+ inv = investigation;
1559
1576
  } else {
1560
1577
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1561
1578
  }
@@ -1570,7 +1587,7 @@ class ArcWorkflow {
1570
1587
  let inv;
1571
1588
  const investigation = this$.Investigation;
1572
1589
  if (investigation != null) {
1573
- inv = value(investigation);
1590
+ inv = investigation;
1574
1591
  } else {
1575
1592
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1576
1593
  }
@@ -1637,7 +1654,7 @@ class ArcWorkflow {
1637
1654
  let inv;
1638
1655
  const investigation = this$.Investigation;
1639
1656
  if (investigation != null) {
1640
- inv = value(investigation);
1657
+ inv = investigation;
1641
1658
  } else {
1642
1659
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1643
1660
  }
@@ -1664,13 +1681,13 @@ class ArcWorkflow {
1664
1681
  if (matchValue == null) {
1665
1682
  return ResizeArray_map((identifier_1) => ArcWorkflow.init(identifier_1), this$.SubWorkflowIdentifiers);
1666
1683
  } else {
1667
- const i = value(matchValue);
1684
+ const i = matchValue;
1668
1685
  return ResizeArray_map((identifier) => {
1669
1686
  const matchValue_1 = i.TryGetWorkflow(identifier);
1670
1687
  if (matchValue_1 == null) {
1671
1688
  return ArcWorkflow.init(identifier);
1672
1689
  } else {
1673
- return value(matchValue_1);
1690
+ return matchValue_1;
1674
1691
  }
1675
1692
  }, this$.SubWorkflowIdentifiers);
1676
1693
  }
@@ -1697,13 +1714,13 @@ class ArcWorkflow {
1697
1714
  const copyInvestigationRef_1 = defaultArg(copyInvestigationRef, false);
1698
1715
  let nextWorkFlowType;
1699
1716
  const option_1 = this$.WorkflowType;
1700
- nextWorkFlowType = option_1 != null ? (w = value(option_1), w.Copy()) : void 0;
1717
+ nextWorkFlowType = option_1 != null ? (w = option_1, w.Copy()) : void 0;
1701
1718
  const nextSubWorkflowIdentifiers = Array.from(this$.SubWorkflowIdentifiers);
1702
1719
  const nextParameters = ResizeArray_map((x) => x, this$.Parameters);
1703
1720
  const nextComponents = ResizeArray_map((x_1) => x_1, this$.Components);
1704
1721
  let nextDatamap;
1705
1722
  const option_3 = this$.Datamap;
1706
- nextDatamap = option_3 != null ? (d = value(option_3), d.Copy()) : void 0;
1723
+ nextDatamap = option_3 != null ? (d = option_3, d.Copy()) : void 0;
1707
1724
  const nextContacts = ResizeArray_map((c) => c.Copy(), this$.Contacts);
1708
1725
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
1709
1726
  let workflow;
@@ -1788,6 +1805,15 @@ class ArcWorkflow {
1788
1805
  const this$ = this;
1789
1806
  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;
1790
1807
  }
1808
+ /**
1809
+ * The hash of the CWL file of the workflow, which holds its description. It is 0 for a workflow without a
1810
+ * description, which has no file.
1811
+ */
1812
+ GetCWLHashCode() {
1813
+ const this$ = this;
1814
+ const matchValue = this$.CWLDescription;
1815
+ return (matchValue != null ? boxHashOption(this$.CWLDescription) : 0) | 0;
1816
+ }
1791
1817
  GetLightHashCode() {
1792
1818
  const this$ = this;
1793
1819
  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), boxHashSeq(this$.Contacts), boxHashSeq(this$.Comments)]) | 0;
@@ -1807,34 +1833,36 @@ class ArcRun extends ArcTables {
1807
1833
  const comments_1 = defaultArg(comments, []);
1808
1834
  const workflowIdentifiers_1 = defaultArg(workflowIdentifiers, []);
1809
1835
  const cwlInput_1 = defaultArg(cwlInput, []);
1810
- this["identifier@1462"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1811
- this["title@1466"] = title;
1812
- this["description@1467"] = description;
1836
+ this["identifier@1475"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1837
+ this["title@1479"] = title;
1838
+ this["description@1480"] = description;
1813
1839
  this.investigation = void 0;
1814
- this["measurementType@1469"] = measurementType;
1815
- this["technologyType@1470"] = technologyType;
1816
- this["technologyPlatform@1471"] = technologyPlatform;
1817
- this["workflowIdentifiers@1472-1"] = workflowIdentifiers_1;
1818
- this["datamap@1473"] = datamap;
1819
- this["performers@1474-1"] = performers_1;
1820
- this["cwlDescription@1475"] = cwlDescription;
1821
- this["cwlInput@1476-1"] = cwlInput_1;
1822
- this["comments@1477-1"] = comments_1;
1840
+ this["measurementType@1482"] = measurementType;
1841
+ this["technologyType@1483"] = technologyType;
1842
+ this["technologyPlatform@1484"] = technologyPlatform;
1843
+ this["workflowIdentifiers@1485-1"] = workflowIdentifiers_1;
1844
+ this["datamap@1486"] = datamap;
1845
+ this["performers@1487-1"] = performers_1;
1846
+ this["cwlDescription@1488"] = cwlDescription;
1847
+ this["cwlInput@1489-1"] = cwlInput_1;
1848
+ this["comments@1490-1"] = comments_1;
1823
1849
  this.staticHash = 0;
1850
+ this.cwlStaticHash = 0;
1851
+ this.cwlInputStaticHash = 0;
1824
1852
  }
1825
1853
  /**
1826
1854
  * Must be unique in one study
1827
1855
  */
1828
1856
  get Identifier() {
1829
1857
  const this$ = this;
1830
- return this$["identifier@1462"];
1858
+ return this$["identifier@1475"];
1831
1859
  }
1832
1860
  /**
1833
1861
  * Must be unique in one study
1834
1862
  */
1835
1863
  set Identifier(i) {
1836
1864
  const this$ = this;
1837
- this$["identifier@1462"] = i;
1865
+ this$["identifier@1475"] = i;
1838
1866
  }
1839
1867
  get Investigation() {
1840
1868
  const this$ = this;
@@ -1846,91 +1874,91 @@ class ArcRun extends ArcTables {
1846
1874
  }
1847
1875
  get Title() {
1848
1876
  const this$ = this;
1849
- return unwrap(this$["title@1466"]);
1877
+ return unwrap(this$["title@1479"]);
1850
1878
  }
1851
1879
  set Title(t) {
1852
1880
  const this$ = this;
1853
- this$["title@1466"] = t;
1881
+ this$["title@1479"] = t;
1854
1882
  }
1855
1883
  get Description() {
1856
1884
  const this$ = this;
1857
- return unwrap(this$["description@1467"]);
1885
+ return unwrap(this$["description@1480"]);
1858
1886
  }
1859
1887
  set Description(d) {
1860
1888
  const this$ = this;
1861
- this$["description@1467"] = d;
1889
+ this$["description@1480"] = d;
1862
1890
  }
1863
1891
  get MeasurementType() {
1864
1892
  const this$ = this;
1865
- return unwrap(this$["measurementType@1469"]);
1893
+ return unwrap(this$["measurementType@1482"]);
1866
1894
  }
1867
1895
  set MeasurementType(n) {
1868
1896
  const this$ = this;
1869
- this$["measurementType@1469"] = n;
1897
+ this$["measurementType@1482"] = n;
1870
1898
  }
1871
1899
  get TechnologyType() {
1872
1900
  const this$ = this;
1873
- return unwrap(this$["technologyType@1470"]);
1901
+ return unwrap(this$["technologyType@1483"]);
1874
1902
  }
1875
1903
  set TechnologyType(n) {
1876
1904
  const this$ = this;
1877
- this$["technologyType@1470"] = n;
1905
+ this$["technologyType@1483"] = n;
1878
1906
  }
1879
1907
  get TechnologyPlatform() {
1880
1908
  const this$ = this;
1881
- return unwrap(this$["technologyPlatform@1471"]);
1909
+ return unwrap(this$["technologyPlatform@1484"]);
1882
1910
  }
1883
1911
  set TechnologyPlatform(n) {
1884
1912
  const this$ = this;
1885
- this$["technologyPlatform@1471"] = n;
1913
+ this$["technologyPlatform@1484"] = n;
1886
1914
  }
1887
1915
  get WorkflowIdentifiers() {
1888
1916
  const this$ = this;
1889
- return this$["workflowIdentifiers@1472-1"];
1917
+ return this$["workflowIdentifiers@1485-1"];
1890
1918
  }
1891
1919
  set WorkflowIdentifiers(w) {
1892
1920
  const this$ = this;
1893
- this$["workflowIdentifiers@1472-1"] = w;
1921
+ this$["workflowIdentifiers@1485-1"] = w;
1894
1922
  }
1895
1923
  get Datamap() {
1896
1924
  const this$ = this;
1897
- return unwrap(this$["datamap@1473"]);
1925
+ return unwrap(this$["datamap@1486"]);
1898
1926
  }
1899
1927
  set Datamap(n) {
1900
1928
  const this$ = this;
1901
- this$["datamap@1473"] = n;
1929
+ this$["datamap@1486"] = n;
1902
1930
  }
1903
1931
  get Performers() {
1904
1932
  const this$ = this;
1905
- return this$["performers@1474-1"];
1933
+ return this$["performers@1487-1"];
1906
1934
  }
1907
1935
  set Performers(n) {
1908
1936
  const this$ = this;
1909
- this$["performers@1474-1"] = n;
1937
+ this$["performers@1487-1"] = n;
1910
1938
  }
1911
1939
  get CWLDescription() {
1912
1940
  const this$ = this;
1913
- return unwrap(this$["cwlDescription@1475"]);
1941
+ return unwrap(this$["cwlDescription@1488"]);
1914
1942
  }
1915
1943
  set CWLDescription(n) {
1916
1944
  const this$ = this;
1917
- this$["cwlDescription@1475"] = n;
1945
+ this$["cwlDescription@1488"] = n;
1918
1946
  }
1919
1947
  get CWLInput() {
1920
1948
  const this$ = this;
1921
- return this$["cwlInput@1476-1"];
1949
+ return this$["cwlInput@1489-1"];
1922
1950
  }
1923
1951
  set CWLInput(n) {
1924
1952
  const this$ = this;
1925
- this$["cwlInput@1476-1"] = n;
1953
+ this$["cwlInput@1489-1"] = n;
1926
1954
  }
1927
1955
  get Comments() {
1928
1956
  const this$ = this;
1929
- return this$["comments@1477-1"];
1957
+ return this$["comments@1490-1"];
1930
1958
  }
1931
1959
  set Comments(n) {
1932
1960
  const this$ = this;
1933
- this$["comments@1477-1"] = n;
1961
+ this$["comments@1490-1"] = n;
1934
1962
  }
1935
1963
  get StaticHash() {
1936
1964
  const this$ = this;
@@ -1940,6 +1968,36 @@ class ArcRun extends ArcTables {
1940
1968
  const this$ = this;
1941
1969
  this$.staticHash = h | 0;
1942
1970
  }
1971
+ /**
1972
+ * The hash of the CWL file of the run at the last read or write, or 0 when the file was not there. The ARC compares
1973
+ * it with GetCWLHashCode to find the changes of the file, as it compares StaticHash for the xlsx file.
1974
+ */
1975
+ get CWLStaticHash() {
1976
+ const this$ = this;
1977
+ return this$.cwlStaticHash | 0;
1978
+ }
1979
+ /**
1980
+ * The hash of the CWL file of the run at the last read or write, or 0 when the file was not there. The ARC compares
1981
+ * it with GetCWLHashCode to find the changes of the file, as it compares StaticHash for the xlsx file.
1982
+ */
1983
+ set CWLStaticHash(h) {
1984
+ const this$ = this;
1985
+ this$.cwlStaticHash = h | 0;
1986
+ }
1987
+ /**
1988
+ * The hash of the parameter file run.yml at the last read or write, or 0 when the file was not there.
1989
+ */
1990
+ get CWLInputStaticHash() {
1991
+ const this$ = this;
1992
+ return this$.cwlInputStaticHash | 0;
1993
+ }
1994
+ /**
1995
+ * The hash of the parameter file run.yml at the last read or write, or 0 when the file was not there.
1996
+ */
1997
+ set CWLInputStaticHash(h) {
1998
+ const this$ = this;
1999
+ this$.cwlInputStaticHash = h | 0;
2000
+ }
1943
2001
  static init(identifier) {
1944
2002
  return new ArcRun(identifier);
1945
2003
  }
@@ -1971,7 +2029,7 @@ class ArcRun extends ArcTables {
1971
2029
  let inv;
1972
2030
  const investigation = this$.Investigation;
1973
2031
  if (investigation != null) {
1974
- inv = value(investigation);
2032
+ inv = investigation;
1975
2033
  } else {
1976
2034
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1977
2035
  }
@@ -1986,7 +2044,7 @@ class ArcRun extends ArcTables {
1986
2044
  let inv;
1987
2045
  const investigation = this$.Investigation;
1988
2046
  if (investigation != null) {
1989
- inv = value(investigation);
2047
+ inv = investigation;
1990
2048
  } else {
1991
2049
  throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1992
2050
  }
@@ -2227,7 +2285,7 @@ class ArcRun extends ArcTables {
2227
2285
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
2228
2286
  let nextDatamap;
2229
2287
  const option_1 = this$.Datamap;
2230
- nextDatamap = option_1 != null ? (d = value(option_1), d.Copy()) : void 0;
2288
+ nextDatamap = option_1 != null ? (d = option_1, d.Copy()) : void 0;
2231
2289
  const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
2232
2290
  const nextWorkflowIdentifiers = ResizeArray_map((c_3) => c_3, this$.WorkflowIdentifiers);
2233
2291
  const identifier = this$.Identifier;
@@ -2542,6 +2600,22 @@ class ArcRun extends ArcTables {
2542
2600
  const this$ = this;
2543
2601
  return other instanceof ArcRun && (run = other, this$.StructurallyEquals(run));
2544
2602
  }
2603
+ /**
2604
+ * The hash of the CWL file of the run, which holds its description. It is 0 for a run without a description,
2605
+ * which has no file.
2606
+ */
2607
+ GetCWLHashCode() {
2608
+ const this$ = this;
2609
+ const matchValue = this$.CWLDescription;
2610
+ return (matchValue != null ? boxHashOption(this$.CWLDescription) : 0) | 0;
2611
+ }
2612
+ /**
2613
+ * The hash of the parameter file run.yml. It is 0 for a run without parameter references, which has no file.
2614
+ */
2615
+ GetCWLInputHashCode() {
2616
+ const this$ = this;
2617
+ return (this$.CWLInput.length === 0 ? 0 : boxHashSeq(this$.CWLInput)) | 0;
2618
+ }
2545
2619
  GetLightHashCode() {
2546
2620
  const this$ = this;
2547
2621
  return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashSeq(this$.WorkflowIdentifiers), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
@@ -2615,149 +2689,149 @@ class ArcInvestigation {
2615
2689
  const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
2616
2690
  const comments_1 = defaultArg(comments, []);
2617
2691
  const remarks_1 = defaultArg(remarks, []);
2618
- this["identifier@1963"] = identifier;
2619
- this["title@1964"] = title;
2620
- this["description@1965"] = description;
2621
- this["submissionDate@1966"] = submissionDate;
2622
- this["publicReleaseDate@1967"] = publicReleaseDate;
2623
- this["ontologySourceReferences@1968-1"] = ontologySourceReferences_1;
2624
- this["publications@1969-1"] = publications_1;
2625
- this["contacts@1970-1"] = contacts_1;
2626
- this["assays@1971-1"] = assays_1;
2627
- this["studies@1972-1"] = studies_1;
2628
- this["workflows@1973-1"] = workflows_1;
2629
- this["runs@1974-1"] = runs_1;
2630
- this["registeredStudyIdentifiers@1975-1"] = registeredStudyIdentifiers_1;
2631
- this["comments@1976-1"] = comments_1;
2632
- this["remarks@1977-1"] = remarks_1;
2692
+ this["identifier@1998"] = identifier;
2693
+ this["title@1999"] = title;
2694
+ this["description@2000"] = description;
2695
+ this["submissionDate@2001"] = submissionDate;
2696
+ this["publicReleaseDate@2002"] = publicReleaseDate;
2697
+ this["ontologySourceReferences@2003-1"] = ontologySourceReferences_1;
2698
+ this["publications@2004-1"] = publications_1;
2699
+ this["contacts@2005-1"] = contacts_1;
2700
+ this["assays@2006-1"] = assays_1;
2701
+ this["studies@2007-1"] = studies_1;
2702
+ this["workflows@2008-1"] = workflows_1;
2703
+ this["runs@2009-1"] = runs_1;
2704
+ this["registeredStudyIdentifiers@2010-1"] = registeredStudyIdentifiers_1;
2705
+ this["comments@2011-1"] = comments_1;
2706
+ this["remarks@2012-1"] = remarks_1;
2633
2707
  this.staticHash = 0;
2634
- this["init@1934"] = 1;
2708
+ this["init@1969"] = 1;
2635
2709
  }
2636
2710
  /**
2637
2711
  * Must be unique in one investigation
2638
2712
  */
2639
2713
  get Identifier() {
2640
2714
  const this$ = this;
2641
- return this$["identifier@1963"];
2715
+ return this$["identifier@1998"];
2642
2716
  }
2643
2717
  /**
2644
2718
  * Must be unique in one investigation
2645
2719
  */
2646
2720
  set Identifier(i) {
2647
2721
  const this$ = this;
2648
- this$["identifier@1963"] = i;
2722
+ this$["identifier@1998"] = i;
2649
2723
  }
2650
2724
  get Title() {
2651
2725
  const this$ = this;
2652
- return unwrap(this$["title@1964"]);
2726
+ return unwrap(this$["title@1999"]);
2653
2727
  }
2654
2728
  set Title(n) {
2655
2729
  const this$ = this;
2656
- this$["title@1964"] = n;
2730
+ this$["title@1999"] = n;
2657
2731
  }
2658
2732
  get Description() {
2659
2733
  const this$ = this;
2660
- return unwrap(this$["description@1965"]);
2734
+ return unwrap(this$["description@2000"]);
2661
2735
  }
2662
2736
  set Description(n) {
2663
2737
  const this$ = this;
2664
- this$["description@1965"] = n;
2738
+ this$["description@2000"] = n;
2665
2739
  }
2666
2740
  get SubmissionDate() {
2667
2741
  const this$ = this;
2668
- return unwrap(this$["submissionDate@1966"]);
2742
+ return unwrap(this$["submissionDate@2001"]);
2669
2743
  }
2670
2744
  set SubmissionDate(n) {
2671
2745
  const this$ = this;
2672
- this$["submissionDate@1966"] = n;
2746
+ this$["submissionDate@2001"] = n;
2673
2747
  }
2674
2748
  get PublicReleaseDate() {
2675
2749
  const this$ = this;
2676
- return unwrap(this$["publicReleaseDate@1967"]);
2750
+ return unwrap(this$["publicReleaseDate@2002"]);
2677
2751
  }
2678
2752
  set PublicReleaseDate(n) {
2679
2753
  const this$ = this;
2680
- this$["publicReleaseDate@1967"] = n;
2754
+ this$["publicReleaseDate@2002"] = n;
2681
2755
  }
2682
2756
  get OntologySourceReferences() {
2683
2757
  const this$ = this;
2684
- return this$["ontologySourceReferences@1968-1"];
2758
+ return this$["ontologySourceReferences@2003-1"];
2685
2759
  }
2686
2760
  set OntologySourceReferences(n) {
2687
2761
  const this$ = this;
2688
- this$["ontologySourceReferences@1968-1"] = n;
2762
+ this$["ontologySourceReferences@2003-1"] = n;
2689
2763
  }
2690
2764
  get Publications() {
2691
2765
  const this$ = this;
2692
- return this$["publications@1969-1"];
2766
+ return this$["publications@2004-1"];
2693
2767
  }
2694
2768
  set Publications(n) {
2695
2769
  const this$ = this;
2696
- this$["publications@1969-1"] = n;
2770
+ this$["publications@2004-1"] = n;
2697
2771
  }
2698
2772
  get Contacts() {
2699
2773
  const this$ = this;
2700
- return this$["contacts@1970-1"];
2774
+ return this$["contacts@2005-1"];
2701
2775
  }
2702
2776
  set Contacts(n) {
2703
2777
  const this$ = this;
2704
- this$["contacts@1970-1"] = n;
2778
+ this$["contacts@2005-1"] = n;
2705
2779
  }
2706
2780
  get Assays() {
2707
2781
  const this$ = this;
2708
- return this$["assays@1971-1"];
2782
+ return this$["assays@2006-1"];
2709
2783
  }
2710
2784
  set Assays(n) {
2711
2785
  const this$ = this;
2712
- this$["assays@1971-1"] = n;
2786
+ this$["assays@2006-1"] = n;
2713
2787
  }
2714
2788
  get Studies() {
2715
2789
  const this$ = this;
2716
- return this$["studies@1972-1"];
2790
+ return this$["studies@2007-1"];
2717
2791
  }
2718
2792
  set Studies(n) {
2719
2793
  const this$ = this;
2720
- this$["studies@1972-1"] = n;
2794
+ this$["studies@2007-1"] = n;
2721
2795
  }
2722
2796
  get Workflows() {
2723
2797
  const this$ = this;
2724
- return this$["workflows@1973-1"];
2798
+ return this$["workflows@2008-1"];
2725
2799
  }
2726
2800
  set Workflows(n) {
2727
2801
  const this$ = this;
2728
- this$["workflows@1973-1"] = n;
2802
+ this$["workflows@2008-1"] = n;
2729
2803
  }
2730
2804
  get Runs() {
2731
2805
  const this$ = this;
2732
- return this$["runs@1974-1"];
2806
+ return this$["runs@2009-1"];
2733
2807
  }
2734
2808
  set Runs(n) {
2735
2809
  const this$ = this;
2736
- this$["runs@1974-1"] = n;
2810
+ this$["runs@2009-1"] = n;
2737
2811
  }
2738
2812
  get RegisteredStudyIdentifiers() {
2739
2813
  const this$ = this;
2740
- return this$["registeredStudyIdentifiers@1975-1"];
2814
+ return this$["registeredStudyIdentifiers@2010-1"];
2741
2815
  }
2742
2816
  set RegisteredStudyIdentifiers(n) {
2743
2817
  const this$ = this;
2744
- this$["registeredStudyIdentifiers@1975-1"] = n;
2818
+ this$["registeredStudyIdentifiers@2010-1"] = n;
2745
2819
  }
2746
2820
  get Comments() {
2747
2821
  const this$ = this;
2748
- return this$["comments@1976-1"];
2822
+ return this$["comments@2011-1"];
2749
2823
  }
2750
2824
  set Comments(n) {
2751
2825
  const this$ = this;
2752
- this$["comments@1976-1"] = n;
2826
+ this$["comments@2011-1"] = n;
2753
2827
  }
2754
2828
  get Remarks() {
2755
2829
  const this$ = this;
2756
- return this$["remarks@1977-1"];
2830
+ return this$["remarks@2012-1"];
2757
2831
  }
2758
2832
  set Remarks(n) {
2759
2833
  const this$ = this;
2760
- this$["remarks@1977-1"] = n;
2834
+ this$["remarks@2012-1"] = n;
2761
2835
  }
2762
2836
  get StaticHash() {
2763
2837
  const this$ = this;
@@ -2797,7 +2871,7 @@ class ArcInvestigation {
2797
2871
  const matchValue = tryFindIndex((x_1) => x_1 === assayIdent, map((x) => x.Identifier, this$.Assays));
2798
2872
  if (matchValue == null) {
2799
2873
  } else {
2800
- throw new Exception(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
2874
+ throw new Exception(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${matchValue} has the same name.`);
2801
2875
  }
2802
2876
  assay.Investigation = this$;
2803
2877
  void this$.Assays.push(assay);
@@ -2925,7 +2999,7 @@ class ArcInvestigation {
2925
2999
  iterate((s) => {
2926
3000
  const index = tryFindIndex((ai) => ai === oldIdentifier, s.RegisteredAssayIdentifiers);
2927
3001
  if (index != null) {
2928
- const index_1 = value(index) | 0;
3002
+ const index_1 = index | 0;
2929
3003
  setItem(s.RegisteredAssayIdentifiers, index_1, newIdentifier);
2930
3004
  }
2931
3005
  }, this$.Studies);
@@ -2966,14 +3040,14 @@ class ArcInvestigation {
2966
3040
  }
2967
3041
  const matchValue = tryFindIndex((subId) => subId === oldIdentifier, w.SubWorkflowIdentifiers);
2968
3042
  if (matchValue != null) {
2969
- const i = value(matchValue) | 0;
3043
+ const i = matchValue | 0;
2970
3044
  setItem(w.SubWorkflowIdentifiers, i, newIdentifier);
2971
3045
  }
2972
3046
  }, this$.Workflows);
2973
3047
  iterate((r) => {
2974
3048
  const matchValue_1 = tryFindIndex((wId) => wId === oldIdentifier, r.WorkflowIdentifiers);
2975
3049
  if (matchValue_1 != null) {
2976
- const i_1 = value(matchValue_1) | 0;
3050
+ const i_1 = matchValue_1 | 0;
2977
3051
  setItem(r.WorkflowIdentifiers, i_1, newIdentifier);
2978
3052
  }
2979
3053
  }, this$.Runs);
@@ -2991,7 +3065,7 @@ class ArcInvestigation {
2991
3065
  const matchValue = tryFindIndex((x) => x === assayIdent, map((a) => a.Identifier, removeAt(index, this$.Assays)));
2992
3066
  if (matchValue == null) {
2993
3067
  } else {
2994
- throw new Exception(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
3068
+ throw new Exception(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${matchValue} has the same name.`);
2995
3069
  }
2996
3070
  assay.Investigation = this$;
2997
3071
  setItem(this$.Assays, index, assay);
@@ -3006,8 +3080,12 @@ class ArcInvestigation {
3006
3080
  }
3007
3081
  SetAssay(assayIdentifier, assay) {
3008
3082
  const this$ = this;
3009
- const index = this$.GetAssayIndex(assayIdentifier) | 0;
3010
- this$.SetAssayAt(index, assay);
3083
+ const index = this$.Assays.findIndex((a) => a.Identifier === assayIdentifier) | 0;
3084
+ if (index === -1) {
3085
+ this$.AddAssay(assay);
3086
+ } else {
3087
+ this$.SetAssayAt(index, assay);
3088
+ }
3011
3089
  }
3012
3090
  static setAssay(assayIdentifier, assay) {
3013
3091
  return (inv) => {
@@ -3043,7 +3121,7 @@ class ArcInvestigation {
3043
3121
  if (matchValue == null) {
3044
3122
  throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier(assayIdentifier, this$.Identifier));
3045
3123
  } else {
3046
- return value(matchValue);
3124
+ return matchValue;
3047
3125
  }
3048
3126
  }
3049
3127
  static getAssay(assayIdentifier) {
@@ -3118,7 +3196,7 @@ class ArcInvestigation {
3118
3196
  const matchValue = tryFindIndex((x) => x.Identifier === study_1.Identifier, this$.Studies);
3119
3197
  if (matchValue == null) {
3120
3198
  } else {
3121
- throw new Exception(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
3199
+ throw new Exception(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${matchValue} has the same name.`);
3122
3200
  }
3123
3201
  study.Investigation = this$;
3124
3202
  void this$.Studies.push(study);
@@ -3263,7 +3341,7 @@ class ArcInvestigation {
3263
3341
  }, this$.Studies);
3264
3342
  const index = tryFindIndex((si) => si === oldIdentifier, this$.RegisteredStudyIdentifiers);
3265
3343
  if (index != null) {
3266
- const index_1 = value(index) | 0;
3344
+ const index_1 = index | 0;
3267
3345
  setItem(this$.RegisteredStudyIdentifiers, index_1, newIdentifier);
3268
3346
  }
3269
3347
  }
@@ -3283,7 +3361,7 @@ class ArcInvestigation {
3283
3361
  const matchValue = tryFindIndex((x) => x.Identifier === study_1.Identifier, removeAt(index, this$.Studies));
3284
3362
  if (matchValue == null) {
3285
3363
  } else {
3286
- throw new Exception(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
3364
+ throw new Exception(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${matchValue} has the same name.`);
3287
3365
  }
3288
3366
  study.Investigation = this$;
3289
3367
  setItem(this$.Studies, index, study);
@@ -3297,8 +3375,12 @@ class ArcInvestigation {
3297
3375
  }
3298
3376
  SetStudy(studyIdentifier, study) {
3299
3377
  const this$ = this;
3300
- const index = this$.GetStudyIndex(studyIdentifier) | 0;
3301
- this$.SetStudyAt(index, study);
3378
+ const index = this$.Studies.findIndex((s) => s.Identifier === studyIdentifier) | 0;
3379
+ if (index === -1) {
3380
+ this$.AddStudy(study);
3381
+ } else {
3382
+ this$.SetStudyAt(index, study);
3383
+ }
3302
3384
  }
3303
3385
  static setStudy(studyIdentifier, study) {
3304
3386
  return (inv) => {
@@ -3334,7 +3416,7 @@ class ArcInvestigation {
3334
3416
  if (matchValue == null) {
3335
3417
  throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier(studyIdentifier, this$.Identifier));
3336
3418
  } else {
3337
- return value(matchValue);
3419
+ return matchValue;
3338
3420
  }
3339
3421
  }
3340
3422
  static getStudy(studyIdentifier) {
@@ -3375,7 +3457,7 @@ class ArcInvestigation {
3375
3457
  const matchValue_1 = tryFindIndex((x_1) => x_1 === assayIdent_1, study.RegisteredAssayIdentifiers);
3376
3458
  if (matchValue_1 == null) {
3377
3459
  } else {
3378
- throw new Exception(`Cannot create assay with name ${assayIdent_1}, as assay names must be unique and assay at index ${value(matchValue_1)} has the same name.`);
3460
+ throw new Exception(`Cannot create assay with name ${assayIdent_1}, as assay names must be unique and assay at index ${matchValue_1} has the same name.`);
3379
3461
  }
3380
3462
  study.RegisterAssay(assayIdentifier);
3381
3463
  }
@@ -3464,7 +3546,7 @@ class ArcInvestigation {
3464
3546
  const matchValue = tryFindIndex((x) => x.Identifier === workflow_1.Identifier, this$.Workflows);
3465
3547
  if (matchValue == null) {
3466
3548
  } else {
3467
- throw new Exception(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
3549
+ throw new Exception(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${matchValue} has the same name.`);
3468
3550
  }
3469
3551
  workflow.Investigation = this$;
3470
3552
  void this$.Workflows.push(workflow);
@@ -3506,14 +3588,14 @@ class ArcInvestigation {
3506
3588
  iterate((w_1) => {
3507
3589
  const matchValue = tryFindIndex((swi) => swi === workflowIdentifier, w_1.SubWorkflowIdentifiers);
3508
3590
  if (matchValue != null) {
3509
- const swiIndex = value(matchValue) | 0;
3591
+ const swiIndex = matchValue | 0;
3510
3592
  w_1.SubWorkflowIdentifiers.splice(swiIndex, 1);
3511
3593
  }
3512
3594
  }, this$.Workflows);
3513
3595
  iterate((r) => {
3514
3596
  const matchValue_1 = tryFindIndex((wi) => wi === workflowIdentifier, r.WorkflowIdentifiers);
3515
3597
  if (matchValue_1 != null) {
3516
- const wiIndex = value(matchValue_1) | 0;
3598
+ const wiIndex = matchValue_1 | 0;
3517
3599
  r.WorkflowIdentifiers.splice(wiIndex, 1);
3518
3600
  }
3519
3601
  }, this$.Runs);
@@ -3541,7 +3623,7 @@ class ArcInvestigation {
3541
3623
  if (matchValue == null) {
3542
3624
  throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier(workflowIdentifier, this$.Identifier));
3543
3625
  } else {
3544
- return value(matchValue);
3626
+ return matchValue;
3545
3627
  }
3546
3628
  }
3547
3629
  static getWorkflow(workflowIdentifier) {
@@ -3573,15 +3655,19 @@ class ArcInvestigation {
3573
3655
  const matchValue = tryFindIndex((x) => x.Identifier === workflow_1.Identifier, removeAt(index, this$.Workflows));
3574
3656
  if (matchValue == null) {
3575
3657
  } else {
3576
- throw new Exception(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
3658
+ throw new Exception(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${matchValue} has the same name.`);
3577
3659
  }
3578
3660
  workflow.Investigation = this$;
3579
3661
  setItem(this$.Workflows, index, workflow);
3580
3662
  }
3581
3663
  SetWorkflow(workflowIdentifier, workflow) {
3582
3664
  const this$ = this;
3583
- const index = this$.GetWorkflowIndex(workflowIdentifier) | 0;
3584
- this$.SetWorkflowAt(index, workflow);
3665
+ const index = this$.Workflows.findIndex((w) => w.Identifier === workflowIdentifier) | 0;
3666
+ if (index === -1) {
3667
+ this$.AddWorkflow(workflow);
3668
+ } else {
3669
+ this$.SetWorkflowAt(index, workflow);
3670
+ }
3585
3671
  }
3586
3672
  static setWorkflow(workflowIdentifier, workflow) {
3587
3673
  return (inv) => {
@@ -3622,7 +3708,7 @@ class ArcInvestigation {
3622
3708
  const matchValue = tryFindIndex((x) => x.Identifier === run_1.Identifier, this$.Runs);
3623
3709
  if (matchValue == null) {
3624
3710
  } else {
3625
- throw new Exception(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
3711
+ throw new Exception(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${matchValue} has the same name.`);
3626
3712
  }
3627
3713
  run.Investigation = this$;
3628
3714
  void this$.Runs.push(run);
@@ -3685,7 +3771,7 @@ class ArcInvestigation {
3685
3771
  if (matchValue == null) {
3686
3772
  throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, this$.Identifier));
3687
3773
  } else {
3688
- return value(matchValue);
3774
+ return matchValue;
3689
3775
  }
3690
3776
  }
3691
3777
  static getRun(runIdentifier) {
@@ -3717,15 +3803,19 @@ class ArcInvestigation {
3717
3803
  const matchValue = tryFindIndex((x) => x.Identifier === run_1.Identifier, removeAt(index, this$.Runs));
3718
3804
  if (matchValue == null) {
3719
3805
  } else {
3720
- throw new Exception(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
3806
+ throw new Exception(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${matchValue} has the same name.`);
3721
3807
  }
3722
3808
  run.Investigation = this$;
3723
3809
  setItem(this$.Runs, index, run);
3724
3810
  }
3725
3811
  SetRun(runIdentifier, run) {
3726
3812
  const this$ = this;
3727
- const index = this$.GetRunIndex(runIdentifier) | 0;
3728
- this$.SetRunAt(index, run);
3813
+ const index = this$.Runs.findIndex((r) => r.Identifier === runIdentifier) | 0;
3814
+ if (index === -1) {
3815
+ this$.AddRun(run);
3816
+ } else {
3817
+ this$.SetRunAt(index, run);
3818
+ }
3729
3819
  }
3730
3820
  static setRunAt(index, run) {
3731
3821
  return (inv) => {