@nfdi4plants/arctrl 3.0.0-beta.9 → 3.0.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/README.md +30 -3
- package/dist/ts/index.d.ts +54 -16
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +56 -18
- package/dist/ts/ts/ARC.d.ts +26 -9
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +148 -63
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +62 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +250 -0
- package/dist/ts/ts/CWL/CWLTypes.d.ts +148 -0
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLTypes.js +384 -0
- package/dist/ts/ts/CWL/Decode.d.ts +210 -0
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Decode.js +2617 -0
- package/dist/ts/ts/CWL/Encode.d.ts +96 -0
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Encode.js +1509 -0
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +50 -0
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +152 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -0
- package/dist/ts/ts/CWL/HashHelpers.js +35 -0
- package/dist/ts/ts/CWL/Inputs.d.ts +31 -0
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Inputs.js +86 -0
- package/dist/ts/ts/CWL/OperationDescription.d.ts +46 -0
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/OperationDescription.js +133 -0
- package/dist/ts/ts/CWL/Outputs.d.ts +44 -0
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Outputs.js +143 -0
- package/dist/ts/ts/CWL/ParameterReference.d.ts +23 -0
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ParameterReference.js +60 -0
- package/dist/ts/ts/CWL/Requirements.d.ts +206 -0
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Requirements.js +384 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +50 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ToolDescription.js +152 -0
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +50 -0
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/WorkflowDescription.js +142 -0
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +160 -0
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -0
- package/dist/ts/ts/CWL/WorkflowSteps.js +317 -0
- package/dist/ts/ts/CWLRunResolver.d.ts +45 -0
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -0
- package/dist/ts/ts/CWLRunResolver.js +181 -0
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +27 -9
- package/dist/ts/ts/Contract/ArcRun.d.ts +6 -0
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +131 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +3 -0
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +70 -4
- package/dist/ts/ts/Contract/Datamap.d.ts +25 -25
- package/dist/ts/ts/Contract/Datamap.js +34 -34
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +3 -1
- package/dist/ts/ts/Conversion/Assay.d.ts +13 -0
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Assay.js +69 -0
- package/dist/ts/ts/Conversion/Basic.d.ts +105 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Basic.js +452 -0
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts +11 -0
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/ColumnIndex.js +71 -0
- package/dist/ts/ts/Conversion/Datamap.d.ts +11 -0
- package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Datamap.js +21 -0
- package/dist/ts/ts/Conversion/DateTime.d.ts +4 -0
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/DateTime.js +23 -0
- package/dist/ts/ts/Conversion/Investigation.d.ts +12 -0
- package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Investigation.js +79 -0
- package/dist/ts/ts/Conversion/Person.d.ts +16 -0
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Person.js +100 -0
- package/dist/ts/ts/Conversion/Process.d.ts +84 -0
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Process.js +455 -0
- package/dist/ts/ts/Conversion/Run.d.ts +35 -0
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Run.js +254 -0
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +16 -0
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +116 -0
- package/dist/ts/ts/Conversion/Study.d.ts +12 -0
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Study.js +51 -0
- package/dist/ts/ts/Conversion/Table.d.ts +45 -0
- package/dist/ts/ts/Conversion/Table.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Table.js +203 -0
- package/dist/ts/ts/Conversion/Workflow.d.ts +91 -0
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Workflow.js +455 -0
- package/dist/ts/ts/Conversion.d.ts +25 -276
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +64 -1477
- package/dist/ts/ts/Core/ArcTypes.d.ts +69 -59
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +222 -142
- package/dist/ts/ts/Core/{DataMap.d.ts → Datamap.d.ts} +24 -24
- package/dist/ts/ts/Core/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Core/{DataMap.js → Datamap.js} +36 -36
- package/dist/ts/ts/Core/Helper/Identifier.d.ts +24 -0
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +35 -2
- package/dist/ts/ts/Core/Table/ArcTable.d.ts +8 -8
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +20 -20
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +4 -4
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -27
- package/dist/ts/ts/FileSystem/Path.d.ts +22 -0
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +173 -3
- package/dist/ts/ts/Json/Assay.js +5 -5
- package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/{DataMap/DataMap.d.ts → Datamap/Datamap.d.ts} +6 -6
- package/dist/ts/ts/Json/{DataMap/DataMap.d.ts.map → Datamap/Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Json/{DataMap/DataMap.js → Datamap/Datamap.js} +2 -2
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDContext.js +21 -11
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +1 -0
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDNode.js +18 -7
- package/dist/ts/ts/Json/Run.js +5 -5
- package/dist/ts/ts/Json/Study.js +5 -5
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Json/Workflow.js +10 -11
- package/dist/ts/ts/Json.d.ts +3 -5
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +4 -10
- package/dist/ts/ts/JsonIO/Datamap.d.ts +4 -4
- package/dist/ts/ts/JsonIO/Datamap.js +6 -6
- package/dist/ts/ts/JsonIO/Investigation.d.ts +0 -6
- package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Investigation.js +2 -21
- package/dist/ts/ts/License.js +1 -1
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +35 -31
- package/dist/ts/ts/ROCrate/LDObject.d.ts +2 -2
- package/dist/ts/ts/ROCrate/LDObject.js +2 -2
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +63 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +361 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +39 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +219 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +43 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +224 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.js +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.d.ts +34 -22
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.js +59 -2
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/File.d.ts +10 -4
- package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/File.js +34 -1
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +59 -0
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +344 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProcess.d.ts +2 -0
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProcess.js +31 -5
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProtocol.d.ts +6 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProtocol.js +66 -15
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PropertyValue.d.ts +35 -11
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PropertyValue.js +191 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +46 -0
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +247 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +12 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +40 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +11 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +46 -0
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +2 -2
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/ROCrateContext.js +6 -6
- package/dist/ts/ts/ROCrateIO.d.ts +7 -3
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +82 -13
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcRun.js +2 -2
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +2 -2
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts +8 -0
- package/dist/ts/ts/Spreadsheet/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMap.js → Datamap.js} +9 -9
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts → DatamapTable/DatamapColumn.d.ts} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts.map → DatamapTable/DatamapColumn.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.js → DatamapTable/DatamapColumn.js} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts → DatamapTable/DatamapHeader.d.ts} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts.map → DatamapTable/DatamapHeader.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts → DatamapTable/DatamapTable.d.ts} +5 -5
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts.map → DatamapTable/DatamapTable.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.js → DatamapTable/DatamapTable.js} +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +4 -4
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +36 -0
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -0
- package/dist/ts/ts/WorkflowGraph/Adapters.js +94 -0
- package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +37 -0
- package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -0
- package/dist/ts/ts/WorkflowGraph/BuildOptions.js +35 -0
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +160 -0
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -0
- package/dist/ts/ts/WorkflowGraph/Builder.js +556 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +182 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +281 -0
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +27 -0
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -0
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +49 -0
- package/dist/ts/ts/Xlsx.d.ts +5 -5
- package/dist/ts/ts/Xlsx.js +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +5 -5
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -5
- package/dist/ts/ts/Yaml.d.ts +24 -0
- package/dist/ts/ts/Yaml.d.ts.map +1 -0
- package/dist/ts/ts/Yaml.js +56 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynObj.fs.js +109 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Encode.fs.js +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.3/FlowToBlock.fs.js +954 -0
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.3/Interop/JsInterop.fs.js +10 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Persil.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Reader.fs.js +208 -152
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.3/Regex.fs.js +15 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/RegexActivePatterns.fs.js +14 -10
- package/package.json +1 -1
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/File.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/LabProcess.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.d.ts.map +0 -1
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts +0 -8
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +0 -10
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +0 -11
- /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts +0 -0
- /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.js +0 -0
- /package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.js → DatamapTable/DatamapHeader.js} +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/DynamicObj.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/FableJS.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/HashCodes.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/PropertyHelper.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/ReflectionUtils.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Decode.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Preprocessing.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/Writer.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.0.0.3 → YAMLicious.1.0.0-alpha.3}/YAMLiciousTypes.fs.js +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { defaultArg, unwrap, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
|
+
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
3
|
+
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
|
+
|
|
5
|
+
class CWLWorkflowDescription extends DynamicObj {
|
|
6
|
+
constructor(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc) {
|
|
7
|
+
super();
|
|
8
|
+
this._cwlVersion = defaultArg(cwlVersion, "v1.2");
|
|
9
|
+
this._steps = steps;
|
|
10
|
+
this._inputs = inputs;
|
|
11
|
+
this._outputs = outputs;
|
|
12
|
+
this._requirements = requirements;
|
|
13
|
+
this._hints = hints;
|
|
14
|
+
this._intent = intent;
|
|
15
|
+
this._metadata = metadata;
|
|
16
|
+
this._label = label;
|
|
17
|
+
this._doc = doc;
|
|
18
|
+
}
|
|
19
|
+
get CWLVersion() {
|
|
20
|
+
const this$ = this;
|
|
21
|
+
return this$._cwlVersion;
|
|
22
|
+
}
|
|
23
|
+
set CWLVersion(version) {
|
|
24
|
+
const this$ = this;
|
|
25
|
+
this$._cwlVersion = version;
|
|
26
|
+
}
|
|
27
|
+
get Steps() {
|
|
28
|
+
const this$ = this;
|
|
29
|
+
return this$._steps;
|
|
30
|
+
}
|
|
31
|
+
set Steps(steps) {
|
|
32
|
+
const this$ = this;
|
|
33
|
+
this$._steps = steps;
|
|
34
|
+
}
|
|
35
|
+
get Inputs() {
|
|
36
|
+
const this$ = this;
|
|
37
|
+
return this$._inputs;
|
|
38
|
+
}
|
|
39
|
+
set Inputs(inputs) {
|
|
40
|
+
const this$ = this;
|
|
41
|
+
this$._inputs = inputs;
|
|
42
|
+
}
|
|
43
|
+
get Outputs() {
|
|
44
|
+
const this$ = this;
|
|
45
|
+
return this$._outputs;
|
|
46
|
+
}
|
|
47
|
+
set Outputs(outputs) {
|
|
48
|
+
const this$ = this;
|
|
49
|
+
this$._outputs = outputs;
|
|
50
|
+
}
|
|
51
|
+
get Requirements() {
|
|
52
|
+
const this$ = this;
|
|
53
|
+
return unwrap(this$._requirements);
|
|
54
|
+
}
|
|
55
|
+
set Requirements(requirements) {
|
|
56
|
+
const this$ = this;
|
|
57
|
+
this$._requirements = requirements;
|
|
58
|
+
}
|
|
59
|
+
get Hints() {
|
|
60
|
+
const this$ = this;
|
|
61
|
+
return unwrap(this$._hints);
|
|
62
|
+
}
|
|
63
|
+
set Hints(hints) {
|
|
64
|
+
const this$ = this;
|
|
65
|
+
this$._hints = hints;
|
|
66
|
+
}
|
|
67
|
+
get Intent() {
|
|
68
|
+
const this$ = this;
|
|
69
|
+
return unwrap(this$._intent);
|
|
70
|
+
}
|
|
71
|
+
set Intent(intent) {
|
|
72
|
+
const this$ = this;
|
|
73
|
+
this$._intent = intent;
|
|
74
|
+
}
|
|
75
|
+
get Metadata() {
|
|
76
|
+
const this$ = this;
|
|
77
|
+
return unwrap(this$._metadata);
|
|
78
|
+
}
|
|
79
|
+
set Metadata(metadata) {
|
|
80
|
+
const this$ = this;
|
|
81
|
+
this$._metadata = metadata;
|
|
82
|
+
}
|
|
83
|
+
get Label() {
|
|
84
|
+
const this$ = this;
|
|
85
|
+
return unwrap(this$._label);
|
|
86
|
+
}
|
|
87
|
+
set Label(label) {
|
|
88
|
+
const this$ = this;
|
|
89
|
+
this$._label = label;
|
|
90
|
+
}
|
|
91
|
+
get Doc() {
|
|
92
|
+
const this$ = this;
|
|
93
|
+
return unwrap(this$._doc);
|
|
94
|
+
}
|
|
95
|
+
set Doc(doc) {
|
|
96
|
+
const this$ = this;
|
|
97
|
+
this$._doc = doc;
|
|
98
|
+
}
|
|
99
|
+
static getInputs(workflow) {
|
|
100
|
+
return workflow.Inputs;
|
|
101
|
+
}
|
|
102
|
+
static getOutputs(workflow) {
|
|
103
|
+
return workflow.Outputs;
|
|
104
|
+
}
|
|
105
|
+
static getRequirementsOrEmpty(workflow) {
|
|
106
|
+
return defaultArg(workflow.Requirements, []);
|
|
107
|
+
}
|
|
108
|
+
static getHintsOrEmpty(workflow) {
|
|
109
|
+
return defaultArg(workflow.Hints, []);
|
|
110
|
+
}
|
|
111
|
+
static getIntentOrEmpty(workflow) {
|
|
112
|
+
return defaultArg(workflow.Intent, []);
|
|
113
|
+
}
|
|
114
|
+
static getOrCreateHints(workflow) {
|
|
115
|
+
const matchValue = workflow.Hints;
|
|
116
|
+
if (matchValue == null) {
|
|
117
|
+
const hints_1 = [];
|
|
118
|
+
workflow.Hints = hints_1;
|
|
119
|
+
return hints_1;
|
|
120
|
+
} else {
|
|
121
|
+
return value(matchValue);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
static getOrCreateIntent(workflow) {
|
|
125
|
+
const matchValue = workflow.Intent;
|
|
126
|
+
if (matchValue == null) {
|
|
127
|
+
const intent_1 = [];
|
|
128
|
+
workflow.Intent = intent_1;
|
|
129
|
+
return intent_1;
|
|
130
|
+
} else {
|
|
131
|
+
return value(matchValue);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function CWLWorkflowDescription_$reflection() {
|
|
136
|
+
return class_type("ARCtrl.CWL.CWLWorkflowDescription", void 0, CWLWorkflowDescription, DynamicObj_$reflection());
|
|
137
|
+
}
|
|
138
|
+
function CWLWorkflowDescription_$ctor_Z5554389(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc) {
|
|
139
|
+
return new CWLWorkflowDescription(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export { CWLWorkflowDescription, CWLWorkflowDescription_$ctor_Z5554389, CWLWorkflowDescription_$reflection };
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
2
|
+
import { Record, Union } from '@fable-org/fable-library-js/Types.js';
|
|
3
|
+
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.3/YAMLiciousTypes.fs.js';
|
|
5
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
6
|
+
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
7
|
+
import { HintEntry_$union, Requirement_$union } from './Requirements.js';
|
|
8
|
+
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
9
|
+
export type LinkMergeMethod_$union = LinkMergeMethod<0> | LinkMergeMethod<1>;
|
|
10
|
+
export type LinkMergeMethod_$cases = {
|
|
11
|
+
0: ["MergeNested", []];
|
|
12
|
+
1: ["MergeFlattened", []];
|
|
13
|
+
};
|
|
14
|
+
export declare function LinkMergeMethod_MergeNested(): LinkMergeMethod<0>;
|
|
15
|
+
export declare function LinkMergeMethod_MergeFlattened(): LinkMergeMethod<1>;
|
|
16
|
+
export declare class LinkMergeMethod<Tag extends keyof LinkMergeMethod_$cases> extends Union<Tag, LinkMergeMethod_$cases[Tag][0]> {
|
|
17
|
+
readonly tag: Tag;
|
|
18
|
+
readonly fields: LinkMergeMethod_$cases[Tag][1];
|
|
19
|
+
constructor(tag: Tag, fields: LinkMergeMethod_$cases[Tag][1]);
|
|
20
|
+
cases(): string[];
|
|
21
|
+
get AsCwlString(): string;
|
|
22
|
+
static tryParse(value: string): Option<LinkMergeMethod_$union>;
|
|
23
|
+
}
|
|
24
|
+
export declare function LinkMergeMethod_$reflection(): TypeInfo;
|
|
25
|
+
export type PickValueMethod_$union = PickValueMethod<0> | PickValueMethod<1> | PickValueMethod<2>;
|
|
26
|
+
export type PickValueMethod_$cases = {
|
|
27
|
+
0: ["FirstNonNull", []];
|
|
28
|
+
1: ["TheOnlyNonNull", []];
|
|
29
|
+
2: ["AllNonNull", []];
|
|
30
|
+
};
|
|
31
|
+
export declare function PickValueMethod_FirstNonNull(): PickValueMethod<0>;
|
|
32
|
+
export declare function PickValueMethod_TheOnlyNonNull(): PickValueMethod<1>;
|
|
33
|
+
export declare function PickValueMethod_AllNonNull(): PickValueMethod<2>;
|
|
34
|
+
export declare class PickValueMethod<Tag extends keyof PickValueMethod_$cases> extends Union<Tag, PickValueMethod_$cases[Tag][0]> {
|
|
35
|
+
readonly tag: Tag;
|
|
36
|
+
readonly fields: PickValueMethod_$cases[Tag][1];
|
|
37
|
+
constructor(tag: Tag, fields: PickValueMethod_$cases[Tag][1]);
|
|
38
|
+
cases(): string[];
|
|
39
|
+
get AsCwlString(): string;
|
|
40
|
+
static tryParse(value: string): Option<PickValueMethod_$union>;
|
|
41
|
+
}
|
|
42
|
+
export declare function PickValueMethod_$reflection(): TypeInfo;
|
|
43
|
+
export type ScatterMethod_$union = ScatterMethod<0> | ScatterMethod<1> | ScatterMethod<2>;
|
|
44
|
+
export type ScatterMethod_$cases = {
|
|
45
|
+
0: ["DotProduct", []];
|
|
46
|
+
1: ["NestedCrossProduct", []];
|
|
47
|
+
2: ["FlatCrossProduct", []];
|
|
48
|
+
};
|
|
49
|
+
export declare function ScatterMethod_DotProduct(): ScatterMethod<0>;
|
|
50
|
+
export declare function ScatterMethod_NestedCrossProduct(): ScatterMethod<1>;
|
|
51
|
+
export declare function ScatterMethod_FlatCrossProduct(): ScatterMethod<2>;
|
|
52
|
+
export declare class ScatterMethod<Tag extends keyof ScatterMethod_$cases> extends Union<Tag, ScatterMethod_$cases[Tag][0]> {
|
|
53
|
+
readonly tag: Tag;
|
|
54
|
+
readonly fields: ScatterMethod_$cases[Tag][1];
|
|
55
|
+
constructor(tag: Tag, fields: ScatterMethod_$cases[Tag][1]);
|
|
56
|
+
cases(): string[];
|
|
57
|
+
get AsCwlString(): string;
|
|
58
|
+
static tryParse(value: string): Option<ScatterMethod_$union>;
|
|
59
|
+
}
|
|
60
|
+
export declare function ScatterMethod_$reflection(): TypeInfo;
|
|
61
|
+
export declare class StepInput extends Record implements IEquatable<StepInput> {
|
|
62
|
+
readonly Id: string;
|
|
63
|
+
readonly Source: Option<string[]>;
|
|
64
|
+
readonly DefaultValue: Option<YAMLElement_$union>;
|
|
65
|
+
readonly ValueFrom: Option<string>;
|
|
66
|
+
readonly LinkMerge: Option<LinkMergeMethod_$union>;
|
|
67
|
+
readonly PickValue: Option<PickValueMethod_$union>;
|
|
68
|
+
readonly Doc: Option<string>;
|
|
69
|
+
readonly LoadContents: Option<boolean>;
|
|
70
|
+
readonly LoadListing: Option<string>;
|
|
71
|
+
readonly Label: Option<string>;
|
|
72
|
+
constructor(Id: string, Source: Option<string[]>, DefaultValue: Option<YAMLElement_$union>, ValueFrom: Option<string>, LinkMerge: Option<LinkMergeMethod_$union>, PickValue: Option<PickValueMethod_$union>, Doc: Option<string>, LoadContents: Option<boolean>, LoadListing: Option<string>, Label: Option<string>);
|
|
73
|
+
static create(id: string, source?: string[], defaultValue?: YAMLElement_$union, valueFrom?: string, linkMerge?: LinkMergeMethod_$union, pickValue?: PickValueMethod_$union, doc?: string, loadContents?: boolean, loadListing?: string, label?: string): StepInput;
|
|
74
|
+
static updateAt(index: int32, f: ((arg0: StepInput) => StepInput), inputs: StepInput[]): void;
|
|
75
|
+
}
|
|
76
|
+
export declare function StepInput_$reflection(): TypeInfo;
|
|
77
|
+
export declare class StepOutputParameter extends Record implements IEquatable<StepOutputParameter>, IComparable<StepOutputParameter> {
|
|
78
|
+
readonly Id: string;
|
|
79
|
+
constructor(Id: string);
|
|
80
|
+
static create(id: string): StepOutputParameter;
|
|
81
|
+
}
|
|
82
|
+
export declare function StepOutputParameter_$reflection(): TypeInfo;
|
|
83
|
+
export type StepOutput_$union = StepOutput<0> | StepOutput<1>;
|
|
84
|
+
export type StepOutput_$cases = {
|
|
85
|
+
0: ["StepOutputString", [string]];
|
|
86
|
+
1: ["StepOutputRecord", [StepOutputParameter]];
|
|
87
|
+
};
|
|
88
|
+
export declare function StepOutput_StepOutputString(Item: string): StepOutput<0>;
|
|
89
|
+
export declare function StepOutput_StepOutputRecord(Item: StepOutputParameter): StepOutput<1>;
|
|
90
|
+
export declare class StepOutput<Tag extends keyof StepOutput_$cases> extends Union<Tag, StepOutput_$cases[Tag][0]> {
|
|
91
|
+
readonly tag: Tag;
|
|
92
|
+
readonly fields: StepOutput_$cases[Tag][1];
|
|
93
|
+
constructor(tag: Tag, fields: StepOutput_$cases[Tag][1]);
|
|
94
|
+
cases(): string[];
|
|
95
|
+
}
|
|
96
|
+
export declare function StepOutput_$reflection(): TypeInfo;
|
|
97
|
+
export type WorkflowStepRun_$union = WorkflowStepRun<0> | WorkflowStepRun<1> | WorkflowStepRun<2> | WorkflowStepRun<3> | WorkflowStepRun<4>;
|
|
98
|
+
export type WorkflowStepRun_$cases = {
|
|
99
|
+
0: ["RunString", [string]];
|
|
100
|
+
1: ["RunCommandLineTool", [any]];
|
|
101
|
+
2: ["RunWorkflow", [any]];
|
|
102
|
+
3: ["RunExpressionTool", [any]];
|
|
103
|
+
4: ["RunOperation", [any]];
|
|
104
|
+
};
|
|
105
|
+
export declare function WorkflowStepRun_RunString(Item: string): WorkflowStepRun<0>;
|
|
106
|
+
export declare function WorkflowStepRun_RunCommandLineTool(Item: any): WorkflowStepRun<1>;
|
|
107
|
+
export declare function WorkflowStepRun_RunWorkflow(Item: any): WorkflowStepRun<2>;
|
|
108
|
+
export declare function WorkflowStepRun_RunExpressionTool(Item: any): WorkflowStepRun<3>;
|
|
109
|
+
export declare function WorkflowStepRun_RunOperation(Item: any): WorkflowStepRun<4>;
|
|
110
|
+
export declare class WorkflowStepRun<Tag extends keyof WorkflowStepRun_$cases> extends Union<Tag, WorkflowStepRun_$cases[Tag][0]> {
|
|
111
|
+
readonly tag: Tag;
|
|
112
|
+
readonly fields: WorkflowStepRun_$cases[Tag][1];
|
|
113
|
+
constructor(tag: Tag, fields: WorkflowStepRun_$cases[Tag][1]);
|
|
114
|
+
cases(): string[];
|
|
115
|
+
}
|
|
116
|
+
export declare function WorkflowStepRun_$reflection(): TypeInfo;
|
|
117
|
+
export declare class WorkflowStep extends DynamicObj {
|
|
118
|
+
_id: string;
|
|
119
|
+
_in: StepInput[];
|
|
120
|
+
_out: StepOutput_$union[];
|
|
121
|
+
_run: WorkflowStepRun_$union;
|
|
122
|
+
_label: Option<string>;
|
|
123
|
+
_doc: Option<string>;
|
|
124
|
+
_scatter: Option<string[]>;
|
|
125
|
+
_scatterMethod: Option<ScatterMethod_$union>;
|
|
126
|
+
_when: Option<string>;
|
|
127
|
+
_requirements: Option<Requirement_$union[]>;
|
|
128
|
+
_hints: Option<HintEntry_$union[]>;
|
|
129
|
+
constructor(id: string, in_: StepInput[], out_: StepOutput_$union[], run: WorkflowStepRun_$union, label?: string, doc?: string, scatter?: string[], scatterMethod?: ScatterMethod_$union, when_?: string, requirements?: Requirement_$union[], hints?: HintEntry_$union[]);
|
|
130
|
+
get Id(): string;
|
|
131
|
+
set Id(id: string);
|
|
132
|
+
get In(): StepInput[];
|
|
133
|
+
set In(in_: StepInput[]);
|
|
134
|
+
get Out(): StepOutput_$union[];
|
|
135
|
+
set Out(out_: StepOutput_$union[]);
|
|
136
|
+
get Run(): WorkflowStepRun_$union;
|
|
137
|
+
set Run(run: WorkflowStepRun_$union);
|
|
138
|
+
get Label(): string | undefined;
|
|
139
|
+
set Label(label: Option<string>);
|
|
140
|
+
get Doc(): string | undefined;
|
|
141
|
+
set Doc(doc: Option<string>);
|
|
142
|
+
get Scatter(): string[] | undefined;
|
|
143
|
+
set Scatter(scatter: Option<string[]>);
|
|
144
|
+
get ScatterMethod(): ScatterMethod_$union | undefined;
|
|
145
|
+
set ScatterMethod(scatterMethod: Option<ScatterMethod_$union>);
|
|
146
|
+
get When_(): string | undefined;
|
|
147
|
+
set When_(when_: Option<string>);
|
|
148
|
+
get Requirements(): Requirement_$union[] | undefined;
|
|
149
|
+
set Requirements(requirements: Option<Requirement_$union[]>);
|
|
150
|
+
get Hints(): HintEntry_$union[] | undefined;
|
|
151
|
+
set Hints(hints: Option<HintEntry_$union[]>);
|
|
152
|
+
static fromRunPath(id: string, in_: StepInput[], out_: StepOutput_$union[], runPath: string, label?: string, doc?: string, scatter?: string[], scatterMethod?: ScatterMethod_$union, when_?: string, requirements?: Requirement_$union[], hints?: HintEntry_$union[]): WorkflowStep;
|
|
153
|
+
static updateInputAt(index: int32, f: ((arg0: StepInput) => StepInput), step: WorkflowStep): void;
|
|
154
|
+
static addInput(input: StepInput, step: WorkflowStep): void;
|
|
155
|
+
static removeInputsById(id: string, step: WorkflowStep): void;
|
|
156
|
+
static updateInputById(id: string, f: ((arg0: StepInput) => StepInput), step: WorkflowStep): void;
|
|
157
|
+
}
|
|
158
|
+
export declare function WorkflowStep_$reflection(): TypeInfo;
|
|
159
|
+
export declare function WorkflowStep_$ctor_Z76380C57(id: string, in_: StepInput[], out_: StepOutput_$union[], run: WorkflowStepRun_$union, label?: string, doc?: string, scatter?: string[], scatterMethod?: ScatterMethod_$union, when_?: string, requirements?: Requirement_$union[], hints?: HintEntry_$union[]): WorkflowStep;
|
|
160
|
+
//# sourceMappingURL=WorkflowSteps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowSteps.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/WorkflowSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAkG,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACrK,OAAO,EAA2B,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAE9H,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,OAAO,EAA0B,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAExG,MAAM,MAAM,sBAAsB,GAC5B,eAAe,CAAC,CAAC,CAAC,GAClB,eAAe,CAAC,CAA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AAC,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,kBAAkB,EAAE,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,GAAG,YAAY,CAExT"}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { unwrap, toArray } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
|
+
import { Union, Record } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
3
|
+
import { union_type, record_type, string_type, option_type, array_type, bool_type, obj_type, class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
|
+
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.3/YAMLiciousTypes.fs.js';
|
|
5
|
+
import { setItem } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
6
|
+
import { filter, iterate, tryFindIndex } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
|
+
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
8
|
+
|
|
9
|
+
function LinkMergeMethod_MergeNested() {
|
|
10
|
+
return new LinkMergeMethod(0, []);
|
|
11
|
+
}
|
|
12
|
+
function LinkMergeMethod_MergeFlattened() {
|
|
13
|
+
return new LinkMergeMethod(1, []);
|
|
14
|
+
}
|
|
15
|
+
class LinkMergeMethod extends Union {
|
|
16
|
+
constructor(tag, fields) {
|
|
17
|
+
super();
|
|
18
|
+
this.tag = tag;
|
|
19
|
+
this.fields = fields;
|
|
20
|
+
}
|
|
21
|
+
cases() {
|
|
22
|
+
return ["MergeNested", "MergeFlattened"];
|
|
23
|
+
}
|
|
24
|
+
get AsCwlString() {
|
|
25
|
+
const this$ = this;
|
|
26
|
+
return this$.tag === /* MergeFlattened */
|
|
27
|
+
1 ? "merge_flattened" : "merge_nested";
|
|
28
|
+
}
|
|
29
|
+
static tryParse(value) {
|
|
30
|
+
return value === "merge_nested" ? LinkMergeMethod_MergeNested() : value === "merge_flattened" ? LinkMergeMethod_MergeFlattened() : void 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function LinkMergeMethod_$reflection() {
|
|
34
|
+
return union_type("ARCtrl.CWL.LinkMergeMethod", [], LinkMergeMethod, () => [[], []]);
|
|
35
|
+
}
|
|
36
|
+
function PickValueMethod_FirstNonNull() {
|
|
37
|
+
return new PickValueMethod(0, []);
|
|
38
|
+
}
|
|
39
|
+
function PickValueMethod_TheOnlyNonNull() {
|
|
40
|
+
return new PickValueMethod(1, []);
|
|
41
|
+
}
|
|
42
|
+
function PickValueMethod_AllNonNull() {
|
|
43
|
+
return new PickValueMethod(2, []);
|
|
44
|
+
}
|
|
45
|
+
class PickValueMethod extends Union {
|
|
46
|
+
constructor(tag, fields) {
|
|
47
|
+
super();
|
|
48
|
+
this.tag = tag;
|
|
49
|
+
this.fields = fields;
|
|
50
|
+
}
|
|
51
|
+
cases() {
|
|
52
|
+
return ["FirstNonNull", "TheOnlyNonNull", "AllNonNull"];
|
|
53
|
+
}
|
|
54
|
+
get AsCwlString() {
|
|
55
|
+
const this$ = this;
|
|
56
|
+
return this$.tag === /* TheOnlyNonNull */
|
|
57
|
+
1 ? "the_only_non_null" : this$.tag === /* AllNonNull */
|
|
58
|
+
2 ? "all_non_null" : "first_non_null";
|
|
59
|
+
}
|
|
60
|
+
static tryParse(value) {
|
|
61
|
+
return value === "first_non_null" ? PickValueMethod_FirstNonNull() : value === "the_only_non_null" ? PickValueMethod_TheOnlyNonNull() : value === "all_non_null" ? PickValueMethod_AllNonNull() : void 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function PickValueMethod_$reflection() {
|
|
65
|
+
return union_type("ARCtrl.CWL.PickValueMethod", [], PickValueMethod, () => [[], [], []]);
|
|
66
|
+
}
|
|
67
|
+
function ScatterMethod_DotProduct() {
|
|
68
|
+
return new ScatterMethod(0, []);
|
|
69
|
+
}
|
|
70
|
+
function ScatterMethod_NestedCrossProduct() {
|
|
71
|
+
return new ScatterMethod(1, []);
|
|
72
|
+
}
|
|
73
|
+
function ScatterMethod_FlatCrossProduct() {
|
|
74
|
+
return new ScatterMethod(2, []);
|
|
75
|
+
}
|
|
76
|
+
class ScatterMethod extends Union {
|
|
77
|
+
constructor(tag, fields) {
|
|
78
|
+
super();
|
|
79
|
+
this.tag = tag;
|
|
80
|
+
this.fields = fields;
|
|
81
|
+
}
|
|
82
|
+
cases() {
|
|
83
|
+
return ["DotProduct", "NestedCrossProduct", "FlatCrossProduct"];
|
|
84
|
+
}
|
|
85
|
+
get AsCwlString() {
|
|
86
|
+
const this$ = this;
|
|
87
|
+
return this$.tag === /* NestedCrossProduct */
|
|
88
|
+
1 ? "nested_crossproduct" : this$.tag === /* FlatCrossProduct */
|
|
89
|
+
2 ? "flat_crossproduct" : "dotproduct";
|
|
90
|
+
}
|
|
91
|
+
static tryParse(value) {
|
|
92
|
+
return value === "dotproduct" ? ScatterMethod_DotProduct() : value === "nested_crossproduct" ? ScatterMethod_NestedCrossProduct() : value === "flat_crossproduct" ? ScatterMethod_FlatCrossProduct() : void 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function ScatterMethod_$reflection() {
|
|
96
|
+
return union_type("ARCtrl.CWL.ScatterMethod", [], ScatterMethod, () => [[], [], []]);
|
|
97
|
+
}
|
|
98
|
+
class StepInput extends Record {
|
|
99
|
+
constructor(Id, Source, DefaultValue, ValueFrom, LinkMerge, PickValue, Doc, LoadContents, LoadListing, Label) {
|
|
100
|
+
super();
|
|
101
|
+
this.Id = Id;
|
|
102
|
+
this.Source = Source;
|
|
103
|
+
this.DefaultValue = DefaultValue;
|
|
104
|
+
this.ValueFrom = ValueFrom;
|
|
105
|
+
this.LinkMerge = LinkMerge;
|
|
106
|
+
this.PickValue = PickValue;
|
|
107
|
+
this.Doc = Doc;
|
|
108
|
+
this.LoadContents = LoadContents;
|
|
109
|
+
this.LoadListing = LoadListing;
|
|
110
|
+
this.Label = Label;
|
|
111
|
+
}
|
|
112
|
+
static create(id, source, defaultValue, valueFrom, linkMerge, pickValue, doc, loadContents, loadListing, label) {
|
|
113
|
+
return new StepInput(id, source, defaultValue, valueFrom, linkMerge, pickValue, doc, loadContents, loadListing, label);
|
|
114
|
+
}
|
|
115
|
+
static updateAt(index, f, inputs) {
|
|
116
|
+
if (index < 0 ? true : index >= inputs.length) {
|
|
117
|
+
throw new Error(`StepInput index ${index} is out of range.\\nParameter name: index`);
|
|
118
|
+
}
|
|
119
|
+
setItem(inputs, index, f(inputs[index]));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
function StepInput_$reflection() {
|
|
123
|
+
return record_type("ARCtrl.CWL.StepInput", [], StepInput, () => [["Id", string_type], ["Source", option_type(array_type(string_type))], ["DefaultValue", option_type(YAMLElement_$reflection())], ["ValueFrom", option_type(string_type)], ["LinkMerge", option_type(LinkMergeMethod_$reflection())], ["PickValue", option_type(PickValueMethod_$reflection())], ["Doc", option_type(string_type)], ["LoadContents", option_type(bool_type)], ["LoadListing", option_type(string_type)], ["Label", option_type(string_type)]]);
|
|
124
|
+
}
|
|
125
|
+
class StepOutputParameter extends Record {
|
|
126
|
+
constructor(Id) {
|
|
127
|
+
super();
|
|
128
|
+
this.Id = Id;
|
|
129
|
+
}
|
|
130
|
+
static create(id) {
|
|
131
|
+
return new StepOutputParameter(id);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
function StepOutputParameter_$reflection() {
|
|
135
|
+
return record_type("ARCtrl.CWL.StepOutputParameter", [], StepOutputParameter, () => [["Id", string_type]]);
|
|
136
|
+
}
|
|
137
|
+
function StepOutput_StepOutputString(Item) {
|
|
138
|
+
return new StepOutput(0, [Item]);
|
|
139
|
+
}
|
|
140
|
+
function StepOutput_StepOutputRecord(Item) {
|
|
141
|
+
return new StepOutput(1, [Item]);
|
|
142
|
+
}
|
|
143
|
+
class StepOutput extends Union {
|
|
144
|
+
constructor(tag, fields) {
|
|
145
|
+
super();
|
|
146
|
+
this.tag = tag;
|
|
147
|
+
this.fields = fields;
|
|
148
|
+
}
|
|
149
|
+
cases() {
|
|
150
|
+
return ["StepOutputString", "StepOutputRecord"];
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function StepOutput_$reflection() {
|
|
154
|
+
return union_type("ARCtrl.CWL.StepOutput", [], StepOutput, () => [[["Item", string_type]], [["Item", StepOutputParameter_$reflection()]]]);
|
|
155
|
+
}
|
|
156
|
+
function WorkflowStepRun_RunString(Item) {
|
|
157
|
+
return new WorkflowStepRun(0, [Item]);
|
|
158
|
+
}
|
|
159
|
+
function WorkflowStepRun_RunCommandLineTool(Item) {
|
|
160
|
+
return new WorkflowStepRun(1, [Item]);
|
|
161
|
+
}
|
|
162
|
+
function WorkflowStepRun_RunWorkflow(Item) {
|
|
163
|
+
return new WorkflowStepRun(2, [Item]);
|
|
164
|
+
}
|
|
165
|
+
function WorkflowStepRun_RunExpressionTool(Item) {
|
|
166
|
+
return new WorkflowStepRun(3, [Item]);
|
|
167
|
+
}
|
|
168
|
+
function WorkflowStepRun_RunOperation(Item) {
|
|
169
|
+
return new WorkflowStepRun(4, [Item]);
|
|
170
|
+
}
|
|
171
|
+
class WorkflowStepRun extends Union {
|
|
172
|
+
constructor(tag, fields) {
|
|
173
|
+
super();
|
|
174
|
+
this.tag = tag;
|
|
175
|
+
this.fields = fields;
|
|
176
|
+
}
|
|
177
|
+
cases() {
|
|
178
|
+
return ["RunString", "RunCommandLineTool", "RunWorkflow", "RunExpressionTool", "RunOperation"];
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function WorkflowStepRun_$reflection() {
|
|
182
|
+
return union_type("ARCtrl.CWL.WorkflowStepRun", [], WorkflowStepRun, () => [[["Item", string_type]], [["Item", obj_type]], [["Item", obj_type]], [["Item", obj_type]], [["Item", obj_type]]]);
|
|
183
|
+
}
|
|
184
|
+
class WorkflowStep extends DynamicObj {
|
|
185
|
+
constructor(id, in_, out_, run, label, doc, scatter, scatterMethod, when_, requirements, hints) {
|
|
186
|
+
super();
|
|
187
|
+
this._id = id;
|
|
188
|
+
this._in = in_;
|
|
189
|
+
this._out = out_;
|
|
190
|
+
this._run = run;
|
|
191
|
+
this._label = label;
|
|
192
|
+
this._doc = doc;
|
|
193
|
+
this._scatter = scatter;
|
|
194
|
+
this._scatterMethod = scatterMethod;
|
|
195
|
+
this._when = when_;
|
|
196
|
+
this._requirements = requirements;
|
|
197
|
+
this._hints = hints;
|
|
198
|
+
}
|
|
199
|
+
get Id() {
|
|
200
|
+
const this$ = this;
|
|
201
|
+
return this$._id;
|
|
202
|
+
}
|
|
203
|
+
set Id(id) {
|
|
204
|
+
const this$ = this;
|
|
205
|
+
this$._id = id;
|
|
206
|
+
}
|
|
207
|
+
get In() {
|
|
208
|
+
const this$ = this;
|
|
209
|
+
return this$._in;
|
|
210
|
+
}
|
|
211
|
+
set In(in_) {
|
|
212
|
+
const this$ = this;
|
|
213
|
+
this$._in = in_;
|
|
214
|
+
}
|
|
215
|
+
get Out() {
|
|
216
|
+
const this$ = this;
|
|
217
|
+
return this$._out;
|
|
218
|
+
}
|
|
219
|
+
set Out(out_) {
|
|
220
|
+
const this$ = this;
|
|
221
|
+
this$._out = out_;
|
|
222
|
+
}
|
|
223
|
+
get Run() {
|
|
224
|
+
const this$ = this;
|
|
225
|
+
return this$._run;
|
|
226
|
+
}
|
|
227
|
+
set Run(run) {
|
|
228
|
+
const this$ = this;
|
|
229
|
+
this$._run = run;
|
|
230
|
+
}
|
|
231
|
+
get Label() {
|
|
232
|
+
const this$ = this;
|
|
233
|
+
return unwrap(this$._label);
|
|
234
|
+
}
|
|
235
|
+
set Label(label) {
|
|
236
|
+
const this$ = this;
|
|
237
|
+
this$._label = label;
|
|
238
|
+
}
|
|
239
|
+
get Doc() {
|
|
240
|
+
const this$ = this;
|
|
241
|
+
return unwrap(this$._doc);
|
|
242
|
+
}
|
|
243
|
+
set Doc(doc) {
|
|
244
|
+
const this$ = this;
|
|
245
|
+
this$._doc = doc;
|
|
246
|
+
}
|
|
247
|
+
get Scatter() {
|
|
248
|
+
const this$ = this;
|
|
249
|
+
return unwrap(this$._scatter);
|
|
250
|
+
}
|
|
251
|
+
set Scatter(scatter) {
|
|
252
|
+
const this$ = this;
|
|
253
|
+
this$._scatter = scatter;
|
|
254
|
+
}
|
|
255
|
+
get ScatterMethod() {
|
|
256
|
+
const this$ = this;
|
|
257
|
+
return unwrap(this$._scatterMethod);
|
|
258
|
+
}
|
|
259
|
+
set ScatterMethod(scatterMethod) {
|
|
260
|
+
const this$ = this;
|
|
261
|
+
this$._scatterMethod = scatterMethod;
|
|
262
|
+
}
|
|
263
|
+
get When_() {
|
|
264
|
+
const this$ = this;
|
|
265
|
+
return unwrap(this$._when);
|
|
266
|
+
}
|
|
267
|
+
set When_(when_) {
|
|
268
|
+
const this$ = this;
|
|
269
|
+
this$._when = when_;
|
|
270
|
+
}
|
|
271
|
+
get Requirements() {
|
|
272
|
+
const this$ = this;
|
|
273
|
+
return unwrap(this$._requirements);
|
|
274
|
+
}
|
|
275
|
+
set Requirements(requirements) {
|
|
276
|
+
const this$ = this;
|
|
277
|
+
this$._requirements = requirements;
|
|
278
|
+
}
|
|
279
|
+
get Hints() {
|
|
280
|
+
const this$ = this;
|
|
281
|
+
return unwrap(this$._hints);
|
|
282
|
+
}
|
|
283
|
+
set Hints(hints) {
|
|
284
|
+
const this$ = this;
|
|
285
|
+
this$._hints = hints;
|
|
286
|
+
}
|
|
287
|
+
static fromRunPath(id, in_, out_, runPath, label, doc, scatter, scatterMethod, when_, requirements, hints) {
|
|
288
|
+
return new WorkflowStep(id, in_, out_, WorkflowStepRun_RunString(runPath), unwrap(label), unwrap(doc), unwrap(scatter), unwrap(scatterMethod), unwrap(when_), unwrap(requirements), unwrap(hints));
|
|
289
|
+
}
|
|
290
|
+
static updateInputAt(index, f, step) {
|
|
291
|
+
const inputs = step.In;
|
|
292
|
+
StepInput.updateAt(index, f, inputs);
|
|
293
|
+
}
|
|
294
|
+
static addInput(input, step) {
|
|
295
|
+
void step.In.push(input);
|
|
296
|
+
}
|
|
297
|
+
static removeInputsById(id, step) {
|
|
298
|
+
let remaining;
|
|
299
|
+
const collection = filter((i) => i.Id !== id, step.In);
|
|
300
|
+
remaining = Array.from(collection);
|
|
301
|
+
step.In = remaining;
|
|
302
|
+
}
|
|
303
|
+
static updateInputById(id, f, step) {
|
|
304
|
+
iterate((i_1) => {
|
|
305
|
+
const inputs = step.In;
|
|
306
|
+
StepInput.updateAt(i_1, f, inputs);
|
|
307
|
+
}, toArray(tryFindIndex((i) => i.Id === id, step.In)));
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
function WorkflowStep_$reflection() {
|
|
311
|
+
return class_type("ARCtrl.CWL.WorkflowStep", void 0, WorkflowStep, DynamicObj_$reflection());
|
|
312
|
+
}
|
|
313
|
+
function WorkflowStep_$ctor_Z76380C57(id, in_, out_, run, label, doc, scatter, scatterMethod, when_, requirements, hints) {
|
|
314
|
+
return new WorkflowStep(id, in_, out_, run, label, doc, scatter, scatterMethod, when_, requirements, hints);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export { LinkMergeMethod, LinkMergeMethod_$reflection, LinkMergeMethod_MergeFlattened, LinkMergeMethod_MergeNested, PickValueMethod, PickValueMethod_$reflection, PickValueMethod_AllNonNull, PickValueMethod_FirstNonNull, PickValueMethod_TheOnlyNonNull, ScatterMethod, ScatterMethod_$reflection, ScatterMethod_DotProduct, ScatterMethod_FlatCrossProduct, ScatterMethod_NestedCrossProduct, StepInput, StepInput_$reflection, StepOutput, StepOutputParameter, StepOutputParameter_$reflection, StepOutput_$reflection, StepOutput_StepOutputRecord, StepOutput_StepOutputString, WorkflowStep, WorkflowStepRun, WorkflowStepRun_$reflection, WorkflowStepRun_RunCommandLineTool, WorkflowStepRun_RunExpressionTool, WorkflowStepRun_RunOperation, WorkflowStepRun_RunString, WorkflowStepRun_RunWorkflow, WorkflowStep_$ctor_Z76380C57, WorkflowStep_$reflection };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { FSharpMap } from '@fable-org/fable-library-js/Map.js';
|
|
3
|
+
import { CWLProcessingUnit_$union } from './CWL/CWLProcessingUnit.js';
|
|
4
|
+
import { IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
5
|
+
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
6
|
+
import { WorkflowStepRun_$union } from './CWL/WorkflowSteps.js';
|
|
7
|
+
import { FSharpSet } from '@fable-org/fable-library-js/Set.js';
|
|
8
|
+
import { CWLWorkflowDescription } from './CWL/WorkflowDescription.js';
|
|
9
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
10
|
+
/**
|
|
11
|
+
* Normalizes a file path for use as a lookup key.
|
|
12
|
+
*/
|
|
13
|
+
export declare function pathKey(path: string): string;
|
|
14
|
+
export declare class RunResolutionState extends Record implements IEquatable<RunResolutionState> {
|
|
15
|
+
Cache: FSharpMap<string, CWLProcessingUnit_$union>;
|
|
16
|
+
constructor(Cache: FSharpMap<string, CWLProcessingUnit_$union>);
|
|
17
|
+
}
|
|
18
|
+
export declare function RunResolutionState_$reflection(): TypeInfo;
|
|
19
|
+
/**
|
|
20
|
+
* Generates candidate lookup paths for a .cwl run reference relative to a workflow file.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getRunNodeCandidates(workflowFilePath: string, runPath: string): string[];
|
|
23
|
+
export declare function cacheResolvedProcessingUnit(state: RunResolutionState, candidateKeys: string[], processingUnit: CWLProcessingUnit_$union): void;
|
|
24
|
+
export declare function runFromProcessingUnit(processingUnit: CWLProcessingUnit_$union): WorkflowStepRun_$union;
|
|
25
|
+
/**
|
|
26
|
+
* Iterates all steps in a workflow and resolves each step's run field recursively.
|
|
27
|
+
*/
|
|
28
|
+
export declare function resolveWorkflowRunsRecursiveWithResolver(workflowFilePath: string, activePathKeys: FSharpSet<string>, state: RunResolutionState, workflow: CWLWorkflowDescription, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): void;
|
|
29
|
+
/**
|
|
30
|
+
* Resolves a single WorkflowStepRun, trying each candidate path against the resolver for RunString values.
|
|
31
|
+
*/
|
|
32
|
+
export declare function resolveWorkflowStepRunRecursiveWithResolver(workflowFilePath: string, activePathKeys: FSharpSet<string>, state: RunResolutionState, run: WorkflowStepRun_$union, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): WorkflowStepRun_$union;
|
|
33
|
+
/**
|
|
34
|
+
* Resolves all CWL WorkflowStep run references for a processing unit by looking up
|
|
35
|
+
* run path strings in the provided resolver function. For Workflow processing units,
|
|
36
|
+
* this recursively resolves all nested step run references in-place.
|
|
37
|
+
* CommandLineTool and ExpressionTool processing units are returned unchanged.
|
|
38
|
+
*/
|
|
39
|
+
export declare function resolveRunReferencesFromLookup(workflowFilePath: string, processingUnit: CWLProcessingUnit_$union, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): CWLProcessingUnit_$union;
|
|
40
|
+
/**
|
|
41
|
+
* Resolves a single workflow step run value by looking up the run path string
|
|
42
|
+
* in the provided resolver function. Returns the resolved run value.
|
|
43
|
+
*/
|
|
44
|
+
export declare function resolveWorkflowStepRunFromLookup(workflowFilePath: string, run: WorkflowStepRun_$union, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): WorkflowStepRun_$union;
|
|
45
|
+
//# sourceMappingURL=CWLRunResolver.d.ts.map
|