@nfdi4plants/arctrl 2.2.3 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. package/ARC.js +63 -23
  2. package/CWL/CWLTypes.js +3 -3
  3. package/CWL/Decode.js +7 -7
  4. package/CWL/Inputs.js +4 -4
  5. package/CWL/Outputs.js +4 -4
  6. package/CWL/Requirements.js +3 -3
  7. package/CWL/ToolDescription.js +2 -2
  8. package/CWL/WorkflowDescription.js +2 -2
  9. package/CWL/WorkflowSteps.js +3 -3
  10. package/Contract/ArcAssay.js +4 -4
  11. package/Contract/ArcInvestigation.js +2 -2
  12. package/Contract/ArcStudy.js +4 -4
  13. package/Contract/Contract.js +3 -3
  14. package/Contract/Datamap.js +2 -2
  15. package/Contract/Git.js +4 -4
  16. package/Contract/ValidationPackagesConfig.js +2 -2
  17. package/ContractIO/ContractIO.js +204 -0
  18. package/ContractIO/FileSystemHelper.js +130 -0
  19. package/Core/ArcTypes.js +9 -9
  20. package/Core/Comment.js +8 -8
  21. package/Core/CommentList.js +4 -4
  22. package/Core/Conversion.js +11 -11
  23. package/Core/Data.js +5 -5
  24. package/Core/DataContext.js +2 -2
  25. package/Core/DataFile.js +2 -2
  26. package/Core/DataMap.js +3 -3
  27. package/Core/Helper/Collections.js +8 -8
  28. package/Core/Helper/HashCodes.js +5 -5
  29. package/Core/Helper/Identifier.js +1 -1
  30. package/Core/Helper/Regex.js +3 -3
  31. package/Core/Helper/SemVer.js +6 -6
  32. package/Core/OntologyAnnotation.js +7 -7
  33. package/Core/OntologySourceReference.js +3 -3
  34. package/Core/Person.js +9 -9
  35. package/Core/Process/ColumnIndex.js +5 -5
  36. package/Core/Process/Component.js +4 -4
  37. package/Core/Process/Factor.js +5 -5
  38. package/Core/Process/FactorValue.js +5 -5
  39. package/Core/Process/Material.js +5 -5
  40. package/Core/Process/MaterialAttribute.js +3 -3
  41. package/Core/Process/MaterialAttributeValue.js +5 -5
  42. package/Core/Process/MaterialType.js +2 -2
  43. package/Core/Process/Process.js +8 -8
  44. package/Core/Process/ProcessInput.js +5 -5
  45. package/Core/Process/ProcessOutput.js +5 -5
  46. package/Core/Process/ProcessParameterValue.js +5 -5
  47. package/Core/Process/ProcessSequence.js +6 -6
  48. package/Core/Process/Protocol.js +5 -5
  49. package/Core/Process/ProtocolParameter.js +3 -3
  50. package/Core/Process/Sample.js +5 -5
  51. package/Core/Process/Source.js +5 -5
  52. package/Core/Publication.js +8 -8
  53. package/Core/Table/ArcTable.js +13 -13
  54. package/Core/Table/ArcTableAux.js +15 -15
  55. package/Core/Table/ArcTables.js +9 -9
  56. package/Core/Table/CompositeCell.js +3 -3
  57. package/Core/Table/CompositeColumn.js +4 -4
  58. package/Core/Table/CompositeHeader.js +4 -4
  59. package/Core/Template.js +6 -6
  60. package/Core/Templates.js +6 -6
  61. package/Core/Value.js +7 -7
  62. package/CrossAsync.js +34 -0
  63. package/FileSystem/Commit.js +2 -2
  64. package/FileSystem/FileSystem.js +4 -4
  65. package/FileSystem/FileSystemTree.js +8 -8
  66. package/FileSystem/Path.js +2 -2
  67. package/FileSystem.js +102 -0
  68. package/Json/ARC.js +3 -3
  69. package/Json/Assay.js +4 -4
  70. package/Json/Comment.js +5 -5
  71. package/Json/ConverterOptions.js +2 -2
  72. package/Json/Data.js +4 -4
  73. package/Json/DataFile.js +1 -1
  74. package/Json/DataMap/DataContext.js +3 -3
  75. package/Json/DataMap/DataMap.js +1 -1
  76. package/Json/Decode.js +9 -9
  77. package/Json/Encode.js +5 -5
  78. package/Json/IDTable.js +3 -3
  79. package/Json/Investigation.js +5 -5
  80. package/Json/LDObject.js +6 -6
  81. package/Json/OntologyAnnotation.js +5 -5
  82. package/Json/OntologySourceReference.js +4 -4
  83. package/Json/Person.js +5 -5
  84. package/Json/Process/AssayMaterials.js +3 -3
  85. package/Json/Process/Component.js +3 -3
  86. package/Json/Process/Factor.js +3 -3
  87. package/Json/Process/FactorValue.js +3 -3
  88. package/Json/Process/Material.js +4 -4
  89. package/Json/Process/MaterialAttribute.js +3 -3
  90. package/Json/Process/MaterialAttributeValue.js +3 -3
  91. package/Json/Process/MaterialType.js +1 -1
  92. package/Json/Process/Process.js +4 -4
  93. package/Json/Process/ProcessInput.js +1 -1
  94. package/Json/Process/ProcessOutput.js +1 -1
  95. package/Json/Process/ProcessParameterValue.js +3 -3
  96. package/Json/Process/Protocol.js +4 -4
  97. package/Json/Process/ProtocolParameter.js +3 -3
  98. package/Json/Process/Sample.js +5 -5
  99. package/Json/Process/Source.js +4 -4
  100. package/Json/Process/StudyMaterials.js +3 -3
  101. package/Json/Process/Value.js +1 -1
  102. package/Json/PropertyValue.js +3 -3
  103. package/Json/Publication.js +4 -4
  104. package/Json/StringTable.js +4 -4
  105. package/Json/Study.js +5 -5
  106. package/Json/Table/ArcTable.js +10 -10
  107. package/Json/Table/CellTable.js +4 -4
  108. package/Json/Table/CompositeCell.js +3 -3
  109. package/Json/Table/CompositeHeader.js +2 -2
  110. package/Json/Table/IOType.js +1 -1
  111. package/Json/Table/OATable.js +4 -4
  112. package/Json/Table/Templates.js +5 -5
  113. package/Json/context/rocrate/isa_assay_context.js +3 -3
  114. package/Json/context/rocrate/isa_comment_context.js +3 -3
  115. package/Json/context/rocrate/isa_component_context.js +3 -3
  116. package/Json/context/rocrate/isa_data_context.js +3 -3
  117. package/Json/context/rocrate/isa_factor_context.js +3 -3
  118. package/Json/context/rocrate/isa_factor_value_context.js +3 -3
  119. package/Json/context/rocrate/isa_investigation_context.js +3 -3
  120. package/Json/context/rocrate/isa_material_attribute_context.js +3 -3
  121. package/Json/context/rocrate/isa_material_attribute_value_context.js +3 -3
  122. package/Json/context/rocrate/isa_material_context.js +3 -3
  123. package/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
  124. package/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
  125. package/Json/context/rocrate/isa_organization_context.js +3 -3
  126. package/Json/context/rocrate/isa_person_context.js +3 -3
  127. package/Json/context/rocrate/isa_process_context.js +3 -3
  128. package/Json/context/rocrate/isa_process_parameter_value_context.js +3 -3
  129. package/Json/context/rocrate/isa_protocol_context.js +3 -3
  130. package/Json/context/rocrate/isa_protocol_parameter_context.js +3 -3
  131. package/Json/context/rocrate/isa_publication_context.js +3 -3
  132. package/Json/context/rocrate/isa_sample_context.js +3 -3
  133. package/Json/context/rocrate/isa_source_context.js +3 -3
  134. package/Json/context/rocrate/isa_study_context.js +3 -3
  135. package/Json/context/rocrate/property_value_context.js +1 -1
  136. package/Json/context/rocrate/rocrate_context.js +3 -3
  137. package/Json.js +2 -2
  138. package/JsonIO/ARC.js +3 -3
  139. package/JsonIO/Assay.js +2 -2
  140. package/JsonIO/Comment.js +2 -2
  141. package/JsonIO/Data.js +2 -2
  142. package/JsonIO/DataFile.js +2 -2
  143. package/JsonIO/DataMap/DataMap.js +1 -1
  144. package/JsonIO/Investigation.js +2 -2
  145. package/JsonIO/LDObject.js +2 -2
  146. package/JsonIO/OntologyAnnotation.js +2 -2
  147. package/JsonIO/OntologySourceReference.js +2 -2
  148. package/JsonIO/Person.js +2 -2
  149. package/JsonIO/Process/Component.js +2 -2
  150. package/JsonIO/Process/Factor.js +2 -2
  151. package/JsonIO/Process/FactorValue.js +2 -2
  152. package/JsonIO/Process/Material.js +2 -2
  153. package/JsonIO/Process/MaterialAttribute.js +2 -2
  154. package/JsonIO/Process/MaterialAttributeValue.js +2 -2
  155. package/JsonIO/Process/MaterialType.js +2 -2
  156. package/JsonIO/Process/Process.js +2 -2
  157. package/JsonIO/Process/ProcessInput.js +2 -2
  158. package/JsonIO/Process/ProcessOutput.js +2 -2
  159. package/JsonIO/Process/ProcessParameterValue.js +2 -2
  160. package/JsonIO/Process/ProcessSequence.js +4 -4
  161. package/JsonIO/Process/Protocol.js +2 -2
  162. package/JsonIO/Process/ProtocolParameter.js +2 -2
  163. package/JsonIO/Process/Sample.js +2 -2
  164. package/JsonIO/Process/Source.js +2 -2
  165. package/JsonIO/Process/StudyMaterials.js +3 -3
  166. package/JsonIO/Process/Value.js +1 -1
  167. package/JsonIO/Publication.js +2 -2
  168. package/JsonIO/Study.js +2 -2
  169. package/JsonIO/Table/ArcTable.js +5 -5
  170. package/JsonIO/Table/CompositeCell.js +2 -2
  171. package/JsonIO/Table/CompositeHeader.js +2 -2
  172. package/JsonIO/Table/Compression.js +3 -3
  173. package/JsonIO/Table/IOType.js +2 -2
  174. package/JsonIO/Table/Templates.js +3 -3
  175. package/ROCrate/ArcROCrateMetadata.js +3 -3
  176. package/ROCrate/ISAProfile/Assay.js +4 -4
  177. package/ROCrate/ISAProfile/Data.js +4 -4
  178. package/ROCrate/ISAProfile/Dataset.js +2 -2
  179. package/ROCrate/ISAProfile/Investigation.js +4 -4
  180. package/ROCrate/ISAProfile/LabProcess.js +4 -4
  181. package/ROCrate/ISAProfile/LabProtocol.js +4 -4
  182. package/ROCrate/ISAProfile/Person.js +4 -4
  183. package/ROCrate/ISAProfile/PropertyValue.js +4 -4
  184. package/ROCrate/ISAProfile/Sample.js +4 -4
  185. package/ROCrate/ISAProfile/ScholarlyArticle.js +4 -4
  186. package/ROCrate/ISAProfile/Study.js +4 -4
  187. package/ROCrate/LDObject.js +2 -2
  188. package/Spreadsheet/AnnotationTable/ArcTable.js +13 -13
  189. package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
  190. package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
  191. package/Spreadsheet/AnnotationTable/CompositeHeader.js +6 -6
  192. package/Spreadsheet/ArcAssay.js +7 -7
  193. package/Spreadsheet/ArcInvestigation.js +12 -12
  194. package/Spreadsheet/ArcStudy.js +7 -7
  195. package/Spreadsheet/CollectionAux.js +7 -7
  196. package/Spreadsheet/DataMap.js +3 -3
  197. package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
  198. package/Spreadsheet/DataMapTable/DataMapHeader.js +5 -5
  199. package/Spreadsheet/DataMapTable/DataMapTable.js +10 -10
  200. package/Spreadsheet/Metadata/Assays.js +5 -5
  201. package/Spreadsheet/Metadata/Comment.js +2 -2
  202. package/Spreadsheet/Metadata/Contacts.js +5 -5
  203. package/Spreadsheet/Metadata/Conversions.js +5 -5
  204. package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  205. package/Spreadsheet/Metadata/Factors.js +5 -5
  206. package/Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
  207. package/Spreadsheet/Metadata/OntologySourceReference.js +5 -5
  208. package/Spreadsheet/Metadata/Protocols.js +5 -5
  209. package/Spreadsheet/Metadata/Publication.js +5 -5
  210. package/Spreadsheet/Metadata/SparseTable.js +17 -17
  211. package/Spreadsheet/Metadata/Study.js +8 -8
  212. package/Spreadsheet/Template.js +13 -13
  213. package/Template.Web.js +4 -4
  214. package/ValidationPackages/ValidationPackage.js +5 -5
  215. package/ValidationPackages/ValidationPackagesConfig.js +8 -8
  216. package/WebRequest/WebRequest.Node.js +2 -2
  217. package/WebRequest/WebRequest.js +2 -2
  218. package/Xlsx.js +16 -3
  219. package/Yaml/Encode.js +1 -1
  220. package/Yaml/ValidationPackage.js +4 -4
  221. package/Yaml/ValidationPackagesConfig.js +4 -4
  222. package/fable_modules/DynamicObj.4.0.3/DynObj.fs.js +6 -6
  223. package/fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js +4 -4
  224. package/fable_modules/DynamicObj.4.0.3/FableJS.fs.js +4 -4
  225. package/fable_modules/DynamicObj.4.0.3/HashCodes.fs.js +5 -5
  226. package/fable_modules/DynamicObj.4.0.3/PropertyHelper.fs.js +2 -2
  227. package/fable_modules/DynamicObj.4.0.3/ReflectionUtils.fs.js +1 -1
  228. package/fable_modules/Fable.Exceljs.1.6.0/Cell.fs +32 -0
  229. package/fable_modules/Fable.Exceljs.1.6.0/Column.fs +24 -0
  230. package/fable_modules/Fable.Exceljs.1.6.0/Csv.fs +12 -0
  231. package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs +61 -0
  232. package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +4 -0
  233. package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs +36 -0
  234. package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs.js +20 -0
  235. package/fable_modules/Fable.Exceljs.1.6.0/Fable.Exceljs.fableproj +53 -0
  236. package/fable_modules/Fable.Exceljs.1.6.0/Row.fs +34 -0
  237. package/fable_modules/Fable.Exceljs.1.6.0/Table.fs +85 -0
  238. package/fable_modules/Fable.Exceljs.1.6.0/Table.fs.js +22 -0
  239. package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs +87 -0
  240. package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +73 -0
  241. package/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs +37 -0
  242. package/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs +120 -0
  243. package/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs +18 -0
  244. package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
  245. package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  246. package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  247. package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
  248. package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  249. package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  250. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
  251. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
  252. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
  253. package/fable_modules/{Fable.Promise.2.2.2 → Fable.Promise.3.2.0}/Fable.Promise.fableproj +4 -3
  254. package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
  255. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
  256. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
  257. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
  258. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  259. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  260. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs.js +14 -14
  261. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs.js +6 -6
  262. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs.js +4 -4
  263. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs.js +3 -3
  264. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs.js +2 -2
  265. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs.js +1 -1
  266. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs.js +3 -3
  267. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs.js +3 -3
  268. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs.js +3 -3
  269. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs.js +6 -6
  270. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs.js +4 -4
  271. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs.js +3 -3
  272. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs.js +8 -8
  273. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs.js +3 -3
  274. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs.js +3 -3
  275. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsSpreadsheet.fableproj +5 -5
  276. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs.js +6 -6
  277. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs.js +9 -9
  278. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs.js +2 -2
  279. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs.js +2 -2
  280. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs.js +2 -2
  281. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs.js +1 -1
  282. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs.js +5 -5
  283. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs.js +1 -1
  284. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs.js +3 -3
  285. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs.js +3 -3
  286. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs.js +3 -3
  287. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs.js +3 -3
  288. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs.js +3 -3
  289. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs.js +1 -1
  290. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs.js +8 -8
  291. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs.js +7 -7
  292. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs.js +4 -4
  293. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs.js +1 -1
  294. package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  295. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
  296. package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  297. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
  298. package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs +88 -0
  299. package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +79 -0
  300. package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs +69 -0
  301. package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +64 -0
  302. package/fable_modules/FsSpreadsheet.Js.6.3.1/FsSpreadsheet.Js.fableproj +57 -0
  303. package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs +59 -0
  304. package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +39 -0
  305. package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs +50 -0
  306. package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +54 -0
  307. package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs +27 -0
  308. package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +34 -0
  309. package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs +41 -0
  310. package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +63 -0
  311. package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs +74 -0
  312. package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +70 -0
  313. package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +19 -19
  314. package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +6 -6
  315. package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +2 -2
  316. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +1 -1
  317. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +2 -2
  318. package/fable_modules/YAMLicious.0.0.3/Decode.fs.js +15 -15
  319. package/fable_modules/YAMLicious.0.0.3/Encode.fs.js +6 -6
  320. package/fable_modules/YAMLicious.0.0.3/Library.fs.js +1 -1
  321. package/fable_modules/YAMLicious.0.0.3/Persil.fs.js +3 -3
  322. package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +6 -6
  323. package/fable_modules/YAMLicious.0.0.3/Reader.fs.js +7 -7
  324. package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +3 -3
  325. package/fable_modules/YAMLicious.0.0.3/Writer.fs.js +4 -4
  326. package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +6 -6
  327. package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/CHANGELOG.md +6 -0
  328. package/fable_modules/fable-library-js.4.24.0/CollectionUtil.d.ts +7 -0
  329. package/fable_modules/fable-library-js.4.24.0/CollectionUtil.js +182 -0
  330. package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.d.ts +10 -2
  331. package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/package.json +1 -1
  332. package/fable_modules/project_cracked.json +1 -1
  333. package/package.json +1 -1
  334. package/fable_modules/Fable.Promise.2.2.2/Promise.fs +0 -176
  335. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +0 -143
  336. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +0 -4
  337. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +0 -4
  338. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → Fable.Exceljs.1.6.0}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  339. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → Fable.Exceljs.1.6.0}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  340. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs +0 -0
  341. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs +0 -0
  342. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs +0 -0
  343. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs +0 -0
  344. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs +0 -0
  345. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs +0 -0
  346. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs +0 -0
  347. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs.js +0 -0
  348. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs +0 -0
  349. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs +0 -0
  350. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs +0 -0
  351. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs +0 -0
  352. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs +0 -0
  353. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs +0 -0
  354. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs +0 -0
  355. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs +0 -0
  356. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs +0 -0
  357. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs +0 -0
  358. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs +0 -0
  359. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs +0 -0
  360. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs +0 -0
  361. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs +0 -0
  362. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs +0 -0
  363. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs +0 -0
  364. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs +0 -0
  365. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs +0 -0
  366. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs +0 -0
  367. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs +0 -0
  368. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs +0 -0
  369. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs +0 -0
  370. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs +0 -0
  371. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs +0 -0
  372. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs +0 -0
  373. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs +0 -0
  374. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs +0 -0
  375. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.d.ts +0 -0
  376. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.js +0 -0
  377. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.d.ts +0 -0
  378. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.js +0 -0
  379. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.d.ts +0 -0
  380. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.js +0 -0
  381. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.d.ts +0 -0
  382. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.js +0 -0
  383. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.d.ts +0 -0
  384. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.js +0 -0
  385. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.d.ts +0 -0
  386. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.js +0 -0
  387. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.d.ts +0 -0
  388. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.js +0 -0
  389. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.d.ts +0 -0
  390. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.js +0 -0
  391. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.d.ts +0 -0
  392. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.js +0 -0
  393. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.d.ts +0 -0
  394. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.js +0 -0
  395. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.d.ts +0 -0
  396. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.js +0 -0
  397. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.d.ts +0 -0
  398. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.js +0 -0
  399. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.d.ts +0 -0
  400. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.js +0 -0
  401. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.d.ts +0 -0
  402. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.js +0 -0
  403. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.d.ts +0 -0
  404. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.js +0 -0
  405. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.d.ts +0 -0
  406. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.js +0 -0
  407. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.d.ts +0 -0
  408. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.js +0 -0
  409. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  410. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.js +0 -0
  411. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.d.ts +0 -0
  412. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.js +0 -0
  413. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.d.ts +0 -0
  414. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.js +0 -0
  415. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.d.ts +0 -0
  416. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.js +0 -0
  417. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.d.ts +0 -0
  418. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.js +0 -0
  419. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.d.ts +0 -0
  420. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.js +0 -0
  421. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.d.ts +0 -0
  422. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.js +0 -0
  423. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.d.ts +0 -0
  424. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.js +0 -0
  425. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.d.ts +0 -0
  426. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.js +0 -0
  427. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.d.ts +0 -0
  428. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.js +0 -0
  429. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.d.ts +0 -0
  430. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.js +0 -0
  431. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.d.ts +0 -0
  432. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.js +0 -0
  433. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.d.ts +0 -0
  434. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.js +0 -0
  435. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.d.ts +0 -0
  436. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.js +0 -0
  437. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.d.ts +0 -0
  438. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.js +0 -0
  439. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.d.ts +0 -0
  440. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.js +0 -0
  441. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/README.md +0 -0
  442. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.d.ts +0 -0
  443. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.js +0 -0
  444. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.d.ts +0 -0
  445. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.js +0 -0
  446. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.d.ts +0 -0
  447. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.js +0 -0
  448. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.d.ts +0 -0
  449. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.js +0 -0
  450. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.d.ts +0 -0
  451. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.js +0 -0
  452. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.d.ts +0 -0
  453. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.js +0 -0
  454. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.d.ts +0 -0
  455. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.js +0 -0
  456. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.d.ts +0 -0
  457. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.js +0 -0
  458. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.js +0 -0
  459. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.d.ts +0 -0
  460. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.js +0 -0
  461. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.d.ts +0 -0
  462. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.js +0 -0
  463. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.d.ts +0 -0
  464. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.js +0 -0
  465. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.d.ts +0 -0
  466. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.js +0 -0
  467. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.d.ts +0 -0
  468. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.js +0 -0
  469. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.d.ts +0 -0
  470. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.js +0 -0
  471. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.d.ts +0 -0
  472. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.js +0 -0
  473. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.d.ts +0 -0
  474. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.js +0 -0
  475. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.d.ts +0 -0
  476. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.js +0 -0
  477. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.d.ts +0 -0
  478. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.js +0 -0
  479. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/big.d.ts +0 -0
  480. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.d.ts +0 -0
  481. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.js +0 -0
package/ARC.js CHANGED
@@ -1,20 +1,24 @@
1
- import { append as append_1, contains as contains_1, concat, fold, map, exactlyOne, tryPick, choose } from "./fable_modules/fable-library-js.4.22.0/Array.js";
1
+ import { append as append_1, contains as contains_1, concat, fold, map, exactlyOne, tryPick, choose } from "./fable_modules/fable-library-js.4.24.0/Array.js";
2
2
  import { ARCtrl_ArcAssay__ArcAssay_ToUpdateContract, ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49, ARCtrl_ArcAssay__ArcAssay_ToDeleteContract, ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F } from "./Contract/ArcAssay.js";
3
3
  import { ARCtrl_DataMap__DataMap_ToUpdateContractForAssay_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForAssay_Z721C83C5, ARCtrl_DataMap__DataMap_ToUpdateContractForStudy_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForStudy_Z721C83C5, ARCtrl_DataMap__DataMap_tryFromReadContractForStudy_Static, ARCtrl_DataMap__DataMap_tryFromReadContractForAssay_Static } from "./Contract/Datamap.js";
4
4
  import { ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F } from "./Contract/ArcStudy.js";
5
5
  import { ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract, ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F } from "./Contract/ArcInvestigation.js";
6
- import { collect, empty, iterate, find, tryFind, map as map_1, singleton, append, delay, toList, contains, toArray } from "./fable_modules/fable-library-js.4.22.0/Seq.js";
6
+ import { toList, collect, empty, iterate, find, tryFind, map as map_1, singleton, append, delay, contains, toArray } from "./fable_modules/fable-library-js.4.24.0/Seq.js";
7
7
  import { FileSystemTree } from "./FileSystem/FileSystemTree.js";
8
8
  import { FileSystem } from "./FileSystem/FileSystem.js";
9
- import { bind, map as map_2, defaultArg, value as value_2, unwrap } from "./fable_modules/fable-library-js.4.22.0/Option.js";
10
- import { comparePrimitives, safeHash, stringHash } from "./fable_modules/fable-library-js.4.22.0/Util.js";
9
+ import { bind, map as map_2, defaultArg, value as value_2, unwrap } from "./fable_modules/fable-library-js.4.24.0/Option.js";
10
+ import { fullFillContractBatchAsync } from "./ContractIO/ContractIO.js";
11
+ import { PromiseBuilder__Delay_62FBFDE1, PromiseBuilder__Run_212F1D4B } from "./fable_modules/Fable.Promise.3.2.0/Promise.fs.js";
12
+ import { promise } from "./fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js";
13
+ import { getAllFilePathsAsync } from "./ContractIO/FileSystemHelper.js";
14
+ import { FSharpResult$2 } from "./fable_modules/fable-library-js.4.24.0/Result.js";
15
+ import { comparePrimitives, safeHash, stringHash } from "./fable_modules/fable-library-js.4.24.0/Util.js";
11
16
  import { getStudyFolderPath, getAssayFolderPath } from "./FileSystem/Path.js";
12
- import { printf, toText, replace } from "./fable_modules/fable-library-js.4.22.0/String.js";
17
+ import { printf, toText, replace } from "./fable_modules/fable-library-js.4.24.0/String.js";
13
18
  import { Contract } from "./Contract/Contract.js";
14
- import { ofArray } from "./fable_modules/fable-library-js.4.22.0/List.js";
15
19
  import { tryISAReadContractFromPath } from "./Contract/ARC.js";
16
20
  import { ArcTables } from "./Core/Table/ArcTables.js";
17
- import { addToDict } from "./fable_modules/fable-library-js.4.22.0/MapUtil.js";
21
+ import { addToDict } from "./fable_modules/fable-library-js.4.24.0/MapUtil.js";
18
22
  import { ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF } from "./Spreadsheet/ArcInvestigation.js";
19
23
  import { ArcInvestigation } from "./Core/ArcTypes.js";
20
24
  import { Assay_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Study_datamapFileNameFromIdentifier, Study_fileNameFromIdentifier } from "./Core/Helper/Identifier.js";
@@ -22,16 +26,16 @@ import { ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522 } from "./Sprea
22
26
  import { DataMap__get_StaticHash, DataMap__set_StaticHash_Z524259A4 } from "./Core/DataMap.js";
23
27
  import { toFsWorkbook } from "./Spreadsheet/DataMap.js";
24
28
  import { ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F } from "./Spreadsheet/ArcAssay.js";
25
- import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.6.3.0-alpha.4/Cells/FsCellsCollection.fs.js";
29
+ import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js";
26
30
  import { Clone_createCloneContract_5000466F, Init_createAddRemoteContract_Z721C83C5, gitignoreContract, gitattributesContract, Init_createInitContract_6DFDD678 } from "./Contract/Git.js";
27
- import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library-js.4.22.0/Set.js";
28
- import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library-js.4.22.0/Map.js";
31
+ import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library-js.4.24.0/Set.js";
32
+ import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library-js.4.24.0/Map.js";
29
33
  import { fromString } from "./fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js";
30
34
  import { encoder, decoder as decoder_1 } from "./JsonIO/ARC.js";
31
35
  import { toString } from "./fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js";
32
36
  import { defaultSpaces } from "./Json/Encode.js";
33
37
  import { ARCtrl_ValidationPackages_ValidationPackagesConfig__ValidationPackagesConfig_tryFromReadContract_Static_7570923F, ValidationPackagesConfigHelper_ReadContract, ARCtrl_ValidationPackages_ValidationPackagesConfig__ValidationPackagesConfig_toDeleteContract_Static_724DAE55, ARCtrl_ValidationPackages_ValidationPackagesConfig__ValidationPackagesConfig_toCreateContract_Static_724DAE55, ValidationPackagesConfigHelper_ConfigFilePath } from "./Contract/ValidationPackagesConfig.js";
34
- import { class_type } from "./fable_modules/fable-library-js.4.22.0/Reflection.js";
38
+ import { class_type } from "./fable_modules/fable-library-js.4.24.0/Reflection.js";
35
39
 
36
40
  export function ARCAux_getArcAssaysFromContracts(contracts) {
37
41
  return choose(ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F, contracts);
@@ -118,7 +122,31 @@ export class ARC {
118
122
  const this$ = this;
119
123
  this$._fs = fs;
120
124
  }
121
- RemoveAssay(assayIdentifier) {
125
+ WriteAsync(arcPath) {
126
+ const this$ = this;
127
+ return fullFillContractBatchAsync(arcPath, this$.GetWriteContracts());
128
+ }
129
+ UpdateAsync(arcPath) {
130
+ const this$ = this;
131
+ return fullFillContractBatchAsync(arcPath, this$.GetUpdateContracts());
132
+ }
133
+ static loadAsync(arcPath) {
134
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (getAllFilePathsAsync(arcPath).then((_arg) => {
135
+ const arc = ARC.fromFilePaths(toArray(_arg));
136
+ const contracts = arc.GetReadContracts();
137
+ return fullFillContractBatchAsync(arcPath, contracts).then((_arg_1) => {
138
+ const fulFilledContracts = _arg_1;
139
+ if (fulFilledContracts.tag === 1) {
140
+ return Promise.resolve(new FSharpResult$2(1, [fulFilledContracts.fields[0]]));
141
+ }
142
+ else {
143
+ arc.SetISAFromContracts(fulFilledContracts.fields[0]);
144
+ return Promise.resolve(new FSharpResult$2(0, [arc]));
145
+ }
146
+ });
147
+ }))));
148
+ }
149
+ GetAssayRemoveContracts(assayIdentifier) {
122
150
  let i;
123
151
  const this$ = this;
124
152
  let isa;
@@ -143,10 +171,13 @@ export class ARC {
143
171
  const assayFolderPath = getAssayFolderPath(assayIdentifier);
144
172
  const filteredPaths = paths.filter((p) => !p.startsWith(assayFolderPath));
145
173
  this$.SetFilePaths(filteredPaths);
146
- const collection = toList(delay(() => append(singleton(ARCtrl_ArcAssay__ArcAssay_ToDeleteContract(assay)), delay(() => append(singleton(ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)), delay(() => map_1(ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, studies)))))));
147
- return Array.from(collection);
174
+ return toArray(delay(() => append(singleton(ARCtrl_ArcAssay__ArcAssay_ToDeleteContract(assay)), delay(() => append(singleton(ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)), delay(() => map_1(ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, studies)))))));
148
175
  }
149
- RenameAssay(oldAssayIdentifier, newAssayIdentifier) {
176
+ RemoveAssayAsync(arcPath, assayIdentifier) {
177
+ const this$ = this;
178
+ return fullFillContractBatchAsync(arcPath, this$.GetAssayRemoveContracts(assayIdentifier));
179
+ }
180
+ GetAssayRenameContracts(oldAssayIdentifier, newAssayIdentifier) {
150
181
  let i;
151
182
  const this$ = this;
152
183
  let isa;
@@ -170,10 +201,13 @@ export class ARC {
170
201
  const newAssayFolderPath = getAssayFolderPath(newAssayIdentifier);
171
202
  const renamedPaths = map((p) => replace(p, oldAssayFolderPath, newAssayFolderPath), paths);
172
203
  this$.SetFilePaths(renamedPaths);
173
- const collection = toList(delay(() => append(singleton(Contract.createRename(oldAssayFolderPath, newAssayFolderPath)), delay(() => this$.GetUpdateContracts()))));
174
- return Array.from(collection);
204
+ return toArray(delay(() => append(singleton(Contract.createRename(oldAssayFolderPath, newAssayFolderPath)), delay(() => this$.GetUpdateContracts()))));
205
+ }
206
+ RenameAssayAsync(arcPath, oldAssayIdentifier, newAssayIdentifier) {
207
+ const this$ = this;
208
+ return fullFillContractBatchAsync(arcPath, this$.GetAssayRenameContracts(oldAssayIdentifier, newAssayIdentifier));
175
209
  }
176
- RemoveStudy(studyIdentifier) {
210
+ GetStudyRemoveContracts(studyIdentifier) {
177
211
  const this$ = this;
178
212
  let isa;
179
213
  const matchValue = this$.ISA;
@@ -188,10 +222,13 @@ export class ARC {
188
222
  const studyFolderPath = getStudyFolderPath(studyIdentifier);
189
223
  const filteredPaths = paths.filter((p) => !p.startsWith(studyFolderPath));
190
224
  this$.SetFilePaths(filteredPaths);
191
- const collection = ofArray([Contract.createDelete(studyFolderPath), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)]);
192
- return Array.from(collection);
225
+ return [Contract.createDelete(studyFolderPath), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)];
193
226
  }
194
- RenameStudy(oldStudyIdentifier, newStudyIdentifier) {
227
+ RemoveStudyAsync(arcPath, studyIdentifier) {
228
+ const this$ = this;
229
+ return fullFillContractBatchAsync(arcPath, this$.GetStudyRemoveContracts(studyIdentifier));
230
+ }
231
+ GetStudyRenameContracts(oldStudyIdentifier, newStudyIdentifier) {
195
232
  let i;
196
233
  const this$ = this;
197
234
  let isa;
@@ -215,8 +252,11 @@ export class ARC {
215
252
  const newStudyFolderPath = getStudyFolderPath(newStudyIdentifier);
216
253
  const renamedPaths = map((p) => replace(p, oldStudyFolderPath, newStudyFolderPath), paths);
217
254
  this$.SetFilePaths(renamedPaths);
218
- const collection = toList(delay(() => append(singleton(Contract.createRename(oldStudyFolderPath, newStudyFolderPath)), delay(() => this$.GetUpdateContracts()))));
219
- return Array.from(collection);
255
+ return toArray(delay(() => append(singleton(Contract.createRename(oldStudyFolderPath, newStudyFolderPath)), delay(() => this$.GetUpdateContracts()))));
256
+ }
257
+ RenameStudyAsync(arcPath, oldStudyIdentifier, newStudyIdentifier) {
258
+ const this$ = this;
259
+ return fullFillContractBatchAsync(arcPath, this$.GetStudyRenameContracts(oldStudyIdentifier, newStudyIdentifier));
220
260
  }
221
261
  static fromFilePaths(filePaths) {
222
262
  return new ARC(undefined, undefined, FileSystem.fromFilePaths(filePaths));
package/CWL/CWLTypes.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
2
- import { array_type, union_type, record_type, bool_type, option_type, string_type, class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
- import { FSharpRef, Union, Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
4
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
2
+ import { array_type, union_type, record_type, bool_type, option_type, string_type, class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
3
+ import { FSharpRef, Union, Record } from "../fable_modules/fable-library-js.4.24.0/Types.js";
4
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
5
5
  import { setProperty } from "../fable_modules/DynamicObj.4.0.3/DynObj.fs.js";
6
6
 
7
7
  export class FileInstance extends DynamicObj {
package/CWL/Decode.js CHANGED
@@ -1,16 +1,16 @@
1
- import { disposeSafe, getEnumerator } from "../fable_modules/fable-library-js.4.22.0/Util.js";
1
+ import { disposeSafe, getEnumerator } from "../fable_modules/fable-library-js.4.24.0/Util.js";
2
2
  import { setOptionalProperty, setProperty } from "../fable_modules/DynamicObj.4.0.3/DynObj.fs.js";
3
3
  import { DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
4
- import { ofArray, tail, head, isEmpty, empty, map, iterate } from "../fable_modules/fable-library-js.4.22.0/List.js";
4
+ import { ofArray, tail, head, isEmpty, empty, map, iterate } from "../fable_modules/fable-library-js.4.24.0/List.js";
5
5
  import { read, int, float, resizearray, map as map_1, bool, string, object } from "../fable_modules/YAMLicious.0.0.3/Decode.fs.js";
6
- import { replace, toFail, printf, toText } from "../fable_modules/fable-library-js.4.22.0/String.js";
6
+ import { replace, toFail, printf, toText } from "../fable_modules/fable-library-js.4.24.0/String.js";
7
7
  import { CWLOutput, OutputBinding } from "./Outputs.js";
8
8
  import { SchemaDefRequirementType_$ctor_541DA560, SoftwarePackage, DirectoryInstance_$ctor, FileInstance_$ctor, CWLType, DirentInstance } from "./CWLTypes.js";
9
- import { length, item, singleton, empty as empty_1, append, collect, delay, toArray } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
10
- import { getItemFromDict } from "../fable_modules/fable-library-js.4.22.0/MapUtil.js";
9
+ import { length, item, singleton, empty as empty_1, append, collect, delay, toArray } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
10
+ import { getItemFromDict } from "../fable_modules/fable-library-js.4.24.0/MapUtil.js";
11
11
  import { Requirement, ResourceRequirementInstance_$ctor_D76FC00, EnvironmentDef, DockerRequirement } from "./Requirements.js";
12
- import { some } from "../fable_modules/fable-library-js.4.22.0/Option.js";
13
- import { FSharpMap__get_Values, FSharpMap__get_Keys } from "../fable_modules/fable-library-js.4.22.0/Map.js";
12
+ import { some } from "../fable_modules/fable-library-js.4.24.0/Option.js";
13
+ import { FSharpMap__get_Values, FSharpMap__get_Keys } from "../fable_modules/fable-library-js.4.24.0/Map.js";
14
14
  import { CWLInput, InputBinding } from "./Inputs.js";
15
15
  import { WorkflowStep, StepOutput, StepInput } from "./WorkflowSteps.js";
16
16
  import { CWLToolDescription } from "./ToolDescription.js";
package/CWL/Inputs.js CHANGED
@@ -1,8 +1,8 @@
1
- import { FSharpRef, Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
2
- import { class_type, record_type, bool_type, int32_type, option_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
- import { value, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
1
+ import { FSharpRef, Record } from "../fable_modules/fable-library-js.4.24.0/Types.js";
2
+ import { class_type, record_type, bool_type, int32_type, option_type, string_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
3
+ import { value, unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
4
4
  import { CWLType } from "./CWLTypes.js";
5
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
5
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
6
6
  import { setOptionalProperty } from "../fable_modules/DynamicObj.4.0.3/DynObj.fs.js";
7
7
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
8
8
 
package/CWL/Outputs.js CHANGED
@@ -1,8 +1,8 @@
1
- import { FSharpRef, Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
2
- import { class_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
- import { value, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
1
+ import { FSharpRef, Record } from "../fable_modules/fable-library-js.4.24.0/Types.js";
2
+ import { class_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
3
+ import { value, unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
4
4
  import { CWLType } from "./CWLTypes.js";
5
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
5
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
6
6
  import { setOptionalProperty } from "../fable_modules/DynamicObj.4.0.3/DynObj.fs.js";
7
7
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
8
8
 
@@ -1,6 +1,6 @@
1
- import { Union, FSharpRef, Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
2
- import { union_type, float64_type, array_type, record_type, class_type, option_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
1
+ import { Union, FSharpRef, Record } from "../fable_modules/fable-library-js.4.24.0/Types.js";
2
+ import { union_type, float64_type, array_type, record_type, class_type, option_type, string_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
3
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
4
4
  import { setOptionalProperty } from "../fable_modules/DynamicObj.4.0.3/DynObj.fs.js";
5
5
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
6
6
  import { CWLType_$reflection, SoftwarePackage_$reflection, SchemaDefRequirementType_$reflection } from "./CWLTypes.js";
@@ -1,6 +1,6 @@
1
- import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
1
+ import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
2
2
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
3
- import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
4
4
 
5
5
  export class CWLToolDescription extends DynamicObj {
6
6
  constructor(outputs, cwlVersion, baseCommand, requirements, hints, inputs, metadata) {
@@ -1,6 +1,6 @@
1
- import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
1
+ import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
2
2
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
3
- import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
+ import { class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
4
4
 
5
5
  export class CWLWorkflowDescription extends DynamicObj {
6
6
  constructor(steps, inputs, outputs, cwlVersion, requirements, hints, metadata) {
@@ -1,6 +1,6 @@
1
- import { Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
2
- import { class_type, array_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
- import { unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
1
+ import { Record } from "../fable_modules/fable-library-js.4.24.0/Types.js";
2
+ import { class_type, array_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
3
+ import { unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
4
4
  import { DynamicObj_$reflection, DynamicObj } from "../fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js";
5
5
 
6
6
  export class StepInput extends Record {
@@ -1,11 +1,11 @@
1
- import { equalsWith, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
1
+ import { equalsWith, item } from "../fable_modules/fable-library-js.4.24.0/Array.js";
2
2
  import { getAssayFolderPath, combineMany } from "../FileSystem/Path.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
4
- import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
3
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
4
+ import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.24.0/Option.js";
5
5
  import { Assay_fileNameFromIdentifier } from "../Core/Helper/Identifier.js";
6
6
  import { Contract } from "./Contract.js";
7
7
  import { ARCtrl_ArcAssay__ArcAssay_fromFsWorkbook_Static_32154C9D, ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F } from "../Spreadsheet/ArcAssay.js";
8
- import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
8
+ import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
9
9
  import { FileSystemTree } from "../FileSystem/FileSystemTree.js";
10
10
 
11
11
  export function $007CAssayPath$007C_$007C(input) {
@@ -1,6 +1,6 @@
1
1
  import { combineMany } from "../FileSystem/Path.js";
2
- import { item, equalsWith } from "../fable_modules/fable-library-js.4.22.0/Array.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
2
+ import { item, equalsWith } from "../fable_modules/fable-library-js.4.24.0/Array.js";
3
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
4
4
  import { Contract } from "./Contract.js";
5
5
  import { ARCtrl_ArcInvestigation__ArcInvestigation_fromFsWorkbook_Static_32154C9D, ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF } from "../Spreadsheet/ArcInvestigation.js";
6
6
 
@@ -1,11 +1,11 @@
1
- import { equalsWith, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
1
+ import { equalsWith, item } from "../fable_modules/fable-library-js.4.24.0/Array.js";
2
2
  import { getStudyFolderPath, combineMany } from "../FileSystem/Path.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
4
- import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
3
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
4
+ import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.24.0/Option.js";
5
5
  import { Study_fileNameFromIdentifier } from "../Core/Helper/Identifier.js";
6
6
  import { Contract } from "./Contract.js";
7
7
  import { ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D, ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522 } from "../Spreadsheet/ArcStudy.js";
8
- import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
8
+ import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
9
9
  import { FileSystemTree } from "../FileSystem/FileSystemTree.js";
10
10
 
11
11
  export function $007CStudyPath$007C_$007C(input) {
@@ -1,6 +1,6 @@
1
- import { Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
2
- import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
3
- import { defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
1
+ import { Record } from "../fable_modules/fable-library-js.4.24.0/Types.js";
2
+ import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
3
+ import { defaultArg } from "../fable_modules/fable-library-js.4.24.0/Option.js";
4
4
 
5
5
  export class CLITool extends Record {
6
6
  constructor(Name, Arguments) {
@@ -1,6 +1,6 @@
1
- import { equalsWith, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
1
+ import { equalsWith, item } from "../fable_modules/fable-library-js.4.24.0/Array.js";
2
2
  import { combineMany } from "../FileSystem/Path.js";
3
- import { safeHash, defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
3
+ import { safeHash, defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
4
4
  import { Study_datamapFileNameFromIdentifier, Assay_datamapFileNameFromIdentifier } from "../Core/Helper/Identifier.js";
5
5
  import { Contract } from "./Contract.js";
6
6
  import { fromFsWorkbook, toFsWorkbook } from "../Spreadsheet/DataMap.js";
package/Contract/Git.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { Contract, CLITool } from "./Contract.js";
2
2
  import { dgi } from "../FileSystem/DefaultGitignore.js";
3
3
  import { dga } from "../FileSystem/DefaultGitattributes.js";
4
- import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
5
- import { value, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
6
- import { replace } from "../fable_modules/fable-library-js.4.22.0/String.js";
7
- import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
4
+ import { class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
5
+ import { value, defaultArg } from "../fable_modules/fable-library-js.4.24.0/Option.js";
6
+ import { replace } from "../fable_modules/fable-library-js.4.24.0/String.js";
7
+ import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
8
8
 
9
9
  export function gitWithArgs(arguments$) {
10
10
  return CLITool.create("git", arguments$);
@@ -1,7 +1,7 @@
1
1
  import { combineMany } from "../FileSystem/Path.js";
2
2
  import { Contract } from "./Contract.js";
3
- import { item, equalsWith } from "../fable_modules/fable-library-js.4.22.0/Array.js";
4
- import { defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
3
+ import { item, equalsWith } from "../fable_modules/fable-library-js.4.24.0/Array.js";
4
+ import { defaultOf } from "../fable_modules/fable-library-js.4.24.0/Util.js";
5
5
  import { ARCtrl_ValidationPackages_ValidationPackagesConfig__ValidationPackagesConfig_fromYamlString_Static_Z721C83C5, ARCtrl_ValidationPackages_ValidationPackagesConfig__ValidationPackagesConfig_toYamlString_Static_71136F3F } from "../Yaml/ValidationPackagesConfig.js";
6
6
 
7
7
  export const ValidationPackagesConfigHelper_ConfigFilePath = combineMany([".arc", "validation_packages.yml"]);
@@ -0,0 +1,204 @@
1
+ import { startSequential, catchWith } from "../CrossAsync.js";
2
+ import { printf, toText } from "../fable_modules/fable-library-js.4.24.0/String.js";
3
+ import { FSharpResult$2 } from "../fable_modules/fable-library-js.4.24.0/Result.js";
4
+ import { PromiseBuilder__Delay_62FBFDE1, PromiseBuilder__Run_212F1D4B } from "../fable_modules/Fable.Promise.3.2.0/Promise.fs.js";
5
+ import { promise } from "../fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js";
6
+ import { combine } from "../FileSystem/Path.js";
7
+ import { deleteFileOrDirectoryAsync, renameFileOrDirectoryAsync, writeFileXlsxAsync, writeFileTextAsync, ensureDirectoryOfFileAsync, readFileTextAsync, readFileXlsxAsync } from "./FileSystemHelper.js";
8
+ import { Contract } from "../Contract/Contract.js";
9
+ import { curry2 } from "../fable_modules/fable-library-js.4.24.0/Util.js";
10
+ import { append, fold } from "../fable_modules/fable-library-js.4.24.0/Array.js";
11
+
12
+ export function fulfillReadContractAsync(basePath, c) {
13
+ return catchWith((e_1) => {
14
+ let arg_4;
15
+ return new FSharpResult$2(1, [(arg_4 = e_1.message, toText(printf("Error reading contract %s: %s"))(c.Path)(arg_4))]);
16
+ }, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (PromiseBuilder__Delay_62FBFDE1(promise, () => {
17
+ const matchValue = c.DTOType;
18
+ let matchResult;
19
+ if (matchValue != null) {
20
+ switch (matchValue) {
21
+ case "ISA_Assay":
22
+ case "ISA_Investigation":
23
+ case "ISA_Study":
24
+ case "ISA_Datamap": {
25
+ matchResult = 0;
26
+ break;
27
+ }
28
+ case "PlainText": {
29
+ matchResult = 1;
30
+ break;
31
+ }
32
+ default:
33
+ matchResult = 2;
34
+ }
35
+ }
36
+ else {
37
+ matchResult = 2;
38
+ }
39
+ switch (matchResult) {
40
+ case 0: {
41
+ const path = combine(basePath, c.Path);
42
+ return readFileXlsxAsync(path).then((_arg) => (Promise.resolve(new FSharpResult$2(0, [new Contract(c.Operation, c.Path, c.DTOType, _arg)]))));
43
+ }
44
+ case 1: {
45
+ const path_1 = combine(basePath, c.Path);
46
+ return readFileTextAsync(path_1).then((_arg_1) => (Promise.resolve(new FSharpResult$2(0, [new Contract(c.Operation, c.Path, c.DTOType, _arg_1)]))));
47
+ }
48
+ default:
49
+ return Promise.resolve(new FSharpResult$2(1, [toText(printf("Contract %s is neither an ISA nor a freetext contract"))(c.Path)]));
50
+ }
51
+ }).catch((_arg_2) => {
52
+ let arg_2;
53
+ return Promise.resolve(new FSharpResult$2(1, [(arg_2 = _arg_2.message, toText(printf("Error reading contract %s: %s"))(c.Path)(arg_2))]));
54
+ })))));
55
+ }
56
+
57
+ export function fullfillContractBatchAsyncBy(contractF, basePath, cs) {
58
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (startSequential(curry2(contractF)(basePath), cs).then((_arg) => {
59
+ const res = fold((acc, cr) => {
60
+ const copyOfStruct = acc;
61
+ if (copyOfStruct.tag === 1) {
62
+ const copyOfStruct_1 = cr;
63
+ if (copyOfStruct_1.tag === 1) {
64
+ return new FSharpResult$2(1, [append(copyOfStruct.fields[0], [copyOfStruct_1.fields[0]])]);
65
+ }
66
+ else {
67
+ return new FSharpResult$2(1, [copyOfStruct.fields[0]]);
68
+ }
69
+ }
70
+ else {
71
+ const copyOfStruct_2 = cr;
72
+ if (copyOfStruct_2.tag === 1) {
73
+ return new FSharpResult$2(1, [[copyOfStruct_2.fields[0]]]);
74
+ }
75
+ else {
76
+ return new FSharpResult$2(0, [append(copyOfStruct.fields[0], [copyOfStruct_2.fields[0]])]);
77
+ }
78
+ }
79
+ }, new FSharpResult$2(0, [[]]), _arg);
80
+ return Promise.resolve(res);
81
+ }))));
82
+ }
83
+
84
+ export function fulfillWriteContractAsync(basePath, c) {
85
+ return catchWith((e_1) => {
86
+ let arg_4;
87
+ return new FSharpResult$2(1, [(arg_4 = e_1.message, toText(printf("Error writing contract %s: %s"))(c.Path)(arg_4))]);
88
+ }, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (PromiseBuilder__Delay_62FBFDE1(promise, () => {
89
+ const matchValue = c.DTO;
90
+ if (matchValue == null) {
91
+ const path_2 = combine(basePath, c.Path);
92
+ return ensureDirectoryOfFileAsync(path_2).then(() => (writeFileTextAsync(path_2, "").then(() => (Promise.resolve(new FSharpResult$2(0, [c]))))));
93
+ }
94
+ else if (typeof matchValue === "string") {
95
+ const t = matchValue;
96
+ const path = combine(basePath, c.Path);
97
+ return ensureDirectoryOfFileAsync(path).then(() => (writeFileTextAsync(path, t).then(() => (Promise.resolve(new FSharpResult$2(0, [c]))))));
98
+ }
99
+ else {
100
+ const wb = matchValue;
101
+ const path_1 = combine(basePath, c.Path);
102
+ return ensureDirectoryOfFileAsync(path_1).then(() => (writeFileXlsxAsync(path_1, wb).then(() => (Promise.resolve(new FSharpResult$2(0, [c]))))));
103
+ }
104
+ }).catch((_arg_6) => {
105
+ let arg_2;
106
+ return Promise.resolve(new FSharpResult$2(1, [(arg_2 = _arg_6.message, toText(printf("Error writing contract %s: %s"))(c.Path)(arg_2))]));
107
+ })))));
108
+ }
109
+
110
+ export function fulfillUpdateContractAsync(basePath, c) {
111
+ return catchWith((e_1) => {
112
+ let arg_4;
113
+ return new FSharpResult$2(1, [(arg_4 = e_1.message, toText(printf("Error updating contract %s: %s"))(c.Path)(arg_4))]);
114
+ }, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (PromiseBuilder__Delay_62FBFDE1(promise, () => {
115
+ const matchValue = c.DTO;
116
+ if (matchValue == null) {
117
+ const path_2 = combine(basePath, c.Path);
118
+ return ensureDirectoryOfFileAsync(path_2).then(() => (writeFileTextAsync(path_2, "").then(() => (Promise.resolve(new FSharpResult$2(0, [c]))))));
119
+ }
120
+ else if (typeof matchValue === "string") {
121
+ const t = matchValue;
122
+ const path = combine(basePath, c.Path);
123
+ return ensureDirectoryOfFileAsync(path).then(() => (writeFileTextAsync(path, t).then(() => (Promise.resolve(new FSharpResult$2(0, [c]))))));
124
+ }
125
+ else {
126
+ const wb = matchValue;
127
+ const path_1 = combine(basePath, c.Path);
128
+ return ensureDirectoryOfFileAsync(path_1).then(() => (writeFileXlsxAsync(path_1, wb).then(() => (Promise.resolve(new FSharpResult$2(0, [c]))))));
129
+ }
130
+ }).catch((_arg_6) => {
131
+ let arg_2;
132
+ return Promise.resolve(new FSharpResult$2(1, [(arg_2 = _arg_6.message, toText(printf("Error updating contract %s: %s"))(c.Path)(arg_2))]));
133
+ })))));
134
+ }
135
+
136
+ export function fullfillRenameContractAsync(basePath, c) {
137
+ return catchWith((e_1) => {
138
+ let arg_5;
139
+ return new FSharpResult$2(1, [(arg_5 = e_1.message, toText(printf("Error renaming contract %s: %s"))(c.Path)(arg_5))]);
140
+ }, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (PromiseBuilder__Delay_62FBFDE1(promise, () => {
141
+ const matchValue = c.DTO;
142
+ let matchResult, t_1, t_2;
143
+ if (matchValue != null) {
144
+ if (typeof matchValue === "string") {
145
+ if (matchValue === c.Path) {
146
+ matchResult = 0;
147
+ t_1 = matchValue;
148
+ }
149
+ else {
150
+ matchResult = 1;
151
+ t_2 = matchValue;
152
+ }
153
+ }
154
+ else {
155
+ matchResult = 2;
156
+ }
157
+ }
158
+ else {
159
+ matchResult = 2;
160
+ }
161
+ switch (matchResult) {
162
+ case 0:
163
+ return Promise.resolve(new FSharpResult$2(1, [toText(printf("Rename Contract %s old and new Path are the same"))(c.Path)]));
164
+ case 1: {
165
+ const newPath = combine(basePath, t_2);
166
+ const oldPath = combine(basePath, c.Path);
167
+ return renameFileOrDirectoryAsync(oldPath, newPath).then(() => (Promise.resolve(new FSharpResult$2(0, [c]))));
168
+ }
169
+ default:
170
+ return Promise.resolve(new FSharpResult$2(1, [toText(printf("Rename Contract %s does not contain new Path"))(c.Path)]));
171
+ }
172
+ }).catch((_arg_1) => {
173
+ let arg_3;
174
+ return Promise.resolve(new FSharpResult$2(1, [(arg_3 = _arg_1.message, toText(printf("Error renaming contract %s: %s"))(c.Path)(arg_3))]));
175
+ })))));
176
+ }
177
+
178
+ export function fullfillDeleteContractAsync(basePath, c) {
179
+ return catchWith((e_1) => {
180
+ let arg_3;
181
+ return new FSharpResult$2(1, [(arg_3 = e_1.message, toText(printf("Error deleting contract %s: %s"))(c.Path)(arg_3))]);
182
+ }, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => (PromiseBuilder__Delay_62FBFDE1(promise, () => {
183
+ const path = combine(basePath, c.Path);
184
+ return deleteFileOrDirectoryAsync(path).then(() => (Promise.resolve(new FSharpResult$2(0, [c]))));
185
+ }).catch((_arg_1) => {
186
+ let arg_1;
187
+ return Promise.resolve(new FSharpResult$2(1, [(arg_1 = _arg_1.message, toText(printf("Error deleting contract %s: %s"))(c.Path)(arg_1))]));
188
+ })))));
189
+ }
190
+
191
+ export function fullFillContract(basePath, c) {
192
+ return catchWith((e) => {
193
+ let arg_2;
194
+ return new FSharpResult$2(1, [(arg_2 = e.message, toText(printf("Error fulfilling contract %s: %s"))(c.Path)(arg_2))]);
195
+ }, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => {
196
+ const matchValue = c.Operation;
197
+ return (matchValue === "READ") ? (fulfillReadContractAsync(basePath, c)) : ((matchValue === "CREATE") ? (fulfillWriteContractAsync(basePath, c)) : ((matchValue === "UPDATE") ? (fulfillUpdateContractAsync(basePath, c)) : ((matchValue === "DELETE") ? (fullfillDeleteContractAsync(basePath, c)) : ((matchValue === "RENAME") ? (fullfillRenameContractAsync(basePath, c)) : (Promise.resolve(new FSharpResult$2(1, [toText(printf("Operation %A not supported"))(c.Operation)])))))));
198
+ })));
199
+ }
200
+
201
+ export function fullFillContractBatchAsync(basePath, cs) {
202
+ return fullfillContractBatchAsyncBy(fullFillContract, basePath, cs);
203
+ }
204
+