@nfdi4plants/arctrl 2.0.1 → 2.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/ARC.js +43 -108
  2. package/Contract/ARC.js +1 -1
  3. package/Contract/ArcAssay.js +37 -14
  4. package/Contract/ArcInvestigation.js +4 -4
  5. package/Contract/ArcStudy.js +37 -14
  6. package/Contract/Contract.js +6 -6
  7. package/Contract/Datamap.js +5 -5
  8. package/Contract/Git.js +6 -6
  9. package/Contract/ValidationPackagesConfig.js +5 -5
  10. package/Core/ArcTypes.js +17 -17
  11. package/Core/Comment.js +16 -9
  12. package/Core/CommentList.js +6 -6
  13. package/Core/Conversion.js +64 -64
  14. package/Core/Data.js +11 -11
  15. package/Core/DataContext.js +4 -4
  16. package/Core/DataFile.js +2 -2
  17. package/Core/DataMap.js +4 -4
  18. package/Core/Helper/Collections.js +11 -11
  19. package/Core/Helper/HashCodes.js +5 -5
  20. package/Core/Helper/Identifier.js +9 -9
  21. package/Core/Helper/Regex.js +38 -38
  22. package/Core/Helper/SemVer.js +8 -8
  23. package/Core/OntologyAnnotation.js +11 -11
  24. package/Core/OntologySourceReference.js +4 -4
  25. package/Core/Person.js +11 -11
  26. package/Core/Process/ColumnIndex.js +7 -7
  27. package/Core/Process/Component.js +10 -10
  28. package/Core/Process/Factor.js +6 -6
  29. package/Core/Process/FactorValue.js +10 -10
  30. package/Core/Process/Material.js +5 -5
  31. package/Core/Process/MaterialAttribute.js +4 -4
  32. package/Core/Process/MaterialAttributeValue.js +10 -10
  33. package/Core/Process/MaterialType.js +2 -2
  34. package/Core/Process/Process.js +19 -19
  35. package/Core/Process/ProcessInput.js +16 -16
  36. package/Core/Process/ProcessOutput.js +16 -16
  37. package/Core/Process/ProcessParameterValue.js +10 -10
  38. package/Core/Process/ProcessSequence.js +6 -6
  39. package/Core/Process/Protocol.js +5 -5
  40. package/Core/Process/ProtocolParameter.js +4 -4
  41. package/Core/Process/Sample.js +5 -5
  42. package/Core/Process/Source.js +5 -5
  43. package/Core/Publication.js +10 -10
  44. package/Core/Table/ArcTable.js +35 -28
  45. package/Core/Table/ArcTableAux.js +22 -22
  46. package/Core/Table/ArcTables.js +14 -14
  47. package/Core/Table/CompositeCell.js +6 -6
  48. package/Core/Table/CompositeColumn.js +5 -5
  49. package/Core/Table/CompositeHeader.js +9 -9
  50. package/Core/Template.js +7 -7
  51. package/Core/Templates.js +8 -8
  52. package/Core/Value.js +11 -11
  53. package/FileSystem/Commit.js +2 -2
  54. package/FileSystem/FileSystem.js +4 -4
  55. package/FileSystem/FileSystemTree.js +14 -14
  56. package/FileSystem/Path.js +3 -3
  57. package/Json/ARC.js +21 -15
  58. package/Json/Assay.js +108 -169
  59. package/Json/Comment.js +84 -122
  60. package/Json/ConverterOptions.js +2 -2
  61. package/Json/Data.js +100 -107
  62. package/Json/DataFile.js +22 -57
  63. package/Json/DataMap/DataContext.js +25 -16
  64. package/Json/DataMap/DataMap.js +11 -7
  65. package/Json/Decode.js +11 -14
  66. package/Json/Encode.js +24 -13
  67. package/Json/IDTable.js +14 -3
  68. package/Json/Investigation.js +194 -176
  69. package/Json/OntologyAnnotation.js +113 -127
  70. package/Json/OntologySourceReference.js +93 -111
  71. package/Json/Person.js +204 -135
  72. package/Json/Process/AssayMaterials.js +12 -14
  73. package/Json/Process/Component.js +23 -68
  74. package/Json/Process/Factor.js +28 -46
  75. package/Json/Process/FactorValue.js +28 -50
  76. package/Json/Process/Material.js +56 -83
  77. package/Json/Process/MaterialAttribute.js +23 -45
  78. package/Json/Process/MaterialAttributeValue.js +28 -71
  79. package/Json/Process/MaterialType.js +17 -35
  80. package/Json/Process/Process.js +70 -85
  81. package/Json/Process/ProcessInput.js +18 -45
  82. package/Json/Process/ProcessOutput.js +15 -63
  83. package/Json/Process/ProcessParameterValue.js +21 -70
  84. package/Json/Process/Protocol.js +80 -83
  85. package/Json/Process/ProtocolParameter.js +23 -44
  86. package/Json/Process/Sample.js +66 -93
  87. package/Json/Process/Source.js +54 -81
  88. package/Json/Process/StudyMaterials.js +13 -15
  89. package/Json/Process/Value.js +19 -29
  90. package/Json/PropertyValue.js +86 -28
  91. package/Json/Publication.js +92 -115
  92. package/Json/ROCrateObject.js +146 -0
  93. package/Json/StringTable.js +27 -10
  94. package/Json/Study.js +193 -182
  95. package/Json/Table/ArcTable.js +119 -115
  96. package/Json/Table/CellTable.js +24 -11
  97. package/Json/Table/CompositeCell.js +40 -41
  98. package/Json/Table/CompositeHeader.js +24 -36
  99. package/Json/Table/IOType.js +9 -31
  100. package/Json/Table/OATable.js +23 -10
  101. package/Json/Table/Templates.js +82 -90
  102. package/Json/context/rocrate/isa_assay_context.js +60 -4
  103. package/Json/context/rocrate/isa_comment_context.js +28 -4
  104. package/Json/context/rocrate/isa_component_context.js +44 -4
  105. package/Json/context/rocrate/isa_data_context.js +40 -4
  106. package/Json/context/rocrate/isa_factor_context.js +40 -4
  107. package/Json/context/rocrate/isa_factor_value_context.js +52 -4
  108. package/Json/context/rocrate/isa_investigation_context.js +68 -4
  109. package/Json/context/rocrate/isa_material_attribute_context.js +32 -4
  110. package/Json/context/rocrate/isa_material_attribute_value_context.js +48 -4
  111. package/Json/context/rocrate/isa_material_context.js +36 -4
  112. package/Json/context/rocrate/isa_ontology_annotation_context.js +36 -4
  113. package/Json/context/rocrate/isa_ontology_source_reference_context.js +40 -4
  114. package/Json/context/rocrate/isa_organization_context.js +24 -4
  115. package/Json/context/rocrate/isa_person_context.js +85 -5
  116. package/Json/context/rocrate/isa_process_context.js +56 -4
  117. package/Json/context/rocrate/isa_process_parameter_value_context.js +48 -4
  118. package/Json/context/rocrate/isa_protocol_context.js +60 -4
  119. package/Json/context/rocrate/isa_protocol_parameter_context.js +32 -4
  120. package/Json/context/rocrate/isa_publication_context.js +44 -4
  121. package/Json/context/rocrate/isa_sample_context.js +32 -4
  122. package/Json/context/rocrate/isa_source_context.js +32 -4
  123. package/Json/context/rocrate/isa_study_context.js +72 -4
  124. package/Json/context/rocrate/property_value_context.js +58 -2
  125. package/Json/context/rocrate/rocrate_context.js +45 -5
  126. package/Json.js +12 -12
  127. package/JsonIO/ARC.js +31 -0
  128. package/JsonIO/Assay.js +99 -0
  129. package/JsonIO/Comment.js +73 -0
  130. package/JsonIO/Data.js +50 -0
  131. package/JsonIO/DataFile.js +49 -0
  132. package/JsonIO/DataMap/DataMap.js +29 -0
  133. package/JsonIO/Decode.js +4 -0
  134. package/JsonIO/Investigation.js +99 -0
  135. package/JsonIO/OntologyAnnotation.js +73 -0
  136. package/JsonIO/OntologySourceReference.js +73 -0
  137. package/JsonIO/Person.js +74 -0
  138. package/JsonIO/Process/Component.js +50 -0
  139. package/JsonIO/Process/Factor.js +28 -0
  140. package/JsonIO/Process/FactorValue.js +29 -0
  141. package/JsonIO/Process/Material.js +50 -0
  142. package/JsonIO/Process/MaterialAttribute.js +29 -0
  143. package/JsonIO/Process/MaterialAttributeValue.js +50 -0
  144. package/JsonIO/Process/MaterialType.js +28 -0
  145. package/JsonIO/Process/Process.js +50 -0
  146. package/JsonIO/Process/ProcessInput.js +29 -0
  147. package/JsonIO/Process/ProcessOutput.js +50 -0
  148. package/JsonIO/Process/ProcessParameterValue.js +50 -0
  149. package/{Json → JsonIO}/Process/ProcessSequence.js +16 -16
  150. package/JsonIO/Process/Protocol.js +50 -0
  151. package/JsonIO/Process/ProtocolParameter.js +28 -0
  152. package/JsonIO/Process/Sample.js +50 -0
  153. package/JsonIO/Process/Source.js +50 -0
  154. package/JsonIO/Process/StudyMaterials.js +22 -0
  155. package/JsonIO/Process/Value.js +23 -0
  156. package/JsonIO/Publication.js +74 -0
  157. package/JsonIO/ROCrateObject.js +146 -0
  158. package/JsonIO/Study.js +99 -0
  159. package/JsonIO/Table/ArcTable.js +82 -0
  160. package/JsonIO/Table/CompositeCell.js +28 -0
  161. package/JsonIO/Table/CompositeHeader.js +28 -0
  162. package/{Json → JsonIO}/Table/Compression.js +20 -10
  163. package/JsonIO/Table/IOType.js +28 -0
  164. package/JsonIO/Table/Templates.js +88 -0
  165. package/ROCrate/ISAProfile/Assay.js +32 -0
  166. package/ROCrate/ISAProfile/Data.js +28 -0
  167. package/ROCrate/ISAProfile/Dataset.js +18 -0
  168. package/ROCrate/ISAProfile/Investigation.js +35 -0
  169. package/ROCrate/ISAProfile/LabProcess.js +32 -0
  170. package/ROCrate/ISAProfile/LabProtocol.js +33 -0
  171. package/ROCrate/ISAProfile/Person.js +35 -0
  172. package/ROCrate/ISAProfile/PropertyValue.js +30 -0
  173. package/ROCrate/ISAProfile/Sample.js +27 -0
  174. package/ROCrate/ISAProfile/ScholarlyArticle.js +30 -0
  175. package/ROCrate/ISAProfile/Study.js +35 -0
  176. package/ROCrate/ROCrateObject.js +61 -0
  177. package/Spreadsheet/AnnotationTable/ArcTable.js +16 -16
  178. package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
  179. package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
  180. package/Spreadsheet/AnnotationTable/CompositeHeader.js +25 -25
  181. package/Spreadsheet/ArcAssay.js +9 -9
  182. package/Spreadsheet/ArcInvestigation.js +14 -14
  183. package/Spreadsheet/ArcStudy.js +7 -7
  184. package/Spreadsheet/CollectionAux.js +11 -11
  185. package/Spreadsheet/DataMap.js +3 -3
  186. package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
  187. package/Spreadsheet/DataMapTable/DataMapHeader.js +23 -23
  188. package/Spreadsheet/DataMapTable/DataMapTable.js +13 -13
  189. package/Spreadsheet/Metadata/Assays.js +11 -11
  190. package/Spreadsheet/Metadata/Comment.js +5 -5
  191. package/Spreadsheet/Metadata/Contacts.js +7 -7
  192. package/Spreadsheet/Metadata/Conversions.js +7 -7
  193. package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  194. package/Spreadsheet/Metadata/Factors.js +8 -8
  195. package/Spreadsheet/Metadata/OntologyAnnotation.js +6 -6
  196. package/Spreadsheet/Metadata/OntologySourceReference.js +6 -6
  197. package/Spreadsheet/Metadata/Protocols.js +9 -9
  198. package/Spreadsheet/Metadata/Publication.js +7 -7
  199. package/Spreadsheet/Metadata/SparseTable.js +21 -21
  200. package/Spreadsheet/Metadata/Study.js +12 -12
  201. package/Spreadsheet/Template.js +21 -21
  202. package/Template.Web.js +6 -6
  203. package/ValidationPackages/ValidationPackage.js +6 -6
  204. package/ValidationPackages/ValidationPackagesConfig.js +9 -9
  205. package/WebRequest/WebRequest.Node.js +2 -2
  206. package/WebRequest/WebRequest.js +2 -2
  207. package/Xlsx.js +9 -9
  208. package/Yaml/Encode.js +1 -1
  209. package/Yaml/ValidationPackage.js +5 -5
  210. package/Yaml/ValidationPackagesConfig.js +5 -5
  211. package/fable_modules/DynamicObj.4.0.0/DynObj.fs +219 -0
  212. package/fable_modules/DynamicObj.4.0.0/DynObj.fs.js +209 -0
  213. package/fable_modules/DynamicObj.4.0.0/DynamicObj.fableproj +47 -0
  214. package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs +310 -0
  215. package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs.js +166 -0
  216. package/fable_modules/DynamicObj.4.0.0/FableJS.fs +162 -0
  217. package/fable_modules/DynamicObj.4.0.0/FableJS.fs.js +141 -0
  218. package/fable_modules/DynamicObj.4.0.0/FablePy.fs +215 -0
  219. package/fable_modules/DynamicObj.4.0.0/HashCodes.fs +46 -0
  220. package/fable_modules/DynamicObj.4.0.0/HashCodes.fs.js +43 -0
  221. package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs +33 -0
  222. package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs.js +21 -0
  223. package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs +72 -0
  224. package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs.js +86 -0
  225. package/fable_modules/{Thoth.Json.JavaScript.0.1.0/obj/Release → DynamicObj.4.0.0/obj/Debug}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
  226. package/fable_modules/DynamicObj.4.0.0/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
  227. package/fable_modules/{Thoth.Json.Core.0.2.1/obj/Debug → DynamicObj.4.0.0/obj/Release}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
  228. package/fable_modules/DynamicObj.4.0.0/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
  229. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
  230. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +6 -6
  231. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +11 -11
  232. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +4 -4
  233. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs.js +15 -15
  234. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs.js +11 -11
  235. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs.js +7 -7
  236. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs.js +4 -4
  237. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs.js +3 -3
  238. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs.js +1 -1
  239. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Operators.fs.js +6 -0
  240. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs.js +4 -4
  241. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs.js +4 -4
  242. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs.js +4 -4
  243. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs.js +10 -10
  244. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs.js +6 -6
  245. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs.js +4 -4
  246. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs.js +11 -11
  247. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs.js +5 -5
  248. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs.js +5 -5
  249. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsSpreadsheet.fableproj +5 -5
  250. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs.js +7 -7
  251. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs.js +11 -11
  252. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Cell.fs.js +64 -0
  253. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Column.fs.js +39 -0
  254. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Row.fs.js +39 -0
  255. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Table.fs.js +30 -0
  256. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs.js +38 -13
  257. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Workbook.fs.js +46 -0
  258. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js +33 -8
  259. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs.js +4 -4
  260. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs.js +4 -4
  261. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs.js +4 -4
  262. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs.js +4 -4
  263. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs.js +2 -2
  264. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs.js +10 -10
  265. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs.js +11 -11
  266. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs.js +5 -5
  267. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs.js +2 -2
  268. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs +67 -28
  269. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs.js +79 -50
  270. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Encode.fs +139 -54
  271. package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +192 -0
  272. package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +33 -0
  273. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs +12 -5
  274. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs.js +2 -2
  275. package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs +9 -0
  276. package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs.js +16 -2
  277. package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Encode.fs +13 -5
  278. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +58 -0
  279. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +28 -0
  280. package/fable_modules/YAMLicious.0.0.1/Decode.fs.js +17 -17
  281. package/fable_modules/YAMLicious.0.0.1/Encode.fs.js +6 -6
  282. package/fable_modules/YAMLicious.0.0.1/Library.fs.js +1 -1
  283. package/fable_modules/YAMLicious.0.0.1/Persil.fs.js +4 -4
  284. package/fable_modules/YAMLicious.0.0.1/Preprocessing.fs.js +6 -6
  285. package/fable_modules/YAMLicious.0.0.1/Reader.fs.js +9 -9
  286. package/fable_modules/YAMLicious.0.0.1/RegexActivePatterns.fs.js +36 -36
  287. package/fable_modules/YAMLicious.0.0.1/Writer.fs.js +4 -4
  288. package/fable_modules/YAMLicious.0.0.1/YAMLiciousTypes.fs.js +6 -6
  289. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.js +10 -10
  290. package/fable_modules/fable-library-js.4.22.0/Async.d.ts +27 -0
  291. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Async.js +1 -7
  292. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.d.ts +13 -13
  293. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.js +4 -3
  294. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/CHANGELOG.md +40 -1
  295. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.js +2 -2
  296. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.js +4 -5
  297. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.js +6 -6
  298. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.js +31 -31
  299. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.d.ts +2 -2
  300. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.js +10 -10
  301. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.js +1 -1
  302. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.js +1 -1
  303. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.js +2 -2
  304. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.js +4 -4
  305. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.d.ts +1 -1
  306. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.js +0 -1
  307. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.js +2 -2
  308. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.js +47 -48
  309. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.js +3 -3
  310. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.d.ts +1 -1
  311. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.js +17 -6
  312. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.js +1 -1
  313. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.js +2 -2
  314. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.d.ts +2 -2
  315. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.d.ts +2 -0
  316. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.js +19 -2
  317. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.d.ts +2 -2
  318. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.js +0 -1
  319. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.js +0 -1
  320. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/package.json +1 -1
  321. package/fable_modules/project_cracked.json +1 -1
  322. package/package.json +1 -1
  323. package/fable_modules/FsSpreadsheet.6.2.0/DSL/Operators.fs.js +0 -6
  324. package/fable_modules/FsSpreadsheet.6.2.0/Json/Cell.fs.js +0 -38
  325. package/fable_modules/FsSpreadsheet.6.2.0/Json/Column.fs.js +0 -24
  326. package/fable_modules/FsSpreadsheet.6.2.0/Json/Row.fs.js +0 -24
  327. package/fable_modules/FsSpreadsheet.6.2.0/Json/Table.fs.js +0 -15
  328. package/fable_modules/FsSpreadsheet.6.2.0/Json/Workbook.fs.js +0 -35
  329. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +0 -113
  330. package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +0 -28
  331. package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs +0 -20
  332. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +0 -45
  333. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +0 -21
  334. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
  335. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -18
  336. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -19
  337. package/fable_modules/fable-library-js.4.16.0/Async.d.ts +0 -32
  338. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs +0 -0
  339. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs +0 -0
  340. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs +0 -0
  341. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs +0 -0
  342. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs +0 -0
  343. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs +0 -0
  344. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Operators.fs +0 -0
  345. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs +0 -0
  346. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs +0 -0
  347. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs +0 -0
  348. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs +0 -0
  349. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs +0 -0
  350. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs +0 -0
  351. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs +0 -0
  352. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs +0 -0
  353. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs +0 -0
  354. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs +0 -0
  355. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs +0 -0
  356. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Cell.fs +0 -0
  357. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Column.fs +0 -0
  358. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Row.fs +0 -0
  359. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Table.fs +0 -0
  360. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs +0 -0
  361. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Workbook.fs +0 -0
  362. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs +0 -0
  363. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs +0 -0
  364. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs +0 -0
  365. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs +0 -0
  366. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs +0 -0
  367. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs +0 -0
  368. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs +0 -0
  369. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs +0 -0
  370. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs +0 -0
  371. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs +0 -0
  372. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  373. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  374. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  375. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  376. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.d.ts +0 -0
  377. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.js +0 -0
  378. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.d.ts +0 -0
  379. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.d.ts +0 -0
  380. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.js +0 -0
  381. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.d.ts +0 -0
  382. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.js +0 -0
  383. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.d.ts +0 -0
  384. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.js +0 -0
  385. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.d.ts +0 -0
  386. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.d.ts +0 -0
  387. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.js +0 -0
  388. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.d.ts +0 -0
  389. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.d.ts +0 -0
  390. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.js +0 -0
  391. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.d.ts +0 -0
  392. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.js +0 -0
  393. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.d.ts +0 -0
  394. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.d.ts +0 -0
  395. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.js +0 -0
  396. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.d.ts +0 -0
  397. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.js +0 -0
  398. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.d.ts +0 -0
  399. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.js +0 -0
  400. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.d.ts +0 -0
  401. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.js +0 -0
  402. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  403. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.js +0 -0
  404. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.d.ts +0 -0
  405. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.js +0 -0
  406. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.d.ts +0 -0
  407. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.js +0 -0
  408. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.d.ts +0 -0
  409. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.js +0 -0
  410. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.d.ts +0 -0
  411. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.js +0 -0
  412. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.d.ts +0 -0
  413. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.d.ts +0 -0
  414. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.js +0 -0
  415. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.js +0 -0
  416. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.d.ts +0 -0
  417. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.d.ts +0 -0
  418. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.js +0 -0
  419. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.d.ts +0 -0
  420. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.d.ts +0 -0
  421. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.d.ts +0 -0
  422. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.js +0 -0
  423. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.d.ts +0 -0
  424. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.js +0 -0
  425. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.d.ts +0 -0
  426. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.js +0 -0
  427. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.d.ts +0 -0
  428. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.js +0 -0
  429. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/README.md +0 -0
  430. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.d.ts +0 -0
  431. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.d.ts +0 -0
  432. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.js +0 -0
  433. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.d.ts +0 -0
  434. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.d.ts +0 -0
  435. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.d.ts +0 -0
  436. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.d.ts +0 -0
  437. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.js +0 -0
  438. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.d.ts +0 -0
  439. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.d.ts +0 -0
  440. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.js +0 -0
  441. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.d.ts +0 -0
  442. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.d.ts +0 -0
  443. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.js +0 -0
  444. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.d.ts +0 -0
  445. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.js +0 -0
  446. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.d.ts +0 -0
  447. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.d.ts +0 -0
  448. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.js +0 -0
  449. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.js +0 -0
  450. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.d.ts +0 -0
  451. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.js +0 -0
  452. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/big.d.ts +0 -0
  453. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, Protocol, ArcProtocol, name, protocolType, description, version, components, parameters, uri, comments) {
@@ -24,5 +24,61 @@ export function IContext_$reflection() {
24
24
  return record_type("ARCtrl.Json.ROCrateContext.Protocol.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Protocol", string_type], ["ArcProtocol", string_type], ["name", string_type], ["protocolType", string_type], ["description", string_type], ["version", string_type], ["components", string_type], ["parameters", string_type], ["uri", string_type], ["comments", string_type]]);
25
25
  }
26
26
 
27
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["bio", new Json(0, ["https://bioschemas.org/"])], ["Protocol", new Json(0, ["bio:LabProtocol"])], ["name", new Json(0, ["sdo:name"])], ["protocolType", new Json(0, ["bio:intendedUse"])], ["description", new Json(0, ["sdo:description"])], ["version", new Json(0, ["sdo:version"])], ["components", new Json(0, ["bio:labEquipment"])], ["reagents", new Json(0, ["bio:reagent"])], ["computationalTools", new Json(0, ["bio:computationalTool"])], ["uri", new Json(0, ["sdo:url"])], ["comments", new Json(0, ["sdo:comment"])]]]);
27
+ export const context_jsonvalue = (() => {
28
+ const values = [["sdo", {
29
+ Encode(helpers) {
30
+ return helpers.encodeString("http://schema.org/");
31
+ },
32
+ }], ["bio", {
33
+ Encode(helpers_1) {
34
+ return helpers_1.encodeString("https://bioschemas.org/");
35
+ },
36
+ }], ["Protocol", {
37
+ Encode(helpers_2) {
38
+ return helpers_2.encodeString("bio:LabProtocol");
39
+ },
40
+ }], ["name", {
41
+ Encode(helpers_3) {
42
+ return helpers_3.encodeString("sdo:name");
43
+ },
44
+ }], ["protocolType", {
45
+ Encode(helpers_4) {
46
+ return helpers_4.encodeString("bio:intendedUse");
47
+ },
48
+ }], ["description", {
49
+ Encode(helpers_5) {
50
+ return helpers_5.encodeString("sdo:description");
51
+ },
52
+ }], ["version", {
53
+ Encode(helpers_6) {
54
+ return helpers_6.encodeString("sdo:version");
55
+ },
56
+ }], ["components", {
57
+ Encode(helpers_7) {
58
+ return helpers_7.encodeString("bio:labEquipment");
59
+ },
60
+ }], ["reagents", {
61
+ Encode(helpers_8) {
62
+ return helpers_8.encodeString("bio:reagent");
63
+ },
64
+ }], ["computationalTools", {
65
+ Encode(helpers_9) {
66
+ return helpers_9.encodeString("bio:computationalTool");
67
+ },
68
+ }], ["uri", {
69
+ Encode(helpers_10) {
70
+ return helpers_10.encodeString("sdo:url");
71
+ },
72
+ }], ["comments", {
73
+ Encode(helpers_11) {
74
+ return helpers_11.encodeString("sdo:comment");
75
+ },
76
+ }]];
77
+ return {
78
+ Encode(helpers_12) {
79
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_12)], values);
80
+ return helpers_12.encodeObject(arg);
81
+ },
82
+ };
83
+ })();
28
84
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, ProtocolParamter, ArcProtocolParameter, parameterName) {
@@ -17,7 +17,35 @@ export function IContext_$reflection() {
17
17
  return record_type("ARCtrl.Json.ROCrateContext.ProtocolParameter.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["ProtocolParamter", string_type], ["ArcProtocolParameter", string_type], ["parameterName", string_type]]);
18
18
  }
19
19
 
20
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["ProtocolParameter", new Json(0, ["sdo:Thing"])], ["ArcProtocolParameter", new Json(0, ["arc:ARC#ARC_00000063"])], ["parameterName", new Json(0, ["arc:ARC#ARC_00000100"])]]]);
20
+ export const context_jsonvalue = (() => {
21
+ const values = [["sdo", {
22
+ Encode(helpers) {
23
+ return helpers.encodeString("http://schema.org/");
24
+ },
25
+ }], ["arc", {
26
+ Encode(helpers_1) {
27
+ return helpers_1.encodeString("http://purl.org/nfdi4plants/ontology/");
28
+ },
29
+ }], ["ProtocolParameter", {
30
+ Encode(helpers_2) {
31
+ return helpers_2.encodeString("sdo:Thing");
32
+ },
33
+ }], ["ArcProtocolParameter", {
34
+ Encode(helpers_3) {
35
+ return helpers_3.encodeString("arc:ARC#ARC_00000063");
36
+ },
37
+ }], ["parameterName", {
38
+ Encode(helpers_4) {
39
+ return helpers_4.encodeString("arc:ARC#ARC_00000100");
40
+ },
41
+ }]];
42
+ return {
43
+ Encode(helpers_5) {
44
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_5)], values);
45
+ return helpers_5.encodeObject(arg);
46
+ },
47
+ };
48
+ })();
21
49
 
22
50
  export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"ProtocolParameter\": \"sdo:Thing\",\r\n \"ArcProtocolParameter\": \"arc:ARC#ARC_00000063\",\r\n\r\n \"parameterName\": \"arc:ARC#ARC_00000100\"\r\n }\r\n}\r\n ";
23
51
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, Publication, pubMedID, doi, title, status, authorList, comments) {
@@ -21,5 +21,45 @@ export function IContext_$reflection() {
21
21
  return record_type("ARCtrl.Json.ROCrateContext.Publication.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Publication", string_type], ["pubMedID", string_type], ["doi", string_type], ["title", string_type], ["status", string_type], ["authorList", string_type], ["comments", string_type]]);
22
22
  }
23
23
 
24
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["Publication", new Json(0, ["sdo:ScholarlyArticle"])], ["pubMedID", new Json(0, ["sdo:url"])], ["doi", new Json(0, ["sdo:sameAs"])], ["title", new Json(0, ["sdo:headline"])], ["status", new Json(0, ["sdo:creativeWorkStatus"])], ["authorList", new Json(0, ["sdo:author"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])]]]);
24
+ export const context_jsonvalue = (() => {
25
+ const values = [["sdo", {
26
+ Encode(helpers) {
27
+ return helpers.encodeString("http://schema.org/");
28
+ },
29
+ }], ["Publication", {
30
+ Encode(helpers_1) {
31
+ return helpers_1.encodeString("sdo:ScholarlyArticle");
32
+ },
33
+ }], ["pubMedID", {
34
+ Encode(helpers_2) {
35
+ return helpers_2.encodeString("sdo:url");
36
+ },
37
+ }], ["doi", {
38
+ Encode(helpers_3) {
39
+ return helpers_3.encodeString("sdo:sameAs");
40
+ },
41
+ }], ["title", {
42
+ Encode(helpers_4) {
43
+ return helpers_4.encodeString("sdo:headline");
44
+ },
45
+ }], ["status", {
46
+ Encode(helpers_5) {
47
+ return helpers_5.encodeString("sdo:creativeWorkStatus");
48
+ },
49
+ }], ["authorList", {
50
+ Encode(helpers_6) {
51
+ return helpers_6.encodeString("sdo:author");
52
+ },
53
+ }], ["comments", {
54
+ Encode(helpers_7) {
55
+ return helpers_7.encodeString("sdo:disambiguatingDescription");
56
+ },
57
+ }]];
58
+ return {
59
+ Encode(helpers_8) {
60
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_8)], values);
61
+ return helpers_8.encodeObject(arg);
62
+ },
63
+ };
64
+ })();
25
65
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, Sample, ArcSample, name, characteristics, factorValues, derivesFrom) {
@@ -20,5 +20,33 @@ export function IContext_$reflection() {
20
20
  return record_type("ARCtrl.Json.ROCrateContext.Sample.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Sample", string_type], ["ArcSample", string_type], ["name", string_type], ["characteristics", string_type], ["factorValues", string_type], ["derivesFrom", string_type]]);
21
21
  }
22
22
 
23
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["bio", new Json(0, ["https://bioschemas.org/"])], ["Sample", new Json(0, ["bio:Sample"])], ["name", new Json(0, ["sdo:name"])], ["additionalProperties", new Json(0, ["bio:additionalProperty"])]]]);
23
+ export const context_jsonvalue = (() => {
24
+ const values = [["sdo", {
25
+ Encode(helpers) {
26
+ return helpers.encodeString("http://schema.org/");
27
+ },
28
+ }], ["bio", {
29
+ Encode(helpers_1) {
30
+ return helpers_1.encodeString("https://bioschemas.org/");
31
+ },
32
+ }], ["Sample", {
33
+ Encode(helpers_2) {
34
+ return helpers_2.encodeString("bio:Sample");
35
+ },
36
+ }], ["name", {
37
+ Encode(helpers_3) {
38
+ return helpers_3.encodeString("sdo:name");
39
+ },
40
+ }], ["additionalProperties", {
41
+ Encode(helpers_4) {
42
+ return helpers_4.encodeString("bio:additionalProperty");
43
+ },
44
+ }]];
45
+ return {
46
+ Encode(helpers_5) {
47
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_5)], values);
48
+ return helpers_5.encodeObject(arg);
49
+ },
50
+ };
51
+ })();
24
52
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, Source, ArcSource, identifier, characteristics, name) {
@@ -19,7 +19,35 @@ export function IContext_$reflection() {
19
19
  return record_type("ARCtrl.Json.ROCrateContext.Source.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Source", string_type], ["ArcSource", string_type], ["identifier", string_type], ["characteristics", string_type], ["name", string_type]]);
20
20
  }
21
21
 
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["bio", new Json(0, ["https://bioschemas.org/"])], ["Source", new Json(0, ["bio:Sample"])], ["name", new Json(0, ["sdo:name"])], ["characteristics", new Json(0, ["bio:additionalProperty"])]]]);
22
+ export const context_jsonvalue = (() => {
23
+ const values = [["sdo", {
24
+ Encode(helpers) {
25
+ return helpers.encodeString("http://schema.org/");
26
+ },
27
+ }], ["bio", {
28
+ Encode(helpers_1) {
29
+ return helpers_1.encodeString("https://bioschemas.org/");
30
+ },
31
+ }], ["Source", {
32
+ Encode(helpers_2) {
33
+ return helpers_2.encodeString("bio:Sample");
34
+ },
35
+ }], ["name", {
36
+ Encode(helpers_3) {
37
+ return helpers_3.encodeString("sdo:name");
38
+ },
39
+ }], ["characteristics", {
40
+ Encode(helpers_4) {
41
+ return helpers_4.encodeString("bio:additionalProperty");
42
+ },
43
+ }]];
44
+ return {
45
+ Encode(helpers_5) {
46
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_5)], values);
47
+ return helpers_5.encodeObject(arg);
48
+ },
49
+ };
50
+ })();
23
51
 
24
52
  export const context_str = "\r\n{\r\n \"@context\": {\r\n \"sdo\": \"http://schema.org/\",\r\n \"arc\": \"http://purl.org/nfdi4plants/ontology/\",\r\n\r\n \"Source\": \"sdo:Thing\",\r\n \"ArcSource\": \"arc:ARC#ARC_00000071\",\r\n\r\n \"identifier\": \"sdo:identifier\",\r\n\r\n \"name\": \"arc:ARC#ARC_00000019\",\r\n \"characteristics\": \"arc:ARC#ARC_00000080\"\r\n }\r\n}\r\n ";
25
53
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, Study, ArcStudy, identifier, title, description, submissionDate, publicReleaseDate, publications, people, assays, filename, comments, protocols, materials, otherMaterials, sources, samples, processSequence, factors, characteristicCategories, unitCategories, studyDesignDescriptors) {
@@ -36,5 +36,73 @@ export function IContext_$reflection() {
36
36
  return record_type("ARCtrl.Json.ROCrateContext.Study.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Study", string_type], ["ArcStudy", string_type], ["identifier", string_type], ["title", string_type], ["description", string_type], ["submissionDate", string_type], ["publicReleaseDate", string_type], ["publications", string_type], ["people", string_type], ["assays", string_type], ["filename", string_type], ["comments", string_type], ["protocols", string_type], ["materials", string_type], ["otherMaterials", string_type], ["sources", string_type], ["samples", string_type], ["processSequence", string_type], ["factors", string_type], ["characteristicCategories", string_type], ["unitCategories", string_type], ["studyDesignDescriptors", string_type]]);
37
37
  }
38
38
 
39
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["Study", new Json(0, ["sdo:Dataset"])], ["identifier", new Json(0, ["sdo:identifier"])], ["title", new Json(0, ["sdo:headline"])], ["additionalType", new Json(0, ["sdo:additionalType"])], ["description", new Json(0, ["sdo:description"])], ["submissionDate", new Json(0, ["sdo:dateCreated"])], ["publicReleaseDate", new Json(0, ["sdo:datePublished"])], ["publications", new Json(0, ["sdo:citation"])], ["people", new Json(0, ["sdo:creator"])], ["assays", new Json(0, ["sdo:hasPart"])], ["filename", new Json(0, ["sdo:alternateName"])], ["comments", new Json(0, ["sdo:comment"])], ["processSequence", new Json(0, ["sdo:about"])], ["studyDesignDescriptors", new Json(0, ["arc:ARC#ARC_00000037"])]]]);
39
+ export const context_jsonvalue = (() => {
40
+ const values = [["sdo", {
41
+ Encode(helpers) {
42
+ return helpers.encodeString("http://schema.org/");
43
+ },
44
+ }], ["Study", {
45
+ Encode(helpers_1) {
46
+ return helpers_1.encodeString("sdo:Dataset");
47
+ },
48
+ }], ["identifier", {
49
+ Encode(helpers_2) {
50
+ return helpers_2.encodeString("sdo:identifier");
51
+ },
52
+ }], ["title", {
53
+ Encode(helpers_3) {
54
+ return helpers_3.encodeString("sdo:headline");
55
+ },
56
+ }], ["additionalType", {
57
+ Encode(helpers_4) {
58
+ return helpers_4.encodeString("sdo:additionalType");
59
+ },
60
+ }], ["description", {
61
+ Encode(helpers_5) {
62
+ return helpers_5.encodeString("sdo:description");
63
+ },
64
+ }], ["submissionDate", {
65
+ Encode(helpers_6) {
66
+ return helpers_6.encodeString("sdo:dateCreated");
67
+ },
68
+ }], ["publicReleaseDate", {
69
+ Encode(helpers_7) {
70
+ return helpers_7.encodeString("sdo:datePublished");
71
+ },
72
+ }], ["publications", {
73
+ Encode(helpers_8) {
74
+ return helpers_8.encodeString("sdo:citation");
75
+ },
76
+ }], ["people", {
77
+ Encode(helpers_9) {
78
+ return helpers_9.encodeString("sdo:creator");
79
+ },
80
+ }], ["assays", {
81
+ Encode(helpers_10) {
82
+ return helpers_10.encodeString("sdo:hasPart");
83
+ },
84
+ }], ["filename", {
85
+ Encode(helpers_11) {
86
+ return helpers_11.encodeString("sdo:alternateName");
87
+ },
88
+ }], ["comments", {
89
+ Encode(helpers_12) {
90
+ return helpers_12.encodeString("sdo:comment");
91
+ },
92
+ }], ["processSequence", {
93
+ Encode(helpers_13) {
94
+ return helpers_13.encodeString("sdo:about");
95
+ },
96
+ }], ["studyDesignDescriptors", {
97
+ Encode(helpers_14) {
98
+ return helpers_14.encodeString("arc:ARC#ARC_00000037");
99
+ },
100
+ }]];
101
+ return {
102
+ Encode(helpers_15) {
103
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_15)], values);
104
+ return helpers_15.encodeObject(arg);
105
+ },
106
+ };
107
+ })();
40
108
 
@@ -1,4 +1,60 @@
1
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
2
2
 
3
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["additionalType", new Json(0, ["sdo:additionalType"])], ["alternateName", new Json(0, ["sdo:alternateName"])], ["measurementMethod", new Json(0, ["sdo:measurementMethod"])], ["description", new Json(0, ["sdo:description"])], ["category", new Json(0, ["sdo:name"])], ["categoryCode", new Json(0, ["sdo:propertyID"])], ["value", new Json(0, ["sdo:value"])], ["valueCode", new Json(0, ["sdo:valueReference"])], ["unit", new Json(0, ["sdo:unitText"])], ["unitCode", new Json(0, ["sdo:unitCode"])], ["comments", new Json(0, ["sdo:disambiguatingDescription"])]]]);
3
+ export const context_jsonvalue = (() => {
4
+ const values = [["sdo", {
5
+ Encode(helpers) {
6
+ return helpers.encodeString("http://schema.org/");
7
+ },
8
+ }], ["additionalType", {
9
+ Encode(helpers_1) {
10
+ return helpers_1.encodeString("sdo:additionalType");
11
+ },
12
+ }], ["alternateName", {
13
+ Encode(helpers_2) {
14
+ return helpers_2.encodeString("sdo:alternateName");
15
+ },
16
+ }], ["measurementMethod", {
17
+ Encode(helpers_3) {
18
+ return helpers_3.encodeString("sdo:measurementMethod");
19
+ },
20
+ }], ["description", {
21
+ Encode(helpers_4) {
22
+ return helpers_4.encodeString("sdo:description");
23
+ },
24
+ }], ["category", {
25
+ Encode(helpers_5) {
26
+ return helpers_5.encodeString("sdo:name");
27
+ },
28
+ }], ["categoryCode", {
29
+ Encode(helpers_6) {
30
+ return helpers_6.encodeString("sdo:propertyID");
31
+ },
32
+ }], ["value", {
33
+ Encode(helpers_7) {
34
+ return helpers_7.encodeString("sdo:value");
35
+ },
36
+ }], ["valueCode", {
37
+ Encode(helpers_8) {
38
+ return helpers_8.encodeString("sdo:valueReference");
39
+ },
40
+ }], ["unit", {
41
+ Encode(helpers_9) {
42
+ return helpers_9.encodeString("sdo:unitText");
43
+ },
44
+ }], ["unitCode", {
45
+ Encode(helpers_10) {
46
+ return helpers_10.encodeString("sdo:unitCode");
47
+ },
48
+ }], ["comments", {
49
+ Encode(helpers_11) {
50
+ return helpers_11.encodeString("sdo:disambiguatingDescription");
51
+ },
52
+ }]];
53
+ return {
54
+ Encode(helpers_12) {
55
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_12)], values);
56
+ return helpers_12.encodeObject(arg);
57
+ },
58
+ };
59
+ })();
4
60
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
1
+ import { Record } from "../../../fable_modules/fable-library-js.4.22.0/Types.js";
2
+ import { record_type, string_type } from "../../../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { map } from "../../../fable_modules/fable-library-js.4.22.0/Seq.js";
4
4
 
5
5
  export class IContext extends Record {
6
6
  constructor(sdo, arc, CreativeWork, about, conformsTo) {
@@ -17,7 +17,47 @@ export function IContext_$reflection() {
17
17
  return record_type("ARCtrl.Json.ROCrateContext.ROCrate.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["CreativeWork", string_type], ["about", string_type], ["conformsTo", string_type]]);
18
18
  }
19
19
 
20
- export const conformsTo_jsonvalue = new Json(5, [[["@id", new Json(0, ["https://w3id.org/ro/crate/1.1"])]]]);
20
+ export const conformsTo_jsonvalue = (() => {
21
+ const values = [["@id", {
22
+ Encode(helpers) {
23
+ return helpers.encodeString("https://w3id.org/ro/crate/1.1");
24
+ },
25
+ }]];
26
+ return {
27
+ Encode(helpers_1) {
28
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_1)], values);
29
+ return helpers_1.encodeObject(arg);
30
+ },
31
+ };
32
+ })();
21
33
 
22
- export const context_jsonvalue = new Json(5, [[["sdo", new Json(0, ["http://schema.org/"])], ["arc", new Json(0, ["http://purl.org/nfdi4plants/ontology/"])], ["CreativeWork", new Json(0, ["sdo:CreativeWork"])], ["about", new Json(0, ["sdo:about"])], ["conformsTo", new Json(0, ["sdo:conformsTo"])]]]);
34
+ export const context_jsonvalue = (() => {
35
+ const values = [["sdo", {
36
+ Encode(helpers) {
37
+ return helpers.encodeString("http://schema.org/");
38
+ },
39
+ }], ["arc", {
40
+ Encode(helpers_1) {
41
+ return helpers_1.encodeString("http://purl.org/nfdi4plants/ontology/");
42
+ },
43
+ }], ["CreativeWork", {
44
+ Encode(helpers_2) {
45
+ return helpers_2.encodeString("sdo:CreativeWork");
46
+ },
47
+ }], ["about", {
48
+ Encode(helpers_3) {
49
+ return helpers_3.encodeString("sdo:about");
50
+ },
51
+ }], ["conformsTo", {
52
+ Encode(helpers_4) {
53
+ return helpers_4.encodeString("sdo:conformsTo");
54
+ },
55
+ }]];
56
+ return {
57
+ Encode(helpers_5) {
58
+ const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_5)], values);
59
+ return helpers_5.encodeObject(arg);
60
+ },
61
+ };
62
+ })();
23
63
 
package/Json.js CHANGED
@@ -1,9 +1,9 @@
1
- import { ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromJsonString_Static_Z721C83C5 } from "./Json/OntologyAnnotation.js";
2
- import { unwrap } from "./fable_modules/fable-library-js.4.16.0/Option.js";
3
- import { class_type } from "./fable_modules/fable-library-js.4.16.0/Reflection.js";
4
- import { ARCtrl_ArcAssay__ArcAssay_toROCrateJsonString_Static_5CABCA47, ARCtrl_ArcAssay__ArcAssay_toISAJsonString_Static_Z3B036AA, ARCtrl_ArcAssay__ArcAssay_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcAssay__ArcAssay_toJsonString_Static_71136F3F, ARCtrl_ArcAssay__ArcAssay_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcAssay__ArcAssay_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcAssay__ArcAssay_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcAssay__ArcAssay_fromJsonString_Static_Z721C83C5 } from "./Json/Assay.js";
5
- import { ARCtrl_ArcStudy__ArcStudy_toROCrateJsonString_Static_3BA23086, ARCtrl_ArcStudy__ArcStudy_toISAJsonString_Static_Z3FD920F1, ARCtrl_ArcStudy__ArcStudy_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_toJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromJsonString_Static_Z721C83C5 } from "./Json/Study.js";
6
- import { ARCtrl_ArcInvestigation__ArcInvestigation_toROCrateJsonString_Static_71136F3F, ARCtrl_ArcInvestigation__ArcInvestigation_toISAJsonString_Static_Z3B036AA, ARCtrl_ArcInvestigation__ArcInvestigation_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcInvestigation__ArcInvestigation_toJsonString_Static_71136F3F, ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcInvestigation__ArcInvestigation_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcInvestigation__ArcInvestigation_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcInvestigation__ArcInvestigation_fromJsonString_Static_Z721C83C5 } from "./Json/Investigation.js";
1
+ import { ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromJsonString_Static_Z721C83C5 } from "./JsonIO/OntologyAnnotation.js";
2
+ import { unwrap } from "./fable_modules/fable-library-js.4.22.0/Option.js";
3
+ import { class_type } from "./fable_modules/fable-library-js.4.22.0/Reflection.js";
4
+ import { ARCtrl_ArcAssay__ArcAssay_toROCrateJsonString_Static_5CABCA47, ARCtrl_ArcAssay__ArcAssay_toISAJsonString_Static_Z3B036AA, ARCtrl_ArcAssay__ArcAssay_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcAssay__ArcAssay_toJsonString_Static_71136F3F, ARCtrl_ArcAssay__ArcAssay_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcAssay__ArcAssay_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcAssay__ArcAssay_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcAssay__ArcAssay_fromJsonString_Static_Z721C83C5 } from "./JsonIO/Assay.js";
5
+ import { ARCtrl_ArcStudy__ArcStudy_toROCrateJsonString_Static_3BA23086, ARCtrl_ArcStudy__ArcStudy_toISAJsonString_Static_Z3FD920F1, ARCtrl_ArcStudy__ArcStudy_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_toJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromJsonString_Static_Z721C83C5 } from "./JsonIO/Study.js";
6
+ import { ARCtrl_ArcInvestigation__ArcInvestigation_toROCrateJsonString_Static_71136F3F, ARCtrl_ArcInvestigation__ArcInvestigation_toISAJsonString_Static_Z3B036AA, ARCtrl_ArcInvestigation__ArcInvestigation_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcInvestigation__ArcInvestigation_toJsonString_Static_71136F3F, ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcInvestigation__ArcInvestigation_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcInvestigation__ArcInvestigation_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcInvestigation__ArcInvestigation_fromJsonString_Static_Z721C83C5 } from "./JsonIO/Investigation.js";
7
7
  import { ARC } from "./ARC.js";
8
8
 
9
9
  export class JsonHelper_OntologyAnnotationJson {
@@ -30,7 +30,7 @@ export class JsonHelper_OntologyAnnotationJson {
30
30
  }
31
31
 
32
32
  export function JsonHelper_OntologyAnnotationJson_$reflection() {
33
- return class_type("ARCtrl.JsonHelper.OntologyAnnotationJson", void 0, JsonHelper_OntologyAnnotationJson);
33
+ return class_type("ARCtrl.JsonHelper.OntologyAnnotationJson", undefined, JsonHelper_OntologyAnnotationJson);
34
34
  }
35
35
 
36
36
  export function JsonHelper_OntologyAnnotationJson_$ctor() {
@@ -67,7 +67,7 @@ export class JsonHelper_AssayJson {
67
67
  }
68
68
 
69
69
  export function JsonHelper_AssayJson_$reflection() {
70
- return class_type("ARCtrl.JsonHelper.AssayJson", void 0, JsonHelper_AssayJson);
70
+ return class_type("ARCtrl.JsonHelper.AssayJson", undefined, JsonHelper_AssayJson);
71
71
  }
72
72
 
73
73
  export function JsonHelper_AssayJson_$ctor() {
@@ -104,7 +104,7 @@ export class JsonHelper_StudyJson {
104
104
  }
105
105
 
106
106
  export function JsonHelper_StudyJson_$reflection() {
107
- return class_type("ARCtrl.JsonHelper.StudyJson", void 0, JsonHelper_StudyJson);
107
+ return class_type("ARCtrl.JsonHelper.StudyJson", undefined, JsonHelper_StudyJson);
108
108
  }
109
109
 
110
110
  export function JsonHelper_StudyJson_$ctor() {
@@ -141,7 +141,7 @@ export class JsonHelper_InvestigationJson {
141
141
  }
142
142
 
143
143
  export function JsonHelper_InvestigationJson_$reflection() {
144
- return class_type("ARCtrl.JsonHelper.InvestigationJson", void 0, JsonHelper_InvestigationJson);
144
+ return class_type("ARCtrl.JsonHelper.InvestigationJson", undefined, JsonHelper_InvestigationJson);
145
145
  }
146
146
 
147
147
  export function JsonHelper_InvestigationJson_$ctor() {
@@ -160,7 +160,7 @@ export class JsonHelper_ARCJson {
160
160
  }
161
161
 
162
162
  export function JsonHelper_ARCJson_$reflection() {
163
- return class_type("ARCtrl.JsonHelper.ARCJson", void 0, JsonHelper_ARCJson);
163
+ return class_type("ARCtrl.JsonHelper.ARCJson", undefined, JsonHelper_ARCJson);
164
164
  }
165
165
 
166
166
  export function JsonHelper_ARCJson_$ctor() {
@@ -188,6 +188,6 @@ export class JsonController {
188
188
  }
189
189
 
190
190
  export function JsonController_$reflection() {
191
- return class_type("ARCtrl.JsonController", void 0, JsonController);
191
+ return class_type("ARCtrl.JsonController", undefined, JsonController);
192
192
  }
193
193
 
package/JsonIO/ARC.js ADDED
@@ -0,0 +1,31 @@
1
+ import { ofArray, choose } from "../fable_modules/fable-library-js.4.22.0/List.js";
2
+ import { map } from "../fable_modules/fable-library-js.4.22.0/Option.js";
3
+ import { tryInclude } from "../Json/Encode.js";
4
+ import { ROCrate_decoder, ROCrate_encoder } from "../Json/Investigation.js";
5
+ import { context_jsonvalue, conformsTo_jsonvalue } from "../Json/context/rocrate/rocrate_context.js";
6
+ import { map as map_1 } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
7
+ import { object } from "../fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js";
8
+
9
+ export function encoder(isa) {
10
+ const values = choose((tupledArg) => map((v_1) => [tupledArg[0], v_1], tupledArg[1]), ofArray([tryInclude("@type", (value) => ({
11
+ Encode(helpers) {
12
+ return helpers.encodeString(value);
13
+ },
14
+ }), "CreativeWork"), tryInclude("@id", (value_2) => ({
15
+ Encode(helpers_1) {
16
+ return helpers_1.encodeString(value_2);
17
+ },
18
+ }), "ro-crate-metadata.json"), tryInclude("about", ROCrate_encoder, isa), ["conformsTo", conformsTo_jsonvalue], ["@context", context_jsonvalue]]));
19
+ return {
20
+ Encode(helpers_2) {
21
+ const arg = map_1((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_2)], values);
22
+ return helpers_2.encodeObject(arg);
23
+ },
24
+ };
25
+ }
26
+
27
+ export const decoder = object((get$) => {
28
+ const objectArg = get$.Optional;
29
+ return objectArg.Field("about", ROCrate_decoder);
30
+ });
31
+