@nfdi4plants/arctrl 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/index.d.ts +3 -0
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +3 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +1296 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +174 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +190 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +479 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Boolean.js +23 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Char.js +172 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Choice.js +187 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/CollectionUtil.js +148 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +843 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/DateOffset.js +247 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +279 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +53 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Collections.js +48 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +148 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +31 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Guid.js +140 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +165 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +1282 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +40 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +1298 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MapUtil.js +126 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +323 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +225 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Native.js +14 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +63 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Option.js +81 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +174 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +47 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Reflection.js +471 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +137 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Result.js +169 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +1398 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +110 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +1670 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +660 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +328 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +201 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +292 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/TimeSpan.js +170 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +199 -0
- package/dist/ts/node_modules/@fable-org/{fable-library-js → fable-library-ts}/Unicode.13.0.0.js +0 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Uri.js +154 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +747 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +1052 -0
- package/dist/ts/ts/ARC.d.ts +122 -62
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +142 -86
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +32 -0
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +95 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +12 -12
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +7 -7
- package/dist/ts/ts/CWL/CWLTypes.d.ts +219 -59
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +696 -124
- package/dist/ts/ts/CWL/Decode.d.ts +303 -61
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +1162 -679
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +37 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +57 -0
- package/dist/ts/ts/CWL/Encode.d.ts +138 -14
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +798 -522
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +32 -6
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +31 -3
- package/dist/ts/ts/CWL/HashHelpers.d.ts +4 -3
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +9 -9
- package/dist/ts/ts/CWL/Inputs.d.ts +69 -18
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +191 -52
- package/dist/ts/ts/CWL/OperationDescription.d.ts +8 -6
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +7 -3
- package/dist/ts/ts/CWL/Outputs.d.ts +55 -16
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +170 -75
- package/dist/ts/ts/CWL/ParameterReference.d.ts +15 -9
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +36 -17
- package/dist/ts/ts/CWL/ParameterValue.d.ts +57 -0
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ParameterValue.js +321 -0
- package/dist/ts/ts/CWL/Requirements.d.ts +183 -66
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +475 -137
- package/dist/ts/ts/CWL/ToolDescription.d.ts +57 -8
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +98 -7
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +30 -7
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +28 -3
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +91 -36
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +206 -41
- package/dist/ts/ts/CWLRunResolver.d.ts +11 -11
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +16 -16
- package/dist/ts/ts/Contract/ARC.d.ts +2 -2
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +1 -1
- package/dist/ts/ts/Contract/ArcAssay.d.ts +7 -6
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +15 -10
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts +5 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +12 -7
- package/dist/ts/ts/Contract/ArcRun.d.ts +11 -10
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +24 -21
- package/dist/ts/ts/Contract/ArcStudy.d.ts +8 -7
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +15 -10
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +9 -8
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +20 -16
- package/dist/ts/ts/Contract/Contract.d.ts +38 -8
- package/dist/ts/ts/Contract/Contract.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Contract.js +46 -7
- package/dist/ts/ts/Contract/Datamap.d.ts +5 -4
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +45 -32
- package/dist/ts/ts/Contract/Git.d.ts +6 -5
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +4 -4
- package/dist/ts/ts/Contract/License.d.ts +4 -3
- package/dist/ts/ts/Contract/License.d.ts.map +1 -1
- package/dist/ts/ts/Contract/License.js +5 -5
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts +5 -4
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +6 -7
- package/dist/ts/ts/ContractIO/ContractIO.d.ts +5 -4
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +49 -44
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +13 -12
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +6 -6
- package/dist/ts/ts/Conversion/Assay.d.ts +5 -5
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +38 -18
- package/dist/ts/ts/Conversion/Basic.d.ts +16 -13
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +69 -38
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts +3 -3
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +8 -8
- package/dist/ts/ts/Conversion/Datamap.d.ts +4 -4
- package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Datamap.js +2 -2
- package/dist/ts/ts/Conversion/DateTime.d.ts +1 -1
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +7 -6
- package/dist/ts/ts/Conversion/Investigation.d.ts +5 -5
- package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Investigation.js +19 -12
- package/dist/ts/ts/Conversion/Person.d.ts +5 -5
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Person.js +57 -25
- package/dist/ts/ts/Conversion/Process.d.ts +14 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +57 -46
- package/dist/ts/ts/Conversion/Run.d.ts +12 -17
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +452 -69
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +4 -4
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +26 -17
- package/dist/ts/ts/Conversion/Study.d.ts +5 -5
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +30 -15
- package/dist/ts/ts/Conversion/Table.d.ts +10 -11
- package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Table.js +17 -24
- package/dist/ts/ts/Conversion/Workflow.d.ts +17 -17
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +86 -47
- package/dist/ts/ts/Conversion.d.ts +24 -21
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +20 -13
- package/dist/ts/ts/Core/ArcTypes.d.ts +331 -76
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +585 -299
- package/dist/ts/ts/Core/Comment.d.ts +5 -5
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +17 -10
- package/dist/ts/ts/Core/CommentList.d.ts +3 -3
- package/dist/ts/ts/Core/CommentList.d.ts.map +1 -1
- package/dist/ts/ts/Core/CommentList.js +8 -8
- package/dist/ts/ts/Core/Conversion.d.ts +25 -25
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +102 -102
- package/dist/ts/ts/Core/Data.d.ts +6 -6
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +11 -10
- package/dist/ts/ts/Core/DataContext.d.ts +10 -10
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +3 -3
- package/dist/ts/ts/Core/DataFile.d.ts +9 -6
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +20 -9
- package/dist/ts/ts/Core/Datamap.d.ts +17 -16
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +16 -14
- package/dist/ts/ts/Core/Helper/Collections.d.ts +4 -4
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +30 -37
- package/dist/ts/ts/Core/Helper/HashCodes.d.ts +15 -4
- package/dist/ts/ts/Core/Helper/HashCodes.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/HashCodes.js +33 -14
- package/dist/ts/ts/Core/Helper/Identifier.d.ts +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +10 -8
- package/dist/ts/ts/Core/Helper/ORCID.d.ts +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +4 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts +7 -7
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +20 -12
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +5 -5
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +7 -7
- package/dist/ts/ts/Core/Helper/Url.d.ts +1 -1
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +8 -7
- package/dist/ts/ts/Core/IdentifierSetters.d.ts +2 -2
- package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.d.ts +23 -5
- package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +116 -45
- package/dist/ts/ts/Core/OntologySourceReference.d.ts +4 -4
- package/dist/ts/ts/Core/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologySourceReference.js +4 -4
- package/dist/ts/ts/Core/Person.d.ts +19 -9
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +27 -11
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts +11 -11
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +68 -29
- package/dist/ts/ts/Core/Process/Component.d.ts +16 -16
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +38 -25
- package/dist/ts/ts/Core/Process/Factor.d.ts +53 -8
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +62 -11
- package/dist/ts/ts/Core/Process/FactorValue.d.ts +15 -15
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +39 -47
- package/dist/ts/ts/Core/Process/Material.d.ts +9 -9
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +5 -5
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts +7 -7
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +17 -8
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts +15 -15
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +45 -48
- package/dist/ts/ts/Core/Process/MaterialType.d.ts +7 -5
- package/dist/ts/ts/Core/Process/MaterialType.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialType.js +14 -7
- package/dist/ts/ts/Core/Process/Process.d.ts +22 -22
- package/dist/ts/ts/Core/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Process.js +42 -26
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts +14 -14
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +15 -10
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts +14 -14
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +15 -10
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts +30 -15
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +56 -46
- package/dist/ts/ts/Core/Process/ProcessSequence.d.ts +16 -16
- package/dist/ts/ts/Core/Process/ProcessSequence.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessSequence.js +33 -26
- package/dist/ts/ts/Core/Process/Protocol.d.ts +9 -9
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +21 -13
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts +28 -7
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +33 -8
- package/dist/ts/ts/Core/Process/Sample.d.ts +10 -10
- package/dist/ts/ts/Core/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Sample.js +5 -5
- package/dist/ts/ts/Core/Process/Source.d.ts +8 -8
- package/dist/ts/ts/Core/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Source.js +5 -5
- package/dist/ts/ts/Core/Publication.d.ts +5 -5
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +18 -11
- package/dist/ts/ts/Core/ScalarValue.d.ts +41 -0
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -0
- package/dist/ts/ts/Core/{Value.js → ScalarValue.js} +56 -29
- package/dist/ts/ts/Core/Table/ArcTable.d.ts +134 -15
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +204 -68
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +15 -10
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +75 -71
- package/dist/ts/ts/Core/Table/ArcTables.d.ts +12 -9
- package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTables.js +42 -38
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts +46 -7
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeCell.js +52 -12
- package/dist/ts/ts/Core/Table/CompositeColumn.d.ts +20 -7
- package/dist/ts/ts/Core/Table/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeColumn.js +17 -4
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts +116 -22
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +219 -65
- package/dist/ts/ts/Core/Template.d.ts +15 -9
- package/dist/ts/ts/Core/Template.d.ts.map +1 -1
- package/dist/ts/ts/Core/Template.js +19 -11
- package/dist/ts/ts/Core/Templates.d.ts +24 -5
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +26 -8
- package/dist/ts/ts/Core/URI.d.ts.map +1 -1
- package/dist/ts/ts/CrossAsync.d.ts +6 -5
- package/dist/ts/ts/CrossAsync.d.ts.map +1 -1
- package/dist/ts/ts/CrossAsync.js +6 -6
- package/dist/ts/ts/FileSystem/Commit.d.ts +3 -3
- package/dist/ts/ts/FileSystem/Commit.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Commit.js +2 -2
- package/dist/ts/ts/FileSystem/FileSystem.d.ts +9 -9
- package/dist/ts/ts/FileSystem/FileSystem.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystem.js +4 -4
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +35 -16
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +36 -18
- package/dist/ts/ts/FileSystem/Path.d.ts +9 -8
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +13 -13
- package/dist/ts/ts/Json/Assay.d.ts +9 -9
- package/dist/ts/ts/Json/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Json/Assay.js +86 -50
- package/dist/ts/ts/Json/Comment.d.ts +4 -4
- package/dist/ts/ts/Json/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Json/Comment.js +38 -17
- package/dist/ts/ts/Json/Data.d.ts +7 -7
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +48 -20
- package/dist/ts/ts/Json/DataFile.d.ts +2 -2
- package/dist/ts/ts/Json/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Json/DataFile.js +10 -9
- package/dist/ts/ts/Json/Datamap/DataContext.d.ts +2 -2
- package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/Datamap/DataContext.js +14 -7
- package/dist/ts/ts/Json/Datamap/Datamap.d.ts +7 -7
- package/dist/ts/ts/Json/Datamap/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Json/Datamap/Datamap.js +4 -4
- package/dist/ts/ts/Json/Decode.d.ts +6 -6
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +32 -32
- package/dist/ts/ts/Json/Encode.d.ts +6 -5
- package/dist/ts/ts/Json/Encode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Encode.js +28 -26
- package/dist/ts/ts/Json/IDTable.d.ts +2 -2
- package/dist/ts/ts/Json/IDTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/IDTable.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts +9 -9
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +68 -33
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts +6 -6
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +60 -25
- package/dist/ts/ts/Json/OntologySourceReference.d.ts +4 -4
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +36 -15
- package/dist/ts/ts/Json/Person.d.ts +5 -5
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +57 -29
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +5 -5
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +12 -5
- package/dist/ts/ts/Json/Process/Component.d.ts +5 -5
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +25 -11
- package/dist/ts/ts/Json/Process/Factor.d.ts +4 -4
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +17 -9
- package/dist/ts/ts/Json/Process/FactorValue.d.ts +5 -5
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +14 -7
- package/dist/ts/ts/Json/Process/Material.d.ts +5 -5
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +31 -31
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +4 -4
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +16 -8
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +5 -5
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +14 -7
- package/dist/ts/ts/Json/Process/MaterialType.d.ts +2 -2
- package/dist/ts/ts/Json/Process/MaterialType.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialType.js +9 -8
- package/dist/ts/ts/Json/Process/Process.d.ts +4 -4
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +28 -14
- package/dist/ts/ts/Json/Process/ProcessInput.d.ts +4 -4
- package/dist/ts/ts/Json/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +4 -4
- package/dist/ts/ts/Json/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +5 -5
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +16 -8
- package/dist/ts/ts/Json/Process/Protocol.d.ts +4 -4
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +30 -16
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -4
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +16 -8
- package/dist/ts/ts/Json/Process/Sample.d.ts +7 -7
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +37 -60
- package/dist/ts/ts/Json/Process/Source.d.ts +5 -5
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +34 -57
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +5 -5
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +12 -5
- package/dist/ts/ts/Json/Process/Value.d.ts +6 -6
- package/dist/ts/ts/Json/Process/Value.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Value.js +4 -4
- package/dist/ts/ts/Json/PropertyValue.d.ts +6 -6
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +31 -22
- package/dist/ts/ts/Json/Publication.d.ts +5 -5
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +36 -15
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDContext.js +17 -16
- package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +21 -14
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDNode.js +94 -29
- package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDRef.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDRef.js +4 -4
- package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDValue.js +8 -7
- package/dist/ts/ts/Json/Run.d.ts +7 -7
- package/dist/ts/ts/Json/Run.d.ts.map +1 -1
- package/dist/ts/ts/Json/Run.js +28 -14
- package/dist/ts/ts/Json/StringTable.d.ts +7 -7
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +10 -10
- package/dist/ts/ts/Json/Study.d.ts +9 -9
- package/dist/ts/ts/Json/Study.d.ts.map +1 -1
- package/dist/ts/ts/Json/Study.js +79 -45
- package/dist/ts/ts/Json/Table/ArcTable.d.ts +10 -10
- package/dist/ts/ts/Json/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/ArcTable.js +28 -28
- package/dist/ts/ts/Json/Table/CellTable.d.ts +9 -9
- package/dist/ts/ts/Json/Table/CellTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/CellTable.js +8 -8
- package/dist/ts/ts/Json/Table/CompositeCell.d.ts +6 -6
- package/dist/ts/ts/Json/Table/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/CompositeCell.js +7 -7
- package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +2 -2
- package/dist/ts/ts/Json/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/CompositeHeader.js +7 -7
- package/dist/ts/ts/Json/Table/IOType.d.ts +2 -2
- package/dist/ts/ts/Json/Table/IOType.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/IOType.js +2 -2
- package/dist/ts/ts/Json/Table/OATable.d.ts +8 -8
- package/dist/ts/ts/Json/Table/OATable.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +8 -8
- package/dist/ts/ts/Json/Table/Templates.d.ts +9 -9
- package/dist/ts/ts/Json/Table/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/Templates.js +11 -11
- package/dist/ts/ts/Json/Workflow.d.ts +7 -7
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Json/Workflow.js +28 -14
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/property_value_context.js +1 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +3 -3
- package/dist/ts/ts/Json.d.ts +10 -10
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +5 -5
- package/dist/ts/ts/JsonIO/Assay.d.ts +6 -7
- package/dist/ts/ts/JsonIO/Assay.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Assay.js +13 -12
- package/dist/ts/ts/JsonIO/Datamap.d.ts +3 -4
- package/dist/ts/ts/JsonIO/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Datamap.js +7 -6
- package/dist/ts/ts/JsonIO/Investigation.d.ts +5 -6
- package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Investigation.js +11 -10
- package/dist/ts/ts/JsonIO/LDObject.d.ts +5 -6
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +14 -13
- package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts +5 -6
- package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +11 -10
- package/dist/ts/ts/JsonIO/Person.d.ts +5 -6
- package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Person.js +11 -10
- package/dist/ts/ts/JsonIO/Run.d.ts +4 -5
- package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Run.js +9 -8
- package/dist/ts/ts/JsonIO/Study.d.ts +7 -8
- package/dist/ts/ts/JsonIO/Study.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Study.js +13 -12
- package/dist/ts/ts/JsonIO/Table/Compression.d.ts +6 -6
- package/dist/ts/ts/JsonIO/Table/Compression.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Table/Compression.js +4 -4
- package/dist/ts/ts/JsonIO/Table/Templates.d.ts +10 -10
- package/dist/ts/ts/JsonIO/Table/Templates.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Table/Templates.js +13 -12
- package/dist/ts/ts/JsonIO/Workflow.d.ts +4 -5
- package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Workflow.js +9 -8
- package/dist/ts/ts/License.d.ts +12 -6
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +49 -14
- package/dist/ts/ts/ROCrate/Helper.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/Helper.js +1 -1
- package/dist/ts/ts/ROCrate/LDContext.d.ts +15 -4
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +27 -16
- package/dist/ts/ts/ROCrate/LDObject.d.ts +19 -10
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +76 -38
- package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +11 -9
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +18 -16
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +22 -16
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +15 -13
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +25 -23
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +48 -45
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +11 -9
- package/dist/ts/ts/ROCrate/LDTypes/File.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/File.js +15 -13
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +18 -16
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +16 -14
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +17 -16
- package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +8 -6
- package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +28 -25
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +17 -16
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +10 -6
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +104 -61
- package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +14 -13
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +12 -10
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +11 -10
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +4 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +4 -3
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +1 -1
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/ROCrateContext.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +13 -8
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +16 -13
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +13 -12
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +15 -15
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +23 -12
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +14 -14
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +17 -18
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +18 -17
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +37 -29
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +6 -6
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +16 -15
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +14 -14
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +21 -21
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +5 -5
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +9 -9
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +13 -12
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +5 -5
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +9 -9
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts +8 -8
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +11 -11
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Datamap.js +6 -5
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts +4 -4
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +14 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +30 -21
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +10 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +12 -9
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +11 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts +9 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +9 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +11 -9
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +13 -10
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +10 -10
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +55 -49
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts +14 -14
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +8 -8
- package/dist/ts/ts/Template.Web.d.ts +10 -6
- package/dist/ts/ts/Template.Web.d.ts.map +1 -1
- package/dist/ts/ts/Template.Web.js +4 -4
- package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts +6 -3
- package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +10 -7
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts +7 -4
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +29 -24
- package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts.map +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +4 -4
- package/dist/ts/ts/WebRequest/WebRequest.d.ts +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.d.ts.map +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.js +3 -3
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +6 -6
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +13 -13
- package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +7 -4
- package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/BuildOptions.js +2 -2
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -19
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +82 -68
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +52 -32
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +90 -30
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +5 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +6 -5
- package/dist/ts/ts/Xlsx.d.ts +5 -5
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +8 -6
- package/dist/ts/ts/Yaml/Encode.d.ts +2 -2
- package/dist/ts/ts/Yaml/Encode.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/Encode.js +2 -2
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +4 -5
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +12 -12
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +4 -5
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +12 -12
- package/dist/ts/ts/Yaml.d.ts +3 -3
- package/dist/ts/ts/Yaml.d.ts.map +1 -1
- package/dist/ts/ts/Yaml.js +3 -8
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/DynObj.fs.js +6 -6
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +515 -0
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/FableJS.fs.js +23 -8
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/HashCodes.fs.js +11 -11
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/PropertyHelper.fs.js +2 -2
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/ReflectionUtils.fs.js +16 -6
- package/dist/ts/ts/fable_modules/{Fable.Fetch.2.6.0 → Fable.Fetch.2.7.0}/Fetch.fs.js +11 -11
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +8 -7
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +3 -3
- package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Http.fs.js +21 -21
- package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Types.fs.js +52 -19
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCell.fs.js +255 -126
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCellsCollection.fs.js +135 -18
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/CellBuilder.fs.js +9 -9
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Expression.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/RowBuilder.fs.js +5 -5
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Types.fs.js +16 -16
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsAddress.fs.js +41 -17
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsColumn.fs.js +70 -7
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsRow.fs.js +76 -8
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorkbook.fs.js +77 -11
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorksheet.fs.js +237 -32
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/HashCodes.fs.js +9 -9
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Cell.fs.js +10 -10
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Column.fs.js +6 -6
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Row.fs.js +6 -6
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Table.fs.js +3 -3
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Value.fs.js +11 -11
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Workbook.fs.js +3 -3
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Worksheet.fs.js +8 -8
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRange.fs.js +6 -5
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeAddress.fs.js +11 -5
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeBase.fs.js +18 -13
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeColumn.fs.js +9 -3
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTable.fs.js +185 -26
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTableField.fs.js +48 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +65 -0
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/FsExtensions.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Json.fs.js +9 -9
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Table.fs.js +15 -14
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Workbook.fs.js +4 -4
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Worksheet.fs.js +4 -4
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Xlsx.fs.js +2 -2
- package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Decode.fs.js +265 -159
- package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Encode.fs.js +94 -36
- package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Types.fs.js +16 -22
- package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Decode.fs.js +9 -7
- package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Encode.fs.js +2 -3
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Decode.fs.js +100 -134
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Persil.fs.js +56 -204
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +319 -0
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +1884 -0
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +23 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +16 -16
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +840 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Writer.fs.js +106 -76
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/YAMLiciousTypes.fs.js +74 -32
- package/package.json +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +0 -1244
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +0 -146
- package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +0 -186
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +0 -286
- package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +0 -24
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +0 -172
- package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +0 -187
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +0 -185
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +0 -750
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +0 -271
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +0 -214
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +0 -49
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +0 -30
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +0 -72
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +0 -10
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +0 -145
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +0 -137
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +0 -1276
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +0 -49
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +0 -1399
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +0 -130
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +0 -330
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +0 -236
- package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +0 -10
- package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +0 -73
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +0 -99
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +0 -48
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +0 -465
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +0 -133
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +0 -168
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +0 -1381
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +0 -114
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +0 -1792
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +0 -557
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +0 -320
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +0 -165
- package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +0 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +0 -180
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +0 -211
- package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +0 -160
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +0 -771
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +0 -825
- package/dist/ts/ts/Core/Value.d.ts +0 -41
- package/dist/ts/ts/Core/Value.d.ts.map +0 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js +0 -367
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +0 -68
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/FlowToBlock.fs.js +0 -956
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Preprocessing.fs.js +0 -181
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js +0 -1493
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Regex.fs.js +0 -21
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/StringBuffer.fs.js +0 -60
- /package/dist/ts/ts/fable_modules/{Fable.Exceljs.1.6.0 → Fable.Exceljs.2.0.0_565fc3e-alpha.1}/ExcelJs.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
package/dist/ts/ts/CWL/Encode.js
CHANGED
|
@@ -1,16 +1,30 @@
|
|
|
1
|
-
import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node_modules/@fable-org/fable-library-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node_modules/@fable-org/fable-library-ts/Choice.js';
|
|
2
|
+
import { FileInstance, DirectoryInstance, DirentInstance, InputRecordField, InputRecordSchema, InputEnumSchema, InputArraySchema, SchemaDefRequirementType, SoftwarePackage } from './CWLTypes.js';
|
|
3
|
+
import { value, defaultArg, toArray } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
|
+
import { toList, choose, fold, map as map$1, delay, append as append$1, singleton as singleton$1, empty as empty$2 } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
5
|
+
import { isEmpty, head, tail, map, append, singleton, ofArray, empty as empty$1, ofSeq, length, choose as choose$1, filter, contains as contains$1, tryFind, reverse, cons } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
6
|
+
import { YAMLElement_Value, YAMLContent_create_Z1C3A29C9, YAMLElement_Object$, YAMLElement_Mapping, YAMLElement, YAMLElement_Sequence, ScalarStyle_Block, BlockScalarStyle, ChompingMode, ScalarStyle, Config } from '../fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js';
|
|
7
|
+
import { equals, defaultOf, int64ToString, isIterable, comparePrimitives, curry2, stringHash } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
8
|
+
import { string, int } from '../fable_modules/YAMLicious.1.0.0/Encode.fs.js';
|
|
9
|
+
import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
|
|
10
|
+
import { dynamicPropertiesExcept } from './DynamicObjHelpers.js';
|
|
11
|
+
import { empty, ofSeq as ofSeq$1, contains, ofList, FSharpSet__Contains } from '../../node_modules/@fable-org/fable-library-ts/Set.js';
|
|
12
|
+
import { trimEnd, replace, interpolate, trimStart, join, split, concat } from '../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
13
|
+
import { Operators_IsNull } from '../../node_modules/@fable-org/fable-library-ts/FSharp.Core.js';
|
|
14
|
+
import { LoadListingEnum_get_toCwlString, InlineJavascriptRequirementValue, InplaceUpdateRequirementValue, NetworkAccessRequirementValue, WorkReuseRequirementValue, ResourceRequirementInstance, EnvironmentDef, LoadListingRequirementValue, DockerRequirement } from './Requirements.js';
|
|
15
|
+
import { OutputBinding, CWLOutput } from './Outputs.js';
|
|
16
|
+
import { item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
17
|
+
import { CWLParameterValueModule_floatToRoundTripString, CWLParameterValueModule_tryInferType } from './ParameterValue.js';
|
|
18
|
+
import { InputBinding, CWLInput } from './Inputs.js';
|
|
19
|
+
import { StepInput, StepOutputParameter, WorkflowStep } from './WorkflowSteps.js';
|
|
10
20
|
import { WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetWorkflow, WorkflowStepRunOps_tryGetTool } from './CWLProcessingUnit.js';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
21
|
+
import { CWLToolDescription } from './ToolDescription.js';
|
|
22
|
+
import { ArgumentException_$ctor_Z721C83C5 } from '../../node_modules/@fable-org/fable-library-ts/System.js';
|
|
23
|
+
import { CWLWorkflowDescription } from './WorkflowDescription.js';
|
|
24
|
+
import { CWLExpressionToolDescription } from './ExpressionToolDescription.js';
|
|
25
|
+
import { CWLOperationDescription } from './OperationDescription.js';
|
|
26
|
+
import { write } from '../fable_modules/YAMLicious.1.0.0/Writer.fs.js';
|
|
27
|
+
import { CWLParameterReference } from './ParameterReference.js';
|
|
14
28
|
|
|
15
29
|
function $007CPrimitiveType$007CComplexType$007C(t) {
|
|
16
30
|
switch (t.tag) {
|
|
@@ -54,7 +68,8 @@ function $007CPrimitiveType$007CComplexType$007C(t) {
|
|
|
54
68
|
case /* Array */
|
|
55
69
|
11: {
|
|
56
70
|
const arraySchema = t.fields[0];
|
|
57
|
-
|
|
71
|
+
const matchValue = arraySchema.Items;
|
|
72
|
+
if ($007CPrimitiveType$007CComplexType$007C(matchValue).tag === /* Choice2Of2 */
|
|
58
73
|
1) {
|
|
59
74
|
return FSharpChoice$2_Choice2Of2(void 0);
|
|
60
75
|
} else {
|
|
@@ -66,7 +81,7 @@ function $007CPrimitiveType$007CComplexType$007C(t) {
|
|
|
66
81
|
}
|
|
67
82
|
}
|
|
68
83
|
function tryGetArrayShorthand(cwlType) {
|
|
69
|
-
let matchResult, name_1, arraySchema;
|
|
84
|
+
let matchResult = void 0, name_1 = void 0, arraySchema = void 0;
|
|
70
85
|
const activePatternResult = $007CPrimitiveType$007CComplexType$007C(cwlType);
|
|
71
86
|
if (activePatternResult.tag === /* Choice1Of2 */
|
|
72
87
|
0) {
|
|
@@ -90,8 +105,14 @@ function tryGetArrayShorthand(cwlType) {
|
|
|
90
105
|
switch (matchResult) {
|
|
91
106
|
case 0:
|
|
92
107
|
return name_1;
|
|
93
|
-
case 1:
|
|
94
|
-
|
|
108
|
+
case 1: {
|
|
109
|
+
const option_1 = tryGetArrayShorthand(arraySchema.Items);
|
|
110
|
+
if (option_1 != null) {
|
|
111
|
+
return value(option_1) + "[]";
|
|
112
|
+
} else {
|
|
113
|
+
return void 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
95
116
|
default:
|
|
96
117
|
return void 0;
|
|
97
118
|
}
|
|
@@ -107,12 +128,14 @@ function isComplexType(t_mut) {
|
|
|
107
128
|
13:
|
|
108
129
|
return true;
|
|
109
130
|
case /* Array */
|
|
110
|
-
11:
|
|
111
|
-
|
|
131
|
+
11: {
|
|
132
|
+
const arraySchema = t.fields[0];
|
|
133
|
+
return tryGetArrayShorthand(arraySchema.Items) == null;
|
|
134
|
+
}
|
|
112
135
|
case /* Union */
|
|
113
136
|
14: {
|
|
114
137
|
const typesList = toList(t.fields[0]);
|
|
115
|
-
let matchResult, otherType;
|
|
138
|
+
let matchResult = void 0, otherType = void 0;
|
|
116
139
|
if (!isEmpty(typesList)) {
|
|
117
140
|
if (head(typesList).tag === /* Null */
|
|
118
141
|
10) {
|
|
@@ -162,21 +185,82 @@ function isComplexType(t_mut) {
|
|
|
162
185
|
function yBool(b) {
|
|
163
186
|
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(b ? "true" : "false"));
|
|
164
187
|
}
|
|
188
|
+
function yFloat(value) {
|
|
189
|
+
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(value.toString()));
|
|
190
|
+
}
|
|
165
191
|
function yMap(pairs) {
|
|
166
|
-
return YAMLElement_Object(map
|
|
167
|
-
let _arg, single;
|
|
192
|
+
return YAMLElement_Object$(map((tupledArg) => {
|
|
193
|
+
let _arg = void 0, single = void 0;
|
|
168
194
|
return YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9(tupledArg[0]), (_arg = tupledArg[1], _arg.tag === /* Object */
|
|
169
195
|
3 ? !isEmpty(_arg.fields[0]) ? head(_arg.fields[0]).tag === /* Value */
|
|
170
196
|
1 ? isEmpty(tail(_arg.fields[0])) ? _arg : _arg : head(_arg.fields[0]).tag === /* Alias */
|
|
171
|
-
7 ? isEmpty(tail(_arg.fields[0])) ? _arg : _arg : isEmpty(tail(_arg.fields[0])) ? (single = head(_arg.fields[0]), single) : _arg :
|
|
197
|
+
7 ? isEmpty(tail(_arg.fields[0])) ? _arg : _arg : isEmpty(tail(_arg.fields[0])) ? (single = head(_arg.fields[0]), single) : _arg : _arg : _arg));
|
|
172
198
|
}, pairs));
|
|
173
199
|
}
|
|
200
|
+
function encodeDynamicValue(value) {
|
|
201
|
+
if (equals(value, defaultOf())) {
|
|
202
|
+
return void 0;
|
|
203
|
+
} else if (typeof value === "string") {
|
|
204
|
+
const s = value;
|
|
205
|
+
return string(s);
|
|
206
|
+
} else if (typeof value === "boolean") {
|
|
207
|
+
const b = value;
|
|
208
|
+
return yBool(b);
|
|
209
|
+
} else if (typeof value === "number") {
|
|
210
|
+
const f = value;
|
|
211
|
+
return yFloat(f);
|
|
212
|
+
} else if (typeof value === "number") {
|
|
213
|
+
const i = value | 0;
|
|
214
|
+
return int(i);
|
|
215
|
+
} else if (typeof value === "bigint") {
|
|
216
|
+
const i_1 = value;
|
|
217
|
+
return string(int64ToString(i_1));
|
|
218
|
+
} else if (value instanceof YAMLElement) {
|
|
219
|
+
const y = value;
|
|
220
|
+
return y;
|
|
221
|
+
} else if (value instanceof DynamicObj) {
|
|
222
|
+
const dynObj = value;
|
|
223
|
+
return encodeDynamicObj(dynObj);
|
|
224
|
+
} else if (isIterable(value)) {
|
|
225
|
+
const values = value;
|
|
226
|
+
return YAMLElement_Sequence(toList(choose(encodeDynamicValue, values)));
|
|
227
|
+
} else {
|
|
228
|
+
return void 0;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
function encodeDynamicObj(dynObj) {
|
|
232
|
+
return yMap(toList(choose((kvp) => {
|
|
233
|
+
const option_1 = encodeDynamicValue(kvp[1]);
|
|
234
|
+
if (option_1 != null) {
|
|
235
|
+
return [kvp[0], value(option_1)];
|
|
236
|
+
} else {
|
|
237
|
+
return void 0;
|
|
238
|
+
}
|
|
239
|
+
}, dynamicPropertiesExcept(empty({
|
|
240
|
+
Compare: (x, y) => comparePrimitives(x, y) | 0
|
|
241
|
+
}), dynObj))));
|
|
242
|
+
}
|
|
243
|
+
function appendDynamicPropertiesExcept(knownFieldNames, dynObj, acc) {
|
|
244
|
+
return fold((pairs, pair) => append(pairs, singleton(pair)), acc, choose((kvp) => {
|
|
245
|
+
const option_1 = encodeDynamicValue(kvp[1]);
|
|
246
|
+
if (option_1 != null) {
|
|
247
|
+
return [kvp[0], value(option_1)];
|
|
248
|
+
} else {
|
|
249
|
+
return void 0;
|
|
250
|
+
}
|
|
251
|
+
}, dynamicPropertiesExcept(knownFieldNames, dynObj)));
|
|
252
|
+
}
|
|
253
|
+
function appendDynamicProperties(dynObj, acc) {
|
|
254
|
+
return appendDynamicPropertiesExcept(empty({
|
|
255
|
+
Compare: (x, y) => comparePrimitives(x, y) | 0
|
|
256
|
+
}), dynObj, acc);
|
|
257
|
+
}
|
|
174
258
|
function normalizeDocString(doc) {
|
|
175
259
|
return trimEnd(trimEnd(replace(doc, "\r\n", "\n"), "\n"), "\r");
|
|
176
260
|
}
|
|
177
261
|
function encodeExpressionScalar(expression) {
|
|
178
|
-
const normalized = expression
|
|
179
|
-
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(normalized, void 0, void 0, void 0, normalized.indexOf("\n") >= 0 ? ScalarStyle_Block(
|
|
262
|
+
const normalized = Operators_IsNull(expression) ? "" : replace(replace(expression, "\r\n", "\n"), "\r", "\n");
|
|
263
|
+
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(normalized, void 0, void 0, void 0, normalized.indexOf("\n") >= 0 ? ScalarStyle_Block(BlockScalarStyle.Literal, ChompingMode.Clip, void 0) : ScalarStyle.DoubleQuoted));
|
|
180
264
|
}
|
|
181
265
|
function encodeSchemaSaladString(value) {
|
|
182
266
|
switch (value.tag) {
|
|
@@ -198,13 +282,13 @@ function normalizeEnvValueForEncode(envValue) {
|
|
|
198
282
|
}
|
|
199
283
|
}
|
|
200
284
|
function encodeEnvVarRequirementCompactMap(envs) {
|
|
201
|
-
const envDefMap = yMap(toList(map$
|
|
285
|
+
const envDefMap = yMap(toList(map$1((env) => [env.EnvName, string(normalizeEnvValueForEncode(env.EnvValue))], envs)));
|
|
202
286
|
return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", envDefMap]]));
|
|
203
287
|
}
|
|
204
288
|
function encodeSoftwareRequirementCompactMap(packages) {
|
|
205
|
-
const packagesMap = yMap(toList(map$
|
|
206
|
-
let package
|
|
207
|
-
return [package$_1.Package, (package$ = package$_1,
|
|
289
|
+
const packagesMap = yMap(toList(map$1((package$_1) => {
|
|
290
|
+
let package$ = void 0, matchValue = void 0, matchValue_1 = void 0, acc_2 = void 0, value_3 = void 0, acc_1 = void 0, value_6 = void 0, acc_3 = void 0;
|
|
291
|
+
return [package$_1.Package, (package$ = package$_1, matchValue = package$.Version, matchValue_1 = package$.Specs, matchValue == null ? matchValue_1 != null ? YAMLElement_Sequence(toList(map$1(string, value(matchValue_1)))) : yMap(empty$1()) : yMap((acc_2 = (value_3 = package$.Version, acc_1 = empty$1(), value_3 == null ? acc_1 : append(acc_1, singleton(["version", YAMLElement_Sequence(toList(map$1(string, value(value_3))))]))), value_6 = package$.Specs, acc_3 = acc_2, value_6 == null ? acc_3 : append(acc_3, singleton(["specs", YAMLElement_Sequence(toList(map$1(string, value(value_6))))])))))];
|
|
208
292
|
}, packages)));
|
|
209
293
|
return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", packagesMap]]));
|
|
210
294
|
}
|
|
@@ -215,18 +299,91 @@ function encodeDoc(doc) {
|
|
|
215
299
|
return ["doc", string(normalizeDocString(doc))];
|
|
216
300
|
}
|
|
217
301
|
function encodeIntent(intent) {
|
|
218
|
-
return ["intent", YAMLElement_Sequence(ofSeq(map$
|
|
302
|
+
return ["intent", YAMLElement_Sequence(ofSeq(map$1(string, intent)))];
|
|
303
|
+
}
|
|
304
|
+
function encodeFilePairs(discriminatorKey, discriminatorValue, file) {
|
|
305
|
+
let acc_22;
|
|
306
|
+
let acc_20;
|
|
307
|
+
let acc_18;
|
|
308
|
+
let acc_16;
|
|
309
|
+
let acc_14;
|
|
310
|
+
let acc_12;
|
|
311
|
+
let acc_10;
|
|
312
|
+
let acc_8;
|
|
313
|
+
let acc_6;
|
|
314
|
+
let acc_4;
|
|
315
|
+
let acc_2;
|
|
316
|
+
const acc = singleton([discriminatorKey, string(discriminatorValue)]);
|
|
317
|
+
const value_2 = file.Location;
|
|
318
|
+
const acc_1 = acc;
|
|
319
|
+
acc_2 = value_2 == null ? acc_1 : append(acc_1, singleton(["location", string(value(value_2))]));
|
|
320
|
+
const value_5 = file.Path;
|
|
321
|
+
const acc_3 = acc_2;
|
|
322
|
+
acc_4 = value_5 == null ? acc_3 : append(acc_3, singleton(["path", string(value(value_5))]));
|
|
323
|
+
const value_8 = file.Basename;
|
|
324
|
+
const acc_5 = acc_4;
|
|
325
|
+
acc_6 = value_8 == null ? acc_5 : append(acc_5, singleton(["basename", string(value(value_8))]));
|
|
326
|
+
const value_11 = file.Dirname;
|
|
327
|
+
const acc_7 = acc_6;
|
|
328
|
+
acc_8 = value_11 == null ? acc_7 : append(acc_7, singleton(["dirname", string(value(value_11))]));
|
|
329
|
+
const value_14 = file.Nameroot;
|
|
330
|
+
const acc_9 = acc_8;
|
|
331
|
+
acc_10 = value_14 == null ? acc_9 : append(acc_9, singleton(["nameroot", string(value(value_14))]));
|
|
332
|
+
const value_17 = file.Nameext;
|
|
333
|
+
const acc_11 = acc_10;
|
|
334
|
+
acc_12 = value_17 == null ? acc_11 : append(acc_11, singleton(["nameext", string(value(value_17))]));
|
|
335
|
+
const value_20 = file.Checksum;
|
|
336
|
+
const acc_13 = acc_12;
|
|
337
|
+
acc_14 = value_20 == null ? acc_13 : append(acc_13, singleton(["checksum", string(value(value_20))]));
|
|
338
|
+
const value_22 = file.Size;
|
|
339
|
+
const acc_15 = acc_14;
|
|
340
|
+
acc_16 = value_22 == null ? acc_15 : append(acc_15, singleton(["size", YAMLElement_Value(YAMLContent_create_Z1C3A29C9(int64ToString(value(value_22))))]));
|
|
341
|
+
const value_24 = file.SecondaryFiles;
|
|
342
|
+
const acc_17 = acc_16;
|
|
343
|
+
acc_18 = value_24 == null ? acc_17 : append(acc_17, singleton(["secondaryFiles", value(value_24)]));
|
|
344
|
+
const value_27 = file.Format;
|
|
345
|
+
const acc_19 = acc_18;
|
|
346
|
+
acc_20 = value_27 == null ? acc_19 : append(acc_19, singleton(["format", string(value(value_27))]));
|
|
347
|
+
const value_30 = file.Contents;
|
|
348
|
+
const acc_21 = acc_20;
|
|
349
|
+
acc_22 = value_30 == null ? acc_21 : append(acc_21, singleton(["contents", string(value(value_30))]));
|
|
350
|
+
return appendDynamicPropertiesExcept(FileInstance.KnownFieldNames, file, acc_22);
|
|
351
|
+
}
|
|
352
|
+
function encodeDirectoryPairs(discriminatorKey, discriminatorValue, directory) {
|
|
353
|
+
let acc_8;
|
|
354
|
+
let acc_6;
|
|
355
|
+
let acc_4;
|
|
356
|
+
let acc_2;
|
|
357
|
+
const acc = singleton([discriminatorKey, string(discriminatorValue)]);
|
|
358
|
+
const value_2 = directory.Location;
|
|
359
|
+
const acc_1 = acc;
|
|
360
|
+
acc_2 = value_2 == null ? acc_1 : append(acc_1, singleton(["location", string(value(value_2))]));
|
|
361
|
+
const value_5 = directory.Path;
|
|
362
|
+
const acc_3 = acc_2;
|
|
363
|
+
acc_4 = value_5 == null ? acc_3 : append(acc_3, singleton(["path", string(value(value_5))]));
|
|
364
|
+
const value_8 = directory.Basename;
|
|
365
|
+
const acc_5 = acc_4;
|
|
366
|
+
acc_6 = value_8 == null ? acc_5 : append(acc_5, singleton(["basename", string(value(value_8))]));
|
|
367
|
+
const value_10 = directory.Listing;
|
|
368
|
+
const acc_7 = acc_6;
|
|
369
|
+
acc_8 = value_10 == null ? acc_7 : append(acc_7, singleton(["listing", value(value_10)]));
|
|
370
|
+
return appendDynamicPropertiesExcept(DirectoryInstance.KnownFieldNames, directory, acc_8);
|
|
219
371
|
}
|
|
220
372
|
function encodeCWLType(t) {
|
|
221
|
-
let
|
|
373
|
+
let acc_4 = void 0, acc_2 = void 0, acc = void 0, value_2 = void 0, acc_1 = void 0, value_4 = void 0, acc_3 = void 0;
|
|
222
374
|
switch (t.tag) {
|
|
223
375
|
case /* Directory */
|
|
224
376
|
1:
|
|
225
|
-
|
|
377
|
+
if (length(encodeDirectoryPairs("type", "Directory", t.fields[0])) > 1) {
|
|
378
|
+
const directory_2 = t.fields[0];
|
|
379
|
+
return yMap(encodeDirectoryPairs("type", "Directory", directory_2));
|
|
380
|
+
} else {
|
|
381
|
+
return string("Directory");
|
|
382
|
+
}
|
|
226
383
|
case /* Dirent */
|
|
227
384
|
2: {
|
|
228
385
|
const d = t.fields[0];
|
|
229
|
-
return yMap((
|
|
386
|
+
return yMap((acc_4 = (acc_2 = (acc = singleton(["entry", encodeSchemaSaladString(d.Entry)]), value_2 = d.Entryname, acc_1 = acc, value_2 == null ? acc_1 : append(acc_1, singleton(["entryname", encodeSchemaSaladString(value(value_2))]))), value_4 = d.Writable, acc_3 = acc_2, value_4 == null ? acc_3 : append(acc_3, singleton(["writable", yBool(value(value_4))]))), appendDynamicPropertiesExcept(DirentInstance.KnownFieldNames, d, acc_4)));
|
|
230
387
|
}
|
|
231
388
|
case /* String */
|
|
232
389
|
3:
|
|
@@ -254,8 +411,9 @@ function encodeCWLType(t) {
|
|
|
254
411
|
return string("null");
|
|
255
412
|
case /* Union */
|
|
256
413
|
14: {
|
|
257
|
-
const
|
|
258
|
-
|
|
414
|
+
const types = t.fields[0];
|
|
415
|
+
const typesList = toList(types);
|
|
416
|
+
let matchResult = void 0, otherType = void 0;
|
|
259
417
|
if (!isEmpty(typesList)) {
|
|
260
418
|
if (head(typesList).tag === /* Null */
|
|
261
419
|
10) {
|
|
@@ -325,10 +483,10 @@ function encodeCWLType(t) {
|
|
|
325
483
|
}
|
|
326
484
|
}
|
|
327
485
|
default:
|
|
328
|
-
return YAMLElement_Sequence(map
|
|
486
|
+
return YAMLElement_Sequence(map(encodeCWLType, typesList));
|
|
329
487
|
}
|
|
330
488
|
default:
|
|
331
|
-
return YAMLElement_Sequence(map
|
|
489
|
+
return YAMLElement_Sequence(map(encodeCWLType, typesList));
|
|
332
490
|
}
|
|
333
491
|
}
|
|
334
492
|
case /* Array */
|
|
@@ -342,226 +500,228 @@ function encodeCWLType(t) {
|
|
|
342
500
|
}
|
|
343
501
|
}
|
|
344
502
|
case /* Record */
|
|
345
|
-
12:
|
|
346
|
-
|
|
503
|
+
12: {
|
|
504
|
+
const recordSchema = t.fields[0];
|
|
505
|
+
return encodeInputRecordSchema(recordSchema);
|
|
506
|
+
}
|
|
347
507
|
case /* Enum */
|
|
348
|
-
13:
|
|
349
|
-
|
|
508
|
+
13: {
|
|
509
|
+
const enumSchema = t.fields[0];
|
|
510
|
+
return encodeInputEnumSchema(enumSchema);
|
|
511
|
+
}
|
|
350
512
|
default:
|
|
351
|
-
|
|
513
|
+
if (length(encodeFilePairs("type", "File", t.fields[0])) > 1) {
|
|
514
|
+
const file_2 = t.fields[0];
|
|
515
|
+
return yMap(encodeFilePairs("type", "File", file_2));
|
|
516
|
+
} else {
|
|
517
|
+
return string("File");
|
|
518
|
+
}
|
|
352
519
|
}
|
|
353
520
|
}
|
|
354
521
|
function encodeInputRecordField(field) {
|
|
355
|
-
|
|
522
|
+
let pairs;
|
|
523
|
+
let acc_4;
|
|
524
|
+
let acc_2;
|
|
525
|
+
const acc = singleton(["type", encodeCWLType(field.Type)]);
|
|
526
|
+
const value_2 = field.Doc;
|
|
527
|
+
const acc_1 = acc;
|
|
528
|
+
acc_2 = value_2 == null ? acc_1 : append(acc_1, singleton(["doc", string(value(value_2))]));
|
|
529
|
+
const value_5 = field.Label;
|
|
530
|
+
const acc_3 = acc_2;
|
|
531
|
+
acc_4 = value_5 == null ? acc_3 : append(acc_3, singleton(["label", string(value(value_5))]));
|
|
532
|
+
pairs = appendDynamicPropertiesExcept(InputRecordField.KnownFieldNames, field, acc_4);
|
|
533
|
+
return [field.Name, yMap(pairs)];
|
|
356
534
|
}
|
|
357
535
|
function encodeInputRecordSchema(schema) {
|
|
536
|
+
let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, acc = void 0, value_2 = void 0, acc_1 = void 0, value_5 = void 0, acc_3 = void 0, value_8 = void 0, acc_5 = void 0;
|
|
358
537
|
let fieldsElement;
|
|
359
538
|
const matchValue = schema.Fields;
|
|
360
|
-
fieldsElement = matchValue == null ? yMap(empty()) : yMap(toList(map$
|
|
361
|
-
return yMap(ofArray([["type", string("record")], ["fields", fieldsElement]]));
|
|
539
|
+
fieldsElement = matchValue == null ? yMap(empty$1()) : yMap(toList(map$1(encodeInputRecordField, value(matchValue))));
|
|
540
|
+
return yMap((acc_6 = (acc_4 = (acc_2 = (acc = ofArray([["type", string("record")], ["fields", fieldsElement]]), value_2 = schema.Label, acc_1 = acc, value_2 == null ? acc_1 : append(acc_1, singleton(["label", string(value(value_2))]))), value_5 = schema.Doc, acc_3 = acc_2, value_5 == null ? acc_3 : append(acc_3, singleton(["doc", string(value(value_5))]))), value_8 = schema.Name, acc_5 = acc_4, value_8 == null ? acc_5 : append(acc_5, singleton(["name", string(value(value_8))]))), appendDynamicPropertiesExcept(InputRecordSchema.KnownFieldNames, schema, acc_6)));
|
|
362
541
|
}
|
|
363
542
|
function encodeInputEnumSchema(schema) {
|
|
364
|
-
|
|
543
|
+
let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, value_3 = void 0, acc_1 = void 0, value_6 = void 0, acc_3 = void 0, value_9 = void 0, acc_5 = void 0;
|
|
544
|
+
const pairs = append(singleton(["type", string("enum")]), singleton(["symbols", YAMLElement_Sequence(ofSeq(map$1(string, schema.Symbols)))]));
|
|
545
|
+
return yMap((acc_6 = (acc_4 = (acc_2 = (value_3 = schema.Label, acc_1 = pairs, value_3 == null ? acc_1 : append(acc_1, singleton(["label", string(value(value_3))]))), value_6 = schema.Doc, acc_3 = acc_2, value_6 == null ? acc_3 : append(acc_3, singleton(["doc", string(value(value_6))]))), value_9 = schema.Name, acc_5 = acc_4, value_9 == null ? acc_5 : append(acc_5, singleton(["name", string(value(value_9))]))), appendDynamicPropertiesExcept(InputEnumSchema.KnownFieldNames, schema, acc_6)));
|
|
365
546
|
}
|
|
366
547
|
function encodeInputArraySchema(schema) {
|
|
367
|
-
|
|
548
|
+
let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, acc = void 0, value_2 = void 0, acc_1 = void 0, value_5 = void 0, acc_3 = void 0, value_8 = void 0, acc_5 = void 0;
|
|
549
|
+
return yMap((acc_6 = (acc_4 = (acc_2 = (acc = ofArray([["type", string("array")], ["items", encodeCWLType(schema.Items)]]), value_2 = schema.Label, acc_1 = acc, value_2 == null ? acc_1 : append(acc_1, singleton(["label", string(value(value_2))]))), value_5 = schema.Doc, acc_3 = acc_2, value_5 == null ? acc_3 : append(acc_3, singleton(["doc", string(value(value_5))]))), value_8 = schema.Name, acc_5 = acc_4, value_8 == null ? acc_5 : append(acc_5, singleton(["name", string(value(value_8))]))), appendDynamicPropertiesExcept(InputArraySchema.KnownFieldNames, schema, acc_6)));
|
|
368
550
|
}
|
|
369
551
|
function encodeOutputBinding(ob) {
|
|
370
|
-
|
|
552
|
+
let acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, acc = void 0, option_1 = void 0, value_1 = void 0, acc_1 = void 0, encoder_1 = void 0, f1 = void 0, value_4 = void 0, acc_3 = void 0, value_7 = void 0, acc_5 = void 0;
|
|
553
|
+
return yMap((acc_6 = (acc_4 = (acc_2 = (acc = choose$1((x) => x, singleton((option_1 = ob.Glob, option_1 != null ? ["glob", string(value(option_1))] : void 0))), value_1 = ob.LoadContents, acc_1 = acc, value_1 == null ? acc_1 : append(acc_1, singleton(["loadContents", yBool(value(value_1))]))), encoder_1 = (f1 = LoadListingEnum_get_toCwlString(), (arg) => string(f1(arg))), value_4 = ob.LoadListing, acc_3 = acc_2, value_4 == null ? acc_3 : append(acc_3, singleton(["loadListing", encoder_1(value(value_4))]))), value_7 = ob.OutputEval, acc_5 = acc_4, value_7 == null ? acc_5 : append(acc_5, singleton(["outputEval", string(value(value_7))]))), appendDynamicPropertiesExcept(OutputBinding.KnownFieldNames, ob, acc_6)));
|
|
371
554
|
}
|
|
372
555
|
function encodeStringArrayOrScalar(values) {
|
|
373
556
|
if (values.length === 1) {
|
|
374
|
-
return string(values
|
|
557
|
+
return string(item(0, values));
|
|
375
558
|
} else {
|
|
376
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
559
|
+
return YAMLElement_Sequence(ofSeq(map$1(string, values)));
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
function encodeCWLParameterValue(value) {
|
|
563
|
+
switch (value.tag) {
|
|
564
|
+
case /* String */
|
|
565
|
+
1:
|
|
566
|
+
return string(value.fields[0]);
|
|
567
|
+
case /* Int */
|
|
568
|
+
2:
|
|
569
|
+
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(int64ToString(value.fields[0])));
|
|
570
|
+
case /* Float */
|
|
571
|
+
3:
|
|
572
|
+
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(CWLParameterValueModule_floatToRoundTripString(value.fields[0])));
|
|
573
|
+
case /* Boolean */
|
|
574
|
+
4:
|
|
575
|
+
return yBool(value.fields[0]);
|
|
576
|
+
case /* File */
|
|
577
|
+
5:
|
|
578
|
+
return yMap(encodeFilePairs("class", "File", value.fields[0]));
|
|
579
|
+
case /* Directory */
|
|
580
|
+
6:
|
|
581
|
+
return yMap(encodeDirectoryPairs("class", "Directory", value.fields[0]));
|
|
582
|
+
case /* Array */
|
|
583
|
+
7:
|
|
584
|
+
return YAMLElement_Sequence(toList(map$1(encodeCWLParameterValue, value.fields[0])));
|
|
585
|
+
case /* Record */
|
|
586
|
+
8:
|
|
587
|
+
return yMap(toList(map$1((field) => [field.Name, encodeCWLParameterValue(field.Value)], value.fields[0])));
|
|
588
|
+
default:
|
|
589
|
+
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9("null"));
|
|
377
590
|
}
|
|
378
591
|
}
|
|
379
592
|
function encodeCWLOutput(o) {
|
|
380
|
-
let values;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
case /* Double */
|
|
434
|
-
7:
|
|
435
|
-
case /* Boolean */
|
|
436
|
-
8:
|
|
437
|
-
return encodeCWLType(t);
|
|
438
|
-
case /* Array */
|
|
439
|
-
11: {
|
|
440
|
-
const matchValue = otherType.fields[0].Items;
|
|
441
|
-
switch (matchValue.tag) {
|
|
442
|
-
case /* File */
|
|
443
|
-
0:
|
|
444
|
-
case /* Directory */
|
|
445
|
-
1:
|
|
446
|
-
case /* String */
|
|
447
|
-
3:
|
|
448
|
-
case /* Int */
|
|
449
|
-
4:
|
|
450
|
-
case /* Long */
|
|
451
|
-
5:
|
|
452
|
-
case /* Float */
|
|
453
|
-
6:
|
|
454
|
-
case /* Double */
|
|
455
|
-
7:
|
|
456
|
-
case /* Boolean */
|
|
457
|
-
8:
|
|
458
|
-
return encodeCWLType(t);
|
|
459
|
-
default:
|
|
460
|
-
return encodeCWLType(t);
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
default:
|
|
464
|
-
return encodeCWLType(t);
|
|
465
|
-
}
|
|
466
|
-
default:
|
|
467
|
-
return encodeCWLType(t);
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
case /* Array */
|
|
471
|
-
11: {
|
|
472
|
-
const arraySchema_1 = t.fields[0];
|
|
473
|
-
const matchValue_1 = arraySchema_1.Items;
|
|
474
|
-
switch (matchValue_1.tag) {
|
|
475
|
-
case /* File */
|
|
476
|
-
0:
|
|
477
|
-
case /* Directory */
|
|
478
|
-
1:
|
|
479
|
-
case /* Dirent */
|
|
480
|
-
2:
|
|
481
|
-
case /* String */
|
|
482
|
-
3:
|
|
483
|
-
case /* Int */
|
|
484
|
-
4:
|
|
485
|
-
case /* Long */
|
|
486
|
-
5:
|
|
487
|
-
case /* Float */
|
|
488
|
-
6:
|
|
489
|
-
case /* Double */
|
|
490
|
-
7:
|
|
491
|
-
case /* Boolean */
|
|
492
|
-
8:
|
|
493
|
-
return encodeCWLType(t);
|
|
494
|
-
default:
|
|
495
|
-
return yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]));
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
case /* Record */
|
|
499
|
-
12:
|
|
500
|
-
return yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])]));
|
|
501
|
-
case /* Enum */
|
|
502
|
-
13:
|
|
503
|
-
return yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])]));
|
|
504
|
-
default:
|
|
505
|
-
return encodeCWLType(t);
|
|
506
|
-
}
|
|
507
|
-
}, o.Type_);
|
|
593
|
+
let t = void 0, typesList = void 0, arraySchema = void 0, matchValue = void 0, arraySchema_1 = void 0, matchValue_1 = void 0, values = void 0;
|
|
594
|
+
let typeElement;
|
|
595
|
+
const option_1 = o.Type_;
|
|
596
|
+
typeElement = option_1 != null ? (t = value(option_1), t.tag === /* Union */
|
|
597
|
+
14 ? (typesList = toList(t.fields[0]), !isEmpty(typesList) ? head(typesList).tag === /* Null */
|
|
598
|
+
10 ? !isEmpty(tail(typesList)) ? isEmpty(tail(tail(typesList))) ? head(tail(typesList)).tag === /* File */
|
|
599
|
+
0 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Directory */
|
|
600
|
+
1 ? encodeCWLType(t) : head(tail(typesList)).tag === /* String */
|
|
601
|
+
3 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Int */
|
|
602
|
+
4 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Long */
|
|
603
|
+
5 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Float */
|
|
604
|
+
6 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Double */
|
|
605
|
+
7 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Boolean */
|
|
606
|
+
8 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Array */
|
|
607
|
+
11 ? (arraySchema = head(tail(typesList)).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
|
|
608
|
+
0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
|
|
609
|
+
1 ? encodeCWLType(t) : matchValue.tag === /* String */
|
|
610
|
+
3 ? encodeCWLType(t) : matchValue.tag === /* Int */
|
|
611
|
+
4 ? encodeCWLType(t) : matchValue.tag === /* Long */
|
|
612
|
+
5 ? encodeCWLType(t) : matchValue.tag === /* Float */
|
|
613
|
+
6 ? encodeCWLType(t) : matchValue.tag === /* Double */
|
|
614
|
+
7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
|
|
615
|
+
8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : !isEmpty(tail(typesList)) ? head(tail(typesList)).tag === /* Null */
|
|
616
|
+
10 ? isEmpty(tail(tail(typesList))) ? head(typesList).tag === /* File */
|
|
617
|
+
0 ? encodeCWLType(t) : head(typesList).tag === /* Directory */
|
|
618
|
+
1 ? encodeCWLType(t) : head(typesList).tag === /* String */
|
|
619
|
+
3 ? encodeCWLType(t) : head(typesList).tag === /* Int */
|
|
620
|
+
4 ? encodeCWLType(t) : head(typesList).tag === /* Long */
|
|
621
|
+
5 ? encodeCWLType(t) : head(typesList).tag === /* Float */
|
|
622
|
+
6 ? encodeCWLType(t) : head(typesList).tag === /* Double */
|
|
623
|
+
7 ? encodeCWLType(t) : head(typesList).tag === /* Boolean */
|
|
624
|
+
8 ? encodeCWLType(t) : head(typesList).tag === /* Array */
|
|
625
|
+
11 ? (arraySchema = head(typesList).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
|
|
626
|
+
0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
|
|
627
|
+
1 ? encodeCWLType(t) : matchValue.tag === /* String */
|
|
628
|
+
3 ? encodeCWLType(t) : matchValue.tag === /* Int */
|
|
629
|
+
4 ? encodeCWLType(t) : matchValue.tag === /* Long */
|
|
630
|
+
5 ? encodeCWLType(t) : matchValue.tag === /* Float */
|
|
631
|
+
6 ? encodeCWLType(t) : matchValue.tag === /* Double */
|
|
632
|
+
7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
|
|
633
|
+
8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t)) : t.tag === /* Array */
|
|
634
|
+
11 ? (arraySchema_1 = t.fields[0], matchValue_1 = arraySchema_1.Items, matchValue_1.tag === /* File */
|
|
635
|
+
0 ? encodeCWLType(t) : matchValue_1.tag === /* Directory */
|
|
636
|
+
1 ? encodeCWLType(t) : matchValue_1.tag === /* Dirent */
|
|
637
|
+
2 ? encodeCWLType(t) : matchValue_1.tag === /* String */
|
|
638
|
+
3 ? encodeCWLType(t) : matchValue_1.tag === /* Int */
|
|
639
|
+
4 ? encodeCWLType(t) : matchValue_1.tag === /* Long */
|
|
640
|
+
5 ? encodeCWLType(t) : matchValue_1.tag === /* Float */
|
|
641
|
+
6 ? encodeCWLType(t) : matchValue_1.tag === /* Double */
|
|
642
|
+
7 ? encodeCWLType(t) : matchValue_1.tag === /* Boolean */
|
|
643
|
+
8 ? encodeCWLType(t) : yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]))) : t.tag === /* Record */
|
|
644
|
+
12 ? yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])])) : t.tag === /* Enum */
|
|
645
|
+
13 ? yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])])) : encodeCWLType(t)) : void 0;
|
|
508
646
|
let pairs;
|
|
509
|
-
let
|
|
647
|
+
let acc_16;
|
|
648
|
+
let value_17;
|
|
510
649
|
const matchValue_2 = o.OutputSource;
|
|
511
|
-
let
|
|
650
|
+
let matchResult = void 0, value$1 = void 0, values_1 = void 0;
|
|
512
651
|
if (matchValue_2 != null) {
|
|
513
652
|
if (value(matchValue_2).tag === /* Multiple */
|
|
514
653
|
1) {
|
|
515
654
|
if (values = value(matchValue_2).fields[0], values.length > 0) {
|
|
516
|
-
|
|
655
|
+
matchResult = 1;
|
|
517
656
|
values_1 = value(matchValue_2).fields[0];
|
|
518
657
|
} else {
|
|
519
|
-
|
|
658
|
+
matchResult = 2;
|
|
520
659
|
}
|
|
521
660
|
} else {
|
|
522
|
-
|
|
661
|
+
matchResult = 0;
|
|
523
662
|
value$1 = value(matchValue_2).fields[0];
|
|
524
663
|
}
|
|
525
664
|
} else {
|
|
526
|
-
|
|
665
|
+
matchResult = 2;
|
|
527
666
|
}
|
|
528
|
-
switch (
|
|
667
|
+
switch (matchResult) {
|
|
529
668
|
case 0: {
|
|
530
|
-
|
|
669
|
+
value_17 = string(value$1);
|
|
531
670
|
break;
|
|
532
671
|
}
|
|
533
672
|
case 1: {
|
|
534
|
-
|
|
673
|
+
value_17 = encodeStringArrayOrScalar(values_1);
|
|
535
674
|
break;
|
|
536
675
|
}
|
|
537
676
|
default:
|
|
538
|
-
|
|
677
|
+
value_17 = void 0;
|
|
539
678
|
}
|
|
540
|
-
let
|
|
679
|
+
let acc_15;
|
|
680
|
+
let acc_12;
|
|
681
|
+
let acc_10;
|
|
682
|
+
let acc_8;
|
|
683
|
+
let acc_6;
|
|
684
|
+
let acc_4;
|
|
541
685
|
let acc_2;
|
|
542
686
|
const value_1 = typeElement;
|
|
543
|
-
const acc_1 = empty();
|
|
687
|
+
const acc_1 = empty$1();
|
|
544
688
|
acc_2 = value_1 == null ? acc_1 : append(acc_1, singleton(["type", value(value_1)]));
|
|
545
|
-
const
|
|
689
|
+
const value_4 = o.Label;
|
|
546
690
|
const acc_3 = acc_2;
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
691
|
+
acc_4 = value_4 == null ? acc_3 : append(acc_3, singleton(["label", string(value(value_4))]));
|
|
692
|
+
const value_6 = o.SecondaryFiles;
|
|
693
|
+
const acc_5 = acc_4;
|
|
694
|
+
acc_6 = value_6 == null ? acc_5 : append(acc_5, singleton(["secondaryFiles", value(value_6)]));
|
|
695
|
+
const value_8 = o.Streamable;
|
|
696
|
+
const acc_7 = acc_6;
|
|
697
|
+
acc_8 = value_8 == null ? acc_7 : append(acc_7, singleton(["streamable", yBool(value(value_8))]));
|
|
698
|
+
const value_11 = o.Doc;
|
|
699
|
+
const acc_9 = acc_8;
|
|
700
|
+
acc_10 = value_11 == null ? acc_9 : append(acc_9, singleton(["doc", string(value(value_11))]));
|
|
701
|
+
const value_14 = o.Format;
|
|
702
|
+
const acc_11 = acc_10;
|
|
703
|
+
acc_12 = value_14 == null ? acc_11 : append(acc_11, singleton(["format", string(value(value_14))]));
|
|
704
|
+
const value_16 = o.OutputBinding;
|
|
705
|
+
const acc_13 = acc_12;
|
|
706
|
+
acc_15 = value_16 == null ? acc_13 : append(acc_13, singleton(["outputBinding", encodeOutputBinding(value(value_16))]));
|
|
707
|
+
acc_16 = value_17 == null ? acc_15 : append(acc_15, singleton(["outputSource", value(value_17)]));
|
|
708
|
+
pairs = appendDynamicPropertiesExcept(CWLOutput.KnownFieldNames, o, acc_16);
|
|
709
|
+
let matchResult_1 = void 0, t_1 = void 0;
|
|
550
710
|
if (!isEmpty(pairs)) {
|
|
551
711
|
if (head(pairs)[0] === "type") {
|
|
552
712
|
if (isEmpty(tail(pairs))) {
|
|
553
|
-
|
|
713
|
+
matchResult_1 = 0;
|
|
554
714
|
t_1 = head(pairs)[1];
|
|
555
715
|
} else {
|
|
556
|
-
|
|
716
|
+
matchResult_1 = 1;
|
|
557
717
|
}
|
|
558
718
|
} else {
|
|
559
|
-
|
|
719
|
+
matchResult_1 = 1;
|
|
560
720
|
}
|
|
561
721
|
} else {
|
|
562
|
-
|
|
722
|
+
matchResult_1 = 1;
|
|
563
723
|
}
|
|
564
|
-
switch (
|
|
724
|
+
switch (matchResult_1) {
|
|
565
725
|
case 0:
|
|
566
726
|
return [o.Name, t_1];
|
|
567
727
|
default:
|
|
@@ -569,164 +729,123 @@ function encodeCWLOutput(o) {
|
|
|
569
729
|
}
|
|
570
730
|
}
|
|
571
731
|
function encodeInputBinding(ib) {
|
|
572
|
-
let
|
|
573
|
-
return yMap((
|
|
732
|
+
let acc_14 = void 0, acc_12 = void 0, acc_10 = void 0, acc_8 = void 0, acc_6 = void 0, acc_4 = void 0, acc_2 = void 0, value_1 = void 0, acc_1 = void 0, value_4 = void 0, acc_3 = void 0, value_6 = void 0, acc_5 = void 0, value_9 = void 0, acc_7 = void 0, value_11 = void 0, acc_9 = void 0, value_14 = void 0, acc_11 = void 0, value_16 = void 0, acc_13 = void 0;
|
|
733
|
+
return yMap((acc_14 = (acc_12 = (acc_10 = (acc_8 = (acc_6 = (acc_4 = (acc_2 = (value_1 = ib.LoadContents, acc_1 = empty$1(), value_1 == null ? acc_1 : append(acc_1, singleton(["loadContents", yBool(value(value_1))]))), value_4 = ib.Prefix, acc_3 = acc_2, value_4 == null ? acc_3 : append(acc_3, singleton(["prefix", string(value(value_4))]))), value_6 = ib._position, acc_5 = acc_4, value_6 == null ? acc_5 : append(acc_5, singleton(["position", int(value(value_6))]))), value_9 = ib.ItemSeparator, acc_7 = acc_6, value_9 == null ? acc_7 : append(acc_7, singleton(["itemSeparator", string(value(value_9))]))), value_11 = ib.Separate, acc_9 = acc_8, value_11 == null ? acc_9 : append(acc_9, singleton(["separate", yBool(value(value_11))]))), value_14 = ib.ValueFrom, acc_11 = acc_10, value_14 == null ? acc_11 : append(acc_11, singleton(["valueFrom", string(value(value_14))]))), value_16 = ib.ShellQuote, acc_13 = acc_12, value_16 == null ? acc_13 : append(acc_13, singleton(["shellQuote", yBool(value(value_16))]))), appendDynamicPropertiesExcept(InputBinding.KnownFieldNames, ib, acc_14)));
|
|
574
734
|
}
|
|
575
735
|
function encodeCWLInput(i) {
|
|
736
|
+
let t = void 0, typesList = void 0, arraySchema = void 0, matchValue = void 0, arraySchema_1 = void 0, matchValue_1 = void 0;
|
|
576
737
|
let pairs;
|
|
738
|
+
let acc_20;
|
|
739
|
+
let acc_18;
|
|
740
|
+
let acc_16;
|
|
741
|
+
let acc_14;
|
|
742
|
+
let acc_12;
|
|
743
|
+
let acc_10;
|
|
744
|
+
let acc_8;
|
|
745
|
+
let acc_6;
|
|
577
746
|
let acc_4;
|
|
578
747
|
let acc_2;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
7:
|
|
633
|
-
case /* Boolean */
|
|
634
|
-
8:
|
|
635
|
-
return encodeCWLType(t);
|
|
636
|
-
case /* Array */
|
|
637
|
-
11: {
|
|
638
|
-
const matchValue = otherType.fields[0].Items;
|
|
639
|
-
switch (matchValue.tag) {
|
|
640
|
-
case /* File */
|
|
641
|
-
0:
|
|
642
|
-
case /* Directory */
|
|
643
|
-
1:
|
|
644
|
-
case /* String */
|
|
645
|
-
3:
|
|
646
|
-
case /* Int */
|
|
647
|
-
4:
|
|
648
|
-
case /* Long */
|
|
649
|
-
5:
|
|
650
|
-
case /* Float */
|
|
651
|
-
6:
|
|
652
|
-
case /* Double */
|
|
653
|
-
7:
|
|
654
|
-
case /* Boolean */
|
|
655
|
-
8:
|
|
656
|
-
return encodeCWLType(t);
|
|
657
|
-
default:
|
|
658
|
-
return encodeCWLType(t);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
default:
|
|
662
|
-
return encodeCWLType(t);
|
|
663
|
-
}
|
|
664
|
-
default:
|
|
665
|
-
return encodeCWLType(t);
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
case /* Array */
|
|
669
|
-
11: {
|
|
670
|
-
const arraySchema_1 = t.fields[0];
|
|
671
|
-
const matchValue_1 = arraySchema_1.Items;
|
|
672
|
-
switch (matchValue_1.tag) {
|
|
673
|
-
case /* File */
|
|
674
|
-
0:
|
|
675
|
-
case /* Directory */
|
|
676
|
-
1:
|
|
677
|
-
case /* Dirent */
|
|
678
|
-
2:
|
|
679
|
-
case /* String */
|
|
680
|
-
3:
|
|
681
|
-
case /* Int */
|
|
682
|
-
4:
|
|
683
|
-
case /* Long */
|
|
684
|
-
5:
|
|
685
|
-
case /* Float */
|
|
686
|
-
6:
|
|
687
|
-
case /* Double */
|
|
688
|
-
7:
|
|
689
|
-
case /* Boolean */
|
|
690
|
-
8:
|
|
691
|
-
return encodeCWLType(t);
|
|
692
|
-
default:
|
|
693
|
-
return yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]));
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
case /* Record */
|
|
697
|
-
12:
|
|
698
|
-
return yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])]));
|
|
699
|
-
case /* Enum */
|
|
700
|
-
13:
|
|
701
|
-
return yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])]));
|
|
702
|
-
default:
|
|
703
|
-
return encodeCWLType(t);
|
|
704
|
-
}
|
|
705
|
-
}, i.Type_);
|
|
706
|
-
const acc_1 = empty();
|
|
748
|
+
let value$1;
|
|
749
|
+
const option_1 = i.Type_;
|
|
750
|
+
value$1 = option_1 != null ? (t = value(option_1), t.tag === /* Union */
|
|
751
|
+
14 ? (typesList = toList(t.fields[0]), !isEmpty(typesList) ? head(typesList).tag === /* Null */
|
|
752
|
+
10 ? !isEmpty(tail(typesList)) ? isEmpty(tail(tail(typesList))) ? head(tail(typesList)).tag === /* File */
|
|
753
|
+
0 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Directory */
|
|
754
|
+
1 ? encodeCWLType(t) : head(tail(typesList)).tag === /* String */
|
|
755
|
+
3 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Int */
|
|
756
|
+
4 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Long */
|
|
757
|
+
5 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Float */
|
|
758
|
+
6 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Double */
|
|
759
|
+
7 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Boolean */
|
|
760
|
+
8 ? encodeCWLType(t) : head(tail(typesList)).tag === /* Array */
|
|
761
|
+
11 ? (arraySchema = head(tail(typesList)).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
|
|
762
|
+
0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
|
|
763
|
+
1 ? encodeCWLType(t) : matchValue.tag === /* String */
|
|
764
|
+
3 ? encodeCWLType(t) : matchValue.tag === /* Int */
|
|
765
|
+
4 ? encodeCWLType(t) : matchValue.tag === /* Long */
|
|
766
|
+
5 ? encodeCWLType(t) : matchValue.tag === /* Float */
|
|
767
|
+
6 ? encodeCWLType(t) : matchValue.tag === /* Double */
|
|
768
|
+
7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
|
|
769
|
+
8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : !isEmpty(tail(typesList)) ? head(tail(typesList)).tag === /* Null */
|
|
770
|
+
10 ? isEmpty(tail(tail(typesList))) ? head(typesList).tag === /* File */
|
|
771
|
+
0 ? encodeCWLType(t) : head(typesList).tag === /* Directory */
|
|
772
|
+
1 ? encodeCWLType(t) : head(typesList).tag === /* String */
|
|
773
|
+
3 ? encodeCWLType(t) : head(typesList).tag === /* Int */
|
|
774
|
+
4 ? encodeCWLType(t) : head(typesList).tag === /* Long */
|
|
775
|
+
5 ? encodeCWLType(t) : head(typesList).tag === /* Float */
|
|
776
|
+
6 ? encodeCWLType(t) : head(typesList).tag === /* Double */
|
|
777
|
+
7 ? encodeCWLType(t) : head(typesList).tag === /* Boolean */
|
|
778
|
+
8 ? encodeCWLType(t) : head(typesList).tag === /* Array */
|
|
779
|
+
11 ? (arraySchema = head(typesList).fields[0], matchValue = arraySchema.Items, matchValue.tag === /* File */
|
|
780
|
+
0 ? encodeCWLType(t) : matchValue.tag === /* Directory */
|
|
781
|
+
1 ? encodeCWLType(t) : matchValue.tag === /* String */
|
|
782
|
+
3 ? encodeCWLType(t) : matchValue.tag === /* Int */
|
|
783
|
+
4 ? encodeCWLType(t) : matchValue.tag === /* Long */
|
|
784
|
+
5 ? encodeCWLType(t) : matchValue.tag === /* Float */
|
|
785
|
+
6 ? encodeCWLType(t) : matchValue.tag === /* Double */
|
|
786
|
+
7 ? encodeCWLType(t) : matchValue.tag === /* Boolean */
|
|
787
|
+
8 ? encodeCWLType(t) : encodeCWLType(t)) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t) : encodeCWLType(t)) : t.tag === /* Array */
|
|
788
|
+
11 ? (arraySchema_1 = t.fields[0], matchValue_1 = arraySchema_1.Items, matchValue_1.tag === /* File */
|
|
789
|
+
0 ? encodeCWLType(t) : matchValue_1.tag === /* Directory */
|
|
790
|
+
1 ? encodeCWLType(t) : matchValue_1.tag === /* Dirent */
|
|
791
|
+
2 ? encodeCWLType(t) : matchValue_1.tag === /* String */
|
|
792
|
+
3 ? encodeCWLType(t) : matchValue_1.tag === /* Int */
|
|
793
|
+
4 ? encodeCWLType(t) : matchValue_1.tag === /* Long */
|
|
794
|
+
5 ? encodeCWLType(t) : matchValue_1.tag === /* Float */
|
|
795
|
+
6 ? encodeCWLType(t) : matchValue_1.tag === /* Double */
|
|
796
|
+
7 ? encodeCWLType(t) : matchValue_1.tag === /* Boolean */
|
|
797
|
+
8 ? encodeCWLType(t) : yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]))) : t.tag === /* Record */
|
|
798
|
+
12 ? yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])])) : t.tag === /* Enum */
|
|
799
|
+
13 ? yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])])) : encodeCWLType(t)) : void 0;
|
|
800
|
+
const acc_1 = empty$1();
|
|
707
801
|
acc_2 = value$1 == null ? acc_1 : append(acc_1, singleton(["type", value(value$1)]));
|
|
708
|
-
const
|
|
802
|
+
const value_3 = i.Label;
|
|
709
803
|
const acc_3 = acc_2;
|
|
710
|
-
acc_4 =
|
|
711
|
-
const
|
|
804
|
+
acc_4 = value_3 == null ? acc_3 : append(acc_3, singleton(["label", string(value(value_3))]));
|
|
805
|
+
const value_5 = i.SecondaryFiles;
|
|
712
806
|
const acc_5 = acc_4;
|
|
713
|
-
|
|
714
|
-
|
|
807
|
+
acc_6 = value_5 == null ? acc_5 : append(acc_5, singleton(["secondaryFiles", value(value_5)]));
|
|
808
|
+
const value_7 = i.Streamable;
|
|
809
|
+
const acc_7 = acc_6;
|
|
810
|
+
acc_8 = value_7 == null ? acc_7 : append(acc_7, singleton(["streamable", yBool(value(value_7))]));
|
|
811
|
+
const value_10 = i.Doc;
|
|
812
|
+
const acc_9 = acc_8;
|
|
813
|
+
acc_10 = value_10 == null ? acc_9 : append(acc_9, singleton(["doc", string(value(value_10))]));
|
|
814
|
+
const value_13 = i.Format;
|
|
815
|
+
const acc_11 = acc_10;
|
|
816
|
+
acc_12 = value_13 == null ? acc_11 : append(acc_11, singleton(["format", string(value(value_13))]));
|
|
817
|
+
const value_15 = i.LoadContents;
|
|
818
|
+
const acc_13 = acc_12;
|
|
819
|
+
acc_14 = value_15 == null ? acc_13 : append(acc_13, singleton(["loadContents", yBool(value(value_15))]));
|
|
820
|
+
let encoder_9;
|
|
821
|
+
const f1 = LoadListingEnum_get_toCwlString();
|
|
822
|
+
encoder_9 = (arg) => string(f1(arg));
|
|
823
|
+
const value_18 = i.LoadListing;
|
|
824
|
+
const acc_15 = acc_14;
|
|
825
|
+
acc_16 = value_18 == null ? acc_15 : append(acc_15, singleton(["loadListing", encoder_9(value(value_18))]));
|
|
826
|
+
const value_20 = i.DefaultValue;
|
|
827
|
+
const acc_17 = acc_16;
|
|
828
|
+
acc_18 = value_20 == null ? acc_17 : append(acc_17, singleton(["default", value(value_20)]));
|
|
829
|
+
const value_22 = i.InputBinding;
|
|
830
|
+
const acc_19 = acc_18;
|
|
831
|
+
acc_20 = value_22 == null ? acc_19 : append(acc_19, singleton(["inputBinding", encodeInputBinding(value(value_22))]));
|
|
832
|
+
pairs = appendDynamicPropertiesExcept(CWLInput.KnownFieldNames, i, acc_20);
|
|
833
|
+
let matchResult = void 0, t_1 = void 0;
|
|
715
834
|
if (!isEmpty(pairs)) {
|
|
716
835
|
if (head(pairs)[0] === "type") {
|
|
717
836
|
if (isEmpty(tail(pairs))) {
|
|
718
|
-
|
|
837
|
+
matchResult = 0;
|
|
719
838
|
t_1 = head(pairs)[1];
|
|
720
839
|
} else {
|
|
721
|
-
|
|
840
|
+
matchResult = 1;
|
|
722
841
|
}
|
|
723
842
|
} else {
|
|
724
|
-
|
|
843
|
+
matchResult = 1;
|
|
725
844
|
}
|
|
726
845
|
} else {
|
|
727
|
-
|
|
846
|
+
matchResult = 1;
|
|
728
847
|
}
|
|
729
|
-
switch (
|
|
848
|
+
switch (matchResult) {
|
|
730
849
|
case 0:
|
|
731
850
|
return [i.Name, t_1];
|
|
732
851
|
default:
|
|
@@ -734,81 +853,53 @@ function encodeCWLInput(i) {
|
|
|
734
853
|
}
|
|
735
854
|
}
|
|
736
855
|
function encodeSchemaDefRequirementType(s) {
|
|
737
|
-
|
|
856
|
+
let acc = void 0;
|
|
857
|
+
return yMap((acc = ofArray([["name", string(s.Name)], ["type", encodeCWLType(s.Type_)]]), appendDynamicPropertiesExcept(SchemaDefRequirementType.KnownFieldNames, s, acc)));
|
|
738
858
|
}
|
|
739
859
|
function encodeRequirement(r) {
|
|
740
|
-
let
|
|
860
|
+
let acc_17 = void 0, acc_15 = void 0, acc_13 = void 0, acc_11 = void 0, acc_9 = void 0, acc_7 = void 0, acc_5 = void 0, acc_3 = void 0, value_5 = void 0, acc_4 = void 0, value_8 = void 0, acc_6 = void 0, value_11 = void 0, acc_8 = void 0, value_14 = void 0, acc_10 = void 0, value_17 = void 0, acc_12 = void 0, value_20 = void 0, acc_14 = void 0, value_23 = void 0, acc_16 = void 0, acc_24 = void 0, acc_32 = void 0, acc_33 = void 0, acc_34 = void 0, acc_2 = void 0, value_2 = void 0, option_1 = void 0, entries = void 0, acc_1 = void 0;
|
|
741
861
|
switch (r.tag) {
|
|
742
862
|
case /* SchemaDefRequirement */
|
|
743
863
|
1: {
|
|
744
864
|
const types = r.fields[0];
|
|
745
|
-
return yMap(ofArray([["class", string("SchemaDefRequirement")], ["types", YAMLElement_Sequence(ofSeq(map$
|
|
865
|
+
return yMap(ofArray([["class", string("SchemaDefRequirement")], ["types", YAMLElement_Sequence(ofSeq(map$1(encodeSchemaDefRequirementType, types)))]]));
|
|
746
866
|
}
|
|
747
867
|
case /* DockerRequirement */
|
|
748
868
|
2: {
|
|
749
869
|
const dr = r.fields[0];
|
|
750
|
-
return yMap((
|
|
870
|
+
return yMap((acc_17 = (acc_15 = (acc_13 = (acc_11 = (acc_9 = (acc_7 = (acc_5 = (acc_3 = singleton(["class", string("DockerRequirement")]), value_5 = dr.DockerPull, acc_4 = acc_3, value_5 == null ? acc_4 : append(acc_4, singleton(["dockerPull", string(value(value_5))]))), value_8 = dr.DockerFile, acc_6 = acc_5, value_8 == null ? acc_6 : append(acc_6, singleton(["dockerFile", encodeSchemaSaladString(value(value_8))]))), value_11 = dr.DockerImageId, acc_8 = acc_7, value_11 == null ? acc_8 : append(acc_8, singleton(["dockerImageId", string(value(value_11))]))), value_14 = dr.DockerLoad, acc_10 = acc_9, value_14 == null ? acc_10 : append(acc_10, singleton(["dockerLoad", string(value(value_14))]))), value_17 = dr.DockerImport, acc_12 = acc_11, value_17 == null ? acc_12 : append(acc_12, singleton(["dockerImport", string(value(value_17))]))), value_20 = dr.DockerOutputDirectory, acc_14 = acc_13, value_20 == null ? acc_14 : append(acc_14, singleton(["dockerOutputDirectory", string(value(value_20))]))), value_23 = dr.DockerRunOptions, acc_16 = acc_15, value_23 == null ? acc_16 : append(acc_16, singleton(["cwltool:dockerRunOptions", YAMLElement_Sequence(ofSeq(map$1(string, value(value_23))))]))), appendDynamicPropertiesExcept(DockerRequirement.KnownFieldNames, dr, acc_17)));
|
|
751
871
|
}
|
|
752
872
|
case /* SoftwareRequirement */
|
|
753
873
|
3: {
|
|
754
874
|
const pkgs = r.fields[0];
|
|
755
|
-
return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", YAMLElement_Sequence(ofSeq(map$
|
|
756
|
-
let
|
|
757
|
-
return yMap((
|
|
875
|
+
return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", YAMLElement_Sequence(ofSeq(map$1((p) => {
|
|
876
|
+
let acc_23 = void 0, acc_21 = void 0, acc_19 = void 0, value_26 = void 0, acc_20 = void 0, value_29 = void 0, acc_22 = void 0;
|
|
877
|
+
return yMap((acc_23 = (acc_21 = (acc_19 = append(empty$1(), singleton(["package", string(p.Package)])), value_26 = p.Version, acc_20 = acc_19, value_26 == null ? acc_20 : append(acc_20, singleton(["version", YAMLElement_Sequence(ofSeq(map$1(string, value(value_26))))]))), value_29 = p.Specs, acc_22 = acc_21, value_29 == null ? acc_22 : append(acc_22, singleton(["specs", YAMLElement_Sequence(ofSeq(map$1(string, value(value_29))))]))), appendDynamicPropertiesExcept(SoftwarePackage.KnownFieldNames, p, acc_23)));
|
|
758
878
|
}, pkgs)))]]));
|
|
759
879
|
}
|
|
760
880
|
case /* LoadListingRequirement */
|
|
761
881
|
4: {
|
|
762
882
|
const loadListing = r.fields[0];
|
|
763
|
-
return yMap(ofArray([["class", string("LoadListingRequirement")], ["loadListing", string(LoadListingEnum_get_toCwlString()(loadListing.LoadListing))]]));
|
|
883
|
+
return yMap((acc_24 = ofArray([["class", string("LoadListingRequirement")], ["loadListing", string(LoadListingEnum_get_toCwlString()(loadListing.LoadListing))]]), appendDynamicPropertiesExcept(LoadListingRequirementValue.KnownFieldNames, loadListing, acc_24)));
|
|
764
884
|
}
|
|
765
885
|
case /* InitialWorkDirRequirement */
|
|
766
886
|
5: {
|
|
767
887
|
const listing = r.fields[0];
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
if (typeof matchValue === "string") {
|
|
772
|
-
return [kvp[0], string(matchValue)];
|
|
773
|
-
} else if (typeof matchValue === "boolean") {
|
|
774
|
-
return [kvp[0], yBool(matchValue)];
|
|
775
|
-
} else if (typeof matchValue === "number") {
|
|
776
|
-
return [kvp[0], int(matchValue)];
|
|
777
|
-
} else if (typeof matchValue === "bigint") {
|
|
778
|
-
return [kvp[0], string(int64ToString(matchValue))];
|
|
779
|
-
} else if (typeof matchValue === "number") {
|
|
780
|
-
return [kvp[0], float(matchValue)];
|
|
781
|
-
} else if (matchValue instanceof YAMLElement) {
|
|
782
|
-
return [kvp[0], matchValue];
|
|
783
|
-
} else {
|
|
784
|
-
return void 0;
|
|
785
|
-
}
|
|
786
|
-
}, dynObj.GetProperties(false)));
|
|
787
|
-
if (exists((tupledArg) => tupledArg[0] === "class", dynamicPairs)) {
|
|
788
|
-
return yMap(dynamicPairs);
|
|
789
|
-
} else {
|
|
790
|
-
return yMap(cons(["class", string(className)], dynamicPairs));
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
return yMap(ofArray([["class", string("InitialWorkDirRequirement")], ["listing", YAMLElement_Sequence(ofSeq(map$2((_arg_1) => {
|
|
794
|
-
let value_34, acc_25, value_32, acc_22;
|
|
795
|
-
switch (_arg_1.tag) {
|
|
888
|
+
return yMap(ofArray([["class", string("InitialWorkDirRequirement")], ["listing", YAMLElement_Sequence(ofSeq(map$1((_arg) => {
|
|
889
|
+
let acc_30 = void 0, acc_28 = void 0, value_32 = void 0, acc_26 = void 0, value_34 = void 0, acc_29 = void 0;
|
|
890
|
+
switch (_arg.tag) {
|
|
796
891
|
case /* StringEntry */
|
|
797
892
|
1:
|
|
798
|
-
return encodeSchemaSaladString(
|
|
893
|
+
return encodeSchemaSaladString(_arg.fields[0]);
|
|
799
894
|
case /* FileEntry */
|
|
800
|
-
2:
|
|
801
|
-
|
|
802
|
-
return encodeDynamicObjWithClass("File", arg_1);
|
|
803
|
-
}
|
|
895
|
+
2:
|
|
896
|
+
return yMap(encodeFilePairs("class", "File", _arg.fields[0]));
|
|
804
897
|
case /* DirectoryEntry */
|
|
805
|
-
3:
|
|
806
|
-
|
|
807
|
-
return encodeDynamicObjWithClass("Directory", arg_3);
|
|
808
|
-
}
|
|
898
|
+
3:
|
|
899
|
+
return yMap(encodeDirectoryPairs("class", "Directory", _arg.fields[0]));
|
|
809
900
|
default: {
|
|
810
|
-
const d =
|
|
811
|
-
return yMap((
|
|
901
|
+
const d = _arg.fields[0];
|
|
902
|
+
return yMap((acc_30 = (acc_28 = append((value_32 = d.Entryname, acc_26 = empty$1(), value_32 == null ? acc_26 : append(acc_26, singleton(["entryname", encodeSchemaSaladString(value(value_32))]))), singleton(["entry", encodeSchemaSaladString(d.Entry)])), value_34 = d.Writable, acc_29 = acc_28, value_34 == null ? acc_29 : append(acc_29, singleton(["writable", yBool(value(value_34))]))), appendDynamicPropertiesExcept(DirentInstance.KnownFieldNames, d, acc_30)));
|
|
812
903
|
}
|
|
813
904
|
}
|
|
814
905
|
}, listing)))]]));
|
|
@@ -816,9 +907,10 @@ function encodeRequirement(r) {
|
|
|
816
907
|
case /* EnvVarRequirement */
|
|
817
908
|
6: {
|
|
818
909
|
const envs = r.fields[0];
|
|
819
|
-
return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", YAMLElement_Sequence(ofSeq(map$
|
|
910
|
+
return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", YAMLElement_Sequence(ofSeq(map$1((e) => {
|
|
911
|
+
let acc_31 = void 0;
|
|
820
912
|
const v_12 = normalizeEnvValueForEncode(e.EnvValue);
|
|
821
|
-
return yMap(ofArray([["envName", string(e.EnvName)], ["envValue", string(v_12)]]));
|
|
913
|
+
return yMap((acc_31 = ofArray([["envName", string(e.EnvName)], ["envValue", string(v_12)]]), appendDynamicPropertiesExcept(EnvironmentDef.KnownFieldNames, e, acc_31)));
|
|
822
914
|
}, envs)))]]));
|
|
823
915
|
}
|
|
824
916
|
case /* ShellCommandRequirement */
|
|
@@ -829,11 +921,11 @@ function encodeRequirement(r) {
|
|
|
829
921
|
const rr = r.fields[0];
|
|
830
922
|
const tryEncodeScalar = (key, value_35) => {
|
|
831
923
|
if (typeof value_35 === "number") {
|
|
924
|
+
return [key, yFloat(value_35)];
|
|
925
|
+
} else if (typeof value_35 === "number") {
|
|
832
926
|
return [key, int(value_35)];
|
|
833
927
|
} else if (typeof value_35 === "bigint") {
|
|
834
928
|
return [key, YAMLElement_Value(YAMLContent_create_Z1C3A29C9(int64ToString(value_35)))];
|
|
835
|
-
} else if (typeof value_35 === "number") {
|
|
836
|
-
return [key, float(value_35)];
|
|
837
929
|
} else if (typeof value_35 === "string") {
|
|
838
930
|
return [key, string(value_35)];
|
|
839
931
|
} else if (typeof value_35 === "boolean") {
|
|
@@ -842,16 +934,27 @@ function encodeRequirement(r) {
|
|
|
842
934
|
return void 0;
|
|
843
935
|
}
|
|
844
936
|
};
|
|
845
|
-
const
|
|
846
|
-
const
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
937
|
+
const knownPairs = choose$1((tupledArg) => {
|
|
938
|
+
const binder_2 = curry2(tryEncodeScalar)(tupledArg[0]);
|
|
939
|
+
const option_3 = tupledArg[1];
|
|
940
|
+
if (option_3 != null) {
|
|
941
|
+
return binder_2(value(option_3));
|
|
942
|
+
} else {
|
|
943
|
+
return void 0;
|
|
944
|
+
}
|
|
945
|
+
}, rr.KnownFieldValues);
|
|
946
|
+
const dynamicPairs = toList(choose((kvp) => {
|
|
947
|
+
const matchValue = kvp[1];
|
|
948
|
+
return tryEncodeScalar(kvp[0], matchValue);
|
|
949
|
+
}, dynamicPropertiesExcept(ofSeq$1(map$1((x) => x, ResourceRequirementInstance.KnownFieldNames), {
|
|
950
|
+
Compare: (x_1, y) => comparePrimitives(x_1, y) | 0
|
|
951
|
+
}), rr)));
|
|
952
|
+
return yMap(append(singleton(["class", string("ResourceRequirement")]), append(knownPairs, dynamicPairs)));
|
|
850
953
|
}
|
|
851
954
|
case /* WorkReuseRequirement */
|
|
852
955
|
9: {
|
|
853
956
|
const workReuse = r.fields[0];
|
|
854
|
-
return yMap(ofArray([["class", string("WorkReuse")], ["enableReuse", yBool(workReuse.EnableReuse)]]));
|
|
957
|
+
return yMap((acc_32 = ofArray([["class", string("WorkReuse")], ["enableReuse", yBool(workReuse.EnableReuse)]]), appendDynamicPropertiesExcept(WorkReuseRequirementValue.KnownFieldNames, workReuse, acc_32)));
|
|
855
958
|
}
|
|
856
959
|
case /* WorkReuseExpressionRequirement */
|
|
857
960
|
10: {
|
|
@@ -861,7 +964,7 @@ function encodeRequirement(r) {
|
|
|
861
964
|
case /* NetworkAccessRequirement */
|
|
862
965
|
11: {
|
|
863
966
|
const networkAccess = r.fields[0];
|
|
864
|
-
return yMap(ofArray([["class", string("NetworkAccess")], ["networkAccess", yBool(networkAccess.NetworkAccess)]]));
|
|
967
|
+
return yMap((acc_33 = ofArray([["class", string("NetworkAccess")], ["networkAccess", yBool(networkAccess.NetworkAccess)]]), appendDynamicPropertiesExcept(NetworkAccessRequirementValue.KnownFieldNames, networkAccess, acc_33)));
|
|
865
968
|
}
|
|
866
969
|
case /* NetworkAccessExpressionRequirement */
|
|
867
970
|
12: {
|
|
@@ -871,7 +974,7 @@ function encodeRequirement(r) {
|
|
|
871
974
|
case /* InplaceUpdateRequirement */
|
|
872
975
|
13: {
|
|
873
976
|
const inplaceUpdate = r.fields[0];
|
|
874
|
-
return yMap(ofArray([["class", string("InplaceUpdateRequirement")], ["inplaceUpdate", yBool(inplaceUpdate.InplaceUpdate)]]));
|
|
977
|
+
return yMap((acc_34 = ofArray([["class", string("InplaceUpdateRequirement")], ["inplaceUpdate", yBool(inplaceUpdate.InplaceUpdate)]]), appendDynamicPropertiesExcept(InplaceUpdateRequirementValue.KnownFieldNames, inplaceUpdate, acc_34)));
|
|
875
978
|
}
|
|
876
979
|
case /* ToolTimeLimitRequirement */
|
|
877
980
|
14: {
|
|
@@ -892,29 +995,26 @@ function encodeRequirement(r) {
|
|
|
892
995
|
case /* StepInputExpressionRequirement */
|
|
893
996
|
18:
|
|
894
997
|
return yMap(singleton(["class", string("StepInputExpressionRequirement")]));
|
|
895
|
-
default:
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
} else {
|
|
900
|
-
return void 0;
|
|
901
|
-
}
|
|
902
|
-
}, r.fields[0].ExpressionLib), acc_1 = singleton(["class", string("InlineJavascriptRequirement")]), value_2 == null ? acc_1 : append(acc_1, singleton(["expressionLib", YAMLElement_Sequence(ofSeq(map$2(string, value(value_2))))]))));
|
|
998
|
+
default: {
|
|
999
|
+
const value$1 = r.fields[0];
|
|
1000
|
+
return yMap((acc_2 = (value_2 = (option_1 = value$1.ExpressionLib, option_1 != null ? (entries = value(option_1), entries.length > 0 ? entries : void 0) : void 0), acc_1 = singleton(["class", string("InlineJavascriptRequirement")]), value_2 == null ? acc_1 : append(acc_1, singleton(["expressionLib", YAMLElement_Sequence(ofSeq(map$1(string, value(value_2))))]))), appendDynamicPropertiesExcept(InlineJavascriptRequirementValue.KnownFieldNames, value$1, acc_2)));
|
|
1001
|
+
}
|
|
903
1002
|
}
|
|
904
1003
|
}
|
|
905
1004
|
function encodeHintEntry(hint) {
|
|
906
1005
|
if (hint.tag === /* UnknownHint */
|
|
907
1006
|
1) {
|
|
908
|
-
|
|
1007
|
+
const unknownHint = hint.fields[0];
|
|
1008
|
+
return unknownHint.Raw;
|
|
909
1009
|
} else {
|
|
910
1010
|
return encodeRequirement(hint.fields[0]);
|
|
911
1011
|
}
|
|
912
1012
|
}
|
|
913
1013
|
function encodeSourceArray(sources) {
|
|
914
1014
|
if (sources.length === 1) {
|
|
915
|
-
return string(sources
|
|
1015
|
+
return string(item(0, sources));
|
|
916
1016
|
} else {
|
|
917
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
1017
|
+
return YAMLElement_Sequence(ofSeq(map$1((s) => YAMLElement_Object$(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(s)))), sources)));
|
|
918
1018
|
}
|
|
919
1019
|
}
|
|
920
1020
|
function encodeLinkMergeMethod(linkMerge) {
|
|
@@ -928,34 +1028,44 @@ function encodeScatterMethod(scatterMethod) {
|
|
|
928
1028
|
}
|
|
929
1029
|
function encodeStepInput(si) {
|
|
930
1030
|
let pairs;
|
|
931
|
-
|
|
932
|
-
let
|
|
933
|
-
|
|
934
|
-
let
|
|
935
|
-
|
|
936
|
-
let
|
|
937
|
-
|
|
938
|
-
let
|
|
939
|
-
|
|
940
|
-
let acc_9;
|
|
941
|
-
const value_8 = si.LinkMerge;
|
|
942
|
-
let acc_7;
|
|
943
|
-
const value_6 = si.ValueFrom;
|
|
944
|
-
let acc_5;
|
|
945
|
-
const value_3 = si.DefaultValue;
|
|
946
|
-
let acc_3;
|
|
1031
|
+
let acc_18;
|
|
1032
|
+
let acc_16;
|
|
1033
|
+
let acc_14;
|
|
1034
|
+
let acc_12;
|
|
1035
|
+
let acc_10;
|
|
1036
|
+
let acc_8;
|
|
1037
|
+
let acc_6;
|
|
1038
|
+
let acc_4;
|
|
1039
|
+
let acc_2;
|
|
947
1040
|
const value_1 = si.Source;
|
|
948
|
-
const acc_1 = empty();
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
1041
|
+
const acc_1 = empty$1();
|
|
1042
|
+
acc_2 = value_1 == null ? acc_1 : append(acc_1, singleton(["source", encodeSourceArray(value(value_1))]));
|
|
1043
|
+
const value_3 = si.DefaultValue;
|
|
1044
|
+
const acc_3 = acc_2;
|
|
1045
|
+
acc_4 = value_3 == null ? acc_3 : append(acc_3, singleton(["default", value(value_3)]));
|
|
1046
|
+
const value_6 = si.ValueFrom;
|
|
1047
|
+
const acc_5 = acc_4;
|
|
1048
|
+
acc_6 = value_6 == null ? acc_5 : append(acc_5, singleton(["valueFrom", string(value(value_6))]));
|
|
1049
|
+
const value_8 = si.LinkMerge;
|
|
1050
|
+
const acc_7 = acc_6;
|
|
1051
|
+
acc_8 = value_8 == null ? acc_7 : append(acc_7, singleton(["linkMerge", encodeLinkMergeMethod(value(value_8))]));
|
|
1052
|
+
const value_10 = si.PickValue;
|
|
1053
|
+
const acc_9 = acc_8;
|
|
1054
|
+
acc_10 = value_10 == null ? acc_9 : append(acc_9, singleton(["pickValue", encodePickValueMethod(value(value_10))]));
|
|
1055
|
+
const value_13 = si.Doc;
|
|
1056
|
+
const acc_11 = acc_10;
|
|
1057
|
+
acc_12 = value_13 == null ? acc_11 : append(acc_11, singleton(["doc", string(value(value_13))]));
|
|
1058
|
+
const value_15 = si.LoadContents;
|
|
1059
|
+
const acc_13 = acc_12;
|
|
1060
|
+
acc_14 = value_15 == null ? acc_13 : append(acc_13, singleton(["loadContents", yBool(value(value_15))]));
|
|
1061
|
+
const value_18 = si.LoadListing;
|
|
1062
|
+
const acc_15 = acc_14;
|
|
1063
|
+
acc_16 = value_18 == null ? acc_15 : append(acc_15, singleton(["loadListing", string(value(value_18))]));
|
|
1064
|
+
const value_21 = si.Label;
|
|
1065
|
+
const acc_17 = acc_16;
|
|
1066
|
+
acc_18 = value_21 == null ? acc_17 : append(acc_17, singleton(["label", string(value(value_21))]));
|
|
1067
|
+
pairs = appendDynamicPropertiesExcept(StepInput.KnownFieldNames, si, acc_18);
|
|
1068
|
+
let matchResult = void 0, s_1 = void 0;
|
|
959
1069
|
if (!isEmpty(pairs)) {
|
|
960
1070
|
if (head(pairs)[0] === "source") {
|
|
961
1071
|
if (isEmpty(tail(pairs))) {
|
|
@@ -982,13 +1092,14 @@ function encodeStepInput(si) {
|
|
|
982
1092
|
}
|
|
983
1093
|
}
|
|
984
1094
|
function encodeStepInputs(inputs) {
|
|
985
|
-
return yMap(toList(map$
|
|
1095
|
+
return yMap(toList(map$1(encodeStepInput, inputs)));
|
|
986
1096
|
}
|
|
987
1097
|
function encodeStepOutputParameter(so) {
|
|
988
|
-
|
|
1098
|
+
let acc = void 0;
|
|
1099
|
+
return yMap((acc = singleton(["id", string(so.Id)]), appendDynamicPropertiesExcept(StepOutputParameter.KnownFieldNames, so, acc)));
|
|
989
1100
|
}
|
|
990
1101
|
function encodeStepOutputs(outputs) {
|
|
991
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
1102
|
+
return YAMLElement_Sequence(ofSeq(map$1((output) => {
|
|
992
1103
|
if (output.tag === /* StepOutputRecord */
|
|
993
1104
|
1) {
|
|
994
1105
|
return encodeStepOutputParameter(output.fields[0]);
|
|
@@ -999,9 +1110,9 @@ function encodeStepOutputs(outputs) {
|
|
|
999
1110
|
}
|
|
1000
1111
|
function encodeScatter(scatter) {
|
|
1001
1112
|
if (scatter.length === 1) {
|
|
1002
|
-
return string(scatter
|
|
1113
|
+
return string(item(0, scatter));
|
|
1003
1114
|
} else {
|
|
1004
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
1115
|
+
return YAMLElement_Sequence(ofSeq(map$1(string, scatter)));
|
|
1005
1116
|
}
|
|
1006
1117
|
}
|
|
1007
1118
|
function encodeWorkflowStepRun(run) {
|
|
@@ -1011,7 +1122,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1011
1122
|
const toolObj = run.fields[0];
|
|
1012
1123
|
const matchValue = WorkflowStepRunOps_tryGetTool(run);
|
|
1013
1124
|
if (matchValue == null) {
|
|
1014
|
-
throw
|
|
1125
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunCommandLineTool must contain CWLToolDescription but got ${interpolate("%A%P()", [toolObj])}`);
|
|
1015
1126
|
} else {
|
|
1016
1127
|
return encodeToolDescriptionElement(value(matchValue));
|
|
1017
1128
|
}
|
|
@@ -1021,7 +1132,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1021
1132
|
const workflowObj = run.fields[0];
|
|
1022
1133
|
const matchValue_1 = WorkflowStepRunOps_tryGetWorkflow(run);
|
|
1023
1134
|
if (matchValue_1 == null) {
|
|
1024
|
-
throw
|
|
1135
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunWorkflow must contain CWLWorkflowDescription but got ${interpolate("%A%P()", [workflowObj])}`);
|
|
1025
1136
|
} else {
|
|
1026
1137
|
return encodeWorkflowDescriptionElement(value(matchValue_1));
|
|
1027
1138
|
}
|
|
@@ -1031,7 +1142,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1031
1142
|
const expressionToolObj = run.fields[0];
|
|
1032
1143
|
const matchValue_2 = WorkflowStepRunOps_tryGetExpressionTool(run);
|
|
1033
1144
|
if (matchValue_2 == null) {
|
|
1034
|
-
throw
|
|
1145
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunExpressionTool must contain CWLExpressionToolDescription but got ${interpolate("%A%P()", [expressionToolObj])}`);
|
|
1035
1146
|
} else {
|
|
1036
1147
|
return encodeExpressionToolDescriptionElement(value(matchValue_2));
|
|
1037
1148
|
}
|
|
@@ -1041,7 +1152,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1041
1152
|
const operationObj = run.fields[0];
|
|
1042
1153
|
const matchValue_3 = WorkflowStepRunOps_tryGetOperation(run);
|
|
1043
1154
|
if (matchValue_3 == null) {
|
|
1044
|
-
throw
|
|
1155
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunOperation must contain CWLOperationDescription but got ${interpolate("%A%P()", [operationObj])}`);
|
|
1045
1156
|
} else {
|
|
1046
1157
|
return encodeOperationDescriptionElement(value(matchValue_3));
|
|
1047
1158
|
}
|
|
@@ -1051,27 +1162,37 @@ function encodeWorkflowStepRun(run) {
|
|
|
1051
1162
|
}
|
|
1052
1163
|
}
|
|
1053
1164
|
function encodeToolDescriptionElement(td) {
|
|
1054
|
-
let h, r, bc, matchValue_3, i, i_1
|
|
1165
|
+
let intent = void 0, h = void 0, r = void 0, bc = void 0, matchValue_3 = void 0, i = void 0, i_1 = void 0;
|
|
1055
1166
|
let basePairs;
|
|
1056
1167
|
let acc_6;
|
|
1057
1168
|
let acc_4;
|
|
1058
1169
|
let acc_2;
|
|
1059
1170
|
const acc = ofArray([["cwlVersion", string(td.CWLVersion)], ["class", string("CommandLineTool")]]);
|
|
1060
|
-
|
|
1171
|
+
let pairOpt_1;
|
|
1172
|
+
const option_1 = td.Id;
|
|
1173
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1061
1174
|
const acc_1 = acc;
|
|
1062
1175
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1063
|
-
|
|
1176
|
+
let pairOpt_3;
|
|
1177
|
+
const option_3 = td.Label;
|
|
1178
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1064
1179
|
const acc_3 = acc_2;
|
|
1065
1180
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1066
|
-
|
|
1181
|
+
let pairOpt_5;
|
|
1182
|
+
const option_5 = td.Doc;
|
|
1183
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1067
1184
|
const acc_5 = acc_4;
|
|
1068
1185
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1069
|
-
|
|
1186
|
+
let pairOpt_7;
|
|
1187
|
+
let option_9;
|
|
1188
|
+
const option_7 = td.Intent;
|
|
1189
|
+
option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
|
|
1190
|
+
pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
|
|
1070
1191
|
const acc_7 = acc_6;
|
|
1071
1192
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1072
1193
|
let withHints;
|
|
1073
1194
|
const matchValue = td.Hints;
|
|
1074
|
-
let matchResult, h_1;
|
|
1195
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1075
1196
|
if (matchValue != null) {
|
|
1076
1197
|
if (h = value(matchValue), h.length > 0) {
|
|
1077
1198
|
matchResult = 0;
|
|
@@ -1084,7 +1205,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1084
1205
|
}
|
|
1085
1206
|
switch (matchResult) {
|
|
1086
1207
|
case 0: {
|
|
1087
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1208
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1088
1209
|
break;
|
|
1089
1210
|
}
|
|
1090
1211
|
default:
|
|
@@ -1092,7 +1213,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1092
1213
|
}
|
|
1093
1214
|
let withRequirements;
|
|
1094
1215
|
const matchValue_1 = td.Requirements;
|
|
1095
|
-
let matchResult_1, r_1;
|
|
1216
|
+
let matchResult_1 = void 0, r_1 = void 0;
|
|
1096
1217
|
if (matchValue_1 != null) {
|
|
1097
1218
|
if (r = value(matchValue_1), r.length > 0) {
|
|
1098
1219
|
matchResult_1 = 0;
|
|
@@ -1105,7 +1226,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1105
1226
|
}
|
|
1106
1227
|
switch (matchResult_1) {
|
|
1107
1228
|
case 0: {
|
|
1108
|
-
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1229
|
+
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
|
|
1109
1230
|
break;
|
|
1110
1231
|
}
|
|
1111
1232
|
default:
|
|
@@ -1113,7 +1234,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1113
1234
|
}
|
|
1114
1235
|
let withBaseCommand;
|
|
1115
1236
|
const matchValue_2 = td.BaseCommand;
|
|
1116
|
-
let matchResult_2, bc_1;
|
|
1237
|
+
let matchResult_2 = void 0, bc_1 = void 0;
|
|
1117
1238
|
if (matchValue_2 != null) {
|
|
1118
1239
|
if (bc = value(matchValue_2), bc.length > 0) {
|
|
1119
1240
|
matchResult_2 = 0;
|
|
@@ -1126,40 +1247,78 @@ function encodeToolDescriptionElement(td) {
|
|
|
1126
1247
|
}
|
|
1127
1248
|
switch (matchResult_2) {
|
|
1128
1249
|
case 0: {
|
|
1129
|
-
withBaseCommand = append(withRequirements, singleton(["baseCommand", YAMLElement_Sequence(ofSeq(map$
|
|
1250
|
+
withBaseCommand = append(withRequirements, singleton(["baseCommand", YAMLElement_Sequence(ofSeq(map$1(string, bc_1)))]));
|
|
1130
1251
|
break;
|
|
1131
1252
|
}
|
|
1132
1253
|
default:
|
|
1133
1254
|
withBaseCommand = withRequirements;
|
|
1134
1255
|
}
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1256
|
+
let withCommandFields;
|
|
1257
|
+
let acc_20;
|
|
1258
|
+
let acc_18;
|
|
1259
|
+
let acc_16;
|
|
1260
|
+
let acc_14;
|
|
1261
|
+
let acc_12;
|
|
1262
|
+
let acc_10;
|
|
1263
|
+
const value_2 = td.Arguments;
|
|
1264
|
+
const acc_9 = withBaseCommand;
|
|
1265
|
+
acc_10 = value_2 == null ? acc_9 : append(acc_9, singleton(["arguments", value(value_2)]));
|
|
1266
|
+
const value_5 = td.Stdin;
|
|
1267
|
+
const acc_11 = acc_10;
|
|
1268
|
+
acc_12 = value_5 == null ? acc_11 : append(acc_11, singleton(["stdin", string(value(value_5))]));
|
|
1269
|
+
const value_8 = td.Stderr;
|
|
1270
|
+
const acc_13 = acc_12;
|
|
1271
|
+
acc_14 = value_8 == null ? acc_13 : append(acc_13, singleton(["stderr", string(value(value_8))]));
|
|
1272
|
+
const value_11 = td.Stdout;
|
|
1273
|
+
const acc_15 = acc_14;
|
|
1274
|
+
acc_16 = value_11 == null ? acc_15 : append(acc_15, singleton(["stdout", string(value(value_11))]));
|
|
1275
|
+
const value_14 = td.SuccessCodes;
|
|
1276
|
+
const acc_17 = acc_16;
|
|
1277
|
+
acc_18 = value_14 == null ? acc_17 : append(acc_17, singleton(["successCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_14))))]));
|
|
1278
|
+
const value_17 = td.TemporaryFailCodes;
|
|
1279
|
+
const acc_19 = acc_18;
|
|
1280
|
+
acc_20 = value_17 == null ? acc_19 : append(acc_19, singleton(["temporaryFailCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_17))))]));
|
|
1281
|
+
const value_20 = td.PermanentFailCodes;
|
|
1282
|
+
const acc_21 = acc_20;
|
|
1283
|
+
withCommandFields = value_20 == null ? acc_21 : append(acc_21, singleton(["permanentFailCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_20))))]));
|
|
1284
|
+
const withOutputs = append((matchValue_3 = td.Inputs, matchValue_3 != null ? (i = value(matchValue_3), i.length > 0) ? (i_1 = value(matchValue_3), append(withCommandFields, singleton(["inputs", yMap(toList(map$1(encodeCWLInput, i_1)))]))) : withCommandFields : withCommandFields), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, td.Outputs)))]));
|
|
1285
|
+
let withMetadata;
|
|
1286
|
+
const matchValue_4 = td.Metadata;
|
|
1287
|
+
withMetadata = matchValue_4 == null ? withOutputs : appendDynamicProperties(value(matchValue_4), withOutputs);
|
|
1288
|
+
return yMap(appendDynamicPropertiesExcept(CWLToolDescription.KnownFieldNames, td, withMetadata));
|
|
1140
1289
|
}
|
|
1141
1290
|
function encodeExpressionToolDescriptionElement(et) {
|
|
1142
|
-
let h, r, matchValue_2, i, i_1
|
|
1291
|
+
let intent = void 0, h = void 0, r = void 0, matchValue_2 = void 0, i = void 0, i_1 = void 0;
|
|
1143
1292
|
let basePairs;
|
|
1144
1293
|
let acc_6;
|
|
1145
1294
|
let acc_4;
|
|
1146
1295
|
let acc_2;
|
|
1147
1296
|
const acc = ofArray([["cwlVersion", string(et.CWLVersion)], ["class", string("ExpressionTool")]]);
|
|
1148
|
-
|
|
1297
|
+
let pairOpt_1;
|
|
1298
|
+
const option_1 = et.Id;
|
|
1299
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1149
1300
|
const acc_1 = acc;
|
|
1150
1301
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1151
|
-
|
|
1302
|
+
let pairOpt_3;
|
|
1303
|
+
const option_3 = et.Label;
|
|
1304
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1152
1305
|
const acc_3 = acc_2;
|
|
1153
1306
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1154
|
-
|
|
1307
|
+
let pairOpt_5;
|
|
1308
|
+
const option_5 = et.Doc;
|
|
1309
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1155
1310
|
const acc_5 = acc_4;
|
|
1156
1311
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1157
|
-
|
|
1312
|
+
let pairOpt_7;
|
|
1313
|
+
let option_9;
|
|
1314
|
+
const option_7 = et.Intent;
|
|
1315
|
+
option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
|
|
1316
|
+
pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
|
|
1158
1317
|
const acc_7 = acc_6;
|
|
1159
1318
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1160
1319
|
let withHints;
|
|
1161
1320
|
const matchValue = et.Hints;
|
|
1162
|
-
let matchResult, h_1;
|
|
1321
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1163
1322
|
if (matchValue != null) {
|
|
1164
1323
|
if (h = value(matchValue), h.length > 0) {
|
|
1165
1324
|
matchResult = 0;
|
|
@@ -1172,7 +1331,7 @@ function encodeExpressionToolDescriptionElement(et) {
|
|
|
1172
1331
|
}
|
|
1173
1332
|
switch (matchResult) {
|
|
1174
1333
|
case 0: {
|
|
1175
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1334
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1176
1335
|
break;
|
|
1177
1336
|
}
|
|
1178
1337
|
default:
|
|
@@ -1180,7 +1339,7 @@ function encodeExpressionToolDescriptionElement(et) {
|
|
|
1180
1339
|
}
|
|
1181
1340
|
let withRequirements;
|
|
1182
1341
|
const matchValue_1 = et.Requirements;
|
|
1183
|
-
let matchResult_1, r_1;
|
|
1342
|
+
let matchResult_1 = void 0, r_1 = void 0;
|
|
1184
1343
|
if (matchValue_1 != null) {
|
|
1185
1344
|
if (r = value(matchValue_1), r.length > 0) {
|
|
1186
1345
|
matchResult_1 = 0;
|
|
@@ -1193,40 +1352,50 @@ function encodeExpressionToolDescriptionElement(et) {
|
|
|
1193
1352
|
}
|
|
1194
1353
|
switch (matchResult_1) {
|
|
1195
1354
|
case 0: {
|
|
1196
|
-
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1355
|
+
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
|
|
1197
1356
|
break;
|
|
1198
1357
|
}
|
|
1199
1358
|
default:
|
|
1200
1359
|
withRequirements = withHints;
|
|
1201
1360
|
}
|
|
1202
|
-
const withExpression = append(append((matchValue_2 = et.Inputs, matchValue_2 != null ? (i = value(matchValue_2), i.length > 0) ? (i_1 = value(matchValue_2), append(withRequirements, singleton(["inputs", yMap(toList(map$
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1361
|
+
const withExpression = append(append((matchValue_2 = et.Inputs, matchValue_2 != null ? (i = value(matchValue_2), i.length > 0) ? (i_1 = value(matchValue_2), append(withRequirements, singleton(["inputs", yMap(toList(map$1(encodeCWLInput, i_1)))]))) : withRequirements : withRequirements), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, et.Outputs)))])), singleton(["expression", encodeExpressionScalar(et.Expression)]));
|
|
1362
|
+
let withMetadata;
|
|
1363
|
+
const matchValue_3 = et.Metadata;
|
|
1364
|
+
withMetadata = matchValue_3 == null ? withExpression : appendDynamicProperties(value(matchValue_3), withExpression);
|
|
1365
|
+
return yMap(appendDynamicPropertiesExcept(CWLExpressionToolDescription.KnownFieldNames, et, withMetadata));
|
|
1207
1366
|
}
|
|
1208
1367
|
function encodeOperationDescriptionElement(op) {
|
|
1209
|
-
let h, matchValue_1, r, r_1
|
|
1368
|
+
let intent = void 0, h = void 0, matchValue_1 = void 0, r = void 0, r_1 = void 0;
|
|
1210
1369
|
let basePairs;
|
|
1211
1370
|
let acc_6;
|
|
1212
1371
|
let acc_4;
|
|
1213
1372
|
let acc_2;
|
|
1214
1373
|
const acc = ofArray([["cwlVersion", string(op.CWLVersion)], ["class", string("Operation")]]);
|
|
1215
|
-
|
|
1374
|
+
let pairOpt_1;
|
|
1375
|
+
const option_1 = op.Id;
|
|
1376
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1216
1377
|
const acc_1 = acc;
|
|
1217
1378
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1218
|
-
|
|
1379
|
+
let pairOpt_3;
|
|
1380
|
+
const option_3 = op.Label;
|
|
1381
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1219
1382
|
const acc_3 = acc_2;
|
|
1220
1383
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1221
|
-
|
|
1384
|
+
let pairOpt_5;
|
|
1385
|
+
const option_5 = op.Doc;
|
|
1386
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1222
1387
|
const acc_5 = acc_4;
|
|
1223
1388
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1224
|
-
|
|
1389
|
+
let pairOpt_7;
|
|
1390
|
+
let option_9;
|
|
1391
|
+
const option_7 = op.Intent;
|
|
1392
|
+
option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
|
|
1393
|
+
pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
|
|
1225
1394
|
const acc_7 = acc_6;
|
|
1226
1395
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1227
1396
|
let withHints;
|
|
1228
1397
|
const matchValue = op.Hints;
|
|
1229
|
-
let matchResult, h_1;
|
|
1398
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1230
1399
|
if (matchValue != null) {
|
|
1231
1400
|
if (h = value(matchValue), h.length > 0) {
|
|
1232
1401
|
matchResult = 0;
|
|
@@ -1239,40 +1408,50 @@ function encodeOperationDescriptionElement(op) {
|
|
|
1239
1408
|
}
|
|
1240
1409
|
switch (matchResult) {
|
|
1241
1410
|
case 0: {
|
|
1242
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1411
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1243
1412
|
break;
|
|
1244
1413
|
}
|
|
1245
1414
|
default:
|
|
1246
1415
|
withHints = basePairs;
|
|
1247
1416
|
}
|
|
1248
|
-
const withOutputs = append(append((matchValue_1 = op.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1417
|
+
const withOutputs = append(append((matchValue_1 = op.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]))) : withHints : withHints), singleton(["inputs", yMap(toList(map$1(encodeCWLInput, op.Inputs)))])), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, op.Outputs)))]));
|
|
1418
|
+
let withMetadata;
|
|
1419
|
+
const matchValue_2 = op.Metadata;
|
|
1420
|
+
withMetadata = matchValue_2 == null ? withOutputs : appendDynamicProperties(value(matchValue_2), withOutputs);
|
|
1421
|
+
return yMap(appendDynamicPropertiesExcept(CWLOperationDescription.KnownFieldNames, op, withMetadata));
|
|
1253
1422
|
}
|
|
1254
1423
|
function encodeWorkflowDescriptionElement(wd) {
|
|
1255
|
-
let h, matchValue_1, r, r_1
|
|
1424
|
+
let intent = void 0, h = void 0, matchValue_1 = void 0, r = void 0, r_1 = void 0;
|
|
1256
1425
|
let basePairs;
|
|
1257
1426
|
let acc_6;
|
|
1258
1427
|
let acc_4;
|
|
1259
1428
|
let acc_2;
|
|
1260
1429
|
const acc = ofArray([["cwlVersion", string(wd.CWLVersion)], ["class", string("Workflow")]]);
|
|
1261
|
-
|
|
1430
|
+
let pairOpt_1;
|
|
1431
|
+
const option_1 = wd.Id;
|
|
1432
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1262
1433
|
const acc_1 = acc;
|
|
1263
1434
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1264
|
-
|
|
1435
|
+
let pairOpt_3;
|
|
1436
|
+
const option_3 = wd.Label;
|
|
1437
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1265
1438
|
const acc_3 = acc_2;
|
|
1266
1439
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1267
|
-
|
|
1440
|
+
let pairOpt_5;
|
|
1441
|
+
const option_5 = wd.Doc;
|
|
1442
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1268
1443
|
const acc_5 = acc_4;
|
|
1269
1444
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1270
|
-
|
|
1445
|
+
let pairOpt_7;
|
|
1446
|
+
let option_9;
|
|
1447
|
+
const option_7 = wd.Intent;
|
|
1448
|
+
option_9 = option_7 != null ? (intent = value(option_7), intent.length > 0) ? option_7 : void 0 : void 0;
|
|
1449
|
+
pairOpt_7 = option_9 != null ? encodeIntent(value(option_9)) : void 0;
|
|
1271
1450
|
const acc_7 = acc_6;
|
|
1272
1451
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1273
1452
|
let withHints;
|
|
1274
1453
|
const matchValue = wd.Hints;
|
|
1275
|
-
let matchResult, h_1;
|
|
1454
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1276
1455
|
if (matchValue != null) {
|
|
1277
1456
|
if (h = value(matchValue), h.length > 0) {
|
|
1278
1457
|
matchResult = 0;
|
|
@@ -1285,21 +1464,22 @@ function encodeWorkflowDescriptionElement(wd) {
|
|
|
1285
1464
|
}
|
|
1286
1465
|
switch (matchResult) {
|
|
1287
1466
|
case 0: {
|
|
1288
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1467
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1289
1468
|
break;
|
|
1290
1469
|
}
|
|
1291
1470
|
default:
|
|
1292
1471
|
withHints = basePairs;
|
|
1293
1472
|
}
|
|
1294
|
-
const withOutputs = append(append(append((matchValue_1 = wd.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1473
|
+
const withOutputs = append(append(append((matchValue_1 = wd.Requirements, matchValue_1 != null ? (r = value(matchValue_1), r.length > 0) ? (r_1 = value(matchValue_1), append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]))) : withHints : withHints), singleton(["inputs", yMap(toList(map$1(encodeCWLInput, wd.Inputs)))])), singleton(["steps", yMap(toList(map$1(encodeWorkflowStep, wd.Steps)))])), singleton(["outputs", yMap(toList(map$1(encodeCWLOutput, wd.Outputs)))]));
|
|
1474
|
+
let withMetadata;
|
|
1475
|
+
const matchValue_2 = wd.Metadata;
|
|
1476
|
+
withMetadata = matchValue_2 == null ? withOutputs : appendDynamicProperties(value(matchValue_2), withOutputs);
|
|
1477
|
+
return yMap(appendDynamicPropertiesExcept(CWLWorkflowDescription.KnownFieldNames, wd, withMetadata));
|
|
1299
1478
|
}
|
|
1300
1479
|
function encodeWorkflowStep(ws) {
|
|
1301
|
-
let h, r;
|
|
1480
|
+
let h = void 0, r = void 0;
|
|
1302
1481
|
let basePairs;
|
|
1482
|
+
let acc_10;
|
|
1303
1483
|
let acc_8;
|
|
1304
1484
|
let acc_6;
|
|
1305
1485
|
let acc_4;
|
|
@@ -1319,10 +1499,11 @@ function encodeWorkflowStep(ws) {
|
|
|
1319
1499
|
acc_8 = value_9 == null ? acc_7 : append(acc_7, singleton(["scatterMethod", encodeScatterMethod(value(value_9))]));
|
|
1320
1500
|
const value_12 = ws.When_;
|
|
1321
1501
|
const acc_9 = acc_8;
|
|
1322
|
-
|
|
1502
|
+
acc_10 = value_12 == null ? acc_9 : append(acc_9, singleton(["when", string(value(value_12))]));
|
|
1503
|
+
basePairs = appendDynamicPropertiesExcept(WorkflowStep.KnownFieldNames, ws, acc_10);
|
|
1323
1504
|
let withHints;
|
|
1324
1505
|
const matchValue = ws.Hints;
|
|
1325
|
-
let matchResult, h_1;
|
|
1506
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1326
1507
|
if (matchValue != null) {
|
|
1327
1508
|
if (h = value(matchValue), h.length > 0) {
|
|
1328
1509
|
matchResult = 0;
|
|
@@ -1335,7 +1516,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1335
1516
|
}
|
|
1336
1517
|
switch (matchResult) {
|
|
1337
1518
|
case 0: {
|
|
1338
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1519
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1339
1520
|
break;
|
|
1340
1521
|
}
|
|
1341
1522
|
default:
|
|
@@ -1343,7 +1524,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1343
1524
|
}
|
|
1344
1525
|
let withReq;
|
|
1345
1526
|
const matchValue_1 = ws.Requirements;
|
|
1346
|
-
let matchResult_1, r_1;
|
|
1527
|
+
let matchResult_1 = void 0, r_1 = void 0;
|
|
1347
1528
|
if (matchValue_1 != null) {
|
|
1348
1529
|
if (r = value(matchValue_1), r.length > 0) {
|
|
1349
1530
|
matchResult_1 = 0;
|
|
@@ -1356,7 +1537,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1356
1537
|
}
|
|
1357
1538
|
switch (matchResult_1) {
|
|
1358
1539
|
case 0: {
|
|
1359
|
-
withReq = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1540
|
+
withReq = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
|
|
1360
1541
|
break;
|
|
1361
1542
|
}
|
|
1362
1543
|
default:
|
|
@@ -1367,10 +1548,93 @@ function encodeWorkflowStep(ws) {
|
|
|
1367
1548
|
function writeYaml(element) {
|
|
1368
1549
|
return write(element, (c) => new Config(2, c.Level));
|
|
1369
1550
|
}
|
|
1551
|
+
function encodeCWLParameterReference(reference) {
|
|
1552
|
+
let option_1 = void 0;
|
|
1553
|
+
const encodedValue = defaultArg((option_1 = reference.Value, option_1 != null ? encodeCWLParameterValue(value(option_1)) : void 0), YAMLElement_Sequence(empty$1()));
|
|
1554
|
+
const dynamicPairs = toList(choose((property) => {
|
|
1555
|
+
const option_4 = encodeDynamicValue(property[1]);
|
|
1556
|
+
if (option_4 != null) {
|
|
1557
|
+
return [property[0], value(option_4)];
|
|
1558
|
+
} else {
|
|
1559
|
+
return void 0;
|
|
1560
|
+
}
|
|
1561
|
+
}, dynamicPropertiesExcept(CWLParameterReference.KnownFieldNames, reference)));
|
|
1562
|
+
let inferredType;
|
|
1563
|
+
const option_6 = reference.Value;
|
|
1564
|
+
inferredType = option_6 != null ? CWLParameterValueModule_tryInferType(value(option_6)) : void 0;
|
|
1565
|
+
let explicitTypePair;
|
|
1566
|
+
const matchValue = reference.Type;
|
|
1567
|
+
let matchResult = void 0, type__1 = void 0;
|
|
1568
|
+
if (matchValue != null) {
|
|
1569
|
+
if (!equals(inferredType, value(matchValue))) {
|
|
1570
|
+
matchResult = 0;
|
|
1571
|
+
type__1 = value(matchValue);
|
|
1572
|
+
} else {
|
|
1573
|
+
matchResult = 1;
|
|
1574
|
+
}
|
|
1575
|
+
} else {
|
|
1576
|
+
matchResult = 1;
|
|
1577
|
+
}
|
|
1578
|
+
switch (matchResult) {
|
|
1579
|
+
case 0: {
|
|
1580
|
+
explicitTypePair = ["type", encodeCWLType(type__1)];
|
|
1581
|
+
break;
|
|
1582
|
+
}
|
|
1583
|
+
default:
|
|
1584
|
+
explicitTypePair = void 0;
|
|
1585
|
+
}
|
|
1586
|
+
let encodedReference;
|
|
1587
|
+
let matchResult_1 = void 0, overflow_1 = void 0, typePair = void 0, value_5 = void 0;
|
|
1588
|
+
if (explicitTypePair == null) {
|
|
1589
|
+
if (isEmpty(dynamicPairs)) {
|
|
1590
|
+
matchResult_1 = 0;
|
|
1591
|
+
} else if (encodedValue.tag === /* Object */
|
|
1592
|
+
3) {
|
|
1593
|
+
matchResult_1 = 1;
|
|
1594
|
+
} else {
|
|
1595
|
+
matchResult_1 = 2;
|
|
1596
|
+
overflow_1 = dynamicPairs;
|
|
1597
|
+
typePair = explicitTypePair;
|
|
1598
|
+
value_5 = encodedValue;
|
|
1599
|
+
}
|
|
1600
|
+
} else {
|
|
1601
|
+
matchResult_1 = 2;
|
|
1602
|
+
overflow_1 = dynamicPairs;
|
|
1603
|
+
typePair = explicitTypePair;
|
|
1604
|
+
value_5 = encodedValue;
|
|
1605
|
+
}
|
|
1606
|
+
switch (matchResult_1) {
|
|
1607
|
+
case 0: {
|
|
1608
|
+
encodedReference = encodedValue;
|
|
1609
|
+
break;
|
|
1610
|
+
}
|
|
1611
|
+
case 1: {
|
|
1612
|
+
const valuePairs = choose$1((_arg) => {
|
|
1613
|
+
if (_arg.tag === /* Mapping */
|
|
1614
|
+
0) {
|
|
1615
|
+
return [_arg.fields[0].Value, _arg.fields[1]];
|
|
1616
|
+
} else {
|
|
1617
|
+
return void 0;
|
|
1618
|
+
}
|
|
1619
|
+
}, encodedValue.fields[0]);
|
|
1620
|
+
const valueKeys = ofSeq$1(map$1((tuple) => tuple[0], valuePairs), {
|
|
1621
|
+
Compare: (x, y) => comparePrimitives(x, y) | 0
|
|
1622
|
+
});
|
|
1623
|
+
encodedReference = yMap(append(valuePairs, filter((tupledArg) => !contains(tupledArg[0], valueKeys), dynamicPairs)));
|
|
1624
|
+
break;
|
|
1625
|
+
}
|
|
1626
|
+
default:
|
|
1627
|
+
encodedReference = yMap(toList(delay(() => append$1(ofArray(toArray(typePair)), delay(() => append$1(singleton$1(["value", value_5]), delay(() => overflow_1)))))));
|
|
1628
|
+
}
|
|
1629
|
+
return [reference.Key, encodedReference];
|
|
1630
|
+
}
|
|
1631
|
+
function encodeYAMLParameterFile(references) {
|
|
1632
|
+
return writeYaml(yMap(toList(map$1(encodeCWLParameterReference, references))));
|
|
1633
|
+
}
|
|
1370
1634
|
function getObjectPairs(element) {
|
|
1371
1635
|
if (element.tag === /* Object */
|
|
1372
1636
|
3) {
|
|
1373
|
-
return choose((_arg) => {
|
|
1637
|
+
return choose$1((_arg) => {
|
|
1374
1638
|
if (_arg.tag === /* Mapping */
|
|
1375
1639
|
0) {
|
|
1376
1640
|
return [_arg.fields[0].Value, _arg.fields[1]];
|
|
@@ -1379,26 +1643,33 @@ function getObjectPairs(element) {
|
|
|
1379
1643
|
}
|
|
1380
1644
|
}, element.fields[0]);
|
|
1381
1645
|
} else {
|
|
1382
|
-
return empty();
|
|
1646
|
+
return empty$1();
|
|
1383
1647
|
}
|
|
1384
1648
|
}
|
|
1385
1649
|
function renderTopLevelElement(baseKeys, orderedSectionKeys, element) {
|
|
1386
1650
|
const section = (pairs) => trimEnd(replace(writeYaml(yMap(pairs)), "\r\n", "\n"), "\n");
|
|
1387
1651
|
const pairs_2 = getObjectPairs(element);
|
|
1388
|
-
const basePairs = filter
|
|
1652
|
+
const basePairs = filter((tupledArg) => contains$1(tupledArg[0], baseKeys, {
|
|
1389
1653
|
Equals: (x, y) => x === y,
|
|
1390
|
-
GetHashCode: stringHash
|
|
1654
|
+
GetHashCode: (x) => stringHash(x) | 0
|
|
1391
1655
|
}), pairs_2);
|
|
1392
|
-
const knownSections = choose((sectionKey) =>
|
|
1656
|
+
const knownSections = choose$1((sectionKey) => {
|
|
1657
|
+
const option_1 = tryFind((tupledArg_1) => tupledArg_1[0] === sectionKey, pairs_2);
|
|
1658
|
+
if (option_1 != null) {
|
|
1659
|
+
return singleton(value(option_1));
|
|
1660
|
+
} else {
|
|
1661
|
+
return void 0;
|
|
1662
|
+
}
|
|
1663
|
+
}, orderedSectionKeys);
|
|
1393
1664
|
const reservedKeys = ofList(append(baseKeys, orderedSectionKeys), {
|
|
1394
|
-
Compare: comparePrimitives
|
|
1665
|
+
Compare: (x_1, y_1) => comparePrimitives(x_1, y_1) | 0
|
|
1395
1666
|
});
|
|
1396
|
-
const metadataPairs = filter
|
|
1667
|
+
const metadataPairs = filter((tupledArg_2) => !FSharpSet__Contains(reservedKeys, tupledArg_2[0]), pairs_2);
|
|
1397
1668
|
const merge = (acc_mut, remaining_mut) => {
|
|
1398
1669
|
merge:
|
|
1399
1670
|
while (true) {
|
|
1400
1671
|
const acc = acc_mut, remaining = remaining_mut;
|
|
1401
|
-
let matchResult, a_1, b_1, rest_1, l, rest_2;
|
|
1672
|
+
let matchResult = void 0, a_1 = void 0, b_1 = void 0, rest_1 = void 0, l = void 0, rest_2 = void 0;
|
|
1402
1673
|
if (isEmpty(remaining)) {
|
|
1403
1674
|
matchResult = 2;
|
|
1404
1675
|
} else if (!isEmpty(tail(remaining))) {
|
|
@@ -1434,7 +1705,7 @@ function renderTopLevelElement(baseKeys, orderedSectionKeys, element) {
|
|
|
1434
1705
|
break;
|
|
1435
1706
|
}
|
|
1436
1707
|
};
|
|
1437
|
-
return join("\r\n", merge(empty(), ofArray(split(join("\r\n\r\n", toList(delay(() => append$1(length(basePairs) > 0 ? singleton$1(section(basePairs)) : empty$
|
|
1708
|
+
return join("\r\n", merge(empty$1(), ofArray(split(join("\r\n\r\n", toList(delay(() => append$1(length(basePairs) > 0 ? singleton$1(section(basePairs)) : empty$2(), delay(() => append$1(map(section, knownSections), delay(() => length(metadataPairs) > 0 ? singleton$1(section(metadataPairs)) : empty$2()))))))), ["\r\n"], void 0, 0))));
|
|
1438
1709
|
}
|
|
1439
1710
|
function encodeToolDescription(td) {
|
|
1440
1711
|
return renderTopLevelElement(ofArray(["cwlVersion", "class", "id", "label", "doc", "intent"]), ofArray(["hints", "requirements", "baseCommand", "inputs", "outputs"]), encodeToolDescriptionElement(td));
|
|
@@ -1467,7 +1738,7 @@ function encodeCWLTypeYaml(t) {
|
|
|
1467
1738
|
switch (t.tag) {
|
|
1468
1739
|
case /* Union */
|
|
1469
1740
|
14:
|
|
1470
|
-
return "[" + join(", ", map$
|
|
1741
|
+
return "[" + join(", ", map$1(encodeCWLTypeYaml, t.fields[0])) + "]";
|
|
1471
1742
|
case /* Array */
|
|
1472
1743
|
11:
|
|
1473
1744
|
return encodeInputArraySchemaYaml(t.fields[0]);
|
|
@@ -1487,13 +1758,14 @@ function encodeCWLTypeYaml(t) {
|
|
|
1487
1758
|
}
|
|
1488
1759
|
}
|
|
1489
1760
|
function encodeInputRecordFieldYaml(field) {
|
|
1490
|
-
|
|
1761
|
+
const typeYaml = encodeCWLTypeYaml(field.Type);
|
|
1762
|
+
return `{name: ${field.Name}, type: ${typeYaml}}`;
|
|
1491
1763
|
}
|
|
1492
1764
|
function encodeInputRecordSchemaYaml(schema) {
|
|
1493
|
-
let fs;
|
|
1765
|
+
let fs = void 0;
|
|
1494
1766
|
let fieldsYaml;
|
|
1495
1767
|
const matchValue = schema.Fields;
|
|
1496
|
-
let matchResult, fs_1;
|
|
1768
|
+
let matchResult = void 0, fs_1 = void 0;
|
|
1497
1769
|
if (matchValue != null) {
|
|
1498
1770
|
if (fs = value(matchValue), fs.length > 0) {
|
|
1499
1771
|
matchResult = 0;
|
|
@@ -1506,7 +1778,7 @@ function encodeInputRecordSchemaYaml(schema) {
|
|
|
1506
1778
|
}
|
|
1507
1779
|
switch (matchResult) {
|
|
1508
1780
|
case 0: {
|
|
1509
|
-
fieldsYaml = join(", ", map$
|
|
1781
|
+
fieldsYaml = join(", ", map$1(encodeInputRecordFieldYaml, fs_1));
|
|
1510
1782
|
break;
|
|
1511
1783
|
}
|
|
1512
1784
|
default:
|
|
@@ -1515,17 +1787,21 @@ function encodeInputRecordSchemaYaml(schema) {
|
|
|
1515
1787
|
if (fieldsYaml === "") {
|
|
1516
1788
|
return "{type: record, fields: []}";
|
|
1517
1789
|
} else {
|
|
1518
|
-
return
|
|
1790
|
+
return concat("{type: record, fields: [", fieldsYaml, "]}");
|
|
1519
1791
|
}
|
|
1520
1792
|
}
|
|
1521
1793
|
function encodeInputEnumSchemaYaml(schema) {
|
|
1522
|
-
return
|
|
1794
|
+
return concat("{type: enum, symbols: [", join(", ", schema.Symbols), "]}");
|
|
1523
1795
|
}
|
|
1524
1796
|
function encodeInputArraySchemaYaml(schema) {
|
|
1525
|
-
return
|
|
1797
|
+
return concat("{type: array, items: ", encodeCWLTypeYaml(schema.Items), "}");
|
|
1526
1798
|
}
|
|
1527
1799
|
function cwlTypeToYamlString(t) {
|
|
1528
1800
|
return encodeCWLTypeYaml(t);
|
|
1529
1801
|
}
|
|
1802
|
+
function formatCWLType(type_) {
|
|
1803
|
+
const s = writeYaml(encodeCWLType(type_));
|
|
1804
|
+
return s.trim();
|
|
1805
|
+
}
|
|
1530
1806
|
|
|
1531
|
-
export { $007CPrimitiveType$007CComplexType$007C, cwlTypeToYamlString, encodeCWLInput, encodeCWLOutput, encodeCWLType, encodeCWLTypeYaml, encodeDoc, encodeEnvVarRequirementCompactMap, encodeExpressionScalar, encodeExpressionToolDescription, encodeExpressionToolDescriptionElement, encodeHintEntry, encodeInputArraySchema, encodeInputArraySchemaYaml, encodeInputBinding, encodeInputEnumSchema, encodeInputEnumSchemaYaml, encodeInputRecordField, encodeInputRecordFieldYaml, encodeInputRecordSchema, encodeInputRecordSchemaYaml, encodeIntent, encodeLabel, encodeLinkMergeMethod, encodeOperationDescription, encodeOperationDescriptionElement, encodeOutputBinding, encodePickValueMethod, encodeProcessingUnit, encodeRequirement, encodeScatter, encodeScatterMethod, encodeSchemaDefRequirementType, encodeSchemaSaladString, encodeSoftwareRequirementCompactMap, encodeSourceArray, encodeStepInput, encodeStepInputs, encodeStepOutputParameter, encodeStepOutputs, encodeStringArrayOrScalar, encodeToolDescription, encodeToolDescriptionElement, encodeWorkflowDescription, encodeWorkflowDescriptionElement, encodeWorkflowStep, encodeWorkflowStepRun, getObjectPairs, isComplexType, normalizeDocString, normalizeEnvValueForEncode, renderTopLevelElement, tryGetArrayShorthand, writeYaml, yBool, yMap };
|
|
1807
|
+
export { $007CPrimitiveType$007CComplexType$007C, appendDynamicProperties, appendDynamicPropertiesExcept, cwlTypeToYamlString, encodeCWLInput, encodeCWLOutput, encodeCWLParameterReference, encodeCWLParameterValue, encodeCWLType, encodeCWLTypeYaml, encodeDirectoryPairs, encodeDoc, encodeDynamicObj, encodeDynamicValue, encodeEnvVarRequirementCompactMap, encodeExpressionScalar, encodeExpressionToolDescription, encodeExpressionToolDescriptionElement, encodeFilePairs, encodeHintEntry, encodeInputArraySchema, encodeInputArraySchemaYaml, encodeInputBinding, encodeInputEnumSchema, encodeInputEnumSchemaYaml, encodeInputRecordField, encodeInputRecordFieldYaml, encodeInputRecordSchema, encodeInputRecordSchemaYaml, encodeIntent, encodeLabel, encodeLinkMergeMethod, encodeOperationDescription, encodeOperationDescriptionElement, encodeOutputBinding, encodePickValueMethod, encodeProcessingUnit, encodeRequirement, encodeScatter, encodeScatterMethod, encodeSchemaDefRequirementType, encodeSchemaSaladString, encodeSoftwareRequirementCompactMap, encodeSourceArray, encodeStepInput, encodeStepInputs, encodeStepOutputParameter, encodeStepOutputs, encodeStringArrayOrScalar, encodeToolDescription, encodeToolDescriptionElement, encodeWorkflowDescription, encodeWorkflowDescriptionElement, encodeWorkflowStep, encodeWorkflowStepRun, encodeYAMLParameterFile, formatCWLType, getObjectPairs, isComplexType, normalizeDocString, normalizeEnvValueForEncode, renderTopLevelElement, tryGetArrayShorthand, writeYaml, yBool, yFloat, yMap };
|