@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,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { SchemaSaladString_Mixed, SchemaSaladString_Include, SchemaSaladString_Import, RawYaml_$reflection, SourceNodes_get_Empty, ListEntry$1_Value, ListEntry$1 } from './CWLTypes.js';
|
|
2
|
+
import { unwrap, defaultArg, toArray } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
|
+
import { Union, Record } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
4
|
+
import { union_type, string_type, class_type, obj_type, record_type, option_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
5
|
+
import { equals, arrayHash, stringHash } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
5
6
|
import { dynamicPropertiesEqual, hashDynamicProperties } from './DynamicObjHelpers.js';
|
|
7
|
+
import { hashFields, mergeHashes } from './HashHelpers.js';
|
|
8
|
+
import { ofArray } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
6
9
|
import { stepInput, stepOutputParameter, workflowStep } from './CWLKnownFieldNames.js';
|
|
7
|
-
import {
|
|
10
|
+
import { Operators_InvalidArg } from '../../node_modules/@fable-org/fable-library-ts/FSharp.Core.js';
|
|
11
|
+
import { item, setItem } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
8
12
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
|
|
9
|
-
import { filter, tryFindIndex } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
13
|
+
import { filter, forAll, tryFindIndex, exists } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
10
14
|
|
|
11
15
|
function LinkMergeMethod_MergeNested() {
|
|
12
16
|
return LinkMergeMethod.MergeNested;
|
|
@@ -14,6 +18,15 @@ function LinkMergeMethod_MergeNested() {
|
|
|
14
18
|
function LinkMergeMethod_MergeFlattened() {
|
|
15
19
|
return LinkMergeMethod.MergeFlattened;
|
|
16
20
|
}
|
|
21
|
+
function LinkMergeMethod_ImportedLinkMerge(Item) {
|
|
22
|
+
return new LinkMergeMethod(2, [Item]);
|
|
23
|
+
}
|
|
24
|
+
function LinkMergeMethod_IncludedLinkMerge(Item) {
|
|
25
|
+
return new LinkMergeMethod(3, [Item]);
|
|
26
|
+
}
|
|
27
|
+
function LinkMergeMethod_MixedLinkMerge(Item) {
|
|
28
|
+
return new LinkMergeMethod(4, [Item]);
|
|
29
|
+
}
|
|
17
30
|
class LinkMergeMethod extends Union {
|
|
18
31
|
constructor(tag, fields) {
|
|
19
32
|
super();
|
|
@@ -21,7 +34,7 @@ class LinkMergeMethod extends Union {
|
|
|
21
34
|
this.fields = fields;
|
|
22
35
|
}
|
|
23
36
|
cases() {
|
|
24
|
-
return ["MergeNested", "MergeFlattened"];
|
|
37
|
+
return ["MergeNested", "MergeFlattened", "ImportedLinkMerge", "IncludedLinkMerge", "MixedLinkMerge"];
|
|
25
38
|
}
|
|
26
39
|
static {
|
|
27
40
|
this.MergeNested = new LinkMergeMethod(0, []);
|
|
@@ -29,17 +42,56 @@ class LinkMergeMethod extends Union {
|
|
|
29
42
|
static {
|
|
30
43
|
this.MergeFlattened = new LinkMergeMethod(1, []);
|
|
31
44
|
}
|
|
45
|
+
static mergeNested() {
|
|
46
|
+
return LinkMergeMethod.MergeNested;
|
|
47
|
+
}
|
|
48
|
+
static mergeFlattened() {
|
|
49
|
+
return LinkMergeMethod.MergeFlattened;
|
|
50
|
+
}
|
|
51
|
+
static importedLinkMerge(value) {
|
|
52
|
+
return LinkMergeMethod_ImportedLinkMerge(value);
|
|
53
|
+
}
|
|
54
|
+
static includedLinkMerge(value) {
|
|
55
|
+
return LinkMergeMethod_IncludedLinkMerge(value);
|
|
56
|
+
}
|
|
57
|
+
static mixedLinkMerge(value) {
|
|
58
|
+
return LinkMergeMethod_MixedLinkMerge(value);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The name of the symbol as a document spells it, and for a directive the text with the directive in front of the
|
|
62
|
+
* path. The text of a directive serves for display, because the encoder writes the directive as a mapping.
|
|
63
|
+
*/
|
|
32
64
|
get AsCwlString() {
|
|
33
65
|
const this$ = this;
|
|
34
|
-
|
|
35
|
-
|
|
66
|
+
switch (this$.tag) {
|
|
67
|
+
case /* MergeFlattened */
|
|
68
|
+
1:
|
|
69
|
+
return "merge_flattened";
|
|
70
|
+
case /* ImportedLinkMerge */
|
|
71
|
+
2: {
|
|
72
|
+
const path = this$.fields[0];
|
|
73
|
+
return SchemaSaladString_Import(path).AsDirectiveString;
|
|
74
|
+
}
|
|
75
|
+
case /* IncludedLinkMerge */
|
|
76
|
+
3: {
|
|
77
|
+
const path_1 = this$.fields[0];
|
|
78
|
+
return SchemaSaladString_Include(path_1).AsDirectiveString;
|
|
79
|
+
}
|
|
80
|
+
case /* MixedLinkMerge */
|
|
81
|
+
4: {
|
|
82
|
+
const raw = this$.fields[0];
|
|
83
|
+
return SchemaSaladString_Mixed(raw).AsDirectiveString;
|
|
84
|
+
}
|
|
85
|
+
default:
|
|
86
|
+
return "merge_nested";
|
|
87
|
+
}
|
|
36
88
|
}
|
|
37
89
|
static tryParse(value) {
|
|
38
90
|
return value === "merge_nested" ? LinkMergeMethod.MergeNested : value === "merge_flattened" ? LinkMergeMethod.MergeFlattened : void 0;
|
|
39
91
|
}
|
|
40
92
|
}
|
|
41
93
|
function LinkMergeMethod_$reflection() {
|
|
42
|
-
return union_type("ARCtrl.CWL.LinkMergeMethod", [], LinkMergeMethod, () => [[], []]);
|
|
94
|
+
return union_type("ARCtrl.CWL.LinkMergeMethod", [], LinkMergeMethod, () => [[], [], [["Item", string_type]], [["Item", string_type]], [["Item", RawYaml_$reflection()]]]);
|
|
43
95
|
}
|
|
44
96
|
function PickValueMethod_FirstNonNull() {
|
|
45
97
|
return PickValueMethod.FirstNonNull;
|
|
@@ -50,6 +102,15 @@ function PickValueMethod_TheOnlyNonNull() {
|
|
|
50
102
|
function PickValueMethod_AllNonNull() {
|
|
51
103
|
return PickValueMethod.AllNonNull;
|
|
52
104
|
}
|
|
105
|
+
function PickValueMethod_ImportedPickValue(Item) {
|
|
106
|
+
return new PickValueMethod(3, [Item]);
|
|
107
|
+
}
|
|
108
|
+
function PickValueMethod_IncludedPickValue(Item) {
|
|
109
|
+
return new PickValueMethod(4, [Item]);
|
|
110
|
+
}
|
|
111
|
+
function PickValueMethod_MixedPickValue(Item) {
|
|
112
|
+
return new PickValueMethod(5, [Item]);
|
|
113
|
+
}
|
|
53
114
|
class PickValueMethod extends Union {
|
|
54
115
|
constructor(tag, fields) {
|
|
55
116
|
super();
|
|
@@ -57,7 +118,7 @@ class PickValueMethod extends Union {
|
|
|
57
118
|
this.fields = fields;
|
|
58
119
|
}
|
|
59
120
|
cases() {
|
|
60
|
-
return ["FirstNonNull", "TheOnlyNonNull", "AllNonNull"];
|
|
121
|
+
return ["FirstNonNull", "TheOnlyNonNull", "AllNonNull", "ImportedPickValue", "IncludedPickValue", "MixedPickValue"];
|
|
61
122
|
}
|
|
62
123
|
static {
|
|
63
124
|
this.FirstNonNull = new PickValueMethod(0, []);
|
|
@@ -68,18 +129,62 @@ class PickValueMethod extends Union {
|
|
|
68
129
|
static {
|
|
69
130
|
this.AllNonNull = new PickValueMethod(2, []);
|
|
70
131
|
}
|
|
132
|
+
static firstNonNull() {
|
|
133
|
+
return PickValueMethod.FirstNonNull;
|
|
134
|
+
}
|
|
135
|
+
static theOnlyNonNull() {
|
|
136
|
+
return PickValueMethod.TheOnlyNonNull;
|
|
137
|
+
}
|
|
138
|
+
static allNonNull() {
|
|
139
|
+
return PickValueMethod.AllNonNull;
|
|
140
|
+
}
|
|
141
|
+
static importedPickValue(value) {
|
|
142
|
+
return PickValueMethod_ImportedPickValue(value);
|
|
143
|
+
}
|
|
144
|
+
static includedPickValue(value) {
|
|
145
|
+
return PickValueMethod_IncludedPickValue(value);
|
|
146
|
+
}
|
|
147
|
+
static mixedPickValue(value) {
|
|
148
|
+
return PickValueMethod_MixedPickValue(value);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The name of the symbol as a document spells it, and for a directive the text with the directive in front of the
|
|
152
|
+
* path. The text of a directive serves for display, because the encoder writes the directive as a mapping.
|
|
153
|
+
*/
|
|
71
154
|
get AsCwlString() {
|
|
72
155
|
const this$ = this;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
156
|
+
switch (this$.tag) {
|
|
157
|
+
case /* TheOnlyNonNull */
|
|
158
|
+
1:
|
|
159
|
+
return "the_only_non_null";
|
|
160
|
+
case /* AllNonNull */
|
|
161
|
+
2:
|
|
162
|
+
return "all_non_null";
|
|
163
|
+
case /* ImportedPickValue */
|
|
164
|
+
3: {
|
|
165
|
+
const path = this$.fields[0];
|
|
166
|
+
return SchemaSaladString_Import(path).AsDirectiveString;
|
|
167
|
+
}
|
|
168
|
+
case /* IncludedPickValue */
|
|
169
|
+
4: {
|
|
170
|
+
const path_1 = this$.fields[0];
|
|
171
|
+
return SchemaSaladString_Include(path_1).AsDirectiveString;
|
|
172
|
+
}
|
|
173
|
+
case /* MixedPickValue */
|
|
174
|
+
5: {
|
|
175
|
+
const raw = this$.fields[0];
|
|
176
|
+
return SchemaSaladString_Mixed(raw).AsDirectiveString;
|
|
177
|
+
}
|
|
178
|
+
default:
|
|
179
|
+
return "first_non_null";
|
|
180
|
+
}
|
|
76
181
|
}
|
|
77
182
|
static tryParse(value) {
|
|
78
183
|
return value === "first_non_null" ? PickValueMethod.FirstNonNull : value === "the_only_non_null" ? PickValueMethod.TheOnlyNonNull : value === "all_non_null" ? PickValueMethod.AllNonNull : void 0;
|
|
79
184
|
}
|
|
80
185
|
}
|
|
81
186
|
function PickValueMethod_$reflection() {
|
|
82
|
-
return union_type("ARCtrl.CWL.PickValueMethod", [], PickValueMethod, () => [[], [], []]);
|
|
187
|
+
return union_type("ARCtrl.CWL.PickValueMethod", [], PickValueMethod, () => [[], [], [], [["Item", string_type]], [["Item", string_type]], [["Item", RawYaml_$reflection()]]]);
|
|
83
188
|
}
|
|
84
189
|
function ScatterMethod_DotProduct() {
|
|
85
190
|
return ScatterMethod.DotProduct;
|
|
@@ -90,6 +195,15 @@ function ScatterMethod_NestedCrossProduct() {
|
|
|
90
195
|
function ScatterMethod_FlatCrossProduct() {
|
|
91
196
|
return ScatterMethod.FlatCrossProduct;
|
|
92
197
|
}
|
|
198
|
+
function ScatterMethod_ImportedScatterMethod(Item) {
|
|
199
|
+
return new ScatterMethod(3, [Item]);
|
|
200
|
+
}
|
|
201
|
+
function ScatterMethod_IncludedScatterMethod(Item) {
|
|
202
|
+
return new ScatterMethod(4, [Item]);
|
|
203
|
+
}
|
|
204
|
+
function ScatterMethod_MixedScatterMethod(Item) {
|
|
205
|
+
return new ScatterMethod(5, [Item]);
|
|
206
|
+
}
|
|
93
207
|
class ScatterMethod extends Union {
|
|
94
208
|
constructor(tag, fields) {
|
|
95
209
|
super();
|
|
@@ -97,7 +211,7 @@ class ScatterMethod extends Union {
|
|
|
97
211
|
this.fields = fields;
|
|
98
212
|
}
|
|
99
213
|
cases() {
|
|
100
|
-
return ["DotProduct", "NestedCrossProduct", "FlatCrossProduct"];
|
|
214
|
+
return ["DotProduct", "NestedCrossProduct", "FlatCrossProduct", "ImportedScatterMethod", "IncludedScatterMethod", "MixedScatterMethod"];
|
|
101
215
|
}
|
|
102
216
|
static {
|
|
103
217
|
this.DotProduct = new ScatterMethod(0, []);
|
|
@@ -108,18 +222,62 @@ class ScatterMethod extends Union {
|
|
|
108
222
|
static {
|
|
109
223
|
this.FlatCrossProduct = new ScatterMethod(2, []);
|
|
110
224
|
}
|
|
225
|
+
static dotProduct() {
|
|
226
|
+
return ScatterMethod.DotProduct;
|
|
227
|
+
}
|
|
228
|
+
static nestedCrossProduct() {
|
|
229
|
+
return ScatterMethod.NestedCrossProduct;
|
|
230
|
+
}
|
|
231
|
+
static flatCrossProduct() {
|
|
232
|
+
return ScatterMethod.FlatCrossProduct;
|
|
233
|
+
}
|
|
234
|
+
static importedScatterMethod(value) {
|
|
235
|
+
return ScatterMethod_ImportedScatterMethod(value);
|
|
236
|
+
}
|
|
237
|
+
static includedScatterMethod(value) {
|
|
238
|
+
return ScatterMethod_IncludedScatterMethod(value);
|
|
239
|
+
}
|
|
240
|
+
static mixedScatterMethod(value) {
|
|
241
|
+
return ScatterMethod_MixedScatterMethod(value);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* The name of the symbol as a document spells it, and for a directive the text with the directive in front of the
|
|
245
|
+
* path. The text of a directive serves for display, because the encoder writes the directive as a mapping.
|
|
246
|
+
*/
|
|
111
247
|
get AsCwlString() {
|
|
112
248
|
const this$ = this;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
249
|
+
switch (this$.tag) {
|
|
250
|
+
case /* NestedCrossProduct */
|
|
251
|
+
1:
|
|
252
|
+
return "nested_crossproduct";
|
|
253
|
+
case /* FlatCrossProduct */
|
|
254
|
+
2:
|
|
255
|
+
return "flat_crossproduct";
|
|
256
|
+
case /* ImportedScatterMethod */
|
|
257
|
+
3: {
|
|
258
|
+
const path = this$.fields[0];
|
|
259
|
+
return SchemaSaladString_Import(path).AsDirectiveString;
|
|
260
|
+
}
|
|
261
|
+
case /* IncludedScatterMethod */
|
|
262
|
+
4: {
|
|
263
|
+
const path_1 = this$.fields[0];
|
|
264
|
+
return SchemaSaladString_Include(path_1).AsDirectiveString;
|
|
265
|
+
}
|
|
266
|
+
case /* MixedScatterMethod */
|
|
267
|
+
5: {
|
|
268
|
+
const raw = this$.fields[0];
|
|
269
|
+
return SchemaSaladString_Mixed(raw).AsDirectiveString;
|
|
270
|
+
}
|
|
271
|
+
default:
|
|
272
|
+
return "dotproduct";
|
|
273
|
+
}
|
|
116
274
|
}
|
|
117
275
|
static tryParse(value) {
|
|
118
276
|
return value === "dotproduct" ? ScatterMethod.DotProduct : value === "nested_crossproduct" ? ScatterMethod.NestedCrossProduct : value === "flat_crossproduct" ? ScatterMethod.FlatCrossProduct : void 0;
|
|
119
277
|
}
|
|
120
278
|
}
|
|
121
279
|
function ScatterMethod_$reflection() {
|
|
122
|
-
return union_type("ARCtrl.CWL.ScatterMethod", [], ScatterMethod, () => [[], [], []]);
|
|
280
|
+
return union_type("ARCtrl.CWL.ScatterMethod", [], ScatterMethod, () => [[], [], [], [["Item", string_type]], [["Item", string_type]], [["Item", RawYaml_$reflection()]]]);
|
|
123
281
|
}
|
|
124
282
|
class StepInput extends DynamicObj {
|
|
125
283
|
constructor(id, source, defaultValue, valueFrom, linkMerge, pickValue, doc, loadContents, loadListing, label) {
|
|
@@ -134,6 +292,7 @@ class StepInput extends DynamicObj {
|
|
|
134
292
|
this._loadContents = loadContents;
|
|
135
293
|
this._loadListing = loadListing;
|
|
136
294
|
this._label = label;
|
|
295
|
+
this._sourceNodes = SourceNodes_get_Empty();
|
|
137
296
|
}
|
|
138
297
|
get Id() {
|
|
139
298
|
const this$ = this;
|
|
@@ -215,6 +374,22 @@ class StepInput extends DynamicObj {
|
|
|
215
374
|
const this$ = this;
|
|
216
375
|
this$._label = value;
|
|
217
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
379
|
+
* They stay out of the equality and the hash of the object.
|
|
380
|
+
*/
|
|
381
|
+
get SourceNodes() {
|
|
382
|
+
const this$ = this;
|
|
383
|
+
return this$._sourceNodes;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
387
|
+
* They stay out of the equality and the hash of the object.
|
|
388
|
+
*/
|
|
389
|
+
set SourceNodes(value) {
|
|
390
|
+
const this$ = this;
|
|
391
|
+
this$._sourceNodes = value;
|
|
392
|
+
}
|
|
218
393
|
Equals(o) {
|
|
219
394
|
let other = void 0;
|
|
220
395
|
const this$ = this;
|
|
@@ -222,7 +397,7 @@ class StepInput extends DynamicObj {
|
|
|
222
397
|
}
|
|
223
398
|
GetHashCode() {
|
|
224
399
|
const this$ = this;
|
|
225
|
-
return
|
|
400
|
+
return hashFields(ofArray([this$.Id, this$.Source, this$.DefaultValue, this$.ValueFrom, this$.LinkMerge, this$.PickValue, this$.Doc, this$.LoadContents, this$.LoadListing, this$.Label, hashDynamicProperties(this$)])) | 0;
|
|
226
401
|
}
|
|
227
402
|
static create(id, source, defaultValue, valueFrom, linkMerge, pickValue, doc, loadContents, loadListing, label) {
|
|
228
403
|
return new StepInput(id, unwrap(source), unwrap(defaultValue), unwrap(valueFrom), unwrap(linkMerge), unwrap(pickValue), unwrap(doc), unwrap(loadContents), unwrap(loadListing), unwrap(label));
|
|
@@ -231,19 +406,30 @@ class StepInput extends DynamicObj {
|
|
|
231
406
|
return stepInput;
|
|
232
407
|
}
|
|
233
408
|
/**
|
|
234
|
-
* Updates
|
|
409
|
+
* Updates the StepInput at the given index of the entries. An import and a mixin have no StepInput to update.
|
|
235
410
|
*/
|
|
236
411
|
static updateAt(index, f, inputs) {
|
|
237
412
|
if (index < 0 ? true : index >= inputs.length) {
|
|
238
|
-
throw
|
|
413
|
+
throw Operators_InvalidArg("index", `StepInput index ${index} is out of range.`);
|
|
414
|
+
}
|
|
415
|
+
const matchValue = item(index, inputs);
|
|
416
|
+
switch (matchValue.tag) {
|
|
417
|
+
case /* Imported */
|
|
418
|
+
1:
|
|
419
|
+
case /* Mixed */
|
|
420
|
+
2: {
|
|
421
|
+
throw Operators_InvalidArg("index", `StepInput index ${index} is an import or a mixin.`);
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
default:
|
|
425
|
+
setItem(inputs, index, ListEntry$1_Value(f(matchValue.fields[0])));
|
|
239
426
|
}
|
|
240
|
-
setItem(inputs, index, f(item(index, inputs)));
|
|
241
427
|
}
|
|
242
428
|
}
|
|
243
429
|
function StepInput_$reflection() {
|
|
244
430
|
return class_type("ARCtrl.CWL.StepInput", void 0, StepInput, DynamicObj_$reflection());
|
|
245
431
|
}
|
|
246
|
-
function StepInput_$
|
|
432
|
+
function StepInput_$ctor_4AFD3CA4(id, source, defaultValue, valueFrom, linkMerge, pickValue, doc, loadContents, loadListing, label) {
|
|
247
433
|
return new StepInput(id, source, defaultValue, valueFrom, linkMerge, pickValue, doc, loadContents, loadListing, label);
|
|
248
434
|
}
|
|
249
435
|
class StepOutputParameter extends DynamicObj {
|
|
@@ -287,6 +473,15 @@ function StepOutput_StepOutputString(Item) {
|
|
|
287
473
|
function StepOutput_StepOutputRecord(Item) {
|
|
288
474
|
return new StepOutput(1, [Item]);
|
|
289
475
|
}
|
|
476
|
+
function StepOutput_StepOutputInclude(Item) {
|
|
477
|
+
return new StepOutput(2, [Item]);
|
|
478
|
+
}
|
|
479
|
+
function StepOutput_StepOutputImport(Item) {
|
|
480
|
+
return new StepOutput(3, [Item]);
|
|
481
|
+
}
|
|
482
|
+
function StepOutput_StepOutputMixed(Item) {
|
|
483
|
+
return new StepOutput(4, [Item]);
|
|
484
|
+
}
|
|
290
485
|
class StepOutput extends Union {
|
|
291
486
|
constructor(tag, fields) {
|
|
292
487
|
super();
|
|
@@ -294,27 +489,73 @@ class StepOutput extends Union {
|
|
|
294
489
|
this.fields = fields;
|
|
295
490
|
}
|
|
296
491
|
cases() {
|
|
297
|
-
return ["StepOutputString", "StepOutputRecord"];
|
|
492
|
+
return ["StepOutputString", "StepOutputRecord", "StepOutputInclude", "StepOutputImport", "StepOutputMixed"];
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* The id of an output that the document writes out, and none for an entry that names a file, because the id is in
|
|
496
|
+
* the file.
|
|
497
|
+
*/
|
|
498
|
+
static tryId(output) {
|
|
499
|
+
switch (output.tag) {
|
|
500
|
+
case /* StepOutputRecord */
|
|
501
|
+
1: {
|
|
502
|
+
const record = output.fields[0];
|
|
503
|
+
return record.Id;
|
|
504
|
+
}
|
|
505
|
+
case /* StepOutputInclude */
|
|
506
|
+
2:
|
|
507
|
+
case /* StepOutputImport */
|
|
508
|
+
3:
|
|
509
|
+
case /* StepOutputMixed */
|
|
510
|
+
4:
|
|
511
|
+
return void 0;
|
|
512
|
+
default:
|
|
513
|
+
return output.fields[0];
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
static stepOutputString(value) {
|
|
517
|
+
return StepOutput_StepOutputString(value);
|
|
518
|
+
}
|
|
519
|
+
static stepOutputRecord(value) {
|
|
520
|
+
return StepOutput_StepOutputRecord(value);
|
|
521
|
+
}
|
|
522
|
+
static stepOutputInclude(value) {
|
|
523
|
+
return StepOutput_StepOutputInclude(value);
|
|
524
|
+
}
|
|
525
|
+
static stepOutputImport(value) {
|
|
526
|
+
return StepOutput_StepOutputImport(value);
|
|
527
|
+
}
|
|
528
|
+
static stepOutputMixed(value) {
|
|
529
|
+
return StepOutput_StepOutputMixed(value);
|
|
298
530
|
}
|
|
299
531
|
}
|
|
300
532
|
function StepOutput_$reflection() {
|
|
301
|
-
return union_type("ARCtrl.CWL.StepOutput", [], StepOutput, () => [[["Item", string_type]], [["Item", StepOutputParameter_$reflection()]]]);
|
|
533
|
+
return union_type("ARCtrl.CWL.StepOutput", [], StepOutput, () => [[["Item", string_type]], [["Item", StepOutputParameter_$reflection()]], [["Item", string_type]], [["Item", string_type]], [["Item", RawYaml_$reflection()]]]);
|
|
302
534
|
}
|
|
303
535
|
function WorkflowStepRun_RunString(Item) {
|
|
304
536
|
return new WorkflowStepRun(0, [Item]);
|
|
305
537
|
}
|
|
306
|
-
function
|
|
538
|
+
function WorkflowStepRun_RunImport(Item) {
|
|
307
539
|
return new WorkflowStepRun(1, [Item]);
|
|
308
540
|
}
|
|
309
|
-
function
|
|
541
|
+
function WorkflowStepRun_RunMixed(Item) {
|
|
310
542
|
return new WorkflowStepRun(2, [Item]);
|
|
311
543
|
}
|
|
312
|
-
function
|
|
544
|
+
function WorkflowStepRun_RunRaw(Item) {
|
|
313
545
|
return new WorkflowStepRun(3, [Item]);
|
|
314
546
|
}
|
|
315
|
-
function
|
|
547
|
+
function WorkflowStepRun_RunCommandLineTool(Item) {
|
|
316
548
|
return new WorkflowStepRun(4, [Item]);
|
|
317
549
|
}
|
|
550
|
+
function WorkflowStepRun_RunWorkflow(Item) {
|
|
551
|
+
return new WorkflowStepRun(5, [Item]);
|
|
552
|
+
}
|
|
553
|
+
function WorkflowStepRun_RunExpressionTool(Item) {
|
|
554
|
+
return new WorkflowStepRun(6, [Item]);
|
|
555
|
+
}
|
|
556
|
+
function WorkflowStepRun_RunOperation(Item) {
|
|
557
|
+
return new WorkflowStepRun(7, [Item]);
|
|
558
|
+
}
|
|
318
559
|
class WorkflowStepRun extends Union {
|
|
319
560
|
constructor(tag, fields) {
|
|
320
561
|
super();
|
|
@@ -322,11 +563,53 @@ class WorkflowStepRun extends Union {
|
|
|
322
563
|
this.fields = fields;
|
|
323
564
|
}
|
|
324
565
|
cases() {
|
|
325
|
-
return ["RunString", "RunCommandLineTool", "RunWorkflow", "RunExpressionTool", "RunOperation"];
|
|
566
|
+
return ["RunString", "RunImport", "RunMixed", "RunRaw", "RunCommandLineTool", "RunWorkflow", "RunExpressionTool", "RunOperation"];
|
|
567
|
+
}
|
|
568
|
+
static runString(value) {
|
|
569
|
+
return WorkflowStepRun_RunString(value);
|
|
570
|
+
}
|
|
571
|
+
static runImport(value) {
|
|
572
|
+
return WorkflowStepRun_RunImport(value);
|
|
573
|
+
}
|
|
574
|
+
static runMixed(value) {
|
|
575
|
+
return WorkflowStepRun_RunMixed(value);
|
|
576
|
+
}
|
|
577
|
+
static runRaw(value) {
|
|
578
|
+
return WorkflowStepRun_RunRaw(value);
|
|
579
|
+
}
|
|
580
|
+
static runCommandLineTool(value) {
|
|
581
|
+
return WorkflowStepRun_RunCommandLineTool(value);
|
|
582
|
+
}
|
|
583
|
+
static runWorkflow(value) {
|
|
584
|
+
return WorkflowStepRun_RunWorkflow(value);
|
|
585
|
+
}
|
|
586
|
+
static runExpressionTool(value) {
|
|
587
|
+
return WorkflowStepRun_RunExpressionTool(value);
|
|
588
|
+
}
|
|
589
|
+
static runOperation(value) {
|
|
590
|
+
return WorkflowStepRun_RunOperation(value);
|
|
326
591
|
}
|
|
327
592
|
}
|
|
328
593
|
function WorkflowStepRun_$reflection() {
|
|
329
|
-
return union_type("ARCtrl.CWL.WorkflowStepRun", [], WorkflowStepRun, () => [[["Item", string_type]], [["Item", obj_type]], [["Item", obj_type]], [["Item", obj_type]], [["Item", obj_type]]]);
|
|
594
|
+
return union_type("ARCtrl.CWL.WorkflowStepRun", [], WorkflowStepRun, () => [[["Item", string_type]], [["Item", string_type]], [["Item", RawYaml_$reflection()]], [["Item", RawYaml_$reflection()]], [["Item", obj_type]], [["Item", obj_type]], [["Item", obj_type]], [["Item", obj_type]]]);
|
|
595
|
+
}
|
|
596
|
+
class ResolvedRun extends Record {
|
|
597
|
+
constructor(Run) {
|
|
598
|
+
super();
|
|
599
|
+
this.Run = Run;
|
|
600
|
+
}
|
|
601
|
+
Equals(o) {
|
|
602
|
+
return o instanceof ResolvedRun;
|
|
603
|
+
}
|
|
604
|
+
GetHashCode() {
|
|
605
|
+
return 0;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
function ResolvedRun_$reflection() {
|
|
609
|
+
return record_type("ARCtrl.CWL.ResolvedRun", [], ResolvedRun, () => [["Run", option_type(WorkflowStepRun_$reflection())]]);
|
|
610
|
+
}
|
|
611
|
+
function ResolvedRun_get_Empty() {
|
|
612
|
+
return new ResolvedRun(void 0);
|
|
330
613
|
}
|
|
331
614
|
class WorkflowStep extends DynamicObj {
|
|
332
615
|
constructor(id, in_, out_, run, label, doc, scatter, scatterMethod, when_, requirements, hints) {
|
|
@@ -342,11 +625,21 @@ class WorkflowStep extends DynamicObj {
|
|
|
342
625
|
this._when = when_;
|
|
343
626
|
this._requirements = requirements;
|
|
344
627
|
this._hints = hints;
|
|
628
|
+
this._sourceNodes = SourceNodes_get_Empty();
|
|
629
|
+
this._resolvedRun = ResolvedRun_get_Empty();
|
|
345
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* The id of the step. CWL makes the id of a step optional, so a step without an id key has none, and a step with
|
|
633
|
+
* id: "" has the empty text. The decoder and the model never make up an id.
|
|
634
|
+
*/
|
|
346
635
|
get Id() {
|
|
347
636
|
const this$ = this;
|
|
348
|
-
return this$._id;
|
|
637
|
+
return unwrap(this$._id);
|
|
349
638
|
}
|
|
639
|
+
/**
|
|
640
|
+
* The id of the step. CWL makes the id of a step optional, so a step without an id key has none, and a step with
|
|
641
|
+
* id: "" has the empty text. The decoder and the model never make up an id.
|
|
642
|
+
*/
|
|
350
643
|
set Id(id) {
|
|
351
644
|
const this$ = this;
|
|
352
645
|
this$._id = id;
|
|
@@ -367,13 +660,38 @@ class WorkflowStep extends DynamicObj {
|
|
|
367
660
|
const this$ = this;
|
|
368
661
|
this$._out = out_;
|
|
369
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
* The run as it is written: a reference to a file, or an inline process. Setting it drops the resolved process,
|
|
665
|
+
* which belonged to the previous reference.
|
|
666
|
+
*/
|
|
370
667
|
get Run() {
|
|
371
668
|
const this$ = this;
|
|
372
669
|
return this$._run;
|
|
373
670
|
}
|
|
671
|
+
/**
|
|
672
|
+
* The run as it is written: a reference to a file, or an inline process. Setting it drops the resolved process,
|
|
673
|
+
* which belonged to the previous reference.
|
|
674
|
+
*/
|
|
374
675
|
set Run(run) {
|
|
375
676
|
const this$ = this;
|
|
376
677
|
this$._run = run;
|
|
678
|
+
this$._resolvedRun = ResolvedRun_get_Empty();
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* The process that a run reference resolved to. The encoder writes only Run, so resolving a reference never changes
|
|
682
|
+
* the text of the file.
|
|
683
|
+
*/
|
|
684
|
+
get ResolvedRun() {
|
|
685
|
+
const this$ = this;
|
|
686
|
+
return this$._resolvedRun;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* The process that a run reference resolved to. The encoder writes only Run, so resolving a reference never changes
|
|
690
|
+
* the text of the file.
|
|
691
|
+
*/
|
|
692
|
+
set ResolvedRun(value) {
|
|
693
|
+
const this$ = this;
|
|
694
|
+
this$._resolvedRun = value;
|
|
377
695
|
}
|
|
378
696
|
get Label() {
|
|
379
697
|
const this$ = this;
|
|
@@ -391,6 +709,22 @@ class WorkflowStep extends DynamicObj {
|
|
|
391
709
|
const this$ = this;
|
|
392
710
|
this$._doc = doc;
|
|
393
711
|
}
|
|
712
|
+
/**
|
|
713
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
714
|
+
* They stay out of the equality and the hash of the object.
|
|
715
|
+
*/
|
|
716
|
+
get SourceNodes() {
|
|
717
|
+
const this$ = this;
|
|
718
|
+
return this$._sourceNodes;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
722
|
+
* They stay out of the equality and the hash of the object.
|
|
723
|
+
*/
|
|
724
|
+
set SourceNodes(value) {
|
|
725
|
+
const this$ = this;
|
|
726
|
+
this$._sourceNodes = value;
|
|
727
|
+
}
|
|
394
728
|
get Scatter() {
|
|
395
729
|
const this$ = this;
|
|
396
730
|
return unwrap(this$._scatter);
|
|
@@ -431,6 +765,20 @@ class WorkflowStep extends DynamicObj {
|
|
|
431
765
|
const this$ = this;
|
|
432
766
|
this$._hints = hints;
|
|
433
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* A step without an id and a step with the empty id hash alike under the hash of the properties on Python, so the id
|
|
770
|
+
* is part of the equality and of the hash on its own.
|
|
771
|
+
*/
|
|
772
|
+
Equals(o) {
|
|
773
|
+
let other = void 0;
|
|
774
|
+
const this$ = this;
|
|
775
|
+
return o instanceof WorkflowStep && (other = o, equals(this$.Id, other.Id) && super.Equals(other));
|
|
776
|
+
}
|
|
777
|
+
GetHashCode() {
|
|
778
|
+
let matchValue = void 0;
|
|
779
|
+
const this$ = this;
|
|
780
|
+
return mergeHashes((matchValue = this$.Id, matchValue == null ? 0 : mergeHashes(1, stringHash(matchValue))), super.GetHashCode()) | 0;
|
|
781
|
+
}
|
|
434
782
|
static fromRunPath(id, in_, out_, runPath, label, doc, scatter, scatterMethod, when_, requirements, hints) {
|
|
435
783
|
return new WorkflowStep(id, in_, out_, WorkflowStepRun_RunString(runPath), unwrap(label), unwrap(doc), unwrap(scatter), unwrap(scatterMethod), unwrap(when_), unwrap(requirements), unwrap(hints));
|
|
436
784
|
}
|
|
@@ -438,7 +786,29 @@ class WorkflowStep extends DynamicObj {
|
|
|
438
786
|
return workflowStep;
|
|
439
787
|
}
|
|
440
788
|
/**
|
|
441
|
-
*
|
|
789
|
+
* The run that holds the process of the step: the process that the reference resolved to, or the run itself when
|
|
790
|
+
* it is an inline process or a reference that did not resolve.
|
|
791
|
+
*/
|
|
792
|
+
static getResolvedRun(step) {
|
|
793
|
+
return defaultArg(step.ResolvedRun.Run, step.Run);
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* Returns a new list of the inputs of the step that are objects. The imports and the mixins are left out, so a change
|
|
797
|
+
* of the list changes nothing in the step. The entries of the step are in In.
|
|
798
|
+
*/
|
|
799
|
+
static getInputValues(step) {
|
|
800
|
+
return ListEntry$1.values(step.In);
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Returns a new list of the outputs of the step that the document writes out as an id or an object. The directives
|
|
804
|
+
* are left out, so a change of the list changes nothing in the step. The entries of the step are in Out.
|
|
805
|
+
*/
|
|
806
|
+
static getOutputValues(step) {
|
|
807
|
+
const collection = filter((output) => StepOutput.tryId(output) != null, step.Out);
|
|
808
|
+
return Array.from(collection);
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* Updates a workflow step input by the index of its entry. An import and a mixin have no input to update.
|
|
442
812
|
*/
|
|
443
813
|
static updateInputAt(index, f, step) {
|
|
444
814
|
const inputs = step.In;
|
|
@@ -448,15 +818,15 @@ class WorkflowStep extends DynamicObj {
|
|
|
448
818
|
* Adds a new StepInput to a workflow step.
|
|
449
819
|
*/
|
|
450
820
|
static addInput(input, step) {
|
|
451
|
-
void step.In.push(input);
|
|
821
|
+
void step.In.push(ListEntry$1_Value(input));
|
|
452
822
|
}
|
|
453
823
|
/**
|
|
454
|
-
* Removes all StepInputs matching the provided id.
|
|
824
|
+
* Removes all StepInputs matching the provided id. The imports and the mixins stay.
|
|
455
825
|
* Reassigns step.In to a new filtered ResizeArray.
|
|
456
826
|
*/
|
|
457
827
|
static removeInputsById(id, step) {
|
|
458
828
|
let remaining;
|
|
459
|
-
const collection = filter((i) => i.Id !== id, step.In);
|
|
829
|
+
const collection = filter((entry) => forAll((i) => i.Id !== id, toArray(ListEntry$1.tryValue(entry))), step.In);
|
|
460
830
|
remaining = Array.from(collection);
|
|
461
831
|
step.In = remaining;
|
|
462
832
|
}
|
|
@@ -464,9 +834,9 @@ class WorkflowStep extends DynamicObj {
|
|
|
464
834
|
* Updates the first StepInput matching the provided id.
|
|
465
835
|
*/
|
|
466
836
|
static updateInputById(id, f, step) {
|
|
467
|
-
const
|
|
468
|
-
if (
|
|
469
|
-
const i_1 =
|
|
837
|
+
const option_2 = tryFindIndex((entry) => exists((i) => i.Id === id, toArray(ListEntry$1.tryValue(entry))), step.In);
|
|
838
|
+
if (option_2 != null) {
|
|
839
|
+
const i_1 = option_2 | 0;
|
|
470
840
|
const inputs = step.In;
|
|
471
841
|
StepInput.updateAt(i_1, f, inputs);
|
|
472
842
|
}
|
|
@@ -475,8 +845,8 @@ class WorkflowStep extends DynamicObj {
|
|
|
475
845
|
function WorkflowStep_$reflection() {
|
|
476
846
|
return class_type("ARCtrl.CWL.WorkflowStep", void 0, WorkflowStep, DynamicObj_$reflection());
|
|
477
847
|
}
|
|
478
|
-
function WorkflowStep_$
|
|
848
|
+
function WorkflowStep_$ctor_10F244C3(id, in_, out_, run, label, doc, scatter, scatterMethod, when_, requirements, hints) {
|
|
479
849
|
return new WorkflowStep(id, in_, out_, run, label, doc, scatter, scatterMethod, when_, requirements, hints);
|
|
480
850
|
}
|
|
481
851
|
|
|
482
|
-
export { LinkMergeMethod, LinkMergeMethod_$reflection, LinkMergeMethod_MergeFlattened, LinkMergeMethod_MergeNested, PickValueMethod, PickValueMethod_$reflection, PickValueMethod_AllNonNull, PickValueMethod_FirstNonNull, PickValueMethod_TheOnlyNonNull, ScatterMethod, ScatterMethod_$reflection, ScatterMethod_DotProduct, ScatterMethod_FlatCrossProduct, ScatterMethod_NestedCrossProduct, StepInput, StepInput_$
|
|
852
|
+
export { LinkMergeMethod, LinkMergeMethod_$reflection, LinkMergeMethod_ImportedLinkMerge, LinkMergeMethod_IncludedLinkMerge, LinkMergeMethod_MergeFlattened, LinkMergeMethod_MergeNested, LinkMergeMethod_MixedLinkMerge, PickValueMethod, PickValueMethod_$reflection, PickValueMethod_AllNonNull, PickValueMethod_FirstNonNull, PickValueMethod_ImportedPickValue, PickValueMethod_IncludedPickValue, PickValueMethod_MixedPickValue, PickValueMethod_TheOnlyNonNull, ResolvedRun, ResolvedRun_$reflection, ResolvedRun_get_Empty, ScatterMethod, ScatterMethod_$reflection, ScatterMethod_DotProduct, ScatterMethod_FlatCrossProduct, ScatterMethod_ImportedScatterMethod, ScatterMethod_IncludedScatterMethod, ScatterMethod_MixedScatterMethod, ScatterMethod_NestedCrossProduct, StepInput, StepInput_$ctor_4AFD3CA4, StepInput_$reflection, StepOutput, StepOutputParameter, StepOutputParameter_$ctor_Z721C83C5, StepOutputParameter_$reflection, StepOutput_$reflection, StepOutput_StepOutputImport, StepOutput_StepOutputInclude, StepOutput_StepOutputMixed, StepOutput_StepOutputRecord, StepOutput_StepOutputString, WorkflowStep, WorkflowStepRun, WorkflowStepRun_$reflection, WorkflowStepRun_RunCommandLineTool, WorkflowStepRun_RunExpressionTool, WorkflowStepRun_RunImport, WorkflowStepRun_RunMixed, WorkflowStepRun_RunOperation, WorkflowStepRun_RunRaw, WorkflowStepRun_RunString, WorkflowStepRun_RunWorkflow, WorkflowStep_$ctor_10F244C3, WorkflowStep_$reflection };
|