@nfdi4plants/arctrl 2.0.1 → 2.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/ARC.js +43 -108
  2. package/Contract/ARC.js +1 -1
  3. package/Contract/ArcAssay.js +37 -14
  4. package/Contract/ArcInvestigation.js +4 -4
  5. package/Contract/ArcStudy.js +37 -14
  6. package/Contract/Contract.js +6 -6
  7. package/Contract/Datamap.js +5 -5
  8. package/Contract/Git.js +6 -6
  9. package/Contract/ValidationPackagesConfig.js +5 -5
  10. package/Core/ArcTypes.js +17 -17
  11. package/Core/Comment.js +16 -9
  12. package/Core/CommentList.js +6 -6
  13. package/Core/Conversion.js +64 -64
  14. package/Core/Data.js +11 -11
  15. package/Core/DataContext.js +4 -4
  16. package/Core/DataFile.js +2 -2
  17. package/Core/DataMap.js +4 -4
  18. package/Core/Helper/Collections.js +11 -11
  19. package/Core/Helper/HashCodes.js +5 -5
  20. package/Core/Helper/Identifier.js +9 -9
  21. package/Core/Helper/Regex.js +38 -38
  22. package/Core/Helper/SemVer.js +8 -8
  23. package/Core/OntologyAnnotation.js +11 -11
  24. package/Core/OntologySourceReference.js +4 -4
  25. package/Core/Person.js +11 -11
  26. package/Core/Process/ColumnIndex.js +7 -7
  27. package/Core/Process/Component.js +10 -10
  28. package/Core/Process/Factor.js +6 -6
  29. package/Core/Process/FactorValue.js +10 -10
  30. package/Core/Process/Material.js +5 -5
  31. package/Core/Process/MaterialAttribute.js +4 -4
  32. package/Core/Process/MaterialAttributeValue.js +10 -10
  33. package/Core/Process/MaterialType.js +2 -2
  34. package/Core/Process/Process.js +19 -19
  35. package/Core/Process/ProcessInput.js +16 -16
  36. package/Core/Process/ProcessOutput.js +16 -16
  37. package/Core/Process/ProcessParameterValue.js +10 -10
  38. package/Core/Process/ProcessSequence.js +6 -6
  39. package/Core/Process/Protocol.js +5 -5
  40. package/Core/Process/ProtocolParameter.js +4 -4
  41. package/Core/Process/Sample.js +5 -5
  42. package/Core/Process/Source.js +5 -5
  43. package/Core/Publication.js +10 -10
  44. package/Core/Table/ArcTable.js +35 -28
  45. package/Core/Table/ArcTableAux.js +22 -22
  46. package/Core/Table/ArcTables.js +14 -14
  47. package/Core/Table/CompositeCell.js +6 -6
  48. package/Core/Table/CompositeColumn.js +5 -5
  49. package/Core/Table/CompositeHeader.js +9 -9
  50. package/Core/Template.js +7 -7
  51. package/Core/Templates.js +8 -8
  52. package/Core/Value.js +11 -11
  53. package/FileSystem/Commit.js +2 -2
  54. package/FileSystem/FileSystem.js +4 -4
  55. package/FileSystem/FileSystemTree.js +14 -14
  56. package/FileSystem/Path.js +3 -3
  57. package/Json/ARC.js +21 -15
  58. package/Json/Assay.js +108 -169
  59. package/Json/Comment.js +84 -122
  60. package/Json/ConverterOptions.js +2 -2
  61. package/Json/Data.js +100 -107
  62. package/Json/DataFile.js +22 -57
  63. package/Json/DataMap/DataContext.js +25 -16
  64. package/Json/DataMap/DataMap.js +11 -7
  65. package/Json/Decode.js +11 -14
  66. package/Json/Encode.js +24 -13
  67. package/Json/IDTable.js +14 -3
  68. package/Json/Investigation.js +194 -176
  69. package/Json/OntologyAnnotation.js +113 -127
  70. package/Json/OntologySourceReference.js +93 -111
  71. package/Json/Person.js +204 -135
  72. package/Json/Process/AssayMaterials.js +12 -14
  73. package/Json/Process/Component.js +23 -68
  74. package/Json/Process/Factor.js +28 -46
  75. package/Json/Process/FactorValue.js +28 -50
  76. package/Json/Process/Material.js +56 -83
  77. package/Json/Process/MaterialAttribute.js +23 -45
  78. package/Json/Process/MaterialAttributeValue.js +28 -71
  79. package/Json/Process/MaterialType.js +17 -35
  80. package/Json/Process/Process.js +70 -85
  81. package/Json/Process/ProcessInput.js +18 -45
  82. package/Json/Process/ProcessOutput.js +15 -63
  83. package/Json/Process/ProcessParameterValue.js +21 -70
  84. package/Json/Process/Protocol.js +80 -83
  85. package/Json/Process/ProtocolParameter.js +23 -44
  86. package/Json/Process/Sample.js +66 -93
  87. package/Json/Process/Source.js +54 -81
  88. package/Json/Process/StudyMaterials.js +13 -15
  89. package/Json/Process/Value.js +19 -29
  90. package/Json/PropertyValue.js +86 -28
  91. package/Json/Publication.js +92 -115
  92. package/Json/ROCrateObject.js +146 -0
  93. package/Json/StringTable.js +27 -10
  94. package/Json/Study.js +193 -182
  95. package/Json/Table/ArcTable.js +119 -115
  96. package/Json/Table/CellTable.js +24 -11
  97. package/Json/Table/CompositeCell.js +40 -41
  98. package/Json/Table/CompositeHeader.js +24 -36
  99. package/Json/Table/IOType.js +9 -31
  100. package/Json/Table/OATable.js +23 -10
  101. package/Json/Table/Templates.js +82 -90
  102. package/Json/context/rocrate/isa_assay_context.js +60 -4
  103. package/Json/context/rocrate/isa_comment_context.js +28 -4
  104. package/Json/context/rocrate/isa_component_context.js +44 -4
  105. package/Json/context/rocrate/isa_data_context.js +40 -4
  106. package/Json/context/rocrate/isa_factor_context.js +40 -4
  107. package/Json/context/rocrate/isa_factor_value_context.js +52 -4
  108. package/Json/context/rocrate/isa_investigation_context.js +68 -4
  109. package/Json/context/rocrate/isa_material_attribute_context.js +32 -4
  110. package/Json/context/rocrate/isa_material_attribute_value_context.js +48 -4
  111. package/Json/context/rocrate/isa_material_context.js +36 -4
  112. package/Json/context/rocrate/isa_ontology_annotation_context.js +36 -4
  113. package/Json/context/rocrate/isa_ontology_source_reference_context.js +40 -4
  114. package/Json/context/rocrate/isa_organization_context.js +24 -4
  115. package/Json/context/rocrate/isa_person_context.js +85 -5
  116. package/Json/context/rocrate/isa_process_context.js +56 -4
  117. package/Json/context/rocrate/isa_process_parameter_value_context.js +48 -4
  118. package/Json/context/rocrate/isa_protocol_context.js +60 -4
  119. package/Json/context/rocrate/isa_protocol_parameter_context.js +32 -4
  120. package/Json/context/rocrate/isa_publication_context.js +44 -4
  121. package/Json/context/rocrate/isa_sample_context.js +32 -4
  122. package/Json/context/rocrate/isa_source_context.js +32 -4
  123. package/Json/context/rocrate/isa_study_context.js +72 -4
  124. package/Json/context/rocrate/property_value_context.js +58 -2
  125. package/Json/context/rocrate/rocrate_context.js +45 -5
  126. package/Json.js +12 -12
  127. package/JsonIO/ARC.js +31 -0
  128. package/JsonIO/Assay.js +99 -0
  129. package/JsonIO/Comment.js +73 -0
  130. package/JsonIO/Data.js +50 -0
  131. package/JsonIO/DataFile.js +49 -0
  132. package/JsonIO/DataMap/DataMap.js +29 -0
  133. package/JsonIO/Decode.js +4 -0
  134. package/JsonIO/Investigation.js +99 -0
  135. package/JsonIO/OntologyAnnotation.js +73 -0
  136. package/JsonIO/OntologySourceReference.js +73 -0
  137. package/JsonIO/Person.js +74 -0
  138. package/JsonIO/Process/Component.js +50 -0
  139. package/JsonIO/Process/Factor.js +28 -0
  140. package/JsonIO/Process/FactorValue.js +29 -0
  141. package/JsonIO/Process/Material.js +50 -0
  142. package/JsonIO/Process/MaterialAttribute.js +29 -0
  143. package/JsonIO/Process/MaterialAttributeValue.js +50 -0
  144. package/JsonIO/Process/MaterialType.js +28 -0
  145. package/JsonIO/Process/Process.js +50 -0
  146. package/JsonIO/Process/ProcessInput.js +29 -0
  147. package/JsonIO/Process/ProcessOutput.js +50 -0
  148. package/JsonIO/Process/ProcessParameterValue.js +50 -0
  149. package/{Json → JsonIO}/Process/ProcessSequence.js +16 -16
  150. package/JsonIO/Process/Protocol.js +50 -0
  151. package/JsonIO/Process/ProtocolParameter.js +28 -0
  152. package/JsonIO/Process/Sample.js +50 -0
  153. package/JsonIO/Process/Source.js +50 -0
  154. package/JsonIO/Process/StudyMaterials.js +22 -0
  155. package/JsonIO/Process/Value.js +23 -0
  156. package/JsonIO/Publication.js +74 -0
  157. package/JsonIO/ROCrateObject.js +146 -0
  158. package/JsonIO/Study.js +99 -0
  159. package/JsonIO/Table/ArcTable.js +82 -0
  160. package/JsonIO/Table/CompositeCell.js +28 -0
  161. package/JsonIO/Table/CompositeHeader.js +28 -0
  162. package/{Json → JsonIO}/Table/Compression.js +20 -10
  163. package/JsonIO/Table/IOType.js +28 -0
  164. package/JsonIO/Table/Templates.js +88 -0
  165. package/ROCrate/ISAProfile/Assay.js +32 -0
  166. package/ROCrate/ISAProfile/Data.js +28 -0
  167. package/ROCrate/ISAProfile/Dataset.js +18 -0
  168. package/ROCrate/ISAProfile/Investigation.js +35 -0
  169. package/ROCrate/ISAProfile/LabProcess.js +32 -0
  170. package/ROCrate/ISAProfile/LabProtocol.js +33 -0
  171. package/ROCrate/ISAProfile/Person.js +35 -0
  172. package/ROCrate/ISAProfile/PropertyValue.js +30 -0
  173. package/ROCrate/ISAProfile/Sample.js +27 -0
  174. package/ROCrate/ISAProfile/ScholarlyArticle.js +30 -0
  175. package/ROCrate/ISAProfile/Study.js +35 -0
  176. package/ROCrate/ROCrateObject.js +61 -0
  177. package/Spreadsheet/AnnotationTable/ArcTable.js +16 -16
  178. package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
  179. package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
  180. package/Spreadsheet/AnnotationTable/CompositeHeader.js +25 -25
  181. package/Spreadsheet/ArcAssay.js +9 -9
  182. package/Spreadsheet/ArcInvestigation.js +14 -14
  183. package/Spreadsheet/ArcStudy.js +7 -7
  184. package/Spreadsheet/CollectionAux.js +11 -11
  185. package/Spreadsheet/DataMap.js +3 -3
  186. package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
  187. package/Spreadsheet/DataMapTable/DataMapHeader.js +23 -23
  188. package/Spreadsheet/DataMapTable/DataMapTable.js +13 -13
  189. package/Spreadsheet/Metadata/Assays.js +11 -11
  190. package/Spreadsheet/Metadata/Comment.js +5 -5
  191. package/Spreadsheet/Metadata/Contacts.js +7 -7
  192. package/Spreadsheet/Metadata/Conversions.js +7 -7
  193. package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  194. package/Spreadsheet/Metadata/Factors.js +8 -8
  195. package/Spreadsheet/Metadata/OntologyAnnotation.js +6 -6
  196. package/Spreadsheet/Metadata/OntologySourceReference.js +6 -6
  197. package/Spreadsheet/Metadata/Protocols.js +9 -9
  198. package/Spreadsheet/Metadata/Publication.js +7 -7
  199. package/Spreadsheet/Metadata/SparseTable.js +21 -21
  200. package/Spreadsheet/Metadata/Study.js +12 -12
  201. package/Spreadsheet/Template.js +21 -21
  202. package/Template.Web.js +6 -6
  203. package/ValidationPackages/ValidationPackage.js +6 -6
  204. package/ValidationPackages/ValidationPackagesConfig.js +9 -9
  205. package/WebRequest/WebRequest.Node.js +2 -2
  206. package/WebRequest/WebRequest.js +2 -2
  207. package/Xlsx.js +9 -9
  208. package/Yaml/Encode.js +1 -1
  209. package/Yaml/ValidationPackage.js +5 -5
  210. package/Yaml/ValidationPackagesConfig.js +5 -5
  211. package/fable_modules/DynamicObj.4.0.0/DynObj.fs +219 -0
  212. package/fable_modules/DynamicObj.4.0.0/DynObj.fs.js +209 -0
  213. package/fable_modules/DynamicObj.4.0.0/DynamicObj.fableproj +47 -0
  214. package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs +310 -0
  215. package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs.js +166 -0
  216. package/fable_modules/DynamicObj.4.0.0/FableJS.fs +162 -0
  217. package/fable_modules/DynamicObj.4.0.0/FableJS.fs.js +141 -0
  218. package/fable_modules/DynamicObj.4.0.0/FablePy.fs +215 -0
  219. package/fable_modules/DynamicObj.4.0.0/HashCodes.fs +46 -0
  220. package/fable_modules/DynamicObj.4.0.0/HashCodes.fs.js +43 -0
  221. package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs +33 -0
  222. package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs.js +21 -0
  223. package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs +72 -0
  224. package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs.js +86 -0
  225. package/fable_modules/{Thoth.Json.JavaScript.0.1.0/obj/Release → DynamicObj.4.0.0/obj/Debug}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
  226. package/fable_modules/DynamicObj.4.0.0/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
  227. package/fable_modules/{Thoth.Json.Core.0.2.1/obj/Debug → DynamicObj.4.0.0/obj/Release}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
  228. package/fable_modules/DynamicObj.4.0.0/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
  229. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
  230. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +6 -6
  231. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +11 -11
  232. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +4 -4
  233. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs.js +15 -15
  234. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs.js +11 -11
  235. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs.js +7 -7
  236. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs.js +4 -4
  237. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs.js +3 -3
  238. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs.js +1 -1
  239. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Operators.fs.js +6 -0
  240. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs.js +4 -4
  241. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs.js +4 -4
  242. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs.js +4 -4
  243. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs.js +10 -10
  244. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs.js +6 -6
  245. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs.js +4 -4
  246. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs.js +11 -11
  247. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs.js +5 -5
  248. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs.js +5 -5
  249. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsSpreadsheet.fableproj +5 -5
  250. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs.js +7 -7
  251. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs.js +11 -11
  252. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Cell.fs.js +64 -0
  253. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Column.fs.js +39 -0
  254. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Row.fs.js +39 -0
  255. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Table.fs.js +30 -0
  256. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs.js +38 -13
  257. package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Workbook.fs.js +46 -0
  258. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js +33 -8
  259. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs.js +4 -4
  260. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs.js +4 -4
  261. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs.js +4 -4
  262. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs.js +4 -4
  263. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs.js +2 -2
  264. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs.js +10 -10
  265. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs.js +11 -11
  266. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs.js +5 -5
  267. package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs.js +2 -2
  268. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs +67 -28
  269. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs.js +79 -50
  270. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Encode.fs +139 -54
  271. package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +192 -0
  272. package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +33 -0
  273. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs +12 -5
  274. package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs.js +2 -2
  275. package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs +9 -0
  276. package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs.js +16 -2
  277. package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Encode.fs +13 -5
  278. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +58 -0
  279. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +28 -0
  280. package/fable_modules/YAMLicious.0.0.1/Decode.fs.js +17 -17
  281. package/fable_modules/YAMLicious.0.0.1/Encode.fs.js +6 -6
  282. package/fable_modules/YAMLicious.0.0.1/Library.fs.js +1 -1
  283. package/fable_modules/YAMLicious.0.0.1/Persil.fs.js +4 -4
  284. package/fable_modules/YAMLicious.0.0.1/Preprocessing.fs.js +6 -6
  285. package/fable_modules/YAMLicious.0.0.1/Reader.fs.js +9 -9
  286. package/fable_modules/YAMLicious.0.0.1/RegexActivePatterns.fs.js +36 -36
  287. package/fable_modules/YAMLicious.0.0.1/Writer.fs.js +4 -4
  288. package/fable_modules/YAMLicious.0.0.1/YAMLiciousTypes.fs.js +6 -6
  289. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.js +10 -10
  290. package/fable_modules/fable-library-js.4.22.0/Async.d.ts +27 -0
  291. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Async.js +1 -7
  292. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.d.ts +13 -13
  293. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.js +4 -3
  294. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/CHANGELOG.md +40 -1
  295. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.js +2 -2
  296. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.js +4 -5
  297. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.js +6 -6
  298. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.js +31 -31
  299. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.d.ts +2 -2
  300. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.js +10 -10
  301. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.js +1 -1
  302. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.js +1 -1
  303. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.js +2 -2
  304. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.js +4 -4
  305. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.d.ts +1 -1
  306. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.js +0 -1
  307. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.js +2 -2
  308. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.js +47 -48
  309. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.js +3 -3
  310. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.d.ts +1 -1
  311. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.js +17 -6
  312. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.js +1 -1
  313. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.js +2 -2
  314. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.d.ts +2 -2
  315. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.d.ts +2 -0
  316. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.js +19 -2
  317. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.d.ts +2 -2
  318. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.js +0 -1
  319. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.js +0 -1
  320. package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/package.json +1 -1
  321. package/fable_modules/project_cracked.json +1 -1
  322. package/package.json +1 -1
  323. package/fable_modules/FsSpreadsheet.6.2.0/DSL/Operators.fs.js +0 -6
  324. package/fable_modules/FsSpreadsheet.6.2.0/Json/Cell.fs.js +0 -38
  325. package/fable_modules/FsSpreadsheet.6.2.0/Json/Column.fs.js +0 -24
  326. package/fable_modules/FsSpreadsheet.6.2.0/Json/Row.fs.js +0 -24
  327. package/fable_modules/FsSpreadsheet.6.2.0/Json/Table.fs.js +0 -15
  328. package/fable_modules/FsSpreadsheet.6.2.0/Json/Workbook.fs.js +0 -35
  329. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +0 -113
  330. package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +0 -28
  331. package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs +0 -20
  332. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +0 -45
  333. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +0 -21
  334. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
  335. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -18
  336. package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -19
  337. package/fable_modules/fable-library-js.4.16.0/Async.d.ts +0 -32
  338. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs +0 -0
  339. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs +0 -0
  340. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs +0 -0
  341. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs +0 -0
  342. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs +0 -0
  343. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs +0 -0
  344. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Operators.fs +0 -0
  345. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs +0 -0
  346. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs +0 -0
  347. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs +0 -0
  348. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs +0 -0
  349. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs +0 -0
  350. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs +0 -0
  351. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs +0 -0
  352. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs +0 -0
  353. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs +0 -0
  354. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs +0 -0
  355. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs +0 -0
  356. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Cell.fs +0 -0
  357. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Column.fs +0 -0
  358. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Row.fs +0 -0
  359. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Table.fs +0 -0
  360. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs +0 -0
  361. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Workbook.fs +0 -0
  362. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs +0 -0
  363. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs +0 -0
  364. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs +0 -0
  365. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs +0 -0
  366. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs +0 -0
  367. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs +0 -0
  368. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs +0 -0
  369. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs +0 -0
  370. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs +0 -0
  371. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs +0 -0
  372. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  373. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  374. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  375. /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  376. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.d.ts +0 -0
  377. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.js +0 -0
  378. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.d.ts +0 -0
  379. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.d.ts +0 -0
  380. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.js +0 -0
  381. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.d.ts +0 -0
  382. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.js +0 -0
  383. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.d.ts +0 -0
  384. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.js +0 -0
  385. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.d.ts +0 -0
  386. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.d.ts +0 -0
  387. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.js +0 -0
  388. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.d.ts +0 -0
  389. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.d.ts +0 -0
  390. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.js +0 -0
  391. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.d.ts +0 -0
  392. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.js +0 -0
  393. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.d.ts +0 -0
  394. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.d.ts +0 -0
  395. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.js +0 -0
  396. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.d.ts +0 -0
  397. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.js +0 -0
  398. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.d.ts +0 -0
  399. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.js +0 -0
  400. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.d.ts +0 -0
  401. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.js +0 -0
  402. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  403. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.js +0 -0
  404. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.d.ts +0 -0
  405. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.js +0 -0
  406. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.d.ts +0 -0
  407. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.js +0 -0
  408. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.d.ts +0 -0
  409. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.js +0 -0
  410. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.d.ts +0 -0
  411. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.js +0 -0
  412. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.d.ts +0 -0
  413. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.d.ts +0 -0
  414. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.js +0 -0
  415. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.js +0 -0
  416. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.d.ts +0 -0
  417. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.d.ts +0 -0
  418. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.js +0 -0
  419. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.d.ts +0 -0
  420. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.d.ts +0 -0
  421. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.d.ts +0 -0
  422. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.js +0 -0
  423. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.d.ts +0 -0
  424. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.js +0 -0
  425. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.d.ts +0 -0
  426. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.js +0 -0
  427. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.d.ts +0 -0
  428. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.js +0 -0
  429. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/README.md +0 -0
  430. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.d.ts +0 -0
  431. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.d.ts +0 -0
  432. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.js +0 -0
  433. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.d.ts +0 -0
  434. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.d.ts +0 -0
  435. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.d.ts +0 -0
  436. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.d.ts +0 -0
  437. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.js +0 -0
  438. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.d.ts +0 -0
  439. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.d.ts +0 -0
  440. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.js +0 -0
  441. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.d.ts +0 -0
  442. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.d.ts +0 -0
  443. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.js +0 -0
  444. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.d.ts +0 -0
  445. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.js +0 -0
  446. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.d.ts +0 -0
  447. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.d.ts +0 -0
  448. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.js +0 -0
  449. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.js +0 -0
  450. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.d.ts +0 -0
  451. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.js +0 -0
  452. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/big.d.ts +0 -0
  453. /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.d.ts +0 -0
package/ARC.js CHANGED
@@ -1,37 +1,37 @@
1
- import { append as append_1, contains as contains_1, concat, fold, map, exactlyOne, tryPick, choose } from "./fable_modules/fable-library-js.4.16.0/Array.js";
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
- 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
- import { ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F } from "./Contract/ArcStudy.js";
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";
2
+ import { ARCtrl_ArcAssay__ArcAssay_ToUpdateContract_6FCE9E49, ARCtrl_ArcAssay__ArcAssay_ToCreateContract_66CF920, ARCtrl_ArcAssay__ArcAssay_ToDeleteContract, ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F } from "./Contract/ArcAssay.js";
3
+ import { ARCtrl_DataMap__DataMap_tryFromReadContractForStudy_Static, ARCtrl_DataMap__DataMap_tryFromReadContractForAssay_Static } from "./Contract/Datamap.js";
4
+ import { ARCtrl_ArcStudy__ArcStudy_ToCreateContract_66CF920, ARCtrl_ArcStudy__ArcStudy_ToUpdateContract_6FCE9E49, 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.16.0/Seq.js";
6
+ import { empty, iterate, find, tryFind, collect, singleton, append, delay, toList, contains, toArray } from "./fable_modules/fable-library-js.4.22.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.16.0/Option.js";
10
- import { comparePrimitives, safeHash, stringHash } from "./fable_modules/fable-library-js.4.16.0/Util.js";
9
+ import { bind, map as map_1, value as value_2, defaultArg, 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";
11
11
  import { getStudyFolderPath, getAssayFolderPath } from "./FileSystem/Path.js";
12
- import { printf, toText, replace } from "./fable_modules/fable-library-js.4.16.0/String.js";
12
+ import { printf, toText, replace } from "./fable_modules/fable-library-js.4.22.0/String.js";
13
13
  import { Contract } from "./Contract/Contract.js";
14
- import { ofArray } from "./fable_modules/fable-library-js.4.16.0/List.js";
14
+ import { ofArray } from "./fable_modules/fable-library-js.4.22.0/List.js";
15
15
  import { tryISAReadContractFromPath } from "./Contract/ARC.js";
16
16
  import { ArcTables } from "./Core/Table/ArcTables.js";
17
- import { addToDict } from "./fable_modules/fable-library-js.4.16.0/MapUtil.js";
17
+ import { addToDict } from "./fable_modules/fable-library-js.4.22.0/MapUtil.js";
18
18
  import { ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF } from "./Spreadsheet/ArcInvestigation.js";
19
19
  import { ArcInvestigation } from "./Core/ArcTypes.js";
20
20
  import { Assay_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Study_datamapFileNameFromIdentifier, Study_fileNameFromIdentifier } from "./Core/Helper/Identifier.js";
21
21
  import { ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522 } from "./Spreadsheet/ArcStudy.js";
22
- import { DataMap__get_StaticHash, DataMap__set_StaticHash_Z524259A4 } from "./Core/DataMap.js";
22
+ import { DataMap__set_StaticHash_Z524259A4 } from "./Core/DataMap.js";
23
23
  import { toFsWorkbook } from "./Spreadsheet/DataMap.js";
24
24
  import { ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F } from "./Spreadsheet/ArcAssay.js";
25
- import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.6.2.0/Cells/FsCellsCollection.fs.js";
25
+ import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.6.3.0-alpha.4/Cells/FsCellsCollection.fs.js";
26
26
  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.16.0/Set.js";
28
- import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library-js.4.16.0/Map.js";
29
- import { fromString } from "./fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
30
- import { encoder, decoder as decoder_1 } from "./Json/ARC.js";
31
- import { toString } from "./fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.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";
29
+ import { fromString } from "./fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js";
30
+ import { encoder, decoder as decoder_1 } from "./JsonIO/ARC.js";
31
+ import { toString } from "./fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js";
32
32
  import { defaultSpaces } from "./Json/Encode.js";
33
33
  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.16.0/Reflection.js";
34
+ import { class_type } from "./fable_modules/fable-library-js.4.22.0/Reflection.js";
35
35
 
36
36
  export function ARCAux_getArcAssaysFromContracts(contracts) {
37
37
  return choose(ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F, contracts);
@@ -141,9 +141,9 @@ export class ARC {
141
141
  isa.RemoveAssay(assayIdentifier);
142
142
  const paths = this$.FileSystem.Tree.ToFilePaths();
143
143
  const assayFolderPath = getAssayFolderPath(assayIdentifier);
144
- const filteredPaths = paths.filter((p) => !(p.indexOf(assayFolderPath) === 0));
144
+ const filteredPaths = paths.filter((p) => !p.startsWith(assayFolderPath));
145
145
  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)))))));
146
+ const collection = toList(delay(() => append(singleton(ARCtrl_ArcAssay__ArcAssay_ToDeleteContract(assay)), delay(() => append(singleton(ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)), delay(() => collect(ARCtrl_ArcStudy__ArcStudy_ToUpdateContract_6FCE9E49, studies)))))));
147
147
  return Array.from(collection);
148
148
  }
149
149
  RenameAssay(oldAssayIdentifier, newAssayIdentifier) {
@@ -186,7 +186,7 @@ export class ARC {
186
186
  isa.RemoveStudy(studyIdentifier);
187
187
  const paths = this$.FileSystem.Tree.ToFilePaths();
188
188
  const studyFolderPath = getStudyFolderPath(studyIdentifier);
189
- const filteredPaths = paths.filter((p) => !(p.indexOf(studyFolderPath) === 0));
189
+ const filteredPaths = paths.filter((p) => !p.startsWith(studyFolderPath));
190
190
  this$.SetFilePaths(filteredPaths);
191
191
  const collection = ofArray([Contract.createDelete(studyFolderPath), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)]);
192
192
  return Array.from(collection);
@@ -219,7 +219,7 @@ export class ARC {
219
219
  return Array.from(collection);
220
220
  }
221
221
  static fromFilePaths(filePaths) {
222
- return new ARC(void 0, void 0, FileSystem.fromFilePaths(filePaths));
222
+ return new ARC(undefined, undefined, FileSystem.fromFilePaths(filePaths));
223
223
  }
224
224
  SetFilePaths(filePaths) {
225
225
  const this$ = this;
@@ -297,8 +297,9 @@ export class ARC {
297
297
  newFS = ARCAux_updateFSByCWL(this$._cwl, fs);
298
298
  this$._fs = newFS;
299
299
  }
300
- GetWriteContracts() {
300
+ GetWriteContracts(datamapAsFile) {
301
301
  const this$ = this;
302
+ const datamapAsFile_1 = defaultArg(datamapAsFile, false);
302
303
  const workbooks = new Map([]);
303
304
  const matchValue = this$.ISA;
304
305
  if (matchValue == null) {
@@ -310,8 +311,8 @@ export class ARC {
310
311
  inv.StaticHash = (inv.GetLightHashCode() | 0);
311
312
  iterate((s) => {
312
313
  s.StaticHash = (s.GetLightHashCode() | 0);
313
- addToDict(workbooks, Study_fileNameFromIdentifier(s.Identifier), ["ISA_Study", ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(s)]);
314
- if (s.DataMap != null) {
314
+ addToDict(workbooks, Study_fileNameFromIdentifier(s.Identifier), ["ISA_Study", ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(s, undefined, !datamapAsFile_1)]);
315
+ if ((s.DataMap != null) && datamapAsFile_1) {
315
316
  const dm = value_2(s.DataMap);
316
317
  DataMap__set_StaticHash_Z524259A4(dm, safeHash(dm));
317
318
  addToDict(workbooks, Study_datamapFileNameFromIdentifier(s.Identifier), ["ISA_Datamap", toFsWorkbook(dm)]);
@@ -319,8 +320,8 @@ export class ARC {
319
320
  }, inv.Studies);
320
321
  iterate((a) => {
321
322
  a.StaticHash = (a.GetLightHashCode() | 0);
322
- addToDict(workbooks, Assay_fileNameFromIdentifier(a.Identifier), ["ISA_Assay", ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(a)]);
323
- if (a.DataMap != null) {
323
+ addToDict(workbooks, Assay_fileNameFromIdentifier(a.Identifier), ["ISA_Assay", ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(a, !datamapAsFile_1)]);
324
+ if ((a.DataMap != null) && datamapAsFile_1) {
324
325
  const dm_1 = value_2(a.DataMap);
325
326
  DataMap__set_StaticHash_Z524259A4(dm_1, safeHash(dm_1));
326
327
  addToDict(workbooks, Assay_datamapFileNameFromIdentifier(a.Identifier), ["ISA_Datamap", toFsWorkbook(dm_1)]);
@@ -339,7 +340,7 @@ export class ARC {
339
340
  }
340
341
  }, this$._fs.Tree.ToFilePaths(true));
341
342
  }
342
- GetUpdateContracts() {
343
+ GetUpdateContracts(datamapAsFile) {
343
344
  let inv, inv_1, inv_2;
344
345
  const this$ = this;
345
346
  const matchValue = this$.ISA;
@@ -349,81 +350,15 @@ export class ARC {
349
350
  inv_2.StaticHash = (hash | 0);
350
351
  return append(collect((s) => {
351
352
  const hash_1 = s.GetLightHashCode() | 0;
352
- return append((s.StaticHash === 0) ? ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(s, true) : ((s.StaticHash !== hash_1) ? singleton(ARCtrl_ArcStudy__ArcStudy_ToUpdateContract(s)) : empty()), delay(() => {
353
- let dm_1;
353
+ return append((s.StaticHash === 0) ? ARCtrl_ArcStudy__ArcStudy_ToCreateContract_66CF920(s, true, unwrap(datamapAsFile)) : ARCtrl_ArcStudy__ArcStudy_ToUpdateContract_6FCE9E49(s, unwrap(datamapAsFile)), delay(() => {
354
354
  s.StaticHash = (hash_1 | 0);
355
- const matchValue_1 = s.DataMap;
356
- let matchResult, dm_2, dm_3;
357
- if (matchValue_1 != null) {
358
- if (DataMap__get_StaticHash(matchValue_1) === 0) {
359
- matchResult = 0;
360
- dm_2 = matchValue_1;
361
- }
362
- else if ((dm_1 = matchValue_1, DataMap__get_StaticHash(dm_1) !== safeHash(dm_1))) {
363
- matchResult = 1;
364
- dm_3 = matchValue_1;
365
- }
366
- else {
367
- matchResult = 2;
368
- }
369
- }
370
- else {
371
- matchResult = 2;
372
- }
373
- switch (matchResult) {
374
- case 0:
375
- return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForStudy_Z721C83C5(dm_2, s.Identifier)), delay(() => {
376
- DataMap__set_StaticHash_Z524259A4(dm_2, safeHash(dm_2));
377
- return empty();
378
- }));
379
- case 1:
380
- return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForStudy_Z721C83C5(dm_3, s.Identifier)), delay(() => {
381
- DataMap__set_StaticHash_Z524259A4(dm_3, safeHash(dm_3));
382
- return empty();
383
- }));
384
- default: {
385
- return empty();
386
- }
387
- }
355
+ return empty();
388
356
  }));
389
357
  }, inv_2.Studies), delay(() => collect((a) => {
390
358
  const hash_2 = a.GetLightHashCode() | 0;
391
- return append((a.StaticHash === 0) ? ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(a, true) : ((a.StaticHash !== hash_2) ? singleton(ARCtrl_ArcAssay__ArcAssay_ToUpdateContract(a)) : empty()), delay(() => {
392
- let dm_5;
359
+ return append((a.StaticHash === 0) ? ARCtrl_ArcAssay__ArcAssay_ToCreateContract_66CF920(a, true, unwrap(datamapAsFile)) : ARCtrl_ArcAssay__ArcAssay_ToUpdateContract_6FCE9E49(a, unwrap(datamapAsFile)), delay(() => {
393
360
  a.StaticHash = (hash_2 | 0);
394
- const matchValue_2 = a.DataMap;
395
- let matchResult_1, dm_6, dm_7;
396
- if (matchValue_2 != null) {
397
- if (DataMap__get_StaticHash(matchValue_2) === 0) {
398
- matchResult_1 = 0;
399
- dm_6 = matchValue_2;
400
- }
401
- else if ((dm_5 = matchValue_2, DataMap__get_StaticHash(dm_5) !== safeHash(dm_5))) {
402
- matchResult_1 = 1;
403
- dm_7 = matchValue_2;
404
- }
405
- else {
406
- matchResult_1 = 2;
407
- }
408
- }
409
- else {
410
- matchResult_1 = 2;
411
- }
412
- switch (matchResult_1) {
413
- case 0:
414
- return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForAssay_Z721C83C5(dm_6, a.Identifier)), delay(() => {
415
- DataMap__set_StaticHash_Z524259A4(dm_6, safeHash(dm_6));
416
- return empty();
417
- }));
418
- case 1:
419
- return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForAssay_Z721C83C5(dm_7, a.Identifier)), delay(() => {
420
- DataMap__set_StaticHash_Z524259A4(dm_7, safeHash(dm_7));
421
- return empty();
422
- }));
423
- default: {
424
- return empty();
425
- }
426
- }
361
+ return empty();
427
362
  }));
428
363
  }, inv_2.Assays)));
429
364
  }));
@@ -438,14 +373,14 @@ export class ARC {
438
373
  }
439
374
  Copy() {
440
375
  const this$ = this;
441
- const isaCopy = map_2((i) => i.Copy(), this$._isa);
376
+ const isaCopy = map_1((i) => i.Copy(), this$._isa);
442
377
  const fsCopy = this$._fs.Copy();
443
378
  return new ARC(unwrap(isaCopy), this$._cwl, fsCopy);
444
379
  }
445
380
  GetRegisteredPayload(IgnoreHidden) {
446
381
  let tree, paths, array_3;
447
382
  const this$ = this;
448
- const registeredStudies = defaultArg(map_2((isa) => isa.Studies.slice(), map_2((i) => i.Copy(), this$._isa)), []);
383
+ const registeredStudies = defaultArg(map_1((isa) => isa.Studies.slice(), map_1((i) => i.Copy(), this$._isa)), []);
449
384
  const registeredAssays = concat(map((s) => s.RegisteredAssays.slice(), registeredStudies));
450
385
  const includeFiles = unionMany([ofSeq(["isa.investigation.xlsx", "README.md"], {
451
386
  Compare: comparePrimitives,
@@ -476,19 +411,19 @@ export class ARC {
476
411
  const fsCopy = this$._fs.Copy();
477
412
  return defaultArg(bind((tree_1) => {
478
413
  if (ignoreHidden) {
479
- return FileSystemTree.filterFolders((n_1) => !(n_1.indexOf(".") === 0))(tree_1);
414
+ return FileSystemTree.filterFolders((n_1) => !n_1.startsWith("."))(tree_1);
480
415
  }
481
416
  else {
482
417
  return tree_1;
483
418
  }
484
419
  }, (tree = ((paths = ((array_3 = FileSystemTree.toFilePaths()(fsCopy.Tree), array_3.filter((p) => {
485
- if ((p.indexOf("workflows") === 0) ? true : (p.indexOf("runs") === 0)) {
420
+ if (p.startsWith("workflows") ? true : p.startsWith("runs")) {
486
421
  return true;
487
422
  }
488
423
  else {
489
424
  return FSharpSet__Contains(includeFiles, p);
490
425
  }
491
- }))), FileSystemTree.fromFilePaths(paths))), ignoreHidden ? FileSystemTree.filterFiles((n) => !(n.indexOf(".") === 0))(tree) : tree)), FileSystemTree.fromFilePaths([]));
426
+ }))), FileSystemTree.fromFilePaths(paths))), ignoreHidden ? FileSystemTree.filterFiles((n) => !n.startsWith("."))(tree) : tree)), FileSystemTree.fromFilePaths([]));
492
427
  }
493
428
  GetAdditionalPayload(IgnoreHidden) {
494
429
  let tree, paths, array;
@@ -499,12 +434,12 @@ export class ARC {
499
434
  });
500
435
  return defaultArg(bind((tree_1) => {
501
436
  if (ignoreHidden) {
502
- return FileSystemTree.filterFolders((n_1) => !(n_1.indexOf(".") === 0))(tree_1);
437
+ return FileSystemTree.filterFolders((n_1) => !n_1.startsWith("."))(tree_1);
503
438
  }
504
439
  else {
505
440
  return tree_1;
506
441
  }
507
- }, (tree = ((paths = ((array = FileSystemTree.toFilePaths()(this$._fs.Copy().Tree), array.filter((p) => !FSharpSet__Contains(registeredPayload, p)))), FileSystemTree.fromFilePaths(paths))), ignoreHidden ? FileSystemTree.filterFiles((n) => !(n.indexOf(".") === 0))(tree) : tree)), FileSystemTree.fromFilePaths([]));
442
+ }, (tree = ((paths = ((array = FileSystemTree.toFilePaths()(this$._fs.Copy().Tree), array.filter((p) => !FSharpSet__Contains(registeredPayload, p)))), FileSystemTree.fromFilePaths(paths))), ignoreHidden ? FileSystemTree.filterFiles((n) => !n.startsWith("."))(tree) : tree)), FileSystemTree.fromFilePaths([]));
508
443
  }
509
444
  static get DefaultContracts() {
510
445
  return ofSeq_1([[".gitignore", gitignoreContract], [".gitattributes", gitattributesContract]], {
@@ -513,9 +448,9 @@ export class ARC {
513
448
  }
514
449
  static fromROCrateJsonString(s) {
515
450
  let matchValue;
516
- return new ARC((matchValue = fromString(decoder_1, s), (matchValue.tag === 1) ? (() => {
451
+ return new ARC(unwrap((matchValue = fromString(decoder_1, s), (matchValue.tag === 1) ? (() => {
517
452
  throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
518
- })() : matchValue.fields[0]));
453
+ })() : matchValue.fields[0])));
519
454
  }
520
455
  ToROCrateJsonString(spaces) {
521
456
  const this$ = this;
@@ -558,7 +493,7 @@ export class ARC {
558
493
  }
559
494
 
560
495
  export function ARC_$reflection() {
561
- return class_type("ARCtrl.ARC", void 0, ARC);
496
+ return class_type("ARCtrl.ARC", undefined, ARC);
562
497
  }
563
498
 
564
499
  export function ARC_$ctor_79978BA1(isa, cwl, fs) {
package/Contract/ARC.js CHANGED
@@ -34,7 +34,7 @@ export function tryISAReadContractFromPath(path) {
34
34
  return Contract.createRead(p_3, "ISA_Datamap");
35
35
  }
36
36
  else {
37
- return void 0;
37
+ return undefined;
38
38
  }
39
39
  }
40
40
  }
@@ -1,12 +1,14 @@
1
- import { equalsWith, item } from "../fable_modules/fable-library-js.4.16.0/Array.js";
1
+ import { equalsWith, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
2
2
  import { getAssayFolderPath, combineMany } from "../FileSystem/Path.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.16.0/Util.js";
4
- import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.16.0/Option.js";
3
+ import { safeHash, defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
4
+ import { unwrap, value, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
5
5
  import { Assay_fileNameFromIdentifier } from "../Core/Helper/Identifier.js";
6
- import { Contract } from "./Contract.js";
7
6
  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.16.0/Seq.js";
7
+ import { Contract } from "./Contract.js";
8
+ import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
9
9
  import { FileSystemTree } from "../FileSystem/FileSystemTree.js";
10
+ import { DataMap__get_StaticHash, DataMap__set_StaticHash_Z524259A4 } from "../Core/DataMap.js";
11
+ import { ARCtrl_DataMap__DataMap_ToUpdateContractForAssay_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForAssay_Z721C83C5 } from "./Datamap.js";
10
12
 
11
13
  export function $007CAssayPath$007C_$007C(input) {
12
14
  let matchResult;
@@ -32,23 +34,44 @@ export function $007CAssayPath$007C_$007C(input) {
32
34
  return combineMany(input);
33
35
  }
34
36
  default:
35
- return void 0;
37
+ return undefined;
36
38
  }
37
39
  }
38
40
 
39
- export function ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(this$, WithFolder) {
41
+ export function ARCtrl_ArcAssay__ArcAssay_ToCreateContract_66CF920(this$, WithFolder, datamapAsFile) {
40
42
  const withFolder = defaultArg(WithFolder, false);
43
+ const dataMapAsFile = defaultArg(datamapAsFile, false);
41
44
  const path = Assay_fileNameFromIdentifier(this$.Identifier);
42
- const c = Contract.createCreate(path, "ISA_Assay", ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(this$));
45
+ const dto = ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(this$, !dataMapAsFile);
46
+ const c = Contract.createCreate(path, "ISA_Assay", dto);
43
47
  return toArray(delay(() => {
44
48
  let folderFS;
45
- return append(withFolder ? ((folderFS = FileSystemTree.createAssaysFolder([FileSystemTree.createAssayFolder(this$.Identifier)]), collect((p) => (((p !== path) && (p !== "assays/.gitkeep")) ? singleton(Contract.createCreate(p, "PlainText")) : empty()), folderFS.ToFilePaths(false)))) : empty(), delay(() => singleton(c)));
49
+ return append(withFolder ? ((folderFS = FileSystemTree.createAssaysFolder([FileSystemTree.createAssayFolder(this$.Identifier)]), collect((p) => (((p !== path) && (p !== "assays/.gitkeep")) ? singleton(Contract.createCreate(p, "PlainText")) : empty()), folderFS.ToFilePaths(false)))) : empty(), delay(() => {
50
+ let matchValue, dm;
51
+ return append((matchValue = this$.DataMap, (matchValue != null) ? ((dm = matchValue, (DataMap__set_StaticHash_Z524259A4(dm, safeHash(dm)), dataMapAsFile ? singleton(ARCtrl_DataMap__DataMap_ToCreateContractForAssay_Z721C83C5(dm, this$.Identifier)) : empty()))) : (empty())), delay(() => singleton(c)));
52
+ }));
46
53
  }));
47
54
  }
48
55
 
49
- export function ARCtrl_ArcAssay__ArcAssay_ToUpdateContract(this$) {
56
+ export function ARCtrl_ArcAssay__ArcAssay_ToUpdateContract_6FCE9E49(this$, datamapAsFile) {
57
+ const datamapAsFile_1 = defaultArg(datamapAsFile, false);
50
58
  const path = Assay_fileNameFromIdentifier(this$.Identifier);
51
- return Contract.createUpdate(path, "ISA_Assay", ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(this$));
59
+ const hash = this$.GetLightHashCode() | 0;
60
+ let datamapHasChanged;
61
+ const matchValue = this$.DataMap;
62
+ if (matchValue != null) {
63
+ const dm = matchValue;
64
+ const hc = safeHash(dm) !== DataMap__get_StaticHash(dm);
65
+ DataMap__set_StaticHash_Z524259A4(dm, safeHash(dm));
66
+ datamapHasChanged = hc;
67
+ }
68
+ else {
69
+ datamapHasChanged = false;
70
+ }
71
+ return toArray(delay(() => {
72
+ let dto;
73
+ return append(((hash !== this$.StaticHash) ? true : (datamapHasChanged && !datamapAsFile_1)) ? singleton((dto = ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(this$, !datamapAsFile_1), Contract.createUpdate(path, "ISA_Assay", dto))) : empty(), delay(() => ((datamapHasChanged && datamapAsFile_1) ? singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForAssay_Z721C83C5(value(this$.DataMap), this$.Identifier)) : empty())));
74
+ }));
52
75
  }
53
76
 
54
77
  export function ARCtrl_ArcAssay__ArcAssay_ToDeleteContract(this$) {
@@ -61,11 +84,11 @@ export function ARCtrl_ArcAssay__ArcAssay_toDeleteContract_Static_1501C0F8(assay
61
84
  }
62
85
 
63
86
  export function ARCtrl_ArcAssay__ArcAssay_toCreateContract_Static_Z2508BE4F(assay, WithFolder) {
64
- return ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(assay, unwrap(WithFolder));
87
+ return ARCtrl_ArcAssay__ArcAssay_ToCreateContract_66CF920(assay, unwrap(WithFolder));
65
88
  }
66
89
 
67
90
  export function ARCtrl_ArcAssay__ArcAssay_toUpdateContract_Static_1501C0F8(assay) {
68
- return ARCtrl_ArcAssay__ArcAssay_ToUpdateContract(assay);
91
+ return ARCtrl_ArcAssay__ArcAssay_ToUpdateContract_6FCE9E49(assay);
69
92
  }
70
93
 
71
94
  export function ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F(c) {
@@ -96,7 +119,7 @@ export function ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F(c)
96
119
  case 0:
97
120
  return ARCtrl_ArcAssay__ArcAssay_fromFsWorkbook_Static_32154C9D(fsworkbook);
98
121
  default:
99
- return void 0;
122
+ return undefined;
100
123
  }
101
124
  }
102
125
 
@@ -1,6 +1,6 @@
1
1
  import { combineMany } from "../FileSystem/Path.js";
2
- import { item, equalsWith } from "../fable_modules/fable-library-js.4.16.0/Array.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.16.0/Util.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";
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
 
@@ -21,7 +21,7 @@ export function $007CInvestigationPath$007C_$007C(input) {
21
21
  case 0:
22
22
  return combineMany(input);
23
23
  default:
24
- return void 0;
24
+ return undefined;
25
25
  }
26
26
  }
27
27
 
@@ -69,7 +69,7 @@ export function ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_St
69
69
  case 0:
70
70
  return ARCtrl_ArcInvestigation__ArcInvestigation_fromFsWorkbook_Static_32154C9D(fsworkbook);
71
71
  default:
72
- return void 0;
72
+ return undefined;
73
73
  }
74
74
  }
75
75
 
@@ -1,12 +1,14 @@
1
- import { equalsWith, item } from "../fable_modules/fable-library-js.4.16.0/Array.js";
1
+ import { equalsWith, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
2
2
  import { getStudyFolderPath, combineMany } from "../FileSystem/Path.js";
3
- import { defaultOf } from "../fable_modules/fable-library-js.4.16.0/Util.js";
4
- import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.16.0/Option.js";
3
+ import { safeHash, defaultOf } from "../fable_modules/fable-library-js.4.22.0/Util.js";
4
+ import { unwrap, value, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
5
5
  import { Study_fileNameFromIdentifier } from "../Core/Helper/Identifier.js";
6
- import { Contract } from "./Contract.js";
7
6
  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.16.0/Seq.js";
7
+ import { Contract } from "./Contract.js";
8
+ import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
9
9
  import { FileSystemTree } from "../FileSystem/FileSystemTree.js";
10
+ import { DataMap__get_StaticHash, DataMap__set_StaticHash_Z524259A4 } from "../Core/DataMap.js";
11
+ import { ARCtrl_DataMap__DataMap_ToUpdateContractForStudy_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForStudy_Z721C83C5 } from "./Datamap.js";
10
12
 
11
13
  export function $007CStudyPath$007C_$007C(input) {
12
14
  let matchResult;
@@ -32,23 +34,44 @@ export function $007CStudyPath$007C_$007C(input) {
32
34
  return combineMany(input);
33
35
  }
34
36
  default:
35
- return void 0;
37
+ return undefined;
36
38
  }
37
39
  }
38
40
 
39
- export function ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(this$, WithFolder) {
41
+ export function ARCtrl_ArcStudy__ArcStudy_ToCreateContract_66CF920(this$, WithFolder, datamapAsFile) {
40
42
  const withFolder = defaultArg(WithFolder, false);
43
+ const dataMapAsFile = defaultArg(datamapAsFile, false);
41
44
  const path = Study_fileNameFromIdentifier(this$.Identifier);
42
- const c = Contract.createCreate(path, "ISA_Study", ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(this$));
45
+ const dto = ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(this$, undefined, !dataMapAsFile);
46
+ const c = Contract.createCreate(path, "ISA_Study", dto);
43
47
  return toArray(delay(() => {
44
48
  let folderFS;
45
- return append(withFolder ? ((folderFS = FileSystemTree.createStudiesFolder([FileSystemTree.createStudyFolder(this$.Identifier)]), collect((p) => (((p !== path) && (p !== "studies/.gitkeep")) ? singleton(Contract.createCreate(p, "PlainText")) : empty()), folderFS.ToFilePaths(false)))) : empty(), delay(() => singleton(c)));
49
+ return append(withFolder ? ((folderFS = FileSystemTree.createStudiesFolder([FileSystemTree.createStudyFolder(this$.Identifier)]), collect((p) => (((p !== path) && (p !== "studies/.gitkeep")) ? singleton(Contract.createCreate(p, "PlainText")) : empty()), folderFS.ToFilePaths(false)))) : empty(), delay(() => {
50
+ let matchValue, dm;
51
+ return append((matchValue = this$.DataMap, (matchValue != null) ? ((dm = matchValue, (DataMap__set_StaticHash_Z524259A4(dm, safeHash(dm)), dataMapAsFile ? singleton(ARCtrl_DataMap__DataMap_ToCreateContractForStudy_Z721C83C5(dm, this$.Identifier)) : empty()))) : (empty())), delay(() => singleton(c)));
52
+ }));
46
53
  }));
47
54
  }
48
55
 
49
- export function ARCtrl_ArcStudy__ArcStudy_ToUpdateContract(this$) {
56
+ export function ARCtrl_ArcStudy__ArcStudy_ToUpdateContract_6FCE9E49(this$, datamapAsFile) {
57
+ const datamapAsFile_1 = defaultArg(datamapAsFile, false);
50
58
  const path = Study_fileNameFromIdentifier(this$.Identifier);
51
- return Contract.createUpdate(path, "ISA_Study", ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(this$));
59
+ const hash = this$.GetLightHashCode() | 0;
60
+ let datamapHasChanged;
61
+ const matchValue = this$.DataMap;
62
+ if (matchValue != null) {
63
+ const dm = matchValue;
64
+ const hc = safeHash(dm) !== DataMap__get_StaticHash(dm);
65
+ DataMap__set_StaticHash_Z524259A4(dm, safeHash(dm));
66
+ datamapHasChanged = hc;
67
+ }
68
+ else {
69
+ datamapHasChanged = false;
70
+ }
71
+ return toArray(delay(() => {
72
+ let dto;
73
+ return append(((hash !== this$.StaticHash) ? true : (datamapHasChanged && !datamapAsFile_1)) ? singleton((dto = ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(this$, undefined, !datamapAsFile_1), Contract.createUpdate(path, "ISA_Study", dto))) : empty(), delay(() => ((datamapHasChanged && datamapAsFile_1) ? singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForStudy_Z721C83C5(value(this$.DataMap), this$.Identifier)) : empty())));
74
+ }));
52
75
  }
53
76
 
54
77
  export function ARCtrl_ArcStudy__ArcStudy_ToDeleteContract(this$) {
@@ -61,11 +84,11 @@ export function ARCtrl_ArcStudy__ArcStudy_toDeleteContract_Static_1680536E(study
61
84
  }
62
85
 
63
86
  export function ARCtrl_ArcStudy__ArcStudy_toCreateContract_Static_Z76BBA099(study, WithFolder) {
64
- return ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(study, unwrap(WithFolder));
87
+ return ARCtrl_ArcStudy__ArcStudy_ToCreateContract_66CF920(study, unwrap(WithFolder));
65
88
  }
66
89
 
67
90
  export function ARCtrl_ArcStudy__ArcStudy_toUpdateContract_Static_1680536E(study) {
68
- return ARCtrl_ArcStudy__ArcStudy_ToUpdateContract(study);
91
+ return ARCtrl_ArcStudy__ArcStudy_ToUpdateContract_6FCE9E49(study);
69
92
  }
70
93
 
71
94
  export function ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F(c) {
@@ -96,7 +119,7 @@ export function ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F(c)
96
119
  case 0:
97
120
  return ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D(fsworkbook);
98
121
  default:
99
- return void 0;
122
+ return undefined;
100
123
  }
101
124
  }
102
125
 
@@ -1,6 +1,6 @@
1
- import { Record } from "../fable_modules/fable-library-js.4.16.0/Types.js";
2
- import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
- import { defaultArg } from "../fable_modules/fable-library-js.4.16.0/Option.js";
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";
4
4
 
5
5
  export class CLITool extends Record {
6
6
  constructor(Name, Arguments) {
@@ -79,16 +79,16 @@ export class Contract extends Record {
79
79
  return new Contract("UPDATE", path, dtoType, dto);
80
80
  }
81
81
  static createDelete(path) {
82
- return new Contract("DELETE", path, void 0, void 0);
82
+ return new Contract("DELETE", path, undefined, undefined);
83
83
  }
84
84
  static createRead(path, dtoType) {
85
- return new Contract("READ", path, dtoType, void 0);
85
+ return new Contract("READ", path, dtoType, undefined);
86
86
  }
87
87
  static createExecute(dto, path) {
88
88
  return new Contract("EXECUTE", defaultArg(path, ""), "Cli", dto);
89
89
  }
90
90
  static createRename(oldPath, newPath) {
91
- return new Contract("RENAME", oldPath, void 0, newPath);
91
+ return new Contract("RENAME", oldPath, undefined, newPath);
92
92
  }
93
93
  }
94
94
 
@@ -1,6 +1,6 @@
1
- import { equalsWith, item } from "../fable_modules/fable-library-js.4.16.0/Array.js";
1
+ import { equalsWith, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
2
2
  import { combineMany } from "../FileSystem/Path.js";
3
- import { safeHash, defaultOf } from "../fable_modules/fable-library-js.4.16.0/Util.js";
3
+ import { safeHash, defaultOf } from "../fable_modules/fable-library-js.4.22.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";
@@ -42,7 +42,7 @@ export function $007CDatamapPath$007C_$007C(input) {
42
42
  return combineMany(input);
43
43
  }
44
44
  default:
45
- return void 0;
45
+ return undefined;
46
46
  }
47
47
  }
48
48
 
@@ -108,7 +108,7 @@ export function ARCtrl_DataMap__DataMap_tryFromReadContractForAssay_Static(assay
108
108
  return dm;
109
109
  }
110
110
  default:
111
- return void 0;
111
+ return undefined;
112
112
  }
113
113
  }
114
114
 
@@ -174,7 +174,7 @@ export function ARCtrl_DataMap__DataMap_tryFromReadContractForStudy_Static(study
174
174
  return dm;
175
175
  }
176
176
  default:
177
- return void 0;
177
+ return undefined;
178
178
  }
179
179
  }
180
180
 
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.16.0/Reflection.js";
5
- import { value, defaultArg } from "../fable_modules/fable-library-js.4.16.0/Option.js";
6
- import { replace } from "../fable_modules/fable-library-js.4.16.0/String.js";
7
- import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library-js.4.16.0/Seq.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";
8
8
 
9
9
  export function gitWithArgs(arguments$) {
10
10
  return CLITool.create("git", arguments$);
@@ -28,7 +28,7 @@ export class Init {
28
28
  }
29
29
 
30
30
  export function Init_$reflection() {
31
- return class_type("ARCtrl.Contract.Git.Init", void 0, Init);
31
+ return class_type("ARCtrl.Contract.Git.Init", undefined, Init);
32
32
  }
33
33
 
34
34
  export class Clone {
@@ -37,7 +37,7 @@ export class Clone {
37
37
  }
38
38
 
39
39
  export function Clone_$reflection() {
40
- return class_type("ARCtrl.Contract.Git.Clone", void 0, Clone);
40
+ return class_type("ARCtrl.Contract.Git.Clone", undefined, Clone);
41
41
  }
42
42
 
43
43
  export function Init_get_init() {