@nfdi4plants/arctrl 3.1.1 → 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 +62 -19
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +241 -60
- package/dist/ts/ts/CWL/Decode.d.ts +24 -25
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +454 -314
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +4 -4
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +10 -10
- package/dist/ts/ts/CWL/Encode.d.ts +26 -17
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +451 -411
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +31 -7
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +29 -8
- 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 +8 -8
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +9 -13
- package/dist/ts/ts/CWL/OperationDescription.d.ts +7 -7
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +5 -8
- package/dist/ts/ts/CWL/Outputs.d.ts +10 -10
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +36 -17
- package/dist/ts/ts/CWL/ParameterReference.d.ts +13 -10
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +29 -21
- 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 +51 -23
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +89 -81
- package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -9
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +29 -8
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +29 -8
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +26 -8
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -21
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +70 -34
- 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 +45 -43
- 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 +35 -16
- 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 +17 -10
- package/dist/ts/ts/Conversion/Person.d.ts +4 -4
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Person.js +39 -23
- 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 +450 -68
- 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 +25 -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 +27 -13
- 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 +78 -40
- package/dist/ts/ts/Conversion.d.ts +10 -11
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +2 -2
- 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 +567 -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 +9 -9
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +2 -2
- 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 +4 -4
- 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.11 → YAMLicious.1.0.0}/Decode.fs.js +98 -104
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Persil.fs.js +48 -48
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Preprocessing.fs.js +14 -14
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Reader.fs.js +129 -112
- 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.11 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +14 -14
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Syntax.fs.js +77 -56
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Writer.fs.js +34 -31
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → 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.11/Regex.fs.js +0 -21
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/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.11 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
package/dist/ts/ts/CWL/Encode.js
CHANGED
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node_modules/@fable-org/fable-library-
|
|
1
|
+
import { FSharpChoice$2_Choice1Of2, FSharpChoice$2_Choice2Of2 } from '../../node_modules/@fable-org/fable-library-ts/Choice.js';
|
|
2
2
|
import { FileInstance, DirectoryInstance, DirentInstance, InputRecordField, InputRecordSchema, InputEnumSchema, InputArraySchema, SchemaDefRequirementType, SoftwarePackage } from './CWLTypes.js';
|
|
3
|
-
import {
|
|
4
|
-
import { toList, choose, fold, map as map$
|
|
5
|
-
import { isEmpty, head, tail, map
|
|
6
|
-
import { YAMLElement_Value, YAMLContent_create_Z1C3A29C9, YAMLElement_Object
|
|
7
|
-
import { equals, defaultOf, int64ToString, isIterable, comparePrimitives, curry2, stringHash } from '../../node_modules/@fable-org/fable-library-
|
|
8
|
-
import { string, int } from '../fable_modules/YAMLicious.1.0.0
|
|
9
|
-
import { DynamicObj } from '../fable_modules/DynamicObj.
|
|
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
10
|
import { dynamicPropertiesExcept } from './DynamicObjHelpers.js';
|
|
11
|
-
import { empty, ofSeq as ofSeq$1, ofList, FSharpSet__Contains } from '../../node_modules/@fable-org/fable-library-
|
|
12
|
-
import { trimEnd, replace,
|
|
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';
|
|
13
14
|
import { LoadListingEnum_get_toCwlString, InlineJavascriptRequirementValue, InplaceUpdateRequirementValue, NetworkAccessRequirementValue, WorkReuseRequirementValue, ResourceRequirementInstance, EnvironmentDef, LoadListingRequirementValue, DockerRequirement } from './Requirements.js';
|
|
14
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';
|
|
15
18
|
import { InputBinding, CWLInput } from './Inputs.js';
|
|
16
19
|
import { StepInput, StepOutputParameter, WorkflowStep } from './WorkflowSteps.js';
|
|
17
20
|
import { WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetWorkflow, WorkflowStepRunOps_tryGetTool } from './CWLProcessingUnit.js';
|
|
18
21
|
import { CWLToolDescription } from './ToolDescription.js';
|
|
22
|
+
import { ArgumentException_$ctor_Z721C83C5 } from '../../node_modules/@fable-org/fable-library-ts/System.js';
|
|
19
23
|
import { CWLWorkflowDescription } from './WorkflowDescription.js';
|
|
20
24
|
import { CWLExpressionToolDescription } from './ExpressionToolDescription.js';
|
|
21
25
|
import { CWLOperationDescription } from './OperationDescription.js';
|
|
22
|
-
import { write } from '../fable_modules/YAMLicious.1.0.0
|
|
26
|
+
import { write } from '../fable_modules/YAMLicious.1.0.0/Writer.fs.js';
|
|
27
|
+
import { CWLParameterReference } from './ParameterReference.js';
|
|
23
28
|
|
|
24
29
|
function $007CPrimitiveType$007CComplexType$007C(t) {
|
|
25
30
|
switch (t.tag) {
|
|
@@ -76,7 +81,7 @@ function $007CPrimitiveType$007CComplexType$007C(t) {
|
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
function tryGetArrayShorthand(cwlType) {
|
|
79
|
-
let matchResult, name_1, arraySchema;
|
|
84
|
+
let matchResult = void 0, name_1 = void 0, arraySchema = void 0;
|
|
80
85
|
const activePatternResult = $007CPrimitiveType$007CComplexType$007C(cwlType);
|
|
81
86
|
if (activePatternResult.tag === /* Choice1Of2 */
|
|
82
87
|
0) {
|
|
@@ -100,8 +105,14 @@ function tryGetArrayShorthand(cwlType) {
|
|
|
100
105
|
switch (matchResult) {
|
|
101
106
|
case 0:
|
|
102
107
|
return name_1;
|
|
103
|
-
case 1:
|
|
104
|
-
|
|
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
|
+
}
|
|
105
116
|
default:
|
|
106
117
|
return void 0;
|
|
107
118
|
}
|
|
@@ -124,7 +135,7 @@ function isComplexType(t_mut) {
|
|
|
124
135
|
case /* Union */
|
|
125
136
|
14: {
|
|
126
137
|
const typesList = toList(t.fields[0]);
|
|
127
|
-
let matchResult, otherType;
|
|
138
|
+
let matchResult = void 0, otherType = void 0;
|
|
128
139
|
if (!isEmpty(typesList)) {
|
|
129
140
|
if (head(typesList).tag === /* Null */
|
|
130
141
|
10) {
|
|
@@ -178,8 +189,8 @@ function yFloat(value) {
|
|
|
178
189
|
return YAMLElement_Value(YAMLContent_create_Z1C3A29C9(value.toString()));
|
|
179
190
|
}
|
|
180
191
|
function yMap(pairs) {
|
|
181
|
-
return YAMLElement_Object(map
|
|
182
|
-
let _arg, single;
|
|
192
|
+
return YAMLElement_Object$(map((tupledArg) => {
|
|
193
|
+
let _arg = void 0, single = void 0;
|
|
183
194
|
return YAMLElement_Mapping(YAMLContent_create_Z1C3A29C9(tupledArg[0]), (_arg = tupledArg[1], _arg.tag === /* Object */
|
|
184
195
|
3 ? !isEmpty(_arg.fields[0]) ? head(_arg.fields[0]).tag === /* Value */
|
|
185
196
|
1 ? isEmpty(tail(_arg.fields[0])) ? _arg : _arg : head(_arg.fields[0]).tag === /* Alias */
|
|
@@ -218,24 +229,38 @@ function encodeDynamicValue(value) {
|
|
|
218
229
|
}
|
|
219
230
|
}
|
|
220
231
|
function encodeDynamicObj(dynObj) {
|
|
221
|
-
return yMap(toList(choose((kvp) =>
|
|
222
|
-
|
|
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
|
|
223
241
|
}), dynObj))));
|
|
224
242
|
}
|
|
225
243
|
function appendDynamicPropertiesExcept(knownFieldNames, dynObj, acc) {
|
|
226
|
-
return fold((pairs, pair) => append(pairs, singleton(pair)), acc, choose((kvp) =>
|
|
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)));
|
|
227
252
|
}
|
|
228
253
|
function appendDynamicProperties(dynObj, acc) {
|
|
229
254
|
return appendDynamicPropertiesExcept(empty({
|
|
230
|
-
Compare: comparePrimitives
|
|
255
|
+
Compare: (x, y) => comparePrimitives(x, y) | 0
|
|
231
256
|
}), dynObj, acc);
|
|
232
257
|
}
|
|
233
258
|
function normalizeDocString(doc) {
|
|
234
259
|
return trimEnd(trimEnd(replace(doc, "\r\n", "\n"), "\n"), "\r");
|
|
235
260
|
}
|
|
236
261
|
function encodeExpressionScalar(expression) {
|
|
237
|
-
const normalized = expression
|
|
238
|
-
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));
|
|
239
264
|
}
|
|
240
265
|
function encodeSchemaSaladString(value) {
|
|
241
266
|
switch (value.tag) {
|
|
@@ -257,13 +282,13 @@ function normalizeEnvValueForEncode(envValue) {
|
|
|
257
282
|
}
|
|
258
283
|
}
|
|
259
284
|
function encodeEnvVarRequirementCompactMap(envs) {
|
|
260
|
-
const envDefMap = yMap(toList(map$
|
|
285
|
+
const envDefMap = yMap(toList(map$1((env) => [env.EnvName, string(normalizeEnvValueForEncode(env.EnvValue))], envs)));
|
|
261
286
|
return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", envDefMap]]));
|
|
262
287
|
}
|
|
263
288
|
function encodeSoftwareRequirementCompactMap(packages) {
|
|
264
|
-
const packagesMap = yMap(toList(map$
|
|
265
|
-
let package
|
|
266
|
-
return [package$_1.Package, (package$ = package$_1, matchValue = package$.Version, matchValue_1 = package$.Specs, matchValue == null ? matchValue_1 != null ? YAMLElement_Sequence(toList(map$
|
|
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))))])))))];
|
|
267
292
|
}, packages)));
|
|
268
293
|
return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", packagesMap]]));
|
|
269
294
|
}
|
|
@@ -274,7 +299,7 @@ function encodeDoc(doc) {
|
|
|
274
299
|
return ["doc", string(normalizeDocString(doc))];
|
|
275
300
|
}
|
|
276
301
|
function encodeIntent(intent) {
|
|
277
|
-
return ["intent", YAMLElement_Sequence(ofSeq(map$
|
|
302
|
+
return ["intent", YAMLElement_Sequence(ofSeq(map$1(string, intent)))];
|
|
278
303
|
}
|
|
279
304
|
function encodeFilePairs(discriminatorKey, discriminatorValue, file) {
|
|
280
305
|
let acc_22;
|
|
@@ -345,7 +370,7 @@ function encodeDirectoryPairs(discriminatorKey, discriminatorValue, directory) {
|
|
|
345
370
|
return appendDynamicPropertiesExcept(DirectoryInstance.KnownFieldNames, directory, acc_8);
|
|
346
371
|
}
|
|
347
372
|
function encodeCWLType(t) {
|
|
348
|
-
let acc_4, acc_2, acc, value_2, acc_1, value_4, acc_3;
|
|
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;
|
|
349
374
|
switch (t.tag) {
|
|
350
375
|
case /* Directory */
|
|
351
376
|
1:
|
|
@@ -388,7 +413,7 @@ function encodeCWLType(t) {
|
|
|
388
413
|
14: {
|
|
389
414
|
const types = t.fields[0];
|
|
390
415
|
const typesList = toList(types);
|
|
391
|
-
let matchResult, otherType;
|
|
416
|
+
let matchResult = void 0, otherType = void 0;
|
|
392
417
|
if (!isEmpty(typesList)) {
|
|
393
418
|
if (head(typesList).tag === /* Null */
|
|
394
419
|
10) {
|
|
@@ -458,10 +483,10 @@ function encodeCWLType(t) {
|
|
|
458
483
|
}
|
|
459
484
|
}
|
|
460
485
|
default:
|
|
461
|
-
return YAMLElement_Sequence(map
|
|
486
|
+
return YAMLElement_Sequence(map(encodeCWLType, typesList));
|
|
462
487
|
}
|
|
463
488
|
default:
|
|
464
|
-
return YAMLElement_Sequence(map
|
|
489
|
+
return YAMLElement_Sequence(map(encodeCWLType, typesList));
|
|
465
490
|
}
|
|
466
491
|
}
|
|
467
492
|
case /* Array */
|
|
@@ -508,184 +533,138 @@ function encodeInputRecordField(field) {
|
|
|
508
533
|
return [field.Name, yMap(pairs)];
|
|
509
534
|
}
|
|
510
535
|
function encodeInputRecordSchema(schema) {
|
|
511
|
-
let acc_6, acc_4, acc_2, acc, value_2, acc_1, value_5, acc_3, value_8, acc_5;
|
|
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;
|
|
512
537
|
let fieldsElement;
|
|
513
538
|
const matchValue = schema.Fields;
|
|
514
|
-
fieldsElement = matchValue == null ? yMap(empty$1()) : yMap(toList(map$
|
|
539
|
+
fieldsElement = matchValue == null ? yMap(empty$1()) : yMap(toList(map$1(encodeInputRecordField, value(matchValue))));
|
|
515
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)));
|
|
516
541
|
}
|
|
517
542
|
function encodeInputEnumSchema(schema) {
|
|
518
|
-
let acc_6, acc_4, acc_2, value_3, acc_1, value_6, acc_3, value_9, acc_5;
|
|
519
|
-
const pairs = append(singleton(["type", string("enum")]), singleton(["symbols", YAMLElement_Sequence(ofSeq(map$
|
|
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)))]));
|
|
520
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)));
|
|
521
546
|
}
|
|
522
547
|
function encodeInputArraySchema(schema) {
|
|
523
|
-
let acc_6, acc_4, acc_2, acc, value_2, acc_1, value_5, acc_3, value_8, acc_5;
|
|
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;
|
|
524
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)));
|
|
525
550
|
}
|
|
526
551
|
function encodeOutputBinding(ob) {
|
|
527
|
-
let acc_6, acc_4, acc_2, acc, value_1, acc_1, encoder_1, f1, value_4, acc_3, value_7, acc_5;
|
|
528
|
-
return yMap((acc_6 = (acc_4 = (acc_2 = (acc = choose$1((x) => x, singleton(
|
|
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)));
|
|
529
554
|
}
|
|
530
555
|
function encodeStringArrayOrScalar(values) {
|
|
531
556
|
if (values.length === 1) {
|
|
532
|
-
return string(values
|
|
557
|
+
return string(item(0, values));
|
|
533
558
|
} else {
|
|
534
|
-
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"));
|
|
535
590
|
}
|
|
536
591
|
}
|
|
537
592
|
function encodeCWLOutput(o) {
|
|
538
|
-
let values;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
case /* Double */
|
|
592
|
-
7:
|
|
593
|
-
case /* Boolean */
|
|
594
|
-
8:
|
|
595
|
-
return encodeCWLType(t);
|
|
596
|
-
case /* Array */
|
|
597
|
-
11: {
|
|
598
|
-
const arraySchema = otherType.fields[0];
|
|
599
|
-
const matchValue = arraySchema.Items;
|
|
600
|
-
switch (matchValue.tag) {
|
|
601
|
-
case /* File */
|
|
602
|
-
0:
|
|
603
|
-
case /* Directory */
|
|
604
|
-
1:
|
|
605
|
-
case /* String */
|
|
606
|
-
3:
|
|
607
|
-
case /* Int */
|
|
608
|
-
4:
|
|
609
|
-
case /* Long */
|
|
610
|
-
5:
|
|
611
|
-
case /* Float */
|
|
612
|
-
6:
|
|
613
|
-
case /* Double */
|
|
614
|
-
7:
|
|
615
|
-
case /* Boolean */
|
|
616
|
-
8:
|
|
617
|
-
return encodeCWLType(t);
|
|
618
|
-
default:
|
|
619
|
-
return encodeCWLType(t);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
default:
|
|
623
|
-
return encodeCWLType(t);
|
|
624
|
-
}
|
|
625
|
-
default:
|
|
626
|
-
return encodeCWLType(t);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
case /* Array */
|
|
630
|
-
11: {
|
|
631
|
-
const arraySchema_1 = t.fields[0];
|
|
632
|
-
const matchValue_1 = arraySchema_1.Items;
|
|
633
|
-
switch (matchValue_1.tag) {
|
|
634
|
-
case /* File */
|
|
635
|
-
0:
|
|
636
|
-
case /* Directory */
|
|
637
|
-
1:
|
|
638
|
-
case /* Dirent */
|
|
639
|
-
2:
|
|
640
|
-
case /* String */
|
|
641
|
-
3:
|
|
642
|
-
case /* Int */
|
|
643
|
-
4:
|
|
644
|
-
case /* Long */
|
|
645
|
-
5:
|
|
646
|
-
case /* Float */
|
|
647
|
-
6:
|
|
648
|
-
case /* Double */
|
|
649
|
-
7:
|
|
650
|
-
case /* Boolean */
|
|
651
|
-
8:
|
|
652
|
-
return encodeCWLType(t);
|
|
653
|
-
default:
|
|
654
|
-
return yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]));
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
case /* Record */
|
|
658
|
-
12:
|
|
659
|
-
return yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])]));
|
|
660
|
-
case /* Enum */
|
|
661
|
-
13:
|
|
662
|
-
return yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])]));
|
|
663
|
-
default:
|
|
664
|
-
return encodeCWLType(t);
|
|
665
|
-
}
|
|
666
|
-
}, 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;
|
|
667
646
|
let pairs;
|
|
668
647
|
let acc_16;
|
|
669
648
|
let value_17;
|
|
670
649
|
const matchValue_2 = o.OutputSource;
|
|
671
|
-
let
|
|
650
|
+
let matchResult = void 0, value$1 = void 0, values_1 = void 0;
|
|
672
651
|
if (matchValue_2 != null) {
|
|
673
652
|
if (value(matchValue_2).tag === /* Multiple */
|
|
674
653
|
1) {
|
|
675
654
|
if (values = value(matchValue_2).fields[0], values.length > 0) {
|
|
676
|
-
|
|
655
|
+
matchResult = 1;
|
|
677
656
|
values_1 = value(matchValue_2).fields[0];
|
|
678
657
|
} else {
|
|
679
|
-
|
|
658
|
+
matchResult = 2;
|
|
680
659
|
}
|
|
681
660
|
} else {
|
|
682
|
-
|
|
661
|
+
matchResult = 0;
|
|
683
662
|
value$1 = value(matchValue_2).fields[0];
|
|
684
663
|
}
|
|
685
664
|
} else {
|
|
686
|
-
|
|
665
|
+
matchResult = 2;
|
|
687
666
|
}
|
|
688
|
-
switch (
|
|
667
|
+
switch (matchResult) {
|
|
689
668
|
case 0: {
|
|
690
669
|
value_17 = string(value$1);
|
|
691
670
|
break;
|
|
@@ -727,22 +706,22 @@ function encodeCWLOutput(o) {
|
|
|
727
706
|
acc_15 = value_16 == null ? acc_13 : append(acc_13, singleton(["outputBinding", encodeOutputBinding(value(value_16))]));
|
|
728
707
|
acc_16 = value_17 == null ? acc_15 : append(acc_15, singleton(["outputSource", value(value_17)]));
|
|
729
708
|
pairs = appendDynamicPropertiesExcept(CWLOutput.KnownFieldNames, o, acc_16);
|
|
730
|
-
let
|
|
709
|
+
let matchResult_1 = void 0, t_1 = void 0;
|
|
731
710
|
if (!isEmpty(pairs)) {
|
|
732
711
|
if (head(pairs)[0] === "type") {
|
|
733
712
|
if (isEmpty(tail(pairs))) {
|
|
734
|
-
|
|
713
|
+
matchResult_1 = 0;
|
|
735
714
|
t_1 = head(pairs)[1];
|
|
736
715
|
} else {
|
|
737
|
-
|
|
716
|
+
matchResult_1 = 1;
|
|
738
717
|
}
|
|
739
718
|
} else {
|
|
740
|
-
|
|
719
|
+
matchResult_1 = 1;
|
|
741
720
|
}
|
|
742
721
|
} else {
|
|
743
|
-
|
|
722
|
+
matchResult_1 = 1;
|
|
744
723
|
}
|
|
745
|
-
switch (
|
|
724
|
+
switch (matchResult_1) {
|
|
746
725
|
case 0:
|
|
747
726
|
return [o.Name, t_1];
|
|
748
727
|
default:
|
|
@@ -750,10 +729,11 @@ function encodeCWLOutput(o) {
|
|
|
750
729
|
}
|
|
751
730
|
}
|
|
752
731
|
function encodeInputBinding(ib) {
|
|
753
|
-
let acc_14, acc_12, acc_10, acc_8, acc_6, acc_4, acc_2, value_1, acc_1, value_4, acc_3, value_6, acc_5, value_9, acc_7, value_11, acc_9, value_14, acc_11, value_16, acc_13;
|
|
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;
|
|
754
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)));
|
|
755
734
|
}
|
|
756
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;
|
|
757
737
|
let pairs;
|
|
758
738
|
let acc_20;
|
|
759
739
|
let acc_18;
|
|
@@ -765,134 +745,58 @@ function encodeCWLInput(i) {
|
|
|
765
745
|
let acc_6;
|
|
766
746
|
let acc_4;
|
|
767
747
|
let acc_2;
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
case /* Double */
|
|
821
|
-
7:
|
|
822
|
-
case /* Boolean */
|
|
823
|
-
8:
|
|
824
|
-
return encodeCWLType(t);
|
|
825
|
-
case /* Array */
|
|
826
|
-
11: {
|
|
827
|
-
const arraySchema = otherType.fields[0];
|
|
828
|
-
const matchValue = arraySchema.Items;
|
|
829
|
-
switch (matchValue.tag) {
|
|
830
|
-
case /* File */
|
|
831
|
-
0:
|
|
832
|
-
case /* Directory */
|
|
833
|
-
1:
|
|
834
|
-
case /* String */
|
|
835
|
-
3:
|
|
836
|
-
case /* Int */
|
|
837
|
-
4:
|
|
838
|
-
case /* Long */
|
|
839
|
-
5:
|
|
840
|
-
case /* Float */
|
|
841
|
-
6:
|
|
842
|
-
case /* Double */
|
|
843
|
-
7:
|
|
844
|
-
case /* Boolean */
|
|
845
|
-
8:
|
|
846
|
-
return encodeCWLType(t);
|
|
847
|
-
default:
|
|
848
|
-
return encodeCWLType(t);
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
default:
|
|
852
|
-
return encodeCWLType(t);
|
|
853
|
-
}
|
|
854
|
-
default:
|
|
855
|
-
return encodeCWLType(t);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
case /* Array */
|
|
859
|
-
11: {
|
|
860
|
-
const arraySchema_1 = t.fields[0];
|
|
861
|
-
const matchValue_1 = arraySchema_1.Items;
|
|
862
|
-
switch (matchValue_1.tag) {
|
|
863
|
-
case /* File */
|
|
864
|
-
0:
|
|
865
|
-
case /* Directory */
|
|
866
|
-
1:
|
|
867
|
-
case /* Dirent */
|
|
868
|
-
2:
|
|
869
|
-
case /* String */
|
|
870
|
-
3:
|
|
871
|
-
case /* Int */
|
|
872
|
-
4:
|
|
873
|
-
case /* Long */
|
|
874
|
-
5:
|
|
875
|
-
case /* Float */
|
|
876
|
-
6:
|
|
877
|
-
case /* Double */
|
|
878
|
-
7:
|
|
879
|
-
case /* Boolean */
|
|
880
|
-
8:
|
|
881
|
-
return encodeCWLType(t);
|
|
882
|
-
default:
|
|
883
|
-
return yMap(singleton(["type", encodeInputArraySchema(arraySchema_1)]));
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
case /* Record */
|
|
887
|
-
12:
|
|
888
|
-
return yMap(singleton(["type", encodeInputRecordSchema(t.fields[0])]));
|
|
889
|
-
case /* Enum */
|
|
890
|
-
13:
|
|
891
|
-
return yMap(singleton(["type", encodeInputEnumSchema(t.fields[0])]));
|
|
892
|
-
default:
|
|
893
|
-
return encodeCWLType(t);
|
|
894
|
-
}
|
|
895
|
-
}, i.Type_);
|
|
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;
|
|
896
800
|
const acc_1 = empty$1();
|
|
897
801
|
acc_2 = value$1 == null ? acc_1 : append(acc_1, singleton(["type", value(value$1)]));
|
|
898
802
|
const value_3 = i.Label;
|
|
@@ -926,22 +830,22 @@ function encodeCWLInput(i) {
|
|
|
926
830
|
const acc_19 = acc_18;
|
|
927
831
|
acc_20 = value_22 == null ? acc_19 : append(acc_19, singleton(["inputBinding", encodeInputBinding(value(value_22))]));
|
|
928
832
|
pairs = appendDynamicPropertiesExcept(CWLInput.KnownFieldNames, i, acc_20);
|
|
929
|
-
let
|
|
833
|
+
let matchResult = void 0, t_1 = void 0;
|
|
930
834
|
if (!isEmpty(pairs)) {
|
|
931
835
|
if (head(pairs)[0] === "type") {
|
|
932
836
|
if (isEmpty(tail(pairs))) {
|
|
933
|
-
|
|
837
|
+
matchResult = 0;
|
|
934
838
|
t_1 = head(pairs)[1];
|
|
935
839
|
} else {
|
|
936
|
-
|
|
840
|
+
matchResult = 1;
|
|
937
841
|
}
|
|
938
842
|
} else {
|
|
939
|
-
|
|
843
|
+
matchResult = 1;
|
|
940
844
|
}
|
|
941
845
|
} else {
|
|
942
|
-
|
|
846
|
+
matchResult = 1;
|
|
943
847
|
}
|
|
944
|
-
switch (
|
|
848
|
+
switch (matchResult) {
|
|
945
849
|
case 0:
|
|
946
850
|
return [i.Name, t_1];
|
|
947
851
|
default:
|
|
@@ -949,28 +853,28 @@ function encodeCWLInput(i) {
|
|
|
949
853
|
}
|
|
950
854
|
}
|
|
951
855
|
function encodeSchemaDefRequirementType(s) {
|
|
952
|
-
let acc;
|
|
856
|
+
let acc = void 0;
|
|
953
857
|
return yMap((acc = ofArray([["name", string(s.Name)], ["type", encodeCWLType(s.Type_)]]), appendDynamicPropertiesExcept(SchemaDefRequirementType.KnownFieldNames, s, acc)));
|
|
954
858
|
}
|
|
955
859
|
function encodeRequirement(r) {
|
|
956
|
-
let acc_17, acc_15, acc_13, acc_11, acc_9, acc_7, acc_5, acc_3, value_5, acc_4, value_8, acc_6, value_11, acc_8, value_14, acc_10, value_17, acc_12, value_20, acc_14, value_23, acc_16, acc_24, acc_32, acc_33, acc_34, acc_2, value_2, acc_1;
|
|
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;
|
|
957
861
|
switch (r.tag) {
|
|
958
862
|
case /* SchemaDefRequirement */
|
|
959
863
|
1: {
|
|
960
864
|
const types = r.fields[0];
|
|
961
|
-
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)))]]));
|
|
962
866
|
}
|
|
963
867
|
case /* DockerRequirement */
|
|
964
868
|
2: {
|
|
965
869
|
const dr = r.fields[0];
|
|
966
|
-
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$
|
|
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)));
|
|
967
871
|
}
|
|
968
872
|
case /* SoftwareRequirement */
|
|
969
873
|
3: {
|
|
970
874
|
const pkgs = r.fields[0];
|
|
971
|
-
return yMap(ofArray([["class", string("SoftwareRequirement")], ["packages", YAMLElement_Sequence(ofSeq(map$
|
|
972
|
-
let acc_23, acc_21, acc_19, value_26, acc_20, value_29, acc_22;
|
|
973
|
-
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$
|
|
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)));
|
|
974
878
|
}, pkgs)))]]));
|
|
975
879
|
}
|
|
976
880
|
case /* LoadListingRequirement */
|
|
@@ -981,8 +885,8 @@ function encodeRequirement(r) {
|
|
|
981
885
|
case /* InitialWorkDirRequirement */
|
|
982
886
|
5: {
|
|
983
887
|
const listing = r.fields[0];
|
|
984
|
-
return yMap(ofArray([["class", string("InitialWorkDirRequirement")], ["listing", YAMLElement_Sequence(ofSeq(map$
|
|
985
|
-
let acc_30, acc_28, value_32, acc_26, value_34, acc_29;
|
|
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;
|
|
986
890
|
switch (_arg.tag) {
|
|
987
891
|
case /* StringEntry */
|
|
988
892
|
1:
|
|
@@ -1003,8 +907,8 @@ function encodeRequirement(r) {
|
|
|
1003
907
|
case /* EnvVarRequirement */
|
|
1004
908
|
6: {
|
|
1005
909
|
const envs = r.fields[0];
|
|
1006
|
-
return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", YAMLElement_Sequence(ofSeq(map$
|
|
1007
|
-
let acc_31;
|
|
910
|
+
return yMap(ofArray([["class", string("EnvVarRequirement")], ["envDef", YAMLElement_Sequence(ofSeq(map$1((e) => {
|
|
911
|
+
let acc_31 = void 0;
|
|
1008
912
|
const v_12 = normalizeEnvValueForEncode(e.EnvValue);
|
|
1009
913
|
return yMap((acc_31 = ofArray([["envName", string(e.EnvName)], ["envValue", string(v_12)]]), appendDynamicPropertiesExcept(EnvironmentDef.KnownFieldNames, e, acc_31)));
|
|
1010
914
|
}, envs)))]]));
|
|
@@ -1030,12 +934,20 @@ function encodeRequirement(r) {
|
|
|
1030
934
|
return void 0;
|
|
1031
935
|
}
|
|
1032
936
|
};
|
|
1033
|
-
const knownPairs = choose$1((tupledArg) =>
|
|
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);
|
|
1034
946
|
const dynamicPairs = toList(choose((kvp) => {
|
|
1035
947
|
const matchValue = kvp[1];
|
|
1036
948
|
return tryEncodeScalar(kvp[0], matchValue);
|
|
1037
|
-
}, dynamicPropertiesExcept(ofSeq$1(map$
|
|
1038
|
-
Compare: comparePrimitives
|
|
949
|
+
}, dynamicPropertiesExcept(ofSeq$1(map$1((x) => x, ResourceRequirementInstance.KnownFieldNames), {
|
|
950
|
+
Compare: (x_1, y) => comparePrimitives(x_1, y) | 0
|
|
1039
951
|
}), rr)));
|
|
1040
952
|
return yMap(append(singleton(["class", string("ResourceRequirement")]), append(knownPairs, dynamicPairs)));
|
|
1041
953
|
}
|
|
@@ -1085,13 +997,7 @@ function encodeRequirement(r) {
|
|
|
1085
997
|
return yMap(singleton(["class", string("StepInputExpressionRequirement")]));
|
|
1086
998
|
default: {
|
|
1087
999
|
const value$1 = r.fields[0];
|
|
1088
|
-
return yMap((acc_2 = (value_2 =
|
|
1089
|
-
if (entries.length > 0) {
|
|
1090
|
-
return entries;
|
|
1091
|
-
} else {
|
|
1092
|
-
return void 0;
|
|
1093
|
-
}
|
|
1094
|
-
}, value$1.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))))]))), appendDynamicPropertiesExcept(InlineJavascriptRequirementValue.KnownFieldNames, value$1, acc_2)));
|
|
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)));
|
|
1095
1001
|
}
|
|
1096
1002
|
}
|
|
1097
1003
|
}
|
|
@@ -1106,9 +1012,9 @@ function encodeHintEntry(hint) {
|
|
|
1106
1012
|
}
|
|
1107
1013
|
function encodeSourceArray(sources) {
|
|
1108
1014
|
if (sources.length === 1) {
|
|
1109
|
-
return string(sources
|
|
1015
|
+
return string(item(0, sources));
|
|
1110
1016
|
} else {
|
|
1111
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
1017
|
+
return YAMLElement_Sequence(ofSeq(map$1((s) => YAMLElement_Object$(singleton(YAMLElement_Value(YAMLContent_create_Z1C3A29C9(s)))), sources)));
|
|
1112
1018
|
}
|
|
1113
1019
|
}
|
|
1114
1020
|
function encodeLinkMergeMethod(linkMerge) {
|
|
@@ -1159,7 +1065,7 @@ function encodeStepInput(si) {
|
|
|
1159
1065
|
const acc_17 = acc_16;
|
|
1160
1066
|
acc_18 = value_21 == null ? acc_17 : append(acc_17, singleton(["label", string(value(value_21))]));
|
|
1161
1067
|
pairs = appendDynamicPropertiesExcept(StepInput.KnownFieldNames, si, acc_18);
|
|
1162
|
-
let matchResult, s_1;
|
|
1068
|
+
let matchResult = void 0, s_1 = void 0;
|
|
1163
1069
|
if (!isEmpty(pairs)) {
|
|
1164
1070
|
if (head(pairs)[0] === "source") {
|
|
1165
1071
|
if (isEmpty(tail(pairs))) {
|
|
@@ -1186,14 +1092,14 @@ function encodeStepInput(si) {
|
|
|
1186
1092
|
}
|
|
1187
1093
|
}
|
|
1188
1094
|
function encodeStepInputs(inputs) {
|
|
1189
|
-
return yMap(toList(map$
|
|
1095
|
+
return yMap(toList(map$1(encodeStepInput, inputs)));
|
|
1190
1096
|
}
|
|
1191
1097
|
function encodeStepOutputParameter(so) {
|
|
1192
|
-
let acc;
|
|
1098
|
+
let acc = void 0;
|
|
1193
1099
|
return yMap((acc = singleton(["id", string(so.Id)]), appendDynamicPropertiesExcept(StepOutputParameter.KnownFieldNames, so, acc)));
|
|
1194
1100
|
}
|
|
1195
1101
|
function encodeStepOutputs(outputs) {
|
|
1196
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
1102
|
+
return YAMLElement_Sequence(ofSeq(map$1((output) => {
|
|
1197
1103
|
if (output.tag === /* StepOutputRecord */
|
|
1198
1104
|
1) {
|
|
1199
1105
|
return encodeStepOutputParameter(output.fields[0]);
|
|
@@ -1204,9 +1110,9 @@ function encodeStepOutputs(outputs) {
|
|
|
1204
1110
|
}
|
|
1205
1111
|
function encodeScatter(scatter) {
|
|
1206
1112
|
if (scatter.length === 1) {
|
|
1207
|
-
return string(scatter
|
|
1113
|
+
return string(item(0, scatter));
|
|
1208
1114
|
} else {
|
|
1209
|
-
return YAMLElement_Sequence(ofSeq(map$
|
|
1115
|
+
return YAMLElement_Sequence(ofSeq(map$1(string, scatter)));
|
|
1210
1116
|
}
|
|
1211
1117
|
}
|
|
1212
1118
|
function encodeWorkflowStepRun(run) {
|
|
@@ -1216,7 +1122,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1216
1122
|
const toolObj = run.fields[0];
|
|
1217
1123
|
const matchValue = WorkflowStepRunOps_tryGetTool(run);
|
|
1218
1124
|
if (matchValue == null) {
|
|
1219
|
-
throw
|
|
1125
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunCommandLineTool must contain CWLToolDescription but got ${interpolate("%A%P()", [toolObj])}`);
|
|
1220
1126
|
} else {
|
|
1221
1127
|
return encodeToolDescriptionElement(value(matchValue));
|
|
1222
1128
|
}
|
|
@@ -1226,7 +1132,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1226
1132
|
const workflowObj = run.fields[0];
|
|
1227
1133
|
const matchValue_1 = WorkflowStepRunOps_tryGetWorkflow(run);
|
|
1228
1134
|
if (matchValue_1 == null) {
|
|
1229
|
-
throw
|
|
1135
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunWorkflow must contain CWLWorkflowDescription but got ${interpolate("%A%P()", [workflowObj])}`);
|
|
1230
1136
|
} else {
|
|
1231
1137
|
return encodeWorkflowDescriptionElement(value(matchValue_1));
|
|
1232
1138
|
}
|
|
@@ -1236,7 +1142,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1236
1142
|
const expressionToolObj = run.fields[0];
|
|
1237
1143
|
const matchValue_2 = WorkflowStepRunOps_tryGetExpressionTool(run);
|
|
1238
1144
|
if (matchValue_2 == null) {
|
|
1239
|
-
throw
|
|
1145
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunExpressionTool must contain CWLExpressionToolDescription but got ${interpolate("%A%P()", [expressionToolObj])}`);
|
|
1240
1146
|
} else {
|
|
1241
1147
|
return encodeExpressionToolDescriptionElement(value(matchValue_2));
|
|
1242
1148
|
}
|
|
@@ -1246,7 +1152,7 @@ function encodeWorkflowStepRun(run) {
|
|
|
1246
1152
|
const operationObj = run.fields[0];
|
|
1247
1153
|
const matchValue_3 = WorkflowStepRunOps_tryGetOperation(run);
|
|
1248
1154
|
if (matchValue_3 == null) {
|
|
1249
|
-
throw
|
|
1155
|
+
throw ArgumentException_$ctor_Z721C83C5(`RunOperation must contain CWLOperationDescription but got ${interpolate("%A%P()", [operationObj])}`);
|
|
1250
1156
|
} else {
|
|
1251
1157
|
return encodeOperationDescriptionElement(value(matchValue_3));
|
|
1252
1158
|
}
|
|
@@ -1256,27 +1162,37 @@ function encodeWorkflowStepRun(run) {
|
|
|
1256
1162
|
}
|
|
1257
1163
|
}
|
|
1258
1164
|
function encodeToolDescriptionElement(td) {
|
|
1259
|
-
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;
|
|
1260
1166
|
let basePairs;
|
|
1261
1167
|
let acc_6;
|
|
1262
1168
|
let acc_4;
|
|
1263
1169
|
let acc_2;
|
|
1264
1170
|
const acc = ofArray([["cwlVersion", string(td.CWLVersion)], ["class", string("CommandLineTool")]]);
|
|
1265
|
-
|
|
1171
|
+
let pairOpt_1;
|
|
1172
|
+
const option_1 = td.Id;
|
|
1173
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1266
1174
|
const acc_1 = acc;
|
|
1267
1175
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1268
|
-
|
|
1176
|
+
let pairOpt_3;
|
|
1177
|
+
const option_3 = td.Label;
|
|
1178
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1269
1179
|
const acc_3 = acc_2;
|
|
1270
1180
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1271
|
-
|
|
1181
|
+
let pairOpt_5;
|
|
1182
|
+
const option_5 = td.Doc;
|
|
1183
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1272
1184
|
const acc_5 = acc_4;
|
|
1273
1185
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1274
|
-
|
|
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;
|
|
1275
1191
|
const acc_7 = acc_6;
|
|
1276
1192
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1277
1193
|
let withHints;
|
|
1278
1194
|
const matchValue = td.Hints;
|
|
1279
|
-
let matchResult, h_1;
|
|
1195
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1280
1196
|
if (matchValue != null) {
|
|
1281
1197
|
if (h = value(matchValue), h.length > 0) {
|
|
1282
1198
|
matchResult = 0;
|
|
@@ -1289,7 +1205,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1289
1205
|
}
|
|
1290
1206
|
switch (matchResult) {
|
|
1291
1207
|
case 0: {
|
|
1292
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1208
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1293
1209
|
break;
|
|
1294
1210
|
}
|
|
1295
1211
|
default:
|
|
@@ -1297,7 +1213,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1297
1213
|
}
|
|
1298
1214
|
let withRequirements;
|
|
1299
1215
|
const matchValue_1 = td.Requirements;
|
|
1300
|
-
let matchResult_1, r_1;
|
|
1216
|
+
let matchResult_1 = void 0, r_1 = void 0;
|
|
1301
1217
|
if (matchValue_1 != null) {
|
|
1302
1218
|
if (r = value(matchValue_1), r.length > 0) {
|
|
1303
1219
|
matchResult_1 = 0;
|
|
@@ -1310,7 +1226,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1310
1226
|
}
|
|
1311
1227
|
switch (matchResult_1) {
|
|
1312
1228
|
case 0: {
|
|
1313
|
-
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1229
|
+
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
|
|
1314
1230
|
break;
|
|
1315
1231
|
}
|
|
1316
1232
|
default:
|
|
@@ -1318,7 +1234,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1318
1234
|
}
|
|
1319
1235
|
let withBaseCommand;
|
|
1320
1236
|
const matchValue_2 = td.BaseCommand;
|
|
1321
|
-
let matchResult_2, bc_1;
|
|
1237
|
+
let matchResult_2 = void 0, bc_1 = void 0;
|
|
1322
1238
|
if (matchValue_2 != null) {
|
|
1323
1239
|
if (bc = value(matchValue_2), bc.length > 0) {
|
|
1324
1240
|
matchResult_2 = 0;
|
|
@@ -1331,7 +1247,7 @@ function encodeToolDescriptionElement(td) {
|
|
|
1331
1247
|
}
|
|
1332
1248
|
switch (matchResult_2) {
|
|
1333
1249
|
case 0: {
|
|
1334
|
-
withBaseCommand = append(withRequirements, singleton(["baseCommand", YAMLElement_Sequence(ofSeq(map$
|
|
1250
|
+
withBaseCommand = append(withRequirements, singleton(["baseCommand", YAMLElement_Sequence(ofSeq(map$1(string, bc_1)))]));
|
|
1335
1251
|
break;
|
|
1336
1252
|
}
|
|
1337
1253
|
default:
|
|
@@ -1358,41 +1274,51 @@ function encodeToolDescriptionElement(td) {
|
|
|
1358
1274
|
acc_16 = value_11 == null ? acc_15 : append(acc_15, singleton(["stdout", string(value(value_11))]));
|
|
1359
1275
|
const value_14 = td.SuccessCodes;
|
|
1360
1276
|
const acc_17 = acc_16;
|
|
1361
|
-
acc_18 = value_14 == null ? acc_17 : append(acc_17, singleton(["successCodes", YAMLElement_Sequence(ofSeq(map$
|
|
1277
|
+
acc_18 = value_14 == null ? acc_17 : append(acc_17, singleton(["successCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_14))))]));
|
|
1362
1278
|
const value_17 = td.TemporaryFailCodes;
|
|
1363
1279
|
const acc_19 = acc_18;
|
|
1364
|
-
acc_20 = value_17 == null ? acc_19 : append(acc_19, singleton(["temporaryFailCodes", YAMLElement_Sequence(ofSeq(map$
|
|
1280
|
+
acc_20 = value_17 == null ? acc_19 : append(acc_19, singleton(["temporaryFailCodes", YAMLElement_Sequence(ofSeq(map$1(int, value(value_17))))]));
|
|
1365
1281
|
const value_20 = td.PermanentFailCodes;
|
|
1366
1282
|
const acc_21 = acc_20;
|
|
1367
|
-
withCommandFields = value_20 == null ? acc_21 : append(acc_21, singleton(["permanentFailCodes", YAMLElement_Sequence(ofSeq(map$
|
|
1368
|
-
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$
|
|
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)))]));
|
|
1369
1285
|
let withMetadata;
|
|
1370
1286
|
const matchValue_4 = td.Metadata;
|
|
1371
1287
|
withMetadata = matchValue_4 == null ? withOutputs : appendDynamicProperties(value(matchValue_4), withOutputs);
|
|
1372
1288
|
return yMap(appendDynamicPropertiesExcept(CWLToolDescription.KnownFieldNames, td, withMetadata));
|
|
1373
1289
|
}
|
|
1374
1290
|
function encodeExpressionToolDescriptionElement(et) {
|
|
1375
|
-
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;
|
|
1376
1292
|
let basePairs;
|
|
1377
1293
|
let acc_6;
|
|
1378
1294
|
let acc_4;
|
|
1379
1295
|
let acc_2;
|
|
1380
1296
|
const acc = ofArray([["cwlVersion", string(et.CWLVersion)], ["class", string("ExpressionTool")]]);
|
|
1381
|
-
|
|
1297
|
+
let pairOpt_1;
|
|
1298
|
+
const option_1 = et.Id;
|
|
1299
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1382
1300
|
const acc_1 = acc;
|
|
1383
1301
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1384
|
-
|
|
1302
|
+
let pairOpt_3;
|
|
1303
|
+
const option_3 = et.Label;
|
|
1304
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1385
1305
|
const acc_3 = acc_2;
|
|
1386
1306
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1387
|
-
|
|
1307
|
+
let pairOpt_5;
|
|
1308
|
+
const option_5 = et.Doc;
|
|
1309
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1388
1310
|
const acc_5 = acc_4;
|
|
1389
1311
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1390
|
-
|
|
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;
|
|
1391
1317
|
const acc_7 = acc_6;
|
|
1392
1318
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1393
1319
|
let withHints;
|
|
1394
1320
|
const matchValue = et.Hints;
|
|
1395
|
-
let matchResult, h_1;
|
|
1321
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1396
1322
|
if (matchValue != null) {
|
|
1397
1323
|
if (h = value(matchValue), h.length > 0) {
|
|
1398
1324
|
matchResult = 0;
|
|
@@ -1405,7 +1331,7 @@ function encodeExpressionToolDescriptionElement(et) {
|
|
|
1405
1331
|
}
|
|
1406
1332
|
switch (matchResult) {
|
|
1407
1333
|
case 0: {
|
|
1408
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1334
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1409
1335
|
break;
|
|
1410
1336
|
}
|
|
1411
1337
|
default:
|
|
@@ -1413,7 +1339,7 @@ function encodeExpressionToolDescriptionElement(et) {
|
|
|
1413
1339
|
}
|
|
1414
1340
|
let withRequirements;
|
|
1415
1341
|
const matchValue_1 = et.Requirements;
|
|
1416
|
-
let matchResult_1, r_1;
|
|
1342
|
+
let matchResult_1 = void 0, r_1 = void 0;
|
|
1417
1343
|
if (matchValue_1 != null) {
|
|
1418
1344
|
if (r = value(matchValue_1), r.length > 0) {
|
|
1419
1345
|
matchResult_1 = 0;
|
|
@@ -1426,40 +1352,50 @@ function encodeExpressionToolDescriptionElement(et) {
|
|
|
1426
1352
|
}
|
|
1427
1353
|
switch (matchResult_1) {
|
|
1428
1354
|
case 0: {
|
|
1429
|
-
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1355
|
+
withRequirements = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
|
|
1430
1356
|
break;
|
|
1431
1357
|
}
|
|
1432
1358
|
default:
|
|
1433
1359
|
withRequirements = withHints;
|
|
1434
1360
|
}
|
|
1435
|
-
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$
|
|
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)]));
|
|
1436
1362
|
let withMetadata;
|
|
1437
1363
|
const matchValue_3 = et.Metadata;
|
|
1438
1364
|
withMetadata = matchValue_3 == null ? withExpression : appendDynamicProperties(value(matchValue_3), withExpression);
|
|
1439
1365
|
return yMap(appendDynamicPropertiesExcept(CWLExpressionToolDescription.KnownFieldNames, et, withMetadata));
|
|
1440
1366
|
}
|
|
1441
1367
|
function encodeOperationDescriptionElement(op) {
|
|
1442
|
-
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;
|
|
1443
1369
|
let basePairs;
|
|
1444
1370
|
let acc_6;
|
|
1445
1371
|
let acc_4;
|
|
1446
1372
|
let acc_2;
|
|
1447
1373
|
const acc = ofArray([["cwlVersion", string(op.CWLVersion)], ["class", string("Operation")]]);
|
|
1448
|
-
|
|
1374
|
+
let pairOpt_1;
|
|
1375
|
+
const option_1 = op.Id;
|
|
1376
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1449
1377
|
const acc_1 = acc;
|
|
1450
1378
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1451
|
-
|
|
1379
|
+
let pairOpt_3;
|
|
1380
|
+
const option_3 = op.Label;
|
|
1381
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1452
1382
|
const acc_3 = acc_2;
|
|
1453
1383
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1454
|
-
|
|
1384
|
+
let pairOpt_5;
|
|
1385
|
+
const option_5 = op.Doc;
|
|
1386
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1455
1387
|
const acc_5 = acc_4;
|
|
1456
1388
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1457
|
-
|
|
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;
|
|
1458
1394
|
const acc_7 = acc_6;
|
|
1459
1395
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1460
1396
|
let withHints;
|
|
1461
1397
|
const matchValue = op.Hints;
|
|
1462
|
-
let matchResult, h_1;
|
|
1398
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1463
1399
|
if (matchValue != null) {
|
|
1464
1400
|
if (h = value(matchValue), h.length > 0) {
|
|
1465
1401
|
matchResult = 0;
|
|
@@ -1472,40 +1408,50 @@ function encodeOperationDescriptionElement(op) {
|
|
|
1472
1408
|
}
|
|
1473
1409
|
switch (matchResult) {
|
|
1474
1410
|
case 0: {
|
|
1475
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1411
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1476
1412
|
break;
|
|
1477
1413
|
}
|
|
1478
1414
|
default:
|
|
1479
1415
|
withHints = basePairs;
|
|
1480
1416
|
}
|
|
1481
|
-
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$
|
|
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)))]));
|
|
1482
1418
|
let withMetadata;
|
|
1483
1419
|
const matchValue_2 = op.Metadata;
|
|
1484
1420
|
withMetadata = matchValue_2 == null ? withOutputs : appendDynamicProperties(value(matchValue_2), withOutputs);
|
|
1485
1421
|
return yMap(appendDynamicPropertiesExcept(CWLOperationDescription.KnownFieldNames, op, withMetadata));
|
|
1486
1422
|
}
|
|
1487
1423
|
function encodeWorkflowDescriptionElement(wd) {
|
|
1488
|
-
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;
|
|
1489
1425
|
let basePairs;
|
|
1490
1426
|
let acc_6;
|
|
1491
1427
|
let acc_4;
|
|
1492
1428
|
let acc_2;
|
|
1493
1429
|
const acc = ofArray([["cwlVersion", string(wd.CWLVersion)], ["class", string("Workflow")]]);
|
|
1494
|
-
|
|
1430
|
+
let pairOpt_1;
|
|
1431
|
+
const option_1 = wd.Id;
|
|
1432
|
+
pairOpt_1 = option_1 != null ? ["id", string(value(option_1))] : void 0;
|
|
1495
1433
|
const acc_1 = acc;
|
|
1496
1434
|
acc_2 = pairOpt_1 == null ? acc_1 : append(acc_1, singleton(value(pairOpt_1)));
|
|
1497
|
-
|
|
1435
|
+
let pairOpt_3;
|
|
1436
|
+
const option_3 = wd.Label;
|
|
1437
|
+
pairOpt_3 = option_3 != null ? encodeLabel(value(option_3)) : void 0;
|
|
1498
1438
|
const acc_3 = acc_2;
|
|
1499
1439
|
acc_4 = pairOpt_3 == null ? acc_3 : append(acc_3, singleton(value(pairOpt_3)));
|
|
1500
|
-
|
|
1440
|
+
let pairOpt_5;
|
|
1441
|
+
const option_5 = wd.Doc;
|
|
1442
|
+
pairOpt_5 = option_5 != null ? encodeDoc(value(option_5)) : void 0;
|
|
1501
1443
|
const acc_5 = acc_4;
|
|
1502
1444
|
acc_6 = pairOpt_5 == null ? acc_5 : append(acc_5, singleton(value(pairOpt_5)));
|
|
1503
|
-
|
|
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;
|
|
1504
1450
|
const acc_7 = acc_6;
|
|
1505
1451
|
basePairs = pairOpt_7 == null ? acc_7 : append(acc_7, singleton(value(pairOpt_7)));
|
|
1506
1452
|
let withHints;
|
|
1507
1453
|
const matchValue = wd.Hints;
|
|
1508
|
-
let matchResult, h_1;
|
|
1454
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1509
1455
|
if (matchValue != null) {
|
|
1510
1456
|
if (h = value(matchValue), h.length > 0) {
|
|
1511
1457
|
matchResult = 0;
|
|
@@ -1518,20 +1464,20 @@ function encodeWorkflowDescriptionElement(wd) {
|
|
|
1518
1464
|
}
|
|
1519
1465
|
switch (matchResult) {
|
|
1520
1466
|
case 0: {
|
|
1521
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1467
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1522
1468
|
break;
|
|
1523
1469
|
}
|
|
1524
1470
|
default:
|
|
1525
1471
|
withHints = basePairs;
|
|
1526
1472
|
}
|
|
1527
|
-
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$
|
|
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)))]));
|
|
1528
1474
|
let withMetadata;
|
|
1529
1475
|
const matchValue_2 = wd.Metadata;
|
|
1530
1476
|
withMetadata = matchValue_2 == null ? withOutputs : appendDynamicProperties(value(matchValue_2), withOutputs);
|
|
1531
1477
|
return yMap(appendDynamicPropertiesExcept(CWLWorkflowDescription.KnownFieldNames, wd, withMetadata));
|
|
1532
1478
|
}
|
|
1533
1479
|
function encodeWorkflowStep(ws) {
|
|
1534
|
-
let h, r;
|
|
1480
|
+
let h = void 0, r = void 0;
|
|
1535
1481
|
let basePairs;
|
|
1536
1482
|
let acc_10;
|
|
1537
1483
|
let acc_8;
|
|
@@ -1557,7 +1503,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1557
1503
|
basePairs = appendDynamicPropertiesExcept(WorkflowStep.KnownFieldNames, ws, acc_10);
|
|
1558
1504
|
let withHints;
|
|
1559
1505
|
const matchValue = ws.Hints;
|
|
1560
|
-
let matchResult, h_1;
|
|
1506
|
+
let matchResult = void 0, h_1 = void 0;
|
|
1561
1507
|
if (matchValue != null) {
|
|
1562
1508
|
if (h = value(matchValue), h.length > 0) {
|
|
1563
1509
|
matchResult = 0;
|
|
@@ -1570,7 +1516,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1570
1516
|
}
|
|
1571
1517
|
switch (matchResult) {
|
|
1572
1518
|
case 0: {
|
|
1573
|
-
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$
|
|
1519
|
+
withHints = append(basePairs, singleton(["hints", YAMLElement_Sequence(ofSeq(map$1(encodeHintEntry, h_1)))]));
|
|
1574
1520
|
break;
|
|
1575
1521
|
}
|
|
1576
1522
|
default:
|
|
@@ -1578,7 +1524,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1578
1524
|
}
|
|
1579
1525
|
let withReq;
|
|
1580
1526
|
const matchValue_1 = ws.Requirements;
|
|
1581
|
-
let matchResult_1, r_1;
|
|
1527
|
+
let matchResult_1 = void 0, r_1 = void 0;
|
|
1582
1528
|
if (matchValue_1 != null) {
|
|
1583
1529
|
if (r = value(matchValue_1), r.length > 0) {
|
|
1584
1530
|
matchResult_1 = 0;
|
|
@@ -1591,7 +1537,7 @@ function encodeWorkflowStep(ws) {
|
|
|
1591
1537
|
}
|
|
1592
1538
|
switch (matchResult_1) {
|
|
1593
1539
|
case 0: {
|
|
1594
|
-
withReq = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$
|
|
1540
|
+
withReq = append(withHints, singleton(["requirements", YAMLElement_Sequence(ofSeq(map$1(encodeRequirement, r_1)))]));
|
|
1595
1541
|
break;
|
|
1596
1542
|
}
|
|
1597
1543
|
default:
|
|
@@ -1602,6 +1548,89 @@ function encodeWorkflowStep(ws) {
|
|
|
1602
1548
|
function writeYaml(element) {
|
|
1603
1549
|
return write(element, (c) => new Config(2, c.Level));
|
|
1604
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
|
+
}
|
|
1605
1634
|
function getObjectPairs(element) {
|
|
1606
1635
|
if (element.tag === /* Object */
|
|
1607
1636
|
3) {
|
|
@@ -1620,20 +1649,27 @@ function getObjectPairs(element) {
|
|
|
1620
1649
|
function renderTopLevelElement(baseKeys, orderedSectionKeys, element) {
|
|
1621
1650
|
const section = (pairs) => trimEnd(replace(writeYaml(yMap(pairs)), "\r\n", "\n"), "\n");
|
|
1622
1651
|
const pairs_2 = getObjectPairs(element);
|
|
1623
|
-
const basePairs = filter
|
|
1652
|
+
const basePairs = filter((tupledArg) => contains$1(tupledArg[0], baseKeys, {
|
|
1624
1653
|
Equals: (x, y) => x === y,
|
|
1625
|
-
GetHashCode: stringHash
|
|
1654
|
+
GetHashCode: (x) => stringHash(x) | 0
|
|
1626
1655
|
}), pairs_2);
|
|
1627
|
-
const knownSections = choose$1((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);
|
|
1628
1664
|
const reservedKeys = ofList(append(baseKeys, orderedSectionKeys), {
|
|
1629
|
-
Compare: comparePrimitives
|
|
1665
|
+
Compare: (x_1, y_1) => comparePrimitives(x_1, y_1) | 0
|
|
1630
1666
|
});
|
|
1631
|
-
const metadataPairs = filter
|
|
1667
|
+
const metadataPairs = filter((tupledArg_2) => !FSharpSet__Contains(reservedKeys, tupledArg_2[0]), pairs_2);
|
|
1632
1668
|
const merge = (acc_mut, remaining_mut) => {
|
|
1633
1669
|
merge:
|
|
1634
1670
|
while (true) {
|
|
1635
1671
|
const acc = acc_mut, remaining = remaining_mut;
|
|
1636
|
-
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;
|
|
1637
1673
|
if (isEmpty(remaining)) {
|
|
1638
1674
|
matchResult = 2;
|
|
1639
1675
|
} else if (!isEmpty(tail(remaining))) {
|
|
@@ -1669,7 +1705,7 @@ function renderTopLevelElement(baseKeys, orderedSectionKeys, element) {
|
|
|
1669
1705
|
break;
|
|
1670
1706
|
}
|
|
1671
1707
|
};
|
|
1672
|
-
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
|
|
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))));
|
|
1673
1709
|
}
|
|
1674
1710
|
function encodeToolDescription(td) {
|
|
1675
1711
|
return renderTopLevelElement(ofArray(["cwlVersion", "class", "id", "label", "doc", "intent"]), ofArray(["hints", "requirements", "baseCommand", "inputs", "outputs"]), encodeToolDescriptionElement(td));
|
|
@@ -1702,7 +1738,7 @@ function encodeCWLTypeYaml(t) {
|
|
|
1702
1738
|
switch (t.tag) {
|
|
1703
1739
|
case /* Union */
|
|
1704
1740
|
14:
|
|
1705
|
-
return "[" + join(", ", map$
|
|
1741
|
+
return "[" + join(", ", map$1(encodeCWLTypeYaml, t.fields[0])) + "]";
|
|
1706
1742
|
case /* Array */
|
|
1707
1743
|
11:
|
|
1708
1744
|
return encodeInputArraySchemaYaml(t.fields[0]);
|
|
@@ -1726,10 +1762,10 @@ function encodeInputRecordFieldYaml(field) {
|
|
|
1726
1762
|
return `{name: ${field.Name}, type: ${typeYaml}}`;
|
|
1727
1763
|
}
|
|
1728
1764
|
function encodeInputRecordSchemaYaml(schema) {
|
|
1729
|
-
let fs;
|
|
1765
|
+
let fs = void 0;
|
|
1730
1766
|
let fieldsYaml;
|
|
1731
1767
|
const matchValue = schema.Fields;
|
|
1732
|
-
let matchResult, fs_1;
|
|
1768
|
+
let matchResult = void 0, fs_1 = void 0;
|
|
1733
1769
|
if (matchValue != null) {
|
|
1734
1770
|
if (fs = value(matchValue), fs.length > 0) {
|
|
1735
1771
|
matchResult = 0;
|
|
@@ -1742,7 +1778,7 @@ function encodeInputRecordSchemaYaml(schema) {
|
|
|
1742
1778
|
}
|
|
1743
1779
|
switch (matchResult) {
|
|
1744
1780
|
case 0: {
|
|
1745
|
-
fieldsYaml = join(", ", map$
|
|
1781
|
+
fieldsYaml = join(", ", map$1(encodeInputRecordFieldYaml, fs_1));
|
|
1746
1782
|
break;
|
|
1747
1783
|
}
|
|
1748
1784
|
default:
|
|
@@ -1751,17 +1787,21 @@ function encodeInputRecordSchemaYaml(schema) {
|
|
|
1751
1787
|
if (fieldsYaml === "") {
|
|
1752
1788
|
return "{type: record, fields: []}";
|
|
1753
1789
|
} else {
|
|
1754
|
-
return
|
|
1790
|
+
return concat("{type: record, fields: [", fieldsYaml, "]}");
|
|
1755
1791
|
}
|
|
1756
1792
|
}
|
|
1757
1793
|
function encodeInputEnumSchemaYaml(schema) {
|
|
1758
|
-
return
|
|
1794
|
+
return concat("{type: enum, symbols: [", join(", ", schema.Symbols), "]}");
|
|
1759
1795
|
}
|
|
1760
1796
|
function encodeInputArraySchemaYaml(schema) {
|
|
1761
|
-
return
|
|
1797
|
+
return concat("{type: array, items: ", encodeCWLTypeYaml(schema.Items), "}");
|
|
1762
1798
|
}
|
|
1763
1799
|
function cwlTypeToYamlString(t) {
|
|
1764
1800
|
return encodeCWLTypeYaml(t);
|
|
1765
1801
|
}
|
|
1802
|
+
function formatCWLType(type_) {
|
|
1803
|
+
const s = writeYaml(encodeCWLType(type_));
|
|
1804
|
+
return s.trim();
|
|
1805
|
+
}
|
|
1766
1806
|
|
|
1767
|
-
export { $007CPrimitiveType$007CComplexType$007C, appendDynamicProperties, appendDynamicPropertiesExcept, cwlTypeToYamlString, encodeCWLInput, encodeCWLOutput, 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, getObjectPairs, isComplexType, normalizeDocString, normalizeEnvValueForEncode, renderTopLevelElement, tryGetArrayShorthand, writeYaml, yBool, yFloat, 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 };
|