@nfdi4plants/arctrl 1.1.0 → 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 (302) hide show
  1. package/ARC.js +9 -9
  2. package/Contract/Contract.js +3 -3
  3. package/Contracts/Contracts.ArcTypes.js +11 -11
  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 +19 -19
  11. package/ISA/ISA/ArcTypes/ArcTableAux.js +16 -16
  12. package/ISA/ISA/ArcTypes/ArcTables.js +11 -11
  13. package/ISA/ISA/ArcTypes/ArcTypes.js +10 -10
  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 +105 -84
  55. package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +78 -49
  56. package/ISA/ISA.Json/ArcTypes/ArcStudy.js +74 -41
  57. package/ISA/ISA.Json/ArcTypes/ArcTable.js +112 -71
  58. package/ISA/ISA.Json/ArcTypes/CellTable.js +13 -19
  59. package/ISA/ISA.Json/ArcTypes/CompositeCell.js +23 -38
  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 +13 -19
  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 +86 -109
  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 +25 -24
  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 +5 -5
  103. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
  104. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +8 -8
  105. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  106. package/ISA/ISA.Spreadsheet/ArcAssay.js +5 -5
  107. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +10 -10
  108. package/ISA/ISA.Spreadsheet/ArcStudy.js +5 -5
  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 +21 -16
  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 +10 -10
  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.3/Cells/FsCell.fs.js +14 -14
  136. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
  137. package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
  138. package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
  139. package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
  140. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
  141. package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
  142. package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
  143. package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
  144. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
  145. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
  146. package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
  147. package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
  148. package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
  149. package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
  150. package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
  151. package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
  152. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
  153. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +4 -3
  154. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
  155. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
  156. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
  157. package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
  158. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
  159. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
  160. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
  161. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
  162. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
  163. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
  164. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
  165. package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
  166. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
  167. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
  168. package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  169. 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
  170. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
  171. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
  172. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
  173. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
  174. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
  175. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  176. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
  177. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  178. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
  179. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.d.ts +4 -1
  180. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.js +124 -86
  181. package/fable_modules/fable-library-js.4.13.0/CHANGELOG.md +29 -0
  182. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.d.ts +0 -17
  183. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.js +0 -43
  184. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.js +3 -2
  185. package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.d.ts +12 -0
  186. package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.js +27 -0
  187. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.js +3 -3
  188. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.js +3 -3
  189. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.js +2 -1
  190. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.js +2 -1
  191. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.js +7 -7
  192. package/fable_modules/fable-library-js.4.13.0/Result.d.ts +37 -0
  193. package/fable_modules/fable-library-js.4.13.0/Result.js +165 -0
  194. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.js +2 -2
  195. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.d.ts +1 -0
  196. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.js +8 -5
  197. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.d.ts +15 -7
  198. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.js +46 -36
  199. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.d.ts +9 -1
  200. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.js +60 -8
  201. package/fable_modules/fable-library-js.4.13.0/big.d.ts +338 -0
  202. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/package.json +4 -3
  203. package/fable_modules/project_cracked.json +1 -1
  204. package/package.json +1 -1
  205. package/ISA/ISA.Json/Validation/Fable.js +0 -69
  206. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
  207. package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
  208. package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
  209. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
  210. package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
  211. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
  212. package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
  213. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
  214. package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
  215. package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
  216. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
  217. package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
  218. package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
  219. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.d.ts +0 -0
  220. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.js +0 -0
  221. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.d.ts +0 -0
  222. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.js +0 -0
  223. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.d.ts +0 -0
  224. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.js +0 -0
  225. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.d.ts +0 -0
  226. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.js +0 -0
  227. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.d.ts +0 -0
  228. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.js +0 -0
  229. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.d.ts +0 -0
  230. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.js +0 -0
  231. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.d.ts +0 -0
  232. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.d.ts +0 -0
  233. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.js +0 -0
  234. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.d.ts +0 -0
  235. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.js +0 -0
  236. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.d.ts +0 -0
  237. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.js +0 -0
  238. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.d.ts +0 -0
  239. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.js +0 -0
  240. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.d.ts +0 -0
  241. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.js +0 -0
  242. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.d.ts +0 -0
  243. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.js +0 -0
  244. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.d.ts +0 -0
  245. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.js +0 -0
  246. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.d.ts +0 -0
  247. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.js +0 -0
  248. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.d.ts +0 -0
  249. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.js +0 -0
  250. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.d.ts +0 -0
  251. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.js +0 -0
  252. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.d.ts +0 -0
  253. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.js +0 -0
  254. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.d.ts +0 -0
  255. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.d.ts +0 -0
  256. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.js +0 -0
  257. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.d.ts +0 -0
  258. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.js +0 -0
  259. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.d.ts +0 -0
  260. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.d.ts +0 -0
  261. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.js +0 -0
  262. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.d.ts +0 -0
  263. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.d.ts +0 -0
  264. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.d.ts +0 -0
  265. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.js +0 -0
  266. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.d.ts +0 -0
  267. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.js +0 -0
  268. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.d.ts +0 -0
  269. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.js +0 -0
  270. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.d.ts +0 -0
  271. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.js +0 -0
  272. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/README.md +0 -0
  273. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.d.ts +0 -0
  274. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.d.ts +0 -0
  275. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.js +0 -0
  276. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.d.ts +0 -0
  277. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.js +0 -0
  278. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.d.ts +0 -0
  279. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.js +0 -0
  280. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.d.ts +0 -0
  281. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.js +0 -0
  282. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.d.ts +0 -0
  283. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.js +0 -0
  284. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.d.ts +0 -0
  285. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.d.ts +0 -0
  286. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.js +0 -0
  287. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.d.ts +0 -0
  288. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.js +0 -0
  289. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.d.ts +0 -0
  290. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.js +0 -0
  291. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.d.ts +0 -0
  292. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.js +0 -0
  293. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.d.ts +0 -0
  294. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.js +0 -0
  295. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.d.ts +0 -0
  296. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.js +0 -0
  297. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.d.ts +0 -0
  298. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.js +0 -0
  299. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.d.ts +0 -0
  300. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.js +0 -0
  301. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.d.ts +0 -0
  302. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.js +0 -0
@@ -1,11 +1,11 @@
1
- import { filter, map, tryFind, exists, singleton, append } from "../../../fable_modules/fable-library.4.5.0/List.js";
2
- import { equals } from "../../../fable_modules/fable-library.4.5.0/Util.js";
3
- import { record_type, array_type, option_type, string_type, getRecordFields, makeRecord } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
4
- import { map as map_2, map2 } from "../../../fable_modules/fable-library.4.5.0/Array.js";
1
+ import { filter, map, tryFind, exists, singleton, append } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
2
+ import { equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
3
+ import { record_type, array_type, option_type, string_type, getRecordFields, makeRecord } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
4
+ import { map as map_2, map2 } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
5
5
  import { Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
6
- import { map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Option.js";
6
+ import { map as map_1 } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
7
7
  import { Option_mapDefault } from "../Helper.js";
8
- import { Record } from "../../../fable_modules/fable-library.4.5.0/Types.js";
8
+ import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
9
9
  import { OntologyAnnotation_$reflection } from "./OntologyAnnotation.js";
10
10
  import { Comment$_$reflection } from "./Comment.js";
11
11
 
@@ -1,8 +1,8 @@
1
- import { Record, toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
2
- import { append, choose, empty, length } from "../../../fable_modules/fable-library.4.5.0/List.js";
3
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
4
- import { printf, toText } from "../../../fable_modules/fable-library.4.5.0/String.js";
5
- import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
1
+ import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
+ import { append, choose, empty, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
3
+ import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
4
+ import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
5
+ import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
6
6
  import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
7
7
  import { FactorValue_$reflection } from "./FactorValue.js";
8
8
  import { Source_$reflection } from "./Source.js";
@@ -1,8 +1,8 @@
1
- import { Record, toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
2
- import { choose, empty, length } from "../../../fable_modules/fable-library.4.5.0/List.js";
3
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
4
- import { printf, toText } from "../../../fable_modules/fable-library.4.5.0/String.js";
5
- import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
1
+ import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
+ import { choose, empty, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
3
+ import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
4
+ import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
5
+ import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
6
6
  import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
7
7
 
8
8
  export class Source extends Record {
@@ -1,5 +1,5 @@
1
- import { Record } from "../../../fable_modules/fable-library.4.5.0/Types.js";
2
- import { getRecordFields, makeRecord, record_type, list_type, option_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 { getRecordFields, makeRecord, record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
3
  import { Publication_$reflection } from "./Publication.js";
4
4
  import { Person_$reflection } from "./Person.js";
5
5
  import { OntologyAnnotation_$reflection } from "./OntologyAnnotation.js";
@@ -10,19 +10,19 @@ import { Assay_update_722A269D, Assay_updateProtocols, Assay_getMaterials_722A26
10
10
  import { Factor_$reflection } from "./Factor.js";
11
11
  import { MaterialAttribute_$reflection } from "./MaterialAttribute.js";
12
12
  import { Comment$_$reflection } from "./Comment.js";
13
- import { collect, empty, filter, map, singleton, append, exists } from "../../../fable_modules/fable-library.4.5.0/List.js";
14
- import { stringHash, safeHash, structuralHash, equals } from "../../../fable_modules/fable-library.4.5.0/Util.js";
15
- import { map2 as map2_2 } from "../../../fable_modules/fable-library.4.5.0/Array.js";
13
+ import { collect, empty, filter, map, singleton, append, exists } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
14
+ import { stringHash, safeHash, structuralHash, equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
15
+ import { map2 as map2_2 } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
16
16
  import { Dict_tryFind, Dict_ofSeqWithMerge, Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
17
- import { map as map_1, defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
17
+ import { map as map_1, defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
18
18
  import { Option_fromValueWithDefault, Update_UpdateOptions, Option_mapDefault } from "../Helper.js";
19
19
  import { updateProtocols, getMaterials, getSamples, getSources, getUnits, getFactors, getCharacteristics, getProtocols } from "./ProcessSequence.js";
20
- import { List_distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
20
+ import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
21
21
  import { Source_$reflection } from "./Source.js";
22
22
  import { Sample_$reflection } from "./Sample.js";
23
23
  import { AssayMaterials_getMaterials_35E61745 } from "./AssayMaterials.js";
24
24
  import { Material_$reflection } from "./Material.js";
25
- import { toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
25
+ import { toFail } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
26
26
 
27
27
  export class Study extends Record {
28
28
  constructor(ID, FileName, Identifier, Title, Description, SubmissionDate, PublicReleaseDate, Publications, Contacts, StudyDesignDescriptors, Protocols, Materials, ProcessSequence, Assays, Factors, CharacteristicCategories, UnitCategories, Comments) {
@@ -1,10 +1,10 @@
1
- import { Record } from "../../../fable_modules/fable-library.4.5.0/Types.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
2
  import { Source_$reflection } from "./Source.js";
3
- import { record_type, option_type, list_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
3
+ import { record_type, option_type, list_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
4
4
  import { Sample_$reflection } from "./Sample.js";
5
5
  import { Material_$reflection } from "./Material.js";
6
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
7
- import { empty } from "../../../fable_modules/fable-library.4.5.0/List.js";
6
+ import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
7
+ import { empty } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
8
8
 
9
9
  export class StudyMaterials extends Record {
10
10
  constructor(Sources, Samples, OtherMaterials) {
@@ -1,11 +1,11 @@
1
- import { parse } from "../../../fable_modules/fable-library.4.5.0/Double.js";
2
- import { parse as parse_1 } from "../../../fable_modules/fable-library.4.5.0/Int32.js";
1
+ import { tryParse } from "../../../fable_modules/fable-library-js.4.13.0/Int32.js";
2
+ import { Union, toString, FSharpRef } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
3
+ import { tryParse as tryParse_1 } from "../../../fable_modules/fable-library-js.4.13.0/Double.js";
3
4
  import { OntologyAnnotation_$reflection, OntologyAnnotation } from "./OntologyAnnotation.js";
4
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
5
- import { int32ToString } from "../../../fable_modules/fable-library.4.5.0/Util.js";
6
- import { Union, toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
7
- import { printf, toText } from "../../../fable_modules/fable-library.4.5.0/String.js";
8
- import { union_type, string_type, float64_type, int32_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
5
+ import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
6
+ import { int32ToString } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
7
+ import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
8
+ import { union_type, string_type, float64_type, int32_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
9
9
 
10
10
  export class Value extends Union {
11
11
  constructor(tag, fields) {
@@ -17,33 +17,26 @@ export class Value extends Union {
17
17
  return ["Ontology", "Int", "Float", "Name"];
18
18
  }
19
19
  static fromString(value) {
20
- try {
21
- return new Value(1, [parse_1(value, 511, false, 32)]);
20
+ let matchValue;
21
+ let outArg = 0;
22
+ matchValue = [tryParse(value, 511, false, 32, new FSharpRef(() => outArg, (v) => {
23
+ outArg = (v | 0);
24
+ })), outArg];
25
+ if (matchValue[0]) {
26
+ return new Value(1, [matchValue[1]]);
22
27
  }
23
- catch (matchValue) {
24
- try {
25
- return new Value(2, [parse(value)]);
26
- }
27
- catch (matchValue_1) {
28
- return new Value(3, [value]);
29
- }
28
+ else {
29
+ let matchValue_1;
30
+ let outArg_1 = 0;
31
+ matchValue_1 = [tryParse_1(value, new FSharpRef(() => outArg_1, (v_1) => {
32
+ outArg_1 = v_1;
33
+ })), outArg_1];
34
+ return matchValue_1[0] ? (new Value(2, [matchValue_1[1]])) : (new Value(3, [value]));
30
35
  }
31
36
  }
32
37
  static fromOptions(value, termSource, termAccesssion) {
33
38
  let value_1;
34
- return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? void 0 : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, (() => {
35
- try {
36
- return new Value(1, [parse_1(value_1, 511, false, 32)]);
37
- }
38
- catch (matchValue_1) {
39
- try {
40
- return new Value(2, [parse(value_1)]);
41
- }
42
- catch (matchValue_2) {
43
- return new Value(3, [value_1]);
44
- }
45
- }
46
- })())) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)])));
39
+ return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? void 0 : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, Value.fromString(value_1))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)])));
47
40
  }
48
41
  static toOptions(value) {
49
42
  switch (value.tag) {
package/ISA/ISA/Regex.js CHANGED
@@ -1,6 +1,6 @@
1
- import { create, match } from "../../fable_modules/fable-library.4.5.0/RegExp.js";
2
- import { parse } from "../../fable_modules/fable-library.4.5.0/Int32.js";
3
- import { map } from "../../fable_modules/fable-library.4.5.0/Option.js";
1
+ import { create, match } from "../../fable_modules/fable-library-js.4.13.0/RegExp.js";
2
+ import { parse } from "../../fable_modules/fable-library-js.4.13.0/Int32.js";
3
+ import { map } from "../../fable_modules/fable-library-js.4.13.0/Option.js";
4
4
 
5
5
  export function Pattern_handleGroupPatterns(pattern) {
6
6
  return pattern;
@@ -1,92 +1,79 @@
1
1
  import { OntologySourceReference_encoder, OntologyAnnotation_encoder, OntologySourceReference_decoder, OntologyAnnotation_decoder } from "../Ontology.js";
2
- import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
3
- import { fromString, array, object as object_1, string, list as list_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
4
- import { safeHash, equals, uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
2
+ import { ConverterOptions__set_IncludeContext_Z1FBCCD16, ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
3
+ import { array, object, string, list as list_1 } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
5
4
  import { ArcTable_compressedDecoder, ArcTable_compressedEncoder, ArcTable_encoder, ArcTable_decoder } from "./ArcTable.js";
6
- import { encoder, decoder as decoder_1 } from "../Person.js";
7
- import { encoder as encoder_1, decoder as decoder_2 } from "../Comment.js";
5
+ import { encoder, decoder as decoder_2 } from "../Person.js";
6
+ import { encoder as encoder_1, decoder as decoder_3 } from "../Comment.js";
8
7
  import { Factor_encoder, Factor_decoder } from "../Factor.js";
9
- import { encoder as encoder_2, decoder as decoder_3 } from "../Publication.js";
10
- import { value as value_3, map, defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
11
- import { toArray } from "../../../fable_modules/fable-library.4.5.0/List.js";
12
- import { toString, object, seq } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
13
- import { empty, singleton, append, delay, toList, map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
8
+ import { encoder as encoder_2, decoder as decoder_4 } from "../Publication.js";
9
+ import { value as value_2, map, defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
10
+ import { toArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
11
+ import { seq } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js";
12
+ import { empty, singleton, append, delay, toList, map as map_1 } from "../../../fable_modules/fable-library-js.4.13.0/Seq.js";
13
+ import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
14
14
  import { ArcAssay } from "../../ISA/ArcTypes/ArcTypes.js";
15
15
  import { OATable_arrayFromMap, OATable_encoder, OATable_decoder, OATable_decodeOA, OATable_encodeOA } from "./OATable.js";
16
+ import { toString } from "../../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
16
17
  import { Assay_decoder, Assay_encoder } from "../Assay.js";
17
- import { fromJsonString } from "../Decode.js";
18
- import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
18
+ import { fromString } from "../../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
19
+ import { toFail, printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
19
20
  import { StringTable_arrayFromMap, StringTable_encoder, StringTable_decoder } from "../StringTable.js";
20
21
  import { CellTable_arrayFromMap, CellTable_encoder, CellTable_decoder } from "./CellTable.js";
21
- import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
22
+ import { Dictionary } from "../../../fable_modules/fable-library-js.4.13.0/MutableMap.js";
23
+ import { safeHash, equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
22
24
 
23
25
  export const JsonHelper_DecodeOa = OntologyAnnotation_decoder(ConverterOptions_$ctor());
24
26
 
25
- export const JsonHelper_DecodeTables = (path) => ((value) => list_1(uncurry2(ArcTable_decoder), path, value));
27
+ export const JsonHelper_DecodeTables = list_1(ArcTable_decoder);
26
28
 
27
- export const JsonHelper_DecodePersons = (() => {
28
- const decoder = decoder_1(ConverterOptions_$ctor());
29
- return (path) => ((value) => list_1(uncurry2(decoder), path, value));
30
- })();
29
+ export const JsonHelper_DecodePersons = list_1(decoder_2(ConverterOptions_$ctor()));
31
30
 
32
- export const JsonHelper_DecodeComments = (() => {
33
- const decoder = decoder_2(ConverterOptions_$ctor());
34
- return (path) => ((value) => list_1(uncurry2(decoder), path, value));
35
- })();
31
+ export const JsonHelper_DecodeComments = list_1(decoder_3(ConverterOptions_$ctor()));
36
32
 
37
- export const JsonHelper_DecodeFactors = (() => {
38
- const decoder = Factor_decoder(ConverterOptions_$ctor());
39
- return (path) => ((value) => list_1(uncurry2(decoder), path, value));
40
- })();
33
+ export const JsonHelper_DecodeFactors = list_1(Factor_decoder(ConverterOptions_$ctor()));
41
34
 
42
- export const JsonHelper_DecodePublications = (() => {
43
- const decoder = decoder_3(ConverterOptions_$ctor());
44
- return (path) => ((value) => list_1(uncurry2(decoder), path, value));
45
- })();
35
+ export const JsonHelper_DecodePublications = list_1(decoder_4(ConverterOptions_$ctor()));
46
36
 
47
- export const JsonHelper_DecodeOntologySourceReferences = (() => {
48
- const decoder = OntologySourceReference_decoder(ConverterOptions_$ctor());
49
- return (path) => ((value) => list_1(uncurry2(decoder), path, value));
50
- })();
37
+ export const JsonHelper_DecodeOntologySourceReferences = list_1(OntologySourceReference_decoder(ConverterOptions_$ctor()));
51
38
 
52
39
  export function JsonHelper_tryGetTables(get$, fieldName) {
53
40
  let objectArg;
54
- return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeTables)))), []);
41
+ return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeTables))), []);
55
42
  }
56
43
 
57
44
  export function JsonHelper_tryGetPersons(get$, fieldName) {
58
45
  let objectArg;
59
- return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodePersons)))), new Array(0));
46
+ return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodePersons))), new Array(0));
60
47
  }
61
48
 
62
49
  export function JsonHelper_tryGetComments(get$, fieldName) {
63
50
  let objectArg;
64
- return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeComments)))), new Array(0));
51
+ return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeComments))), new Array(0));
65
52
  }
66
53
 
67
54
  export function JsonHelper_tryGetPublications(get$, fieldName) {
68
55
  let objectArg;
69
- return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodePublications)))), new Array(0));
56
+ return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodePublications))), new Array(0));
70
57
  }
71
58
 
72
59
  export function JsonHelper_tryGetOAs(get$, fieldName) {
73
- let objectArg;
74
- return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, (path, value) => list_1(uncurry2(JsonHelper_DecodeOa), path, value)))), new Array(0));
60
+ let arg_1, objectArg;
61
+ return defaultArg(map(toArray, (arg_1 = list_1(JsonHelper_DecodeOa), (objectArg = get$.Optional, objectArg.Field(fieldName, arg_1)))), new Array(0));
75
62
  }
76
63
 
77
64
  export function JsonHelper_tryGetFactors(get$, fieldName) {
78
65
  let objectArg;
79
- return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeFactors)))), new Array(0));
66
+ return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeFactors))), new Array(0));
80
67
  }
81
68
 
82
69
  export function JsonHelper_tryGetStringResizeArray(get$, fieldName) {
83
- let objectArg;
84
- return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName, (path_1, value_1) => list_1(string, path_1, value_1)))), []);
70
+ let arg_1, objectArg;
71
+ return defaultArg(map((collection) => Array.from(collection), (arg_1 = list_1(string), (objectArg = get$.Optional, objectArg.Field(fieldName, arg_1)))), []);
85
72
  }
86
73
 
87
74
  export function JsonHelper_tryGetOntologySourceReferences(get$, fieldName) {
88
75
  let objectArg;
89
- return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeOntologySourceReferences)))), new Array(0));
76
+ return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeOntologySourceReferences))), new Array(0));
90
77
  }
91
78
 
92
79
  export function JsonHelper_EncoderOA(t) {
@@ -142,69 +129,84 @@ export function JsonHelper_EncoderOntologySourceReferences(t) {
142
129
  }
143
130
 
144
131
  export function ArcAssay_encoder(assay) {
145
- return object(toList(delay(() => append(singleton(["Identifier", assay.Identifier]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", JsonHelper_EncoderOA(value_3(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", JsonHelper_EncoderOA(value_3(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", JsonHelper_EncoderOA(value_3(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", JsonHelper_EncoderTables(assay.Tables)]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty()))))))))))))))));
132
+ return new Json(5, [toList(delay(() => append(singleton(["Identifier", new Json(0, [assay.Identifier])]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", JsonHelper_EncoderOA(value_2(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", JsonHelper_EncoderOA(value_2(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", JsonHelper_EncoderOA(value_2(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", JsonHelper_EncoderTables(assay.Tables)]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty())))))))))))))))]);
146
133
  }
147
134
 
148
- export const ArcAssay_decoder = (path_1) => ((v) => object_1((get$) => {
135
+ export const ArcAssay_decoder = object((get$) => {
149
136
  let identifier;
150
137
  const objectArg = get$.Required;
151
138
  identifier = objectArg.Field("Identifier", string);
152
139
  let measurementType;
153
140
  const objectArg_1 = get$.Optional;
154
- measurementType = objectArg_1.Field("MeasurementType", uncurry2(JsonHelper_DecodeOa));
141
+ measurementType = objectArg_1.Field("MeasurementType", JsonHelper_DecodeOa);
155
142
  let technologyType;
156
143
  const objectArg_2 = get$.Optional;
157
- technologyType = objectArg_2.Field("TechnologyType", uncurry2(JsonHelper_DecodeOa));
144
+ technologyType = objectArg_2.Field("TechnologyType", JsonHelper_DecodeOa);
158
145
  let technologyPlatform;
159
146
  const objectArg_3 = get$.Optional;
160
- technologyPlatform = objectArg_3.Field("TechnologyPlatform", uncurry2(JsonHelper_DecodeOa));
147
+ technologyPlatform = objectArg_3.Field("TechnologyPlatform", JsonHelper_DecodeOa);
161
148
  const tables = JsonHelper_tryGetTables(get$, "Tables");
162
149
  const performers = JsonHelper_tryGetPersons(get$, "Performers");
163
150
  const comments = JsonHelper_tryGetComments(get$, "Comments");
164
151
  return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
165
- }, path_1, v));
152
+ });
166
153
 
167
154
  export function ArcAssay_compressedEncoder(stringTable, oaTable, cellTable, assay) {
168
- return object(toList(delay(() => append(singleton(["Identifier", assay.Identifier]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", OATable_encodeOA(oaTable, value_3(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", OATable_encodeOA(oaTable, value_3(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", OATable_encodeOA(oaTable, value_3(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", seq(map_1((table) => ArcTable_compressedEncoder(stringTable, oaTable, cellTable, table), assay.Tables))]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty()))))))))))))))));
155
+ return new Json(5, [toList(delay(() => append(singleton(["Identifier", new Json(0, [assay.Identifier])]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", OATable_encodeOA(oaTable, value_2(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", OATable_encodeOA(oaTable, value_2(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", OATable_encodeOA(oaTable, value_2(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", seq(map_1((table) => ArcTable_compressedEncoder(stringTable, oaTable, cellTable, table), assay.Tables))]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty())))))))))))))))]);
169
156
  }
170
157
 
171
158
  export function ArcAssay_compressedDecoder(stringTable, oaTable, cellTable) {
172
- return (path_2) => ((v) => object_1((get$) => {
173
- let arg_1, decoder, objectArg;
174
- const tables = defaultArg(map((collection) => Array.from(collection), (arg_1 = ((decoder = ArcTable_compressedDecoder(stringTable, oaTable, cellTable), (path) => ((value) => array(uncurry2(decoder), path, value)))), (objectArg = get$.Optional, objectArg.Field("Tables", uncurry2(arg_1))))), []);
159
+ return object((get$) => {
160
+ let arg_1, objectArg;
161
+ const tables = defaultArg(map((collection) => Array.from(collection), (arg_1 = array(ArcTable_compressedDecoder(stringTable, oaTable, cellTable)), (objectArg = get$.Optional, objectArg.Field("Tables", arg_1)))), []);
175
162
  let identifier;
176
163
  const objectArg_1 = get$.Required;
177
164
  identifier = objectArg_1.Field("Identifier", string);
178
165
  let measurementType;
166
+ const arg_5 = OATable_decodeOA(oaTable);
179
167
  const objectArg_2 = get$.Optional;
180
- measurementType = objectArg_2.Field("MeasurementType", (s, o) => OATable_decodeOA(oaTable, s, o));
168
+ measurementType = objectArg_2.Field("MeasurementType", arg_5);
181
169
  let technologyType;
170
+ const arg_7 = OATable_decodeOA(oaTable);
182
171
  const objectArg_3 = get$.Optional;
183
- technologyType = objectArg_3.Field("TechnologyType", (s_1, o_1) => OATable_decodeOA(oaTable, s_1, o_1));
172
+ technologyType = objectArg_3.Field("TechnologyType", arg_7);
184
173
  let technologyPlatform;
174
+ const arg_9 = OATable_decodeOA(oaTable);
185
175
  const objectArg_4 = get$.Optional;
186
- technologyPlatform = objectArg_4.Field("TechnologyPlatform", (s_2, o_2) => OATable_decodeOA(oaTable, s_2, o_2));
176
+ technologyPlatform = objectArg_4.Field("TechnologyPlatform", arg_9);
187
177
  const performers = JsonHelper_tryGetPersons(get$, "Performers");
188
178
  const comments = JsonHelper_tryGetComments(get$, "Comments");
189
179
  return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
190
- }, path_2, v));
180
+ });
191
181
  }
192
182
 
193
183
  /**
194
184
  * exports in json-ld format
195
185
  */
196
- export function ArcAssay_toStringLD(a) {
186
+ export function ArcAssay_toJsonldString(a) {
197
187
  let returnVal;
198
- return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToAssay()));
188
+ return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), void 0, a.ToAssay()));
189
+ }
190
+
191
+ export function ArcAssay_toJsonldStringWithContext(a) {
192
+ let returnVal;
193
+ return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), (((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), ConverterOptions__set_IncludeContext_Z1FBCCD16(returnVal, true)), returnVal)), void 0, a.ToAssay()));
199
194
  }
200
195
 
201
196
  export function ArcAssay_fromJsonString(s) {
202
- const a = fromJsonString(uncurry2(Assay_decoder(ConverterOptions_$ctor())), s);
203
- return ArcAssay.fromAssay(a);
197
+ let a_1;
198
+ const matchValue = fromString(Assay_decoder(ConverterOptions_$ctor()), s);
199
+ if (matchValue.tag === 1) {
200
+ throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
201
+ }
202
+ else {
203
+ a_1 = matchValue.fields[0];
204
+ }
205
+ return ArcAssay.fromAssay(a_1);
204
206
  }
205
207
 
206
208
  export function ArcAssay_toJsonString(a) {
207
- return toString(2, Assay_encoder(ConverterOptions_$ctor(), a.ToAssay()));
209
+ return toString(2, Assay_encoder(ConverterOptions_$ctor(), void 0, a.ToAssay()));
208
210
  }
209
211
 
210
212
  export function ArcAssay_toArcJsonString(a) {
@@ -212,22 +214,34 @@ export function ArcAssay_toArcJsonString(a) {
212
214
  }
213
215
 
214
216
  export function ArcAssay_fromArcJsonString(jsonString) {
215
- const matchValue = fromString(uncurry2(ArcAssay_decoder), jsonString);
216
- if (matchValue.tag === 1) {
217
- return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(matchValue.fields[0]);
217
+ try {
218
+ const matchValue = fromString(ArcAssay_decoder, jsonString);
219
+ if (matchValue.tag === 1) {
220
+ throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
221
+ }
222
+ else {
223
+ return matchValue.fields[0];
224
+ }
218
225
  }
219
- else {
220
- return matchValue.fields[0];
226
+ catch (e_1) {
227
+ const arg_1 = e_1.message;
228
+ return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_1);
221
229
  }
222
230
  }
223
231
 
224
232
  export function ARCtrl_ISA_ArcAssay__ArcAssay_fromArcJsonString_Static_Z721C83C5(jsonString) {
225
- const matchValue = fromString(uncurry2(ArcAssay_decoder), jsonString);
226
- if (matchValue.tag === 1) {
227
- return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(matchValue.fields[0]);
233
+ try {
234
+ const matchValue = fromString(ArcAssay_decoder, jsonString);
235
+ if (matchValue.tag === 1) {
236
+ throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
237
+ }
238
+ else {
239
+ return matchValue.fields[0];
240
+ }
228
241
  }
229
- else {
230
- return matchValue.fields[0];
242
+ catch (e_1) {
243
+ const arg_1 = e_1.message;
244
+ return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_1);
231
245
  }
232
246
  }
233
247
 
@@ -240,24 +254,31 @@ export function ARCtrl_ISA_ArcAssay__ArcAssay_toArcJsonString_Static_1C75D08D(a)
240
254
  }
241
255
 
242
256
  export function ARCtrl_ISA_ArcAssay__ArcAssay_fromCompressedJsonString_Static_Z721C83C5(jsonString) {
243
- const matchValue = fromString((path, v) => object_1((get$) => {
257
+ const decoder = object((get$) => {
244
258
  let arg_5, objectArg_2;
245
259
  let stringTable;
246
260
  const objectArg = get$.Required;
247
- stringTable = objectArg.Field("stringTable", uncurry2(StringTable_decoder));
261
+ stringTable = objectArg.Field("stringTable", StringTable_decoder);
248
262
  let oaTable;
249
263
  const arg_3 = OATable_decoder(stringTable);
250
264
  const objectArg_1 = get$.Required;
251
- oaTable = objectArg_1.Field("oaTable", uncurry2(arg_3));
252
- const arg_7 = ArcAssay_compressedDecoder(stringTable, oaTable, (arg_5 = CellTable_decoder(stringTable, oaTable), (objectArg_2 = get$.Required, objectArg_2.Field("cellTable", uncurry2(arg_5)))));
265
+ oaTable = objectArg_1.Field("oaTable", arg_3);
266
+ const arg_7 = ArcAssay_compressedDecoder(stringTable, oaTable, (arg_5 = CellTable_decoder(stringTable, oaTable), (objectArg_2 = get$.Required, objectArg_2.Field("cellTable", arg_5))));
253
267
  const objectArg_3 = get$.Required;
254
- return objectArg_3.Field("assay", uncurry2(arg_7));
255
- }, path, v), jsonString);
256
- if (matchValue.tag === 1) {
257
- return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(matchValue.fields[0]);
268
+ return objectArg_3.Field("assay", arg_7);
269
+ });
270
+ try {
271
+ const matchValue = fromString(decoder, jsonString);
272
+ if (matchValue.tag === 1) {
273
+ throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
274
+ }
275
+ else {
276
+ return matchValue.fields[0];
277
+ }
258
278
  }
259
- else {
260
- return matchValue.fields[0];
279
+ catch (e_1) {
280
+ const arg_9 = e_1.message;
281
+ return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_9);
261
282
  }
262
283
  }
263
284
 
@@ -273,7 +294,7 @@ export function ARCtrl_ISA_ArcAssay__ArcAssay_ToCompressedJsonString_71136F3F(th
273
294
  GetHashCode: safeHash,
274
295
  });
275
296
  const arcAssay = ArcAssay_compressedEncoder(stringTable, oaTable, cellTable, this$);
276
- return toString(spaces_1, object([["cellTable", CellTable_encoder(stringTable, oaTable, CellTable_arrayFromMap(cellTable))], ["oaTable", OATable_encoder(stringTable, OATable_arrayFromMap(oaTable))], ["stringTable", StringTable_encoder(StringTable_arrayFromMap(stringTable))], ["assay", arcAssay]]));
297
+ return toString(spaces_1, new Json(5, [[["cellTable", CellTable_encoder(stringTable, oaTable, CellTable_arrayFromMap(cellTable))], ["oaTable", OATable_encoder(stringTable, OATable_arrayFromMap(oaTable))], ["stringTable", StringTable_encoder(StringTable_arrayFromMap(stringTable))], ["assay", arcAssay]]]));
277
298
  }
278
299
 
279
300
  export function ARCtrl_ISA_ArcAssay__ArcAssay_toCompressedJsonString_Static_1C75D08D(a) {