@nfdi4plants/arctrl 1.0.0-beta.1 → 1.0.0-beta.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.
- package/ARC.js +24 -24
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcAssay.js +3 -3
- package/Contracts/Contracts.ArcInvestigation.js +3 -3
- package/Contracts/Contracts.ArcStudy.js +3 -3
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +15 -15
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +20 -20
- package/ISA/ISA/ArcTypes/ArcTableAux.js +17 -17
- package/ISA/ISA/ArcTypes/ArcTables.js +21 -21
- package/ISA/ISA/ArcTypes/ArcTypes.js +64 -64
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +5 -5
- package/ISA/ISA/Helper.js +9 -9
- package/ISA/ISA/Identifier.js +2 -2
- package/ISA/ISA/JsonTypes/AnnotationValue.js +5 -5
- package/ISA/ISA/JsonTypes/Assay.js +26 -26
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +23 -23
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +12 -12
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +12 -12
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +4 -4
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +10 -10
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +8 -8
- package/ISA/ISA/JsonTypes/Person.js +9 -9
- package/ISA/ISA/JsonTypes/Process.js +11 -11
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +14 -14
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +4 -4
- package/ISA/ISA/JsonTypes/Publication.js +8 -8
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +58 -58
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +7 -7
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/Assay.js +5 -5
- package/ISA/ISA.Json/Comment.js +5 -5
- package/ISA/ISA.Json/ConverterOptions.js +1 -1
- package/ISA/ISA.Json/Data.js +5 -5
- package/ISA/ISA.Json/Decode.js +4 -4
- package/ISA/ISA.Json/Factor.js +5 -5
- package/ISA/ISA.Json/GEncode.js +3 -3
- package/ISA/ISA.Json/Investigation.js +6 -6
- package/ISA/ISA.Json/Material.js +5 -5
- package/ISA/ISA.Json/Ontology.js +6 -6
- package/ISA/ISA.Json/Person.js +10 -10
- package/ISA/ISA.Json/Process.js +5 -5
- package/ISA/ISA.Json/Protocol.js +6 -6
- package/ISA/ISA.Json/Publication.js +4 -4
- package/ISA/ISA.Json/Study.js +6 -6
- package/ISA/ISA.Json/Validation/Fable.js +6 -6
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
- package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +9 -9
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +8 -8
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +9 -9
- package/ISA/ISA.Spreadsheet/ArcAssay.js +13 -13
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +36 -36
- package/ISA/ISA.Spreadsheet/ArcStudy.js +10 -10
- package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +10 -10
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +6 -6
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +11 -11
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +9 -9
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +19 -19
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
- package/README.md +29 -256
- package/SemVer.js +7 -7
- package/Templates/Template.Json.js +7 -7
- package/Templates/Template.Spreadsheet.js +20 -20
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +5 -5
- package/WebRequest/WebRequest.js +4 -4
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.2.2.2}/Fable.Promise.fableproj +3 -4
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs +176 -0
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +143 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +4 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +4 -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.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +19 -19
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
- package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
- package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
- package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
3
|
import { Comment$_$reflection } from "../../ISA/JsonTypes/Comment.js";
|
|
4
|
-
import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
4
|
+
import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
6
|
import { SparseRowModule_fromValues, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
|
|
7
7
|
import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../ISA/Identifier.js";
|
|
8
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
8
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
9
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
10
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
12
12
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
13
13
|
import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
|
|
14
14
|
import { ArcStudy } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
@@ -18,7 +18,7 @@ import { toRows as toRows_3, fromRows as fromRows_3 } from "./Factors.js";
|
|
|
18
18
|
import { toRows as toRows_4, fromRows as fromRows_4 } from "./Assays.js";
|
|
19
19
|
import { toRows as toRows_5, fromRows as fromRows_5 } from "./Protocols.js";
|
|
20
20
|
import { toRows as toRows_6, fromRows as fromRows_6 } from "./Contacts.js";
|
|
21
|
-
import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library.4.1
|
|
21
|
+
import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
22
22
|
|
|
23
23
|
export class StudyInfo extends Record {
|
|
24
24
|
constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, FileName, Comments) {
|
|
@@ -87,20 +87,20 @@ export function StudyInfo_toRows_1B3D5E9B(study) {
|
|
|
87
87
|
export function fromParts(studyInfo, designDescriptors, publications, factors, assays, protocols, contacts) {
|
|
88
88
|
const assayIdentifiers = map((assay) => assay.Identifier, assays);
|
|
89
89
|
let arcstudy;
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
const
|
|
97
|
-
let
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
arcstudy = ArcStudy.make(studyInfo.Identifier,
|
|
90
|
+
const title = Option_fromValueWithDefault("", studyInfo.Title);
|
|
91
|
+
const description = Option_fromValueWithDefault("", studyInfo.Description);
|
|
92
|
+
const submissionDate = Option_fromValueWithDefault("", studyInfo.SubmissionDate);
|
|
93
|
+
const publicReleaseDate = Option_fromValueWithDefault("", studyInfo.PublicReleaseDate);
|
|
94
|
+
const publications_1 = toArray(publications);
|
|
95
|
+
const contacts_1 = toArray(contacts);
|
|
96
|
+
const studyDesignDescriptors = toArray(designDescriptors);
|
|
97
|
+
let tables;
|
|
98
|
+
const collection = map((p) => ArcTable.fromProtocol(p), protocols);
|
|
99
|
+
tables = Array.from(collection);
|
|
100
|
+
const registeredAssayIdentifiers = Array.from(assayIdentifiers);
|
|
101
|
+
const factors_1 = toArray(factors);
|
|
102
|
+
const comments = toArray(studyInfo.Comments);
|
|
103
|
+
arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors_1, comments);
|
|
104
104
|
if (arcstudy.isEmpty && (arcstudy.Identifier === "")) {
|
|
105
105
|
return void 0;
|
|
106
106
|
}
|
package/README.md
CHANGED
|
@@ -1,280 +1,53 @@
|
|
|
1
1
|
# ARCtrl
|
|
2
|
-
Top level ARC DataModel and API function descriptions.
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
!
|
|
3
|
+
> **ARCtrl** the easy way to read, manipulate and write ARCs in __.NET__
|
|
4
|
+
and __JavaScript__! ❤️
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- [Stack](#stack)
|
|
12
|
-
- [Libraries](#libraries)
|
|
13
|
-
- [Design choices](#design-choices)
|
|
14
|
-
- [Fable compatibility as top priority](#fable-compatibility-as-top-priority)
|
|
6
|
+
| Version | Downloads |
|
|
7
|
+
| :--------|-----------:|
|
|
8
|
+
|||
|
|
9
|
+
|||
|
|
15
10
|
|
|
16
|
-
##
|
|
11
|
+
## Install
|
|
17
12
|
|
|
18
|
-
[
|
|
13
|
+
(currently only prereleases available, check the [nuget page](https://www.nuget.org/packages/ARCtrl) or [npm page](https://www.npmjs.com/package/@nfdi4plants/arctrl) respectively)
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
### .NET
|
|
21
16
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- `DataModel`s are the data structures which represent the ARC or it's respective parts in memory. They are serializable and can be used as data exchange format between tool implementations:
|
|
26
|
-
- `FileSystem`: Represents the file system structure of an ARC. All files and their path relative to the arc root folder are contained here.
|
|
27
|
-
- `ISA`: Represents the experimental metadata of the ARC that is stored in the ISA-XLSX format (investigation, studies and assays).
|
|
28
|
-
- `CWL`: Represents the workflow definitions of the ARC in the CWL format.
|
|
29
|
-
- `API`s are static methods on the `DataModel` types that perfrom operations on the `DataModel`s. Often, these are CRUD-like operations, and are aimed to be be composable.
|
|
30
|
-
|
|
31
|
-
**Example**: A `ARC.addAssay` function has to do several things:
|
|
32
|
-
- Add a new assay to the `ISA`
|
|
33
|
-
- Add a new assay to the `FileSystem`
|
|
34
|
-
it should therefore combine the respective functions of `ISA API` and `FileSystem API` to achieve this.
|
|
35
|
-
|
|
36
|
-
- `Tools` or `Clients` are user-facing software such as Swate, ARCitect, or the ARCCommander. They should ideally compose their functionality from the `API`s and work with an in-memory representation of the ARC via `DataModel`s. There are operations such as IO for reading/writing actual files to the file system, which are not part of the `API`s, but rather part of the `Tools`.
|
|
37
|
-
|
|
38
|
-
## Local Setup
|
|
39
|
-
|
|
40
|
-
1. `dotnet tool restore`
|
|
41
|
-
2. `npm install` in *root* (this will also run `npm install` in `src/ISA`).
|
|
42
|
-
|
|
43
|
-
## API Design
|
|
44
|
-
|
|
45
|
-
Command syntax should be inspired by ArcCommander commands, as they are already well established and known to the power user base.
|
|
46
|
-
See syntax : https://nfdi4plants.github.io/arcCommander-docs/docs/01GeneralCLIStructure.html
|
|
47
|
-
See selection: https://nfdi4plants.github.io/arcCommander-docs/docs/02SubcommandVerbs.html
|
|
48
|
-
|
|
49
|
-
## Top level overview
|
|
50
|
-
|
|
51
|
-
In the following, the dependency graph of the proposed arcAPI toolstack can be seen:
|
|
52
|
-
|
|
53
|
-
```mermaid
|
|
54
|
-
flowchart TD
|
|
55
|
-
|
|
56
|
-
%% ----- Nodes ------
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
subgraph ARCtrl
|
|
60
|
-
arc[ARC]
|
|
61
|
-
|
|
62
|
-
subgraph ISA
|
|
63
|
-
isaj[ISA.Json]
|
|
64
|
-
isax[ISA.Spreadsheet]
|
|
65
|
-
isaa[ISA]
|
|
66
|
-
end
|
|
67
|
-
subgraph FileSystem
|
|
68
|
-
fs[FileSystem]
|
|
69
|
-
end
|
|
70
|
-
subgraph CWL
|
|
71
|
-
cwl[CWL]
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
subgraph DataTransferObject
|
|
76
|
-
fsspread[FsSpreadsheet]
|
|
77
|
-
thoth["Thoth.Json (string)"]
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
subgraph IO
|
|
81
|
-
node[node.fs]
|
|
82
|
-
fsspreadx[FsSpreadsheet.ExcelIO]
|
|
83
|
-
excelJS[exceljs]
|
|
84
|
-
systemio[System.IO]
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
%% ----- Edges ------
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
%% Arc
|
|
92
|
-
arc --> ISA
|
|
93
|
-
arc --> FileSystem
|
|
94
|
-
arc --> CWL
|
|
95
|
-
|
|
96
|
-
%% ISA
|
|
97
|
-
isaj --> isaa
|
|
98
|
-
isax --> isaa
|
|
99
|
-
isaj --> thoth
|
|
100
|
-
|
|
101
|
-
isax --> fsspread
|
|
102
|
-
|
|
103
|
-
%% ------ Tools ---------
|
|
104
|
-
|
|
105
|
-
subgraph Tools
|
|
106
|
-
arcdotnet[/arcIO.NET\]
|
|
107
|
-
arcitect[[ARCitect]]
|
|
108
|
-
arccom[[arcCommander]]
|
|
109
|
-
swate[[Swate]]
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
%% ----- Edges ------
|
|
113
|
-
|
|
114
|
-
Tools --> ARCtrl
|
|
115
|
-
|
|
116
|
-
arcdotnet --> fsspreadx
|
|
117
|
-
arcdotnet --> systemio
|
|
118
|
-
arcitect --> excelJS
|
|
119
|
-
arcitect --> node
|
|
120
|
-
arccom --> arcdotnet
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
fsspreadx -.-> fsspread
|
|
124
|
-
systemio -.-> thoth
|
|
125
|
-
excelJS -.-> fsspread
|
|
126
|
-
node -.-> thoth
|
|
127
|
-
|
|
128
|
-
%% ----- Styling ------
|
|
129
|
-
|
|
130
|
-
%% dotnet
|
|
131
|
-
style Tools stroke:#3A0EC6,stroke-width:2px
|
|
132
|
-
style fsspreadx fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
|
|
133
|
-
style arcdotnet fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
|
|
134
|
-
style arccom fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
|
|
135
|
-
style systemio fill:#8C71E3,stroke:#3A0EC6,stroke-width:2px,color: black
|
|
136
|
-
|
|
137
|
-
%% javascript
|
|
138
|
-
style excelJS fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
|
|
139
|
-
style arcitect fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
|
|
140
|
-
style swate fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
|
|
141
|
-
style node fill:#C1AD09,stroke:#EFD81D,stroke-width:2px,color: black
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
%% fable
|
|
145
|
-
style ARCtrl stroke:#007B00,stroke-width:2px
|
|
146
|
-
style ISA stroke:#007B00,stroke-width:2px
|
|
147
|
-
style FileSystem stroke:#007B00,stroke-width:2px
|
|
148
|
-
style CWL stroke:#007B00,stroke-width:2px
|
|
149
|
-
style DataTransferObject stroke:#007B00,stroke-width:2px
|
|
17
|
+
```fsharp
|
|
18
|
+
#r "nuget: ARCtrl"
|
|
19
|
+
```
|
|
150
20
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
style isaa fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
|
|
154
|
-
style isaj fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
|
|
155
|
-
style arc fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
|
|
156
|
-
style fs fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
|
|
157
|
-
style cwl fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
|
|
158
|
-
style thoth fill:#39B539,stroke:#007B00,stroke-width:2px,color: black
|
|
21
|
+
```bash
|
|
22
|
+
<PackageReference Include="ARCtrl" Version="1.0.0-beta.1" />
|
|
159
23
|
```
|
|
160
24
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
```mermaid
|
|
164
|
-
classDiagram
|
|
165
|
-
|
|
166
|
-
class arc["ARCtrl"] {
|
|
167
|
-
ISA
|
|
168
|
-
CWL
|
|
169
|
-
FileSystem
|
|
170
|
-
}
|
|
171
|
-
class isa["ISA"] {
|
|
172
|
-
Investigation
|
|
173
|
-
Studies
|
|
174
|
-
Assays
|
|
175
|
-
ArcTable
|
|
176
|
-
CompositeColumn
|
|
177
|
-
CompositeHeader
|
|
178
|
-
CompositeCell
|
|
179
|
-
}
|
|
180
|
-
class file ["FileSystem"] {
|
|
181
|
-
- FileSystemTree
|
|
182
|
-
- History
|
|
183
|
-
}
|
|
184
|
-
class cwl["CWL"] {
|
|
185
|
-
CommandlineTool?
|
|
186
|
-
Workflows
|
|
187
|
-
}
|
|
188
|
-
class io["IO"] {
|
|
189
|
-
FsSpreadsheet.ExcelIO
|
|
190
|
-
System.IO
|
|
191
|
-
exceljs
|
|
192
|
-
node fs
|
|
193
|
-
}
|
|
194
|
-
io <|--|> arc : Contracts
|
|
195
|
-
arc <|--|> isa
|
|
196
|
-
arc <|--|> cwl
|
|
197
|
-
arc <|--|> file
|
|
25
|
+
### JavaScript
|
|
198
26
|
|
|
27
|
+
```bash
|
|
28
|
+
npm i @nfdi4plants/arctrl
|
|
199
29
|
```
|
|
200
30
|
|
|
201
|
-
|
|
31
|
+
## Docs
|
|
202
32
|
|
|
203
|
-
|
|
33
|
+
Currently we provide some documentation in form of markdown files in the `/docs` folder of this repository!
|
|
204
34
|
|
|
205
|
-
|
|
35
|
+
[Check it out!](/docs)
|
|
206
36
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
All libraries should be Fable compatible, and produce javascript/typescript code that is ergonomic to use in a js/ts environment, therefore:
|
|
210
|
-
- we use classes with static members over nested modules
|
|
211
|
-
- we use the `[<AttachMembers>]` fable attribute for each class
|
|
212
|
-
- Using overloads with the `[<AttachMembers>]` attribute will make js functions shadow itself. Never use this!
|
|
213
|
-
- we use the `[<NamedParams(n)>]` fable attribute for all optional parameters in static methods that use tupled, named params.
|
|
214
|
-
- we use `Array<'T>` for all collections in F#, since they get transpiled to native js arrays.
|
|
215
|
-
- we use the `[<Erase>]` fable attribute for union cases that contain data
|
|
216
|
-
```fsharp
|
|
217
|
-
[<Erase>] type X = | Y of string | Z of int
|
|
218
|
-
```
|
|
219
|
-
- we use the `[<StringEnum>]` for unions that contain no data (e.g.)
|
|
220
|
-
```fsharp
|
|
221
|
-
[<StringEnum>] type YesOrNo = | Yes | No
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
**Example:**
|
|
225
|
-
|
|
226
|
-
```fsharp
|
|
227
|
-
[<AttachMembers>]
|
|
228
|
-
type Study =
|
|
229
|
-
{
|
|
230
|
-
Identifier : string option
|
|
231
|
-
Assays : Assay array option
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
[<NamedParams>]
|
|
235
|
-
static member create (?Identifier, ?Assays : Assay array) =
|
|
236
|
-
{
|
|
237
|
-
Identifier = Identifier
|
|
238
|
-
Assays = Assays
|
|
239
|
-
}
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
will become the following javascript code:
|
|
243
|
-
|
|
244
|
-
```javascript
|
|
245
|
-
export class Study extends Record {
|
|
246
|
-
constructor(Identifier, Assays) {
|
|
247
|
-
super();
|
|
248
|
-
this.Identifier = Identifier;
|
|
249
|
-
this.Assays = Assays;
|
|
250
|
-
}
|
|
251
|
-
static create({ Identifier, Assays }) {
|
|
252
|
-
return new Study(Identifier, Assays);
|
|
253
|
-
}
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
and the following typescript code:
|
|
37
|
+
## Development
|
|
257
38
|
|
|
258
|
-
|
|
259
|
-
export class Study extends Record implements IEquatable<Study>, IComparable<Study> {
|
|
260
|
-
readonly Identifier: Option<string>;
|
|
261
|
-
readonly Assays: Option<Assay[]>;
|
|
262
|
-
constructor(Identifier: Option<string>, Assays: Option<Assay[]>) {
|
|
263
|
-
super();
|
|
264
|
-
this.Identifier = Identifier;
|
|
265
|
-
this.Assays = Assays;
|
|
266
|
-
}
|
|
267
|
-
static create({ Identifier, Assays }: {Identifier?: string, Assays?: Assay[] }): Study {
|
|
268
|
-
return new Study(Identifier, Assays);
|
|
269
|
-
}
|
|
270
|
-
```
|
|
39
|
+
### Requirements
|
|
271
40
|
|
|
272
|
-
|
|
41
|
+
- [nodejs and npm](https://nodejs.org/en/download)
|
|
42
|
+
- verify with `node --version` (Tested with v18.16.1)
|
|
43
|
+
- verify with `npm --version` (Tested with v9.2.0)
|
|
44
|
+
- [.NET SDK](https://dotnet.microsoft.com/en-us/download)
|
|
45
|
+
- verify with `dotnet --version` (Tested with 7.0.306)
|
|
273
46
|
|
|
274
|
-
### Setup
|
|
47
|
+
### Local Setup
|
|
275
48
|
|
|
276
49
|
1. `dotnet tool restore`
|
|
277
50
|
2. `dotnet paket install`
|
|
278
51
|
3. `npm install`
|
|
279
52
|
|
|
280
|
-
Verify correct setup with `./build.cmd runtests` ✨
|
|
53
|
+
Verify correct setup with `./build.cmd runtests` ✨
|
package/SemVer.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { match, create } from "./fable_modules/fable-library.4.1
|
|
2
|
-
import { toString, Record } from "./fable_modules/fable-library.4.1
|
|
3
|
-
import { record_type, option_type, string_type, int32_type } from "./fable_modules/fable-library.4.1
|
|
4
|
-
import { parse } from "./fable_modules/fable-library.4.1
|
|
5
|
-
import { value as value_3, unwrap } from "./fable_modules/fable-library.4.1
|
|
6
|
-
import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "./fable_modules/fable-library.4.1
|
|
7
|
-
import { printf, toText } from "./fable_modules/fable-library.4.1
|
|
1
|
+
import { match, create } from "./fable_modules/fable-library.4.4.1/RegExp.js";
|
|
2
|
+
import { toString, Record } from "./fable_modules/fable-library.4.4.1/Types.js";
|
|
3
|
+
import { record_type, option_type, string_type, int32_type } from "./fable_modules/fable-library.4.4.1/Reflection.js";
|
|
4
|
+
import { parse } from "./fable_modules/fable-library.4.4.1/Int32.js";
|
|
5
|
+
import { value as value_3, unwrap } from "./fable_modules/fable-library.4.4.1/Option.js";
|
|
6
|
+
import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "./fable_modules/fable-library.4.4.1/System.Text.js";
|
|
7
|
+
import { printf, toText } from "./fable_modules/fable-library.4.4.1/String.js";
|
|
8
8
|
|
|
9
9
|
const SemVerAux_Pattern = "^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<pre>[0-9A-Za-z-\\.]+))?(\\+(?<build>[0-9A-Za-z-\\.]+))?$";
|
|
10
10
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { toString } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { toString } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
2
|
import { dict, fromString, datetimeUtc, array as array_1, map as map_2, list as list_2, guid as guid_1, object as object_1, string, succeed, andThen } from "../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
3
|
-
import { uncurry2, uncurry3 } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { uncurry2, uncurry3 } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
4
4
|
import { Template, Organisation } from "./Template.js";
|
|
5
5
|
import { ConverterOptions_$ctor } from "../ISA/ISA.Json/ConverterOptions.js";
|
|
6
6
|
import { decoder as decoder_2, encoder } from "../ISA/ISA.Json/Person.js";
|
|
7
7
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../ISA/ISA.Json/Ontology.js";
|
|
8
8
|
import { toString as toString_1, datetime, list as list_1, guid, object } from "../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
9
|
-
import { ofArray, map } from "../fable_modules/fable-library.4.1
|
|
9
|
+
import { ofArray, map } from "../fable_modules/fable-library.4.4.1/List.js";
|
|
10
10
|
import { Process_decoder, Process_encoder } from "../ISA/ISA.Json/Process.js";
|
|
11
|
-
import { map as map_1, delay, toList } from "../fable_modules/fable-library.4.1
|
|
11
|
+
import { map as map_1, delay, toList } from "../fable_modules/fable-library.4.4.1/Seq.js";
|
|
12
12
|
import { ArcTables } from "../ISA/ISA/ArcTypes/ArcTables.js";
|
|
13
|
-
import { printf, toFail } from "../fable_modules/fable-library.4.1
|
|
14
|
-
import { FSharpMap__get_Values } from "../fable_modules/fable-library.4.1
|
|
15
|
-
import { defaultArg } from "../fable_modules/fable-library.4.1
|
|
13
|
+
import { printf, toFail } from "../fable_modules/fable-library.4.4.1/String.js";
|
|
14
|
+
import { FSharpMap__get_Values } from "../fable_modules/fable-library.4.4.1/Map.js";
|
|
15
|
+
import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
16
16
|
|
|
17
17
|
export const Organisation_encode = toString;
|
|
18
18
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { toString, Record, FSharpException } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library.4.1
|
|
3
|
-
import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { toString, Record, FSharpException } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library.4.4.1/List.js";
|
|
4
4
|
import { toRows, fromRows, toSparseTable, fromSparseTable } from "../ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js";
|
|
5
5
|
import { Comment$_$reflection } from "../ISA/ISA/JsonTypes/Comment.js";
|
|
6
6
|
import { Comment_fromString } from "../ISA/ISA.Spreadsheet/Metadata/Comment.js";
|
|
7
7
|
import { SparseRowModule_fromFsRow, SparseRowModule_writeToSheet, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "../ISA/ISA.Spreadsheet/Metadata/SparseTable.js";
|
|
8
8
|
import { createMissingIdentifier } from "../ISA/ISA/Identifier.js";
|
|
9
|
-
import { addToDict } from "../fable_modules/fable-library.4.1
|
|
10
|
-
import { List_distinct } from "../fable_modules/fable-library.4.1
|
|
11
|
-
import { getEnumerator, stringHash } from "../fable_modules/fable-library.4.1
|
|
12
|
-
import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library.4.1
|
|
9
|
+
import { addToDict } from "../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
11
|
+
import { getEnumerator, stringHash } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
12
|
+
import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library.4.4.1/Seq.js";
|
|
13
13
|
import { Person } from "../ISA/ISA/JsonTypes/Person.js";
|
|
14
|
-
import { toArray } from "../fable_modules/fable-library.4.1
|
|
14
|
+
import { toArray } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
15
15
|
import { toRows as toRows_1, fromRows as fromRows_1 } from "../ISA/ISA.Spreadsheet/Metadata/Contacts.js";
|
|
16
|
-
import { parse } from "../fable_modules/fable-library.4.1
|
|
16
|
+
import { parse } from "../fable_modules/fable-library.4.4.1/Guid.js";
|
|
17
17
|
import { Template, Organisation } from "./Template.js";
|
|
18
|
-
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.0.
|
|
18
|
+
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs.js";
|
|
19
19
|
import { toFsWorksheet, tryFromFsWorksheet } from "../ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js";
|
|
20
|
-
import { now } from "../fable_modules/fable-library.4.1
|
|
21
|
-
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.0.
|
|
20
|
+
import { now } from "../fable_modules/fable-library.4.4.1/Date.js";
|
|
21
|
+
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs.js";
|
|
22
22
|
|
|
23
23
|
export class TemplateReadError extends FSharpException {
|
|
24
24
|
constructor(Data0) {
|
|
@@ -261,12 +261,12 @@ export function Metadata_Template_toRows(template) {
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
export function Template_fromParts(templateInfo, ers, tags, authors, table, lastUpdated) {
|
|
264
|
-
const
|
|
265
|
-
const
|
|
266
|
-
const
|
|
267
|
-
const
|
|
268
|
-
const
|
|
269
|
-
return Template.make(
|
|
264
|
+
const id = parse(templateInfo.Id);
|
|
265
|
+
const organisation = Organisation.ofString(templateInfo.Organisation);
|
|
266
|
+
const authors_1 = toArray_1(authors);
|
|
267
|
+
const repos = toArray_1(ers);
|
|
268
|
+
const tags_1 = toArray_1(tags);
|
|
269
|
+
return Template.make(id, table, templateInfo.Name, templateInfo.Description, organisation, templateInfo.Version, authors_1, repos, tags_1, lastUpdated);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
export function Template_toMetadataSheet(template) {
|
|
@@ -324,8 +324,8 @@ export function Template_toFsWorkbook(template) {
|
|
|
324
324
|
const doc = new FsWorkbook();
|
|
325
325
|
const metaDataSheet = Template_toMetadataSheet(template);
|
|
326
326
|
doc.AddWorksheet(metaDataSheet);
|
|
327
|
-
const
|
|
328
|
-
doc.AddWorksheet(
|
|
327
|
+
const sheet = toFsWorksheet(template.Table);
|
|
328
|
+
doc.AddWorksheet(sheet);
|
|
329
329
|
return doc;
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defaultArg } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { singleton } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { singleton } from "../fable_modules/fable-library.4.4.1/AsyncBuilder.js";
|
|
3
3
|
import { downloadFile } from "../WebRequest/WebRequest.js";
|
|
4
4
|
import { Templates_fromJsonString } from "./Template.Json.js";
|
|
5
|
-
import { startAsPromise } from "../fable_modules/fable-library.4.1
|
|
6
|
-
import { class_type } from "../fable_modules/fable-library.4.1
|
|
5
|
+
import { startAsPromise } from "../fable_modules/fable-library.4.4.1/Async.js";
|
|
6
|
+
import { class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export function getTemplates(url) {
|
|
9
9
|
const url_1 = defaultArg(url, "https://github.com/nfdi4plants/Swate-templates/releases/download/latest/templates.json");
|
package/Templates/Template.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { identityHash, safeHash, stringHash, equals } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { Union } from "../fable_modules/fable-library.4.1
|
|
3
|
-
import { class_type, union_type, string_type } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { defaultArg, unwrap } from "../fable_modules/fable-library.4.1
|
|
5
|
-
import { newGuid } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { identityHash, safeHash, stringHash, equals } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
2
|
+
import { Union } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
3
|
+
import { class_type, union_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
4
|
+
import { defaultArg, unwrap } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
5
|
+
import { newGuid } from "../fable_modules/fable-library.4.4.1/Guid.js";
|
|
6
6
|
import { ArcTable } from "../ISA/ISA/ArcTypes/ArcTable.js";
|
|
7
7
|
import { SemVer_tryOfString_Z721C83C5 } from "../SemVer.js";
|
|
8
|
-
import { equalsWith } from "../fable_modules/fable-library.4.1
|
|
9
|
-
import { toUniversalTime, now, equals as equals_1 } from "../fable_modules/fable-library.4.1
|
|
8
|
+
import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
9
|
+
import { toUniversalTime, now, equals as equals_1 } from "../fable_modules/fable-library.4.4.1/Date.js";
|
|
10
10
|
|
|
11
11
|
export class Organisation extends Union {
|
|
12
12
|
constructor(tag, fields) {
|
package/Templates/Templates.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defaultArg } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { append, addRangeInPlace, collect, contains as contains_1 } from "../fable_modules/fable-library.4.1
|
|
3
|
-
import { uncurry2, safeHash, equals } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { Array_distinct } from "../fable_modules/fable-library.4.1
|
|
5
|
-
import { class_type } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { append, addRangeInPlace, collect, contains as contains_1 } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
3
|
+
import { uncurry2, safeHash, equals } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
4
|
+
import { Array_distinct } from "../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
5
|
+
import { class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
6
6
|
|
|
7
7
|
export function TemplatesAux_getComparer(matchAll) {
|
|
8
8
|
if (defaultArg(matchAll, false)) {
|
package/WebRequest/WebRequest.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { awaitPromise } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { awaitPromise } from "../fable_modules/fable-library.4.4.1/Async.js";
|
|
2
2
|
import { fetch$ } from "../fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js";
|
|
3
|
-
import { empty } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { singleton } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { empty } from "../fable_modules/fable-library.4.4.1/List.js";
|
|
4
|
+
import { singleton } from "../fable_modules/fable-library.4.4.1/AsyncBuilder.js";
|
|
5
5
|
import { Http_get } from "../fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js";
|
|
6
|
-
import { printf, toFail } from "../fable_modules/fable-library.4.1
|
|
6
|
+
import { printf, toFail } from "../fable_modules/fable-library.4.4.1/String.js";
|
|
7
7
|
import "isomorphic-fetch";
|
|
8
8
|
|
|
9
9
|
export function NodeJs_isNode() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Union } from "../fable-library.4.1
|
|
2
|
-
import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library.4.1
|
|
3
|
-
import { defaultArg } from "../fable-library.4.1
|
|
4
|
-
import { empty } from "../fable-library.4.1
|
|
5
|
-
import { keyValueList } from "../fable-library.4.1
|
|
6
|
-
import { int32ToString } from "../fable-library.4.1
|
|
7
|
-
import { result } from "../Fable.Promise.
|
|
8
|
-
import { singleton } from "../fable-library.4.1
|
|
1
|
+
import { Union } from "../fable-library.4.4.1/Types.js";
|
|
2
|
+
import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { defaultArg } from "../fable-library.4.4.1/Option.js";
|
|
4
|
+
import { empty } from "../fable-library.4.4.1/Seq.js";
|
|
5
|
+
import { keyValueList } from "../fable-library.4.4.1/MapUtil.js";
|
|
6
|
+
import { int32ToString } from "../fable-library.4.4.1/Util.js";
|
|
7
|
+
import { result } from "../Fable.Promise.2.2.2/Promise.fs.js";
|
|
8
|
+
import { singleton } from "../fable-library.4.4.1/List.js";
|
|
9
9
|
|
|
10
10
|
export class Types_HttpRequestHeaders extends Union {
|
|
11
11
|
constructor(tag, fields) {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
3
|
<PropertyGroup>
|
|
4
|
-
<Version>
|
|
5
|
-
<PackageVersion>
|
|
4
|
+
<Version>2.2.2</Version>
|
|
5
|
+
<PackageVersion>2.2.2</PackageVersion>
|
|
6
6
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
7
7
|
</PropertyGroup>
|
|
8
8
|
<ItemGroup>
|
|
9
9
|
<Compile Include="Promise.fs" />
|
|
10
10
|
<Compile Include="PromiseImpl.fs" />
|
|
11
|
-
<Compile Include="AsyncIterable.fs" />
|
|
12
11
|
</ItemGroup>
|
|
13
12
|
<ItemGroup>
|
|
14
13
|
<Content Include="*.fsproj; *.fs" PackagePath="fable\" />
|
|
15
14
|
</ItemGroup>
|
|
16
15
|
<ItemGroup>
|
|
17
|
-
<PackageReference Include="Fable.Core" Version="3.
|
|
16
|
+
<PackageReference Include="Fable.Core" Version="3.1.5" />
|
|
18
17
|
<PackageReference Update="FSharp.Core" Version="4.7.2" />
|
|
19
18
|
</ItemGroup>
|
|
20
19
|
</Project>
|