@nfdi4plants/arctrl 3.2.3 → 3.3.1
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/dist/ts/index.d.ts +44 -7
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +45 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
- package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
- package/dist/ts/ts/ARC.d.ts +19 -2
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +128 -89
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
- package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +887 -201
- package/dist/ts/ts/CWL/Decode.d.ts +480 -211
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +3614 -2462
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
- package/dist/ts/ts/CWL/Encode.d.ts +225 -85
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +1858 -970
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
- package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +255 -6
- package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +107 -16
- package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +35 -9
- package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +101 -19
- package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +18 -25
- package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterValue.js +59 -35
- package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +462 -89
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +34 -13
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
- package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +221 -86
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +13 -14
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +4 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
- package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +47 -20
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +4 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +16 -17
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +26 -18
- package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +55 -31
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +1 -2
- package/dist/ts/ts/Conversion/Investigation.js +11 -11
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +107 -86
- package/dist/ts/ts/Conversion/Run.d.ts +36 -6
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +320 -136
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +23 -12
- package/dist/ts/ts/Conversion/Table.js +5 -5
- package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +655 -163
- package/dist/ts/ts/Conversion.js +6 -6
- package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +219 -129
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +2 -2
- package/dist/ts/ts/Core/CommentList.js +7 -7
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +41 -41
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +14 -11
- package/dist/ts/ts/Core/DataContext.d.ts +1 -1
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +4 -4
- package/dist/ts/ts/Core/DataFile.d.ts +11 -8
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +55 -61
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +2 -3
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +2 -4
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +52 -53
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +2 -2
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +22 -22
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +7 -7
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +2 -2
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
- package/dist/ts/ts/Core/Process/Process.js +21 -21
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
- package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +9 -9
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +3 -3
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/ScalarValue.js +9 -13
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +2 -2
- package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +37 -19
- package/dist/ts/ts/Json/Assay.js +22 -22
- package/dist/ts/ts/Json/Comment.js +9 -9
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +11 -11
- package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +3 -5
- package/dist/ts/ts/Json/Encode.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +20 -20
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +20 -20
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +5 -6
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +7 -7
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +9 -10
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +8 -9
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +17 -17
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +9 -9
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +10 -11
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +24 -24
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +10 -10
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
- package/dist/ts/ts/Json/Run.js +9 -9
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +4 -7
- package/dist/ts/ts/Json/Study.js +20 -20
- package/dist/ts/ts/Json/Table/CellTable.js +1 -2
- package/dist/ts/ts/Json/Table/OATable.js +1 -2
- package/dist/ts/ts/Json/Workflow.js +9 -9
- package/dist/ts/ts/Json.d.ts +121 -1
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +310 -2
- package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Comment.js +67 -0
- package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Data.js +49 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/DataFile.js +48 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +173 -17
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Publication.js +68 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +6 -6
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +31 -39
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +56 -49
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +11 -0
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +61 -50
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +18 -4
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +49 -38
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
- package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
- package/dist/ts/ts/Xlsx.js +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
- package/package.json +5 -4
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
1
|
import { replace } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
2
|
import { URIModule_toString } from '../../Core/URI.js';
|
|
4
3
|
import { Process } from '../../Core/Process/Process.js';
|
|
@@ -24,24 +23,24 @@ function ROCrate_genID(p) {
|
|
|
24
23
|
if (matchValue_1 == null) {
|
|
25
24
|
return "#EmptyProcess";
|
|
26
25
|
} else {
|
|
27
|
-
return "#Process_" + replace(
|
|
26
|
+
return "#Process_" + replace(matchValue_1, " ", "_");
|
|
28
27
|
}
|
|
29
28
|
} else {
|
|
30
|
-
return URIModule_toString(
|
|
29
|
+
return URIModule_toString(matchValue);
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
function ROCrate_encoder(studyName, assayName, oa) {
|
|
34
|
-
let value
|
|
33
|
+
let value = void 0;
|
|
35
34
|
const values_1 = choose((tupledArg) => {
|
|
36
35
|
const option_1 = tupledArg[1];
|
|
37
36
|
if (option_1 != null) {
|
|
38
|
-
return [tupledArg[0],
|
|
37
|
+
return [tupledArg[0], option_1];
|
|
39
38
|
} else {
|
|
40
39
|
return void 0;
|
|
41
40
|
}
|
|
42
|
-
}, ofArray([["@id", (value
|
|
41
|
+
}, ofArray([["@id", (value = ROCrate_genID(oa), {
|
|
43
42
|
Encode(helpers) {
|
|
44
|
-
return helpers.encodeString(value
|
|
43
|
+
return helpers.encodeString(value);
|
|
45
44
|
}
|
|
46
45
|
})], ["@type", list(singleton({
|
|
47
46
|
Encode(helpers_1) {
|
|
@@ -72,7 +71,7 @@ function ISAJson_encoder(studyName, assayName, idMap, oa) {
|
|
|
72
71
|
const values_1 = choose((tupledArg) => {
|
|
73
72
|
const option_1 = tupledArg[1];
|
|
74
73
|
if (option_1 != null) {
|
|
75
|
-
return [tupledArg[0],
|
|
74
|
+
return [tupledArg[0], option_1];
|
|
76
75
|
} else {
|
|
77
76
|
return void 0;
|
|
78
77
|
}
|
|
@@ -101,7 +100,7 @@ function ISAJson_encoder(studyName, assayName, idMap, oa) {
|
|
|
101
100
|
};
|
|
102
101
|
};
|
|
103
102
|
if (idMap != null) {
|
|
104
|
-
return encode(ROCrate_genID, f, oa,
|
|
103
|
+
return encode(ROCrate_genID, f, oa, idMap);
|
|
105
104
|
} else {
|
|
106
105
|
return f(oa);
|
|
107
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProcessParameterValue.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/ProcessParameterValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,
|
|
1
|
+
{"version":3,"file":"ProcessParameterValue.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/ProcessParameterValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAG/D,OAAO,EAAE,IAAI,EAAa,MAAM,qCAAqC,CAAC;AAUtE,eAAO,MAAM,eAAe,gBAAU,CAAC;AAEvC,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,qBAAqB,CAA+W,CAAC;AAE7a,wBAAgB,aAAa,CAAC,EAAE,EAAE,EAAE,EAAE,qBAAqB,GAAG,EAAE,CAE/D;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,qBAAqB,GAAG,UAAU,CAgB9G;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,qBAAqB,CAG3D,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { encoder, decoder } from '../PropertyValue.js';
|
|
2
2
|
import { ProcessParameterValue } from '../../Core/Process/ProcessParameterValue.js';
|
|
3
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { Exception } from '../../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
5
4
|
import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
6
5
|
import { tryInclude } from '../Encode.js';
|
|
@@ -19,7 +18,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
19
18
|
const values_1 = choose((tupledArg) => {
|
|
20
19
|
const option_1 = tupledArg[1];
|
|
21
20
|
if (option_1 != null) {
|
|
22
|
-
return [tupledArg[0],
|
|
21
|
+
return [tupledArg[0], option_1];
|
|
23
22
|
} else {
|
|
24
23
|
return void 0;
|
|
25
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Protocol.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Protocol.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Protocol.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Protocol.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAG3E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAiBjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,QAAQ,GAAG,MAAM,CA6EpI;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,QAAQ,GAAG,UAAU,CAyC3I;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,QAAQ,CAI9C,CAAC;AAEH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,GAAG,UAAU,CA4CpL;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,QAAQ,CAG9C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defaultArg } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
2
|
import { replace } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
3
|
import { Protocol } from '../../Core/Process/Protocol.js';
|
|
4
4
|
import { choose, ofArray, singleton, empty, append } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
@@ -19,9 +19,9 @@ function ROCrate_genID(studyName, assayName, processName, p) {
|
|
|
19
19
|
const matchValue = p.ID;
|
|
20
20
|
let matchResult = void 0, id_1 = void 0;
|
|
21
21
|
if (matchValue != null) {
|
|
22
|
-
if (
|
|
22
|
+
if (matchValue !== "") {
|
|
23
23
|
matchResult = 0;
|
|
24
|
-
id_1 =
|
|
24
|
+
id_1 = matchValue;
|
|
25
25
|
} else {
|
|
26
26
|
matchResult = 1;
|
|
27
27
|
}
|
|
@@ -41,7 +41,7 @@ function ROCrate_genID(studyName, assayName, processName, p) {
|
|
|
41
41
|
if (assayName == null) {
|
|
42
42
|
if (processName != null) {
|
|
43
43
|
matchResult_1 = 2;
|
|
44
|
-
pn_2 =
|
|
44
|
+
pn_2 = processName;
|
|
45
45
|
} else {
|
|
46
46
|
matchResult_1 = 3;
|
|
47
47
|
}
|
|
@@ -51,16 +51,16 @@ function ROCrate_genID(studyName, assayName, processName, p) {
|
|
|
51
51
|
} else if (assayName == null) {
|
|
52
52
|
if (processName != null) {
|
|
53
53
|
matchResult_1 = 1;
|
|
54
|
-
pn_1 =
|
|
55
|
-
sn_1 =
|
|
54
|
+
pn_1 = processName;
|
|
55
|
+
sn_1 = studyName;
|
|
56
56
|
} else {
|
|
57
57
|
matchResult_1 = 3;
|
|
58
58
|
}
|
|
59
59
|
} else if (processName != null) {
|
|
60
60
|
matchResult_1 = 0;
|
|
61
|
-
an =
|
|
62
|
-
pn =
|
|
63
|
-
sn =
|
|
61
|
+
an = assayName;
|
|
62
|
+
pn = processName;
|
|
63
|
+
sn = studyName;
|
|
64
64
|
} else {
|
|
65
65
|
matchResult_1 = 3;
|
|
66
66
|
}
|
|
@@ -75,26 +75,26 @@ function ROCrate_genID(studyName, assayName, processName, p) {
|
|
|
75
75
|
return "#EmptyProtocol";
|
|
76
76
|
}
|
|
77
77
|
} else {
|
|
78
|
-
return "#Protocol_" + replace(
|
|
78
|
+
return "#Protocol_" + replace(matchValue_2, " ", "_");
|
|
79
79
|
}
|
|
80
80
|
} else {
|
|
81
|
-
return
|
|
81
|
+
return matchValue_1;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
function ROCrate_encoder(studyName, assayName, processName, oa) {
|
|
87
|
-
let value
|
|
87
|
+
let value = void 0;
|
|
88
88
|
const values_1 = choose((tupledArg) => {
|
|
89
89
|
const option_1 = tupledArg[1];
|
|
90
90
|
if (option_1 != null) {
|
|
91
|
-
return [tupledArg[0],
|
|
91
|
+
return [tupledArg[0], option_1];
|
|
92
92
|
} else {
|
|
93
93
|
return void 0;
|
|
94
94
|
}
|
|
95
|
-
}, ofArray([["@id", (value
|
|
95
|
+
}, ofArray([["@id", (value = ROCrate_genID(studyName, assayName, processName, oa), {
|
|
96
96
|
Encode(helpers) {
|
|
97
|
-
return helpers.encodeString(value
|
|
97
|
+
return helpers.encodeString(value);
|
|
98
98
|
}
|
|
99
99
|
})], ["@type", list(singleton({
|
|
100
100
|
Encode(helpers_1) {
|
|
@@ -134,7 +134,7 @@ function ISAJson_encoder(studyName, assayName, processName, idMap, oa) {
|
|
|
134
134
|
const values_1 = choose((tupledArg) => {
|
|
135
135
|
const option_1 = tupledArg[1];
|
|
136
136
|
if (option_1 != null) {
|
|
137
|
-
return [tupledArg[0],
|
|
137
|
+
return [tupledArg[0], option_1];
|
|
138
138
|
} else {
|
|
139
139
|
return void 0;
|
|
140
140
|
}
|
|
@@ -167,7 +167,7 @@ function ISAJson_encoder(studyName, assayName, processName, idMap, oa) {
|
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
if (idMap != null) {
|
|
170
|
-
return encode((p_1) => ROCrate_genID(studyName, assayName, processName, p_1), f, oa,
|
|
170
|
+
return encode((p_1) => ROCrate_genID(studyName, assayName, processName, p_1), f, oa, idMap);
|
|
171
171
|
} else {
|
|
172
172
|
return f(oa);
|
|
173
173
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProtocolParameter.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/ProtocolParameter.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"ProtocolParameter.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/ProtocolParameter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,MAAM,EAAc,MAAM,uCAAuC,CAAC;AAEnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAQjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAE5D;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,iBAAiB,CAGnB,CAAC;AAE/B,wBAAgB,aAAa,CAAC,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAQ1D;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,iBAAiB,GAAG,UAAU,CA4B7G;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,iBAAiB,CAGvD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder, OntologyAnnotation_ROCrate_genID, OntologyAnnotation_ISAJson_encoder, OntologyAnnotation_ISAJson_decoder } from '../OntologyAnnotation.js';
|
|
2
|
-
import { defaultArg, unwrap
|
|
2
|
+
import { defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
3
|
import { OntologyAnnotation } from '../../Core/OntologyAnnotation.js';
|
|
4
4
|
import { ProtocolParameter } from '../../Core/Process/ProtocolParameter.js';
|
|
5
5
|
import { map, object } from '../../fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js';
|
|
@@ -22,15 +22,15 @@ function ISAJson_genID(p) {
|
|
|
22
22
|
if (matchValue == null) {
|
|
23
23
|
return "#EmptyProtocolParameter";
|
|
24
24
|
} else {
|
|
25
|
-
return concat("#ProtocolParameter/", OntologyAnnotation_ROCrate_genID(
|
|
25
|
+
return concat("#ProtocolParameter/", OntologyAnnotation_ROCrate_genID(matchValue));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
function ISAJson_encoder(idMap, value
|
|
28
|
+
function ISAJson_encoder(idMap, value) {
|
|
29
29
|
const f = (value_1) => {
|
|
30
30
|
const values_1 = choose((tupledArg) => {
|
|
31
31
|
const option_1 = tupledArg[1];
|
|
32
32
|
if (option_1 != null) {
|
|
33
|
-
return [tupledArg[0],
|
|
33
|
+
return [tupledArg[0], option_1];
|
|
34
34
|
} else {
|
|
35
35
|
return void 0;
|
|
36
36
|
}
|
|
@@ -47,9 +47,9 @@ function ISAJson_encoder(idMap, value$1) {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
if (idMap != null) {
|
|
50
|
-
return encode(ISAJson_genID, f, value
|
|
50
|
+
return encode(ISAJson_genID, f, value, idMap);
|
|
51
51
|
} else {
|
|
52
|
-
return f(value
|
|
52
|
+
return f(value);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
const ISAJson_decoder = object((get$) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sample.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Sample.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Sample.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Sample.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAuE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACtI,OAAO,EAAE,SAAS,EAA8D,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAE1J,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAahE,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAc/C;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAoCtD;AAED,eAAO,MAAM,iCAAiC,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAY9G,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,CAuB5C,CAAC;AAEH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,UAAU,CAgC/F;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAAmG,CAAC;AAEzJ,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,CAG5C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defaultArg } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
2
|
import { replace } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
3
|
import { Sample } from '../../Core/Process/Sample.js';
|
|
4
4
|
import { map, empty, append, choose, ofArray, singleton, isEmpty, head, tail } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
@@ -22,10 +22,10 @@ function ROCrate_genID(s) {
|
|
|
22
22
|
if (matchValue_1 == null) {
|
|
23
23
|
return "#EmptySample";
|
|
24
24
|
} else {
|
|
25
|
-
return "#Sample_" + replace(
|
|
25
|
+
return "#Sample_" + replace(matchValue_1, " ", "_");
|
|
26
26
|
}
|
|
27
27
|
} else {
|
|
28
|
-
return
|
|
28
|
+
return matchValue;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
function ROCrate_encoder(oa) {
|
|
@@ -36,7 +36,7 @@ function ROCrate_encoder(oa) {
|
|
|
36
36
|
const values_1 = choose((tupledArg) => {
|
|
37
37
|
const option_3 = tupledArg[1];
|
|
38
38
|
if (option_3 != null) {
|
|
39
|
-
return [tupledArg[0],
|
|
39
|
+
return [tupledArg[0], option_3];
|
|
40
40
|
} else {
|
|
41
41
|
return void 0;
|
|
42
42
|
}
|
|
@@ -81,11 +81,11 @@ const ROCrate_additionalPropertyDecoder = {
|
|
|
81
81
|
};
|
|
82
82
|
const ROCrate_decoder = object((get$) => {
|
|
83
83
|
let matchValue = void 0, objectArg = void 0, matchValue_1 = void 0, arg_5 = void 0, objectArg_2 = void 0, objectArg_5 = void 0, objectArg_6 = void 0, arg_15 = void 0, objectArg_7 = void 0;
|
|
84
|
-
if (!(matchValue = (objectArg = get$.Optional, objectArg.Field("additionalType", Decode_uri)), matchValue == null ? true :
|
|
84
|
+
if (!(matchValue = (objectArg = get$.Optional, objectArg.Field("additionalType", Decode_uri)), matchValue == null ? true : matchValue === "Sample")) {
|
|
85
85
|
const objectArg_1 = get$.Required;
|
|
86
86
|
objectArg_1.Field("FailBecauseNotSample", unit);
|
|
87
87
|
}
|
|
88
|
-
if (!(matchValue_1 = (arg_5 = list$1(string), objectArg_2 = get$.Optional, objectArg_2.Field("@type", arg_5)), matchValue_1 == null ? true : !isEmpty(
|
|
88
|
+
if (!(matchValue_1 = (arg_5 = list$1(string), objectArg_2 = get$.Optional, objectArg_2.Field("@type", arg_5)), matchValue_1 == null ? true : !isEmpty(matchValue_1) && (head(matchValue_1) === "Sample" && isEmpty(tail(matchValue_1))))) {
|
|
89
89
|
const objectArg_3 = get$.Required;
|
|
90
90
|
objectArg_3.Field("FailBecauseNotSample", unit);
|
|
91
91
|
}
|
|
@@ -95,7 +95,7 @@ const ROCrate_decoder = object((get$) => {
|
|
|
95
95
|
additionalProperties = objectArg_4.Field("additionalProperties", arg_9);
|
|
96
96
|
let patternInput;
|
|
97
97
|
if (additionalProperties != null) {
|
|
98
|
-
const additionalProperties_1 =
|
|
98
|
+
const additionalProperties_1 = additionalProperties;
|
|
99
99
|
patternInput = [Option_fromValueWithDefault(empty(), choose((tuple) => tuple[0], additionalProperties_1)), Option_fromValueWithDefault(empty(), choose((tuple_1) => tuple_1[1], additionalProperties_1))];
|
|
100
100
|
} else {
|
|
101
101
|
patternInput = [void 0, void 0];
|
|
@@ -107,7 +107,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
107
107
|
const values_1 = choose((tupledArg) => {
|
|
108
108
|
const option_1 = tupledArg[1];
|
|
109
109
|
if (option_1 != null) {
|
|
110
|
-
return [tupledArg[0],
|
|
110
|
+
return [tupledArg[0], option_1];
|
|
111
111
|
} else {
|
|
112
112
|
return void 0;
|
|
113
113
|
}
|
|
@@ -128,7 +128,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
if (idMap != null) {
|
|
131
|
-
return encode(ROCrate_genID, f, oa,
|
|
131
|
+
return encode(ROCrate_genID, f, oa, idMap);
|
|
132
132
|
} else {
|
|
133
133
|
return f(oa);
|
|
134
134
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Source.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Source.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Source.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Source.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAG/D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAuB,UAAU,EAA8B,MAAM,qCAAqC,CAAC;AAClH,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAUjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAc/C;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAiCtD;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,CAW5C,CAAC;AAEH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,UAAU,CAgC/F;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAAoE,CAAC;AAE1H,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,CAG5C,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
1
|
import { replace } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
2
|
import { URIModule_toString } from '../../Core/URI.js';
|
|
4
3
|
import { Source } from '../../Core/Process/Source.js';
|
|
@@ -19,24 +18,24 @@ function ROCrate_genID(s) {
|
|
|
19
18
|
if (matchValue_1 == null) {
|
|
20
19
|
return "#EmptySource";
|
|
21
20
|
} else {
|
|
22
|
-
return "#Source_" + replace(
|
|
21
|
+
return "#Source_" + replace(matchValue_1, " ", "_");
|
|
23
22
|
}
|
|
24
23
|
} else {
|
|
25
|
-
return URIModule_toString(
|
|
24
|
+
return URIModule_toString(matchValue);
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
function ROCrate_encoder(oa) {
|
|
29
|
-
let value
|
|
28
|
+
let value = void 0;
|
|
30
29
|
const values_1 = choose((tupledArg) => {
|
|
31
30
|
const option_1 = tupledArg[1];
|
|
32
31
|
if (option_1 != null) {
|
|
33
|
-
return [tupledArg[0],
|
|
32
|
+
return [tupledArg[0], option_1];
|
|
34
33
|
} else {
|
|
35
34
|
return void 0;
|
|
36
35
|
}
|
|
37
|
-
}, ofArray([["@id", (value
|
|
36
|
+
}, ofArray([["@id", (value = ROCrate_genID(oa), {
|
|
38
37
|
Encode(helpers) {
|
|
39
|
-
return helpers.encodeString(value
|
|
38
|
+
return helpers.encodeString(value);
|
|
40
39
|
}
|
|
41
40
|
})], ["@type", list(singleton({
|
|
42
41
|
Encode(helpers_1) {
|
|
@@ -60,11 +59,11 @@ function ROCrate_encoder(oa) {
|
|
|
60
59
|
}
|
|
61
60
|
const ROCrate_decoder = object((get$) => {
|
|
62
61
|
let matchValue = void 0, objectArg = void 0, matchValue_1 = void 0, arg_5 = void 0, objectArg_2 = void 0, objectArg_4 = void 0, objectArg_5 = void 0, arg_13 = void 0, objectArg_6 = void 0;
|
|
63
|
-
if (!(matchValue = (objectArg = get$.Optional, objectArg.Field("additionalType", Decode_uri)), matchValue == null ? true :
|
|
62
|
+
if (!(matchValue = (objectArg = get$.Optional, objectArg.Field("additionalType", Decode_uri)), matchValue == null ? true : matchValue === "Source")) {
|
|
64
63
|
const objectArg_1 = get$.Required;
|
|
65
64
|
objectArg_1.Field("FailBecauseNotSample", unit);
|
|
66
65
|
}
|
|
67
|
-
if (!(matchValue_1 = (arg_5 = list$1(string), objectArg_2 = get$.Optional, objectArg_2.Field("@type", arg_5)), matchValue_1 == null ? true : !isEmpty(
|
|
66
|
+
if (!(matchValue_1 = (arg_5 = list$1(string), objectArg_2 = get$.Optional, objectArg_2.Field("@type", arg_5)), matchValue_1 == null ? true : !isEmpty(matchValue_1) && (head(matchValue_1) === "Source" && isEmpty(tail(matchValue_1))))) {
|
|
68
67
|
const objectArg_3 = get$.Required;
|
|
69
68
|
objectArg_3.Field("FailBecauseNotSample", unit);
|
|
70
69
|
}
|
|
@@ -75,7 +74,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
75
74
|
const values_1 = choose((tupledArg) => {
|
|
76
75
|
const option_1 = tupledArg[1];
|
|
77
76
|
if (option_1 != null) {
|
|
78
|
-
return [tupledArg[0],
|
|
77
|
+
return [tupledArg[0], option_1];
|
|
79
78
|
} else {
|
|
80
79
|
return void 0;
|
|
81
80
|
}
|
|
@@ -96,7 +95,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
96
95
|
};
|
|
97
96
|
};
|
|
98
97
|
if (idMap != null) {
|
|
99
|
-
return encode(ROCrate_genID, f, oa,
|
|
98
|
+
return encode(ROCrate_genID, f, oa, idMap);
|
|
100
99
|
} else {
|
|
101
100
|
return f(oa);
|
|
102
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StudyMaterials.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/StudyMaterials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAIlF,OAAO,
|
|
1
|
+
{"version":3,"file":"StudyMaterials.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/StudyMaterials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAIlF,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAMtG,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU,CAmBpG"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getSources, getSamples, getMaterials } from '../../Core/Process/ProcessSequence.js';
|
|
2
2
|
import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
3
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { tryIncludeList } from '../Encode.js';
|
|
5
4
|
import { ISAJson_encoder } from './Source.js';
|
|
6
5
|
import { ISAJson_encoder as ISAJson_encoder$1 } from './Sample.js';
|
|
@@ -14,7 +13,7 @@ function encoder(idMap, ps) {
|
|
|
14
13
|
const values_1 = choose((tupledArg) => {
|
|
15
14
|
const option_1 = tupledArg[1];
|
|
16
15
|
if (option_1 != null) {
|
|
17
|
-
return [tupledArg[0],
|
|
16
|
+
return [tupledArg[0], option_1];
|
|
18
17
|
} else {
|
|
19
18
|
return void 0;
|
|
20
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyValue.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/PropertyValue.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"PropertyValue.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/PropertyValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAe,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGzE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAS9G,wBAAgB,KAAK,CAAC,CAAC,EAAE,cAAc,GAAG,MAAM,CAkC/C;AAED,wBAAgB,OAAO,CAAC,EAAE,EAAE,cAAc,GAAG,UAAU,CA4HtD;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAqIhO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
2
|
import { OntologyAnnotation } from '../Core/OntologyAnnotation.js';
|
|
3
3
|
import { ScalarValue } from '../Core/ScalarValue.js';
|
|
4
4
|
import { concat } from '../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
@@ -19,13 +19,13 @@ function genID(p) {
|
|
|
19
19
|
if (matchValue_1 != null) {
|
|
20
20
|
if (matchValue_2 == null) {
|
|
21
21
|
matchResult = 1;
|
|
22
|
-
t_1 =
|
|
23
|
-
v_1 =
|
|
22
|
+
t_1 = matchValue;
|
|
23
|
+
v_1 = matchValue_1;
|
|
24
24
|
} else {
|
|
25
25
|
matchResult = 0;
|
|
26
|
-
t =
|
|
27
|
-
u =
|
|
28
|
-
v =
|
|
26
|
+
t = matchValue;
|
|
27
|
+
u = matchValue_2;
|
|
28
|
+
v = matchValue_1;
|
|
29
29
|
}
|
|
30
30
|
} else {
|
|
31
31
|
matchResult = 2;
|
|
@@ -49,7 +49,7 @@ function encoder(pv) {
|
|
|
49
49
|
if (matchValue == null) {
|
|
50
50
|
patternInput = [void 0, void 0];
|
|
51
51
|
} else {
|
|
52
|
-
const oa =
|
|
52
|
+
const oa = matchValue;
|
|
53
53
|
patternInput = [oa.Name, oa.TermAccessionNumber];
|
|
54
54
|
}
|
|
55
55
|
let patternInput_1;
|
|
@@ -57,7 +57,7 @@ function encoder(pv) {
|
|
|
57
57
|
if (matchValue_1 == null) {
|
|
58
58
|
patternInput_1 = [void 0, void 0];
|
|
59
59
|
} else {
|
|
60
|
-
const v =
|
|
60
|
+
const v = matchValue_1;
|
|
61
61
|
switch (v.tag) {
|
|
62
62
|
case /* Int */
|
|
63
63
|
1: {
|
|
@@ -82,11 +82,11 @@ function encoder(pv) {
|
|
|
82
82
|
case /* Ontology */
|
|
83
83
|
0: {
|
|
84
84
|
const oa_1 = v.fields[0];
|
|
85
|
-
patternInput_1 = [(option_1 = oa_1.Name, option_1 != null ? (value_3 =
|
|
85
|
+
patternInput_1 = [(option_1 = oa_1.Name, option_1 != null ? (value_3 = option_1, {
|
|
86
86
|
Encode(helpers_3) {
|
|
87
87
|
return helpers_3.encodeString(value_3);
|
|
88
88
|
}
|
|
89
|
-
}) : void 0), (option_3 = oa_1.TermAccessionNumber, option_3 != null ? (value_5 =
|
|
89
|
+
}) : void 0), (option_3 = oa_1.TermAccessionNumber, option_3 != null ? (value_5 = option_3, {
|
|
90
90
|
Encode(helpers_4) {
|
|
91
91
|
return helpers_4.encodeString(value_5);
|
|
92
92
|
}
|
|
@@ -108,13 +108,13 @@ function encoder(pv) {
|
|
|
108
108
|
if (matchValue_2 == null) {
|
|
109
109
|
patternInput_2 = [void 0, void 0];
|
|
110
110
|
} else {
|
|
111
|
-
const oa_2 =
|
|
111
|
+
const oa_2 = matchValue_2;
|
|
112
112
|
patternInput_2 = [oa_2.Name, oa_2.TermAccessionNumber];
|
|
113
113
|
}
|
|
114
114
|
const values_1 = choose((tupledArg) => {
|
|
115
115
|
const option_5 = tupledArg[1];
|
|
116
116
|
if (option_5 != null) {
|
|
117
|
-
return [tupledArg[0],
|
|
117
|
+
return [tupledArg[0], option_5];
|
|
118
118
|
} else {
|
|
119
119
|
return void 0;
|
|
120
120
|
}
|
|
@@ -168,7 +168,7 @@ function encoder(pv) {
|
|
|
168
168
|
}
|
|
169
169
|
function decoder(create) {
|
|
170
170
|
return object((get$) => {
|
|
171
|
-
let value
|
|
171
|
+
let value = void 0, objectArg_7 = void 0, code_4 = void 0, objectArg_8 = void 0;
|
|
172
172
|
let alternateName;
|
|
173
173
|
const objectArg = get$.Optional;
|
|
174
174
|
alternateName = objectArg.Field("alternateName", string);
|
|
@@ -188,21 +188,21 @@ function decoder(create) {
|
|
|
188
188
|
let matchResult = void 0, code_1 = void 0;
|
|
189
189
|
if (name == null) {
|
|
190
190
|
if (code != null) {
|
|
191
|
-
if (
|
|
191
|
+
if (code === "") {
|
|
192
192
|
matchResult = 0;
|
|
193
193
|
} else {
|
|
194
194
|
matchResult = 2;
|
|
195
|
-
code_1 =
|
|
195
|
+
code_1 = code;
|
|
196
196
|
}
|
|
197
197
|
} else {
|
|
198
198
|
matchResult = 0;
|
|
199
199
|
}
|
|
200
200
|
} else if (code != null) {
|
|
201
|
-
if (
|
|
201
|
+
if (code === "") {
|
|
202
202
|
matchResult = 1;
|
|
203
203
|
} else {
|
|
204
204
|
matchResult = 2;
|
|
205
|
-
code_1 =
|
|
205
|
+
code_1 = code;
|
|
206
206
|
}
|
|
207
207
|
} else {
|
|
208
208
|
matchResult = 1;
|
|
@@ -237,21 +237,21 @@ function decoder(create) {
|
|
|
237
237
|
let matchResult_1 = void 0, code_3 = void 0;
|
|
238
238
|
if (name_1 == null) {
|
|
239
239
|
if (code_2 != null) {
|
|
240
|
-
if (
|
|
240
|
+
if (code_2 === "") {
|
|
241
241
|
matchResult_1 = 0;
|
|
242
242
|
} else {
|
|
243
243
|
matchResult_1 = 2;
|
|
244
|
-
code_3 =
|
|
244
|
+
code_3 = code_2;
|
|
245
245
|
}
|
|
246
246
|
} else {
|
|
247
247
|
matchResult_1 = 0;
|
|
248
248
|
}
|
|
249
249
|
} else if (code_2 != null) {
|
|
250
|
-
if (
|
|
250
|
+
if (code_2 === "") {
|
|
251
251
|
matchResult_1 = 1;
|
|
252
252
|
} else {
|
|
253
253
|
matchResult_1 = 2;
|
|
254
|
-
code_3 =
|
|
254
|
+
code_3 = code_2;
|
|
255
255
|
}
|
|
256
256
|
} else {
|
|
257
257
|
matchResult_1 = 1;
|
|
@@ -276,11 +276,11 @@ function decoder(create) {
|
|
|
276
276
|
throw new Exception(`Error while decoding unit (name:${name_1}, code:${code_3}): ${err_3}`);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
return create(alternateName, measurementMethod, description, category, (value
|
|
279
|
+
return create(alternateName, measurementMethod, description, category, (value = (objectArg_7 = get$.Optional, objectArg_7.Field("value", AnnotationValue_decoder)), code_4 = (objectArg_8 = get$.Optional, objectArg_8.Field("valueCode", string)), value == null && code_4 == null ? void 0 : (() => {
|
|
280
280
|
try {
|
|
281
|
-
return ScalarValue.fromOptions(value
|
|
281
|
+
return ScalarValue.fromOptions(value, void 0, code_4);
|
|
282
282
|
} catch (err_4) {
|
|
283
|
-
throw new Exception(`Error while decoding value ${value
|
|
283
|
+
throw new Exception(`Error while decoding value ${value},${code_4}: ${err_4}`);
|
|
284
284
|
}
|
|
285
285
|
})()), unit);
|
|
286
286
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Publication.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Publication.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAmB,MAAM,qCAAqC,CAAC;AAClF,OAAO,
|
|
1
|
+
{"version":3,"file":"Publication.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Publication.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAmB,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAU,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAO9G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAMrD,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,OAAO,CAAC,EAAE,EAAE,WAAW,GAAG,UAAU,CAgCnD;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAGzC,CAAC;AAEH,wBAAgB,aAAa,CAAC,CAAC,EAAE,WAAW,GAAG,MAAM,CAoBpD;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,WAAW,GAAG,UAAU,CAqC3D;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,WAAW,CAGjD,CAAC;AAEH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,GAAG,UAAU,CAgCpG;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAA6E,CAAC;AAEnI,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,WAAW,CAA8E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
2
|
-
import {
|
|
2
|
+
import { unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
3
|
import { tryInclude, tryIncludeSeq } from './Encode.js';
|
|
4
4
|
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder, OntologyAnnotation_ROCrate_encoderDefinedTerm, OntologyAnnotation_ROCrate_decoderDefinedTerm } from './OntologyAnnotation.js';
|
|
5
5
|
import { encoder as encoder$1, decoder as decoder$1, ROCrate_encoderDisambiguatingDescription, ROCrate_decoderDisambiguatingDescription, ISAJson_encoder as ISAJson_encoder$1 } from './Comment.js';
|
|
@@ -15,7 +15,7 @@ function encoder(oa) {
|
|
|
15
15
|
const values_1 = choose((tupledArg) => {
|
|
16
16
|
const option_1 = tupledArg[1];
|
|
17
17
|
if (option_1 != null) {
|
|
18
|
-
return [tupledArg[0],
|
|
18
|
+
return [tupledArg[0], option_1];
|
|
19
19
|
} else {
|
|
20
20
|
return void 0;
|
|
21
21
|
}
|
|
@@ -56,27 +56,27 @@ function ROCrate_genID(p) {
|
|
|
56
56
|
if (matchValue_2 == null) {
|
|
57
57
|
return "#EmptyPublication";
|
|
58
58
|
} else {
|
|
59
|
-
return "#Pub_" + replace(
|
|
59
|
+
return "#Pub_" + replace(matchValue_2, " ", "_");
|
|
60
60
|
}
|
|
61
61
|
} else {
|
|
62
|
-
return
|
|
62
|
+
return matchValue_1;
|
|
63
63
|
}
|
|
64
64
|
} else {
|
|
65
|
-
return
|
|
65
|
+
return matchValue;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
function ROCrate_encoder(oa) {
|
|
69
|
-
let value
|
|
69
|
+
let value = void 0;
|
|
70
70
|
const values_1 = choose((tupledArg) => {
|
|
71
71
|
const option_1 = tupledArg[1];
|
|
72
72
|
if (option_1 != null) {
|
|
73
|
-
return [tupledArg[0],
|
|
73
|
+
return [tupledArg[0], option_1];
|
|
74
74
|
} else {
|
|
75
75
|
return void 0;
|
|
76
76
|
}
|
|
77
|
-
}, ofArray([["@id", (value
|
|
77
|
+
}, ofArray([["@id", (value = ROCrate_genID(oa), {
|
|
78
78
|
Encode(helpers) {
|
|
79
|
-
return helpers.encodeString(value
|
|
79
|
+
return helpers.encodeString(value);
|
|
80
80
|
}
|
|
81
81
|
})], ["@type", {
|
|
82
82
|
Encode(helpers_1) {
|
|
@@ -110,7 +110,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
110
110
|
const values_1 = choose((tupledArg) => {
|
|
111
111
|
const option_1 = tupledArg[1];
|
|
112
112
|
if (option_1 != null) {
|
|
113
|
-
return [tupledArg[0],
|
|
113
|
+
return [tupledArg[0], option_1];
|
|
114
114
|
} else {
|
|
115
115
|
return void 0;
|
|
116
116
|
}
|
|
@@ -5,7 +5,6 @@ import { getEnumerator, disposeSafe } from '../../../node_modules/@fable-org/fab
|
|
|
5
5
|
import { isEmpty, length, head } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
6
6
|
import { FSharpResult$2_Error$, FSharpResult$2_Ok } from '../../../node_modules/@fable-org/fable-library-ts/Result.js';
|
|
7
7
|
import { initV1_2, initV1_1 } from '../../ROCrate/ROCrateContext.js';
|
|
8
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
9
8
|
import { map, append, toList, delay, singleton, empty } from '../../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
10
9
|
import { item } from '../../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
11
10
|
import { seq } from '../../fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js';
|
|
@@ -59,7 +58,7 @@ function encoder(ctx_mut) {
|
|
|
59
58
|
const matchValue = ctx.Name;
|
|
60
59
|
let matchResult = void 0;
|
|
61
60
|
if (matchValue != null) {
|
|
62
|
-
switch (
|
|
61
|
+
switch (matchValue) {
|
|
63
62
|
case "https://w3id.org/ro/crate/1.2-DRAFT/context": {
|
|
64
63
|
matchResult = 0;
|
|
65
64
|
break;
|