@nfdi4plants/arctrl 1.0.7 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/ARC.js +47 -11
  2. package/Contract/Contract.js +3 -3
  3. package/Contracts/Contracts.ArcTypes.js +30 -18
  4. package/Contracts/Contracts.Git.js +4 -4
  5. package/FileSystem/Commit.js +2 -2
  6. package/FileSystem/FileSystem.js +4 -4
  7. package/FileSystem/FileSystemTree.js +8 -8
  8. package/FileSystem/Path.js +2 -2
  9. package/FileSystemTree.js +1 -1
  10. package/ISA/ISA/ArcTypes/ArcTable.js +23 -31
  11. package/ISA/ISA/ArcTypes/ArcTableAux.js +27 -16
  12. package/ISA/ISA/ArcTypes/ArcTables.js +11 -11
  13. package/ISA/ISA/ArcTypes/ArcTypes.js +118 -83
  14. package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
  15. package/ISA/ISA/ArcTypes/CompositeColumn.js +8 -7
  16. package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
  17. package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
  18. package/ISA/ISA/Builder/Types.js +5 -5
  19. package/ISA/ISA/Fable.js +6 -6
  20. package/ISA/ISA/Helper.js +15 -13
  21. package/ISA/ISA/Identifier.js +1 -1
  22. package/ISA/ISA/JsonTypes/Assay.js +8 -8
  23. package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
  24. package/ISA/ISA/JsonTypes/ColumnIndex.js +5 -5
  25. package/ISA/ISA/JsonTypes/Comment.js +3 -3
  26. package/ISA/ISA/JsonTypes/CommentList.js +4 -4
  27. package/ISA/ISA/JsonTypes/Component.js +4 -4
  28. package/ISA/ISA/JsonTypes/Data.js +4 -4
  29. package/ISA/ISA/JsonTypes/DataFile.js +2 -2
  30. package/ISA/ISA/JsonTypes/Factor.js +6 -6
  31. package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
  32. package/ISA/ISA/JsonTypes/Investigation.js +6 -6
  33. package/ISA/ISA/JsonTypes/Material.js +5 -5
  34. package/ISA/ISA/JsonTypes/MaterialAttribute.js +3 -3
  35. package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
  36. package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
  37. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +6 -6
  38. package/ISA/ISA/JsonTypes/OntologySourceReference.js +6 -6
  39. package/ISA/ISA/JsonTypes/Person.js +23 -8
  40. package/ISA/ISA/JsonTypes/Process.js +13 -13
  41. package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
  42. package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
  43. package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
  44. package/ISA/ISA/JsonTypes/ProcessSequence.js +6 -6
  45. package/ISA/ISA/JsonTypes/Protocol.js +6 -6
  46. package/ISA/ISA/JsonTypes/ProtocolParameter.js +3 -3
  47. package/ISA/ISA/JsonTypes/Publication.js +6 -6
  48. package/ISA/ISA/JsonTypes/Sample.js +5 -5
  49. package/ISA/ISA/JsonTypes/Source.js +5 -5
  50. package/ISA/ISA/JsonTypes/Study.js +8 -8
  51. package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
  52. package/ISA/ISA/JsonTypes/Value.js +22 -29
  53. package/ISA/ISA/Regex.js +3 -3
  54. package/ISA/ISA.Json/ArcTypes/ArcAssay.js +157 -65
  55. package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +78 -49
  56. package/ISA/ISA.Json/ArcTypes/ArcStudy.js +136 -24
  57. package/ISA/ISA.Json/ArcTypes/ArcTable.js +183 -21
  58. package/ISA/ISA.Json/ArcTypes/CellTable.js +40 -0
  59. package/ISA/ISA.Json/ArcTypes/CompositeCell.js +34 -23
  60. package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +18 -46
  61. package/ISA/ISA.Json/ArcTypes/IOType.js +11 -13
  62. package/ISA/ISA.Json/ArcTypes/OATable.js +42 -0
  63. package/ISA/ISA.Json/Assay.js +71 -47
  64. package/ISA/ISA.Json/Comment.js +31 -35
  65. package/ISA/ISA.Json/ConverterOptions.js +19 -1
  66. package/ISA/ISA.Json/Data.js +119 -137
  67. package/ISA/ISA.Json/Decode.js +51 -36
  68. package/ISA/ISA.Json/Factor.js +90 -90
  69. package/ISA/ISA.Json/GEncode.js +31 -6
  70. package/ISA/ISA.Json/Investigation.js +54 -79
  71. package/ISA/ISA.Json/Material.js +103 -104
  72. package/ISA/ISA.Json/Ontology.js +99 -92
  73. package/ISA/ISA.Json/Person.js +47 -65
  74. package/ISA/ISA.Json/Process.js +144 -130
  75. package/ISA/ISA.Json/Protocol.js +144 -105
  76. package/ISA/ISA.Json/Publication.js +34 -40
  77. package/ISA/ISA.Json/StringTable.js +44 -0
  78. package/ISA/ISA.Json/Study.js +70 -96
  79. package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +34 -0
  80. package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +23 -0
  81. package/ISA/ISA.Json/context/rocrate/isa_component_context.js +24 -0
  82. package/ISA/ISA.Json/context/rocrate/isa_data_context.js +25 -0
  83. package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +25 -0
  84. package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +25 -0
  85. package/ISA/ISA.Json/context/rocrate/isa_investigation_context.js +33 -0
  86. package/ISA/ISA.Json/context/rocrate/isa_material_attribute_context.js +23 -0
  87. package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +25 -0
  88. package/ISA/ISA.Json/context/rocrate/isa_material_context.js +26 -0
  89. package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +25 -0
  90. package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
  91. package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +22 -0
  92. package/ISA/ISA.Json/context/rocrate/isa_person_context.js +31 -0
  93. package/ISA/ISA.Json/context/rocrate/isa_process_context.js +31 -0
  94. package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +25 -0
  95. package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +30 -0
  96. package/ISA/ISA.Json/context/rocrate/isa_protocol_parameter_context.js +23 -0
  97. package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +27 -0
  98. package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +26 -0
  99. package/ISA/ISA.Json/context/rocrate/isa_source_context.js +25 -0
  100. package/ISA/ISA.Json/context/rocrate/isa_study_context.js +42 -0
  101. package/ISA/ISA.Json/context/rocrate/rocrate_context.js +25 -0
  102. package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +56 -43
  103. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
  104. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +11 -11
  105. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +5 -5
  106. package/ISA/ISA.Spreadsheet/ArcAssay.js +100 -88
  107. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +12 -12
  108. package/ISA/ISA.Spreadsheet/ArcStudy.js +36 -24
  109. package/ISA/ISA.Spreadsheet/CollectionAux.js +8 -8
  110. package/ISA/ISA.Spreadsheet/Metadata/Assays.js +5 -5
  111. package/ISA/ISA.Spreadsheet/Metadata/Comment.js +31 -20
  112. package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +5 -5
  113. package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +5 -5
  114. package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  115. package/ISA/ISA.Spreadsheet/Metadata/Factors.js +5 -5
  116. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
  117. package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +5 -5
  118. package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
  119. package/ISA/ISA.Spreadsheet/Metadata/Publication.js +5 -5
  120. package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +28 -23
  121. package/ISA/ISA.Spreadsheet/Metadata/Study.js +8 -8
  122. package/README.md +20 -3
  123. package/SemVer.js +6 -6
  124. package/Templates/Template.Json.js +43 -36
  125. package/Templates/Template.Spreadsheet.js +12 -12
  126. package/Templates/Template.Web.js +4 -4
  127. package/Templates/Template.js +7 -7
  128. package/Templates/Templates.js +7 -7
  129. package/WebRequest/WebRequest.Node.js +15 -0
  130. package/WebRequest/WebRequest.js +10 -29
  131. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
  132. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
  133. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  134. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  135. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs.js +14 -14
  136. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs.js +6 -6
  137. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs.js +4 -4
  138. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs.js +3 -3
  139. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs.js +2 -2
  140. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs.js +1 -1
  141. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs.js +3 -3
  142. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs.js +3 -3
  143. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs.js +3 -3
  144. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs.js +6 -6
  145. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs.js +4 -4
  146. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs.js +3 -3
  147. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs +22 -8
  148. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs.js +24 -14
  149. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs.js +3 -3
  150. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs.js +3 -3
  151. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs.js +6 -6
  152. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs +12 -6
  153. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs.js +21 -17
  154. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs.js +3 -3
  155. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs.js +4 -3
  156. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs.js +3 -3
  157. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs.js +3 -3
  158. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs.js +1 -1
  159. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs.js +8 -8
  160. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs.js +7 -7
  161. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs.js +4 -4
  162. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs.js +1 -1
  163. package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
  164. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
  165. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
  166. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
  167. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
  168. package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
  169. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
  170. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
  171. package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  172. package/fable_modules/{Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs → Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs} +8 -7
  173. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
  174. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
  175. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
  176. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
  177. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
  178. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  179. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
  180. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  181. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
  182. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.d.ts +4 -1
  183. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.js +124 -86
  184. package/fable_modules/fable-library-js.4.13.0/CHANGELOG.md +29 -0
  185. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.d.ts +0 -17
  186. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.js +0 -43
  187. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.js +3 -2
  188. package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.d.ts +12 -0
  189. package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.js +27 -0
  190. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.js +3 -3
  191. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.js +3 -3
  192. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.js +2 -1
  193. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.js +2 -1
  194. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.js +7 -7
  195. package/fable_modules/fable-library-js.4.13.0/Result.d.ts +37 -0
  196. package/fable_modules/fable-library-js.4.13.0/Result.js +165 -0
  197. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.js +2 -2
  198. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.d.ts +1 -0
  199. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.js +8 -5
  200. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.d.ts +15 -7
  201. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.js +46 -36
  202. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.d.ts +9 -1
  203. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.js +60 -8
  204. package/fable_modules/fable-library-js.4.13.0/big.d.ts +338 -0
  205. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/package.json +4 -3
  206. package/fable_modules/project_cracked.json +1 -1
  207. package/package.json +1 -1
  208. package/ISA/ISA.Json/Validation/Fable.js +0 -69
  209. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
  210. package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
  211. package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
  212. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
  213. package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
  214. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
  215. package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
  216. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
  217. package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
  218. package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
  219. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
  220. package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
  221. package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
  222. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs +0 -0
  223. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs +0 -0
  224. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs +0 -0
  225. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs +0 -0
  226. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs +0 -0
  227. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs +0 -0
  228. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs +0 -0
  229. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs.js +0 -0
  230. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs +0 -0
  231. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs +0 -0
  232. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs +0 -0
  233. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs +0 -0
  234. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs +0 -0
  235. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs +0 -0
  236. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs +0 -0
  237. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs +0 -0
  238. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsSpreadsheet.fableproj +0 -0
  239. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs +0 -0
  240. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs +0 -0
  241. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs +0 -0
  242. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs +0 -0
  243. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs +0 -0
  244. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs +0 -0
  245. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs +0 -0
  246. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs +0 -0
  247. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs +0 -0
  248. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs +0 -0
  249. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  250. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  251. /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  252. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.d.ts +0 -0
  253. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.js +0 -0
  254. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.d.ts +0 -0
  255. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.js +0 -0
  256. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.d.ts +0 -0
  257. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.js +0 -0
  258. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.d.ts +0 -0
  259. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.js +0 -0
  260. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.d.ts +0 -0
  261. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.js +0 -0
  262. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.d.ts +0 -0
  263. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.js +0 -0
  264. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.d.ts +0 -0
  265. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.d.ts +0 -0
  266. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.js +0 -0
  267. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.d.ts +0 -0
  268. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.js +0 -0
  269. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.d.ts +0 -0
  270. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.js +0 -0
  271. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.d.ts +0 -0
  272. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.js +0 -0
  273. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.d.ts +0 -0
  274. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.js +0 -0
  275. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.d.ts +0 -0
  276. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.js +0 -0
  277. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.d.ts +0 -0
  278. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.js +0 -0
  279. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.d.ts +0 -0
  280. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.js +0 -0
  281. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.d.ts +0 -0
  282. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.js +0 -0
  283. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.d.ts +0 -0
  284. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.js +0 -0
  285. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.d.ts +0 -0
  286. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.js +0 -0
  287. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.d.ts +0 -0
  288. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.d.ts +0 -0
  289. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.js +0 -0
  290. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.d.ts +0 -0
  291. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.js +0 -0
  292. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.d.ts +0 -0
  293. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.d.ts +0 -0
  294. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.js +0 -0
  295. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.d.ts +0 -0
  296. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.d.ts +0 -0
  297. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.d.ts +0 -0
  298. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.js +0 -0
  299. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.d.ts +0 -0
  300. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.js +0 -0
  301. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.d.ts +0 -0
  302. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.js +0 -0
  303. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.d.ts +0 -0
  304. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.js +0 -0
  305. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/README.md +0 -0
  306. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.d.ts +0 -0
  307. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.d.ts +0 -0
  308. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.js +0 -0
  309. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.d.ts +0 -0
  310. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.js +0 -0
  311. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.d.ts +0 -0
  312. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.js +0 -0
  313. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.d.ts +0 -0
  314. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.js +0 -0
  315. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.d.ts +0 -0
  316. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.js +0 -0
  317. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.d.ts +0 -0
  318. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.d.ts +0 -0
  319. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.js +0 -0
  320. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.d.ts +0 -0
  321. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.js +0 -0
  322. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.d.ts +0 -0
  323. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.js +0 -0
  324. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.d.ts +0 -0
  325. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.js +0 -0
  326. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.d.ts +0 -0
  327. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.js +0 -0
  328. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.d.ts +0 -0
  329. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.js +0 -0
  330. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.d.ts +0 -0
  331. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.js +0 -0
  332. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.d.ts +0 -0
  333. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.js +0 -0
  334. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.d.ts +0 -0
  335. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.js +0 -0
@@ -1,14 +1,14 @@
1
- import { reverse, cons, iterate, iterateIndexed, map as map_1, initialize, singleton, length, empty, ofArray } from "../../../fable_modules/fable-library.4.5.0/List.js";
1
+ import { reverse, cons, iterate, iterateIndexed, map as map_1, initialize, singleton, length, empty, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
2
2
  import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
3
3
  import { Component_toAggregatedStrings, ProtocolParameter_toAggregatedStrings, Option_fromValueWithDefault, Component_fromAggregatedStrings, ProtocolParameter_fromAggregatedStrings } from "./Conversions.js";
4
4
  import { Protocol_create_Z7DFD6E67, Protocol_make } from "../../ISA/JsonTypes/Protocol.js";
5
- import { defaultArg, map } from "../../../fable_modules/fable-library.4.5.0/Option.js";
5
+ import { defaultArg, map } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
6
6
  import { URIModule_fromString } from "../../ISA/JsonTypes/URI.js";
7
7
  import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
8
8
  import { Comment_toString, Comment_fromString } from "./Comment.js";
9
- import { addToDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
10
- import { List_distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
11
- import { stringHash } from "../../../fable_modules/fable-library.4.5.0/Util.js";
9
+ import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
10
+ import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
11
+ import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
12
12
 
13
13
  export const nameLabel = "Name";
14
14
 
@@ -1,14 +1,14 @@
1
- import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.5.0/List.js";
1
+ import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
2
2
  import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
3
- import { defaultArg, map } from "../../../fable_modules/fable-library.4.5.0/Option.js";
3
+ import { defaultArg, map } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
4
4
  import { URIModule_fromString } from "../../ISA/JsonTypes/URI.js";
5
5
  import { Option_fromValueWithDefault } from "./Conversions.js";
6
6
  import { Publication } from "../../ISA/JsonTypes/Publication.js";
7
7
  import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
8
8
  import { Comment_toString, Comment_fromString } from "./Comment.js";
9
- import { addToDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
10
- import { List_distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
11
- import { stringHash } from "../../../fable_modules/fable-library.4.5.0/Util.js";
9
+ import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
10
+ import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
11
+ import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
12
12
 
13
13
  export const pubMedIDLabel = "PubMed ID";
14
14
 
@@ -1,21 +1,21 @@
1
- import { append as append_1, delay, tryItem, length as length_1, isEmpty, iterate, fold, tryPick, maxBy, initialize, choose, map, indexed } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
2
- import { defaultArg, map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Option.js";
3
- import { tryFind, ofSeq } from "../../../fable_modules/fable-library.4.5.0/Map.js";
4
- import { arrayHash, equalArrays, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.5.0/Util.js";
5
- import { RowBuilder_get_Empty, RowBuilder__Combine_19F30600, RowBuilder_$ctor } from "../../../fable_modules/FsSpreadsheet.5.1.2/DSL/RowBuilder.fs.js";
6
- import { CellBuilder_$ctor, CellBuilder__AsCellElement_6F87C2ED } from "../../../fable_modules/FsSpreadsheet.5.1.2/DSL/CellBuilder.fs.js";
7
- import { Messages_format, SheetEntity$1_some_2B595 } from "../../../fable_modules/FsSpreadsheet.5.1.2/DSL/Types.fs.js";
8
- import { DataType } from "../../../fable_modules/FsSpreadsheet.5.1.2/Cells/FsCell.fs.js";
9
- import { map as map_2, toArray, initialize as initialize_1, exists, find, cons, append, empty, singleton } from "../../../fable_modules/fable-library.4.5.0/List.js";
10
- import { ColumnIndex, RowElement } from "../../../fable_modules/FsSpreadsheet.5.1.2/DSL/Types.fs.js";
11
- import { FsRangeAddress_$ctor_7E77A4A0 } from "../../../fable_modules/FsSpreadsheet.5.1.2/Ranges/FsRangeAddress.fs.js";
12
- import { FsAddress_$ctor_Z37302880 } from "../../../fable_modules/FsSpreadsheet.5.1.2/FsAddress.fs.js";
13
- import { Record } from "../../../fable_modules/fable-library.4.5.0/Types.js";
14
- import { record_type, list_type, class_type, tuple_type, int32_type, string_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
1
+ import { append as append_1, delay, tryItem, length as length_1, isEmpty, iterate, fold, tryPick, maxBy, initialize, choose, map, indexed } from "../../../fable_modules/fable-library-js.4.13.0/Seq.js";
2
+ import { defaultArg, map as map_1 } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
3
+ import { tryFind, ofSeq } from "../../../fable_modules/fable-library-js.4.13.0/Map.js";
4
+ import { arrayHash, equalArrays, equals, comparePrimitives } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
5
+ import { RowBuilder_get_Empty, RowBuilder__Combine_19F30600, RowBuilder_$ctor } from "../../../fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js";
6
+ import { CellBuilder_$ctor, CellBuilder__AsCellElement_6F87C2ED } from "../../../fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js";
7
+ import { Messages_format, SheetEntity$1_some_2B595 } from "../../../fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js";
8
+ import { DataType } from "../../../fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js";
9
+ import { map as map_2, toArray, initialize as initialize_1, exists, find, cons, append, empty, singleton } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
10
+ import { ColumnIndex, RowElement } from "../../../fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js";
11
+ import { FsRangeAddress_$ctor_7E77A4A0 } from "../../../fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js";
12
+ import { FsAddress_$ctor_Z37302880 } from "../../../fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js";
13
+ import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
14
+ import { record_type, list_type, class_type, tuple_type, int32_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
15
15
  import { Seq_trySkip, Dictionary_tryGetValue } from "../CollectionAux.js";
16
- import { addToDict, getItemFromDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
17
- import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
18
- import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
16
+ import { addToDict, getItemFromDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
17
+ import { Dictionary } from "../../../fable_modules/fable-library-js.4.13.0/MutableMap.js";
18
+ import { printf, toFail } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
19
19
  import { Comment$, Remark } from "../../ISA/JsonTypes/Comment.js";
20
20
  import { Comment_wrapCommentKey, Comment_$007CComment$007C_$007C, Remark_$007CRemark$007C_$007C } from "./Comment.js";
21
21
 
@@ -359,12 +359,17 @@ export function SparseTable_FromRows_Z5579EC29(en, labels, lineNumber, prefix) {
359
359
  const vals = Seq_trySkip(1, row);
360
360
  const key = matchValue;
361
361
  let matchResult, k, v_1;
362
- const activePatternResult = Comment_$007CComment$007C_$007C(key);
363
- if (activePatternResult != null) {
364
- if (vals != null) {
365
- matchResult = 0;
366
- k = activePatternResult;
367
- v_1 = vals;
362
+ if (key != null) {
363
+ const activePatternResult = Comment_$007CComment$007C_$007C(key);
364
+ if (activePatternResult != null) {
365
+ if (vals != null) {
366
+ matchResult = 0;
367
+ k = activePatternResult;
368
+ v_1 = vals;
369
+ }
370
+ else {
371
+ matchResult = 1;
372
+ }
368
373
  }
369
374
  else {
370
375
  matchResult = 1;
@@ -1,14 +1,14 @@
1
- import { Record } from "../../../fable_modules/fable-library.4.5.0/Types.js";
2
- import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
+ import { record_type, list_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/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.5.0/List.js";
4
+ import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/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.5.0/MapUtil.js";
9
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
10
- import { List_distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
11
- import { stringHash } from "../../../fable_modules/fable-library.4.5.0/Util.js";
8
+ import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
9
+ import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
10
+ import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
11
+ import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/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.5.0/Seq.js";
21
+ import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library-js.4.13.0/Seq.js";
22
22
 
23
23
  export class StudyInfo extends Record {
24
24
  constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, FileName, Comments) {
package/README.md CHANGED
@@ -20,7 +20,7 @@ and __JavaScript__! ❤️
20
20
  ```
21
21
 
22
22
  ```bash
23
- <PackageReference Include="ARCtrl" Version="1.0.0-beta.1" />
23
+ <PackageReference Include="ARCtrl" Version="1.1.0" />
24
24
  ```
25
25
 
26
26
  ### JavaScript
@@ -44,10 +44,27 @@ Currently we provide some documentation in form of markdown files in the `/docs`
44
44
  - verify with `npm --version` (Tested with v9.2.0)
45
45
  - [.NET SDK](https://dotnet.microsoft.com/en-us/download)
46
46
  - verify with `dotnet --version` (Tested with 7.0.306)
47
+ - [Python](https://www.python.org/downloads/)
48
+ - verify with `py --version` (Tested with 3.12.2, known to work only for >=3.11)
47
49
 
48
50
  ### Local Setup
49
51
 
50
- 1. `dotnet tool restore`
51
- 3. `npm install`
52
+ 1. Setup dotnet tools
53
+
54
+ `dotnet tool restore`
55
+
56
+ 2. Install NPM dependencies
57
+
58
+ `npm install`
59
+
60
+ 3. Setup python environment
61
+
62
+ `py -m venv .venv`
63
+
64
+ 4. Install [Poetry](https://python-poetry.org/) and dependencies
65
+
66
+ 1. `.\.venv\Scripts\python.exe -m pip install -U pip setuptools`
67
+ 2. `.\.venv\Scripts\python.exe -m pip install poetry`
68
+ 3. `.\.venv\Scripts\python.exe -m poetry install --no-root`
52
69
 
53
70
  Verify correct setup with `./build.cmd runtests` ✨
package/SemVer.js CHANGED
@@ -1,10 +1,10 @@
1
- import { toString, Record } from "./fable_modules/fable-library.4.5.0/Types.js";
2
- import { record_type, option_type, string_type, int32_type } from "./fable_modules/fable-library.4.5.0/Reflection.js";
1
+ import { toString, Record } from "./fable_modules/fable-library-js.4.13.0/Types.js";
2
+ import { record_type, option_type, string_type, int32_type } from "./fable_modules/fable-library-js.4.13.0/Reflection.js";
3
3
  import { ActivePatterns_$007CRegex$007C_$007C } from "./ISA/ISA/Regex.js";
4
- import { parse } from "./fable_modules/fable-library.4.5.0/Int32.js";
5
- import { value as value_3, unwrap } from "./fable_modules/fable-library.4.5.0/Option.js";
6
- import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "./fable_modules/fable-library.4.5.0/System.Text.js";
7
- import { printf, toText } from "./fable_modules/fable-library.4.5.0/String.js";
4
+ import { parse } from "./fable_modules/fable-library-js.4.13.0/Int32.js";
5
+ import { value as value_3, unwrap } from "./fable_modules/fable-library-js.4.13.0/Option.js";
6
+ import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "./fable_modules/fable-library-js.4.13.0/System.Text.js";
7
+ import { printf, toText } from "./fable_modules/fable-library-js.4.13.0/String.js";
8
8
 
9
9
  export const SemVerAux_Pattern = "^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<pre>[0-9A-Za-z-\\.]+))?(\\+(?<build>[0-9A-Za-z-\\.]+))?$";
10
10
 
@@ -1,79 +1,86 @@
1
- import { toString } from "../fable_modules/fable-library.4.5.0/Types.js";
2
- import { dict, fromString, datetimeUtc, array as array_1, 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.5.0/Util.js";
1
+ import { toString } from "../fable_modules/fable-library-js.4.13.0/Types.js";
2
+ import { Json } from "../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
3
+ import { dict, datetimeUtc, array as array_1, guid, object, string, succeed, andThen } from "../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.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_1, encoder } from "../ISA/ISA.Json/Person.js";
7
7
  import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../ISA/ISA.Json/Ontology.js";
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
8
  import { ArcTable_decoder, ArcTable_encoder } from "../ISA/ISA.Json/ArcTypes/ArcTable.js";
10
- import { map, delay, toList } from "../fable_modules/fable-library.4.5.0/Seq.js";
11
- import { printf, toFail } from "../fable_modules/fable-library.4.5.0/String.js";
12
- import { ofArray, map as map_1 } from "../fable_modules/fable-library.4.5.0/List.js";
13
- import { FSharpMap__get_Values } from "../fable_modules/fable-library.4.5.0/Map.js";
14
- import { defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
9
+ import { list as list_1 } from "../fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js";
10
+ import { map, delay, toList } from "../fable_modules/fable-library-js.4.13.0/Seq.js";
11
+ import { toString as toString_1 } from "../fable_modules/fable-library-js.4.13.0/Date.js";
12
+ import { toText, printf, toFail } from "../fable_modules/fable-library-js.4.13.0/String.js";
13
+ import { fromString } from "../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
14
+ import { toString as toString_2 } from "../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
15
+ import { ofArray, map as map_1 } from "../fable_modules/fable-library-js.4.13.0/List.js";
16
+ import { defaultArg } from "../fable_modules/fable-library-js.4.13.0/Option.js";
15
17
 
16
- export const Organisation_encode = toString;
18
+ export const Organisation_encode = (arg) => (new Json(0, [toString(arg)]));
17
19
 
18
- export const Organisation_decode = (path_1) => ((value_1) => andThen(uncurry3((textValue) => {
19
- const output = Organisation.ofString(textValue);
20
- return (arg10$0040) => ((arg20$0040) => succeed(output, arg10$0040, arg20$0040));
21
- }), string, path_1, value_1));
20
+ export const Organisation_decode = andThen((textValue) => succeed(Organisation.ofString(textValue)), string);
22
21
 
23
22
  export function Template_encode(template) {
23
+ let copyOfStruct;
24
24
  let personEncoder;
25
25
  const options = ConverterOptions_$ctor();
26
26
  personEncoder = ((oa) => encoder(options, oa));
27
27
  let oaEncoder;
28
28
  const options_1 = ConverterOptions_$ctor();
29
29
  oaEncoder = ((oa_1) => OntologyAnnotation_encoder(options_1, oa_1));
30
- return object([["id", guid(template.Id)], ["table", ArcTable_encoder(template.Table)], ["name", template.Name], ["description", template.Description], ["organisation", Organisation_encode(template.Organisation)], ["version", template.Version], ["authors", list_1(toList(delay(() => map(personEncoder, template.Authors))))], ["endpoint_repositories", list_1(toList(delay(() => map(oaEncoder, template.EndpointRepositories))))], ["tags", list_1(toList(delay(() => map(oaEncoder, template.Tags))))], ["last_updated", datetime(template.LastUpdated)]]);
30
+ return new Json(5, [[["id", new Json(0, [(copyOfStruct = template.Id, copyOfStruct)])], ["table", ArcTable_encoder(template.Table)], ["name", new Json(0, [template.Name])], ["description", new Json(0, [template.Description])], ["organisation", Organisation_encode(template.Organisation)], ["version", new Json(0, [template.Version])], ["authors", list_1(toList(delay(() => map(personEncoder, template.Authors))))], ["endpoint_repositories", list_1(toList(delay(() => map(oaEncoder, template.EndpointRepositories))))], ["tags", list_1(toList(delay(() => map(oaEncoder, template.Tags))))], ["last_updated", new Json(0, [toString_1(template.LastUpdated, "O", {})])]]]);
31
31
  }
32
32
 
33
33
  export const Template_decode = (() => {
34
34
  const personDecoder = decoder_1(ConverterOptions_$ctor());
35
35
  const oaDecoder = OntologyAnnotation_decoder(ConverterOptions_$ctor());
36
- return (path_8) => ((v) => object_1((get$) => {
37
- let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6, objectArg_7, objectArg_8, objectArg_9;
38
- return Template.create((objectArg = get$.Required, objectArg.Field("id", guid_1)), (objectArg_1 = get$.Required, objectArg_1.Field("table", uncurry2(ArcTable_decoder))), (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_4, value_4) => array_1(uncurry2(personDecoder), path_4, value_4))), (objectArg_7 = get$.Required, objectArg_7.Field("endpoint_repositories", (path_5, value_5) => array_1(uncurry2(oaDecoder), path_5, value_5))), (objectArg_8 = get$.Required, objectArg_8.Field("tags", (path_6, value_6) => array_1(uncurry2(oaDecoder), path_6, value_6))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
39
- }, path_8, v));
36
+ return object((get$) => {
37
+ let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, objectArg_7, arg_17, objectArg_8, objectArg_9;
38
+ return Template.create((objectArg = get$.Required, objectArg.Field("id", guid)), (objectArg_1 = get$.Required, objectArg_1.Field("table", ArcTable_decoder)), (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", Organisation_decode)), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), (arg_13 = array_1(personDecoder), (objectArg_6 = get$.Required, objectArg_6.Field("authors", arg_13))), (arg_15 = array_1(oaDecoder), (objectArg_7 = get$.Required, objectArg_7.Field("endpoint_repositories", arg_15))), (arg_17 = array_1(oaDecoder), (objectArg_8 = get$.Required, objectArg_8.Field("tags", arg_17))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
39
+ });
40
40
  })();
41
41
 
42
42
  export function Template_fromJsonString(jsonString) {
43
- const matchValue = fromString(uncurry2(Template_decode), jsonString);
44
- if (matchValue.tag === 1) {
45
- return toFail(printf("Error. Given json string cannot be parsed to Template: %A"))(matchValue.fields[0]);
43
+ try {
44
+ const matchValue = fromString(Template_decode, jsonString);
45
+ if (matchValue.tag === 1) {
46
+ throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
47
+ }
48
+ else {
49
+ return matchValue.fields[0];
50
+ }
46
51
  }
47
- else {
48
- return matchValue.fields[0];
52
+ catch (exn) {
53
+ return toFail(printf("Error. Given json string cannot be parsed to Template: %A"))(exn);
49
54
  }
50
55
  }
51
56
 
52
57
  export function Template_toJsonString(spaces, template) {
53
- return toString_1(spaces, Template_encode(template));
58
+ return toString_2(spaces, Template_encode(template));
54
59
  }
55
60
 
56
61
  export function Templates_encode(templateList) {
57
- return object(map_1((tupledArg) => [tupledArg[0], Template_encode(tupledArg[1])], ofArray(templateList)));
62
+ return new Json(5, [map_1((tupledArg) => [tupledArg[0], Template_encode(tupledArg[1])], ofArray(templateList))]);
58
63
  }
59
64
 
60
- export const Templates_decode = (() => {
61
- const d = dict(uncurry2(Template_decode));
62
- return (value) => fromString(uncurry2(d), value);
63
- })();
65
+ export const Templates_decode = dict(Template_decode);
64
66
 
65
67
  export function Templates_fromJsonString(jsonString) {
66
- const matchValue = Templates_decode(jsonString);
67
- if (matchValue.tag === 1) {
68
- return toFail(printf("Error. Given json string cannot be parsed to Templates map: %A"))(matchValue.fields[0]);
68
+ try {
69
+ const matchValue = fromString(Templates_decode, jsonString);
70
+ if (matchValue.tag === 1) {
71
+ throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
72
+ }
73
+ else {
74
+ return matchValue.fields[0];
75
+ }
69
76
  }
70
- else {
71
- return Array.from(FSharpMap__get_Values(matchValue.fields[0]));
77
+ catch (exn) {
78
+ return toFail(printf("Error. Given json string cannot be parsed to Templates map: %A"))(exn);
72
79
  }
73
80
  }
74
81
 
75
82
  export function Templates_toJsonString(spaces, templateList) {
76
- return toString_1(spaces, Templates_encode(templateList));
83
+ return toString_2(spaces, Templates_encode(templateList));
77
84
  }
78
85
 
79
86
  export function ARCtrl_Template_Template__Template_ToJson_71136F3F(this$, spaces) {
@@ -1,24 +1,24 @@
1
- import { toString, Record, FSharpException } from "../fable_modules/fable-library.4.5.0/Types.js";
2
- import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
3
- import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library.4.5.0/List.js";
1
+ import { toString, Record, FSharpException } from "../fable_modules/fable-library-js.4.13.0/Types.js";
2
+ import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
+ import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library-js.4.13.0/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.5.0/MapUtil.js";
10
- import { List_distinct } from "../fable_modules/fable-library.4.5.0/Seq2.js";
11
- import { getEnumerator, stringHash } from "../fable_modules/fable-library.4.5.0/Util.js";
12
- import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library.4.5.0/Seq.js";
9
+ import { addToDict } from "../fable_modules/fable-library-js.4.13.0/MapUtil.js";
10
+ import { List_distinct } from "../fable_modules/fable-library-js.4.13.0/Seq2.js";
11
+ import { getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.13.0/Util.js";
12
+ import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.13.0/Seq.js";
13
13
  import { Person } from "../ISA/ISA/JsonTypes/Person.js";
14
- import { toArray } from "../fable_modules/fable-library.4.5.0/Option.js";
14
+ import { toArray } from "../fable_modules/fable-library-js.4.13.0/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.5.0/Guid.js";
16
+ import { parse } from "../fable_modules/fable-library-js.4.13.0/Guid.js";
17
17
  import { Template, Organisation } from "./Template.js";
18
- import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.1.2/FsWorksheet.fs.js";
18
+ import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js";
19
19
  import { toFsWorksheet, tryFromFsWorksheet } from "../ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js";
20
- import { now } from "../fable_modules/fable-library.4.5.0/Date.js";
21
- import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.1.2/FsWorkbook.fs.js";
20
+ import { now } from "../fable_modules/fable-library-js.4.13.0/Date.js";
21
+ import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js";
22
22
 
23
23
  export class TemplateReadError extends FSharpException {
24
24
  constructor(Data0) {
@@ -1,9 +1,9 @@
1
- import { defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
2
- import { singleton } from "../fable_modules/fable-library.4.5.0/AsyncBuilder.js";
1
+ import { defaultArg } from "../fable_modules/fable-library-js.4.13.0/Option.js";
2
+ import { singleton } from "../fable_modules/fable-library-js.4.13.0/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.5.0/Async.js";
6
- import { class_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
5
+ import { startAsPromise } from "../fable_modules/fable-library-js.4.13.0/Async.js";
6
+ import { class_type } from "../fable_modules/fable-library-js.4.13.0/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.5.0/Util.js";
2
- import { Union } from "../fable_modules/fable-library.4.5.0/Types.js";
3
- import { class_type, union_type, string_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
4
- import { defaultArg, unwrap } from "../fable_modules/fable-library.4.5.0/Option.js";
5
- import { newGuid } from "../fable_modules/fable-library.4.5.0/Guid.js";
1
+ import { identityHash, safeHash, stringHash, equals } from "../fable_modules/fable-library-js.4.13.0/Util.js";
2
+ import { Union } from "../fable_modules/fable-library-js.4.13.0/Types.js";
3
+ import { class_type, union_type, string_type } from "../fable_modules/fable-library-js.4.13.0/Reflection.js";
4
+ import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.13.0/Option.js";
5
+ import { newGuid } from "../fable_modules/fable-library-js.4.13.0/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.5.0/Array.js";
9
- import { toUniversalTime, now, equals as equals_1 } from "../fable_modules/fable-library.4.5.0/Date.js";
8
+ import { equalsWith } from "../fable_modules/fable-library-js.4.13.0/Array.js";
9
+ import { toUniversalTime, now, equals as equals_1 } from "../fable_modules/fable-library-js.4.13.0/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.5.0/Option.js";
2
- import { append, addRangeInPlace, collect, contains as contains_1 } from "../fable_modules/fable-library.4.5.0/Array.js";
3
- import { uncurry2, safeHash, equals } from "../fable_modules/fable-library.4.5.0/Util.js";
4
- import { Array_distinct } from "../fable_modules/fable-library.4.5.0/Seq2.js";
5
- import { class_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
1
+ import { defaultArg } from "../fable_modules/fable-library-js.4.13.0/Option.js";
2
+ import { append, addRangeInPlace, collect, item, contains as contains_1 } from "../fable_modules/fable-library-js.4.13.0/Array.js";
3
+ import { uncurry2, safeHash, equals } from "../fable_modules/fable-library-js.4.13.0/Util.js";
4
+ import { Array_distinct } from "../fable_modules/fable-library-js.4.13.0/Seq2.js";
5
+ import { class_type } from "../fable_modules/fable-library-js.4.13.0/Reflection.js";
6
6
 
7
7
  export function TemplatesAux_getComparer(matchAll) {
8
8
  if (defaultArg(matchAll, false)) {
@@ -18,7 +18,7 @@ export function TemplatesAux_filterOnTags(tagGetter, queryTags, comparer, templa
18
18
  const templateTags = tagGetter(t);
19
19
  let isValid = void 0;
20
20
  for (let idx = 0; idx <= (queryTags.length - 1); idx++) {
21
- const contains = contains_1(queryTags[idx], templateTags, {
21
+ const contains = contains_1(item(idx, queryTags), templateTags, {
22
22
  Equals: equals,
23
23
  GetHashCode: safeHash,
24
24
  });
@@ -53,7 +53,7 @@ export class Templates {
53
53
  static getDistinctOntologyAnnotations(templates) {
54
54
  const oas = [];
55
55
  for (let idx = 0; idx <= (templates.length - 1); idx++) {
56
- const t = templates[idx];
56
+ const t = item(idx, templates);
57
57
  addRangeInPlace(t.Tags, oas);
58
58
  addRangeInPlace(t.EndpointRepositories, oas);
59
59
  }
@@ -0,0 +1,15 @@
1
+ import { awaitPromise } from "../fable_modules/fable-library-js.4.13.0/Async.js";
2
+ import { fetch$ } from "../fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js";
3
+ import { empty } from "../fable_modules/fable-library-js.4.13.0/List.js";
4
+
5
+ export function isNode() {
6
+ return typeof process !== "undefined" &&
7
+ process.versions != null &&
8
+ process.versions.node != null;;
9
+ }
10
+
11
+ export function downloadFile(url) {
12
+ let pr_1, pr;
13
+ return awaitPromise((pr_1 = ((pr = fetch$(url, empty()), pr.then((res) => res.text()))), pr_1.then((txt) => txt)));
14
+ }
15
+
@@ -1,38 +1,19 @@
1
- import { awaitPromise } from "../fable_modules/fable-library.4.5.0/Async.js";
2
- import { fetch$ } from "../fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js";
3
- import { empty } from "../fable_modules/fable-library.4.5.0/List.js";
4
- import { singleton } from "../fable_modules/fable-library.4.5.0/AsyncBuilder.js";
1
+ import { downloadFile as downloadFile_1, isNode } from "./WebRequest.Node.js";
2
+ import { singleton } from "../fable_modules/fable-library-js.4.13.0/AsyncBuilder.js";
5
3
  import { Http_get } from "../fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js";
6
- import { printf, toFail } from "../fable_modules/fable-library.4.5.0/String.js";
4
+ import { printf, toFail } from "../fable_modules/fable-library-js.4.13.0/String.js";
7
5
  import "isomorphic-fetch";
8
6
 
9
- export function NodeJs_isNode() {
10
- return typeof process !== "undefined" &&
11
- process.versions != null &&
12
- process.versions.node != null;;
13
- }
14
-
15
- export function NodeJs_downloadFile(url) {
16
- let pr_1, pr;
17
- return awaitPromise((pr_1 = ((pr = fetch$(url, empty()), pr.then((res) => res.text()))), pr_1.then((txt) => txt)));
18
- }
19
-
20
7
  export function downloadFile(url) {
21
- let isFable = false;
22
- isFable = true;
23
- const browserAndDotnet = () => singleton.Delay(() => singleton.Bind(Http_get(url), (_arg) => {
24
- const statusCode = _arg[0] | 0;
25
- const responseText = _arg[1];
26
- return singleton.Return((statusCode === 200) ? responseText : toFail(printf("Status %d => %s"))(statusCode)(responseText));
27
- }));
28
- if (!isFable) {
29
- return browserAndDotnet();
30
- }
31
- else if (NodeJs_isNode()) {
32
- return NodeJs_downloadFile(url);
8
+ if (isNode()) {
9
+ return downloadFile_1(url);
33
10
  }
34
11
  else {
35
- return browserAndDotnet();
12
+ return singleton.Delay(() => singleton.Bind(Http_get(url), (_arg) => {
13
+ const statusCode = _arg[0] | 0;
14
+ const responseText = _arg[1];
15
+ return singleton.Return((statusCode === 200) ? responseText : toFail(printf("Status %d => %s"))(statusCode)(responseText));
16
+ }));
36
17
  }
37
18
  }
38
19
 
@@ -1,11 +1,11 @@
1
- import { Union } from "../fable-library.4.5.0/Types.js";
2
- import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library.4.5.0/Reflection.js";
3
- import { defaultArg } from "../fable-library.4.5.0/Option.js";
4
- import { empty } from "../fable-library.4.5.0/Seq.js";
5
- import { keyValueList } from "../fable-library.4.5.0/MapUtil.js";
6
- import { int32ToString } from "../fable-library.4.5.0/Util.js";
1
+ import { Union } from "../fable-library-js.4.13.0/Types.js";
2
+ import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library-js.4.13.0/Reflection.js";
3
+ import { defaultArg } from "../fable-library-js.4.13.0/Option.js";
4
+ import { empty } from "../fable-library-js.4.13.0/Seq.js";
5
+ import { keyValueList } from "../fable-library-js.4.13.0/MapUtil.js";
6
+ import { int32ToString } from "../fable-library-js.4.13.0/Util.js";
7
7
  import { result } from "../Fable.Promise.2.2.2/Promise.fs.js";
8
- import { singleton } from "../fable-library.4.5.0/List.js";
8
+ import { singleton } from "../fable-library-js.4.13.0/List.js";
9
9
 
10
10
  export class Types_HttpRequestHeaders extends Union {
11
11
  constructor(tag, fields) {
@@ -1,6 +1,6 @@
1
- import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library.4.5.0/Choice.js";
2
- import { class_type } from "../fable-library.4.5.0/Reflection.js";
3
- import { defaultOf, equals, disposeSafe, getEnumerator } from "../fable-library.4.5.0/Util.js";
1
+ import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library-js.4.13.0/Result.js";
2
+ import { class_type } from "../fable-library-js.4.13.0/Reflection.js";
3
+ import { defaultOf, equals, disposeSafe, getEnumerator } from "../fable-library-js.4.13.0/Util.js";
4
4
 
5
5
  /**
6
6
  * Creates promise (in rejected state) with supplied reason.
@@ -1,12 +1,12 @@
1
- import { fromContinuations } from "../fable-library.4.5.0/Async.js";
1
+ import { fromContinuations } from "../fable-library-js.4.13.0/Async.js";
2
2
  import { HttpResponse, ResponseContent, HttpRequest, BodyContent, HttpMethod, Header } from "./Types.fs.js";
3
- import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library.4.5.0/List.js";
4
- import { ofArray, empty as empty_1 } from "../fable-library.4.5.0/Map.js";
5
- import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library.4.5.0/Util.js";
6
- import { join, split, isNullOrEmpty } from "../fable-library.4.5.0/String.js";
7
- import { choose } from "../fable-library.4.5.0/Array.js";
8
- import { some } from "../fable-library.4.5.0/Option.js";
9
- import { singleton as singleton_1 } from "../fable-library.4.5.0/AsyncBuilder.js";
3
+ import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.13.0/List.js";
4
+ import { ofArray, empty as empty_1 } from "../fable-library-js.4.13.0/Map.js";
5
+ import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.13.0/Util.js";
6
+ import { join, split, isNullOrEmpty } from "../fable-library-js.4.13.0/String.js";
7
+ import { choose } from "../fable-library-js.4.13.0/Array.js";
8
+ import { some } from "../fable-library-js.4.13.0/Option.js";
9
+ import { singleton as singleton_1 } from "../fable-library-js.4.13.0/AsyncBuilder.js";
10
10
 
11
11
  /**
12
12
  * Download a Blob
@@ -1,5 +1,5 @@
1
- import { Record, Union } from "../fable-library.4.5.0/Types.js";
2
- import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library.4.5.0/Reflection.js";
1
+ import { Record, Union } from "../fable-library-js.4.13.0/Types.js";
2
+ import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.13.0/Reflection.js";
3
3
 
4
4
  export class HttpMethod extends Union {
5
5
  constructor(tag, fields) {