@nfdi4plants/arctrl 1.0.0-alpha9 → 1.0.0-beta.2

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 (286) hide show
  1. package/ARC.js +28 -29
  2. package/Contract/Contract.js +3 -3
  3. package/Contracts/Contracts.ArcAssay.js +3 -3
  4. package/Contracts/Contracts.ArcInvestigation.js +3 -3
  5. package/Contracts/Contracts.ArcStudy.js +3 -3
  6. package/Contracts/Contracts.Git.js +4 -4
  7. package/FileSystem/Commit.js +2 -2
  8. package/FileSystem/FileSystem.js +4 -4
  9. package/FileSystem/FileSystemTree.js +15 -15
  10. package/FileSystem/Path.js +2 -2
  11. package/FileSystemTree.js +1 -1
  12. package/ISA/ISA/ArcTypes/ArcTable.js +20 -20
  13. package/ISA/ISA/ArcTypes/ArcTableAux.js +17 -17
  14. package/ISA/ISA/ArcTypes/ArcTables.js +283 -279
  15. package/ISA/ISA/ArcTypes/ArcTypes.js +89 -373
  16. package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
  17. package/ISA/ISA/ArcTypes/CompositeColumn.js +4 -4
  18. package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
  19. package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
  20. package/ISA/ISA/Builder/Types.js +5 -5
  21. package/ISA/ISA/Fable.js +5 -5
  22. package/ISA/ISA/Helper.js +9 -9
  23. package/ISA/ISA/Identifier.js +2 -2
  24. package/ISA/ISA/JsonTypes/AnnotationValue.js +5 -5
  25. package/ISA/ISA/JsonTypes/Assay.js +26 -26
  26. package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
  27. package/ISA/ISA/JsonTypes/ColumnIndex.js +23 -23
  28. package/ISA/ISA/JsonTypes/Comment.js +3 -3
  29. package/ISA/ISA/JsonTypes/CommentList.js +4 -4
  30. package/ISA/ISA/JsonTypes/Component.js +12 -12
  31. package/ISA/ISA/JsonTypes/Data.js +4 -4
  32. package/ISA/ISA/JsonTypes/DataFile.js +2 -2
  33. package/ISA/ISA/JsonTypes/Factor.js +12 -12
  34. package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
  35. package/ISA/ISA/JsonTypes/Investigation.js +6 -6
  36. package/ISA/ISA/JsonTypes/Material.js +5 -5
  37. package/ISA/ISA/JsonTypes/MaterialAttribute.js +4 -4
  38. package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
  39. package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
  40. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +10 -10
  41. package/ISA/ISA/JsonTypes/OntologySourceReference.js +8 -8
  42. package/ISA/ISA/JsonTypes/Person.js +9 -9
  43. package/ISA/ISA/JsonTypes/Process.js +11 -11
  44. package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
  45. package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
  46. package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
  47. package/ISA/ISA/JsonTypes/ProcessSequence.js +14 -14
  48. package/ISA/ISA/JsonTypes/Protocol.js +6 -6
  49. package/ISA/ISA/JsonTypes/ProtocolParameter.js +4 -4
  50. package/ISA/ISA/JsonTypes/Publication.js +8 -8
  51. package/ISA/ISA/JsonTypes/Sample.js +5 -5
  52. package/ISA/ISA/JsonTypes/Source.js +5 -5
  53. package/ISA/ISA/JsonTypes/Study.js +58 -58
  54. package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
  55. package/ISA/ISA/JsonTypes/Value.js +7 -7
  56. package/ISA/ISA/Regex.js +3 -3
  57. package/ISA/ISA.Json/Assay.js +5 -5
  58. package/ISA/ISA.Json/Comment.js +5 -5
  59. package/ISA/ISA.Json/ConverterOptions.js +1 -1
  60. package/ISA/ISA.Json/Data.js +5 -5
  61. package/ISA/ISA.Json/Decode.js +4 -4
  62. package/ISA/ISA.Json/Factor.js +5 -5
  63. package/ISA/ISA.Json/GEncode.js +3 -3
  64. package/ISA/ISA.Json/Investigation.js +6 -6
  65. package/ISA/ISA.Json/Material.js +5 -5
  66. package/ISA/ISA.Json/Ontology.js +6 -6
  67. package/ISA/ISA.Json/Person.js +10 -10
  68. package/ISA/ISA.Json/Process.js +5 -5
  69. package/ISA/ISA.Json/Protocol.js +6 -6
  70. package/ISA/ISA.Json/Publication.js +4 -4
  71. package/ISA/ISA.Json/Study.js +6 -6
  72. package/ISA/ISA.Json/Validation/Fable.js +6 -6
  73. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
  74. package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
  75. package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +19 -17
  76. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +4 -4
  77. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +9 -9
  78. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +14 -14
  79. package/ISA/ISA.Spreadsheet/ArcAssay.js +17 -20
  80. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +37 -37
  81. package/ISA/ISA.Spreadsheet/ArcStudy.js +13 -13
  82. package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
  83. package/ISA/ISA.Spreadsheet/Metadata/Assays.js +10 -10
  84. package/ISA/ISA.Spreadsheet/Metadata/Comment.js +6 -6
  85. package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +11 -11
  86. package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +7 -7
  87. package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  88. package/ISA/ISA.Spreadsheet/Metadata/Factors.js +8 -8
  89. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
  90. package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +7 -7
  91. package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
  92. package/ISA/ISA.Spreadsheet/Metadata/Publication.js +9 -9
  93. package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +23 -23
  94. package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
  95. package/README.md +29 -253
  96. package/SemVer.js +7 -7
  97. package/Templates/Template.Json.js +12 -9
  98. package/Templates/Template.Spreadsheet.js +39 -23
  99. package/Templates/Template.Web.js +4 -4
  100. package/Templates/Template.js +7 -7
  101. package/Templates/Templates.js +5 -5
  102. package/WebRequest/WebRequest.js +4 -4
  103. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
  104. package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.2.2.2}/Fable.Promise.fableproj +3 -4
  105. package/fable_modules/Fable.Promise.2.2.2/Promise.fs +176 -0
  106. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +143 -0
  107. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +4 -0
  108. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +4 -0
  109. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  110. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  111. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +85 -36
  112. package/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js +272 -0
  113. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
  114. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +1 -0
  115. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +21 -21
  116. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
  117. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
  118. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
  119. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
  120. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
  121. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
  122. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +1 -1
  123. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +9 -8
  124. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +1 -1
  125. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +7 -7
  126. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
  127. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
  128. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +3 -1
  129. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
  130. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs +2 -0
  131. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
  132. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
  133. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +10 -1
  134. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +24 -19
  135. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
  136. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
  137. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
  138. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
  139. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
  140. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +4 -4
  141. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +10 -10
  142. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +20 -4
  143. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +33 -13
  144. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
  145. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
  146. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
  147. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
  148. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
  149. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
  150. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
  151. package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
  152. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
  153. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
  154. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
  155. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
  156. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
  157. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
  158. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
  159. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
  160. package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
  161. package/fable_modules/project_cracked.json +1 -1
  162. package/package.json +1 -1
  163. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
  164. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
  165. package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
  166. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
  167. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
  168. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
  169. package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs.js +0 -240
  170. package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
  171. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
  172. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
  173. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
  174. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
  175. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
  176. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
  177. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
  178. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
  179. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
  180. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
  181. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
  182. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
  183. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
  184. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
  185. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
  186. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
  187. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
  188. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
  189. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
  190. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
  191. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  192. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  193. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  194. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
  195. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
  196. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
  197. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
  198. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
  199. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
  200. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
  201. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
  202. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
  203. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
  204. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
  205. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
  206. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
  207. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
  208. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
  209. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
  210. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
  211. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
  212. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
  213. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
  214. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
  215. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
  216. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
  217. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
  218. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
  219. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
  220. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
  221. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
  222. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
  223. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
  224. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
  225. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
  226. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
  227. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
  228. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
  229. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
  230. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
  231. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
  232. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
  233. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
  234. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
  235. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
  236. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
  237. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
  238. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
  239. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
  240. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
  241. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
  242. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
  243. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
  244. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
  245. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
  246. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
  247. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
  248. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
  249. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
  250. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
  251. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
  252. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
  253. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
  254. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
  255. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
  256. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
  257. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
  258. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
  259. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
  260. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
  261. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
  262. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
  263. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
  264. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
  265. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
  266. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
  267. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
  268. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
  269. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
  270. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
  271. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
  272. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
  273. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
  274. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
  275. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
  276. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
  277. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
  278. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
  279. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
  280. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
  281. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
  282. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
  283. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
  284. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
  285. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
  286. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
package/README.md CHANGED
@@ -1,277 +1,53 @@
1
1
  # ARCtrl
2
- Top level ARC DataModel and API function descriptions.
3
2
 
4
- - [ARCtrl](#arctrl)
5
- - [Jargon/Nomenclature](#jargonnomenclature)
6
- - [API Design](#api-design)
7
- - [Top level overview](#top-level-overview)
8
- - [Stack](#stack)
9
- - [Libraries](#libraries)
10
- - [Design choices](#design-choices)
11
- - [Fable compatibility as top priority](#fable-compatibility-as-top-priority)
3
+ > **ARCtrl** the easy way to read, manipulate and write ARCs in __.NET__
4
+ and __JavaScript__! ❤️
12
5
 
13
- ## Sub-Libraries
6
+ | Version | Downloads |
7
+ | :--------|-----------:|
8
+ |![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/ARCtrl?logo=nuget&color=%234fb3d9)|![Nuget](https://img.shields.io/nuget/dt/ARCtrl?color=%234FB3D9)|
9
+ |![npm (scoped with tag)](https://img.shields.io/npm/v/%40nfdi4plants/arctrl/next?logo=npm&color=%234fb3d9)|![npm](https://img.shields.io/npm/dt/%40nfdi4plants%2Farctrl?color=%234fb3d9)|
14
10
 
15
- [ISA README.md](src/ISA/README.md) :books:
11
+ ## Install
16
12
 
17
- [Contracts README.md](src/Contract/README.md) :books:
13
+ (currently only prereleases available, check the [nuget page](https://www.nuget.org/packages/ARCtrl) or [npm page](https://www.npmjs.com/package/@nfdi4plants/arctrl) respectively)
18
14
 
19
- # Jargon/Nomenclature
15
+ ### .NET
20
16
 
21
- In general, a distinction is made between `DataModel`s, `API`s, and `Tools`:
22
- - `DataModel`s are the data structures which represent the ARC or it's respective parts in memory. They are serializable and can be used as data exchange format between tool implementations:
23
- - `FileSystem`: Represents the file system structure of an ARC. All files and their path relative to the arc root folder are contained here.
24
- - `ISA`: Represents the experimental metadata of the ARC that is stored in the ISA-XLSX format (investigation, studies and assays).
25
- - `CWL`: Represents the workflow definitions of the ARC in the CWL format.
26
- - `API`s are static methods on the `DataModel` types that perfrom operations on the `DataModel`s. Often, these are CRUD-like operations, and are aimed to be be composable.
27
-
28
- **Example**: A `ARC.addAssay` function has to do several things:
29
- - Add a new assay to the `ISA`
30
- - Add a new assay to the `FileSystem`
31
- it should therefore combine the respective functions of `ISA API` and `FileSystem API` to achieve this.
32
-
33
- - `Tools` or `Clients` are user-facing software such as Swate, ARCitect, or the ARCCommander. They should ideally compose their functionality from the `API`s and work with an in-memory representation of the ARC via `DataModel`s. There are operations such as IO for reading/writing actual files to the file system, which are not part of the `API`s, but rather part of the `Tools`.
34
-
35
- ## Local Setup
36
-
37
- 1. `dotnet tool restore`
38
- 2. `npm install` in *root* (this will also run `npm install` in `src/ISA`).
39
-
40
- ## API Design
41
-
42
- Command syntax should be inspired by ArcCommander commands, as they are already well established and known to the power user base.
43
- See syntax : https://nfdi4plants.github.io/arcCommander-docs/docs/01GeneralCLIStructure.html
44
- See selection: https://nfdi4plants.github.io/arcCommander-docs/docs/02SubcommandVerbs.html
45
-
46
- ## Top level overview
47
-
48
- In the following, the dependency graph of the proposed arcAPI toolstack can be seen:
49
-
50
- ```mermaid
51
- flowchart TD
52
-
53
- %% ----- Nodes ------
54
-
55
-
56
- subgraph ARCtrl
57
- arc[ARC]
58
-
59
- subgraph ISA
60
- isaj[ISA.Json]
61
- isax[ISA.Spreadsheet]
62
- isaa[ISA]
63
- end
64
- subgraph FileSystem
65
- fs[FileSystem]
66
- end
67
- subgraph CWL
68
- cwl[CWL]
69
- end
70
- end
71
-
72
- subgraph DataTransferObject
73
- fsspread[FsSpreadsheet]
74
- thoth["Thoth.Json (string)"]
75
- end
76
-
77
- subgraph IO
78
- node[node.fs]
79
- fsspreadx[FsSpreadsheet.ExcelIO]
80
- excelJS[exceljs]
81
- systemio[System.IO]
82
- end
83
-
84
-
85
- %% ----- Edges ------
86
-
87
-
88
- %% Arc
89
- arc --> ISA
90
- arc --> FileSystem
91
- arc --> CWL
92
-
93
- %% ISA
94
- isaj --> isaa
95
- isax --> isaa
96
- isaj --> thoth
97
-
98
- isax --> fsspread
99
-
100
- %% ------ Tools ---------
101
-
102
- subgraph Tools
103
- arcdotnet[/arcIO.NET\]
104
- arcitect[[ARCitect]]
105
- arccom[[arcCommander]]
106
- swate[[Swate]]
107
- end
108
-
109
- %% ----- Edges ------
110
-
111
- Tools --> ARCtrl
112
-
113
- arcdotnet --> fsspreadx
114
- arcdotnet --> systemio
115
- arcitect --> excelJS
116
- arcitect --> node
117
- arccom --> arcdotnet
118
-
119
-
120
- fsspreadx -.-> fsspread
121
- systemio -.-> thoth
122
- excelJS -.-> fsspread
123
- node -.-> thoth
124
-
125
- %% ----- Styling ------
126
-
127
- %% dotnet
128
- style Tools stroke:#3A0EC6,stroke-width:2px
129
- style fsspreadx fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
130
- style arcdotnet fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
131
- style arccom fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
132
- style systemio fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
133
-
134
- %% javascript
135
- style excelJS fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
136
- style arcitect fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
137
- style swate fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
138
- style node fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
139
-
140
-
141
- %% fable
142
- style ARCtrl stroke:#007B00,stroke-width:2px
143
- style ISA stroke:#007B00,stroke-width:2px
144
- style FileSystem stroke:#007B00,stroke-width:2px
145
- style CWL stroke:#007B00,stroke-width:2px
146
- style DataTransferObject stroke:#007B00,stroke-width:2px
17
+ ```fsharp
18
+ #r "nuget: ARCtrl"
19
+ ```
147
20
 
148
- style fsspread fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
149
- style isax fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
150
- style isaa fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
151
- style isaj fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
152
- style arc fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
153
- style fs fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
154
- style cwl fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
155
- style thoth fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
21
+ ```bash
22
+ <PackageReference Include="ARCtrl" Version="1.0.0-beta.1" />
156
23
  ```
157
24
 
158
- ## Stack
159
-
160
- ```mermaid
161
- classDiagram
162
-
163
- class arc["ARCtrl"] {
164
- ISA
165
- CWL
166
- FileSystem
167
- }
168
- class isa["ISA"] {
169
- Investigation
170
- Studies
171
- Assays
172
- ArcTable
173
- CompositeColumn
174
- CompositeHeader
175
- CompositeCell
176
- }
177
- class file ["FileSystem"] {
178
- - FileSystemTree
179
- - History
180
- }
181
- class cwl["CWL"] {
182
- CommandlineTool?
183
- Workflows
184
- }
185
- class io["IO"] {
186
- FsSpreadsheet.ExcelIO
187
- System.IO
188
- exceljs
189
- node fs
190
- }
191
- io <|--|> arc : Contracts
192
- arc <|--|> isa
193
- arc <|--|> cwl
194
- arc <|--|> file
25
+ ### JavaScript
195
26
 
27
+ ```bash
28
+ npm i @nfdi4plants/arctrl
196
29
  ```
197
30
 
198
- # Libraries
199
-
200
- Mockups for each library are in the `ARC` folder. They contain API/Domain stubs to draft and test the new library designs.
31
+ ## Docs
201
32
 
202
- ## Design choices
33
+ Currently we provide some documentation in form of markdown files in the `/docs` folder of this repository!
203
34
 
204
- ### Fable compatibility as top priority
35
+ [Check it out!](/docs)
205
36
 
206
- All libraries should be Fable compatible, and produce javascript/typescript code that is ergonomic to use in a js/ts environment, therefore:
207
- - we use classes with static members over nested modules
208
- - we use the `[<AttachMembers>]` fable attribute for each class
209
- - Using overloads with the `[<AttachMembers>]` attribute will make js functions shadow itself. Never use this!
210
- - we use the `[<NamedParams(n)>]` fable attribute for all optional parameters in static methods that use tupled, named params.
211
- - we use `Array<'T>` for all collections in F#, since they get transpiled to native js arrays.
212
- - we use the `[<Erase>]` fable attribute for union cases that contain data
213
- ```fsharp
214
- [<Erase>] type X = | Y of string | Z of int
215
- ```
216
- - we use the `[<StringEnum>]` for unions that contain no data (e.g.)
217
- ```fsharp
218
- [<StringEnum>] type YesOrNo = | Yes | No
219
- ```
220
-
221
- **Example:**
222
-
223
- ```fsharp
224
- [<AttachMembers>]
225
- type Study =
226
- {
227
- Identifier : string option
228
- Assays : Assay array option
229
- }
230
-
231
- [<NamedParams>]
232
- static member create (?Identifier, ?Assays : Assay array) =
233
- {
234
- Identifier = Identifier
235
- Assays = Assays
236
- }
237
- ```
238
-
239
- will become the following javascript code:
240
-
241
- ```javascript
242
- export class Study extends Record {
243
- constructor(Identifier, Assays) {
244
- super();
245
- this.Identifier = Identifier;
246
- this.Assays = Assays;
247
- }
248
- static create({ Identifier, Assays }) {
249
- return new Study(Identifier, Assays);
250
- }
251
- ```
37
+ ## Development
252
38
 
253
- and the following typescript code:
39
+ ### Requirements
254
40
 
255
- ```typescript
256
- export class Study extends Record implements IEquatable<Study>, IComparable<Study> {
257
- readonly Identifier: Option<string>;
258
- readonly Assays: Option<Assay[]>;
259
- constructor(Identifier: Option<string>, Assays: Option<Assay[]>) {
260
- super();
261
- this.Identifier = Identifier;
262
- this.Assays = Assays;
263
- }
264
- static create({ Identifier, Assays }: {Identifier?: string, Assays?: Assay[] }): Study {
265
- return new Study(Identifier, Assays);
266
- }
267
- ```
268
-
269
- ## Development
41
+ - [nodejs and npm](https://nodejs.org/en/download)
42
+ - verify with `node --version` (Tested with v18.16.1)
43
+ - verify with `npm --version` (Tested with v9.2.0)
44
+ - [.NET SDK](https://dotnet.microsoft.com/en-us/download)
45
+ - verify with `dotnet --version` (Tested with 7.0.306)
270
46
 
271
- ### Setup
47
+ ### Local Setup
272
48
 
273
49
  1. `dotnet tool restore`
274
50
  2. `dotnet paket install`
275
51
  3. `npm install`
276
52
 
277
- Verify correct setup with `./build.cmd runtests` ✨
53
+ Verify correct setup with `./build.cmd runtests` ✨
package/SemVer.js CHANGED
@@ -1,10 +1,10 @@
1
- import { match, create } from "./fable_modules/fable-library.4.1.4/RegExp.js";
2
- import { toString, Record } from "./fable_modules/fable-library.4.1.4/Types.js";
3
- import { record_type, option_type, string_type, int32_type } from "./fable_modules/fable-library.4.1.4/Reflection.js";
4
- import { parse } from "./fable_modules/fable-library.4.1.4/Int32.js";
5
- import { value as value_3, unwrap } from "./fable_modules/fable-library.4.1.4/Option.js";
6
- import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "./fable_modules/fable-library.4.1.4/System.Text.js";
7
- import { printf, toText } from "./fable_modules/fable-library.4.1.4/String.js";
1
+ import { match, create } from "./fable_modules/fable-library.4.4.1/RegExp.js";
2
+ import { toString, Record } from "./fable_modules/fable-library.4.4.1/Types.js";
3
+ import { record_type, option_type, string_type, int32_type } from "./fable_modules/fable-library.4.4.1/Reflection.js";
4
+ import { parse } from "./fable_modules/fable-library.4.4.1/Int32.js";
5
+ import { value as value_3, unwrap } from "./fable_modules/fable-library.4.4.1/Option.js";
6
+ import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "./fable_modules/fable-library.4.4.1/System.Text.js";
7
+ import { printf, toText } from "./fable_modules/fable-library.4.4.1/String.js";
8
8
 
9
9
  const SemVerAux_Pattern = "^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<pre>[0-9A-Za-z-\\.]+))?(\\+(?<build>[0-9A-Za-z-\\.]+))?$";
10
10
 
@@ -1,18 +1,18 @@
1
- import { toString } from "../fable_modules/fable-library.4.1.4/Types.js";
1
+ import { toString } from "../fable_modules/fable-library.4.4.1/Types.js";
2
2
  import { dict, fromString, datetimeUtc, array as array_1, map as map_2, list as list_2, guid as guid_1, object as object_1, string, succeed, andThen } from "../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
3
- import { uncurry2, uncurry3 } from "../fable_modules/fable-library.4.1.4/Util.js";
3
+ import { uncurry2, uncurry3 } from "../fable_modules/fable-library.4.4.1/Util.js";
4
4
  import { Template, Organisation } from "./Template.js";
5
5
  import { ConverterOptions_$ctor } from "../ISA/ISA.Json/ConverterOptions.js";
6
6
  import { decoder as decoder_2, encoder } from "../ISA/ISA.Json/Person.js";
7
7
  import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../ISA/ISA.Json/Ontology.js";
8
8
  import { toString as toString_1, datetime, list as list_1, guid, object } from "../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
9
- import { ofArray, map } from "../fable_modules/fable-library.4.1.4/List.js";
9
+ import { ofArray, map } from "../fable_modules/fable-library.4.4.1/List.js";
10
10
  import { Process_decoder, Process_encoder } from "../ISA/ISA.Json/Process.js";
11
- import { map as map_1, delay, toList } from "../fable_modules/fable-library.4.1.4/Seq.js";
12
- import { ArcTables_fromProcesses_134EBDED, ArcTables__get_Item_Z524259A4 } from "../ISA/ISA/ArcTypes/ArcTables.js";
13
- import { printf, toFail } from "../fable_modules/fable-library.4.1.4/String.js";
14
- import { FSharpMap__get_Values } from "../fable_modules/fable-library.4.1.4/Map.js";
15
- import { defaultArg } from "../fable_modules/fable-library.4.1.4/Option.js";
11
+ import { map as map_1, delay, toList } from "../fable_modules/fable-library.4.4.1/Seq.js";
12
+ import { ArcTables } from "../ISA/ISA/ArcTypes/ArcTables.js";
13
+ import { printf, toFail } from "../fable_modules/fable-library.4.4.1/String.js";
14
+ import { FSharpMap__get_Values } from "../fable_modules/fable-library.4.4.1/Map.js";
15
+ import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
16
16
 
17
17
  export const Organisation_encode = toString;
18
18
 
@@ -37,7 +37,10 @@ export const Template_decode = (() => {
37
37
  const oaDecoder = OntologyAnnotation_decoder(ConverterOptions_$ctor());
38
38
  return (path_10) => ((v) => object_1((get$) => {
39
39
  let objectArg, arg_3, d, decoder, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6, objectArg_7, objectArg_8, objectArg_9;
40
- return Template.create((objectArg = get$.Required, objectArg.Field("id", guid_1)), (arg_3 = ((d = ((decoder = Process_decoder(ConverterOptions_$ctor()), (path_1) => ((value_1) => list_2(uncurry2(decoder), path_1, value_1)))), (path_2) => ((value_2) => map_2((ps) => ArcTables__get_Item_Z524259A4(ArcTables_fromProcesses_134EBDED(ps), 0), uncurry2(d), path_2, value_2)))), (objectArg_1 = get$.Required, objectArg_1.Field("table", uncurry2(arg_3)))), (objectArg_2 = get$.Required, objectArg_2.Field("name", string)), (objectArg_3 = get$.Required, objectArg_3.Field("description", string)), (objectArg_4 = get$.Required, objectArg_4.Field("organisation", uncurry2(Organisation_decode))), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), (objectArg_6 = get$.Required, objectArg_6.Field("authors", (path_6, value_6) => array_1(uncurry2(personDecoder), path_6, value_6))), (objectArg_7 = get$.Required, objectArg_7.Field("endpoint_repositories", (path_7, value_7) => array_1(uncurry2(oaDecoder), path_7, value_7))), (objectArg_8 = get$.Required, objectArg_8.Field("tags", (path_8, value_8) => array_1(uncurry2(oaDecoder), path_8, value_8))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
40
+ return Template.create((objectArg = get$.Required, objectArg.Field("id", guid_1)), (arg_3 = ((d = ((decoder = Process_decoder(ConverterOptions_$ctor()), (path_1) => ((value_1) => list_2(uncurry2(decoder), path_1, value_1)))), (path_2) => ((value_2) => map_2((ps) => {
41
+ const arctbls = ArcTables.fromProcesses(ps);
42
+ return arctbls.Tables[0];
43
+ }, uncurry2(d), path_2, value_2)))), (objectArg_1 = get$.Required, objectArg_1.Field("table", uncurry2(arg_3)))), (objectArg_2 = get$.Required, objectArg_2.Field("name", string)), (objectArg_3 = get$.Required, objectArg_3.Field("description", string)), (objectArg_4 = get$.Required, objectArg_4.Field("organisation", uncurry2(Organisation_decode))), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), (objectArg_6 = get$.Required, objectArg_6.Field("authors", (path_6, value_6) => array_1(uncurry2(personDecoder), path_6, value_6))), (objectArg_7 = get$.Required, objectArg_7.Field("endpoint_repositories", (path_7, value_7) => array_1(uncurry2(oaDecoder), path_7, value_7))), (objectArg_8 = get$.Required, objectArg_8.Field("tags", (path_8, value_8) => array_1(uncurry2(oaDecoder), path_8, value_8))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
41
44
  }, path_10, v));
42
45
  })();
43
46
 
@@ -1,25 +1,35 @@
1
- import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library.4.1.4/List.js";
1
+ import { toString, Record, FSharpException } from "../fable_modules/fable-library.4.4.1/Types.js";
2
+ import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
3
+ import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library.4.4.1/List.js";
2
4
  import { toRows, fromRows, toSparseTable, fromSparseTable } from "../ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js";
3
- import { toString, Record } from "../fable_modules/fable-library.4.1.4/Types.js";
4
- import { record_type, list_type, string_type } from "../fable_modules/fable-library.4.1.4/Reflection.js";
5
5
  import { Comment$_$reflection } from "../ISA/ISA/JsonTypes/Comment.js";
6
6
  import { Comment_fromString } from "../ISA/ISA.Spreadsheet/Metadata/Comment.js";
7
7
  import { SparseRowModule_fromFsRow, SparseRowModule_writeToSheet, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "../ISA/ISA.Spreadsheet/Metadata/SparseTable.js";
8
8
  import { createMissingIdentifier } from "../ISA/ISA/Identifier.js";
9
- import { addToDict } from "../fable_modules/fable-library.4.1.4/MapUtil.js";
10
- import { List_distinct } from "../fable_modules/fable-library.4.1.4/Seq2.js";
11
- import { getEnumerator, stringHash } from "../fable_modules/fable-library.4.1.4/Util.js";
12
- import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library.4.1.4/Seq.js";
9
+ import { addToDict } from "../fable_modules/fable-library.4.4.1/MapUtil.js";
10
+ import { List_distinct } from "../fable_modules/fable-library.4.4.1/Seq2.js";
11
+ import { getEnumerator, stringHash } from "../fable_modules/fable-library.4.4.1/Util.js";
12
+ import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library.4.4.1/Seq.js";
13
13
  import { Person } from "../ISA/ISA/JsonTypes/Person.js";
14
- import { toArray } from "../fable_modules/fable-library.4.1.4/Option.js";
14
+ import { toArray } from "../fable_modules/fable-library.4.4.1/Option.js";
15
15
  import { toRows as toRows_1, fromRows as fromRows_1 } from "../ISA/ISA.Spreadsheet/Metadata/Contacts.js";
16
- import { parse } from "../fable_modules/fable-library.4.1.4/Guid.js";
16
+ import { parse } from "../fable_modules/fable-library.4.4.1/Guid.js";
17
17
  import { Template, Organisation } from "./Template.js";
18
- import { FsWorksheet } from "../fable_modules/FsSpreadsheet.4.1.0/FsWorksheet.fs.js";
19
- import { printf, toFail } from "../fable_modules/fable-library.4.1.4/String.js";
18
+ import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs.js";
20
19
  import { toFsWorksheet, tryFromFsWorksheet } from "../ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js";
21
- import { now } from "../fable_modules/fable-library.4.1.4/Date.js";
22
- import { FsWorkbook } from "../fable_modules/FsSpreadsheet.4.1.0/FsWorkbook.fs.js";
20
+ import { now } from "../fable_modules/fable-library.4.4.1/Date.js";
21
+ import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs.js";
22
+
23
+ export class TemplateReadError extends FSharpException {
24
+ constructor(Data0) {
25
+ super();
26
+ this.Data0 = Data0;
27
+ }
28
+ }
29
+
30
+ export function TemplateReadError_$reflection() {
31
+ return class_type("ARCtrl.Template.Spreadsheet.TemplateReadError", void 0, TemplateReadError, class_type("System.Exception"));
32
+ }
23
33
 
24
34
  export const Metadata_ER_labels = ofArray(["ER", "ER Term Accession Number", "ER Term Source REF"]);
25
35
 
@@ -251,12 +261,12 @@ export function Metadata_Template_toRows(template) {
251
261
  }
252
262
 
253
263
  export function Template_fromParts(templateInfo, ers, tags, authors, table, lastUpdated) {
254
- const arg = parse(templateInfo.Id);
255
- const arg_4 = Organisation.ofString(templateInfo.Organisation);
256
- const arg_6 = toArray_1(authors);
257
- const arg_7 = toArray_1(ers);
258
- const arg_8 = toArray_1(tags);
259
- return Template.make(arg, table, templateInfo.Name, templateInfo.Description, arg_4, templateInfo.Version, arg_6, arg_7, arg_8, lastUpdated);
264
+ const id = parse(templateInfo.Id);
265
+ const organisation = Organisation.ofString(templateInfo.Organisation);
266
+ const authors_1 = toArray_1(authors);
267
+ const repos = toArray_1(ers);
268
+ const tags_1 = toArray_1(tags);
269
+ return Template.make(id, table, templateInfo.Name, templateInfo.Description, organisation, templateInfo.Version, authors_1, repos, tags_1, lastUpdated);
260
270
  }
261
271
 
262
272
  export function Template_toMetadataSheet(template) {
@@ -275,7 +285,7 @@ export function Template_fromMetadataSheet(sheet) {
275
285
  * Reads an assay from a spreadsheet
276
286
  */
277
287
  export function Template_fromFsWorkbook(doc) {
278
- let matchValue_2, matchValue_4, ws_3, matchValue_5, arg_1, ws_2, matchValue_3, arg;
288
+ let matchValue_2, matchValue_4, ws_3, matchValue_5, ws_2, matchValue_3;
279
289
  let patternInput;
280
290
  const matchValue = doc.TryGetWorksheetByName("isa_template");
281
291
  if (matchValue == null) {
@@ -301,15 +311,21 @@ export function Template_fromFsWorkbook(doc) {
301
311
  else {
302
312
  return void 0;
303
313
  }
304
- }, sheets), (matchValue_4 == null) ? toFail(printf("No worksheet with name %s found"))(templateInfo.Table) : ((ws_3 = matchValue_4, (matchValue_5 = tryFromFsWorksheet(ws_3), (matchValue_5 == null) ? ((arg_1 = ws_3.Name, toFail(printf("Ws with name %s could not be converted to a table"))(arg_1))) : matchValue_5))))) : ((ws_2 = matchValue_2, (matchValue_3 = tryFromFsWorksheet(ws_2), (matchValue_3 == null) ? ((arg = ws_2.Name, toFail(printf("Ws with name %s could not be converted to a table"))(arg))) : matchValue_3)))), now());
314
+ }, sheets), (matchValue_4 == null) ? (() => {
315
+ throw new TemplateReadError(`No worksheet or table with name \`${templateInfo.Table}\` found`);
316
+ })() : ((ws_3 = matchValue_4, (matchValue_5 = tryFromFsWorksheet(ws_3), (matchValue_5 == null) ? (() => {
317
+ throw new TemplateReadError(`Ws with name \`${ws_3.Name}\` could not be converted to a table`);
318
+ })() : matchValue_5))))) : ((ws_2 = matchValue_2, (matchValue_3 = tryFromFsWorksheet(ws_2), (matchValue_3 == null) ? (() => {
319
+ throw new TemplateReadError(`Ws with name \`${ws_2.Name}\` could not be converted to a table`);
320
+ })() : matchValue_3)))), now());
305
321
  }
306
322
 
307
323
  export function Template_toFsWorkbook(template) {
308
324
  const doc = new FsWorkbook();
309
325
  const metaDataSheet = Template_toMetadataSheet(template);
310
326
  doc.AddWorksheet(metaDataSheet);
311
- const arg = toFsWorksheet(template.Table);
312
- doc.AddWorksheet(arg);
327
+ const sheet = toFsWorksheet(template.Table);
328
+ doc.AddWorksheet(sheet);
313
329
  return doc;
314
330
  }
315
331
 
@@ -1,9 +1,9 @@
1
- import { defaultArg } from "../fable_modules/fable-library.4.1.4/Option.js";
2
- import { singleton } from "../fable_modules/fable-library.4.1.4/AsyncBuilder.js";
1
+ import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
2
+ import { singleton } from "../fable_modules/fable-library.4.4.1/AsyncBuilder.js";
3
3
  import { downloadFile } from "../WebRequest/WebRequest.js";
4
4
  import { Templates_fromJsonString } from "./Template.Json.js";
5
- import { startAsPromise } from "../fable_modules/fable-library.4.1.4/Async.js";
6
- import { class_type } from "../fable_modules/fable-library.4.1.4/Reflection.js";
5
+ import { startAsPromise } from "../fable_modules/fable-library.4.4.1/Async.js";
6
+ import { class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
7
7
 
8
8
  export function getTemplates(url) {
9
9
  const url_1 = defaultArg(url, "https://github.com/nfdi4plants/Swate-templates/releases/download/latest/templates.json");
@@ -1,12 +1,12 @@
1
- import { identityHash, safeHash, stringHash, equals } from "../fable_modules/fable-library.4.1.4/Util.js";
2
- import { Union } from "../fable_modules/fable-library.4.1.4/Types.js";
3
- import { class_type, union_type, string_type } from "../fable_modules/fable-library.4.1.4/Reflection.js";
4
- import { defaultArg, unwrap } from "../fable_modules/fable-library.4.1.4/Option.js";
5
- import { newGuid } from "../fable_modules/fable-library.4.1.4/Guid.js";
1
+ import { identityHash, safeHash, stringHash, equals } from "../fable_modules/fable-library.4.4.1/Util.js";
2
+ import { Union } from "../fable_modules/fable-library.4.4.1/Types.js";
3
+ import { class_type, union_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
4
+ import { defaultArg, unwrap } from "../fable_modules/fable-library.4.4.1/Option.js";
5
+ import { newGuid } from "../fable_modules/fable-library.4.4.1/Guid.js";
6
6
  import { ArcTable } from "../ISA/ISA/ArcTypes/ArcTable.js";
7
7
  import { SemVer_tryOfString_Z721C83C5 } from "../SemVer.js";
8
- import { equalsWith } from "../fable_modules/fable-library.4.1.4/Array.js";
9
- import { toUniversalTime, now, equals as equals_1 } from "../fable_modules/fable-library.4.1.4/Date.js";
8
+ import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
9
+ import { toUniversalTime, now, equals as equals_1 } from "../fable_modules/fable-library.4.4.1/Date.js";
10
10
 
11
11
  export class Organisation extends Union {
12
12
  constructor(tag, fields) {
@@ -1,8 +1,8 @@
1
- import { defaultArg } from "../fable_modules/fable-library.4.1.4/Option.js";
2
- import { append, addRangeInPlace, collect, contains as contains_1 } from "../fable_modules/fable-library.4.1.4/Array.js";
3
- import { uncurry2, safeHash, equals } from "../fable_modules/fable-library.4.1.4/Util.js";
4
- import { Array_distinct } from "../fable_modules/fable-library.4.1.4/Seq2.js";
5
- import { class_type } from "../fable_modules/fable-library.4.1.4/Reflection.js";
1
+ import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
2
+ import { append, addRangeInPlace, collect, contains as contains_1 } from "../fable_modules/fable-library.4.4.1/Array.js";
3
+ import { uncurry2, safeHash, equals } from "../fable_modules/fable-library.4.4.1/Util.js";
4
+ import { Array_distinct } from "../fable_modules/fable-library.4.4.1/Seq2.js";
5
+ import { class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
6
6
 
7
7
  export function TemplatesAux_getComparer(matchAll) {
8
8
  if (defaultArg(matchAll, false)) {
@@ -1,9 +1,9 @@
1
- import { awaitPromise } from "../fable_modules/fable-library.4.1.4/Async.js";
1
+ import { awaitPromise } from "../fable_modules/fable-library.4.4.1/Async.js";
2
2
  import { fetch$ } from "../fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js";
3
- import { empty } from "../fable_modules/fable-library.4.1.4/List.js";
4
- import { singleton } from "../fable_modules/fable-library.4.1.4/AsyncBuilder.js";
3
+ import { empty } from "../fable_modules/fable-library.4.4.1/List.js";
4
+ import { singleton } from "../fable_modules/fable-library.4.4.1/AsyncBuilder.js";
5
5
  import { Http_get } from "../fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js";
6
- import { printf, toFail } from "../fable_modules/fable-library.4.1.4/String.js";
6
+ import { printf, toFail } from "../fable_modules/fable-library.4.4.1/String.js";
7
7
  import "isomorphic-fetch";
8
8
 
9
9
  export function NodeJs_isNode() {
@@ -1,11 +1,11 @@
1
- import { Union } from "../fable-library.4.1.4/Types.js";
2
- import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library.4.1.4/Reflection.js";
3
- import { defaultArg } from "../fable-library.4.1.4/Option.js";
4
- import { empty } from "../fable-library.4.1.4/Seq.js";
5
- import { keyValueList } from "../fable-library.4.1.4/MapUtil.js";
6
- import { int32ToString } from "../fable-library.4.1.4/Util.js";
7
- import { result } from "../Fable.Promise.3.2.0/Promise.fs.js";
8
- import { singleton } from "../fable-library.4.1.4/List.js";
1
+ import { Union } from "../fable-library.4.4.1/Types.js";
2
+ import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library.4.4.1/Reflection.js";
3
+ import { defaultArg } from "../fable-library.4.4.1/Option.js";
4
+ import { empty } from "../fable-library.4.4.1/Seq.js";
5
+ import { keyValueList } from "../fable-library.4.4.1/MapUtil.js";
6
+ import { int32ToString } from "../fable-library.4.4.1/Util.js";
7
+ import { result } from "../Fable.Promise.2.2.2/Promise.fs.js";
8
+ import { singleton } from "../fable-library.4.4.1/List.js";
9
9
 
10
10
  export class Types_HttpRequestHeaders extends Union {
11
11
  constructor(tag, fields) {
@@ -1,20 +1,19 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <Project Sdk="Microsoft.NET.Sdk">
3
3
  <PropertyGroup>
4
- <Version>3.2.0</Version>
5
- <PackageVersion>3.2.0</PackageVersion>
4
+ <Version>2.2.2</Version>
5
+ <PackageVersion>2.2.2</PackageVersion>
6
6
  <TargetFramework>netstandard2.0</TargetFramework>
7
7
  </PropertyGroup>
8
8
  <ItemGroup>
9
9
  <Compile Include="Promise.fs" />
10
10
  <Compile Include="PromiseImpl.fs" />
11
- <Compile Include="AsyncIterable.fs" />
12
11
  </ItemGroup>
13
12
  <ItemGroup>
14
13
  <Content Include="*.fsproj; *.fs" PackagePath="fable\" />
15
14
  </ItemGroup>
16
15
  <ItemGroup>
17
- <PackageReference Include="Fable.Core" Version="3.7.1" />
16
+ <PackageReference Include="Fable.Core" Version="3.1.5" />
18
17
  <PackageReference Update="FSharp.Core" Version="4.7.2" />
19
18
  </ItemGroup>
20
19
  </Project>