@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.
- package/ARC.js +63 -23
- package/CWL/CWLTypes.js +3 -3
- package/CWL/Decode.js +7 -7
- package/CWL/Inputs.js +4 -4
- package/CWL/Outputs.js +4 -4
- package/CWL/Requirements.js +3 -3
- package/CWL/ToolDescription.js +2 -2
- package/CWL/WorkflowDescription.js +2 -2
- package/CWL/WorkflowSteps.js +3 -3
- package/Contract/ArcAssay.js +4 -4
- package/Contract/ArcInvestigation.js +2 -2
- package/Contract/ArcStudy.js +4 -4
- package/Contract/Contract.js +3 -3
- package/Contract/Datamap.js +2 -2
- package/Contract/Git.js +4 -4
- package/Contract/ValidationPackagesConfig.js +2 -2
- package/ContractIO/ContractIO.js +204 -0
- package/ContractIO/FileSystemHelper.js +130 -0
- package/Core/ArcTypes.js +9 -9
- package/Core/Comment.js +8 -8
- package/Core/CommentList.js +4 -4
- package/Core/Conversion.js +11 -11
- package/Core/Data.js +5 -5
- package/Core/DataContext.js +2 -2
- package/Core/DataFile.js +2 -2
- package/Core/DataMap.js +3 -3
- package/Core/Helper/Collections.js +8 -8
- package/Core/Helper/HashCodes.js +5 -5
- package/Core/Helper/Identifier.js +1 -1
- package/Core/Helper/Regex.js +3 -3
- package/Core/Helper/SemVer.js +6 -6
- package/Core/OntologyAnnotation.js +7 -7
- package/Core/OntologySourceReference.js +3 -3
- package/Core/Person.js +9 -9
- package/Core/Process/ColumnIndex.js +5 -5
- package/Core/Process/Component.js +4 -4
- package/Core/Process/Factor.js +5 -5
- package/Core/Process/FactorValue.js +5 -5
- package/Core/Process/Material.js +5 -5
- package/Core/Process/MaterialAttribute.js +3 -3
- package/Core/Process/MaterialAttributeValue.js +5 -5
- package/Core/Process/MaterialType.js +2 -2
- package/Core/Process/Process.js +8 -8
- package/Core/Process/ProcessInput.js +5 -5
- package/Core/Process/ProcessOutput.js +5 -5
- package/Core/Process/ProcessParameterValue.js +5 -5
- package/Core/Process/ProcessSequence.js +6 -6
- package/Core/Process/Protocol.js +5 -5
- package/Core/Process/ProtocolParameter.js +3 -3
- package/Core/Process/Sample.js +5 -5
- package/Core/Process/Source.js +5 -5
- package/Core/Publication.js +8 -8
- package/Core/Table/ArcTable.js +13 -13
- package/Core/Table/ArcTableAux.js +15 -15
- package/Core/Table/ArcTables.js +9 -9
- package/Core/Table/CompositeCell.js +3 -3
- package/Core/Table/CompositeColumn.js +4 -4
- package/Core/Table/CompositeHeader.js +4 -4
- package/Core/Template.js +6 -6
- package/Core/Templates.js +6 -6
- package/Core/Value.js +7 -7
- package/CrossAsync.js +34 -0
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +8 -8
- package/FileSystem/Path.js +2 -2
- package/FileSystem.js +102 -0
- package/Json/ARC.js +3 -3
- package/Json/Assay.js +4 -4
- package/Json/Comment.js +5 -5
- package/Json/ConverterOptions.js +2 -2
- package/Json/Data.js +4 -4
- package/Json/DataFile.js +1 -1
- package/Json/DataMap/DataContext.js +3 -3
- package/Json/DataMap/DataMap.js +1 -1
- package/Json/Decode.js +9 -9
- package/Json/Encode.js +5 -5
- package/Json/IDTable.js +3 -3
- package/Json/Investigation.js +5 -5
- package/Json/LDObject.js +6 -6
- package/Json/OntologyAnnotation.js +5 -5
- package/Json/OntologySourceReference.js +4 -4
- package/Json/Person.js +5 -5
- package/Json/Process/AssayMaterials.js +3 -3
- package/Json/Process/Component.js +3 -3
- package/Json/Process/Factor.js +3 -3
- package/Json/Process/FactorValue.js +3 -3
- package/Json/Process/Material.js +4 -4
- package/Json/Process/MaterialAttribute.js +3 -3
- package/Json/Process/MaterialAttributeValue.js +3 -3
- package/Json/Process/MaterialType.js +1 -1
- package/Json/Process/Process.js +4 -4
- package/Json/Process/ProcessInput.js +1 -1
- package/Json/Process/ProcessOutput.js +1 -1
- package/Json/Process/ProcessParameterValue.js +3 -3
- package/Json/Process/Protocol.js +4 -4
- package/Json/Process/ProtocolParameter.js +3 -3
- package/Json/Process/Sample.js +5 -5
- package/Json/Process/Source.js +4 -4
- package/Json/Process/StudyMaterials.js +3 -3
- package/Json/Process/Value.js +1 -1
- package/Json/PropertyValue.js +3 -3
- package/Json/Publication.js +4 -4
- package/Json/StringTable.js +4 -4
- package/Json/Study.js +5 -5
- package/Json/Table/ArcTable.js +10 -10
- package/Json/Table/CellTable.js +4 -4
- package/Json/Table/CompositeCell.js +3 -3
- package/Json/Table/CompositeHeader.js +2 -2
- package/Json/Table/IOType.js +1 -1
- package/Json/Table/OATable.js +4 -4
- package/Json/Table/Templates.js +5 -5
- package/Json/context/rocrate/isa_assay_context.js +3 -3
- package/Json/context/rocrate/isa_comment_context.js +3 -3
- package/Json/context/rocrate/isa_component_context.js +3 -3
- package/Json/context/rocrate/isa_data_context.js +3 -3
- package/Json/context/rocrate/isa_factor_context.js +3 -3
- package/Json/context/rocrate/isa_factor_value_context.js +3 -3
- package/Json/context/rocrate/isa_investigation_context.js +3 -3
- package/Json/context/rocrate/isa_material_attribute_context.js +3 -3
- package/Json/context/rocrate/isa_material_attribute_value_context.js +3 -3
- package/Json/context/rocrate/isa_material_context.js +3 -3
- package/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
- package/Json/context/rocrate/isa_organization_context.js +3 -3
- package/Json/context/rocrate/isa_person_context.js +3 -3
- package/Json/context/rocrate/isa_process_context.js +3 -3
- package/Json/context/rocrate/isa_process_parameter_value_context.js +3 -3
- package/Json/context/rocrate/isa_protocol_context.js +3 -3
- package/Json/context/rocrate/isa_protocol_parameter_context.js +3 -3
- package/Json/context/rocrate/isa_publication_context.js +3 -3
- package/Json/context/rocrate/isa_sample_context.js +3 -3
- package/Json/context/rocrate/isa_source_context.js +3 -3
- package/Json/context/rocrate/isa_study_context.js +3 -3
- package/Json/context/rocrate/property_value_context.js +1 -1
- package/Json/context/rocrate/rocrate_context.js +3 -3
- package/Json.js +2 -2
- package/JsonIO/ARC.js +3 -3
- package/JsonIO/Assay.js +2 -2
- package/JsonIO/Comment.js +2 -2
- package/JsonIO/Data.js +2 -2
- package/JsonIO/DataFile.js +2 -2
- package/JsonIO/DataMap/DataMap.js +1 -1
- package/JsonIO/Investigation.js +2 -2
- package/JsonIO/LDObject.js +2 -2
- package/JsonIO/OntologyAnnotation.js +2 -2
- package/JsonIO/OntologySourceReference.js +2 -2
- package/JsonIO/Person.js +2 -2
- package/JsonIO/Process/Component.js +2 -2
- package/JsonIO/Process/Factor.js +2 -2
- package/JsonIO/Process/FactorValue.js +2 -2
- package/JsonIO/Process/Material.js +2 -2
- package/JsonIO/Process/MaterialAttribute.js +2 -2
- package/JsonIO/Process/MaterialAttributeValue.js +2 -2
- package/JsonIO/Process/MaterialType.js +2 -2
- package/JsonIO/Process/Process.js +2 -2
- package/JsonIO/Process/ProcessInput.js +2 -2
- package/JsonIO/Process/ProcessOutput.js +2 -2
- package/JsonIO/Process/ProcessParameterValue.js +2 -2
- package/JsonIO/Process/ProcessSequence.js +4 -4
- package/JsonIO/Process/Protocol.js +2 -2
- package/JsonIO/Process/ProtocolParameter.js +2 -2
- package/JsonIO/Process/Sample.js +2 -2
- package/JsonIO/Process/Source.js +2 -2
- package/JsonIO/Process/StudyMaterials.js +3 -3
- package/JsonIO/Process/Value.js +1 -1
- package/JsonIO/Publication.js +2 -2
- package/JsonIO/Study.js +2 -2
- package/JsonIO/Table/ArcTable.js +5 -5
- package/JsonIO/Table/CompositeCell.js +2 -2
- package/JsonIO/Table/CompositeHeader.js +2 -2
- package/JsonIO/Table/Compression.js +3 -3
- package/JsonIO/Table/IOType.js +2 -2
- package/JsonIO/Table/Templates.js +3 -3
- package/ROCrate/ArcROCrateMetadata.js +3 -3
- package/ROCrate/ISAProfile/Assay.js +4 -4
- package/ROCrate/ISAProfile/Data.js +4 -4
- package/ROCrate/ISAProfile/Dataset.js +2 -2
- package/ROCrate/ISAProfile/Investigation.js +4 -4
- package/ROCrate/ISAProfile/LabProcess.js +4 -4
- package/ROCrate/ISAProfile/LabProtocol.js +4 -4
- package/ROCrate/ISAProfile/Person.js +4 -4
- package/ROCrate/ISAProfile/PropertyValue.js +4 -4
- package/ROCrate/ISAProfile/Sample.js +4 -4
- package/ROCrate/ISAProfile/ScholarlyArticle.js +4 -4
- package/ROCrate/ISAProfile/Study.js +4 -4
- package/ROCrate/LDObject.js +2 -2
- package/Spreadsheet/AnnotationTable/ArcTable.js +13 -13
- package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +6 -6
- package/Spreadsheet/ArcAssay.js +7 -7
- package/Spreadsheet/ArcInvestigation.js +12 -12
- package/Spreadsheet/ArcStudy.js +7 -7
- package/Spreadsheet/CollectionAux.js +7 -7
- package/Spreadsheet/DataMap.js +3 -3
- package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
- package/Spreadsheet/DataMapTable/DataMapHeader.js +5 -5
- package/Spreadsheet/DataMapTable/DataMapTable.js +10 -10
- package/Spreadsheet/Metadata/Assays.js +5 -5
- package/Spreadsheet/Metadata/Comment.js +2 -2
- package/Spreadsheet/Metadata/Contacts.js +5 -5
- package/Spreadsheet/Metadata/Conversions.js +5 -5
- package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/Spreadsheet/Metadata/Factors.js +5 -5
- package/Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/Spreadsheet/Metadata/OntologySourceReference.js +5 -5
- package/Spreadsheet/Metadata/Protocols.js +5 -5
- package/Spreadsheet/Metadata/Publication.js +5 -5
- package/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/Spreadsheet/Metadata/Study.js +8 -8
- package/Spreadsheet/Template.js +13 -13
- package/Template.Web.js +4 -4
- package/ValidationPackages/ValidationPackage.js +5 -5
- package/ValidationPackages/ValidationPackagesConfig.js +8 -8
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +16 -3
- package/Yaml/Encode.js +1 -1
- package/Yaml/ValidationPackage.js +4 -4
- package/Yaml/ValidationPackagesConfig.js +4 -4
- package/fable_modules/DynamicObj.4.0.3/DynObj.fs.js +6 -6
- package/fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js +4 -4
- package/fable_modules/DynamicObj.4.0.3/FableJS.fs.js +4 -4
- package/fable_modules/DynamicObj.4.0.3/HashCodes.fs.js +5 -5
- package/fable_modules/DynamicObj.4.0.3/PropertyHelper.fs.js +2 -2
- package/fable_modules/DynamicObj.4.0.3/ReflectionUtils.fs.js +1 -1
- package/fable_modules/Fable.Exceljs.1.6.0/Cell.fs +32 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Column.fs +24 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Csv.fs +12 -0
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs +61 -0
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +4 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs +36 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs.js +20 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Fable.Exceljs.fableproj +53 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Row.fs +34 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs +85 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs.js +22 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs +87 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +73 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs +37 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs +120 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs +18 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
- package/fable_modules/{Fable.Promise.2.2.2 → Fable.Promise.3.2.0}/Fable.Promise.fableproj +4 -3
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsSpreadsheet.fableproj +5 -5
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs +88 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +79 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs +69 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +64 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsSpreadsheet.Js.fableproj +57 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs +59 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs +50 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +54 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs +27 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +34 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs +41 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +63 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs +74 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +70 -0
- package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +19 -19
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +6 -6
- package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +2 -2
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +1 -1
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +2 -2
- package/fable_modules/YAMLicious.0.0.3/Decode.fs.js +15 -15
- package/fable_modules/YAMLicious.0.0.3/Encode.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.3/Library.fs.js +1 -1
- package/fable_modules/YAMLicious.0.0.3/Persil.fs.js +3 -3
- package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.3/Reader.fs.js +7 -7
- package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +3 -3
- package/fable_modules/YAMLicious.0.0.3/Writer.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +6 -6
- package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/CHANGELOG.md +6 -0
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.d.ts +7 -0
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.js +182 -0
- package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.d.ts +10 -2
- package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs +0 -176
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +0 -143
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +0 -4
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +0 -4
- /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
- /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
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.d.ts +0 -0
- /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.
|
|
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,
|
|
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.
|
|
10
|
-
import {
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
28
|
-
import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library-js.4.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
174
|
-
|
|
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
|
-
|
|
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
|
-
|
|
192
|
-
return Array.from(collection);
|
|
225
|
+
return [Contract.createDelete(studyFolderPath), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(isa)];
|
|
193
226
|
}
|
|
194
|
-
|
|
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
|
-
|
|
219
|
-
|
|
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.
|
|
3
|
-
import { FSharpRef, Union, Record } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { defaultOf } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
10
|
-
import { getItemFromDict } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
13
|
-
import { FSharpMap__get_Values, FSharpMap__get_Keys } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
2
|
-
import { class_type, record_type, bool_type, int32_type, option_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { value, unwrap } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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.
|
|
2
|
-
import { class_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { value, unwrap } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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/Requirements.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Union, FSharpRef, Record } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { union_type, float64_type, array_type, record_type, class_type, option_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultOf } from "../fable_modules/fable-library-js.4.
|
|
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";
|
package/CWL/ToolDescription.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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.
|
|
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.
|
|
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) {
|
package/CWL/WorkflowSteps.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Record } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { class_type, array_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { unwrap } from "../fable_modules/fable-library-js.4.
|
|
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 {
|
package/Contract/ArcAssay.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { equalsWith, item } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
4
|
-
import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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.
|
|
3
|
-
import { defaultOf } from "../fable_modules/fable-library-js.4.
|
|
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
|
|
package/Contract/ArcStudy.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { equalsWith, item } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
4
|
-
import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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) {
|
package/Contract/Contract.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Record } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultArg } from "../fable_modules/fable-library-js.4.
|
|
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) {
|
package/Contract/Datamap.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { equalsWith, item } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
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.
|
|
5
|
-
import { value, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { replace } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library-js.4.
|
|
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.
|
|
4
|
-
import { defaultOf } from "../fable_modules/fable-library-js.4.
|
|
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
|
+
|