@nfdi4plants/arctrl 3.0.0-beta.3 → 3.0.0-beta.4

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 (380) hide show
  1. package/README.md +2 -0
  2. package/dist/ts/index.js +63 -0
  3. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +354 -0
  4. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +28 -0
  5. package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +186 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +8 -0
  7. package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +24 -0
  8. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +73 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +31 -0
  10. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +574 -0
  11. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +59 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +65 -0
  13. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +30 -0
  14. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +5 -0
  15. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +5 -0
  16. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +48 -0
  17. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +120 -0
  18. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +680 -0
  19. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +40 -0
  20. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +655 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +105 -0
  22. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +320 -0
  23. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +204 -0
  24. package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +10 -0
  25. package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +73 -0
  26. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +65 -0
  27. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +23 -0
  28. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +111 -0
  29. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +114 -0
  30. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +36 -0
  31. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +846 -0
  32. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +65 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +1160 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +364 -0
  35. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +40 -0
  36. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +193 -0
  37. package/dist/ts/node_modules/@fable-org/fable-library-js/Unicode.13.0.0.js +6 -0
  38. package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +160 -0
  39. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +367 -0
  40. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +825 -0
  41. package/dist/ts/ts/ARC.js +914 -0
  42. package/dist/ts/ts/Contract/ARC.js +52 -0
  43. package/dist/ts/ts/Contract/ArcAssay.js +80 -0
  44. package/dist/ts/ts/Contract/ArcInvestigation.js +57 -0
  45. package/dist/ts/ts/Contract/ArcRun.js +76 -0
  46. package/dist/ts/ts/Contract/ArcStudy.js +76 -0
  47. package/dist/ts/ts/Contract/ArcWorkflow.js +77 -0
  48. package/dist/ts/ts/Contract/Contract.js +45 -0
  49. package/dist/ts/ts/Contract/Datamap.js +221 -0
  50. package/dist/ts/ts/Contract/Git.js +57 -0
  51. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +57 -0
  52. package/dist/ts/ts/ContractIO/ContractIO.js +202 -0
  53. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -1
  54. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
  55. package/dist/ts/ts/ContractIO/FileSystemHelper.js +273 -0
  56. package/dist/ts/ts/Conversion.js +1247 -0
  57. package/dist/ts/ts/Core/ArcTypes.js +3393 -0
  58. package/dist/ts/ts/Core/Comment.js +91 -0
  59. package/dist/ts/ts/Core/CommentList.js +27 -0
  60. package/dist/ts/ts/Core/Conversion.js +923 -0
  61. package/dist/ts/ts/Core/Data.js +179 -0
  62. package/dist/ts/ts/Core/DataContext.js +108 -0
  63. package/dist/ts/ts/Core/DataFile.js +50 -0
  64. package/dist/ts/ts/Core/DataMap.js +53 -0
  65. package/dist/ts/ts/Core/Helper/Collections.js +323 -0
  66. package/dist/ts/ts/Core/Helper/HashCodes.js +35 -0
  67. package/dist/ts/ts/Core/Helper/Identifier.js +96 -0
  68. package/dist/ts/ts/Core/Helper/ORCID.js +34 -0
  69. package/dist/ts/ts/Core/Helper/Regex.js +296 -0
  70. package/dist/ts/ts/Core/Helper/SemVer.js +31 -0
  71. package/dist/ts/ts/Core/Helper/Url.js +32 -0
  72. package/dist/ts/ts/Core/IdentifierSetters.js +9 -0
  73. package/dist/ts/ts/Core/OntologyAnnotation.js +207 -0
  74. package/dist/ts/ts/Core/OntologySourceReference.js +84 -0
  75. package/dist/ts/ts/Core/Person.js +183 -0
  76. package/dist/ts/ts/Core/Process/ColumnIndex.js +73 -0
  77. package/dist/ts/ts/Core/Process/Component.js +121 -0
  78. package/dist/ts/ts/Core/Process/Factor.js +104 -0
  79. package/dist/ts/ts/Core/Process/FactorValue.js +68 -0
  80. package/dist/ts/ts/Core/Process/Material.js +49 -0
  81. package/dist/ts/ts/Core/Process/MaterialAttribute.js +30 -0
  82. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +68 -0
  83. package/dist/ts/ts/Core/Process/MaterialType.js +28 -0
  84. package/dist/ts/ts/Core/Process/Process.js +136 -0
  85. package/dist/ts/ts/Core/Process/ProcessInput.js +207 -0
  86. package/dist/ts/ts/Core/Process/ProcessOutput.js +178 -0
  87. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +135 -0
  88. package/dist/ts/ts/Core/Process/ProcessSequence.js +56 -0
  89. package/dist/ts/ts/Core/Process/Protocol.js +54 -0
  90. package/dist/ts/ts/Core/Process/ProtocolParameter.js +69 -0
  91. package/dist/ts/ts/Core/Process/Sample.js +44 -0
  92. package/dist/ts/ts/Core/Process/Source.js +38 -0
  93. package/dist/ts/ts/Core/Publication.js +108 -0
  94. package/dist/ts/ts/Core/Table/ArcTable.js +889 -0
  95. package/dist/ts/ts/Core/Table/ArcTableAux.js +993 -0
  96. package/dist/ts/ts/Core/Table/ArcTables.js +415 -0
  97. package/dist/ts/ts/Core/Table/CompositeCell.js +334 -0
  98. package/dist/ts/ts/Core/Table/CompositeColumn.js +52 -0
  99. package/dist/ts/ts/Core/Table/CompositeHeader.js +792 -0
  100. package/dist/ts/ts/Core/Template.js +180 -0
  101. package/dist/ts/ts/Core/Templates.js +75 -0
  102. package/dist/ts/ts/Core/URI.js +8 -0
  103. package/dist/ts/ts/Core/Value.js +194 -0
  104. package/dist/ts/ts/CrossAsync.js +20 -0
  105. package/dist/ts/ts/FileSystem/DefaultGitattributes.js +3 -0
  106. package/dist/ts/ts/FileSystem/DefaultGitignore.js +3 -0
  107. package/dist/ts/ts/FileSystem/FileSystem.js +48 -0
  108. package/dist/ts/ts/FileSystem/FileSystemTree.js +339 -0
  109. package/dist/ts/ts/FileSystem/Path.js +36 -0
  110. package/dist/ts/ts/Json/Assay.d.ts +1 -1
  111. package/dist/ts/ts/Json/Assay.js +221 -0
  112. package/dist/ts/ts/Json/Comment.d.ts +1 -1
  113. package/dist/ts/ts/Json/Comment.js +112 -0
  114. package/dist/ts/ts/Json/Data.d.ts +1 -1
  115. package/dist/ts/ts/Json/Data.js +138 -0
  116. package/dist/ts/ts/Json/DataFile.d.ts +1 -1
  117. package/dist/ts/ts/Json/DataFile.js +55 -0
  118. package/dist/ts/ts/Json/DataMap/DataContext.d.ts +1 -1
  119. package/dist/ts/ts/Json/DataMap/DataContext.js +39 -0
  120. package/dist/ts/ts/Json/DataMap/DataMap.d.ts +1 -1
  121. package/dist/ts/ts/Json/DataMap/DataMap.js +27 -0
  122. package/dist/ts/ts/Json/Decode.d.ts +2 -2
  123. package/dist/ts/ts/Json/Decode.js +209 -0
  124. package/dist/ts/ts/Json/Encode.d.ts +1 -1
  125. package/dist/ts/ts/Json/Encode.js +65 -0
  126. package/dist/ts/ts/Json/IDTable.d.ts +1 -1
  127. package/dist/ts/ts/Json/IDTable.js +28 -0
  128. package/dist/ts/ts/Json/Investigation.d.ts +1 -1
  129. package/dist/ts/ts/Json/Investigation.js +229 -0
  130. package/dist/ts/ts/Json/OntologyAnnotation.d.ts +1 -1
  131. package/dist/ts/ts/Json/OntologyAnnotation.js +194 -0
  132. package/dist/ts/ts/Json/OntologySourceReference.d.ts +1 -1
  133. package/dist/ts/ts/Json/OntologySourceReference.js +119 -0
  134. package/dist/ts/ts/Json/Person.d.ts +1 -1
  135. package/dist/ts/ts/Json/Person.js +316 -0
  136. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +1 -1
  137. package/dist/ts/ts/Json/Process/AssayMaterials.js +21 -0
  138. package/dist/ts/ts/Json/Process/Component.d.ts +1 -1
  139. package/dist/ts/ts/Json/Process/Component.js +41 -0
  140. package/dist/ts/ts/Json/Process/Factor.d.ts +1 -1
  141. package/dist/ts/ts/Json/Process/Factor.js +53 -0
  142. package/dist/ts/ts/Json/Process/FactorValue.d.ts +1 -1
  143. package/dist/ts/ts/Json/Process/FactorValue.js +44 -0
  144. package/dist/ts/ts/Json/Process/Material.d.ts +1 -1
  145. package/dist/ts/ts/Json/Process/Material.js +112 -0
  146. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +1 -1
  147. package/dist/ts/ts/Json/Process/MaterialAttribute.js +43 -0
  148. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +1 -1
  149. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +44 -0
  150. package/dist/ts/ts/Json/Process/MaterialType.d.ts +1 -1
  151. package/dist/ts/ts/Json/Process/MaterialType.js +45 -0
  152. package/dist/ts/ts/Json/Process/Process.d.ts +1 -1
  153. package/dist/ts/ts/Json/Process/Process.js +103 -0
  154. package/dist/ts/ts/Json/Process/ProcessInput.d.ts +1 -1
  155. package/dist/ts/ts/Json/Process/ProcessInput.js +42 -0
  156. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +1 -1
  157. package/dist/ts/ts/Json/Process/ProcessOutput.js +35 -0
  158. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +1 -1
  159. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +28 -0
  160. package/dist/ts/ts/Json/Process/Protocol.d.ts +1 -1
  161. package/dist/ts/ts/Json/Process/Protocol.js +166 -0
  162. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +1 -1
  163. package/dist/ts/ts/Json/Process/ProtocolParameter.js +43 -0
  164. package/dist/ts/ts/Json/Process/Sample.d.ts +1 -1
  165. package/dist/ts/ts/Json/Process/Sample.js +165 -0
  166. package/dist/ts/ts/Json/Process/Source.d.ts +1 -1
  167. package/dist/ts/ts/Json/Process/Source.js +133 -0
  168. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +1 -1
  169. package/dist/ts/ts/Json/Process/StudyMaterials.js +23 -0
  170. package/dist/ts/ts/Json/Process/Value.d.ts +1 -1
  171. package/dist/ts/ts/Json/Process/Value.js +41 -0
  172. package/dist/ts/ts/Json/PropertyValue.d.ts +1 -1
  173. package/dist/ts/ts/Json/PropertyValue.js +280 -0
  174. package/dist/ts/ts/Json/Publication.d.ts +1 -1
  175. package/dist/ts/ts/Json/Publication.js +123 -0
  176. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +1 -1
  177. package/dist/ts/ts/Json/ROCrate/LDContext.js +115 -0
  178. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +1 -1
  179. package/dist/ts/ts/Json/ROCrate/LDGraph.js +83 -0
  180. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +1 -1
  181. package/dist/ts/ts/Json/ROCrate/LDNode.js +190 -0
  182. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +1 -1
  183. package/dist/ts/ts/Json/ROCrate/LDRef.js +24 -0
  184. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +1 -1
  185. package/dist/ts/ts/Json/ROCrate/LDValue.js +63 -0
  186. package/dist/ts/ts/Json/StringTable.d.ts +1 -1
  187. package/dist/ts/ts/Json/StringTable.js +66 -0
  188. package/dist/ts/ts/Json/Study.d.ts +1 -1
  189. package/dist/ts/ts/Json/Study.js +326 -0
  190. package/dist/ts/ts/Json/Table/ArcTable.d.ts +1 -1
  191. package/dist/ts/ts/Json/Table/ArcTable.js +210 -0
  192. package/dist/ts/ts/Json/Table/CellTable.d.ts +1 -1
  193. package/dist/ts/ts/Json/Table/CellTable.js +53 -0
  194. package/dist/ts/ts/Json/Table/CompositeCell.d.ts +1 -1
  195. package/dist/ts/ts/Json/Table/CompositeCell.js +106 -0
  196. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +1 -1
  197. package/dist/ts/ts/Json/Table/CompositeHeader.js +121 -0
  198. package/dist/ts/ts/Json/Table/IOType.d.ts +1 -1
  199. package/dist/ts/ts/Json/Table/IOType.js +15 -0
  200. package/dist/ts/ts/Json/Table/OATable.d.ts +1 -1
  201. package/dist/ts/ts/Json/Table/OATable.js +50 -0
  202. package/dist/ts/ts/Json/Table/Templates.d.ts +1 -1
  203. package/dist/ts/ts/Json/Table/Templates.js +15 -0
  204. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +1 -1
  205. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +61 -0
  206. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +1 -1
  207. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +29 -0
  208. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +1 -1
  209. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +41 -0
  210. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +1 -1
  211. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +69 -0
  212. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +1 -1
  213. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +37 -0
  214. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +1 -1
  215. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +37 -0
  216. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +1 -1
  217. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +41 -0
  218. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +1 -1
  219. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +25 -0
  220. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +1 -1
  221. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +86 -0
  222. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +1 -1
  223. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +57 -0
  224. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +1 -1
  225. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +61 -0
  226. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +1 -1
  227. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +45 -0
  228. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +1 -1
  229. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +33 -0
  230. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +1 -1
  231. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +33 -0
  232. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +1 -1
  233. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +77 -0
  234. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
  235. package/dist/ts/ts/Json/context/rocrate/property_value_context.js +61 -0
  236. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +1 -1
  237. package/dist/ts/ts/Json.js +171 -0
  238. package/dist/ts/ts/JsonIO/Assay.js +77 -0
  239. package/dist/ts/ts/JsonIO/Investigation.js +77 -0
  240. package/dist/ts/ts/JsonIO/LDObject.js +77 -0
  241. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +56 -0
  242. package/dist/ts/ts/JsonIO/Study.js +77 -0
  243. package/dist/ts/ts/JsonIO/Table/Compression.d.ts +1 -1
  244. package/dist/ts/ts/JsonIO/Table/Compression.js +39 -0
  245. package/dist/ts/ts/JsonIO/Table/Templates.d.ts +1 -1
  246. package/dist/ts/ts/JsonIO/Table/Templates.js +25 -0
  247. package/dist/ts/ts/ROCrate/Generic/Comment.js +103 -0
  248. package/dist/ts/ts/ROCrate/Generic/Dataset.js +624 -0
  249. package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +103 -0
  250. package/dist/ts/ts/ROCrate/Generic/File.js +184 -0
  251. package/dist/ts/ts/ROCrate/Generic/LabProcess.js +222 -0
  252. package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +257 -0
  253. package/dist/ts/ts/ROCrate/Generic/Organization.js +63 -0
  254. package/dist/ts/ts/ROCrate/Generic/Person.js +377 -0
  255. package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +143 -0
  256. package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +512 -0
  257. package/dist/ts/ts/ROCrate/Generic/Sample.js +131 -0
  258. package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +173 -0
  259. package/dist/ts/ts/ROCrate/Helper.js +7 -0
  260. package/dist/ts/ts/ROCrate/LDContext.js +288 -0
  261. package/dist/ts/ts/ROCrate/LDObject.js +855 -0
  262. package/dist/ts/ts/ROCrate/ROCrateContext.js +39 -0
  263. package/dist/ts/ts/ROCrateIO.d.ts +1 -1
  264. package/dist/ts/ts/ROCrateIO.js +58 -0
  265. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +2 -2
  266. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  267. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +149 -0
  268. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +63 -0
  269. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +2 -2
  270. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  271. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +108 -0
  272. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +410 -0
  273. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +2 -2
  274. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  275. package/dist/ts/ts/Spreadsheet/ArcAssay.js +169 -0
  276. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +2 -2
  277. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
  278. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +316 -0
  279. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +2 -2
  280. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  281. package/dist/ts/ts/Spreadsheet/ArcRun.js +136 -0
  282. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +2 -2
  283. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  284. package/dist/ts/ts/Spreadsheet/ArcStudy.js +92 -0
  285. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +2 -2
  286. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  287. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +125 -0
  288. package/dist/ts/ts/Spreadsheet/CollectionAux.js +34 -0
  289. package/dist/ts/ts/Spreadsheet/DataMap.d.ts +1 -1
  290. package/dist/ts/ts/Spreadsheet/DataMap.d.ts.map +1 -1
  291. package/dist/ts/ts/Spreadsheet/DataMap.js +33 -0
  292. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts +2 -2
  293. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts.map +1 -1
  294. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +41 -0
  295. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts +1 -1
  296. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts.map +1 -1
  297. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +418 -0
  298. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts +3 -3
  299. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +1 -1
  300. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +85 -0
  301. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +90 -0
  302. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +58 -0
  303. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +85 -0
  304. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +133 -0
  305. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +15 -0
  306. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +74 -0
  307. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +58 -0
  308. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +62 -0
  309. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +94 -0
  310. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +81 -0
  311. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +91 -0
  312. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +3 -3
  313. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  314. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +193 -0
  315. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +238 -0
  316. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +105 -0
  317. package/dist/ts/ts/Template.Web.js +22 -0
  318. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +53 -0
  319. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +78 -0
  320. package/dist/ts/ts/WebRequest/WebRequest.Node.js +13 -0
  321. package/dist/ts/ts/WebRequest/WebRequest.js +19 -0
  322. package/dist/ts/ts/Xlsx.d.ts +1 -1
  323. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  324. package/dist/ts/ts/Xlsx.js +91 -0
  325. package/dist/ts/ts/Yaml/Encode.js +8 -0
  326. package/dist/ts/ts/Yaml/ValidationPackage.js +26 -0
  327. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +40 -0
  328. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +344 -0
  329. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +103 -0
  330. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +19 -0
  331. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +17 -0
  332. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +7 -0
  333. package/dist/ts/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +5 -0
  334. package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +18 -0
  335. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +44 -0
  336. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +5 -0
  337. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +142 -0
  338. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +76 -0
  339. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +359 -0
  340. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +344 -0
  341. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +154 -0
  342. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +116 -0
  343. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +126 -0
  344. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +135 -0
  345. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +422 -0
  346. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +5 -0
  347. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +25 -0
  348. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +28 -0
  349. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -0
  350. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +69 -0
  351. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +42 -0
  352. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +29 -0
  353. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +348 -0
  354. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +86 -0
  355. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +68 -0
  356. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +12 -0
  357. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +54 -0
  358. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +33 -0
  359. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +63 -0
  360. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +66 -0
  361. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +544 -0
  362. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +31 -0
  363. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +38 -0
  364. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +79 -0
  365. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js +57 -0
  366. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +235 -0
  367. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +16 -0
  368. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +45 -0
  369. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +89 -0
  370. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +480 -0
  371. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +11 -0
  372. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +212 -0
  373. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +164 -0
  374. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +136 -0
  375. package/package.json +10 -7
  376. package/dist/ts/__vite-browser-external-2447137e.js +0 -4
  377. package/dist/ts/__vite-browser-external-b3701507.cjs +0 -1
  378. package/dist/ts/arctrl.cjs.js +0 -5691
  379. package/dist/ts/arctrl.es.js +0 -35562
  380. package/dist/ts/arctrl.umd.js +0 -5691
@@ -0,0 +1,180 @@
1
+ import { safeHash, equals } from '../../node_modules/@fable-org/fable-library-js/Util.js';
2
+ import { Union } from '../../node_modules/@fable-org/fable-library-js/Types.js';
3
+ import { ArcTable } from './Table/ArcTable.js';
4
+ import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
5
+ import { newGuid } from '../../node_modules/@fable-org/fable-library-js/Guid.js';
6
+ import { SemVer_tryOfString_Z721C83C5 } from './Helper/SemVer.js';
7
+ import { ResizeArray_map } from './Helper/Collections.js';
8
+ import { boxHashArray, boxHashSeq, hashDateTime } from './Helper/HashCodes.js';
9
+ import { now } from '../../node_modules/@fable-org/fable-library-js/Date.js';
10
+
11
+ function Organisation_DataPLANT() {
12
+ return new Organisation(0, []);
13
+ }
14
+ function Organisation_Other(Item) {
15
+ return new Organisation(1, [Item]);
16
+ }
17
+ class Organisation extends Union {
18
+ constructor(tag, fields) {
19
+ super();
20
+ this.tag = tag;
21
+ this.fields = fields;
22
+ }
23
+ cases() {
24
+ return ["DataPLANT", "Other"];
25
+ }
26
+ static ofString(str) {
27
+ return str.toLocaleLowerCase() === "dataplant" ? Organisation_DataPLANT() : Organisation_Other(str);
28
+ }
29
+ toString() {
30
+ const this$ = this;
31
+ return this$.tag === /* Other */
32
+ 1 ? this$.fields[0] : "DataPLANT";
33
+ }
34
+ IsOfficial() {
35
+ const this$ = this;
36
+ return equals(this$, Organisation_DataPLANT());
37
+ }
38
+ }
39
+ class Template {
40
+ constructor(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated) {
41
+ const name_1 = defaultArg(name, "");
42
+ const description_1 = defaultArg(description, "");
43
+ const organisation_1 = defaultArg(organisation, Organisation_Other("Custom Organisation"));
44
+ const version_1 = defaultArg(version, "0.0.0");
45
+ const authors_1 = defaultArg(authors, []);
46
+ const repos_1 = defaultArg(repos, []);
47
+ const tags_1 = defaultArg(tags, []);
48
+ const lastUpdated_1 = defaultArg(lastUpdated, now());
49
+ this["Id@"] = id;
50
+ this["Table@"] = table;
51
+ this["Name@"] = name_1;
52
+ this["Description@"] = description_1;
53
+ this["Organisation@"] = organisation_1;
54
+ this["Version@"] = version_1;
55
+ this["Authors@"] = authors_1;
56
+ this["EndpointRepositories@"] = repos_1;
57
+ this["Tags@"] = tags_1;
58
+ this["LastUpdated@"] = lastUpdated_1;
59
+ }
60
+ get Id() {
61
+ const __ = this;
62
+ return __["Id@"];
63
+ }
64
+ set Id(v) {
65
+ const __ = this;
66
+ __["Id@"] = v;
67
+ }
68
+ get Table() {
69
+ const __ = this;
70
+ return __["Table@"];
71
+ }
72
+ set Table(v) {
73
+ const __ = this;
74
+ __["Table@"] = v;
75
+ }
76
+ get Name() {
77
+ const __ = this;
78
+ return __["Name@"];
79
+ }
80
+ set Name(v) {
81
+ const __ = this;
82
+ __["Name@"] = v;
83
+ }
84
+ get Description() {
85
+ const __ = this;
86
+ return __["Description@"];
87
+ }
88
+ set Description(v) {
89
+ const __ = this;
90
+ __["Description@"] = v;
91
+ }
92
+ get Organisation() {
93
+ const __ = this;
94
+ return __["Organisation@"];
95
+ }
96
+ set Organisation(v) {
97
+ const __ = this;
98
+ __["Organisation@"] = v;
99
+ }
100
+ get Version() {
101
+ const __ = this;
102
+ return __["Version@"];
103
+ }
104
+ set Version(v) {
105
+ const __ = this;
106
+ __["Version@"] = v;
107
+ }
108
+ get Authors() {
109
+ const __ = this;
110
+ return __["Authors@"];
111
+ }
112
+ set Authors(v) {
113
+ const __ = this;
114
+ __["Authors@"] = v;
115
+ }
116
+ get EndpointRepositories() {
117
+ const __ = this;
118
+ return __["EndpointRepositories@"];
119
+ }
120
+ set EndpointRepositories(v) {
121
+ const __ = this;
122
+ __["EndpointRepositories@"] = v;
123
+ }
124
+ get Tags() {
125
+ const __ = this;
126
+ return __["Tags@"];
127
+ }
128
+ set Tags(v) {
129
+ const __ = this;
130
+ __["Tags@"] = v;
131
+ }
132
+ get LastUpdated() {
133
+ const __ = this;
134
+ return __["LastUpdated@"];
135
+ }
136
+ set LastUpdated(v) {
137
+ const __ = this;
138
+ __["LastUpdated@"] = v;
139
+ }
140
+ static make(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated) {
141
+ return new Template(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated);
142
+ }
143
+ static create(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated) {
144
+ return new Template(id, table, unwrap(name), unwrap(description), unwrap(organisation), unwrap(version), unwrap(authors), unwrap(repos), unwrap(tags), unwrap(lastUpdated));
145
+ }
146
+ static init(templateName) {
147
+ return new Template(newGuid(), ArcTable.init(templateName), templateName);
148
+ }
149
+ get SemVer() {
150
+ const this$ = this;
151
+ return unwrap(SemVer_tryOfString_Z721C83C5(this$.Version));
152
+ }
153
+ ReferenceEquals(other) {
154
+ const this$ = this;
155
+ return this$ === other;
156
+ }
157
+ StructurallyEquals(other) {
158
+ const this$ = this;
159
+ return safeHash(this$) === safeHash(other);
160
+ }
161
+ Copy() {
162
+ const this$ = this;
163
+ const nextAuthors = ResizeArray_map((c) => c.Copy(), this$.Authors);
164
+ const nextRepos = ResizeArray_map((c_1) => c_1.Copy(), this$.EndpointRepositories);
165
+ const nextTags = ResizeArray_map((c_2) => c_2.Copy(), this$.Tags);
166
+ return Template.create(this$.Id, this$.Table.Copy(), this$.Name, this$.Description, this$.Organisation, this$.Version, nextAuthors, nextRepos, nextTags, this$.LastUpdated);
167
+ }
168
+ Equals(other) {
169
+ let template;
170
+ const this$ = this;
171
+ return other instanceof Template && (template = other, this$.StructurallyEquals(template));
172
+ }
173
+ GetHashCode() {
174
+ let copyOfStruct;
175
+ const this$ = this;
176
+ return boxHashArray([(copyOfStruct = this$.Id, copyOfStruct), safeHash(this$.Table), this$.Name, safeHash(this$.Organisation), this$.Version, boxHashSeq(this$.Authors), boxHashSeq(this$.EndpointRepositories), boxHashSeq(this$.Tags), hashDateTime(this$.LastUpdated)]) | 0;
177
+ }
178
+ }
179
+
180
+ export { Organisation, Organisation_DataPLANT, Organisation_Other, Template };
@@ -0,0 +1,75 @@
1
+ import { value, defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
+ import { ResizeArray_distinct, ResizeArray_collect, ResizeArray_append, ResizeArray_filter } from './Helper/Collections.js';
3
+ import { uncurry2, getEnumerator, safeHash, equals, disposeSafe } from '../../node_modules/@fable-org/fable-library-js/Util.js';
4
+ import { contains } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
5
+ import { item, addRangeInPlace } from '../../node_modules/@fable-org/fable-library-js/Array.js';
6
+ import { Array_distinct } from '../../node_modules/@fable-org/fable-library-js/Seq2.js';
7
+
8
+ function TemplatesAux_getComparer(matchAll) {
9
+ if (defaultArg(matchAll, false)) {
10
+ return (e) => (e_1) => e && e_1;
11
+ } else {
12
+ return (e_2) => (e_3) => e_2 || e_3;
13
+ }
14
+ }
15
+ function TemplatesAux_filterOnTags(tagGetter, queryTags, comparer, templates) {
16
+ return ResizeArray_filter((t) => {
17
+ const templateTags = tagGetter(t);
18
+ let isValid = void 0;
19
+ let enumerator = getEnumerator(queryTags);
20
+ try {
21
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
22
+ const contains$1 = contains(enumerator["System.Collections.Generic.IEnumerator`1.get_Current"](), templateTags, {
23
+ Equals: equals,
24
+ GetHashCode: safeHash
25
+ });
26
+ const isValid_1 = isValid;
27
+ if (isValid_1 != null) {
28
+ const maybe = value(isValid_1);
29
+ isValid = comparer(maybe, contains$1);
30
+ } else {
31
+ isValid = contains$1;
32
+ }
33
+ }
34
+ } finally {
35
+ disposeSafe(enumerator);
36
+ }
37
+ return defaultArg(isValid, false);
38
+ }, templates);
39
+ }
40
+ class Templates {
41
+ constructor() {
42
+ }
43
+ static getDistinctTags(templates) {
44
+ return ResizeArray_distinct(ResizeArray_collect((t) => t.Tags, templates));
45
+ }
46
+ static getDistinctEndpointRepositories(templates) {
47
+ return ResizeArray_distinct(ResizeArray_collect((t) => t.EndpointRepositories, templates));
48
+ }
49
+ static getDistinctOntologyAnnotations(templates) {
50
+ const oas = [];
51
+ for (let idx = 0; idx <= templates.length - 1; idx++) {
52
+ const t = item(idx, templates);
53
+ addRangeInPlace(t.Tags, oas);
54
+ addRangeInPlace(t.EndpointRepositories, oas);
55
+ }
56
+ return Array_distinct(Array.from(oas), {
57
+ Equals: equals,
58
+ GetHashCode: safeHash
59
+ });
60
+ }
61
+ static filterByTags(queryTags, matchAll) {
62
+ return (templates) => TemplatesAux_filterOnTags((t) => t.Tags, queryTags, uncurry2(TemplatesAux_getComparer(matchAll)), templates);
63
+ }
64
+ static filterByEndpointRepositories(queryTags, matchAll) {
65
+ return (templates) => TemplatesAux_filterOnTags((t) => t.EndpointRepositories, queryTags, uncurry2(TemplatesAux_getComparer(matchAll)), templates);
66
+ }
67
+ static filterByOntologyAnnotation(queryTags, matchAll) {
68
+ return (templates) => TemplatesAux_filterOnTags((t) => ResizeArray_append(t.Tags, t.EndpointRepositories), queryTags, uncurry2(TemplatesAux_getComparer(matchAll)), templates);
69
+ }
70
+ static filterByDataPLANT(templates) {
71
+ return ResizeArray_filter((t) => t.Organisation.IsOfficial(), templates);
72
+ }
73
+ }
74
+
75
+ export { Templates, TemplatesAux_filterOnTags, TemplatesAux_getComparer };
@@ -0,0 +1,8 @@
1
+ function URIModule_fromString(s) {
2
+ return s;
3
+ }
4
+ function URIModule_toString(s) {
5
+ return s;
6
+ }
7
+
8
+ export { URIModule_fromString, URIModule_toString };
@@ -0,0 +1,194 @@
1
+ import { tryParse } from '../../node_modules/@fable-org/fable-library-js/Int32.js';
2
+ import { Union, FSharpRef, toString } from '../../node_modules/@fable-org/fable-library-js/Types.js';
3
+ import { tryParse as tryParse$1 } from '../../node_modules/@fable-org/fable-library-js/Double.js';
4
+ import { OntologyAnnotation } from './OntologyAnnotation.js';
5
+ import { defaultArg, unwrap, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
6
+ import { int32ToString } from '../../node_modules/@fable-org/fable-library-js/Util.js';
7
+ import { toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
8
+
9
+ function Value_Ontology(Item) {
10
+ return new Value(0, [Item]);
11
+ }
12
+ function Value_Int(Item) {
13
+ return new Value(1, [Item]);
14
+ }
15
+ function Value_Float(Item) {
16
+ return new Value(2, [Item]);
17
+ }
18
+ function Value_Name(Item) {
19
+ return new Value(3, [Item]);
20
+ }
21
+ class Value extends Union {
22
+ constructor(tag, fields) {
23
+ super();
24
+ this.tag = tag;
25
+ this.fields = fields;
26
+ }
27
+ cases() {
28
+ return ["Ontology", "Int", "Float", "Name"];
29
+ }
30
+ static fromString(value) {
31
+ let matchValue;
32
+ let outArg = 0;
33
+ matchValue = [tryParse(value, 511, false, 32, new FSharpRef(() => outArg, (v) => {
34
+ outArg = v | 0;
35
+ })), outArg];
36
+ if (matchValue[0]) {
37
+ return Value_Int(matchValue[1]);
38
+ } else {
39
+ let matchValue_1;
40
+ let outArg_1 = 0;
41
+ matchValue_1 = [tryParse$1(value, new FSharpRef(() => outArg_1, (v_2) => {
42
+ outArg_1 = v_2;
43
+ })), outArg_1];
44
+ return matchValue_1[0] ? Value_Float(matchValue_1[1]) : Value_Name(value);
45
+ }
46
+ }
47
+ static fromOptions(value$1, termSource, termAccesssion) {
48
+ let value_1;
49
+ return value$1 == null ? termSource == null ? termAccesssion == null ? void 0 : Value_Ontology(OntologyAnnotation.create(defaultArg(value$1, ""), unwrap(termSource), unwrap(termAccesssion))) : Value_Ontology(OntologyAnnotation.create(defaultArg(value$1, ""), unwrap(termSource), unwrap(termAccesssion))) : termSource == null ? termAccesssion == null ? (value_1 = value(value$1), Value.fromString(value_1)) : Value_Ontology(OntologyAnnotation.create(defaultArg(value$1, ""), unwrap(termSource), unwrap(termAccesssion))) : Value_Ontology(OntologyAnnotation.create(defaultArg(value$1, ""), unwrap(termSource), unwrap(termAccesssion)));
50
+ }
51
+ static toOptions(value) {
52
+ switch (value.tag) {
53
+ case /* Int */
54
+ 1:
55
+ return [int32ToString(value.fields[0]), void 0, void 0];
56
+ case /* Float */
57
+ 2: {
58
+ const f = value.fields[0];
59
+ return [f.toString(), void 0, void 0];
60
+ }
61
+ case /* Name */
62
+ 3:
63
+ return [value.fields[0], void 0, void 0];
64
+ default: {
65
+ const oa = value.fields[0];
66
+ return [oa.Name, oa.TermAccessionNumber, oa.TermSourceREF];
67
+ }
68
+ }
69
+ }
70
+ get Text() {
71
+ const this$ = this;
72
+ switch (this$.tag) {
73
+ case /* Float */
74
+ 2: {
75
+ const f = this$.fields[0];
76
+ return f.toString();
77
+ }
78
+ case /* Int */
79
+ 1:
80
+ return int32ToString(this$.fields[0]);
81
+ case /* Name */
82
+ 3:
83
+ return this$.fields[0];
84
+ default: {
85
+ const oa = this$.fields[0];
86
+ return oa.NameText;
87
+ }
88
+ }
89
+ }
90
+ AsName() {
91
+ const this$ = this;
92
+ if (this$.tag === /* Name */
93
+ 3) {
94
+ return this$.fields[0];
95
+ } else {
96
+ throw new Error(`Value ${this$} is not of case name`);
97
+ }
98
+ }
99
+ AsInt() {
100
+ const this$ = this;
101
+ if (this$.tag === /* Int */
102
+ 1) {
103
+ return this$.fields[0] | 0;
104
+ } else {
105
+ throw new Error(`Value ${this$} is not of case int`);
106
+ }
107
+ }
108
+ AsFloat() {
109
+ const this$ = this;
110
+ if (this$.tag === /* Float */
111
+ 2) {
112
+ return this$.fields[0];
113
+ } else {
114
+ throw new Error(`Value ${this$} is not of case float`);
115
+ }
116
+ }
117
+ AsOntology() {
118
+ const this$ = this;
119
+ if (this$.tag === /* Ontology */
120
+ 0) {
121
+ return this$.fields[0];
122
+ } else {
123
+ throw new Error(`Value ${this$} is not of case ontology`);
124
+ }
125
+ }
126
+ get IsAnOntology() {
127
+ const this$ = this;
128
+ if (this$.tag === /* Ontology */
129
+ 0) {
130
+ this$.fields[0];
131
+ return true;
132
+ } else {
133
+ return false;
134
+ }
135
+ }
136
+ get IsNumerical() {
137
+ const this$ = this;
138
+ switch (this$.tag) {
139
+ case /* Int */
140
+ 1:
141
+ case /* Float */
142
+ 2:
143
+ return true;
144
+ default:
145
+ return false;
146
+ }
147
+ }
148
+ get IsAnInt() {
149
+ const this$ = this;
150
+ return this$.tag === /* Int */
151
+ 1;
152
+ }
153
+ get IsAFloat() {
154
+ const this$ = this;
155
+ return this$.tag === /* Float */
156
+ 2;
157
+ }
158
+ get IsAText() {
159
+ const this$ = this;
160
+ return this$.tag === /* Name */
161
+ 3;
162
+ }
163
+ static getText(v) {
164
+ return v.Text;
165
+ }
166
+ Print() {
167
+ const this$ = this;
168
+ return toString(this$);
169
+ }
170
+ PrintCompact() {
171
+ const this$ = this;
172
+ switch (this$.tag) {
173
+ case /* Int */
174
+ 1: {
175
+ const i = this$.fields[0] | 0;
176
+ return toText(printf("%i"))(i);
177
+ }
178
+ case /* Float */
179
+ 2: {
180
+ const f = this$.fields[0];
181
+ return toText(printf("%f"))(f);
182
+ }
183
+ case /* Name */
184
+ 3:
185
+ return this$.fields[0];
186
+ default: {
187
+ const oa = this$.fields[0];
188
+ return oa.NameText;
189
+ }
190
+ }
191
+ }
192
+ }
193
+
194
+ export { Value, Value_Float, Value_Int, Value_Name, Value_Ontology };
@@ -0,0 +1,20 @@
1
+ import { PromiseBuilder__Run_212F1D4B, PromiseBuilder__Delay_62FBFDE1 } from './fable_modules/Fable.Promise.3.2.0/Promise.fs.js';
2
+ import { promise } from './fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js';
3
+ import { append } from '../node_modules/@fable-org/fable-library-js/Array.js';
4
+ import { getEnumerator } from '../node_modules/@fable-org/fable-library-js/Util.js';
5
+
6
+ function startSequential(starterF, tasks) {
7
+ const loop = (en) => PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => en["System.Collections.IEnumerator.MoveNext"]() ? starterF(en["System.Collections.Generic.IEnumerator`1.get_Current"]()).then((_arg) => loop(en).then((_arg_1) => Promise.resolve(append([_arg], _arg_1)))) : Promise.resolve([])));
8
+ return loop(getEnumerator(tasks));
9
+ }
10
+ function all(tasks) {
11
+ return Promise.all(tasks);
12
+ }
13
+ function map(f, v) {
14
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => v.then((_arg) => Promise.resolve(f(_arg)))));
15
+ }
16
+ function catchWith(f, p) {
17
+ return p.catch(f);
18
+ }
19
+
20
+ export { all, catchWith, map, startSequential };
@@ -0,0 +1,3 @@
1
+ const dga = "**/dataset/** filter=lfs diff=lfs merge=lfs -text";
2
+
3
+ export { dga };
@@ -0,0 +1,3 @@
1
+ const dgi = "# ----- macos rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/macOS.gitignore\r\n# General\r\n.DS_Store\r\n.AppleDouble\r\n.LSOverride\r\n# Icon must end with two \\r\r\nIcon\r\n# Thumbnails\r\n._*\r\n# Files that might appear in the root of a volume\r\n.DocumentRevisions-V100\r\n.fseventsd\r\n.Spotlight-V100\r\n.TemporaryItems\r\n.Trashes\r\n.VolumeIcon.icns\r\n.com.apple.timemachine.donotpresent\r\n# Directories potentially created on remote AFP share\r\n.AppleDB\r\n.AppleDesktop\r\nNetwork Trash Folder\r\nTemporary Items\r\n.apdisk\r\n# ----- windows rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/Windows.gitignore\r\n# Windows thumbnail cache files\r\nThumbs.db\r\nThumbs.db:encryptable\r\nehthumbs.db\r\nehthumbs_vista.db\r\n# Dump file\r\n*.stackdump\r\n# Folder config file\r\n[Dd]esktop.ini\r\n# Recycle Bin used on file shares\r\n$RECYCLE.BIN/\r\n# Windows Installer files\r\n*.cab\r\n*.msi\r\n*.msix\r\n*.msm\r\n*.msp\r\n# Windows shortcuts\r\n*.lnk\r\n# ----- linux rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/Linux.gitignore\r\n*~\r\n# temporary files which can be created if a process still has a handle open of a deleted file\r\n.fuse_hidden*\r\n# KDE directory preferences\r\n.directory\r\n# Linux trash folder which might appear on any partition or disk\r\n.Trash-*\r\n# .nfs files are created when an open file is removed but is still being accessed\r\n.nfs*\r\n";
2
+
3
+ export { dgi };
@@ -0,0 +1,48 @@
1
+ import { defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
+ import { Record } from '../../node_modules/@fable-org/fable-library-js/Types.js';
3
+ import { FileSystemTree } from './FileSystemTree.js';
4
+ import { append, map } from '../../node_modules/@fable-org/fable-library-js/Array.js';
5
+
6
+ class FileSystem extends Record {
7
+ constructor(Tree, History) {
8
+ super();
9
+ this.Tree = Tree;
10
+ this.History = History;
11
+ }
12
+ static create({ tree, history }) {
13
+ return new FileSystem(tree, defaultArg(history, []));
14
+ }
15
+ AddFile(path) {
16
+ const this$ = this;
17
+ return new FileSystem(this$.Tree.AddFile(path), this$.History);
18
+ }
19
+ static addFile(path) {
20
+ return (fs) => fs.AddFile(path);
21
+ }
22
+ static fromFilePaths(paths) {
23
+ const tree = FileSystemTree.fromFilePaths(paths);
24
+ return FileSystem.create({
25
+ tree
26
+ });
27
+ }
28
+ Union(other) {
29
+ const this$ = this;
30
+ const tree = this$.Tree.Union(other.Tree);
31
+ const history = append(this$.History, other.History);
32
+ return FileSystem.create({
33
+ tree,
34
+ history
35
+ });
36
+ }
37
+ Copy() {
38
+ const this$ = this;
39
+ const fstCopy = this$.Tree.Copy();
40
+ const historyCopy = map((x) => x, this$.History);
41
+ return FileSystem.create({
42
+ tree: fstCopy,
43
+ history: historyCopy
44
+ });
45
+ }
46
+ }
47
+
48
+ export { FileSystem };