@nfdi4plants/arctrl 1.0.0-beta.1 → 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 (285) hide show
  1. package/ARC.js +24 -24
  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 +21 -21
  15. package/ISA/ISA/ArcTypes/ArcTypes.js +64 -64
  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 +9 -9
  76. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
  77. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +8 -8
  78. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +9 -9
  79. package/ISA/ISA.Spreadsheet/ArcAssay.js +13 -13
  80. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +36 -36
  81. package/ISA/ISA.Spreadsheet/ArcStudy.js +10 -10
  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 +19 -19
  94. package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
  95. package/README.md +29 -256
  96. package/SemVer.js +7 -7
  97. package/Templates/Template.Json.js +7 -7
  98. package/Templates/Template.Spreadsheet.js +20 -20
  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.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs.js +14 -14
  112. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
  113. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +4 -4
  114. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
  115. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
  116. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
  117. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
  118. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
  119. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
  120. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +8 -8
  121. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +4 -4
  122. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
  123. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
  124. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
  125. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
  126. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
  127. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +19 -19
  128. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
  129. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
  130. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
  131. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
  132. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
  133. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +8 -8
  134. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +7 -7
  135. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
  136. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
  137. package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
  138. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
  139. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
  140. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
  141. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
  142. package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
  143. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
  144. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
  145. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
  146. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
  147. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
  148. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
  149. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
  150. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
  151. package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
  152. package/fable_modules/project_cracked.json +1 -1
  153. package/package.json +1 -1
  154. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
  155. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
  156. package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
  157. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
  158. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
  159. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
  160. package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
  161. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +0 -0
  162. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
  163. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +0 -0
  164. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
  165. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
  166. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
  167. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
  168. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
  169. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
  170. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
  171. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
  172. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +0 -0
  173. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +0 -0
  174. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
  175. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
  176. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +0 -0
  177. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs +0 -0
  178. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
  179. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
  180. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +0 -0
  181. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
  182. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
  183. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
  184. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
  185. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
  186. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +0 -0
  187. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +0 -0
  188. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
  189. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
  190. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  191. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  192. /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  193. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
  194. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
  195. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
  196. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
  197. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
  198. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
  199. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
  200. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
  201. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
  202. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
  203. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
  204. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
  205. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
  206. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
  207. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
  208. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
  209. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
  210. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
  211. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
  212. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
  213. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
  214. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
  215. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
  216. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
  217. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
  218. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
  219. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
  220. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
  221. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
  222. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
  223. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
  224. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
  225. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
  226. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
  227. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
  228. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
  229. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
  230. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
  231. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
  232. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
  233. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
  234. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
  235. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
  236. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
  237. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
  238. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
  239. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
  240. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
  241. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
  242. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
  243. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
  244. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
  245. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
  246. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
  247. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
  248. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
  249. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
  250. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
  251. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
  252. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
  253. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
  254. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
  255. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
  256. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
  257. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
  258. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
  259. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
  260. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
  261. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
  262. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
  263. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
  264. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
  265. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
  266. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
  267. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
  268. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
  269. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
  270. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
  271. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
  272. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
  273. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
  274. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
  275. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
  276. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
  277. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
  278. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
  279. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
  280. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
  281. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
  282. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
  283. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
  284. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
  285. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
@@ -1,14 +1,14 @@
1
- import { Record } from "../../../fable_modules/fable-library.4.1.4/Types.js";
2
- import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.1.4/Reflection.js";
1
+ import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
2
+ import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
3
3
  import { Comment$_$reflection } from "../../ISA/JsonTypes/Comment.js";
4
- import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library.4.1.4/List.js";
4
+ import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
5
5
  import { Comment_toString, Comment_fromString } from "./Comment.js";
6
6
  import { SparseRowModule_fromValues, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
7
7
  import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../ISA/Identifier.js";
8
- import { addToDict } from "../../../fable_modules/fable-library.4.1.4/MapUtil.js";
9
- import { defaultArg } from "../../../fable_modules/fable-library.4.1.4/Option.js";
10
- import { List_distinct } from "../../../fable_modules/fable-library.4.1.4/Seq2.js";
11
- import { stringHash } from "../../../fable_modules/fable-library.4.1.4/Util.js";
8
+ import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
9
+ import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
10
+ import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
11
+ import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
12
12
  import { Option_fromValueWithDefault } from "./Conversions.js";
13
13
  import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
14
14
  import { ArcStudy } from "../../ISA/ArcTypes/ArcTypes.js";
@@ -18,7 +18,7 @@ import { toRows as toRows_3, fromRows as fromRows_3 } from "./Factors.js";
18
18
  import { toRows as toRows_4, fromRows as fromRows_4 } from "./Assays.js";
19
19
  import { toRows as toRows_5, fromRows as fromRows_5 } from "./Protocols.js";
20
20
  import { toRows as toRows_6, fromRows as fromRows_6 } from "./Contacts.js";
21
- import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library.4.1.4/Seq.js";
21
+ import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
22
22
 
23
23
  export class StudyInfo extends Record {
24
24
  constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, FileName, Comments) {
@@ -87,20 +87,20 @@ export function StudyInfo_toRows_1B3D5E9B(study) {
87
87
  export function fromParts(studyInfo, designDescriptors, publications, factors, assays, protocols, contacts) {
88
88
  const assayIdentifiers = map((assay) => assay.Identifier, assays);
89
89
  let arcstudy;
90
- const arg_1 = Option_fromValueWithDefault("", studyInfo.Title);
91
- const arg_2 = Option_fromValueWithDefault("", studyInfo.Description);
92
- const arg_3 = Option_fromValueWithDefault("", studyInfo.SubmissionDate);
93
- const arg_4 = Option_fromValueWithDefault("", studyInfo.PublicReleaseDate);
94
- const arg_5 = toArray(publications);
95
- const arg_6 = toArray(contacts);
96
- const arg_7 = toArray(designDescriptors);
97
- let arg_8;
98
- const arg_13 = map((arg_12) => ArcTable.fromProtocol(arg_12), protocols);
99
- arg_8 = Array.from(arg_13);
100
- const arg_9 = Array.from(assayIdentifiers);
101
- const arg_10 = toArray(factors);
102
- const arg_11 = toArray(studyInfo.Comments);
103
- arcstudy = ArcStudy.make(studyInfo.Identifier, arg_1, arg_2, arg_3, arg_4, arg_5, arg_6, arg_7, arg_8, arg_9, arg_10, arg_11);
90
+ const title = Option_fromValueWithDefault("", studyInfo.Title);
91
+ const description = Option_fromValueWithDefault("", studyInfo.Description);
92
+ const submissionDate = Option_fromValueWithDefault("", studyInfo.SubmissionDate);
93
+ const publicReleaseDate = Option_fromValueWithDefault("", studyInfo.PublicReleaseDate);
94
+ const publications_1 = toArray(publications);
95
+ const contacts_1 = toArray(contacts);
96
+ const studyDesignDescriptors = toArray(designDescriptors);
97
+ let tables;
98
+ const collection = map((p) => ArcTable.fromProtocol(p), protocols);
99
+ tables = Array.from(collection);
100
+ const registeredAssayIdentifiers = Array.from(assayIdentifiers);
101
+ const factors_1 = toArray(factors);
102
+ const comments = toArray(studyInfo.Comments);
103
+ arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors_1, comments);
104
104
  if (arcstudy.isEmpty && (arcstudy.Identifier === "")) {
105
105
  return void 0;
106
106
  }
package/README.md CHANGED
@@ -1,280 +1,53 @@
1
1
  # ARCtrl
2
- Top level ARC DataModel and API function descriptions.
3
2
 
4
- ![Nuget](https://img.shields.io/nuget/dt/ARCtrl?label=nuget&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FARCtrl)
5
- ![npm](https://img.shields.io/npm/dt/%40nfdi4plants%2Farctrl?label=npm&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40nfdi4plants%2Farctrl)
3
+ > **ARCtrl** the easy way to read, manipulate and write ARCs in __.NET__
4
+ and __JavaScript__! ❤️
6
5
 
7
- - [ARCtrl](#arctrl)
8
- - [Jargon/Nomenclature](#jargonnomenclature)
9
- - [API Design](#api-design)
10
- - [Top level overview](#top-level-overview)
11
- - [Stack](#stack)
12
- - [Libraries](#libraries)
13
- - [Design choices](#design-choices)
14
- - [Fable compatibility as top priority](#fable-compatibility-as-top-priority)
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)|
15
10
 
16
- ## Sub-Libraries
11
+ ## Install
17
12
 
18
- [ISA README.md](src/ISA/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)
19
14
 
20
- [Contracts README.md](src/Contract/README.md) :books:
15
+ ### .NET
21
16
 
22
- # Jargon/Nomenclature
23
-
24
- In general, a distinction is made between `DataModel`s, `API`s, and `Tools`:
25
- - `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:
26
- - `FileSystem`: Represents the file system structure of an ARC. All files and their path relative to the arc root folder are contained here.
27
- - `ISA`: Represents the experimental metadata of the ARC that is stored in the ISA-XLSX format (investigation, studies and assays).
28
- - `CWL`: Represents the workflow definitions of the ARC in the CWL format.
29
- - `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.
30
-
31
- **Example**: A `ARC.addAssay` function has to do several things:
32
- - Add a new assay to the `ISA`
33
- - Add a new assay to the `FileSystem`
34
- it should therefore combine the respective functions of `ISA API` and `FileSystem API` to achieve this.
35
-
36
- - `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`.
37
-
38
- ## Local Setup
39
-
40
- 1. `dotnet tool restore`
41
- 2. `npm install` in *root* (this will also run `npm install` in `src/ISA`).
42
-
43
- ## API Design
44
-
45
- Command syntax should be inspired by ArcCommander commands, as they are already well established and known to the power user base.
46
- See syntax : https://nfdi4plants.github.io/arcCommander-docs/docs/01GeneralCLIStructure.html
47
- See selection: https://nfdi4plants.github.io/arcCommander-docs/docs/02SubcommandVerbs.html
48
-
49
- ## Top level overview
50
-
51
- In the following, the dependency graph of the proposed arcAPI toolstack can be seen:
52
-
53
- ```mermaid
54
- flowchart TD
55
-
56
- %% ----- Nodes ------
57
-
58
-
59
- subgraph ARCtrl
60
- arc[ARC]
61
-
62
- subgraph ISA
63
- isaj[ISA.Json]
64
- isax[ISA.Spreadsheet]
65
- isaa[ISA]
66
- end
67
- subgraph FileSystem
68
- fs[FileSystem]
69
- end
70
- subgraph CWL
71
- cwl[CWL]
72
- end
73
- end
74
-
75
- subgraph DataTransferObject
76
- fsspread[FsSpreadsheet]
77
- thoth["Thoth.Json (string)"]
78
- end
79
-
80
- subgraph IO
81
- node[node.fs]
82
- fsspreadx[FsSpreadsheet.ExcelIO]
83
- excelJS[exceljs]
84
- systemio[System.IO]
85
- end
86
-
87
-
88
- %% ----- Edges ------
89
-
90
-
91
- %% Arc
92
- arc --> ISA
93
- arc --> FileSystem
94
- arc --> CWL
95
-
96
- %% ISA
97
- isaj --> isaa
98
- isax --> isaa
99
- isaj --> thoth
100
-
101
- isax --> fsspread
102
-
103
- %% ------ Tools ---------
104
-
105
- subgraph Tools
106
- arcdotnet[/arcIO.NET\]
107
- arcitect[[ARCitect]]
108
- arccom[[arcCommander]]
109
- swate[[Swate]]
110
- end
111
-
112
- %% ----- Edges ------
113
-
114
- Tools --> ARCtrl
115
-
116
- arcdotnet --> fsspreadx
117
- arcdotnet --> systemio
118
- arcitect --> excelJS
119
- arcitect --> node
120
- arccom --> arcdotnet
121
-
122
-
123
- fsspreadx -.-> fsspread
124
- systemio -.-> thoth
125
- excelJS -.-> fsspread
126
- node -.-> thoth
127
-
128
- %% ----- Styling ------
129
-
130
- %% dotnet
131
- style Tools stroke:#3A0EC6,stroke-width:2px
132
- style fsspreadx fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
133
- style arcdotnet fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
134
- style arccom fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
135
- style systemio fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
136
-
137
- %% javascript
138
- style excelJS fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
139
- style arcitect fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
140
- style swate fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
141
- style node fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
142
-
143
-
144
- %% fable
145
- style ARCtrl stroke:#007B00,stroke-width:2px
146
- style ISA stroke:#007B00,stroke-width:2px
147
- style FileSystem stroke:#007B00,stroke-width:2px
148
- style CWL stroke:#007B00,stroke-width:2px
149
- style DataTransferObject stroke:#007B00,stroke-width:2px
17
+ ```fsharp
18
+ #r "nuget: ARCtrl"
19
+ ```
150
20
 
151
- style fsspread fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
152
- style isax fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
153
- style isaa fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
154
- style isaj fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
155
- style arc fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
156
- style fs fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
157
- style cwl fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
158
- style thoth fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
21
+ ```bash
22
+ <PackageReference Include="ARCtrl" Version="1.0.0-beta.1" />
159
23
  ```
160
24
 
161
- ## Stack
162
-
163
- ```mermaid
164
- classDiagram
165
-
166
- class arc["ARCtrl"] {
167
- ISA
168
- CWL
169
- FileSystem
170
- }
171
- class isa["ISA"] {
172
- Investigation
173
- Studies
174
- Assays
175
- ArcTable
176
- CompositeColumn
177
- CompositeHeader
178
- CompositeCell
179
- }
180
- class file ["FileSystem"] {
181
- - FileSystemTree
182
- - History
183
- }
184
- class cwl["CWL"] {
185
- CommandlineTool?
186
- Workflows
187
- }
188
- class io["IO"] {
189
- FsSpreadsheet.ExcelIO
190
- System.IO
191
- exceljs
192
- node fs
193
- }
194
- io <|--|> arc : Contracts
195
- arc <|--|> isa
196
- arc <|--|> cwl
197
- arc <|--|> file
25
+ ### JavaScript
198
26
 
27
+ ```bash
28
+ npm i @nfdi4plants/arctrl
199
29
  ```
200
30
 
201
- # Libraries
31
+ ## Docs
202
32
 
203
- Mockups for each library are in the `ARC` folder. They contain API/Domain stubs to draft and test the new library designs.
33
+ Currently we provide some documentation in form of markdown files in the `/docs` folder of this repository!
204
34
 
205
- ## Design choices
35
+ [Check it out!](/docs)
206
36
 
207
- ### Fable compatibility as top priority
208
-
209
- All libraries should be Fable compatible, and produce javascript/typescript code that is ergonomic to use in a js/ts environment, therefore:
210
- - we use classes with static members over nested modules
211
- - we use the `[<AttachMembers>]` fable attribute for each class
212
- - Using overloads with the `[<AttachMembers>]` attribute will make js functions shadow itself. Never use this!
213
- - we use the `[<NamedParams(n)>]` fable attribute for all optional parameters in static methods that use tupled, named params.
214
- - we use `Array<'T>` for all collections in F#, since they get transpiled to native js arrays.
215
- - we use the `[<Erase>]` fable attribute for union cases that contain data
216
- ```fsharp
217
- [<Erase>] type X = | Y of string | Z of int
218
- ```
219
- - we use the `[<StringEnum>]` for unions that contain no data (e.g.)
220
- ```fsharp
221
- [<StringEnum>] type YesOrNo = | Yes | No
222
- ```
223
-
224
- **Example:**
225
-
226
- ```fsharp
227
- [<AttachMembers>]
228
- type Study =
229
- {
230
- Identifier : string option
231
- Assays : Assay array option
232
- }
233
-
234
- [<NamedParams>]
235
- static member create (?Identifier, ?Assays : Assay array) =
236
- {
237
- Identifier = Identifier
238
- Assays = Assays
239
- }
240
- ```
241
-
242
- will become the following javascript code:
243
-
244
- ```javascript
245
- export class Study extends Record {
246
- constructor(Identifier, Assays) {
247
- super();
248
- this.Identifier = Identifier;
249
- this.Assays = Assays;
250
- }
251
- static create({ Identifier, Assays }) {
252
- return new Study(Identifier, Assays);
253
- }
254
- ```
255
-
256
- and the following typescript code:
37
+ ## Development
257
38
 
258
- ```typescript
259
- export class Study extends Record implements IEquatable<Study>, IComparable<Study> {
260
- readonly Identifier: Option<string>;
261
- readonly Assays: Option<Assay[]>;
262
- constructor(Identifier: Option<string>, Assays: Option<Assay[]>) {
263
- super();
264
- this.Identifier = Identifier;
265
- this.Assays = Assays;
266
- }
267
- static create({ Identifier, Assays }: {Identifier?: string, Assays?: Assay[] }): Study {
268
- return new Study(Identifier, Assays);
269
- }
270
- ```
39
+ ### Requirements
271
40
 
272
- ## 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)
273
46
 
274
- ### Setup
47
+ ### Local Setup
275
48
 
276
49
  1. `dotnet tool restore`
277
50
  2. `dotnet paket install`
278
51
  3. `npm install`
279
52
 
280
- 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";
11
+ import { map as map_1, delay, toList } from "../fable_modules/fable-library.4.4.1/Seq.js";
12
12
  import { ArcTables } 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";
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
 
@@ -1,24 +1,24 @@
1
- import { toString, Record, FSharpException } from "../fable_modules/fable-library.4.1.4/Types.js";
2
- import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library.4.1.4/Reflection.js";
3
- 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";
4
4
  import { toRows, fromRows, toSparseTable, fromSparseTable } from "../ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.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.5.0.0/FsWorksheet.fs.js";
18
+ import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs.js";
19
19
  import { toFsWorksheet, tryFromFsWorksheet } from "../ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js";
20
- import { now } from "../fable_modules/fable-library.4.1.4/Date.js";
21
- import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.0.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
22
 
23
23
  export class TemplateReadError extends FSharpException {
24
24
  constructor(Data0) {
@@ -261,12 +261,12 @@ export function Metadata_Template_toRows(template) {
261
261
  }
262
262
 
263
263
  export function Template_fromParts(templateInfo, ers, tags, authors, table, lastUpdated) {
264
- const arg = parse(templateInfo.Id);
265
- const arg_4 = Organisation.ofString(templateInfo.Organisation);
266
- const arg_6 = toArray_1(authors);
267
- const arg_7 = toArray_1(ers);
268
- const arg_8 = toArray_1(tags);
269
- 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);
270
270
  }
271
271
 
272
272
  export function Template_toMetadataSheet(template) {
@@ -324,8 +324,8 @@ export function Template_toFsWorkbook(template) {
324
324
  const doc = new FsWorkbook();
325
325
  const metaDataSheet = Template_toMetadataSheet(template);
326
326
  doc.AddWorksheet(metaDataSheet);
327
- const arg = toFsWorksheet(template.Table);
328
- doc.AddWorksheet(arg);
327
+ const sheet = toFsWorksheet(template.Table);
328
+ doc.AddWorksheet(sheet);
329
329
  return doc;
330
330
  }
331
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>