@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,19 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Record } from '@fable-org/fable-library-ts/Types.ts';
|
|
1
|
+
import { IComparable, IEquatable } from '@fable-org/fable-library-ts/Util.ts';
|
|
2
|
+
import { Union, Record } from '@fable-org/fable-library-ts/Types.ts';
|
|
3
3
|
import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
4
4
|
import { TypeInfo } from '@fable-org/fable-library-ts/Reflection.ts';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { MappingEntry, YamlNode } from '../fable_modules/YAMLicious.2.0.0/Model.fs.js';
|
|
6
|
+
import { Decode_IGetters } from '../fable_modules/YAMLicious.2.0.0/Decode.fs.js';
|
|
7
7
|
import { FSharpList } from '@fable-org/fable-library-ts/List.ts';
|
|
8
|
-
import {
|
|
8
|
+
import { float64, int32 } from '@fable-org/fable-library-ts/Int32.ts';
|
|
9
|
+
import { FSharpChoice$6_$union } from '@fable-org/fable-library-ts/Choice.ts';
|
|
9
10
|
import { int64 } from '@fable-org/fable-library-ts/BigInt.ts';
|
|
10
11
|
import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { CWLOutput, OutputBinding } from './Outputs.ts';
|
|
14
|
-
import { CWLInput, InputBinding } from './Inputs.ts';
|
|
15
|
-
import { WorkflowStep, WorkflowStepRun_$union, StepOutput_$union, StepInput, ScatterMethod_$union, PickValueMethod_$union, LinkMergeMethod_$union } from './WorkflowSteps.ts';
|
|
12
|
+
import { SchemaDefinition_$union, SoftwarePackage, InputEnumSchema, InputRecordSchema, InputRecordField, InputArraySchema, CWLType_$union, DirentInstance, SourceNodes, DocText_$union, ListEntry$1_$union, DirectoryInstance, FileInstance, FileSize_$union, SchemaSaladBool_$union, SchemaSaladString_$union, RawYaml } from './CWLTypes.ts';
|
|
13
|
+
import { HintEntry_$union, InlineJavascriptRequirementValue, ToolTimeLimitValue_$union, InplaceUpdateRequirementValue, SchemaDefEntry_$union, ResourceRequirementInstance, LoadListingRequirementValue, Requirement_$union, EnvironmentDef, DockerRequirement, InitialWorkDirEntry_$union, LoadListingEnum_$union } from './Requirements.ts';
|
|
14
|
+
import { CWLOutput, OutputSource_$union, OutputBinding, OutputGlob_$union } from './Outputs.ts';
|
|
16
15
|
import { CWLProcessingUnit_$union } from './CWLProcessingUnit.ts';
|
|
16
|
+
import { CWLInput, InputFormat_$union, InputBinding, BindingPosition_$union } from './Inputs.ts';
|
|
17
|
+
import { WorkflowStep, WorkflowStepRun_$union, StepOutput_$union, StepInput, ScatterMethod_$union, PickValueMethod_$union, LinkMergeMethod_$union } from './WorkflowSteps.ts';
|
|
17
18
|
import { CWLWorkflowDescription } from './WorkflowDescription.ts';
|
|
18
19
|
import { CWLExpressionToolDescription } from './ExpressionToolDescription.ts';
|
|
19
20
|
import { CWLOperationDescription } from './OperationDescription.ts';
|
|
@@ -37,378 +38,638 @@ export declare function Decode_DecodeResult$1_$reflection(gen0: TypeInfo): TypeI
|
|
|
37
38
|
/**
|
|
38
39
|
* Add a recoverable decode warning only when the caller requested warning collection.
|
|
39
40
|
*/
|
|
40
|
-
export declare function Decode_addWarning(warnings: Option<Decode_DecodeWarning[]>, path: string, message: string, raw: Option<
|
|
41
|
+
export declare function Decode_addWarning(warnings: Option<Decode_DecodeWarning[]>, path: string, message: string, raw: Option<YamlNode>): void;
|
|
42
|
+
export declare function Decode_failAlias<T>(name: string, node: YamlNode): T;
|
|
41
43
|
/**
|
|
42
|
-
*
|
|
44
|
+
* The type that the YAML 1.2 core schema gives a scalar node. This is the rule behind the quoting of
|
|
45
|
+
* Encode.string, so a decoder has to read the plain spellings the same way. Quoted and block scalars
|
|
46
|
+
* are text, and an explicit tag fixes the type. A node that is no scalar counts as text. The core schema sets no
|
|
47
|
+
* size limit for an int, so an int beyond 64 bits is a case of its own that holds the text of the scalar, and the
|
|
48
|
+
* field that takes it converts it (CoreSchema.integerToFloat).
|
|
43
49
|
*/
|
|
44
|
-
export declare function
|
|
50
|
+
export declare function Decode_$007CCoreNull$007CCoreBool$007CCoreInt$007CCoreBigInt$007CCoreFloat$007CCoreText$007C(node: YamlNode): FSharpChoice$6_$union<void, boolean, int64, string, float64, void>;
|
|
45
51
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
52
|
+
* Fail with the first anchor, alias, explicit tag, repeated scalar key and $namespaces field that holds no mapping in the
|
|
53
|
+
* tree. Schema Salad v1.2 prohibits the first three (see prohibitedMessage). Every anchor counts, also one that no alias
|
|
54
|
+
* names, and so does every explicit tag, also the non-specific tag !. Raw values keep their entries as they were written,
|
|
55
|
+
* so a repeated key would be written back twice, and YAML 1.2 asks for unique keys. Two keys repeat each other when the
|
|
56
|
+
* loader of cwltool takes them for one key (see keyIdentity). cwltool refuses a $namespaces that is
|
|
57
|
+
* no mapping in any object of a document, and in a job file too. A mapping with a $mixin and everything below it is exempt
|
|
58
|
+
* from the $namespaces check. Schema Salad merges the fields beside a $mixin into the data of the file only when that
|
|
59
|
+
* data is a mapping, so the fields drop out when the file holds a scalar or a list, and the verdict depends on the file.
|
|
60
|
+
* The other checks apply there. The walk keeps its own stack, so a raw value of any depth is safe. It checks the keys and
|
|
61
|
+
* the values of a mapping and the items of a sequence.
|
|
48
62
|
*/
|
|
49
|
-
export declare function
|
|
63
|
+
export declare function Decode_rejectWhatTheSpecProhibits(root: YamlNode): void;
|
|
50
64
|
/**
|
|
51
|
-
* Read
|
|
65
|
+
* Read the root node of a CWL document. The text must hold one document that follows the restrictions of Schema Salad: no
|
|
66
|
+
* %YAML or %TAG directive, no explicit tag, no anchor, no alias and no repeated key (see rejectWhatTheSpecProhibits). A
|
|
67
|
+
* merge key is no YAML 1.2 feature, so << is an ordinary key. Every text entry point reads through this function, also the
|
|
68
|
+
* one of the job files and of the additional type of an RO-Crate. A decoder that takes a tree has its own entry point, which
|
|
69
|
+
* applies rejectWhatTheSpecProhibits to the tree. An alias without an anchor fails in the reader before a tree exists, so
|
|
70
|
+
* its error stands at the root of the document.
|
|
52
71
|
*/
|
|
53
|
-
export declare function
|
|
72
|
+
export declare function Decode_readYaml(yaml: string): YamlNode;
|
|
54
73
|
/**
|
|
55
74
|
* Box int64 values in a way that preserves 64-bit numeric intent across Fable targets.
|
|
56
75
|
*/
|
|
57
76
|
export declare function Decode_boxOverflowInt64(value: int64): any;
|
|
77
|
+
/**
|
|
78
|
+
* The entries of a mapping in source order, with keys of any type. Decode.object takes strings as keys only. A caller
|
|
79
|
+
* reads a key with idMapKey, which names the type of a key that is no string in the CWL message, or with entryName,
|
|
80
|
+
* which takes the text of any scalar. Decode.entries returns every entry as written, and a public decoder may get a
|
|
81
|
+
* tree that did not pass rejectWhatTheSpecProhibits, so the function checks the keys of this mapping with the same
|
|
82
|
+
* rule and fails with the same error. A caller that loops over the entries inside an array comprehension binds the
|
|
83
|
+
* result first. When the source of a comprehension fails, Python raises a TypeError of its runtime that hides
|
|
84
|
+
* the decode error.
|
|
85
|
+
*/
|
|
86
|
+
export declare function Decode_mappingEntries(node: YamlNode): FSharpList<MappingEntry>;
|
|
87
|
+
/**
|
|
88
|
+
* The text of the key of an entry as it is written, also for a key that the core schema reads as a number, a bool or
|
|
89
|
+
* null.
|
|
90
|
+
*/
|
|
91
|
+
export declare function Decode_entryName(entry: MappingEntry): string;
|
|
92
|
+
/**
|
|
93
|
+
* Run a decoder for the value of a map entry and put the name of the entry in the path of its error.
|
|
94
|
+
*/
|
|
95
|
+
export declare function Decode_atField<T>(name: string, decode: (() => T)): T;
|
|
96
|
+
/**
|
|
97
|
+
* The text of a CWL string field. CWL types these fields as strings, so a plain scalar that the core schema reads
|
|
98
|
+
* as null, a bool, an int or a float is a decode error at the field, as cwltool reports it. Every other scalar is
|
|
99
|
+
* a string, for example a quoted one or one tagged !!str. A collection and an alias are errors too. Decode.string
|
|
100
|
+
* accepts the same nodes and fails at the same place, and this decoder gives the CWL message with the advice to
|
|
101
|
+
* quote the value.
|
|
102
|
+
*/
|
|
103
|
+
export declare function Decode_stringDecoder(node: YamlNode): string;
|
|
104
|
+
/**
|
|
105
|
+
* The text of a type. CWL types a type name as a string, so a plain null (null, Null, NULL or ~), like a plain bool or
|
|
106
|
+
* number, is a decode error at the node, and the null type is the quoted text "null". A missing value fails with the
|
|
107
|
+
* message for a missing value.
|
|
108
|
+
*/
|
|
109
|
+
export declare function Decode_typeText(node: YamlNode): string;
|
|
110
|
+
/**
|
|
111
|
+
* The id that the key of an entry gives its value in an id map, such as inputs, outputs, steps and requirements in map
|
|
112
|
+
* form. CWL types the id as a string, so a plain key that the core schema reads as null, a bool, an int or a float
|
|
113
|
+
* is a decode error at the key.
|
|
114
|
+
*/
|
|
115
|
+
export declare function Decode_idMapKey(entry: MappingEntry): string;
|
|
58
116
|
/**
|
|
59
117
|
* Decode key value pairs into a dynamic object, while preserving their tree structure.
|
|
60
118
|
*/
|
|
61
|
-
export declare function Decode_overflowDecoder(dynObj: DynamicObj,
|
|
119
|
+
export declare function Decode_overflowDecoder(dynObj: DynamicObj, entries: FSharpList<MappingEntry>): DynamicObj;
|
|
120
|
+
/**
|
|
121
|
+
* Decode an optional field of a node that may be a scalar shorthand. A node that is no mapping has no
|
|
122
|
+
* fields, and a field with a null value counts as missing.
|
|
123
|
+
*/
|
|
124
|
+
export declare function Decode_tryGetPresentField<T>(fieldName: string, decoder: ((arg0: YamlNode) => T), node: YamlNode): Option<T>;
|
|
125
|
+
export declare function Decode_tryGetStringField(fieldName: string, value: YamlNode): Option<string>;
|
|
126
|
+
export declare function Decode_tryGetYamlField(fieldName: string, value: YamlNode): Option<RawYaml>;
|
|
127
|
+
/**
|
|
128
|
+
* Preserve unknown object fields on DynamicObj-backed CWL objects.
|
|
129
|
+
*/
|
|
130
|
+
export declare function Decode_overflowIntoDynamicObj(dynObj: DynamicObj, knownFields: FSharpList<string>, value: YamlNode): DynamicObj;
|
|
131
|
+
/**
|
|
132
|
+
* Read a directive at a place that takes a string. The directive stays a case of SchemaSaladString, so the encoder
|
|
133
|
+
* writes the mapping again. A $mixin beside other fields stays as it was written, because the file decides whether
|
|
134
|
+
* the fields count. A mapping with a directive key that is no directive is an error, and a node without a
|
|
135
|
+
* directive key is none.
|
|
136
|
+
*/
|
|
137
|
+
export declare function Decode_tryDirective(node: YamlNode): Option<SchemaSaladString_$union>;
|
|
62
138
|
/**
|
|
63
|
-
*
|
|
139
|
+
* Read a directive at a place that takes the whole of a list. Only $import can stand there, because an $include
|
|
140
|
+
* yields the text of a file and a $mixin completes an object with the fields beside it. The result is the path of
|
|
141
|
+
* the imported file, and none for a node without a directive key. The text names what the place takes, as in the
|
|
142
|
+
* types field.
|
|
64
143
|
*/
|
|
65
|
-
export declare function
|
|
144
|
+
export declare function Decode_importOnly(what: string, node: YamlNode): Option<string>;
|
|
145
|
+
export type Decode_ValueDirective_$union = Decode_ValueDirective<0> | Decode_ValueDirective<1>;
|
|
146
|
+
export type Decode_ValueDirective_$cases = {
|
|
147
|
+
0: ["ImportedFile", [string]];
|
|
148
|
+
1: ["MixedMapping", [RawYaml]];
|
|
149
|
+
};
|
|
150
|
+
export declare function Decode_ValueDirective_ImportedFile(Item: string): Decode_ValueDirective<0>;
|
|
151
|
+
export declare function Decode_ValueDirective_MixedMapping(Item: RawYaml): Decode_ValueDirective<1>;
|
|
66
152
|
/**
|
|
67
|
-
*
|
|
68
|
-
* behavior that can blur absent fields with malformed field values.
|
|
153
|
+
* What a mapping with a directive stands for at a place that takes an object or a scalar that is no string.
|
|
69
154
|
*/
|
|
70
|
-
export declare
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
155
|
+
export declare class Decode_ValueDirective<Tag extends keyof Decode_ValueDirective_$cases> extends Union<Tag, Decode_ValueDirective_$cases[Tag][0]> {
|
|
156
|
+
constructor(tag: Tag, fields: Decode_ValueDirective_$cases[Tag][1]);
|
|
157
|
+
readonly tag: Tag;
|
|
158
|
+
readonly fields: Decode_ValueDirective_$cases[Tag][1];
|
|
159
|
+
cases(): string[];
|
|
160
|
+
}
|
|
161
|
+
export declare function Decode_ValueDirective_$reflection(): TypeInfo;
|
|
162
|
+
/**
|
|
163
|
+
* Read a directive at a place that takes an object, as in an entry of the types field.
|
|
164
|
+
*/
|
|
165
|
+
export declare function Decode_objectDirective(what: string, node: YamlNode): Option<Decode_ValueDirective_$union>;
|
|
75
166
|
/**
|
|
76
|
-
* Decode
|
|
167
|
+
* Decode a boolean field. A directive stands for the boolean of a file. The text names what the place is, as in the
|
|
168
|
+
* loadContents field.
|
|
77
169
|
*/
|
|
78
|
-
export declare function
|
|
170
|
+
export declare function Decode_schemaSaladBoolDecoder(what: string, node: YamlNode): SchemaSaladBool_$union;
|
|
171
|
+
/**
|
|
172
|
+
* Decode the boolean field of a node that may be a scalar shorthand. A node that is no mapping has no fields, and a
|
|
173
|
+
* field with a null value counts as missing.
|
|
174
|
+
*/
|
|
175
|
+
export declare function Decode_tryGetBoolField(fieldName: string, value: YamlNode): Option<SchemaSaladBool_$union>;
|
|
176
|
+
/**
|
|
177
|
+
* Decode the size of a File through the core schema, so that the size does not narrow to int and a quoted size
|
|
178
|
+
* fails like the other typed fields. A directive stands for the size of a file.
|
|
179
|
+
*/
|
|
180
|
+
export declare function Decode_fileSizeDecoder(node: YamlNode): FileSize_$union;
|
|
181
|
+
export declare const Decode_loadListingDecoder: (node_1: YamlNode) => LoadListingEnum_$union;
|
|
79
182
|
/**
|
|
80
183
|
* Decode and validate CWL loadListing enum fields from their YAML string form.
|
|
81
184
|
*/
|
|
82
|
-
export declare function Decode_tryGetLoadListingField(fieldName: string, value:
|
|
185
|
+
export declare function Decode_tryGetLoadListingField(fieldName: string, value: YamlNode): Option<LoadListingEnum_$union>;
|
|
83
186
|
/**
|
|
84
|
-
*
|
|
187
|
+
* Decode a string field that may hold a Schema Salad directive. A scalar is the literal text. A mapping with a
|
|
188
|
+
* directive as its only field names the file whose text or data takes the place of the mapping.
|
|
85
189
|
*/
|
|
86
|
-
export declare function
|
|
190
|
+
export declare function Decode_decodeSchemaSaladString(node: YamlNode): SchemaSaladString_$union;
|
|
87
191
|
/**
|
|
88
192
|
* Decode File object fields while preserving unrecognized extension metadata.
|
|
89
193
|
*/
|
|
90
|
-
export declare function Decode_decodeFileInstanceFields(element:
|
|
194
|
+
export declare function Decode_decodeFileInstanceFields(element: YamlNode): FileInstance;
|
|
91
195
|
/**
|
|
92
196
|
* Decode Directory object fields while preserving unrecognized extension metadata.
|
|
93
197
|
*/
|
|
94
|
-
export declare function Decode_decodeDirectoryInstanceFields(element:
|
|
198
|
+
export declare function Decode_decodeDirectoryInstanceFields(element: YamlNode): DirectoryInstance;
|
|
199
|
+
/**
|
|
200
|
+
* Decode a list of schema-salad strings.
|
|
201
|
+
*/
|
|
202
|
+
export declare function Decode_decodeSchemaSaladStringArray(value: YamlNode): SchemaSaladString_$union[];
|
|
203
|
+
/**
|
|
204
|
+
* Decode a field that holds a list of strings and nothing else. A directive on its own stands for the whole list when
|
|
205
|
+
* it is an $import or a $mixin, and it is the one entry of the result.
|
|
206
|
+
*/
|
|
207
|
+
export declare function Decode_decodeSchemaSaladStringList(what: string, node: YamlNode): SchemaSaladString_$union[];
|
|
208
|
+
/**
|
|
209
|
+
* Decode a field that holds a list of numbers. A directive on its own stands for the whole list when it is an $import
|
|
210
|
+
* or a $mixin, and it is the one entry of the result.
|
|
211
|
+
*/
|
|
212
|
+
export declare function Decode_intListDecoder(what: string, node: YamlNode): ListEntry$1_$union<int32>[];
|
|
213
|
+
export declare function Decode_tryGetIntListField(fieldName: string, value: YamlNode): Option<ListEntry$1_$union<int32>[]>;
|
|
214
|
+
/**
|
|
215
|
+
* Decode a field that holds a string or a list of strings, such as the scatter. A string is one entry. A directive on
|
|
216
|
+
* its own stands for the string or the list of strings of a file, so it is one entry whichever directive it is.
|
|
217
|
+
*/
|
|
218
|
+
export declare function Decode_stringsOrOneDecoder(node: YamlNode): SchemaSaladString_$union[];
|
|
219
|
+
/**
|
|
220
|
+
* Decode the doc and the label of a mapping, each with the node that it was read from. The values go to the Doc and
|
|
221
|
+
* Label properties of an object, and the nodes go to its SourceNodes, so that the encoder can write the layout of
|
|
222
|
+
* the author again. A field with a null value counts as missing, as it does for the other fields. A doc and a label
|
|
223
|
+
* are strings in CWL, so a plain scalar that the core schema reads as a number or a bool is a decode error at the
|
|
224
|
+
* field. Every other scalar is a string, for example a quoted one or one tagged !!str, and a directive names a file
|
|
225
|
+
* with the text. A doc may also be a list of strings, which Schema Salad concatenates without a separator. A list of
|
|
226
|
+
* plain strings is one text, and a list with a directive keeps its parts, because the model does not hold the text
|
|
227
|
+
* of the file. The node of a doc may be the sequence.
|
|
228
|
+
*/
|
|
229
|
+
export declare function Decode_docAndLabelDecoder(value: YamlNode): [Option<DocText_$union>, Option<SchemaSaladString_$union>, SourceNodes];
|
|
230
|
+
/**
|
|
231
|
+
* Decode the glob of an output binding: one pattern or a list of patterns, kept as it was written.
|
|
232
|
+
*/
|
|
233
|
+
export declare function Decode_outputGlobDecoder(node: YamlNode): OutputGlob_$union;
|
|
234
|
+
/**
|
|
235
|
+
* Decode a YamlNode into the fields of an output binding. The argument decodes the outputEval.
|
|
236
|
+
*/
|
|
237
|
+
export declare function Decode_outputBindingGlobDecoder(outputEvalDecoder: ((arg0: YamlNode) => SchemaSaladString_$union), value: YamlNode): OutputBinding;
|
|
238
|
+
/**
|
|
239
|
+
* Decode a YamlNode into an OutputBinding, or the directive that stands for it. A port in scalar shorthand has none.
|
|
240
|
+
*/
|
|
241
|
+
export declare function Decode_outputBindingDecoder(outputEvalDecoder: ((arg0: YamlNode) => SchemaSaladString_$union)): ((arg0: YamlNode) => Option<ListEntry$1_$union<OutputBinding>>);
|
|
95
242
|
/**
|
|
96
|
-
* Decode
|
|
97
|
-
* Recognized directive wrappers are `$include` and `$import`.
|
|
98
|
-
* Unknown single-key mappings are intentionally coerced to a legacy literal `key: value` string.
|
|
243
|
+
* Decode a list of strings. A single string stands for a list of one.
|
|
99
244
|
*/
|
|
100
|
-
export declare function
|
|
245
|
+
export declare function Decode_decodeStringArrayOrScalar(value: YamlNode): string[];
|
|
101
246
|
/**
|
|
102
|
-
* Decode a
|
|
103
|
-
*
|
|
247
|
+
* Decode a source or an outputSource. A string is a single source and a list is a list of sources, also a list of
|
|
248
|
+
* one, because cwltool keeps the two apart when a linkMerge applies. A directive on its own is a single source.
|
|
104
249
|
*/
|
|
105
|
-
export declare function
|
|
250
|
+
export declare function Decode_sourceDecoder(node: YamlNode): OutputSource_$union;
|
|
251
|
+
export declare const Decode_outputSourceDecoder: (node: YamlNode) => Option<OutputSource_$union>;
|
|
106
252
|
/**
|
|
107
|
-
* Decode a
|
|
253
|
+
* Decode a YamlNode into a Dirent
|
|
108
254
|
*/
|
|
109
|
-
export declare function
|
|
110
|
-
export declare const Decode_outputBindingDecoder: (value_1: YAMLElement_$union) => Option<OutputBinding>;
|
|
255
|
+
export declare function Decode_direntDecoder(value: YamlNode): DirentInstance;
|
|
111
256
|
/**
|
|
112
|
-
* Decode
|
|
257
|
+
* Decode a listing entry of InitialWorkDirRequirement. CWL admits null, a Dirent, an expression, a File, a
|
|
258
|
+
* Directory and an array of Files and Directories. A text is an expression, so it holds $( or ${.
|
|
113
259
|
*/
|
|
114
|
-
export declare function
|
|
115
|
-
export
|
|
260
|
+
export declare function Decode_initialWorkDirEntryDecoder(value: YamlNode): InitialWorkDirEntry_$union;
|
|
261
|
+
export type Decode_StreamTypes_$union = Decode_StreamTypes<0> | Decode_StreamTypes<1> | Decode_StreamTypes<2> | Decode_StreamTypes<3>;
|
|
262
|
+
export type Decode_StreamTypes_$cases = {
|
|
263
|
+
0: ["NoStreams", []];
|
|
264
|
+
1: ["OutputStreams", []];
|
|
265
|
+
2: ["InputStreams", []];
|
|
266
|
+
3: ["AnyStreams", []];
|
|
267
|
+
};
|
|
268
|
+
export declare function Decode_StreamTypes_NoStreams(): any;
|
|
269
|
+
export declare function Decode_StreamTypes_OutputStreams(): any;
|
|
270
|
+
export declare function Decode_StreamTypes_InputStreams(): any;
|
|
271
|
+
export declare function Decode_StreamTypes_AnyStreams(): any;
|
|
116
272
|
/**
|
|
117
|
-
*
|
|
273
|
+
* Where a type may be one of the stream types stdout, stderr and stdin.
|
|
118
274
|
*/
|
|
119
|
-
export declare
|
|
275
|
+
export declare class Decode_StreamTypes<Tag extends keyof Decode_StreamTypes_$cases> extends Union<Tag, Decode_StreamTypes_$cases[Tag][0]> {
|
|
276
|
+
constructor(tag: Tag, fields: Decode_StreamTypes_$cases[Tag][1]);
|
|
277
|
+
readonly tag: Tag;
|
|
278
|
+
readonly fields: Decode_StreamTypes_$cases[Tag][1];
|
|
279
|
+
cases(): string[];
|
|
280
|
+
static readonly NoStreams: any;
|
|
281
|
+
static readonly OutputStreams: any;
|
|
282
|
+
static readonly InputStreams: any;
|
|
283
|
+
static readonly AnyStreams: any;
|
|
284
|
+
}
|
|
285
|
+
export declare function Decode_StreamTypes_$reflection(): TypeInfo;
|
|
286
|
+
export type Decode_ProcessClass_$union = Decode_ProcessClass<0> | Decode_ProcessClass<1> | Decode_ProcessClass<2> | Decode_ProcessClass<3>;
|
|
287
|
+
export type Decode_ProcessClass_$cases = {
|
|
288
|
+
0: ["CommandLineToolClass", []];
|
|
289
|
+
1: ["WorkflowClass", []];
|
|
290
|
+
2: ["ExpressionToolClass", []];
|
|
291
|
+
3: ["OperationClass", []];
|
|
292
|
+
};
|
|
293
|
+
export declare function Decode_ProcessClass_CommandLineToolClass(): any;
|
|
294
|
+
export declare function Decode_ProcessClass_WorkflowClass(): any;
|
|
295
|
+
export declare function Decode_ProcessClass_ExpressionToolClass(): any;
|
|
296
|
+
export declare function Decode_ProcessClass_OperationClass(): any;
|
|
297
|
+
/**
|
|
298
|
+
* The class of a process. CWL gives the ports of each class their own fields.
|
|
299
|
+
*/
|
|
300
|
+
export declare class Decode_ProcessClass<Tag extends keyof Decode_ProcessClass_$cases> extends Union<Tag, Decode_ProcessClass_$cases[Tag][0]> {
|
|
301
|
+
constructor(tag: Tag, fields: Decode_ProcessClass_$cases[Tag][1]);
|
|
302
|
+
readonly tag: Tag;
|
|
303
|
+
readonly fields: Decode_ProcessClass_$cases[Tag][1];
|
|
304
|
+
cases(): string[];
|
|
305
|
+
static readonly CommandLineToolClass: any;
|
|
306
|
+
static readonly WorkflowClass: any;
|
|
307
|
+
static readonly ExpressionToolClass: any;
|
|
308
|
+
static readonly OperationClass: any;
|
|
309
|
+
}
|
|
310
|
+
export declare function Decode_ProcessClass_$reflection(): TypeInfo;
|
|
120
311
|
/**
|
|
121
|
-
*
|
|
122
|
-
* Supports both Dirent object form and string/expression form.
|
|
312
|
+
* What the decoders of types, ports and steps know about the place that they read.
|
|
123
313
|
*/
|
|
124
|
-
export declare
|
|
314
|
+
export declare class Decode_DecodeScope extends Record implements IEquatable<Decode_DecodeScope>, IComparable<Decode_DecodeScope> {
|
|
315
|
+
readonly Shorthand: boolean;
|
|
316
|
+
readonly Process: Option<Decode_ProcessClass_$union>;
|
|
317
|
+
readonly StreamTypes: Decode_StreamTypes_$union;
|
|
318
|
+
readonly DocId: string;
|
|
319
|
+
readonly DefaultCwlVersion: Option<string>;
|
|
320
|
+
constructor(Shorthand: boolean, Process: Option<Decode_ProcessClass_$union>, StreamTypes: Decode_StreamTypes_$union, DocId: string, DefaultCwlVersion: Option<string>);
|
|
321
|
+
}
|
|
322
|
+
export declare function Decode_DecodeScope_$reflection(): TypeInfo;
|
|
323
|
+
export declare const Decode_rootScope: Decode_DecodeScope;
|
|
125
324
|
/**
|
|
126
|
-
*
|
|
325
|
+
* The scope of a document, with the id of its root process.
|
|
127
326
|
*/
|
|
128
|
-
export declare function
|
|
327
|
+
export declare function Decode_documentScope(root: YamlNode): Decode_DecodeScope;
|
|
129
328
|
/**
|
|
130
|
-
*
|
|
329
|
+
* The type that a type name spells. The node is the scalar that holds the name. A well-formed name that is no
|
|
330
|
+
* builtin type is a Reference as written. The decoder reads no other file, so it leaves the name to the
|
|
331
|
+
* SchemaDefRequirements and imports that define it. A name that is not well-formed is a decode error at its place.
|
|
332
|
+
* The stream types are no name here. A port admits them as its whole type, which
|
|
333
|
+
* the readers of a port type check before they read a name.
|
|
131
334
|
*/
|
|
132
|
-
export declare function
|
|
335
|
+
export declare function Decode_cwlSimpleTypeFromString(scope: Decode_DecodeScope, node: YamlNode, name: string): CWLType_$union;
|
|
133
336
|
/**
|
|
134
|
-
*
|
|
337
|
+
* Read a type name with the shorthand of a CWL document. T[] is an array of T and T? is null or T, so T[]? is an
|
|
338
|
+
* optional array. A document reads one [] only, because CWL reads a nested array as a schema. The scope tells
|
|
339
|
+
* whether the place of the node reads the shorthand, which a type under items does not.
|
|
135
340
|
*/
|
|
136
|
-
export declare function
|
|
341
|
+
export declare function Decode_cwlTypeFromShorthand(scope: Decode_DecodeScope, node: YamlNode): CWLType_$union;
|
|
137
342
|
/**
|
|
138
|
-
* Decode an
|
|
343
|
+
* Decode an InputArraySchema from a YamlNode
|
|
139
344
|
*/
|
|
140
|
-
export declare function
|
|
345
|
+
export declare function Decode_inputArraySchemaDecoder(scope: Decode_DecodeScope, value: YamlNode): InputArraySchema;
|
|
141
346
|
/**
|
|
142
|
-
*
|
|
347
|
+
* Decode a record field object under its name. The type field is the type of the field. The doc and the label
|
|
348
|
+
* are typed, and every other property of the field, such as inputBinding or secondaryFiles, stays on the field.
|
|
143
349
|
*/
|
|
144
|
-
export declare function
|
|
350
|
+
export declare function Decode_inputRecordFieldObject(scope: Decode_DecodeScope, name: string, value: YamlNode): InputRecordField;
|
|
145
351
|
/**
|
|
146
|
-
*
|
|
352
|
+
* Decode an InputRecordField from a YamlNode
|
|
147
353
|
*/
|
|
148
|
-
export declare function
|
|
354
|
+
export declare function Decode_inputRecordFieldDecoder(scope: Decode_DecodeScope, value: YamlNode): InputRecordField;
|
|
149
355
|
/**
|
|
150
|
-
* Decode an
|
|
356
|
+
* Decode fields as an array: [{name: x, type: y}]. An $import stands for the fields of a file.
|
|
151
357
|
*/
|
|
152
|
-
export declare function
|
|
358
|
+
export declare function Decode_decodeFieldsAsArray(scope: Decode_DecodeScope, element: YamlNode): ListEntry$1_$union<InputRecordField>[];
|
|
153
359
|
/**
|
|
154
|
-
* Decode
|
|
360
|
+
* Decode fields as a map: {fieldName: type} or {fieldName: {type: ..., inputBinding: ...}}
|
|
155
361
|
*/
|
|
156
|
-
export declare function
|
|
362
|
+
export declare function Decode_decodeFieldsAsMap(scope: Decode_DecodeScope, element: YamlNode): ListEntry$1_$union<InputRecordField>[];
|
|
157
363
|
/**
|
|
158
|
-
* Decode
|
|
364
|
+
* Decode an InputRecordSchema from a YamlNode
|
|
159
365
|
*/
|
|
160
|
-
export declare function
|
|
366
|
+
export declare function Decode_inputRecordSchemaDecoder(scope: Decode_DecodeScope, value: YamlNode): InputRecordSchema;
|
|
161
367
|
/**
|
|
162
|
-
*
|
|
368
|
+
* Decode an InputEnumSchema from a YamlNode
|
|
163
369
|
*/
|
|
164
|
-
export declare function
|
|
165
|
-
|
|
370
|
+
export declare function Decode_inputEnumSchemaDecoder(value: YamlNode): InputEnumSchema;
|
|
371
|
+
/**
|
|
372
|
+
* Decode a CWLType from a YamlNode (handles all types including complex schemas). A document reads the shorthand
|
|
373
|
+
* File[] and File? as the whole value of a type field and as a member of a type list.
|
|
374
|
+
*/
|
|
375
|
+
export declare function Decode_cwlTypeDecoder$0027(element: YamlNode): CWLType_$union;
|
|
376
|
+
/**
|
|
377
|
+
* Decode the type under items. It is a name or a schema, and a list of those, with no shorthand.
|
|
378
|
+
*/
|
|
379
|
+
export declare function Decode_itemsTypeDecoder(scope: Decode_DecodeScope, element: YamlNode): CWLType_$union;
|
|
380
|
+
/**
|
|
381
|
+
* Decode a CWLType from a YamlNode. The scope tells whether the place reads the shorthand of a type name.
|
|
382
|
+
*/
|
|
383
|
+
export declare function Decode_cwlTypeDecoderAt(scope: Decode_DecodeScope, element: YamlNode): CWLType_$union;
|
|
384
|
+
export declare const Decode_typeTextScope: Decode_DecodeScope;
|
|
385
|
+
/**
|
|
386
|
+
* Decode the type text of a scalar, whether it stands alone or in the type field of a mapping.
|
|
387
|
+
*/
|
|
388
|
+
export declare function Decode_cwlTypeStringDecoder(scope: Decode_DecodeScope, node: YamlNode): CWLType_$union;
|
|
389
|
+
/**
|
|
390
|
+
* Decode the text of the additional type of an RO-Crate entity. The text is YAML. A scalar is a type name such as
|
|
391
|
+
* File[][]? and may be quoted, as the null type is written ("null"), or carry a comment. The shorthand nests
|
|
392
|
+
* arrays there, which a CWL document does not read. Anything else is a schema or a list of types. The text reads
|
|
393
|
+
* like any type text (typeTextScope). A stream type is the whole text, and a name that is no builtin type is a
|
|
394
|
+
* Reference when it is well-formed. The text is no CWL document, so the plain text null names the null type there,
|
|
395
|
+
* where a document needs it in quotes.
|
|
396
|
+
*/
|
|
397
|
+
export declare function Decode_cwlTypeFromAdditionalType(text: string): CWLType_$union;
|
|
398
|
+
/**
|
|
399
|
+
* Access the type field and decode a YamlNode into a CWLType
|
|
400
|
+
*/
|
|
401
|
+
export declare function Decode_cwlTypeDecoder(scope: Decode_DecodeScope): ((arg0: YamlNode) => CWLType_$union);
|
|
402
|
+
/**
|
|
403
|
+
* Decode the type of a port. CWL lets a map entry hold just the type, written as a type string
|
|
404
|
+
* (File?) or as a list of types (a union such as ["null", File]). Any other value is the port object.
|
|
405
|
+
*/
|
|
406
|
+
export declare function Decode_portTypeDecoder(scope: Decode_DecodeScope, value: YamlNode): CWLType_$union;
|
|
166
407
|
/**
|
|
167
408
|
* Decode a named output from either map shorthand or full object form.
|
|
168
409
|
*/
|
|
169
|
-
export declare function Decode_decodeNamedOutput(name: string, value:
|
|
410
|
+
export declare function Decode_decodeNamedOutput(scope: Decode_DecodeScope, name: string, value: YamlNode): CWLOutput;
|
|
170
411
|
/**
|
|
171
|
-
* Decode one sequence-form output,
|
|
412
|
+
* Decode one sequence-form output, which is a mapping with an id.
|
|
172
413
|
*/
|
|
173
|
-
export declare function Decode_decodeOutputSequenceItem(
|
|
414
|
+
export declare function Decode_decodeOutputSequenceItem(scope: Decode_DecodeScope, index: int32, item: YamlNode): CWLOutput;
|
|
174
415
|
/**
|
|
175
|
-
* Decode a
|
|
416
|
+
* Decode a YamlNode into an Output Array. An $import stands for the outputs of a file, in the list or as the whole
|
|
417
|
+
* field.
|
|
176
418
|
*/
|
|
177
|
-
export declare function Decode_outputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value:
|
|
178
|
-
export declare const Decode_outputArrayDecoder: (value:
|
|
419
|
+
export declare function Decode_outputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, path: string, value: YamlNode): ListEntry$1_$union<CWLOutput>[];
|
|
420
|
+
export declare const Decode_outputArrayDecoder: (value: YamlNode) => ListEntry$1_$union<CWLOutput>[];
|
|
179
421
|
/**
|
|
180
|
-
* Access the outputs field and decode a
|
|
422
|
+
* Access the outputs field and decode a YamlNode into an Output Array
|
|
181
423
|
*/
|
|
182
|
-
export declare function Decode_outputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]
|
|
183
|
-
export declare const Decode_outputsDecoder: ((arg0:
|
|
424
|
+
export declare function Decode_outputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => ListEntry$1_$union<CWLOutput>[]);
|
|
425
|
+
export declare const Decode_outputsDecoder: ((arg0: YamlNode) => ListEntry$1_$union<CWLOutput>[]);
|
|
184
426
|
/**
|
|
185
|
-
* Decode a
|
|
427
|
+
* Decode a YamlNode into a DockerRequirement
|
|
186
428
|
*/
|
|
187
|
-
export declare function Decode_dockerRequirementDecoder(get$:
|
|
429
|
+
export declare function Decode_dockerRequirementDecoder(get$: Decode_IGetters): DockerRequirement;
|
|
188
430
|
/**
|
|
189
|
-
* Decode a
|
|
190
|
-
* Supports both array form and map shorthand form (envName -> envValue).
|
|
431
|
+
* Decode a YamlNode into an EnvVarRequirement array.
|
|
432
|
+
* Supports both array form and map shorthand form (envName -> envValue). An $import stands for the definitions of
|
|
433
|
+
* a file, in the list and as the whole field.
|
|
191
434
|
*/
|
|
192
|
-
export declare function Decode_envVarRequirementDecoder(get$:
|
|
435
|
+
export declare function Decode_envVarRequirementDecoder(get$: Decode_IGetters): ListEntry$1_$union<EnvironmentDef>[];
|
|
193
436
|
/**
|
|
194
|
-
* Decode a
|
|
437
|
+
* Decode a YamlNode into a SoftwareRequirement array.
|
|
195
438
|
* Supports both array form and map shorthand form.
|
|
196
439
|
*/
|
|
197
|
-
export declare function Decode_softwareRequirementDecoder(get$:
|
|
440
|
+
export declare function Decode_softwareRequirementDecoder(get$: Decode_IGetters): ListEntry$1_$union<SoftwarePackage>[];
|
|
198
441
|
/**
|
|
199
|
-
* Decode a
|
|
200
|
-
*
|
|
442
|
+
* Decode a YamlNode into an InitialWorkDirRequirement. The listing is a list of entries or an expression that
|
|
443
|
+
* evaluates to the list.
|
|
201
444
|
*/
|
|
202
|
-
export declare function Decode_initialWorkDirRequirementDecoder(get$:
|
|
445
|
+
export declare function Decode_initialWorkDirRequirementDecoder(get$: Decode_IGetters): Requirement_$union;
|
|
203
446
|
/**
|
|
204
447
|
* Decode LoadListingRequirement, applying CWL's default no_listing behavior.
|
|
205
448
|
*/
|
|
206
|
-
export declare function Decode_loadListingRequirementDecoder(get$:
|
|
449
|
+
export declare function Decode_loadListingRequirementDecoder(get$: Decode_IGetters): LoadListingRequirementValue;
|
|
207
450
|
/**
|
|
208
451
|
* Decode resource scalar fields as int64, float, or expression string without losing numeric shape.
|
|
452
|
+
* CWL types these fields as long, float or string, so the core schema decides. A plain number keeps its
|
|
453
|
+
* numeric shape and a quoted number is a string. Schema Salad accepts an int of any size for a float, and the model holds
|
|
454
|
+
* an int beyond 64 bits as the nearest float. An int beyond the largest float is a decode error.
|
|
209
455
|
*/
|
|
210
|
-
export declare function Decode_decodeResourceScalar(element:
|
|
456
|
+
export declare function Decode_decodeResourceScalar(element: YamlNode): any;
|
|
211
457
|
/**
|
|
212
458
|
* Decode an optional resource field through the resource scalar coercion rules.
|
|
213
459
|
*/
|
|
214
|
-
export declare function Decode_optionalResourceField(get$:
|
|
460
|
+
export declare function Decode_optionalResourceField(get$: Decode_IGetters, fieldName: string): Option<any>;
|
|
215
461
|
/**
|
|
216
|
-
* Decode a
|
|
462
|
+
* Decode a YamlNode into a ResourceRequirementInstance
|
|
217
463
|
*/
|
|
218
|
-
export declare function Decode_resourceRequirementDecoder(get$:
|
|
464
|
+
export declare function Decode_resourceRequirementDecoder(get$: Decode_IGetters): ResourceRequirementInstance;
|
|
219
465
|
/**
|
|
220
|
-
* Decode
|
|
466
|
+
* Decode an entry of the types field that defines a type. CWL defines the entry as the schema itself, with type:
|
|
467
|
+
* record, enum or array. Process.yml admits no other type there, so any other type is an error at the entry, such
|
|
468
|
+
* as a builtin type name. The schema keeps its name, which is optional, and its extension fields.
|
|
221
469
|
*/
|
|
222
|
-
export declare function
|
|
470
|
+
export declare function Decode_schemaDefinitionDecoder(scope: Decode_DecodeScope, value: YamlNode): SchemaDefinition_$union;
|
|
223
471
|
/**
|
|
224
|
-
* Decode a
|
|
472
|
+
* Decode an entry of the types field: a file to import, as {$import: path}, or a type to define.
|
|
225
473
|
*/
|
|
226
|
-
export declare function
|
|
474
|
+
export declare function Decode_schemaDefEntryDecoder(scope: Decode_DecodeScope, value: YamlNode): SchemaDefEntry_$union;
|
|
227
475
|
/**
|
|
228
|
-
* Decode
|
|
476
|
+
* Decode a YamlNode into a SchemaDefEntry array. A types field that is an $import mapping stands for a list with
|
|
477
|
+
* one import.
|
|
229
478
|
*/
|
|
230
|
-
export declare function
|
|
479
|
+
export declare function Decode_schemaDefRequirementDecoder(scope: Decode_DecodeScope, get$: Decode_IGetters): SchemaDefEntry_$union[];
|
|
231
480
|
/**
|
|
232
|
-
* Decode
|
|
481
|
+
* Decode only plain boolean scalars, as the core schema reads them, and leave every other node for the
|
|
482
|
+
* requirement to take as an expression. A quoted "false" is a string.
|
|
233
483
|
*/
|
|
234
|
-
export declare function
|
|
484
|
+
export declare function Decode_tryDecodeBoolScalar(element: YamlNode): Option<boolean>;
|
|
235
485
|
/**
|
|
236
|
-
* Decode
|
|
486
|
+
* Decode WorkReuse as either a concrete bool requirement or an expression payload. A WorkReuse without
|
|
487
|
+
* enableReuse enables the reuse.
|
|
237
488
|
*/
|
|
238
|
-
export declare function
|
|
489
|
+
export declare function Decode_workReuseRequirementDecoder(get$: Decode_IGetters): Requirement_$union;
|
|
239
490
|
/**
|
|
240
|
-
* Decode
|
|
491
|
+
* Decode NetworkAccess as either a concrete bool requirement or an expression payload. CWL requires the
|
|
492
|
+
* networkAccess field, and a missing one is no permission to use the network.
|
|
241
493
|
*/
|
|
242
|
-
export declare function
|
|
494
|
+
export declare function Decode_networkAccessRequirementDecoder(get$: Decode_IGetters): Requirement_$union;
|
|
243
495
|
/**
|
|
244
|
-
* Decode
|
|
496
|
+
* Decode InplaceUpdateRequirement. CWL requires the inplaceUpdate field.
|
|
245
497
|
*/
|
|
246
|
-
export declare function
|
|
498
|
+
export declare function Decode_inplaceUpdateRequirementDecoder(get$: Decode_IGetters): InplaceUpdateRequirementValue;
|
|
247
499
|
/**
|
|
248
|
-
* Decode
|
|
500
|
+
* Decode a YamlNode into a ToolTimeLimitRequirement value
|
|
249
501
|
*/
|
|
250
|
-
export declare function
|
|
502
|
+
export declare function Decode_toolTimeLimitRequirementDecoder(get$: Decode_IGetters): ToolTimeLimitValue_$union;
|
|
251
503
|
/**
|
|
252
|
-
*
|
|
504
|
+
* Decode InlineJavascriptRequirement, whose expressionLib is a list of strings.
|
|
253
505
|
*/
|
|
254
|
-
export declare function
|
|
506
|
+
export declare function Decode_inlineJavascriptRequirementDecoder(get$: Decode_IGetters): InlineJavascriptRequirementValue;
|
|
255
507
|
/**
|
|
256
|
-
*
|
|
508
|
+
* The decoder of the payload of a CWL requirement class, and none for a class that the model does not know. The caller
|
|
509
|
+
* knows the class before it reads the payload, because a hint of an unknown class may hold keys of any type.
|
|
257
510
|
*/
|
|
258
|
-
export declare function
|
|
511
|
+
export declare function Decode_tryRequirementDecoder(scope: Decode_DecodeScope, cls: string): Option<((arg0: Decode_IGetters) => Requirement_$union)>;
|
|
259
512
|
/**
|
|
260
|
-
*
|
|
513
|
+
* Attach unknown payload fields to DynamicObj-backed requirement values after class dispatch.
|
|
261
514
|
*/
|
|
262
|
-
export declare function
|
|
515
|
+
export declare function Decode_addRequirementPayloadOverflow(element: YamlNode, requirement: Requirement_$union): Requirement_$union;
|
|
263
516
|
/**
|
|
264
|
-
*
|
|
517
|
+
* Decode requirements from either sequence syntax or class-name map syntax. The field is the name of the field that
|
|
518
|
+
* holds them in the process, as it stands in the path of a warning. An $import stands for the requirements of a
|
|
519
|
+
* file, and the field may be that directive as a whole.
|
|
265
520
|
*/
|
|
266
|
-
export declare function
|
|
521
|
+
export declare function Decode_requirementArrayDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, field: string, scope: Decode_DecodeScope, yEle: YamlNode): Requirement_$union[];
|
|
522
|
+
export declare const Decode_requirementArrayDecoder: (yEle: YamlNode) => Requirement_$union[];
|
|
267
523
|
/**
|
|
268
|
-
* Decode one hint
|
|
524
|
+
* Decode one hint. An $import stands for the hints of a file, and the decoder checks for it before it reads the class,
|
|
525
|
+
* because the directive has none. A hint of a class that the model knows decodes with the decoder of the requirement of
|
|
526
|
+
* that class and fails with the same errors. A hint of any other class stays as it was written. cwltool accepts keys of
|
|
527
|
+
* any type in such a hint, so the decoder reads the class before Decode.object, which takes strings as keys only.
|
|
269
528
|
*/
|
|
270
|
-
export declare function Decode_decodeHintElement(element:
|
|
529
|
+
export declare function Decode_decodeHintElement(scope: Decode_DecodeScope, element: YamlNode): HintEntry_$union;
|
|
271
530
|
/**
|
|
272
531
|
* Decode hints from sequence syntax or class-name map syntax while preserving unknown hints.
|
|
273
532
|
*/
|
|
274
|
-
export declare function
|
|
275
|
-
export declare const
|
|
276
|
-
export declare const Decode_hintsDecoder: (value: YAMLElement_$union) => Option<HintEntry_$union[]>;
|
|
277
|
-
export declare const Decode_inputBindingDecoder: (value_9: YAMLElement_$union) => Option<InputBinding>;
|
|
533
|
+
export declare function Decode_hintArrayDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, yEle: YamlNode): HintEntry_$union[];
|
|
534
|
+
export declare const Decode_hintArrayDecoder: (yEle: YamlNode) => HintEntry_$union[];
|
|
278
535
|
/**
|
|
279
|
-
*
|
|
536
|
+
* Access the requirements field and decode the YamlNodes into a Requirement array
|
|
280
537
|
*/
|
|
281
|
-
export declare function
|
|
538
|
+
export declare function Decode_requirementsDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => Option<Requirement_$union[]>);
|
|
282
539
|
/**
|
|
283
|
-
*
|
|
540
|
+
* Access the hints field and decode the YamlNodes into a HintEntry array
|
|
284
541
|
*/
|
|
285
|
-
export declare function
|
|
542
|
+
export declare function Decode_hintsDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => Option<HintEntry_$union[]>);
|
|
286
543
|
/**
|
|
287
|
-
* Decode a
|
|
544
|
+
* Decode the requirements of a node that stands alone.
|
|
288
545
|
*/
|
|
289
|
-
export declare function
|
|
290
|
-
export declare const Decode_inputArrayDecoder: (value: YAMLElement_$union) => CWLInput[];
|
|
546
|
+
export declare function Decode_requirementsDecoder(node: YamlNode): Option<Requirement_$union[]>;
|
|
291
547
|
/**
|
|
292
|
-
*
|
|
548
|
+
* Decode the hints of a node that stands alone, as requirementsDecoder decodes its requirements.
|
|
293
549
|
*/
|
|
294
|
-
export declare function
|
|
295
|
-
export declare const Decode_inputsDecoder: ((arg0: YAMLElement_$union) => Option<CWLInput[]>);
|
|
296
|
-
export declare const Decode_baseCommandDecoder: (value_2: YAMLElement_$union) => Option<string[]>;
|
|
297
|
-
export declare const Decode_versionDecoder: (value_1: YAMLElement_$union) => string;
|
|
298
|
-
export declare const Decode_classDecoder: (value_1: YAMLElement_$union) => string;
|
|
299
|
-
export declare function Decode_stringOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string>);
|
|
300
|
-
export declare function Decode_boolOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<boolean>);
|
|
301
|
-
export declare function Decode_yamlElementOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<YAMLElement_$union>);
|
|
302
|
-
export declare function Decode_stringFieldDecoder(field: string): ((arg0: YAMLElement_$union) => string);
|
|
550
|
+
export declare function Decode_hintsDecoder(node: YamlNode): Option<HintEntry_$union[]>;
|
|
303
551
|
/**
|
|
304
|
-
* Decode
|
|
552
|
+
* Decode the position of an input binding: an int, or an expression that evaluates to one. A plain scalar that the
|
|
553
|
+
* core schema reads as an int is the number, and a string with $( or ${ in it is the expression. A directive
|
|
554
|
+
* stands for the number or the expression of a file.
|
|
305
555
|
*/
|
|
306
|
-
export declare function
|
|
556
|
+
export declare function Decode_bindingPositionDecoder(node: YamlNode): BindingPosition_$union;
|
|
557
|
+
export declare const Decode_inputBindingDecoder: (node: YamlNode) => Option<ListEntry$1_$union<InputBinding>>;
|
|
307
558
|
/**
|
|
308
|
-
* Decode
|
|
309
|
-
* Handles both single string values and arrays of strings
|
|
559
|
+
* Decode the format of an input: one name or a list of names. The format of an output admits one name only.
|
|
310
560
|
*/
|
|
311
|
-
export declare function
|
|
561
|
+
export declare function Decode_inputFormatDecoder(node: YamlNode): InputFormat_$union;
|
|
312
562
|
/**
|
|
313
|
-
* Decode
|
|
563
|
+
* Decode a named input from map shorthand or full object form, preserving optionality and extensions.
|
|
314
564
|
*/
|
|
315
|
-
export declare function
|
|
565
|
+
export declare function Decode_decodeNamedInput(scope: Decode_DecodeScope, name: string, value: YamlNode): CWLInput;
|
|
316
566
|
/**
|
|
317
|
-
* Decode
|
|
567
|
+
* Decode one sequence-form input, which is a mapping with an id.
|
|
318
568
|
*/
|
|
319
|
-
export declare function
|
|
320
|
-
export declare function Decode_scatterFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string[]>);
|
|
569
|
+
export declare function Decode_decodeInputSequenceItem(scope: Decode_DecodeScope, index: int32, item: YamlNode): CWLInput;
|
|
321
570
|
/**
|
|
322
|
-
* Decode
|
|
571
|
+
* Decode a YamlNode into an Input array. An $import stands for the inputs of a file, in the list or as the whole
|
|
572
|
+
* field.
|
|
323
573
|
*/
|
|
324
|
-
export declare function
|
|
574
|
+
export declare function Decode_inputArrayDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, path: string, value: YamlNode): ListEntry$1_$union<CWLInput>[];
|
|
575
|
+
export declare const Decode_inputArrayDecoder: (value: YamlNode) => ListEntry$1_$union<CWLInput>[];
|
|
325
576
|
/**
|
|
326
|
-
*
|
|
577
|
+
* Access the inputs field and decode the YamlNodes into an Input array
|
|
327
578
|
*/
|
|
328
|
-
export declare function
|
|
579
|
+
export declare function Decode_inputsDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => Option<ListEntry$1_$union<CWLInput>[]>);
|
|
580
|
+
export declare const Decode_inputsDecoder: ((arg0: YamlNode) => Option<ListEntry$1_$union<CWLInput>[]>);
|
|
581
|
+
export declare const Decode_baseCommandDecoder: (node_1: YamlNode) => Option<SchemaSaladString_$union[]>;
|
|
582
|
+
export declare function Decode_stringOptionFieldDecoder(field: string): ((arg0: YamlNode) => Option<string>);
|
|
583
|
+
export declare function Decode_rawYamlOptionFieldDecoder(field: string): ((arg0: YamlNode) => Option<RawYaml>);
|
|
584
|
+
export declare function Decode_stringFieldDecoder(field: string): ((arg0: YamlNode) => string);
|
|
329
585
|
/**
|
|
330
|
-
* Decode a step input
|
|
586
|
+
* Decode a YamlNode into the source of a step input, which is a single string or an array of strings
|
|
331
587
|
*/
|
|
332
|
-
export declare function
|
|
588
|
+
export declare function Decode_sourceArrayFieldDecoder(field: string): ((arg0: YamlNode) => Option<OutputSource_$union>);
|
|
333
589
|
/**
|
|
334
|
-
* Decode
|
|
590
|
+
* Decode and validate linkMerge enum fields. A directive stands for the symbol of a file.
|
|
335
591
|
*/
|
|
336
|
-
export declare function
|
|
592
|
+
export declare function Decode_linkMergeFieldDecoder(field: string): ((arg0: YamlNode) => Option<LinkMergeMethod_$union>);
|
|
337
593
|
/**
|
|
338
|
-
* Decode
|
|
594
|
+
* Decode and validate pickValue enum fields. A directive stands for the symbol of a file.
|
|
339
595
|
*/
|
|
340
|
-
export declare function
|
|
596
|
+
export declare function Decode_pickValueFieldDecoder(field: string): ((arg0: YamlNode) => Option<PickValueMethod_$union>);
|
|
597
|
+
export declare function Decode_scatterFieldDecoder(field: string): ((arg0: YamlNode) => Option<SchemaSaladString_$union[]>);
|
|
341
598
|
/**
|
|
342
|
-
* Decode
|
|
599
|
+
* Decode and validate scatterMethod enum fields. A directive stands for the symbol of a file.
|
|
343
600
|
*/
|
|
344
|
-
export declare function
|
|
345
|
-
export declare function Decode_decodeStepInputsFromArray(items: FSharpList<YAMLElement_$union>): StepInput[];
|
|
601
|
+
export declare function Decode_scatterMethodFieldDecoder(field: string): ((arg0: YamlNode) => Option<ScatterMethod_$union>);
|
|
346
602
|
/**
|
|
347
|
-
*
|
|
348
|
-
*/
|
|
349
|
-
export declare function Decode_inputStepDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value: YAMLElement_$union): StepInput[];
|
|
350
|
-
export declare const Decode_inputStepDecoder: (value: YAMLElement_$union) => StepInput[];
|
|
351
|
-
/**
|
|
352
|
-
* Decode step outputs from scalar shorthand or record form with extension fields.
|
|
603
|
+
* Decode optional expression-like fields, including schema-salad directive wrappers.
|
|
353
604
|
*/
|
|
354
|
-
export declare function
|
|
355
|
-
export declare const Decode_outputStepsDecoder: (value_2: YAMLElement_$union) => StepOutput_$union[];
|
|
356
|
-
export declare const Decode_docDecoder: (value_1: YAMLElement_$union) => Option<string>;
|
|
357
|
-
export declare const Decode_labelDecoder: (value_1: YAMLElement_$union) => Option<string>;
|
|
358
|
-
export declare const Decode_idDecoder: (value_1: YAMLElement_$union) => Option<string>;
|
|
359
|
-
export declare const Decode_intentDecoder: (value_1: YAMLElement_$union) => Option<string[]>;
|
|
605
|
+
export declare function Decode_expressionStringOptionFieldDecoder(field: string): ((arg0: YamlNode) => Option<SchemaSaladString_$union>);
|
|
360
606
|
/**
|
|
361
|
-
*
|
|
607
|
+
* Decode a step input from map or scalar shorthand and preserve unknown step-input fields.
|
|
362
608
|
*/
|
|
363
|
-
export declare function
|
|
609
|
+
export declare function Decode_decodeStepInputFromValue(id: string, value: YamlNode, allowScalarSource: boolean): StepInput;
|
|
364
610
|
/**
|
|
365
|
-
*
|
|
611
|
+
* Decode map-form step inputs where the map key supplies the step input id.
|
|
366
612
|
*/
|
|
367
|
-
export declare function
|
|
613
|
+
export declare function Decode_decodeStepInputsFromMap(value: YamlNode): ListEntry$1_$union<StepInput>[];
|
|
368
614
|
/**
|
|
369
|
-
* Decode
|
|
615
|
+
* Decode sequence-form step inputs, which are mappings with an id. An $import stands for the step inputs of a file.
|
|
370
616
|
*/
|
|
371
|
-
export declare function
|
|
617
|
+
export declare function Decode_decodeStepInputsFromArrayWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, items: FSharpList<YamlNode>): ListEntry$1_$union<StepInput>[];
|
|
618
|
+
export declare function Decode_decodeStepInputsFromArray(items: FSharpList<YamlNode>): ListEntry$1_$union<StepInput>[];
|
|
372
619
|
/**
|
|
373
|
-
*
|
|
620
|
+
* Select the step input decoder based on CWL map-form versus sequence-form syntax. An $import mapping as the whole
|
|
621
|
+
* field stands for the step inputs of a file.
|
|
374
622
|
*/
|
|
375
|
-
export declare function
|
|
376
|
-
export declare
|
|
623
|
+
export declare function Decode_inputStepDecoderWithWarnings(warnings: Option<Decode_DecodeWarning[]>, path: string, value: YamlNode): ListEntry$1_$union<StepInput>[];
|
|
624
|
+
export declare const Decode_inputStepDecoder: (value: YamlNode) => ListEntry$1_$union<StepInput>[];
|
|
377
625
|
/**
|
|
378
|
-
* Decode
|
|
626
|
+
* Decode a step output from the scalar shorthand or from the record form with extension fields. A directive stands
|
|
627
|
+
* for a file. A record with an id and a $mixin is the output that the id names, and a $mixin without an id stands
|
|
628
|
+
* for an entry of its own.
|
|
379
629
|
*/
|
|
380
|
-
export declare function
|
|
630
|
+
export declare function Decode_decodeStepOutputItem(value: YamlNode): StepOutput_$union;
|
|
631
|
+
export declare const Decode_outputStepsDecoder: (node_2: YamlNode) => StepOutput_$union[];
|
|
632
|
+
export declare const Decode_idDecoder: (node_1: YamlNode) => Option<string>;
|
|
633
|
+
export declare const Decode_intentDecoder: (node_1: YamlNode) => Option<SchemaSaladString_$union[]>;
|
|
381
634
|
/**
|
|
382
|
-
*
|
|
635
|
+
* Test object mappings for an explicit field without invoking a typed decoder.
|
|
383
636
|
*/
|
|
384
|
-
export declare function
|
|
385
|
-
export declare function Decode_stepsDecoderWithVersion(warnings: Option<Decode_DecodeWarning[]>, defaultCwlVersion: string): ((arg0: YAMLElement_$union) => WorkflowStep[]);
|
|
637
|
+
export declare function Decode_hasField(fieldName: string, node: YamlNode): boolean;
|
|
386
638
|
/**
|
|
387
|
-
*
|
|
639
|
+
* The cwlVersion of a process. A process below the top level takes the default of the scope, which is the version of
|
|
640
|
+
* the enclosing process. CWL ignores a cwlVersion field anywhere else than at the top level (concepts.md), so the
|
|
641
|
+
* value of such a field changes nothing. CWL types the field as a string everywhere, so a plain scalar that the core
|
|
642
|
+
* schema reads as a number or a bool is a decode error, and so is a list or a mapping. A process below the top level
|
|
643
|
+
* may leave the field out or give it a null. The field of the root is required.
|
|
388
644
|
*/
|
|
389
|
-
export declare function
|
|
645
|
+
export declare function Decode_versionDecoder(scope: Decode_DecodeScope, node: YamlNode): string;
|
|
390
646
|
/**
|
|
391
|
-
* Decode
|
|
647
|
+
* Decode a workflow step run as either a path string or an inline CWL processing unit.
|
|
392
648
|
*/
|
|
393
|
-
export declare function
|
|
649
|
+
export declare function Decode_workflowStepRunDecoder(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, runValue: YamlNode): WorkflowStepRun_$union;
|
|
394
650
|
/**
|
|
395
|
-
* Decode an
|
|
651
|
+
* Decode a workflow step with or without an id and thread warnings into nested step inputs and inline runs.
|
|
396
652
|
*/
|
|
397
|
-
export declare function
|
|
653
|
+
export declare function Decode_decodeWorkflowStepFromValueWithId(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, path: string, stepId: Option<string>, value: YamlNode): WorkflowStep;
|
|
654
|
+
export declare function Decode_decodeWorkflowStepFromArrayItem(scope: Decode_DecodeScope, item: YamlNode): WorkflowStep;
|
|
398
655
|
/**
|
|
399
|
-
* Decode a
|
|
656
|
+
* Decode one sequence-form workflow step. CWL makes the id of a step optional, so a step without an id key is a step
|
|
657
|
+
* without an id, and it decodes in full like any other step. A null id is an error, as it is for cwltool, and so is
|
|
658
|
+
* an entry that is no mapping.
|
|
400
659
|
*/
|
|
401
|
-
export declare function
|
|
660
|
+
export declare function Decode_decodeWorkflowStepFromArrayItemWithWarnings(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, index: int32, item: YamlNode): WorkflowStep;
|
|
402
661
|
/**
|
|
403
|
-
*
|
|
662
|
+
* Decode workflow steps from sequence-form or map-form syntax with version-aware inline runs.
|
|
404
663
|
*/
|
|
405
|
-
export declare function
|
|
664
|
+
export declare function Decode_stepArrayDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope, value: YamlNode): ListEntry$1_$union<WorkflowStep>[];
|
|
665
|
+
export declare function Decode_stepsDecoderWithScope(warnings: Option<Decode_DecodeWarning[]>, scope: Decode_DecodeScope): ((arg0: YamlNode) => ListEntry$1_$union<WorkflowStep>[]);
|
|
406
666
|
/**
|
|
407
|
-
* Decode an already-parsed CWL element without warning collection.
|
|
667
|
+
* Decode an already-parsed CWL element without warning collection. The tree has to pass the same check as a text, so the
|
|
668
|
+
* function applies rejectWhatTheSpecProhibits to it.
|
|
408
669
|
*/
|
|
409
|
-
export declare function Decode_decodeCWLProcessingUnitElement(yamlCWL:
|
|
410
|
-
export declare const Decode_stepArrayDecoder: (
|
|
411
|
-
export declare const Decode_stepsDecoder: ((arg0:
|
|
670
|
+
export declare function Decode_decodeCWLProcessingUnitElement(yamlCWL: YamlNode): CWLProcessingUnit_$union;
|
|
671
|
+
export declare const Decode_stepArrayDecoder: ((arg0: YamlNode) => ListEntry$1_$union<WorkflowStep>[]);
|
|
672
|
+
export declare const Decode_stepsDecoder: ((arg0: YamlNode) => ListEntry$1_$union<WorkflowStep>[]);
|
|
412
673
|
/**
|
|
413
674
|
* Decode a CWL CommandLineTool YAML string and return recoverable warnings.
|
|
414
675
|
*/
|
|
@@ -449,9 +710,17 @@ export declare function Decode_decodeCWLProcessingUnitWithWarnings(cwl: string):
|
|
|
449
710
|
* Decode any CWL processing unit and discard recoverable warnings.
|
|
450
711
|
*/
|
|
451
712
|
export declare function Decode_decodeCWLProcessingUnit(cwl: string): CWLProcessingUnit_$union;
|
|
452
|
-
export declare function DecodeParameters_decodeParameterValue(value:
|
|
453
|
-
|
|
454
|
-
|
|
713
|
+
export declare function DecodeParameters_decodeParameterValue(value: YamlNode): CWLParameterValue_$union;
|
|
714
|
+
/**
|
|
715
|
+
* A job file gives each input a plain CWL value. An object with the fields type and value is a record with these
|
|
716
|
+
* two fields, and the type of the input comes from the process.
|
|
717
|
+
*/
|
|
718
|
+
export declare function DecodeParameters_cwlParameterReferenceDecoder(key: string, yEle: YamlNode): CWLParameterReference;
|
|
719
|
+
/**
|
|
720
|
+
* Decode the root of an already-parsed job file into parameter references. The tree has to pass the same check as a text, so
|
|
721
|
+
* the function applies rejectWhatTheSpecProhibits to it.
|
|
722
|
+
*/
|
|
723
|
+
export declare function DecodeParameters_cwlparameterReferenceArrayDecoder(root: YamlNode): CWLParameterReference[];
|
|
455
724
|
/**
|
|
456
725
|
* Decode a YAML parameter file string into parameter references.
|
|
457
726
|
*/
|