@nfdi4plants/arctrl 1.1.0 → 1.2.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 +9 -9
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcTypes.js +11 -11
- package/Contracts/Contracts.Git.js +4 -4
- 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/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +19 -19
- package/ISA/ISA/ArcTypes/ArcTableAux.js +16 -16
- package/ISA/ISA/ArcTypes/ArcTables.js +11 -11
- package/ISA/ISA/ArcTypes/ArcTypes.js +10 -10
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +8 -7
- 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 +6 -6
- package/ISA/ISA/Helper.js +15 -13
- package/ISA/ISA/Identifier.js +1 -1
- package/ISA/ISA/JsonTypes/Assay.js +8 -8
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +5 -5
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +4 -4
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +6 -6
- 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 +3 -3
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +6 -6
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +6 -6
- package/ISA/ISA/JsonTypes/Person.js +23 -8
- package/ISA/ISA/JsonTypes/Process.js +13 -13
- 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 +6 -6
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +3 -3
- package/ISA/ISA/JsonTypes/Publication.js +6 -6
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +8 -8
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +22 -29
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +105 -84
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +78 -49
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +74 -41
- package/ISA/ISA.Json/ArcTypes/ArcTable.js +112 -71
- package/ISA/ISA.Json/ArcTypes/CellTable.js +13 -19
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +23 -38
- package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +18 -46
- package/ISA/ISA.Json/ArcTypes/IOType.js +11 -13
- package/ISA/ISA.Json/ArcTypes/OATable.js +13 -19
- package/ISA/ISA.Json/Assay.js +71 -47
- package/ISA/ISA.Json/Comment.js +31 -35
- package/ISA/ISA.Json/ConverterOptions.js +19 -1
- package/ISA/ISA.Json/Data.js +119 -137
- package/ISA/ISA.Json/Decode.js +51 -36
- package/ISA/ISA.Json/Factor.js +90 -90
- package/ISA/ISA.Json/GEncode.js +31 -6
- package/ISA/ISA.Json/Investigation.js +54 -79
- package/ISA/ISA.Json/Material.js +103 -104
- package/ISA/ISA.Json/Ontology.js +86 -109
- package/ISA/ISA.Json/Person.js +47 -65
- package/ISA/ISA.Json/Process.js +144 -130
- package/ISA/ISA.Json/Protocol.js +144 -105
- package/ISA/ISA.Json/Publication.js +34 -40
- package/ISA/ISA.Json/StringTable.js +25 -24
- package/ISA/ISA.Json/Study.js +70 -96
- package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +34 -0
- package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_component_context.js +24 -0
- package/ISA/ISA.Json/context/rocrate/isa_data_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_investigation_context.js +33 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +22 -0
- package/ISA/ISA.Json/context/rocrate/isa_person_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +30 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_parameter_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +27 -0
- package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_source_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_study_context.js +42 -0
- package/ISA/ISA.Json/context/rocrate/rocrate_context.js +25 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +5 -5
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +8 -8
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
- package/ISA/ISA.Spreadsheet/ArcAssay.js +5 -5
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +10 -10
- package/ISA/ISA.Spreadsheet/ArcStudy.js +5 -5
- package/ISA/ISA.Spreadsheet/CollectionAux.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +31 -20
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +21 -16
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +8 -8
- package/README.md +20 -3
- package/SemVer.js +6 -6
- package/Templates/Template.Json.js +43 -36
- package/Templates/Template.Spreadsheet.js +10 -10
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +7 -7
- package/WebRequest/WebRequest.Node.js +15 -0
- package/WebRequest/WebRequest.js +10 -29
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
- 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.1.3/Cells/FsCell.fs.js +14 -14
- package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
- package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +4 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs → Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs} +8 -7
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.d.ts +4 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.js +124 -86
- package/fable_modules/fable-library-js.4.13.0/CHANGELOG.md +29 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.d.ts +0 -17
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.js +0 -43
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.js +3 -2
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.d.ts +12 -0
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.js +27 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.js +7 -7
- package/fable_modules/fable-library-js.4.13.0/Result.d.ts +37 -0
- package/fable_modules/fable-library-js.4.13.0/Result.js +165 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.js +2 -2
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.d.ts +1 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.js +8 -5
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.d.ts +15 -7
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.js +46 -36
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.d.ts +9 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.js +60 -8
- package/fable_modules/fable-library-js.4.13.0/big.d.ts +338 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/package.json +4 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/ISA/ISA.Json/Validation/Fable.js +0 -69
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
- package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
- package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
- package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
- package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
- package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/README.md +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.js +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { filter, map, tryFind, exists, singleton, append } from "../../../fable_modules/fable-library.4.
|
|
2
|
-
import { equals } from "../../../fable_modules/fable-library.4.
|
|
3
|
-
import { record_type, array_type, option_type, string_type, getRecordFields, makeRecord } from "../../../fable_modules/fable-library.4.
|
|
4
|
-
import { map as map_2, map2 } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { filter, map, tryFind, exists, singleton, append } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
|
+
import { equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
3
|
+
import { record_type, array_type, option_type, string_type, getRecordFields, makeRecord } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
4
|
+
import { map as map_2, map2 } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
|
|
5
5
|
import { Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
|
|
6
|
-
import { map as map_1 } from "../../../fable_modules/fable-library.4.
|
|
6
|
+
import { map as map_1 } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
7
7
|
import { Option_mapDefault } from "../Helper.js";
|
|
8
|
-
import { Record } from "../../../fable_modules/fable-library.4.
|
|
8
|
+
import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
9
9
|
import { OntologyAnnotation_$reflection } from "./OntologyAnnotation.js";
|
|
10
10
|
import { Comment$_$reflection } from "./Comment.js";
|
|
11
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Record, toString } from "../../../fable_modules/fable-library.4.
|
|
2
|
-
import { append, choose, empty, length } from "../../../fable_modules/fable-library.4.
|
|
3
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.
|
|
4
|
-
import { printf, toText } from "../../../fable_modules/fable-library.4.
|
|
5
|
-
import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
2
|
+
import { append, choose, empty, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
3
|
+
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
4
|
+
import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
5
|
+
import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
6
6
|
import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
|
|
7
7
|
import { FactorValue_$reflection } from "./FactorValue.js";
|
|
8
8
|
import { Source_$reflection } from "./Source.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Record, toString } from "../../../fable_modules/fable-library.4.
|
|
2
|
-
import { choose, empty, length } from "../../../fable_modules/fable-library.4.
|
|
3
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.
|
|
4
|
-
import { printf, toText } from "../../../fable_modules/fable-library.4.
|
|
5
|
-
import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
2
|
+
import { choose, empty, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
3
|
+
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
4
|
+
import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
5
|
+
import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
6
6
|
import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
|
|
7
7
|
|
|
8
8
|
export class Source extends Record {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library.4.
|
|
2
|
-
import { getRecordFields, makeRecord, record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
2
|
+
import { getRecordFields, makeRecord, record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
3
3
|
import { Publication_$reflection } from "./Publication.js";
|
|
4
4
|
import { Person_$reflection } from "./Person.js";
|
|
5
5
|
import { OntologyAnnotation_$reflection } from "./OntologyAnnotation.js";
|
|
@@ -10,19 +10,19 @@ import { Assay_update_722A269D, Assay_updateProtocols, Assay_getMaterials_722A26
|
|
|
10
10
|
import { Factor_$reflection } from "./Factor.js";
|
|
11
11
|
import { MaterialAttribute_$reflection } from "./MaterialAttribute.js";
|
|
12
12
|
import { Comment$_$reflection } from "./Comment.js";
|
|
13
|
-
import { collect, empty, filter, map, singleton, append, exists } from "../../../fable_modules/fable-library.4.
|
|
14
|
-
import { stringHash, safeHash, structuralHash, equals } from "../../../fable_modules/fable-library.4.
|
|
15
|
-
import { map2 as map2_2 } from "../../../fable_modules/fable-library.4.
|
|
13
|
+
import { collect, empty, filter, map, singleton, append, exists } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
14
|
+
import { stringHash, safeHash, structuralHash, equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
15
|
+
import { map2 as map2_2 } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
|
|
16
16
|
import { Dict_tryFind, Dict_ofSeqWithMerge, Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
|
|
17
|
-
import { map as map_1, defaultArg } from "../../../fable_modules/fable-library.4.
|
|
17
|
+
import { map as map_1, defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
18
18
|
import { Option_fromValueWithDefault, Update_UpdateOptions, Option_mapDefault } from "../Helper.js";
|
|
19
19
|
import { updateProtocols, getMaterials, getSamples, getSources, getUnits, getFactors, getCharacteristics, getProtocols } from "./ProcessSequence.js";
|
|
20
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.
|
|
20
|
+
import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
21
21
|
import { Source_$reflection } from "./Source.js";
|
|
22
22
|
import { Sample_$reflection } from "./Sample.js";
|
|
23
23
|
import { AssayMaterials_getMaterials_35E61745 } from "./AssayMaterials.js";
|
|
24
24
|
import { Material_$reflection } from "./Material.js";
|
|
25
|
-
import { toFail } from "../../../fable_modules/fable-library.4.
|
|
25
|
+
import { toFail } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
26
26
|
|
|
27
27
|
export class Study extends Record {
|
|
28
28
|
constructor(ID, FileName, Identifier, Title, Description, SubmissionDate, PublicReleaseDate, Publications, Contacts, StudyDesignDescriptors, Protocols, Materials, ProcessSequence, Assays, Factors, CharacteristicCategories, UnitCategories, Comments) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
2
2
|
import { Source_$reflection } from "./Source.js";
|
|
3
|
-
import { record_type, option_type, list_type } from "../../../fable_modules/fable-library.4.
|
|
3
|
+
import { record_type, option_type, list_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
4
4
|
import { Sample_$reflection } from "./Sample.js";
|
|
5
5
|
import { Material_$reflection } from "./Material.js";
|
|
6
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.
|
|
7
|
-
import { empty } from "../../../fable_modules/fable-library.4.
|
|
6
|
+
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
7
|
+
import { empty } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
8
8
|
|
|
9
9
|
export class StudyMaterials extends Record {
|
|
10
10
|
constructor(Sources, Samples, OtherMaterials) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { tryParse } from "../../../fable_modules/fable-library-js.4.13.0/Int32.js";
|
|
2
|
+
import { Union, toString, FSharpRef } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
3
|
+
import { tryParse as tryParse_1 } from "../../../fable_modules/fable-library-js.4.13.0/Double.js";
|
|
3
4
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
4
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.
|
|
5
|
-
import { int32ToString } from "../../../fable_modules/fable-library.4.
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { union_type, string_type, float64_type, int32_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
|
|
5
|
+
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
6
|
+
import { int32ToString } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
7
|
+
import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
8
|
+
import { union_type, string_type, float64_type, int32_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
9
9
|
|
|
10
10
|
export class Value extends Union {
|
|
11
11
|
constructor(tag, fields) {
|
|
@@ -17,33 +17,26 @@ export class Value extends Union {
|
|
|
17
17
|
return ["Ontology", "Int", "Float", "Name"];
|
|
18
18
|
}
|
|
19
19
|
static fromString(value) {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
let matchValue;
|
|
21
|
+
let outArg = 0;
|
|
22
|
+
matchValue = [tryParse(value, 511, false, 32, new FSharpRef(() => outArg, (v) => {
|
|
23
|
+
outArg = (v | 0);
|
|
24
|
+
})), outArg];
|
|
25
|
+
if (matchValue[0]) {
|
|
26
|
+
return new Value(1, [matchValue[1]]);
|
|
22
27
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
else {
|
|
29
|
+
let matchValue_1;
|
|
30
|
+
let outArg_1 = 0;
|
|
31
|
+
matchValue_1 = [tryParse_1(value, new FSharpRef(() => outArg_1, (v_1) => {
|
|
32
|
+
outArg_1 = v_1;
|
|
33
|
+
})), outArg_1];
|
|
34
|
+
return matchValue_1[0] ? (new Value(2, [matchValue_1[1]])) : (new Value(3, [value]));
|
|
30
35
|
}
|
|
31
36
|
}
|
|
32
37
|
static fromOptions(value, termSource, termAccesssion) {
|
|
33
38
|
let value_1;
|
|
34
|
-
return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? void 0 : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, (()
|
|
35
|
-
try {
|
|
36
|
-
return new Value(1, [parse_1(value_1, 511, false, 32)]);
|
|
37
|
-
}
|
|
38
|
-
catch (matchValue_1) {
|
|
39
|
-
try {
|
|
40
|
-
return new Value(2, [parse(value_1)]);
|
|
41
|
-
}
|
|
42
|
-
catch (matchValue_2) {
|
|
43
|
-
return new Value(3, [value_1]);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
})())) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)])));
|
|
39
|
+
return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? void 0 : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, Value.fromString(value_1))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)])));
|
|
47
40
|
}
|
|
48
41
|
static toOptions(value) {
|
|
49
42
|
switch (value.tag) {
|
package/ISA/ISA/Regex.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { create, match } from "../../fable_modules/fable-library.4.
|
|
2
|
-
import { parse } from "../../fable_modules/fable-library.4.
|
|
3
|
-
import { map } from "../../fable_modules/fable-library.4.
|
|
1
|
+
import { create, match } from "../../fable_modules/fable-library-js.4.13.0/RegExp.js";
|
|
2
|
+
import { parse } from "../../fable_modules/fable-library-js.4.13.0/Int32.js";
|
|
3
|
+
import { map } from "../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
4
4
|
|
|
5
5
|
export function Pattern_handleGroupPatterns(pattern) {
|
|
6
6
|
return pattern;
|
|
@@ -1,92 +1,79 @@
|
|
|
1
1
|
import { OntologySourceReference_encoder, OntologyAnnotation_encoder, OntologySourceReference_decoder, OntologyAnnotation_decoder } from "../Ontology.js";
|
|
2
|
-
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
3
|
-
import {
|
|
4
|
-
import { safeHash, equals, uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
2
|
+
import { ConverterOptions__set_IncludeContext_Z1FBCCD16, ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
3
|
+
import { array, object, string, list as list_1 } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
|
|
5
4
|
import { ArcTable_compressedDecoder, ArcTable_compressedEncoder, ArcTable_encoder, ArcTable_decoder } from "./ArcTable.js";
|
|
6
|
-
import { encoder, decoder as
|
|
7
|
-
import { encoder as encoder_1, decoder as
|
|
5
|
+
import { encoder, decoder as decoder_2 } from "../Person.js";
|
|
6
|
+
import { encoder as encoder_1, decoder as decoder_3 } from "../Comment.js";
|
|
8
7
|
import { Factor_encoder, Factor_decoder } from "../Factor.js";
|
|
9
|
-
import { encoder as encoder_2, decoder as
|
|
10
|
-
import { value as
|
|
11
|
-
import { toArray } from "../../../fable_modules/fable-library.4.
|
|
12
|
-
import {
|
|
13
|
-
import { empty, singleton, append, delay, toList, map as map_1 } from "../../../fable_modules/fable-library.4.
|
|
8
|
+
import { encoder as encoder_2, decoder as decoder_4 } from "../Publication.js";
|
|
9
|
+
import { value as value_2, map, defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
10
|
+
import { toArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
11
|
+
import { seq } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js";
|
|
12
|
+
import { empty, singleton, append, delay, toList, map as map_1 } from "../../../fable_modules/fable-library-js.4.13.0/Seq.js";
|
|
13
|
+
import { Json } from "../../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
|
|
14
14
|
import { ArcAssay } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
15
15
|
import { OATable_arrayFromMap, OATable_encoder, OATable_decoder, OATable_decodeOA, OATable_encodeOA } from "./OATable.js";
|
|
16
|
+
import { toString } from "../../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
16
17
|
import { Assay_decoder, Assay_encoder } from "../Assay.js";
|
|
17
|
-
import {
|
|
18
|
-
import { printf,
|
|
18
|
+
import { fromString } from "../../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
19
|
+
import { toFail, printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
19
20
|
import { StringTable_arrayFromMap, StringTable_encoder, StringTable_decoder } from "../StringTable.js";
|
|
20
21
|
import { CellTable_arrayFromMap, CellTable_encoder, CellTable_decoder } from "./CellTable.js";
|
|
21
|
-
import { Dictionary } from "../../../fable_modules/fable-library.4.
|
|
22
|
+
import { Dictionary } from "../../../fable_modules/fable-library-js.4.13.0/MutableMap.js";
|
|
23
|
+
import { safeHash, equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
22
24
|
|
|
23
25
|
export const JsonHelper_DecodeOa = OntologyAnnotation_decoder(ConverterOptions_$ctor());
|
|
24
26
|
|
|
25
|
-
export const JsonHelper_DecodeTables =
|
|
27
|
+
export const JsonHelper_DecodeTables = list_1(ArcTable_decoder);
|
|
26
28
|
|
|
27
|
-
export const JsonHelper_DecodePersons = (()
|
|
28
|
-
const decoder = decoder_1(ConverterOptions_$ctor());
|
|
29
|
-
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
30
|
-
})();
|
|
29
|
+
export const JsonHelper_DecodePersons = list_1(decoder_2(ConverterOptions_$ctor()));
|
|
31
30
|
|
|
32
|
-
export const JsonHelper_DecodeComments = (()
|
|
33
|
-
const decoder = decoder_2(ConverterOptions_$ctor());
|
|
34
|
-
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
35
|
-
})();
|
|
31
|
+
export const JsonHelper_DecodeComments = list_1(decoder_3(ConverterOptions_$ctor()));
|
|
36
32
|
|
|
37
|
-
export const JsonHelper_DecodeFactors = (()
|
|
38
|
-
const decoder = Factor_decoder(ConverterOptions_$ctor());
|
|
39
|
-
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
40
|
-
})();
|
|
33
|
+
export const JsonHelper_DecodeFactors = list_1(Factor_decoder(ConverterOptions_$ctor()));
|
|
41
34
|
|
|
42
|
-
export const JsonHelper_DecodePublications = (()
|
|
43
|
-
const decoder = decoder_3(ConverterOptions_$ctor());
|
|
44
|
-
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
45
|
-
})();
|
|
35
|
+
export const JsonHelper_DecodePublications = list_1(decoder_4(ConverterOptions_$ctor()));
|
|
46
36
|
|
|
47
|
-
export const JsonHelper_DecodeOntologySourceReferences = (()
|
|
48
|
-
const decoder = OntologySourceReference_decoder(ConverterOptions_$ctor());
|
|
49
|
-
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
50
|
-
})();
|
|
37
|
+
export const JsonHelper_DecodeOntologySourceReferences = list_1(OntologySourceReference_decoder(ConverterOptions_$ctor()));
|
|
51
38
|
|
|
52
39
|
export function JsonHelper_tryGetTables(get$, fieldName) {
|
|
53
40
|
let objectArg;
|
|
54
|
-
return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
41
|
+
return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeTables))), []);
|
|
55
42
|
}
|
|
56
43
|
|
|
57
44
|
export function JsonHelper_tryGetPersons(get$, fieldName) {
|
|
58
45
|
let objectArg;
|
|
59
|
-
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
46
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodePersons))), new Array(0));
|
|
60
47
|
}
|
|
61
48
|
|
|
62
49
|
export function JsonHelper_tryGetComments(get$, fieldName) {
|
|
63
50
|
let objectArg;
|
|
64
|
-
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
51
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeComments))), new Array(0));
|
|
65
52
|
}
|
|
66
53
|
|
|
67
54
|
export function JsonHelper_tryGetPublications(get$, fieldName) {
|
|
68
55
|
let objectArg;
|
|
69
|
-
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
56
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodePublications))), new Array(0));
|
|
70
57
|
}
|
|
71
58
|
|
|
72
59
|
export function JsonHelper_tryGetOAs(get$, fieldName) {
|
|
73
|
-
let objectArg;
|
|
74
|
-
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
60
|
+
let arg_1, objectArg;
|
|
61
|
+
return defaultArg(map(toArray, (arg_1 = list_1(JsonHelper_DecodeOa), (objectArg = get$.Optional, objectArg.Field(fieldName, arg_1)))), new Array(0));
|
|
75
62
|
}
|
|
76
63
|
|
|
77
64
|
export function JsonHelper_tryGetFactors(get$, fieldName) {
|
|
78
65
|
let objectArg;
|
|
79
|
-
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
66
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeFactors))), new Array(0));
|
|
80
67
|
}
|
|
81
68
|
|
|
82
69
|
export function JsonHelper_tryGetStringResizeArray(get$, fieldName) {
|
|
83
|
-
let objectArg;
|
|
84
|
-
return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
70
|
+
let arg_1, objectArg;
|
|
71
|
+
return defaultArg(map((collection) => Array.from(collection), (arg_1 = list_1(string), (objectArg = get$.Optional, objectArg.Field(fieldName, arg_1)))), []);
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
export function JsonHelper_tryGetOntologySourceReferences(get$, fieldName) {
|
|
88
75
|
let objectArg;
|
|
89
|
-
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName,
|
|
76
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, JsonHelper_DecodeOntologySourceReferences))), new Array(0));
|
|
90
77
|
}
|
|
91
78
|
|
|
92
79
|
export function JsonHelper_EncoderOA(t) {
|
|
@@ -142,69 +129,84 @@ export function JsonHelper_EncoderOntologySourceReferences(t) {
|
|
|
142
129
|
}
|
|
143
130
|
|
|
144
131
|
export function ArcAssay_encoder(assay) {
|
|
145
|
-
return
|
|
132
|
+
return new Json(5, [toList(delay(() => append(singleton(["Identifier", new Json(0, [assay.Identifier])]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", JsonHelper_EncoderOA(value_2(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", JsonHelper_EncoderOA(value_2(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", JsonHelper_EncoderOA(value_2(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", JsonHelper_EncoderTables(assay.Tables)]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty())))))))))))))))]);
|
|
146
133
|
}
|
|
147
134
|
|
|
148
|
-
export const ArcAssay_decoder = (
|
|
135
|
+
export const ArcAssay_decoder = object((get$) => {
|
|
149
136
|
let identifier;
|
|
150
137
|
const objectArg = get$.Required;
|
|
151
138
|
identifier = objectArg.Field("Identifier", string);
|
|
152
139
|
let measurementType;
|
|
153
140
|
const objectArg_1 = get$.Optional;
|
|
154
|
-
measurementType = objectArg_1.Field("MeasurementType",
|
|
141
|
+
measurementType = objectArg_1.Field("MeasurementType", JsonHelper_DecodeOa);
|
|
155
142
|
let technologyType;
|
|
156
143
|
const objectArg_2 = get$.Optional;
|
|
157
|
-
technologyType = objectArg_2.Field("TechnologyType",
|
|
144
|
+
technologyType = objectArg_2.Field("TechnologyType", JsonHelper_DecodeOa);
|
|
158
145
|
let technologyPlatform;
|
|
159
146
|
const objectArg_3 = get$.Optional;
|
|
160
|
-
technologyPlatform = objectArg_3.Field("TechnologyPlatform",
|
|
147
|
+
technologyPlatform = objectArg_3.Field("TechnologyPlatform", JsonHelper_DecodeOa);
|
|
161
148
|
const tables = JsonHelper_tryGetTables(get$, "Tables");
|
|
162
149
|
const performers = JsonHelper_tryGetPersons(get$, "Performers");
|
|
163
150
|
const comments = JsonHelper_tryGetComments(get$, "Comments");
|
|
164
151
|
return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
|
|
165
|
-
}
|
|
152
|
+
});
|
|
166
153
|
|
|
167
154
|
export function ArcAssay_compressedEncoder(stringTable, oaTable, cellTable, assay) {
|
|
168
|
-
return
|
|
155
|
+
return new Json(5, [toList(delay(() => append(singleton(["Identifier", new Json(0, [assay.Identifier])]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", OATable_encodeOA(oaTable, value_2(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", OATable_encodeOA(oaTable, value_2(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", OATable_encodeOA(oaTable, value_2(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", seq(map_1((table) => ArcTable_compressedEncoder(stringTable, oaTable, cellTable, table), assay.Tables))]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty())))))))))))))))]);
|
|
169
156
|
}
|
|
170
157
|
|
|
171
158
|
export function ArcAssay_compressedDecoder(stringTable, oaTable, cellTable) {
|
|
172
|
-
return (
|
|
173
|
-
let arg_1,
|
|
174
|
-
const tables = defaultArg(map((collection) => Array.from(collection), (arg_1 = (
|
|
159
|
+
return object((get$) => {
|
|
160
|
+
let arg_1, objectArg;
|
|
161
|
+
const tables = defaultArg(map((collection) => Array.from(collection), (arg_1 = array(ArcTable_compressedDecoder(stringTable, oaTable, cellTable)), (objectArg = get$.Optional, objectArg.Field("Tables", arg_1)))), []);
|
|
175
162
|
let identifier;
|
|
176
163
|
const objectArg_1 = get$.Required;
|
|
177
164
|
identifier = objectArg_1.Field("Identifier", string);
|
|
178
165
|
let measurementType;
|
|
166
|
+
const arg_5 = OATable_decodeOA(oaTable);
|
|
179
167
|
const objectArg_2 = get$.Optional;
|
|
180
|
-
measurementType = objectArg_2.Field("MeasurementType",
|
|
168
|
+
measurementType = objectArg_2.Field("MeasurementType", arg_5);
|
|
181
169
|
let technologyType;
|
|
170
|
+
const arg_7 = OATable_decodeOA(oaTable);
|
|
182
171
|
const objectArg_3 = get$.Optional;
|
|
183
|
-
technologyType = objectArg_3.Field("TechnologyType",
|
|
172
|
+
technologyType = objectArg_3.Field("TechnologyType", arg_7);
|
|
184
173
|
let technologyPlatform;
|
|
174
|
+
const arg_9 = OATable_decodeOA(oaTable);
|
|
185
175
|
const objectArg_4 = get$.Optional;
|
|
186
|
-
technologyPlatform = objectArg_4.Field("TechnologyPlatform",
|
|
176
|
+
technologyPlatform = objectArg_4.Field("TechnologyPlatform", arg_9);
|
|
187
177
|
const performers = JsonHelper_tryGetPersons(get$, "Performers");
|
|
188
178
|
const comments = JsonHelper_tryGetComments(get$, "Comments");
|
|
189
179
|
return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
|
|
190
|
-
}
|
|
180
|
+
});
|
|
191
181
|
}
|
|
192
182
|
|
|
193
183
|
/**
|
|
194
184
|
* exports in json-ld format
|
|
195
185
|
*/
|
|
196
|
-
export function
|
|
186
|
+
export function ArcAssay_toJsonldString(a) {
|
|
197
187
|
let returnVal;
|
|
198
|
-
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToAssay()));
|
|
188
|
+
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), void 0, a.ToAssay()));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function ArcAssay_toJsonldStringWithContext(a) {
|
|
192
|
+
let returnVal;
|
|
193
|
+
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), (((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), ConverterOptions__set_IncludeContext_Z1FBCCD16(returnVal, true)), returnVal)), void 0, a.ToAssay()));
|
|
199
194
|
}
|
|
200
195
|
|
|
201
196
|
export function ArcAssay_fromJsonString(s) {
|
|
202
|
-
|
|
203
|
-
|
|
197
|
+
let a_1;
|
|
198
|
+
const matchValue = fromString(Assay_decoder(ConverterOptions_$ctor()), s);
|
|
199
|
+
if (matchValue.tag === 1) {
|
|
200
|
+
throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
a_1 = matchValue.fields[0];
|
|
204
|
+
}
|
|
205
|
+
return ArcAssay.fromAssay(a_1);
|
|
204
206
|
}
|
|
205
207
|
|
|
206
208
|
export function ArcAssay_toJsonString(a) {
|
|
207
|
-
return toString(2, Assay_encoder(ConverterOptions_$ctor(), a.ToAssay()));
|
|
209
|
+
return toString(2, Assay_encoder(ConverterOptions_$ctor(), void 0, a.ToAssay()));
|
|
208
210
|
}
|
|
209
211
|
|
|
210
212
|
export function ArcAssay_toArcJsonString(a) {
|
|
@@ -212,22 +214,34 @@ export function ArcAssay_toArcJsonString(a) {
|
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
export function ArcAssay_fromArcJsonString(jsonString) {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
try {
|
|
218
|
+
const matchValue = fromString(ArcAssay_decoder, jsonString);
|
|
219
|
+
if (matchValue.tag === 1) {
|
|
220
|
+
throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
return matchValue.fields[0];
|
|
224
|
+
}
|
|
218
225
|
}
|
|
219
|
-
|
|
220
|
-
|
|
226
|
+
catch (e_1) {
|
|
227
|
+
const arg_1 = e_1.message;
|
|
228
|
+
return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_1);
|
|
221
229
|
}
|
|
222
230
|
}
|
|
223
231
|
|
|
224
232
|
export function ARCtrl_ISA_ArcAssay__ArcAssay_fromArcJsonString_Static_Z721C83C5(jsonString) {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
233
|
+
try {
|
|
234
|
+
const matchValue = fromString(ArcAssay_decoder, jsonString);
|
|
235
|
+
if (matchValue.tag === 1) {
|
|
236
|
+
throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
return matchValue.fields[0];
|
|
240
|
+
}
|
|
228
241
|
}
|
|
229
|
-
|
|
230
|
-
|
|
242
|
+
catch (e_1) {
|
|
243
|
+
const arg_1 = e_1.message;
|
|
244
|
+
return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_1);
|
|
231
245
|
}
|
|
232
246
|
}
|
|
233
247
|
|
|
@@ -240,24 +254,31 @@ export function ARCtrl_ISA_ArcAssay__ArcAssay_toArcJsonString_Static_1C75D08D(a)
|
|
|
240
254
|
}
|
|
241
255
|
|
|
242
256
|
export function ARCtrl_ISA_ArcAssay__ArcAssay_fromCompressedJsonString_Static_Z721C83C5(jsonString) {
|
|
243
|
-
const
|
|
257
|
+
const decoder = object((get$) => {
|
|
244
258
|
let arg_5, objectArg_2;
|
|
245
259
|
let stringTable;
|
|
246
260
|
const objectArg = get$.Required;
|
|
247
|
-
stringTable = objectArg.Field("stringTable",
|
|
261
|
+
stringTable = objectArg.Field("stringTable", StringTable_decoder);
|
|
248
262
|
let oaTable;
|
|
249
263
|
const arg_3 = OATable_decoder(stringTable);
|
|
250
264
|
const objectArg_1 = get$.Required;
|
|
251
|
-
oaTable = objectArg_1.Field("oaTable",
|
|
252
|
-
const arg_7 = ArcAssay_compressedDecoder(stringTable, oaTable, (arg_5 = CellTable_decoder(stringTable, oaTable), (objectArg_2 = get$.Required, objectArg_2.Field("cellTable",
|
|
265
|
+
oaTable = objectArg_1.Field("oaTable", arg_3);
|
|
266
|
+
const arg_7 = ArcAssay_compressedDecoder(stringTable, oaTable, (arg_5 = CellTable_decoder(stringTable, oaTable), (objectArg_2 = get$.Required, objectArg_2.Field("cellTable", arg_5))));
|
|
253
267
|
const objectArg_3 = get$.Required;
|
|
254
|
-
return objectArg_3.Field("assay",
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
268
|
+
return objectArg_3.Field("assay", arg_7);
|
|
269
|
+
});
|
|
270
|
+
try {
|
|
271
|
+
const matchValue = fromString(decoder, jsonString);
|
|
272
|
+
if (matchValue.tag === 1) {
|
|
273
|
+
throw new Error(toText(printf("Error decoding string: %O"))(matchValue.fields[0]));
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
return matchValue.fields[0];
|
|
277
|
+
}
|
|
258
278
|
}
|
|
259
|
-
|
|
260
|
-
|
|
279
|
+
catch (e_1) {
|
|
280
|
+
const arg_9 = e_1.message;
|
|
281
|
+
return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_9);
|
|
261
282
|
}
|
|
262
283
|
}
|
|
263
284
|
|
|
@@ -273,7 +294,7 @@ export function ARCtrl_ISA_ArcAssay__ArcAssay_ToCompressedJsonString_71136F3F(th
|
|
|
273
294
|
GetHashCode: safeHash,
|
|
274
295
|
});
|
|
275
296
|
const arcAssay = ArcAssay_compressedEncoder(stringTable, oaTable, cellTable, this$);
|
|
276
|
-
return toString(spaces_1,
|
|
297
|
+
return toString(spaces_1, new Json(5, [[["cellTable", CellTable_encoder(stringTable, oaTable, CellTable_arrayFromMap(cellTable))], ["oaTable", OATable_encoder(stringTable, OATable_arrayFromMap(oaTable))], ["stringTable", StringTable_encoder(StringTable_arrayFromMap(stringTable))], ["assay", arcAssay]]]));
|
|
277
298
|
}
|
|
278
299
|
|
|
279
300
|
export function ARCtrl_ISA_ArcAssay__ArcAssay_toCompressedJsonString_Static_1C75D08D(a) {
|