@nfdi4plants/arctrl 1.1.0 → 2.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/ARC.js +53 -35
  2. package/{Contracts/Contracts.ARCtrl.js → Contract/ARC.js} +4 -2
  3. package/Contract/ArcAssay.js +102 -0
  4. package/Contract/ArcInvestigation.js +78 -0
  5. package/Contract/ArcStudy.js +102 -0
  6. package/Contract/Contract.js +3 -3
  7. package/{Contracts/Contracts.Git.js → Contract/Git.js} +5 -5
  8. package/{ISA/ISA/ArcTypes → Core}/ArcTypes.js +307 -295
  9. package/Core/Comment.js +97 -0
  10. package/{ISA/ISA/JsonTypes → Core}/CommentList.js +12 -18
  11. package/Core/Conversion.js +1056 -0
  12. package/Core/Helper/Collections.js +318 -0
  13. package/Core/Helper/HashCodes.js +39 -0
  14. package/{ISA/ISA → Core/Helper}/Identifier.js +67 -2
  15. package/{ISA/ISA → Core/Helper}/Regex.js +3 -3
  16. package/{SemVer.js → Core/Helper/SemVer.js} +8 -8
  17. package/{ISA/ISA/ArcTypes → Core}/IdentifierSetters.js +1 -1
  18. package/Core/OntologyAnnotation.js +186 -0
  19. package/Core/OntologySourceReference.js +92 -0
  20. package/Core/Person.js +194 -0
  21. package/Core/Process/ColumnIndex.js +248 -0
  22. package/Core/Process/Component.js +188 -0
  23. package/{ISA/ISA/JsonTypes → Core/Process}/Data.js +8 -8
  24. package/{ISA/ISA/JsonTypes → Core/Process}/DataFile.js +3 -3
  25. package/Core/Process/Factor.js +109 -0
  26. package/{ISA/ISA/JsonTypes → Core/Process}/FactorValue.js +32 -13
  27. package/{ISA/ISA/JsonTypes → Core/Process}/Material.js +9 -9
  28. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttribute.js +17 -17
  29. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttributeValue.js +35 -16
  30. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialType.js +3 -3
  31. package/{ISA/ISA/JsonTypes → Core/Process}/Process.js +46 -79
  32. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessInput.js +42 -42
  33. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessOutput.js +36 -36
  34. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessParameterValue.js +26 -7
  35. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessSequence.js +21 -25
  36. package/{ISA/ISA/JsonTypes → Core/Process}/Protocol.js +26 -57
  37. package/{ISA/ISA/JsonTypes → Core/Process}/ProtocolParameter.js +10 -10
  38. package/{ISA/ISA/JsonTypes → Core/Process}/Sample.js +12 -12
  39. package/{ISA/ISA/JsonTypes → Core/Process}/Source.js +9 -9
  40. package/{ISA/ISA/JsonTypes → Core/Process}/Value.js +24 -31
  41. package/Core/Publication.js +116 -0
  42. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTable.js +49 -155
  43. package/Core/Table/ArcTableAux.js +532 -0
  44. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTables.js +20 -32
  45. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeCell.js +19 -76
  46. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeColumn.js +9 -8
  47. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeHeader.js +14 -34
  48. package/{Templates → Core}/Template.js +16 -17
  49. package/Core/Templates.js +84 -0
  50. package/FileSystem/Commit.js +2 -2
  51. package/FileSystem/FileSystem.js +4 -4
  52. package/FileSystem/FileSystemTree.js +46 -8
  53. package/FileSystem/Path.js +10 -2
  54. package/Json/ARC.js +25 -0
  55. package/Json/Assay.js +202 -0
  56. package/Json/Comment.js +130 -0
  57. package/Json/ConverterOptions.js +18 -0
  58. package/Json/Decode.js +128 -0
  59. package/Json/Encode.js +45 -0
  60. package/Json/Investigation.js +220 -0
  61. package/Json/OntologyAnnotation.js +169 -0
  62. package/Json/OntologySourceReference.js +122 -0
  63. package/Json/Person.js +250 -0
  64. package/Json/Process/AssayMaterials.js +22 -0
  65. package/Json/Process/Component.js +79 -0
  66. package/Json/Process/Data.js +102 -0
  67. package/Json/Process/DataFile.js +81 -0
  68. package/Json/Process/Factor.js +48 -0
  69. package/Json/Process/FactorValue.js +53 -0
  70. package/Json/Process/Material.js +107 -0
  71. package/Json/Process/MaterialAttribute.js +45 -0
  72. package/Json/Process/MaterialAttributeValue.js +70 -0
  73. package/Json/Process/MaterialType.js +60 -0
  74. package/Json/Process/Process.js +107 -0
  75. package/Json/Process/ProcessInput.js +59 -0
  76. package/Json/Process/ProcessOutput.js +71 -0
  77. package/Json/Process/ProcessParameterValue.js +69 -0
  78. package/Json/Process/ProcessSequence.js +53 -0
  79. package/Json/Process/PropertyValue.js +82 -0
  80. package/Json/Process/Protocol.js +147 -0
  81. package/Json/Process/ProtocolParameter.js +45 -0
  82. package/Json/Process/Sample.js +134 -0
  83. package/Json/Process/Source.js +101 -0
  84. package/Json/Process/StudyMaterials.js +24 -0
  85. package/Json/Process/Value.js +42 -0
  86. package/Json/Publication.js +142 -0
  87. package/Json/StringTable.js +44 -0
  88. package/Json/Study.js +306 -0
  89. package/Json/Table/ArcTable.js +223 -0
  90. package/Json/Table/CellTable.js +40 -0
  91. package/Json/Table/CompositeCell.js +65 -0
  92. package/Json/Table/CompositeHeader.js +57 -0
  93. package/Json/Table/Compression.js +38 -0
  94. package/Json/Table/IOType.js +37 -0
  95. package/Json/Table/OATable.js +40 -0
  96. package/Json/Table/Templates.js +107 -0
  97. package/Json/context/rocrate/isa_assay_context.js +32 -0
  98. package/Json/context/rocrate/isa_comment_context.js +23 -0
  99. package/Json/context/rocrate/isa_component_context.js +24 -0
  100. package/Json/context/rocrate/isa_data_context.js +25 -0
  101. package/Json/context/rocrate/isa_factor_context.js +25 -0
  102. package/Json/context/rocrate/isa_factor_value_context.js +23 -0
  103. package/Json/context/rocrate/isa_investigation_context.js +33 -0
  104. package/Json/context/rocrate/isa_material_attribute_context.js +23 -0
  105. package/Json/context/rocrate/isa_material_attribute_value_context.js +23 -0
  106. package/Json/context/rocrate/isa_material_context.js +26 -0
  107. package/Json/context/rocrate/isa_ontology_annotation_context.js +23 -0
  108. package/Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
  109. package/Json/context/rocrate/isa_organization_context.js +22 -0
  110. package/Json/context/rocrate/isa_person_context.js +33 -0
  111. package/Json/context/rocrate/isa_process_context.js +29 -0
  112. package/Json/context/rocrate/isa_process_parameter_value_context.js +23 -0
  113. package/Json/context/rocrate/isa_protocol_context.js +28 -0
  114. package/Json/context/rocrate/isa_protocol_parameter_context.js +23 -0
  115. package/Json/context/rocrate/isa_publication_context.js +25 -0
  116. package/Json/context/rocrate/isa_sample_context.js +24 -0
  117. package/Json/context/rocrate/isa_source_context.js +25 -0
  118. package/Json/context/rocrate/isa_study_context.js +40 -0
  119. package/Json/context/rocrate/property_value_context.js +4 -0
  120. package/Json/context/rocrate/rocrate_context.js +23 -0
  121. package/Json.js +193 -0
  122. package/README.md +50 -12
  123. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/ArcTable.js +12 -12
  124. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeCell.js +8 -7
  125. package/Spreadsheet/AnnotationTable/CompositeColumn.js +59 -0
  126. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeHeader.js +10 -10
  127. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcAssay.js +11 -11
  128. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcInvestigation.js +34 -37
  129. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcStudy.js +12 -12
  130. package/{ISA/ISA.Spreadsheet → Spreadsheet}/CollectionAux.js +8 -8
  131. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Assays.js +32 -32
  132. package/Spreadsheet/Metadata/Comment.js +71 -0
  133. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Contacts.js +28 -30
  134. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Conversions.js +22 -16
  135. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/DesignDescriptors.js +1 -1
  136. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Factors.js +23 -22
  137. package/Spreadsheet/Metadata/OntologyAnnotation.js +64 -0
  138. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/OntologySourceReference.js +22 -24
  139. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Protocols.js +17 -17
  140. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Publication.js +29 -31
  141. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/SparseTable.js +34 -28
  142. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Study.js +38 -40
  143. package/{Templates/Template.Spreadsheet.js → Spreadsheet/Template.js} +31 -31
  144. package/Template.Web.js +27 -0
  145. package/WebRequest/WebRequest.Node.js +15 -0
  146. package/WebRequest/WebRequest.js +10 -29
  147. package/Xlsx.js +85 -0
  148. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
  149. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
  150. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  151. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  152. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js +14 -14
  153. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
  154. package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
  155. package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
  156. package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
  157. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
  158. package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
  159. package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
  160. package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
  161. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
  162. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
  163. package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
  164. package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
  165. package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
  166. package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
  167. package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
  168. package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
  169. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
  170. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +4 -3
  171. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
  172. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
  173. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
  174. package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
  175. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
  176. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
  177. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
  178. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
  179. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
  180. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
  181. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
  182. package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
  183. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
  184. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
  185. package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  186. 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
  187. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
  188. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
  189. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
  190. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
  191. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
  192. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  193. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
  194. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  195. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
  196. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Array.d.ts +4 -1
  197. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Array.js +124 -86
  198. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Boolean.js +2 -2
  199. package/fable_modules/fable-library-js.4.16.0/CHANGELOG.md +47 -0
  200. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Choice.d.ts +0 -17
  201. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Choice.js +0 -43
  202. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.d.ts +9 -0
  203. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.js +21 -0
  204. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Date.js +340 -42
  205. package/fable_modules/fable-library-js.4.16.0/FSharp.Core.CompilerServices.d.ts +12 -0
  206. package/fable_modules/fable-library-js.4.16.0/FSharp.Core.CompilerServices.js +27 -0
  207. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/List.js +3 -3
  208. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Map.js +3 -3
  209. package/fable_modules/fable-library-js.4.16.0/MapUtil.d.ts +12 -0
  210. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MapUtil.js +15 -0
  211. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MutableMap.js +2 -1
  212. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MutableSet.js +2 -1
  213. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Random.js +7 -7
  214. package/fable_modules/fable-library-js.4.16.0/Result.d.ts +37 -0
  215. package/fable_modules/fable-library-js.4.16.0/Result.js +165 -0
  216. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Set.js +2 -2
  217. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/String.d.ts +1 -0
  218. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/String.js +8 -5
  219. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/System.Collections.Generic.d.ts +15 -7
  220. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/System.Collections.Generic.js +46 -36
  221. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/System.Text.d.ts +9 -1
  222. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/System.Text.js +60 -8
  223. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Util.d.ts +6 -3
  224. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Util.js +2 -13
  225. package/fable_modules/fable-library-js.4.16.0/big.d.ts +338 -0
  226. package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/package.json +4 -3
  227. package/fable_modules/project_cracked.json +1 -1
  228. package/index.js +14 -12
  229. package/package.json +1 -1
  230. package/Contracts/Contracts.ArcTypes.js +0 -268
  231. package/FileSystemTree.js +0 -51
  232. package/ISA/ISA/ArcTypes/ArcTableAux.js +0 -1155
  233. package/ISA/ISA/ArcTypes/CompositeRow.js +0 -111
  234. package/ISA/ISA/Builder/Types.js +0 -243
  235. package/ISA/ISA/Fable.js +0 -123
  236. package/ISA/ISA/Helper.js +0 -503
  237. package/ISA/ISA/JsonTypes/Assay.js +0 -620
  238. package/ISA/ISA/JsonTypes/AssayMaterials.js +0 -39
  239. package/ISA/ISA/JsonTypes/ColumnIndex.js +0 -246
  240. package/ISA/ISA/JsonTypes/Comment.js +0 -58
  241. package/ISA/ISA/JsonTypes/Component.js +0 -165
  242. package/ISA/ISA/JsonTypes/Factor.js +0 -128
  243. package/ISA/ISA/JsonTypes/Investigation.js +0 -204
  244. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +0 -196
  245. package/ISA/ISA/JsonTypes/OntologySourceReference.js +0 -85
  246. package/ISA/ISA/JsonTypes/Person.js +0 -137
  247. package/ISA/ISA/JsonTypes/Publication.js +0 -105
  248. package/ISA/ISA/JsonTypes/Study.js +0 -942
  249. package/ISA/ISA/JsonTypes/StudyMaterials.js +0 -45
  250. package/ISA/ISA/UIHelper.js +0 -19
  251. package/ISA/ISA.Json/ArcTypes/ArcAssay.js +0 -282
  252. package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +0 -93
  253. package/ISA/ISA.Json/ArcTypes/ArcStudy.js +0 -170
  254. package/ISA/ISA.Json/ArcTypes/ArcTable.js +0 -178
  255. package/ISA/ISA.Json/ArcTypes/CellTable.js +0 -46
  256. package/ISA/ISA.Json/ArcTypes/CompositeCell.js +0 -77
  257. package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +0 -82
  258. package/ISA/ISA.Json/ArcTypes/IOType.js +0 -35
  259. package/ISA/ISA.Json/ArcTypes/OATable.js +0 -48
  260. package/ISA/ISA.Json/Assay.js +0 -105
  261. package/ISA/ISA.Json/Comment.js +0 -84
  262. package/ISA/ISA.Json/ConverterOptions.js +0 -33
  263. package/ISA/ISA.Json/Data.js +0 -271
  264. package/ISA/ISA.Json/Decode.js +0 -46
  265. package/ISA/ISA.Json/Factor.js +0 -194
  266. package/ISA/ISA.Json/GEncode.js +0 -15
  267. package/ISA/ISA.Json/Investigation.js +0 -114
  268. package/ISA/ISA.Json/Material.js +0 -233
  269. package/ISA/ISA.Json/Ontology.js +0 -223
  270. package/ISA/ISA.Json/Person.js +0 -204
  271. package/ISA/ISA.Json/Process.js +0 -291
  272. package/ISA/ISA.Json/Protocol.js +0 -242
  273. package/ISA/ISA.Json/Publication.js +0 -92
  274. package/ISA/ISA.Json/StringTable.js +0 -43
  275. package/ISA/ISA.Json/Study.js +0 -212
  276. package/ISA/ISA.Json/Validation/Fable.js +0 -69
  277. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
  278. package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
  279. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +0 -59
  280. package/ISA/ISA.Spreadsheet/Metadata/Comment.js +0 -60
  281. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +0 -65
  282. package/Path.js +0 -10
  283. package/Templates/Template.Json.js +0 -83
  284. package/Templates/Template.Web.js +0 -27
  285. package/Templates/Templates.js +0 -82
  286. package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
  287. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
  288. package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
  289. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
  290. package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
  291. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
  292. package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
  293. package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
  294. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
  295. package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
  296. package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
  297. package/fable_modules/fable-library.4.5.0/MapUtil.d.ts +0 -10
  298. /package/{ISA/ISA/JsonTypes → Core}/URI.js +0 -0
  299. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Async.d.ts +0 -0
  300. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Async.js +0 -0
  301. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/AsyncBuilder.d.ts +0 -0
  302. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/AsyncBuilder.js +0 -0
  303. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/BigInt.d.ts +0 -0
  304. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/BigInt.js +0 -0
  305. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/BitConverter.d.ts +0 -0
  306. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/BitConverter.js +0 -0
  307. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Boolean.d.ts +0 -0
  308. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Char.d.ts +0 -0
  309. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Char.js +0 -0
  310. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Date.d.ts +0 -0
  311. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/DateOffset.d.ts +0 -0
  312. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/DateOffset.js +0 -0
  313. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/DateOnly.d.ts +0 -0
  314. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/DateOnly.js +0 -0
  315. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Decimal.d.ts +0 -0
  316. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Decimal.js +0 -0
  317. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Double.d.ts +0 -0
  318. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Double.js +0 -0
  319. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Encoding.d.ts +0 -0
  320. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Encoding.js +0 -0
  321. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Event.d.ts +0 -0
  322. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Event.js +0 -0
  323. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/FSharp.Collections.d.ts +0 -0
  324. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/FSharp.Collections.js +0 -0
  325. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/FSharp.Core.d.ts +0 -0
  326. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/FSharp.Core.js +0 -0
  327. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Global.d.ts +0 -0
  328. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Global.js +0 -0
  329. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Guid.d.ts +0 -0
  330. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Guid.js +0 -0
  331. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Int32.d.ts +0 -0
  332. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Int32.js +0 -0
  333. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/List.d.ts +0 -0
  334. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Long.d.ts +0 -0
  335. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Long.js +0 -0
  336. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MailboxProcessor.d.ts +0 -0
  337. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MailboxProcessor.js +0 -0
  338. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Map.d.ts +0 -0
  339. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MutableMap.d.ts +0 -0
  340. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/MutableSet.d.ts +0 -0
  341. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Native.d.ts +0 -0
  342. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Native.js +0 -0
  343. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Numeric.d.ts +0 -0
  344. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Numeric.js +0 -0
  345. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Observable.d.ts +0 -0
  346. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Observable.js +0 -0
  347. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Option.d.ts +0 -0
  348. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Option.js +0 -0
  349. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/README.md +0 -0
  350. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Random.d.ts +0 -0
  351. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Range.d.ts +0 -0
  352. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Range.js +0 -0
  353. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Reflection.d.ts +0 -0
  354. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Reflection.js +0 -0
  355. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/RegExp.d.ts +0 -0
  356. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/RegExp.js +0 -0
  357. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Seq.d.ts +0 -0
  358. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Seq.js +0 -0
  359. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Seq2.d.ts +0 -0
  360. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Seq2.js +0 -0
  361. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Set.d.ts +0 -0
  362. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/SystemException.d.ts +0 -0
  363. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/SystemException.js +0 -0
  364. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/TimeOnly.d.ts +0 -0
  365. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/TimeOnly.js +0 -0
  366. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/TimeSpan.d.ts +0 -0
  367. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/TimeSpan.js +0 -0
  368. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Timer.d.ts +0 -0
  369. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Timer.js +0 -0
  370. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Types.d.ts +0 -0
  371. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Types.js +0 -0
  372. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Unicode.13.0.0.d.ts +0 -0
  373. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Unicode.13.0.0.js +0 -0
  374. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Uri.d.ts +0 -0
  375. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/Uri.js +0 -0
  376. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/lib/big.d.ts +0 -0
  377. /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.16.0}/lib/big.js +0 -0
@@ -1,178 +0,0 @@
1
- import { toString, tuple2, map as map_1, list, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
2
- import { iterate, toArray, collect, empty, map, singleton, append, delay, toList } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
3
- import { CompositeHeader_decoder, CompositeHeader_encoder } from "./CompositeHeader.js";
4
- import { CompositeCell_decoder, CompositeCell_encoder } from "./CompositeCell.js";
5
- import { empty as empty_2, ofSeq } from "../../../fable_modules/fable-library.4.5.0/Map.js";
6
- import { safeHash, equals, arrayHash, equalArrays, uncurry2, compareArrays } from "../../../fable_modules/fable-library.4.5.0/Util.js";
7
- import { fromString, value as value_5, array as array_1, string, int, tuple2 as tuple2_1, map$0027, list as list_1, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
8
- import { toArray as toArray_1, defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
9
- import { empty as empty_1 } from "../../../fable_modules/fable-library.4.5.0/List.js";
10
- import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
11
- import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
12
- import { CellTable_arrayFromMap, CellTable_encoder, CellTable_decoder, CellTable_decodeCell, CellTable_encodeCell } from "./CellTable.js";
13
- import { addToDict, getItemFromDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
14
- import { rangeDouble } from "../../../fable_modules/fable-library.4.5.0/Range.js";
15
- import { iterateIndexed } from "../../../fable_modules/fable-library.4.5.0/Array.js";
16
- import { StringTable_arrayFromMap, StringTable_encoder, StringTable_decoder, StringTable_decodeString, StringTable_encodeString } from "../StringTable.js";
17
- import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
18
- import { OATable_arrayFromMap, OATable_encoder, OATable_decoder } from "./OATable.js";
19
-
20
- export function ArcTable_encoder(table) {
21
- return object(toList(delay(() => append(singleton(["name", table.Name]), delay(() => append((table.Headers.length !== 0) ? singleton(["header", list(toList(delay(() => map(CompositeHeader_encoder, table.Headers))))]) : empty(), delay(() => ((table.Values.size !== 0) ? singleton(["values", map_1((tupledArg) => tuple2((value) => value, (value_2) => value_2, tupledArg[0], tupledArg[1]), CompositeCell_encoder, ofSeq(toList(delay(() => collect((matchValue) => {
22
- const activePatternResult = matchValue;
23
- return singleton([activePatternResult[0], activePatternResult[1]]);
24
- }, table.Values))), {
25
- Compare: compareArrays,
26
- }))]) : empty()))))))));
27
- }
28
-
29
- export const ArcTable_decoder = (path_2) => ((v) => object_1((get$) => {
30
- let objectArg, arg_5, objectArg_1, objectArg_2;
31
- let decodedHeader;
32
- const collection = defaultArg((objectArg = get$.Optional, objectArg.Field("header", (path, value) => list_1(uncurry2(CompositeHeader_decoder), path, value))), empty_1());
33
- decodedHeader = Array.from(collection);
34
- const decodedValues = new Dictionary(defaultArg((arg_5 = map$0027(uncurry2(tuple2_1(uncurry2(int), uncurry2(int))), uncurry2((arg_2) => {
35
- const clo = CompositeCell_decoder(arg_2);
36
- return clo;
37
- })), (objectArg_1 = get$.Optional, objectArg_1.Field("values", uncurry2(arg_5)))), empty_2({
38
- Compare: compareArrays,
39
- })), {
40
- Equals: equalArrays,
41
- GetHashCode: arrayHash,
42
- });
43
- return ArcTable.create((objectArg_2 = get$.Required, objectArg_2.Field("name", string)), decodedHeader, decodedValues);
44
- }, path_2, v));
45
-
46
- export function ArcTable_compressedColumnEncoder(columnIndex, rowCount, cellTable, table) {
47
- if (table.Headers[columnIndex].IsIOType ? true : (rowCount < 100)) {
48
- return toArray(delay(() => map((r) => CellTable_encodeCell(cellTable, getItemFromDict(table.Values, [columnIndex, r])), rangeDouble(0, 1, rowCount - 1))));
49
- }
50
- else {
51
- let current = getItemFromDict(table.Values, [columnIndex, 0]);
52
- let from = 0;
53
- return toArray(delay(() => append(collect((i) => {
54
- const next = getItemFromDict(table.Values, [columnIndex, i]);
55
- return !equals(next, current) ? append(singleton(object([["f", from], ["t", i - 1], ["v", CellTable_encodeCell(cellTable, current)]])), delay(() => {
56
- current = next;
57
- from = (i | 0);
58
- return empty();
59
- })) : empty();
60
- }, rangeDouble(1, 1, rowCount - 1)), delay(() => singleton(object([["f", from], ["t", rowCount - 1], ["v", CellTable_encodeCell(cellTable, current)]]))))));
61
- }
62
- }
63
-
64
- export function ArcTable_compressedColumnDecoder(columnIndex, cellTable, table, column) {
65
- const matchValue = array_1((s, o) => CellTable_decodeCell(cellTable, s, o), "", column);
66
- if (matchValue.tag === 1) {
67
- array_1((s_1, jv) => object_1((get$) => {
68
- let from;
69
- const objectArg = get$.Required;
70
- from = objectArg.Field("f", uncurry2(int));
71
- let to_;
72
- const objectArg_1 = get$.Required;
73
- to_ = objectArg_1.Field("t", uncurry2(int));
74
- let value;
75
- const objectArg_2 = get$.Required;
76
- value = objectArg_2.Field("v", (s_2, o_1) => CellTable_decodeCell(cellTable, s_2, o_1));
77
- for (let i = from; i <= to_; i++) {
78
- addToDict(table.Values, [columnIndex, i], value);
79
- }
80
- }, s_1, jv), "", column);
81
- }
82
- else {
83
- iterateIndexed((r, cell) => {
84
- addToDict(table.Values, [columnIndex, r], cell);
85
- }, matchValue.fields[0]);
86
- }
87
- }
88
-
89
- export function ArcTable_compressedEncoder(stringTable, oaTable, cellTable, table) {
90
- return object(toList(delay(() => append(singleton(["n", StringTable_encodeString(stringTable, table.Name)]), delay(() => append((table.Headers.length !== 0) ? singleton(["h", list(toList(delay(() => map(CompositeHeader_encoder, table.Headers))))]) : empty(), delay(() => {
91
- if (table.Values.size !== 0) {
92
- const rowCount = table.RowCount | 0;
93
- return singleton(["c", toArray(delay(() => map((c) => ArcTable_compressedColumnEncoder(c, rowCount, cellTable, table), rangeDouble(0, 1, table.ColumnCount - 1))))]);
94
- }
95
- else {
96
- return empty();
97
- }
98
- })))))));
99
- }
100
-
101
- export function ArcTable_compressedDecoder(stringTable, oaTable, cellTable) {
102
- return (path_2) => ((v_1) => object_1((get$) => {
103
- let objectArg, objectArg_1, objectArg_2;
104
- let decodedHeader;
105
- const collection = defaultArg((objectArg = get$.Optional, objectArg.Field("h", (path, value) => list_1(uncurry2(CompositeHeader_decoder), path, value))), empty_1());
106
- decodedHeader = Array.from(collection);
107
- const table = ArcTable.create((objectArg_1 = get$.Required, objectArg_1.Field("n", (s, o) => StringTable_decodeString(stringTable, s, o))), decodedHeader, new Dictionary([], {
108
- Equals: equalArrays,
109
- GetHashCode: arrayHash,
110
- }));
111
- iterate((array) => {
112
- iterateIndexed((c, col) => {
113
- ArcTable_compressedColumnDecoder(c, cellTable, table, col);
114
- }, array);
115
- }, toArray_1((objectArg_2 = get$.Optional, objectArg_2.Field("c", (path_1, value_2) => array_1(value_5, path_1, value_2)))));
116
- return table;
117
- }, path_2, v_1));
118
- }
119
-
120
- export function ARCtrl_ISA_ArcTable__ArcTable_fromJsonString_Static_Z721C83C5(jsonString) {
121
- const matchValue = fromString(uncurry2(ArcTable_decoder), jsonString);
122
- if (matchValue.tag === 1) {
123
- return toFail(printf("Error. Unable to parse json string to ArcTable: %s"))(matchValue.fields[0]);
124
- }
125
- else {
126
- return matchValue.fields[0];
127
- }
128
- }
129
-
130
- export function ARCtrl_ISA_ArcTable__ArcTable_ToJsonString_71136F3F(this$, spaces) {
131
- return toString(defaultArg(spaces, 0), ArcTable_encoder(this$));
132
- }
133
-
134
- export function ARCtrl_ISA_ArcTable__ArcTable_toJsonString_Static_1B2566EA(a) {
135
- return ARCtrl_ISA_ArcTable__ArcTable_ToJsonString_71136F3F(a);
136
- }
137
-
138
- export function ARCtrl_ISA_ArcTable__ArcTable_fromCompressedJsonString_Static_Z721C83C5(jsonString) {
139
- const matchValue = fromString((path, v) => object_1((get$) => {
140
- let arg_5, objectArg_2;
141
- let stringTable;
142
- const objectArg = get$.Required;
143
- stringTable = objectArg.Field("stringTable", uncurry2(StringTable_decoder));
144
- let oaTable;
145
- const arg_3 = OATable_decoder(stringTable);
146
- const objectArg_1 = get$.Required;
147
- oaTable = objectArg_1.Field("oaTable", uncurry2(arg_3));
148
- const arg_7 = ArcTable_compressedDecoder(stringTable, oaTable, (arg_5 = CellTable_decoder(stringTable, oaTable), (objectArg_2 = get$.Required, objectArg_2.Field("cellTable", uncurry2(arg_5)))));
149
- const objectArg_3 = get$.Required;
150
- return objectArg_3.Field("table", uncurry2(arg_7));
151
- }, path, v), jsonString);
152
- if (matchValue.tag === 1) {
153
- return toFail(printf("Error. Unable to parse json string to ArcTable: %s"))(matchValue.fields[0]);
154
- }
155
- else {
156
- return matchValue.fields[0];
157
- }
158
- }
159
-
160
- export function ARCtrl_ISA_ArcTable__ArcTable_ToCompressedJsonString_71136F3F(this$, spaces) {
161
- const spaces_1 = defaultArg(spaces, 0) | 0;
162
- const stringTable = new Map([]);
163
- const oaTable = new Dictionary([], {
164
- Equals: equals,
165
- GetHashCode: safeHash,
166
- });
167
- const cellTable = new Dictionary([], {
168
- Equals: equals,
169
- GetHashCode: safeHash,
170
- });
171
- const arcTable = ArcTable_compressedEncoder(stringTable, oaTable, cellTable, this$);
172
- 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))], ["table", arcTable]]));
173
- }
174
-
175
- export function ARCtrl_ISA_ArcTable__ArcTable_toCompressedJsonString_Static_1B2566EA(a) {
176
- return ARCtrl_ISA_ArcTable__ArcTable_ToCompressedJsonString_71136F3F(a);
177
- }
178
-
@@ -1,46 +0,0 @@
1
- import { sortBy, map, toArray } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
2
- import { uncurry2, comparePrimitives } from "../../../fable_modules/fable-library.4.5.0/Util.js";
3
- import { map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Array.js";
4
- import { CompositeCell_compressedDecoder, CompositeCell_compressedEncoder } from "./CompositeCell.js";
5
- import { int, array as array_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
6
- import { Dict_tryFind } from "../../ISA/Helper.js";
7
- import { addToDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
8
- import { FSharpResult$2 } from "../../../fable_modules/fable-library.4.5.0/Choice.js";
9
-
10
- export function CellTable_arrayFromMap(otm) {
11
- return toArray(map((kv_1) => kv_1[0], sortBy((kv) => kv[1], otm, {
12
- Compare: comparePrimitives,
13
- })));
14
- }
15
-
16
- export function CellTable_encoder(stringTable, oaTable, ot) {
17
- return map_1((cc) => CompositeCell_compressedEncoder(stringTable, oaTable, cc), ot);
18
- }
19
-
20
- export function CellTable_decoder(stringTable, oaTable) {
21
- const decoder = CompositeCell_compressedDecoder(stringTable, oaTable);
22
- return (path) => ((value) => array_1(uncurry2(decoder), path, value));
23
- }
24
-
25
- export function CellTable_encodeCell(otm, cc) {
26
- const matchValue = Dict_tryFind(cc, otm);
27
- if (matchValue == null) {
28
- const i_1 = otm.size | 0;
29
- addToDict(otm, cc, i_1);
30
- return i_1;
31
- }
32
- else {
33
- return matchValue;
34
- }
35
- }
36
-
37
- export function CellTable_decodeCell(ot, s, o) {
38
- const matchValue = int(s)(o);
39
- if (matchValue.tag === 1) {
40
- return new FSharpResult$2(1, [matchValue.fields[0]]);
41
- }
42
- else {
43
- return new FSharpResult$2(0, [ot[matchValue.fields[0]]]);
44
- }
45
- }
46
-
@@ -1,77 +0,0 @@
1
- import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../Ontology.js";
2
- import { ConverterOptions_$ctor } from "../ConverterOptions.js";
3
- import { ofArray, singleton } from "../../../fable_modules/fable-library.4.5.0/List.js";
4
- import { toString, list, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
5
- import { fromString, index, string, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
6
- import { CompositeCell } from "../../ISA/ArcTypes/CompositeCell.js";
7
- import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
8
- import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
9
- import { OATable_decodeOA, OATable_encodeOA } from "./OATable.js";
10
- import { StringTable_decodeString, StringTable_encodeString } from "../StringTable.js";
11
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
12
-
13
- export function CompositeCell_encoder(cc) {
14
- const oaToJsonString = (oa) => OntologyAnnotation_encoder(ConverterOptions_$ctor(), oa);
15
- const patternInput = (cc.tag === 0) ? ["Term", singleton(oaToJsonString(cc.fields[0]))] : ((cc.tag === 2) ? ["Unitized", ofArray([cc.fields[0], oaToJsonString(cc.fields[1])])] : ["FreeText", singleton(cc.fields[0])]);
16
- return object([["celltype", patternInput[0]], ["values", list(patternInput[1])]]);
17
- }
18
-
19
- export const CompositeCell_decoder = (path_7) => ((v_1) => object_1((get$) => {
20
- let objectArg_1, arg_5, decoder_1, objectArg_2, objectArg_3, arg_9, decoder_3, objectArg_4;
21
- let matchValue;
22
- const objectArg = get$.Required;
23
- matchValue = objectArg.Field("celltype", string);
24
- switch (matchValue) {
25
- case "FreeText":
26
- return new CompositeCell(1, [(objectArg_1 = get$.Required, objectArg_1.Field("values", (path_2, value_2) => index(0, string, path_2, value_2)))]);
27
- case "Term":
28
- return new CompositeCell(0, [(arg_5 = ((decoder_1 = OntologyAnnotation_decoder(ConverterOptions_$ctor()), (path_3) => ((value_3) => index(0, uncurry2(decoder_1), path_3, value_3)))), (objectArg_2 = get$.Required, objectArg_2.Field("values", uncurry2(arg_5))))]);
29
- case "Unitized":
30
- return new CompositeCell(2, [(objectArg_3 = get$.Required, objectArg_3.Field("values", (path_4, value_4) => index(0, string, path_4, value_4))), (arg_9 = ((decoder_3 = OntologyAnnotation_decoder(ConverterOptions_$ctor()), (path_6) => ((value_6) => index(1, uncurry2(decoder_3), path_6, value_6)))), (objectArg_4 = get$.Required, objectArg_4.Field("values", uncurry2(arg_9))))]);
31
- default:
32
- return toFail(printf("Error reading CompositeCell from json string: %A"))(matchValue);
33
- }
34
- }, path_7, v_1));
35
-
36
- export function CompositeCell_compressedEncoder(stringTable, oaTable, cc) {
37
- const patternInput = (cc.tag === 0) ? ["Term", singleton(OATable_encodeOA(oaTable, cc.fields[0]))] : ((cc.tag === 2) ? ["Unitized", ofArray([StringTable_encodeString(stringTable, cc.fields[0]), OATable_encodeOA(oaTable, cc.fields[1])])] : ["FreeText", singleton(StringTable_encodeString(stringTable, cc.fields[0]))]);
38
- return object([["t", StringTable_encodeString(stringTable, patternInput[0])], ["v", list(patternInput[1])]]);
39
- }
40
-
41
- export function CompositeCell_compressedDecoder(stringTable, oaTable) {
42
- return (path_4) => ((v_1) => object_1((get$) => {
43
- let objectArg_1, objectArg_2, objectArg_3, objectArg_4;
44
- let matchValue;
45
- const objectArg = get$.Required;
46
- matchValue = objectArg.Field("t", (s, o) => StringTable_decodeString(stringTable, s, o));
47
- switch (matchValue) {
48
- case "FreeText":
49
- return new CompositeCell(1, [(objectArg_1 = get$.Required, objectArg_1.Field("v", (path, value) => index(0, (s_1, o_1) => StringTable_decodeString(stringTable, s_1, o_1), path, value)))]);
50
- case "Term":
51
- return new CompositeCell(0, [(objectArg_2 = get$.Required, objectArg_2.Field("v", (path_1, value_1) => index(0, (s_3, o_2) => OATable_decodeOA(oaTable, s_3, o_2), path_1, value_1)))]);
52
- case "Unitized":
53
- return new CompositeCell(2, [(objectArg_3 = get$.Required, objectArg_3.Field("v", (path_2, value_2) => index(0, (s_4, o_3) => StringTable_decodeString(stringTable, s_4, o_3), path_2, value_2))), (objectArg_4 = get$.Required, objectArg_4.Field("v", (path_3, value_3) => index(1, (s_5, o_4) => OATable_decodeOA(oaTable, s_5, o_4), path_3, value_3)))]);
54
- default:
55
- return toFail(printf("Error reading CompositeCell from json string: %A"))(matchValue);
56
- }
57
- }, path_4, v_1));
58
- }
59
-
60
- export function ARCtrl_ISA_CompositeCell__CompositeCell_fromJsonString_Static_Z721C83C5(jsonString) {
61
- const matchValue = fromString(uncurry2(CompositeCell_decoder), jsonString);
62
- if (matchValue.tag === 1) {
63
- return toFail(printf("Error. Unable to parse json string to CompositeCell: %s"))(matchValue.fields[0]);
64
- }
65
- else {
66
- return matchValue.fields[0];
67
- }
68
- }
69
-
70
- export function ARCtrl_ISA_CompositeCell__CompositeCell_ToJsonString_71136F3F(this$, spaces) {
71
- return toString(defaultArg(spaces, 0), CompositeCell_encoder(this$));
72
- }
73
-
74
- export function ARCtrl_ISA_CompositeCell__CompositeCell_toJsonString_Static_1B703D57(a) {
75
- return ARCtrl_ISA_CompositeCell__CompositeCell_ToJsonString_71136F3F(a);
76
- }
77
-
@@ -1,82 +0,0 @@
1
- import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../Ontology.js";
2
- import { ConverterOptions_$ctor } from "../ConverterOptions.js";
3
- import { empty, singleton } from "../../../fable_modules/fable-library.4.5.0/List.js";
4
- import { IOType_decoder, IOType_encoder } from "./IOType.js";
5
- import { toString, list, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
6
- import { fromString, index, string, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
7
- import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
8
- import { CompositeHeader } from "../../ISA/ArcTypes/CompositeHeader.js";
9
- import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
10
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
11
-
12
- export function CompositeHeader_encoder(ch) {
13
- const oaToJsonString = (oa) => OntologyAnnotation_encoder(ConverterOptions_$ctor(), oa);
14
- const patternInput = (ch.tag === 3) ? ["Parameter", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 2) ? ["Factor", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 1) ? ["Characteristic", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 0) ? ["Component", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 4) ? ["ProtocolType", empty()] : ((ch.tag === 8) ? ["ProtocolREF", empty()] : ((ch.tag === 5) ? ["ProtocolDescription", empty()] : ((ch.tag === 6) ? ["ProtocolUri", empty()] : ((ch.tag === 7) ? ["ProtocolVersion", empty()] : ((ch.tag === 9) ? ["Performer", empty()] : ((ch.tag === 10) ? ["Date", empty()] : ((ch.tag === 11) ? ["Input", singleton(IOType_encoder(ch.fields[0]))] : ((ch.tag === 12) ? ["Output", singleton(IOType_encoder(ch.fields[0]))] : [ch.fields[0], empty()]))))))))))));
15
- return object([["headertype", patternInput[0]], ["values", list(patternInput[1])]]);
16
- }
17
-
18
- export const CompositeHeader_decoder = (path_3) => ((v) => object_1((get$) => {
19
- let headerType;
20
- const objectArg = get$.Required;
21
- headerType = objectArg.Field("headertype", string);
22
- const oa = () => {
23
- let arg_3;
24
- const decoder = OntologyAnnotation_decoder(ConverterOptions_$ctor());
25
- arg_3 = ((path_1) => ((value_1) => index(0, uncurry2(decoder), path_1, value_1)));
26
- const objectArg_1 = get$.Required;
27
- return objectArg_1.Field("values", uncurry2(arg_3));
28
- };
29
- const io = () => {
30
- const objectArg_2 = get$.Required;
31
- return objectArg_2.Field("values", (path_2, value_2) => index(0, uncurry2(IOType_decoder), path_2, value_2));
32
- };
33
- switch (headerType) {
34
- case "Characteristic":
35
- return new CompositeHeader(1, [oa()]);
36
- case "Parameter":
37
- return new CompositeHeader(3, [oa()]);
38
- case "Component":
39
- return new CompositeHeader(0, [oa()]);
40
- case "Factor":
41
- return new CompositeHeader(2, [oa()]);
42
- case "Input":
43
- return new CompositeHeader(11, [io()]);
44
- case "Output":
45
- return new CompositeHeader(12, [io()]);
46
- case "ProtocolType":
47
- return new CompositeHeader(4, []);
48
- case "ProtocolREF":
49
- return new CompositeHeader(8, []);
50
- case "ProtocolDescription":
51
- return new CompositeHeader(5, []);
52
- case "ProtocolUri":
53
- return new CompositeHeader(6, []);
54
- case "ProtocolVersion":
55
- return new CompositeHeader(7, []);
56
- case "Performer":
57
- return new CompositeHeader(9, []);
58
- case "Date":
59
- return new CompositeHeader(10, []);
60
- default:
61
- return new CompositeHeader(13, [headerType]);
62
- }
63
- }, path_3, v));
64
-
65
- export function ARCtrl_ISA_CompositeHeader__CompositeHeader_fromJsonString_Static_Z721C83C5(jsonString) {
66
- const matchValue = fromString(uncurry2(CompositeHeader_decoder), jsonString);
67
- if (matchValue.tag === 1) {
68
- return toFail(printf("Error. Unable to parse json string to CompositeHeader: %s"))(matchValue.fields[0]);
69
- }
70
- else {
71
- return matchValue.fields[0];
72
- }
73
- }
74
-
75
- export function ARCtrl_ISA_CompositeHeader__CompositeHeader_ToJsonString_71136F3F(this$, spaces) {
76
- return toString(defaultArg(spaces, 0), CompositeHeader_encoder(this$));
77
- }
78
-
79
- export function ARCtrl_ISA_CompositeHeader__CompositeHeader_toJsonString_Static_Z331CE692(a) {
80
- return ARCtrl_ISA_CompositeHeader__CompositeHeader_ToJsonString_71136F3F(a);
81
- }
82
-
@@ -1,35 +0,0 @@
1
- import { toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
2
- import { fromString, 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";
4
- import { IOType } from "../../ISA/ArcTypes/CompositeHeader.js";
5
- import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
6
- import { toString as toString_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
7
- import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
8
-
9
- export function IOType_encoder(io) {
10
- return toString(io);
11
- }
12
-
13
- export const IOType_decoder = (path_1) => ((value_1) => andThen(uncurry3((s) => {
14
- const output = IOType.ofString(s);
15
- return (arg10$0040) => ((arg20$0040) => succeed(output, arg10$0040, arg20$0040));
16
- }), string, path_1, value_1));
17
-
18
- export function ARCtrl_ISA_IOType__IOType_fromJsonString_Static_Z721C83C5(jsonString) {
19
- const matchValue = fromString(uncurry2(IOType_decoder), jsonString);
20
- if (matchValue.tag === 1) {
21
- return toFail(printf("Error. Unable to parse json string to IOType: %s"))(matchValue.fields[0]);
22
- }
23
- else {
24
- return matchValue.fields[0];
25
- }
26
- }
27
-
28
- export function ARCtrl_ISA_IOType__IOType_ToJsonString_71136F3F(this$, spaces) {
29
- return toString_1(defaultArg(spaces, 0), IOType_encoder(this$));
30
- }
31
-
32
- export function ARCtrl_ISA_IOType__IOType_toJsonString_Static_Z359DBB26(a) {
33
- return ARCtrl_ISA_IOType__IOType_ToJsonString_71136F3F(a);
34
- }
35
-
@@ -1,48 +0,0 @@
1
- import { sortBy, map, toArray } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
2
- import { uncurry2, comparePrimitives } from "../../../fable_modules/fable-library.4.5.0/Util.js";
3
- import { map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Array.js";
4
- import { ConverterOptions_$ctor } from "../ConverterOptions.js";
5
- import { OntologyAnnotation_compressedDecoder, OntologyAnnotation_compressedEncoder } from "../Ontology.js";
6
- import { int, array as array_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
7
- import { Dict_tryFind } from "../../ISA/Helper.js";
8
- import { addToDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
9
- import { FSharpResult$2 } from "../../../fable_modules/fable-library.4.5.0/Choice.js";
10
-
11
- export function OATable_arrayFromMap(otm) {
12
- return toArray(map((kv_1) => kv_1[0], sortBy((kv) => kv[1], otm, {
13
- Compare: comparePrimitives,
14
- })));
15
- }
16
-
17
- export function OATable_encoder(stringTable, ot) {
18
- let options;
19
- return map_1((options = ConverterOptions_$ctor(), (oa) => OntologyAnnotation_compressedEncoder(stringTable, options, oa)), ot);
20
- }
21
-
22
- export function OATable_decoder(stringTable) {
23
- const decoder = OntologyAnnotation_compressedDecoder(stringTable, ConverterOptions_$ctor());
24
- return (path) => ((value) => array_1(uncurry2(decoder), path, value));
25
- }
26
-
27
- export function OATable_encodeOA(otm, oa) {
28
- const matchValue = Dict_tryFind(oa, otm);
29
- if (matchValue == null) {
30
- const i_1 = otm.size | 0;
31
- addToDict(otm, oa, i_1);
32
- return i_1;
33
- }
34
- else {
35
- return matchValue;
36
- }
37
- }
38
-
39
- export function OATable_decodeOA(ot, s, o) {
40
- const matchValue = int(s)(o);
41
- if (matchValue.tag === 1) {
42
- return new FSharpResult$2(1, [matchValue.fields[0]]);
43
- }
44
- else {
45
- return new FSharpResult$2(0, [ot[matchValue.fields[0]]]);
46
- }
47
- }
48
-
@@ -1,105 +0,0 @@
1
- import { toString, nil, object as object_22 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
2
- import { ofArray, choose } from "../../fable_modules/fable-library.4.5.0/List.js";
3
- import { uncurry2, equals } from "../../fable_modules/fable-library.4.5.0/Util.js";
4
- import { tryInclude } from "./GEncode.js";
5
- import { Data_decoder, Data_encoder, Sample_decoder, Sample_encoder } from "./Data.js";
6
- import { MaterialAttribute_decoder, MaterialAttribute_encoder, Material_decoder, Material_encoder } from "./Material.js";
7
- import { string, list as list_1, object as object_23 } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
8
- import { AssayMaterials } from "../ISA/JsonTypes/AssayMaterials.js";
9
- import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
10
- import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.5.0/Seq.js";
11
- import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
12
- import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
13
- import { Process_decoder, Process_encoder } from "./Process.js";
14
- import { decoder as decoder_5, encoder } from "./Comment.js";
15
- import { fromJsonString, uri } from "./Decode.js";
16
- import { Assay } from "../ISA/JsonTypes/Assay.js";
17
-
18
- export function AssayMaterials_encoder(options, oa) {
19
- return object_22(choose((tupledArg) => {
20
- const v = tupledArg[1];
21
- if (equals(v, nil)) {
22
- return void 0;
23
- }
24
- else {
25
- return [tupledArg[0], v];
26
- }
27
- }, ofArray([tryInclude("samples", (oa_1) => Sample_encoder(options, oa_1), oa["Samples"]), tryInclude("otherMaterials", (oa_2) => Material_encoder(options, oa_2), oa["OtherMaterials"])])));
28
- }
29
-
30
- export function AssayMaterials_decoder(options) {
31
- return (path_2) => ((v) => object_23((get$) => {
32
- let objectArg, objectArg_1;
33
- return new AssayMaterials((objectArg = get$.Optional, objectArg.Field("samples", (path, value) => list_1((s, json) => Sample_decoder(options, s, json), path, value))), (objectArg_1 = get$.Optional, objectArg_1.Field("otherMaterials", (path_1, value_1) => list_1((s_1, json_1) => Material_decoder(options, s_1, json_1), path_1, value_1))));
34
- }, path_2, v));
35
- }
36
-
37
- export function Assay_genID(a) {
38
- const matchValue = a.ID;
39
- if (matchValue == null) {
40
- const matchValue_1 = a.FileName;
41
- if (matchValue_1 == null) {
42
- return "#EmptyAssay";
43
- }
44
- else {
45
- return matchValue_1;
46
- }
47
- }
48
- else {
49
- return URIModule_toString(matchValue);
50
- }
51
- }
52
-
53
- export function Assay_encoder(options, oa) {
54
- return object_22(choose((tupledArg) => {
55
- const v = tupledArg[1];
56
- if (equals(v, nil)) {
57
- return void 0;
58
- }
59
- else {
60
- return [tupledArg[0], v];
61
- }
62
- }, toList(delay(() => {
63
- let value, s;
64
- return append(ConverterOptions__get_SetID(options) ? singleton(["@id", (value = Assay_genID(oa), (typeof value === "string") ? ((s = value, s)) : nil)]) : singleton(tryInclude("@id", (value_2) => {
65
- let s_1;
66
- const value_3 = value_2;
67
- return (typeof value_3 === "string") ? ((s_1 = value_3, s_1)) : nil;
68
- }, oa["ID"])), delay(() => {
69
- let value_5, s_2;
70
- return append(ConverterOptions__get_IncludeType(options) ? singleton(["@type", (value_5 = "Assay", (typeof value_5 === "string") ? ((s_2 = value_5, s_2)) : nil)]) : empty(), delay(() => append(singleton(tryInclude("filename", (value_7) => {
71
- let s_3;
72
- const value_8 = value_7;
73
- return (typeof value_8 === "string") ? ((s_3 = value_8, s_3)) : nil;
74
- }, oa["FileName"])), delay(() => append(singleton(tryInclude("measurementType", (oa_1) => OntologyAnnotation_encoder(options, oa_1), oa["MeasurementType"])), delay(() => append(singleton(tryInclude("technologyType", (oa_2) => OntologyAnnotation_encoder(options, oa_2), oa["TechnologyType"])), delay(() => append(singleton(tryInclude("technologyPlatform", (value_10) => {
75
- let s_4;
76
- const value_11 = value_10;
77
- return (typeof value_11 === "string") ? ((s_4 = value_11, s_4)) : nil;
78
- }, oa["TechnologyPlatform"])), delay(() => append(singleton(tryInclude("dataFiles", (oa_3) => Data_encoder(options, oa_3), oa["DataFiles"])), delay(() => append(singleton(tryInclude("materials", (oa_4) => AssayMaterials_encoder(options, oa_4), oa["Materials"])), delay(() => append(singleton(tryInclude("characteristicCategories", (oa_5) => MaterialAttribute_encoder(options, oa_5), oa["CharacteristicCategories"])), delay(() => append(singleton(tryInclude("unitCategories", (oa_6) => OntologyAnnotation_encoder(options, oa_6), oa["UnitCategories"])), delay(() => append(singleton(tryInclude("processSequence", (oa_7) => Process_encoder(options, oa_7), oa["ProcessSequence"])), delay(() => singleton(tryInclude("comments", (comment) => encoder(options, comment), oa["Comments"]))))))))))))))))))))));
79
- }));
80
- }))));
81
- }
82
-
83
- export function Assay_decoder(options) {
84
- return (path_7) => ((v) => object_23((get$) => {
85
- let objectArg, objectArg_1, arg_5, objectArg_2, arg_7, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, decoder_1, objectArg_7, arg_17, decoder_2, objectArg_8, arg_19, decoder_3, objectArg_9, arg_21, decoder_4, objectArg_10;
86
- return new Assay((objectArg = get$.Optional, objectArg.Field("@id", uri)), (objectArg_1 = get$.Optional, objectArg_1.Field("filename", string)), (arg_5 = OntologyAnnotation_decoder(options), (objectArg_2 = get$.Optional, objectArg_2.Field("measurementType", uncurry2(arg_5)))), (arg_7 = OntologyAnnotation_decoder(options), (objectArg_3 = get$.Optional, objectArg_3.Field("technologyType", uncurry2(arg_7)))), (objectArg_4 = get$.Optional, objectArg_4.Field("technologyPlatform", string)), (objectArg_5 = get$.Optional, objectArg_5.Field("dataFiles", (path_2, value_2) => list_1((s_1, json_1) => Data_decoder(options, s_1, json_1), path_2, value_2))), (arg_13 = AssayMaterials_decoder(options), (objectArg_6 = get$.Optional, objectArg_6.Field("materials", uncurry2(arg_13)))), (arg_15 = ((decoder_1 = MaterialAttribute_decoder(options), (path_3) => ((value_3) => list_1(uncurry2(decoder_1), path_3, value_3)))), (objectArg_7 = get$.Optional, objectArg_7.Field("characteristicCategories", uncurry2(arg_15)))), (arg_17 = ((decoder_2 = OntologyAnnotation_decoder(options), (path_4) => ((value_4) => list_1(uncurry2(decoder_2), path_4, value_4)))), (objectArg_8 = get$.Optional, objectArg_8.Field("unitCategories", uncurry2(arg_17)))), (arg_19 = ((decoder_3 = Process_decoder(options), (path_5) => ((value_5) => list_1(uncurry2(decoder_3), path_5, value_5)))), (objectArg_9 = get$.Optional, objectArg_9.Field("processSequence", uncurry2(arg_19)))), (arg_21 = ((decoder_4 = decoder_5(options), (path_6) => ((value_6) => list_1(uncurry2(decoder_4), path_6, value_6)))), (objectArg_10 = get$.Optional, objectArg_10.Field("comments", uncurry2(arg_21)))));
87
- }, path_7, v));
88
- }
89
-
90
- export function Assay_fromJsonString(s) {
91
- return fromJsonString(uncurry2(Assay_decoder(ConverterOptions_$ctor())), s);
92
- }
93
-
94
- export function Assay_toJsonString(p) {
95
- return toString(2, Assay_encoder(ConverterOptions_$ctor(), p));
96
- }
97
-
98
- /**
99
- * exports in json-ld format
100
- */
101
- export function Assay_toStringLD(a) {
102
- let returnVal;
103
- return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a));
104
- }
105
-