@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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { YamlNode, YamlScalar } from '../fable_modules/YAMLicious.2.0.0/Model.fs.js';
|
|
2
|
+
import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
3
|
+
/**
|
|
4
|
+
* True when the loader of cwltool or a reader of YAML 1.1 reads the text, written as a plain scalar, as another type than
|
|
5
|
+
* a string, and the core schema reads it as a string. The loader types the markers, the numbers with underscores and the
|
|
6
|
+
* binary ints (see the description of the module). The words yes, no, on and off and the sexagesimal numbers are in the
|
|
7
|
+
* match for the readers of YAML 1.1, because the loader reads them as strings. The match is on the whole text and it is
|
|
8
|
+
* case-sensitive. A spelling that the loader recognizes but cannot construct, such as ._ and 0b_, counts too, because
|
|
9
|
+
* the loader fails on it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function readsAsAnotherTypeThanCore(text: string): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* True when the text holds a NEL (U+0085), a line separator (U+2028) or a paragraph separator (U+2029). The loader of
|
|
14
|
+
* cwltool reads them as line breaks, in a plain scalar and in a block scalar, where they fold, vanish at the ends of
|
|
15
|
+
* the text or split it. The core schema of YAML 1.2.2 reads them as characters. A double-quoted scalar holds them as
|
|
16
|
+
* escapes.
|
|
17
|
+
*/
|
|
18
|
+
export declare function holdsLineBreakCharacter(text: string): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* True when a string needs double quotes to stay a string for the core schema or for the loader of cwltool.
|
|
21
|
+
*/
|
|
22
|
+
export declare function readsAsAnotherType(text: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* A plain scalar that a reader would take for another type than a string gets double quotes, so the text stays a
|
|
25
|
+
* string. A block scalar whose text holds a character that the loader reads as a line break gets double quotes too. It
|
|
26
|
+
* loses the layout of its lines, which only a block scalar has, and its header comment becomes the trailing comment of
|
|
27
|
+
* the quoted scalar. A scalar in any other style is a string already, and so is a scalar with an explicit tag.
|
|
28
|
+
*/
|
|
29
|
+
export declare function keepAsText(node: YamlNode): YamlNode;
|
|
30
|
+
/**
|
|
31
|
+
* The scalar for a text of a document that stays a string, such as a key or an id.
|
|
32
|
+
*/
|
|
33
|
+
export declare function textNode(text: string): YamlNode;
|
|
34
|
+
/**
|
|
35
|
+
* A scalar of a value that the document keeps as it was written, in the form that the writer spells. A plain scalar
|
|
36
|
+
* that the core schema reads as a string and that the loader of cwltool reads as another type gets double quotes. A
|
|
37
|
+
* plain float with a dot in front of its digits and an exponent without a sign gets a zero in front of the dot,
|
|
38
|
+
* because the loader reads it as a string. Every other scalar stays as it is, so the function is idempotent. The result
|
|
39
|
+
* is none for a scalar that stays as it is.
|
|
40
|
+
*/
|
|
41
|
+
export declare function tryNormalizeScalar(scalar: YamlScalar): Option<YamlScalar>;
|
|
42
|
+
/**
|
|
43
|
+
* The scalar in the form that the writer spells (see tryNormalizeScalar).
|
|
44
|
+
*/
|
|
45
|
+
export declare function normalizeScalar(scalar: YamlScalar): YamlScalar;
|
|
46
|
+
/**
|
|
47
|
+
* The tree with every scalar, key or value, in the form that the writer spells (see normalizeScalar). A node
|
|
48
|
+
* that needs no change stays the same object. The walk keeps its own stack, so a tree of any depth is safe.
|
|
49
|
+
*/
|
|
50
|
+
export declare function normalizeTree(root: YamlNode): YamlNode;
|
|
51
|
+
//# sourceMappingURL=ScalarQuoting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarQuoting.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ScalarQuoting.ts"],"names":[],"mappings":"AAKA,OAAO,EAA+G,QAAQ,EAAuB,UAAU,EAAwD,MAAM,+CAA+C,CAAC;AAG7Q,OAAO,EAAc,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAwB3E;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAOhE;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAS7D;AAWD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAOxD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAqDnD;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAE/C;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAwCzE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAE9D;AAoDD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAoDtD"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { isMatch } from '../../node_modules/@fable-org/fable-library-ts/RegExp.js';
|
|
2
|
+
import { getCharAtIndex, substring } from '../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
|
+
import { exists, toArray, delay, map, collect, append, singleton } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
4
|
+
import { CoreSchema_resolvesToNonString, CoreSchema_resolveKind } from '../fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js';
|
|
5
|
+
import { YamlNode, YamlNodeKind_Scalar, YamlScalar, ScalarStyle, YamlNode_$reflection, YamlNodeKind_Sequence, Collection$1, SequenceItem, YamlNodeKind_Mapping, MappingEntry } from '../fable_modules/YAMLicious.2.0.0/Model.fs.js';
|
|
6
|
+
import { Encode_string } from '../fable_modules/YAMLicious.2.0.0/Encode.fs.js';
|
|
7
|
+
import { defaultArg } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
8
|
+
import { Record } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
9
|
+
import { record_type, array_type, bool_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
10
|
+
import { mapIndexed } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
11
|
+
import { item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
12
|
+
|
|
13
|
+
const boolWords = /^(?:y|Y|yes|Yes|YES|n|N|no|No|NO|on|On|ON|off|Off|OFF)$/gu;
|
|
14
|
+
const intSpellings = /^[-+]?(?:0b[0-1_]+|0o?[0-7_]+|[0-9_]+|0x[0-9a-fA-F_]+|[1-9][0-9_]*(?::[0-5]?[0-9])+)$/gu;
|
|
15
|
+
const floatSpellings = /^(?:[-+]?(?:[0-9][0-9_]*\.[0-9_]*(?:[eE][-+]?[0-9]+)?|[0-9][0-9_]*[eE][-+]?[0-9]+|\.[0-9_]+(?:[eE][-+][0-9]+)?|[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*|\.(?:inf|Inf|INF))|\.(?:nan|NaN|NAN))$/gu;
|
|
16
|
+
const dotFloatWithUnsignedExponent = /^[-+]?\.[0-9]+[eE][0-9]+$/gu;
|
|
17
|
+
function matches(pattern, text) {
|
|
18
|
+
if (!(text.indexOf("\n") >= 0)) {
|
|
19
|
+
return isMatch(pattern, text);
|
|
20
|
+
} else {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function readsAsAnotherTypeThanCore(text) {
|
|
25
|
+
if (((text === "=" ? true : text === "<<") ? true : matches(boolWords, text)) ? true : text.length > 0 && "-+0123456789".indexOf(getCharAtIndex(text, 0)) >= 0 && matches(intSpellings, text)) {
|
|
26
|
+
return true;
|
|
27
|
+
} else {
|
|
28
|
+
return matches(floatSpellings, text);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function holdsLineBreakCharacter(text) {
|
|
32
|
+
return exists((c) => {
|
|
33
|
+
if (c === "
" ? true : c === "\u2028") {
|
|
34
|
+
return true;
|
|
35
|
+
} else {
|
|
36
|
+
return c === "\u2029";
|
|
37
|
+
}
|
|
38
|
+
}, text.split(""));
|
|
39
|
+
}
|
|
40
|
+
function readsAsAnotherString(text) {
|
|
41
|
+
if (text.startsWith("?") ? true : holdsLineBreakCharacter(text)) {
|
|
42
|
+
return true;
|
|
43
|
+
} else {
|
|
44
|
+
return exists((c) => c === " ", text.split(""));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function readsAsAnotherType(text) {
|
|
48
|
+
if (CoreSchema_resolvesToNonString(text) ? true : readsAsAnotherTypeThanCore(text)) {
|
|
49
|
+
return true;
|
|
50
|
+
} else {
|
|
51
|
+
return readsAsAnotherString(text);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function keepAsText(node) {
|
|
55
|
+
const matchValue = node.Kind;
|
|
56
|
+
let matchResult = void 0, scalar_1 = void 0;
|
|
57
|
+
if (matchValue.tag === /* Scalar */
|
|
58
|
+
0) {
|
|
59
|
+
if (matchValue.fields[0], node.Properties.Tag == null) {
|
|
60
|
+
matchResult = 0;
|
|
61
|
+
scalar_1 = matchValue.fields[0];
|
|
62
|
+
} else {
|
|
63
|
+
matchResult = 1;
|
|
64
|
+
}
|
|
65
|
+
} else {
|
|
66
|
+
matchResult = 1;
|
|
67
|
+
}
|
|
68
|
+
switch (matchResult) {
|
|
69
|
+
case 0: {
|
|
70
|
+
const matchValue_1 = scalar_1.Style;
|
|
71
|
+
let matchResult_1 = void 0;
|
|
72
|
+
switch (matchValue_1.tag) {
|
|
73
|
+
case /* Plain */
|
|
74
|
+
0: {
|
|
75
|
+
if (readsAsAnotherType(scalar_1.Value)) {
|
|
76
|
+
matchResult_1 = 0;
|
|
77
|
+
} else {
|
|
78
|
+
matchResult_1 = 2;
|
|
79
|
+
}
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
case /* Block */
|
|
83
|
+
3: {
|
|
84
|
+
if (holdsLineBreakCharacter(scalar_1.Value)) {
|
|
85
|
+
matchResult_1 = 1;
|
|
86
|
+
} else {
|
|
87
|
+
matchResult_1 = 2;
|
|
88
|
+
}
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
default:
|
|
92
|
+
matchResult_1 = 2;
|
|
93
|
+
}
|
|
94
|
+
switch (matchResult_1) {
|
|
95
|
+
case 0:
|
|
96
|
+
return new YamlNode(YamlNodeKind_Scalar(new YamlScalar(scalar_1.Value, ScalarStyle.DoubleQuoted, scalar_1.HeaderComment, scalar_1.Layout)), node.Properties, node.PropertyLayout, node.TrailingComment, node.Span);
|
|
97
|
+
case 1:
|
|
98
|
+
return new YamlNode(YamlNodeKind_Scalar(new YamlScalar(scalar_1.Value, ScalarStyle.DoubleQuoted, void 0, void 0)), node.Properties, node.PropertyLayout, scalar_1.HeaderComment, node.Span);
|
|
99
|
+
default:
|
|
100
|
+
return node;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
default:
|
|
104
|
+
return node;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function textNode(text) {
|
|
108
|
+
return keepAsText(Encode_string(text));
|
|
109
|
+
}
|
|
110
|
+
function tryNormalizeScalar(scalar) {
|
|
111
|
+
if (scalar.Style.tag === /* Plain */
|
|
112
|
+
0) {
|
|
113
|
+
const matchValue_1 = CoreSchema_resolveKind(scalar.Value);
|
|
114
|
+
let matchResult = void 0;
|
|
115
|
+
switch (matchValue_1.tag) {
|
|
116
|
+
case /* Str */
|
|
117
|
+
4: {
|
|
118
|
+
if (readsAsAnotherTypeThanCore(scalar.Value)) {
|
|
119
|
+
matchResult = 0;
|
|
120
|
+
} else {
|
|
121
|
+
matchResult = 2;
|
|
122
|
+
}
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
case /* Float */
|
|
126
|
+
3: {
|
|
127
|
+
if (matches(dotFloatWithUnsignedExponent, scalar.Value)) {
|
|
128
|
+
matchResult = 1;
|
|
129
|
+
} else {
|
|
130
|
+
matchResult = 2;
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
default:
|
|
135
|
+
matchResult = 2;
|
|
136
|
+
}
|
|
137
|
+
switch (matchResult) {
|
|
138
|
+
case 0:
|
|
139
|
+
return new YamlScalar(scalar.Value, ScalarStyle.DoubleQuoted, scalar.HeaderComment, scalar.Layout);
|
|
140
|
+
case 1: {
|
|
141
|
+
const sign = (getCharAtIndex(scalar.Value, 0) === "-" ? true : getCharAtIndex(scalar.Value, 0) === "+") ? substring(scalar.Value, 0, 1) : "";
|
|
142
|
+
return new YamlScalar(sign + "0" + substring(scalar.Value, sign.length), scalar.Style, scalar.HeaderComment, scalar.Layout);
|
|
143
|
+
}
|
|
144
|
+
default:
|
|
145
|
+
return void 0;
|
|
146
|
+
}
|
|
147
|
+
} else {
|
|
148
|
+
return void 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
function normalizeScalar(scalar) {
|
|
152
|
+
return defaultArg(tryNormalizeScalar(scalar), scalar);
|
|
153
|
+
}
|
|
154
|
+
class RebuildFrame extends Record {
|
|
155
|
+
constructor(Original, Children, Rebuilt, Changed) {
|
|
156
|
+
super();
|
|
157
|
+
this.Original = Original;
|
|
158
|
+
this.Children = Children;
|
|
159
|
+
this.Rebuilt = Rebuilt;
|
|
160
|
+
this.Changed = Changed;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function RebuildFrame_$reflection() {
|
|
164
|
+
return record_type("ARCtrl.CWL.ScalarQuoting.RebuildFrame", [], RebuildFrame, () => [["Original", YamlNode_$reflection()], ["Children", array_type(YamlNode_$reflection())], ["Rebuilt", array_type(YamlNode_$reflection())], ["Changed", bool_type]]);
|
|
165
|
+
}
|
|
166
|
+
function childrenOf(node) {
|
|
167
|
+
const matchValue = node.Kind;
|
|
168
|
+
switch (matchValue.tag) {
|
|
169
|
+
case /* Mapping */
|
|
170
|
+
1: {
|
|
171
|
+
const collection = matchValue.fields[0];
|
|
172
|
+
return toArray(delay(() => collect((entry) => append(singleton(entry.Key), delay(() => singleton(entry.Value))), collection.Items)));
|
|
173
|
+
}
|
|
174
|
+
case /* Sequence */
|
|
175
|
+
2: {
|
|
176
|
+
const collection_1 = matchValue.fields[0];
|
|
177
|
+
return toArray(delay(() => map((item) => item.Node, collection_1.Items)));
|
|
178
|
+
}
|
|
179
|
+
default:
|
|
180
|
+
return [];
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
function withChildren(node, children) {
|
|
184
|
+
const matchValue = node.Kind;
|
|
185
|
+
switch (matchValue.tag) {
|
|
186
|
+
case /* Mapping */
|
|
187
|
+
1: {
|
|
188
|
+
const collection = matchValue.fields[0];
|
|
189
|
+
return new YamlNode(YamlNodeKind_Mapping(new Collection$1(collection.Style, collection.OpeningComment, mapIndexed((index, entry) => new MappingEntry(entry.Before, entry.Question, item(2 * index, children), entry.BeforeColon, entry.Colon, item(2 * index + 1, children), entry.Span), collection.Items), collection.End)), node.Properties, node.PropertyLayout, node.TrailingComment, node.Span);
|
|
190
|
+
}
|
|
191
|
+
case /* Sequence */
|
|
192
|
+
2: {
|
|
193
|
+
const collection_1 = matchValue.fields[0];
|
|
194
|
+
return new YamlNode(YamlNodeKind_Sequence(new Collection$1(collection_1.Style, collection_1.OpeningComment, mapIndexed((index_1, item$1) => new SequenceItem(item$1.Before, item$1.Dash, item(index_1, children), item$1.Span), collection_1.Items), collection_1.End)), node.Properties, node.PropertyLayout, node.TrailingComment, node.Span);
|
|
195
|
+
}
|
|
196
|
+
default:
|
|
197
|
+
return node;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function normalizeTree(root) {
|
|
201
|
+
const frames = [];
|
|
202
|
+
const enter = (node_1) => {
|
|
203
|
+
let node = void 0, matchValue = void 0, matchValue_1 = void 0;
|
|
204
|
+
const children = childrenOf(node_1);
|
|
205
|
+
if (children.length === 0) {
|
|
206
|
+
return node = node_1, matchValue = node.Kind, matchValue.tag === /* Scalar */
|
|
207
|
+
0 ? (matchValue_1 = tryNormalizeScalar(matchValue.fields[0]), matchValue_1 == null ? [node, false] : [new YamlNode(YamlNodeKind_Scalar(matchValue_1), node.Properties, node.PropertyLayout, node.TrailingComment, node.Span), true]) : [node, false];
|
|
208
|
+
} else {
|
|
209
|
+
void frames.push(new RebuildFrame(node_1, children, [], false));
|
|
210
|
+
return void 0;
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
let result = [root, false];
|
|
214
|
+
const matchValue_2 = enter(root);
|
|
215
|
+
if (matchValue_2 == null) {
|
|
216
|
+
while (frames.length > 0) {
|
|
217
|
+
const top = item(frames.length - 1, frames);
|
|
218
|
+
if (top.Rebuilt.length < top.Children.length) {
|
|
219
|
+
const matchValue_3 = enter(item(top.Rebuilt.length, top.Children));
|
|
220
|
+
if (matchValue_3 == null) {
|
|
221
|
+
} else {
|
|
222
|
+
const node_2 = matchValue_3[0];
|
|
223
|
+
const changed = matchValue_3[1];
|
|
224
|
+
void top.Rebuilt.push(node_2);
|
|
225
|
+
if (changed) {
|
|
226
|
+
top.Changed = true;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
} else {
|
|
230
|
+
frames.splice(frames.length - 1, 1);
|
|
231
|
+
const rebuilt = top.Changed ? withChildren(top.Original, top.Rebuilt) : top.Original;
|
|
232
|
+
if (frames.length === 0) {
|
|
233
|
+
result = [rebuilt, top.Changed];
|
|
234
|
+
} else {
|
|
235
|
+
const parent = item(frames.length - 1, frames);
|
|
236
|
+
void parent.Rebuilt.push(rebuilt);
|
|
237
|
+
if (top.Changed) {
|
|
238
|
+
parent.Changed = true;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
} else {
|
|
244
|
+
const leaf = matchValue_2;
|
|
245
|
+
result = leaf;
|
|
246
|
+
}
|
|
247
|
+
return result[0];
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export { holdsLineBreakCharacter, keepAsText, normalizeScalar, normalizeTree, readsAsAnotherType, readsAsAnotherTypeThanCore, textNode, tryNormalizeScalar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
2
|
+
import { SourceNodes, DocText_$union, RawYaml, SchemaSaladString_$union, ListEntry$1_$union } from './CWLTypes.ts';
|
|
2
3
|
import { CWLOutput } from './Outputs.ts';
|
|
3
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js';
|
|
4
4
|
import { int32 } from '@fable-org/fable-library-ts/Int32.ts';
|
|
5
5
|
import { HintEntry_$union, Requirement_$union } from './Requirements.ts';
|
|
6
6
|
import { CWLInput } from './Inputs.ts';
|
|
@@ -10,72 +10,85 @@ import { TypeInfo } from '@fable-org/fable-library-ts/Reflection.ts';
|
|
|
10
10
|
export declare class CWLToolDescription extends DynamicObj {
|
|
11
11
|
_id: Option<string>;
|
|
12
12
|
_cwlVersion: string;
|
|
13
|
-
_outputs: CWLOutput[];
|
|
14
|
-
_baseCommand: Option<
|
|
15
|
-
_arguments: Option<
|
|
16
|
-
_stdin: Option<
|
|
17
|
-
_stderr: Option<
|
|
18
|
-
_stdout: Option<
|
|
19
|
-
_successCodes: Option<int32[]>;
|
|
20
|
-
_temporaryFailCodes: Option<int32[]>;
|
|
21
|
-
_permanentFailCodes: Option<int32[]>;
|
|
13
|
+
_outputs: ListEntry$1_$union<CWLOutput>[];
|
|
14
|
+
_baseCommand: Option<SchemaSaladString_$union[]>;
|
|
15
|
+
_arguments: Option<RawYaml>;
|
|
16
|
+
_stdin: Option<SchemaSaladString_$union>;
|
|
17
|
+
_stderr: Option<SchemaSaladString_$union>;
|
|
18
|
+
_stdout: Option<SchemaSaladString_$union>;
|
|
19
|
+
_successCodes: Option<ListEntry$1_$union<int32>[]>;
|
|
20
|
+
_temporaryFailCodes: Option<ListEntry$1_$union<int32>[]>;
|
|
21
|
+
_permanentFailCodes: Option<ListEntry$1_$union<int32>[]>;
|
|
22
22
|
_requirements: Option<Requirement_$union[]>;
|
|
23
23
|
_hints: Option<HintEntry_$union[]>;
|
|
24
|
-
_intent: Option<
|
|
25
|
-
_inputs: Option<CWLInput[]>;
|
|
24
|
+
_intent: Option<SchemaSaladString_$union[]>;
|
|
25
|
+
_inputs: Option<ListEntry$1_$union<CWLInput>[]>;
|
|
26
26
|
_metadata: Option<DynamicObj>;
|
|
27
|
-
_label: Option<
|
|
28
|
-
_doc: Option<
|
|
29
|
-
|
|
27
|
+
_label: Option<SchemaSaladString_$union>;
|
|
28
|
+
_doc: Option<DocText_$union>;
|
|
29
|
+
_sourceNodes: SourceNodes;
|
|
30
|
+
constructor(outputs: ListEntry$1_$union<CWLOutput>[], cwlVersion?: string, baseCommand?: SchemaSaladString_$union[], arguments$?: RawYaml, stdin?: SchemaSaladString_$union, stderr?: SchemaSaladString_$union, stdout?: SchemaSaladString_$union, successCodes?: ListEntry$1_$union<int32>[], temporaryFailCodes?: ListEntry$1_$union<int32>[], permanentFailCodes?: ListEntry$1_$union<int32>[], requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: SchemaSaladString_$union[], inputs?: ListEntry$1_$union<CWLInput>[], metadata?: DynamicObj, label?: SchemaSaladString_$union, doc?: DocText_$union, id?: string);
|
|
30
31
|
get Id(): string | undefined;
|
|
31
32
|
set Id(id: Option<string>);
|
|
32
33
|
get CWLVersion(): string;
|
|
33
34
|
set CWLVersion(version: string);
|
|
34
|
-
get Outputs(): CWLOutput[];
|
|
35
|
-
set Outputs(outputs: CWLOutput[]);
|
|
36
|
-
get BaseCommand():
|
|
37
|
-
set BaseCommand(baseCommand: Option<
|
|
38
|
-
get Arguments():
|
|
39
|
-
set Arguments(value: Option<
|
|
40
|
-
get Stdin():
|
|
41
|
-
set Stdin(value: Option<
|
|
42
|
-
get Stderr():
|
|
43
|
-
set Stderr(value: Option<
|
|
44
|
-
get Stdout():
|
|
45
|
-
set Stdout(value: Option<
|
|
46
|
-
get SuccessCodes(): int32[] | undefined;
|
|
47
|
-
set SuccessCodes(value: Option<int32[]>);
|
|
48
|
-
get TemporaryFailCodes(): int32[] | undefined;
|
|
49
|
-
set TemporaryFailCodes(value: Option<int32[]>);
|
|
50
|
-
get PermanentFailCodes(): int32[] | undefined;
|
|
51
|
-
set PermanentFailCodes(value: Option<int32[]>);
|
|
35
|
+
get Outputs(): ListEntry$1_$union<CWLOutput>[];
|
|
36
|
+
set Outputs(outputs: ListEntry$1_$union<CWLOutput>[]);
|
|
37
|
+
get BaseCommand(): SchemaSaladString_$union[] | undefined;
|
|
38
|
+
set BaseCommand(baseCommand: Option<SchemaSaladString_$union[]>);
|
|
39
|
+
get Arguments(): RawYaml | undefined;
|
|
40
|
+
set Arguments(value: Option<RawYaml>);
|
|
41
|
+
get Stdin(): SchemaSaladString_$union | undefined;
|
|
42
|
+
set Stdin(value: Option<SchemaSaladString_$union>);
|
|
43
|
+
get Stderr(): SchemaSaladString_$union | undefined;
|
|
44
|
+
set Stderr(value: Option<SchemaSaladString_$union>);
|
|
45
|
+
get Stdout(): SchemaSaladString_$union | undefined;
|
|
46
|
+
set Stdout(value: Option<SchemaSaladString_$union>);
|
|
47
|
+
get SuccessCodes(): ListEntry$1_$union<int32>[] | undefined;
|
|
48
|
+
set SuccessCodes(value: Option<ListEntry$1_$union<int32>[]>);
|
|
49
|
+
get TemporaryFailCodes(): ListEntry$1_$union<int32>[] | undefined;
|
|
50
|
+
set TemporaryFailCodes(value: Option<ListEntry$1_$union<int32>[]>);
|
|
51
|
+
get PermanentFailCodes(): ListEntry$1_$union<int32>[] | undefined;
|
|
52
|
+
set PermanentFailCodes(value: Option<ListEntry$1_$union<int32>[]>);
|
|
52
53
|
get Requirements(): Requirement_$union[] | undefined;
|
|
53
54
|
set Requirements(requirements: Option<Requirement_$union[]>);
|
|
54
55
|
get Hints(): HintEntry_$union[] | undefined;
|
|
55
56
|
set Hints(hints: Option<HintEntry_$union[]>);
|
|
56
|
-
get Intent():
|
|
57
|
-
set Intent(intent: Option<
|
|
58
|
-
get Inputs(): CWLInput[] | undefined;
|
|
59
|
-
set Inputs(inputs: Option<CWLInput[]>);
|
|
57
|
+
get Intent(): SchemaSaladString_$union[] | undefined;
|
|
58
|
+
set Intent(intent: Option<SchemaSaladString_$union[]>);
|
|
59
|
+
get Inputs(): ListEntry$1_$union<CWLInput>[] | undefined;
|
|
60
|
+
set Inputs(inputs: Option<ListEntry$1_$union<CWLInput>[]>);
|
|
60
61
|
get Metadata(): DynamicObj | undefined;
|
|
61
62
|
set Metadata(metadata: Option<DynamicObj>);
|
|
62
|
-
get Label():
|
|
63
|
-
set Label(label: Option<
|
|
64
|
-
get Doc():
|
|
65
|
-
set Doc(doc: Option<
|
|
63
|
+
get Label(): SchemaSaladString_$union | undefined;
|
|
64
|
+
set Label(label: Option<SchemaSaladString_$union>);
|
|
65
|
+
get Doc(): DocText_$union | undefined;
|
|
66
|
+
set Doc(doc: Option<DocText_$union>);
|
|
67
|
+
/**
|
|
68
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
69
|
+
* They stay out of the equality and the hash of the object.
|
|
70
|
+
*/
|
|
71
|
+
get SourceNodes(): SourceNodes;
|
|
72
|
+
/**
|
|
73
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
74
|
+
* They stay out of the equality and the hash of the object.
|
|
75
|
+
*/
|
|
76
|
+
set SourceNodes(value: SourceNodes);
|
|
66
77
|
static get KnownFieldNames(): FSharpSet<string>;
|
|
67
78
|
/**
|
|
68
|
-
* Returns the tool
|
|
79
|
+
* Returns a new list of the inputs of the tool that are objects, or an empty list. The imports and the mixins are left
|
|
80
|
+
* out, so a change of the list changes nothing in the tool. The entries of the tool are in Inputs.
|
|
69
81
|
*/
|
|
70
|
-
static
|
|
82
|
+
static getInputValuesOrEmpty(tool: CWLToolDescription): CWLInput[];
|
|
71
83
|
/**
|
|
72
|
-
* Returns the tool
|
|
84
|
+
* Returns a new list of the outputs of the tool that are objects. The imports and the mixins are left out, so a change
|
|
85
|
+
* of the list changes nothing in the tool. The entries of the tool are in Outputs.
|
|
73
86
|
*/
|
|
74
|
-
static
|
|
87
|
+
static getOutputValues(tool: CWLToolDescription): CWLOutput[];
|
|
75
88
|
/**
|
|
76
|
-
* Returns the tool's inputs, creating and assigning a new empty ResizeArray if None.
|
|
89
|
+
* Returns the entries of the tool's inputs, creating and assigning a new empty ResizeArray if None.
|
|
77
90
|
*/
|
|
78
|
-
static getOrCreateInputs(tool: CWLToolDescription): CWLInput[];
|
|
91
|
+
static getOrCreateInputs(tool: CWLToolDescription): ListEntry$1_$union<CWLInput>[];
|
|
79
92
|
/**
|
|
80
93
|
* Returns the tool's requirements or an empty ResizeArray if None.
|
|
81
94
|
*/
|
|
@@ -87,7 +100,7 @@ export declare class CWLToolDescription extends DynamicObj {
|
|
|
87
100
|
/**
|
|
88
101
|
* Returns the tool's intent or an empty ResizeArray if None.
|
|
89
102
|
*/
|
|
90
|
-
static getIntentOrEmpty(tool: CWLToolDescription):
|
|
103
|
+
static getIntentOrEmpty(tool: CWLToolDescription): SchemaSaladString_$union[];
|
|
91
104
|
/**
|
|
92
105
|
* Returns the tool's hints, creating and assigning a new empty ResizeArray if None.
|
|
93
106
|
*/
|
|
@@ -95,8 +108,8 @@ export declare class CWLToolDescription extends DynamicObj {
|
|
|
95
108
|
/**
|
|
96
109
|
* Returns the tool's intent, creating and assigning a new empty ResizeArray if None.
|
|
97
110
|
*/
|
|
98
|
-
static getOrCreateIntent(tool: CWLToolDescription):
|
|
111
|
+
static getOrCreateIntent(tool: CWLToolDescription): SchemaSaladString_$union[];
|
|
99
112
|
}
|
|
100
113
|
export declare function CWLToolDescription_$reflection(): TypeInfo;
|
|
101
|
-
export declare function CWLToolDescription_$
|
|
114
|
+
export declare function CWLToolDescription_$ctor_Z45149AC1(outputs: ListEntry$1_$union<CWLOutput>[], cwlVersion?: string, baseCommand?: SchemaSaladString_$union[], arguments$?: RawYaml, stdin?: SchemaSaladString_$union, stderr?: SchemaSaladString_$union, stdout?: SchemaSaladString_$union, successCodes?: ListEntry$1_$union<int32>[], temporaryFailCodes?: ListEntry$1_$union<int32>[], permanentFailCodes?: ListEntry$1_$union<int32>[], requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: SchemaSaladString_$union[], inputs?: ListEntry$1_$union<CWLInput>[], metadata?: DynamicObj, label?: SchemaSaladString_$union, doc?: DocText_$union, id?: string): CWLToolDescription;
|
|
102
115
|
//# sourceMappingURL=ToolDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolDescription.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ToolDescription.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ToolDescription.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ToolDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAsC,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvJ,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAA0B,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAExG,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,qBAAa,kBAAmB,SAAQ,UAAU;IAC9C,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,kBAAkB,CAAC,SAAS,CAAC,EAAE,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC,wBAAwB,EAAE,CAAC,CAAC;IACjD,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC,wBAAwB,CAAC,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC,wBAAwB,CAAC,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,wBAAwB,CAAC,CAAC;IAC1C,aAAa,EAAE,MAAM,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,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,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAAE,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAAE,EAAE,YAAY,CAAC,EAAE,kBAAkB,EAAE,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,wBAAwB,EAAE,EAAE,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,GAAG,CAAC,EAAE,cAAc,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAEvqB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defaultArg, unwrap
|
|
1
|
+
import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
|
+
import { SourceNodes_get_Empty, ListEntry$1 } from './CWLTypes.js';
|
|
2
3
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
|
|
3
4
|
import { toolDescription } from './CWLKnownFieldNames.js';
|
|
4
5
|
import { class_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
@@ -24,6 +25,7 @@ class CWLToolDescription extends DynamicObj {
|
|
|
24
25
|
this._metadata = metadata;
|
|
25
26
|
this._label = label;
|
|
26
27
|
this._doc = doc;
|
|
28
|
+
this._sourceNodes = SourceNodes_get_Empty();
|
|
27
29
|
}
|
|
28
30
|
get Id() {
|
|
29
31
|
const this$ = this;
|
|
@@ -169,23 +171,42 @@ class CWLToolDescription extends DynamicObj {
|
|
|
169
171
|
const this$ = this;
|
|
170
172
|
this$._doc = doc;
|
|
171
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
176
|
+
* They stay out of the equality and the hash of the object.
|
|
177
|
+
*/
|
|
178
|
+
get SourceNodes() {
|
|
179
|
+
const this$ = this;
|
|
180
|
+
return this$._sourceNodes;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* The nodes that the doc and the label were read from. The encoder writes the layout of the author from them.
|
|
184
|
+
* They stay out of the equality and the hash of the object.
|
|
185
|
+
*/
|
|
186
|
+
set SourceNodes(value) {
|
|
187
|
+
const this$ = this;
|
|
188
|
+
this$._sourceNodes = value;
|
|
189
|
+
}
|
|
172
190
|
static get KnownFieldNames() {
|
|
173
191
|
return toolDescription;
|
|
174
192
|
}
|
|
175
193
|
/**
|
|
176
|
-
* Returns the tool
|
|
194
|
+
* Returns a new list of the inputs of the tool that are objects, or an empty list. The imports and the mixins are left
|
|
195
|
+
* out, so a change of the list changes nothing in the tool. The entries of the tool are in Inputs.
|
|
177
196
|
*/
|
|
178
|
-
static
|
|
179
|
-
|
|
197
|
+
static getInputValuesOrEmpty(tool) {
|
|
198
|
+
let option_1 = void 0, entries = void 0;
|
|
199
|
+
return defaultArg((option_1 = tool.Inputs, option_1 != null ? (entries = option_1, ListEntry$1.values(entries)) : void 0), []);
|
|
180
200
|
}
|
|
181
201
|
/**
|
|
182
|
-
* Returns the tool
|
|
202
|
+
* Returns a new list of the outputs of the tool that are objects. The imports and the mixins are left out, so a change
|
|
203
|
+
* of the list changes nothing in the tool. The entries of the tool are in Outputs.
|
|
183
204
|
*/
|
|
184
|
-
static
|
|
185
|
-
return tool.Outputs;
|
|
205
|
+
static getOutputValues(tool) {
|
|
206
|
+
return ListEntry$1.values(tool.Outputs);
|
|
186
207
|
}
|
|
187
208
|
/**
|
|
188
|
-
* Returns the tool's inputs, creating and assigning a new empty ResizeArray if None.
|
|
209
|
+
* Returns the entries of the tool's inputs, creating and assigning a new empty ResizeArray if None.
|
|
189
210
|
*/
|
|
190
211
|
static getOrCreateInputs(tool) {
|
|
191
212
|
const matchValue = tool.Inputs;
|
|
@@ -194,7 +215,7 @@ class CWLToolDescription extends DynamicObj {
|
|
|
194
215
|
tool.Inputs = inputs_1;
|
|
195
216
|
return inputs_1;
|
|
196
217
|
} else {
|
|
197
|
-
return
|
|
218
|
+
return matchValue;
|
|
198
219
|
}
|
|
199
220
|
}
|
|
200
221
|
/**
|
|
@@ -225,7 +246,7 @@ class CWLToolDescription extends DynamicObj {
|
|
|
225
246
|
tool.Hints = hints_1;
|
|
226
247
|
return hints_1;
|
|
227
248
|
} else {
|
|
228
|
-
return
|
|
249
|
+
return matchValue;
|
|
229
250
|
}
|
|
230
251
|
}
|
|
231
252
|
/**
|
|
@@ -238,15 +259,15 @@ class CWLToolDescription extends DynamicObj {
|
|
|
238
259
|
tool.Intent = intent_1;
|
|
239
260
|
return intent_1;
|
|
240
261
|
} else {
|
|
241
|
-
return
|
|
262
|
+
return matchValue;
|
|
242
263
|
}
|
|
243
264
|
}
|
|
244
265
|
}
|
|
245
266
|
function CWLToolDescription_$reflection() {
|
|
246
267
|
return class_type("ARCtrl.CWL.CWLToolDescription", void 0, CWLToolDescription, DynamicObj_$reflection());
|
|
247
268
|
}
|
|
248
|
-
function CWLToolDescription_$
|
|
269
|
+
function CWLToolDescription_$ctor_Z45149AC1(outputs, cwlVersion, baseCommand, arguments$, stdin, stderr, stdout, successCodes, temporaryFailCodes, permanentFailCodes, requirements, hints, intent, inputs, metadata, label, doc, id) {
|
|
249
270
|
return new CWLToolDescription(outputs, cwlVersion, baseCommand, arguments$, stdin, stderr, stdout, successCodes, temporaryFailCodes, permanentFailCodes, requirements, hints, intent, inputs, metadata, label, doc, id);
|
|
250
271
|
}
|
|
251
272
|
|
|
252
|
-
export { CWLToolDescription, CWLToolDescription_$
|
|
273
|
+
export { CWLToolDescription, CWLToolDescription_$ctor_Z45149AC1, CWLToolDescription_$reflection };
|