@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,79 @@
|
|
|
1
|
+
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
|
+
import { value, bind, defaultArg, unwrap, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
|
+
import { tryFromString, toString } from './DateTime.js';
|
|
4
|
+
import { now } from '../../node_modules/@fable-org/fable-library-js/Date.js';
|
|
5
|
+
import { Option_fromSeq, ResizeArray_map, ResizeArray_choose, ResizeArray_filter } from '../Core/Helper/Collections.js';
|
|
6
|
+
import { ScholarlyArticleConversion_composeScholarlyArticle_D324A6D, ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8 } from './ScholarlyArticle.js';
|
|
7
|
+
import { PersonConversion_composePerson_Z64D846DC, PersonConversion_decomposePerson_Z6839B9E8 } from './Person.js';
|
|
8
|
+
import { BaseTypes_composeComment_Z13201A7E, BaseTypes_decomposeComment_Z2F770004 } from './Basic.js';
|
|
9
|
+
import { toList, delay, append } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
10
|
+
import { AssayConversion_composeAssay_Z5C53FD5C, AssayConversion_decomposeAssay_Z6839B9E8 } from './Assay.js';
|
|
11
|
+
import { ArcInvestigation } from '../Core/ArcTypes.js';
|
|
12
|
+
import { StudyConversion_composeStudy_ZFE0E38E, StudyConversion_decomposeStudy_Z6839B9E8 } from './Study.js';
|
|
13
|
+
import { WorkflowConversion_composeWorkflow_42450E6E, WorkflowConversion_decomposeWorkflow_Z6839B9E8 } from './Workflow.js';
|
|
14
|
+
import { RunConversion_composeRun_Z8CC08AC, RunConversion_decomposeRun_Z6839B9E8 } from './Run.js';
|
|
15
|
+
import { LDDataset } from '../ROCrate/LDTypes/Dataset.js';
|
|
16
|
+
|
|
17
|
+
class InvestigationConversion {
|
|
18
|
+
constructor() {
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function InvestigationConversion_$reflection() {
|
|
22
|
+
return class_type("ARCtrl.Conversion.InvestigationConversion", void 0, InvestigationConversion);
|
|
23
|
+
}
|
|
24
|
+
function InvestigationConversion_composeInvestigation_Z284BC0AC(investigation, fs, ignoreBrokenWR) {
|
|
25
|
+
let collection;
|
|
26
|
+
let name;
|
|
27
|
+
const matchValue = investigation.Title;
|
|
28
|
+
if (matchValue == null) {
|
|
29
|
+
throw new Error("Investigation must have a title");
|
|
30
|
+
} else {
|
|
31
|
+
name = value(matchValue);
|
|
32
|
+
}
|
|
33
|
+
const dateCreated = bind(tryFromString, investigation.SubmissionDate);
|
|
34
|
+
const datePublished = defaultArg(bind(tryFromString, investigation.PublicReleaseDate), now());
|
|
35
|
+
const publications = Option_fromSeq(ResizeArray_map(ScholarlyArticleConversion_composeScholarlyArticle_D324A6D, investigation.Publications));
|
|
36
|
+
const creators = Option_fromSeq(ResizeArray_map(PersonConversion_composePerson_Z64D846DC, investigation.Contacts));
|
|
37
|
+
const comments = Option_fromSeq(ResizeArray_map(BaseTypes_composeComment_Z13201A7E, investigation.Comments));
|
|
38
|
+
const hasParts = Option_fromSeq((collection = toList(delay(() => append(ResizeArray_map((a_3) => AssayConversion_composeAssay_Z5C53FD5C(a_3, unwrap(fs)), investigation.Assays), delay(() => append(ResizeArray_map((s_2) => StudyConversion_composeStudy_ZFE0E38E(s_2, unwrap(fs)), investigation.Studies), delay(() => append(ResizeArray_choose((w) => {
|
|
39
|
+
try {
|
|
40
|
+
return WorkflowConversion_composeWorkflow_42450E6E(w, unwrap(fs));
|
|
41
|
+
} catch (matchValue_1) {
|
|
42
|
+
if (ignoreBrokenWR != null && value(ignoreBrokenWR)) {
|
|
43
|
+
return void 0;
|
|
44
|
+
} else {
|
|
45
|
+
throw matchValue_1;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}, investigation.Workflows), delay(() => ResizeArray_choose((r) => {
|
|
49
|
+
try {
|
|
50
|
+
return RunConversion_composeRun_Z8CC08AC(r, unwrap(fs));
|
|
51
|
+
} catch (matchValue_2) {
|
|
52
|
+
if (ignoreBrokenWR != null && value(ignoreBrokenWR)) {
|
|
53
|
+
return void 0;
|
|
54
|
+
} else {
|
|
55
|
+
throw matchValue_2;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}, investigation.Runs))))))))), Array.from(collection)));
|
|
59
|
+
const mentions = Option_fromSeq([]);
|
|
60
|
+
return LDDataset.createInvestigation(investigation.Identifier, name, void 0, unwrap(creators), unwrap(dateCreated), datePublished, void 0, unwrap(investigation.Description), unwrap(hasParts), unwrap(publications), unwrap(comments), unwrap(mentions));
|
|
61
|
+
}
|
|
62
|
+
function InvestigationConversion_decomposeInvestigation_Z6839B9E8(investigation, graph, context) {
|
|
63
|
+
let title;
|
|
64
|
+
const matchValue = LDDataset.tryGetNameAsString(investigation, unwrap(context));
|
|
65
|
+
title = matchValue == null ? LDDataset.tryGetHeadlineAsString(investigation, unwrap(context)) : value(matchValue);
|
|
66
|
+
const dateCreated = map(toString, LDDataset.tryGetDateCreatedAsDateTime(investigation, unwrap(context)));
|
|
67
|
+
const datePublished = map(toString, LDDataset.tryGetDatePublishedAsDateTime(investigation, unwrap(context)));
|
|
68
|
+
const publications = ResizeArray_map((p) => ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8(p, unwrap(graph), unwrap(context)), LDDataset.getCitations(investigation, unwrap(graph), unwrap(context)));
|
|
69
|
+
const creators = ResizeArray_map((c) => PersonConversion_decomposePerson_Z6839B9E8(c, unwrap(graph), unwrap(context)), LDDataset.getCreators(investigation, unwrap(graph), unwrap(context)));
|
|
70
|
+
const datasets = LDDataset.getHasPartsAsDataset(investigation, unwrap(graph), unwrap(context));
|
|
71
|
+
const studies = ResizeArray_map((d_3) => StudyConversion_decomposeStudy_Z6839B9E8(d_3, unwrap(graph), unwrap(context)), ResizeArray_filter((d_2) => LDDataset.validateStudy(d_2, unwrap(context)), datasets));
|
|
72
|
+
const assays = ResizeArray_map((d_5) => AssayConversion_decomposeAssay_Z6839B9E8(d_5, unwrap(graph), unwrap(context)), ResizeArray_filter((d_4) => LDDataset.validateAssay(d_4, unwrap(context)), datasets));
|
|
73
|
+
const workflows = ResizeArray_map((d_7) => WorkflowConversion_decomposeWorkflow_Z6839B9E8(d_7, unwrap(graph), unwrap(context)), ResizeArray_filter((d_6) => LDDataset.validateARCWorkflow(d_6, unwrap(graph), unwrap(context)), datasets));
|
|
74
|
+
const runs = ResizeArray_map((d_9) => RunConversion_decomposeRun_Z6839B9E8(d_9, unwrap(graph), unwrap(context)), ResizeArray_filter((d_8) => LDDataset.validateARCRun(d_8, unwrap(context)), datasets));
|
|
75
|
+
const comments = ResizeArray_map((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, unwrap(context)), LDDataset.getComments(investigation, unwrap(graph), unwrap(context)));
|
|
76
|
+
return ArcInvestigation.create(LDDataset.getIdentifierAsString(investigation, unwrap(context)), unwrap(title), unwrap(LDDataset.tryGetDescriptionAsString(investigation, unwrap(context))), unwrap(dateCreated), unwrap(datePublished), void 0, publications, creators, assays, studies, workflows, runs, void 0, comments);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export { InvestigationConversion, InvestigationConversion_$reflection, InvestigationConversion_composeInvestigation_Z284BC0AC, InvestigationConversion_decomposeInvestigation_Z6839B9E8 };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
2
|
+
import { LDGraph, LDNode } from '../ROCrate/LDObject.js';
|
|
3
|
+
import { LDContext } from '../ROCrate/LDContext.js';
|
|
4
|
+
import { Person } from '../Core/Person.js';
|
|
5
|
+
export declare class PersonConversion {
|
|
6
|
+
constructor();
|
|
7
|
+
}
|
|
8
|
+
export declare function PersonConversion_$reflection(): TypeInfo;
|
|
9
|
+
export declare function PersonConversion_get_orcidKey(): string;
|
|
10
|
+
export declare function PersonConversion_composeAffiliation_Z721C83C5(affiliation: string): LDNode;
|
|
11
|
+
export declare function PersonConversion_decomposeAffiliation_Z2F770004(affiliation: LDNode, context?: LDContext): string;
|
|
12
|
+
export declare function PersonConversion_composeAddress_Z721C83C5(address: string): any;
|
|
13
|
+
export declare function PersonConversion_decomposeAddress_4E60E31B(address: any): string;
|
|
14
|
+
export declare function PersonConversion_composePerson_Z64D846DC(person: Person): LDNode;
|
|
15
|
+
export declare function PersonConversion_decomposePerson_Z6839B9E8(person: LDNode, graph?: LDGraph, context?: LDContext): Person;
|
|
16
|
+
//# sourceMappingURL=Person.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/Person.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAIjF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAMzD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAOpD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,qBAAa,gBAAgB;;CAG5B;AAED,wBAAgB,4BAA4B,IAAI,QAAQ,CAEvD;AAED,wBAAgB,6BAA6B,IAAI,MAAM,CAEtD;AAED,wBAAgB,6CAA6C,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAczF;AAED,wBAAgB,+CAA+C,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAOhH;AAED,wBAAgB,yCAAyC,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,CAW9E;AAED,wBAAgB,0CAA0C,CAAC,OAAO,EAAE,GAAG,GAAG,MAAM,CAU/E;AAED,wBAAgB,wCAAwC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAc/E;AAED,wBAAgB,0CAA0C,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAevH"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
|
+
import { LDOrganization } from '../ROCrate/LDTypes/Organization.js';
|
|
3
|
+
import { fromString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
4
|
+
import { decoder, encoder } from '../Json/ROCrate/LDNode.js';
|
|
5
|
+
import { LDNode } from '../ROCrate/LDObject.js';
|
|
6
|
+
import { toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
7
|
+
import { isEmpty, filter } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
8
|
+
import { unwrap, value, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
9
|
+
import { toString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
10
|
+
import { Option_fromSeq, ResizeArray_map } from '../Core/Helper/Collections.js';
|
|
11
|
+
import { BaseTypes_composeDefinedTerm_ZDED3A0F, BaseTypes_decomposeDefinedTerm_Z2F770004 } from './Basic.js';
|
|
12
|
+
import { toString as toString$1 } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
13
|
+
import { Comment$ } from '../Core/Comment.js';
|
|
14
|
+
import { LDPerson } from '../ROCrate/LDTypes/Person.js';
|
|
15
|
+
import { Person } from '../Core/Person.js';
|
|
16
|
+
import { tryGetOrcidNumber } from '../Core/Helper/ORCID.js';
|
|
17
|
+
|
|
18
|
+
class PersonConversion {
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function PersonConversion_$reflection() {
|
|
23
|
+
return class_type("ARCtrl.Conversion.PersonConversion", void 0, PersonConversion);
|
|
24
|
+
}
|
|
25
|
+
function PersonConversion_get_orcidKey() {
|
|
26
|
+
return "ORCID";
|
|
27
|
+
}
|
|
28
|
+
function PersonConversion_composeAffiliation_Z721C83C5(affiliation) {
|
|
29
|
+
let arg;
|
|
30
|
+
try {
|
|
31
|
+
const matchValue = fromString(decoder, affiliation);
|
|
32
|
+
if (matchValue.tag === /* Error */
|
|
33
|
+
1) {
|
|
34
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
35
|
+
} else {
|
|
36
|
+
return matchValue.fields[0];
|
|
37
|
+
}
|
|
38
|
+
} catch (matchValue_1) {
|
|
39
|
+
return LDOrganization.create(affiliation);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function PersonConversion_decomposeAffiliation_Z2F770004(affiliation, context) {
|
|
43
|
+
if (isEmpty(filter((n) => n !== LDOrganization.name, affiliation.GetPropertyNames(unwrap(context))))) {
|
|
44
|
+
return LDOrganization.getNameAsString(affiliation, unwrap(context));
|
|
45
|
+
} else {
|
|
46
|
+
return toString(0, encoder(affiliation));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function PersonConversion_composeAddress_Z721C83C5(address) {
|
|
50
|
+
let matchValue;
|
|
51
|
+
try {
|
|
52
|
+
return matchValue = fromString(decoder, address), matchValue.tag === /* Error */
|
|
53
|
+
1 ? (() => {
|
|
54
|
+
let arg;
|
|
55
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
56
|
+
})() : matchValue.fields[0];
|
|
57
|
+
} catch (matchValue_1) {
|
|
58
|
+
return address;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function PersonConversion_decomposeAddress_4E60E31B(address) {
|
|
62
|
+
if (typeof address === "string") {
|
|
63
|
+
return address;
|
|
64
|
+
} else if (address instanceof LDNode) {
|
|
65
|
+
return toString(0, encoder(address));
|
|
66
|
+
} else {
|
|
67
|
+
throw new Error("Address must be a string or a Json.LDNode");
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function PersonConversion_composePerson_Z64D846DC(person) {
|
|
71
|
+
let givenName;
|
|
72
|
+
const matchValue = person.FirstName;
|
|
73
|
+
if (matchValue == null) {
|
|
74
|
+
throw new Error("Person must have a given name");
|
|
75
|
+
} else {
|
|
76
|
+
givenName = value(matchValue);
|
|
77
|
+
}
|
|
78
|
+
const jobTitles = Option_fromSeq(ResizeArray_map(BaseTypes_composeDefinedTerm_ZDED3A0F, person.Roles));
|
|
79
|
+
const disambiguatingDescriptions = Option_fromSeq(ResizeArray_map(toString$1, person.Comments));
|
|
80
|
+
const address_1 = map(PersonConversion_composeAddress_Z721C83C5, person.Address);
|
|
81
|
+
const affiliation_1 = map(PersonConversion_composeAffiliation_Z721C83C5, person.Affiliation);
|
|
82
|
+
return LDPerson.create(givenName, unwrap(person.ORCID), void 0, unwrap(affiliation_1), unwrap(person.EMail), unwrap(person.LastName), void 0, unwrap(jobTitles), unwrap(person.MidInitials), address_1, unwrap(disambiguatingDescriptions), unwrap(person.Fax), unwrap(person.Phone));
|
|
83
|
+
}
|
|
84
|
+
function PersonConversion_decomposePerson_Z6839B9E8(person, graph, context) {
|
|
85
|
+
const orcid = tryGetOrcidNumber(person.Id);
|
|
86
|
+
let address;
|
|
87
|
+
const matchValue = LDPerson.tryGetAddressAsString(person, unwrap(context));
|
|
88
|
+
if (matchValue == null) {
|
|
89
|
+
const matchValue_1 = LDPerson.tryGetAddressAsPostalAddress(person, unwrap(graph), unwrap(context));
|
|
90
|
+
address = matchValue_1 == null ? void 0 : PersonConversion_decomposeAddress_4E60E31B(value(matchValue_1));
|
|
91
|
+
} else {
|
|
92
|
+
address = value(matchValue);
|
|
93
|
+
}
|
|
94
|
+
const roles = ResizeArray_map((r) => BaseTypes_decomposeDefinedTerm_Z2F770004(r, unwrap(context)), LDPerson.getJobTitlesAsDefinedTerm(person, unwrap(graph), unwrap(context)));
|
|
95
|
+
const comments = ResizeArray_map((s_1) => Comment$.fromString(s_1), LDPerson.getDisambiguatingDescriptionsAsString(person, unwrap(context)));
|
|
96
|
+
const affiliation = map((a_3) => PersonConversion_decomposeAffiliation_Z2F770004(a_3, unwrap(context)), LDPerson.tryGetAffiliation(person, unwrap(graph), unwrap(context)));
|
|
97
|
+
return Person.create(unwrap(orcid), unwrap(LDPerson.tryGetFamilyNameAsString(person, unwrap(context))), LDPerson.getGivenNameAsString(person, unwrap(context)), unwrap(LDPerson.tryGetAdditionalNameAsString(person, unwrap(context))), unwrap(LDPerson.tryGetEmailAsString(person, unwrap(context))), unwrap(LDPerson.tryGetTelephoneAsString(person, unwrap(context))), unwrap(LDPerson.tryGetFaxNumberAsString(person, unwrap(context))), unwrap(address), unwrap(affiliation), roles, comments);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export { PersonConversion, PersonConversion_$reflection, PersonConversion_composeAddress_Z721C83C5, PersonConversion_composeAffiliation_Z721C83C5, PersonConversion_composePerson_Z64D846DC, PersonConversion_decomposeAddress_4E60E31B, PersonConversion_decomposeAffiliation_Z2F770004, PersonConversion_decomposePerson_Z6839B9E8, PersonConversion_get_orcidKey };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
2
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
3
|
+
import { LDGraph, LDNode } from '../ROCrate/LDObject.js';
|
|
4
|
+
import { OntologyAnnotation } from '../Core/OntologyAnnotation.js';
|
|
5
|
+
import { LDContext } from '../ROCrate/LDContext.js';
|
|
6
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
7
|
+
import { CompositeCell_$union } from '../Core/Table/CompositeCell.js';
|
|
8
|
+
import { ArcTable } from '../Core/Table/ArcTable.js';
|
|
9
|
+
import { CompositeHeader_$union } from '../Core/Table/CompositeHeader.js';
|
|
10
|
+
import { FileSystem } from '../FileSystem/FileSystem.js';
|
|
11
|
+
import { FSharpList } from '@fable-org/fable-library-js/List.js';
|
|
12
|
+
export declare class ProcessConversion {
|
|
13
|
+
constructor();
|
|
14
|
+
}
|
|
15
|
+
export declare function ProcessConversion_$reflection(): TypeInfo;
|
|
16
|
+
export declare function ProcessConversion_tryGetProtocolType_Z6839B9E8(pv: LDNode, graph?: LDGraph, context?: LDContext): Option<OntologyAnnotation>;
|
|
17
|
+
export declare function ProcessConversion_composeProcessName(processNameRoot: string, i: int32): string;
|
|
18
|
+
export declare function ProcessConversion_decomposeProcessName_Z721C83C5(name: string): [string, Option<int32>];
|
|
19
|
+
/**
|
|
20
|
+
* If the given headers depict a component, returns a function for parsing the values of the matrix to the values of this component
|
|
21
|
+
*/
|
|
22
|
+
export declare function ProcessConversion_tryComponentGetter(generalI: int32, valueI: int32, valueHeader: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
23
|
+
/**
|
|
24
|
+
* If the given headers depict a parameter, returns a function for parsing the values of the matrix to the values of this type
|
|
25
|
+
*/
|
|
26
|
+
export declare function ProcessConversion_tryParameterGetter(generalI: int32, valueI: int32, valueHeader: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
27
|
+
/**
|
|
28
|
+
* If the given headers depict a factor, returns a function for parsing the values of the matrix to the values of this type
|
|
29
|
+
*/
|
|
30
|
+
export declare function ProcessConversion_tryFactorGetter(generalI: int32, valueI: int32, valueHeader: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
31
|
+
/**
|
|
32
|
+
* If the given headers depict a protocolType, returns a function for parsing the values of the matrix to the values of this type
|
|
33
|
+
*/
|
|
34
|
+
export declare function ProcessConversion_tryCharacteristicGetter(generalI: int32, valueI: int32, valueHeader: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
35
|
+
/**
|
|
36
|
+
* If the given headers depict a protocolType, returns a function for parsing the values of the matrix to the values of this type
|
|
37
|
+
*/
|
|
38
|
+
export declare function ProcessConversion_tryGetProtocolTypeGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
39
|
+
/**
|
|
40
|
+
* If the given headers depict a protocolREF, returns a function for parsing the values of the matrix to the values of this type
|
|
41
|
+
*/
|
|
42
|
+
export declare function ProcessConversion_tryGetProtocolREFGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => string))>;
|
|
43
|
+
/**
|
|
44
|
+
* If the given headers depict a protocolDescription, returns a function for parsing the values of the matrix to the values of this type
|
|
45
|
+
*/
|
|
46
|
+
export declare function ProcessConversion_tryGetProtocolDescriptionGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => string))>;
|
|
47
|
+
/**
|
|
48
|
+
* If the given headers depict a protocolURI, returns a function for parsing the values of the matrix to the values of this type
|
|
49
|
+
*/
|
|
50
|
+
export declare function ProcessConversion_tryGetProtocolURIGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => string))>;
|
|
51
|
+
/**
|
|
52
|
+
* If the given headers depict a protocolVersion, returns a function for parsing the values of the matrix to the values of this type
|
|
53
|
+
*/
|
|
54
|
+
export declare function ProcessConversion_tryGetProtocolVersionGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => string))>;
|
|
55
|
+
/**
|
|
56
|
+
* If the given headers depict an input, returns a function for parsing the values of the matrix to the values of this type
|
|
57
|
+
*/
|
|
58
|
+
export declare function ProcessConversion_tryGetInputGetter(generalI: int32, header: CompositeHeader_$union, fs: Option<FileSystem>): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
59
|
+
/**
|
|
60
|
+
* If the given headers depict an output, returns a function for parsing the values of the matrix to the values of this type
|
|
61
|
+
*/
|
|
62
|
+
export declare function ProcessConversion_tryGetOutputGetter(generalI: int32, header: CompositeHeader_$union, fs: Option<FileSystem>): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
63
|
+
/**
|
|
64
|
+
* If the given headers depict a comment, returns a function for parsing the values of the matrix to the values of this type
|
|
65
|
+
*/
|
|
66
|
+
export declare function ProcessConversion_tryGetCommentGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => string))>;
|
|
67
|
+
export declare function ProcessConversion_tryGetPerformerGetter(generalI: int32, header: CompositeHeader_$union): Option<((arg0: ArcTable) => ((arg0: int32) => LDNode))>;
|
|
68
|
+
/**
|
|
69
|
+
* Given the header sequence of an ArcTable, returns a function for parsing each row of the table to a process
|
|
70
|
+
*/
|
|
71
|
+
export declare function ProcessConversion_getProcessGetter(assayName: Option<string>, studyName: Option<string>, processNameRoot: string, headers: Iterable<CompositeHeader_$union>, fs: Option<FileSystem>): ((arg0: ArcTable) => ((arg0: int32) => LDNode));
|
|
72
|
+
/**
|
|
73
|
+
* Groups processes by their name, or by the name of the protocol they execute
|
|
74
|
+
*
|
|
75
|
+
* Process names are taken from the Worksheet name and numbered: SheetName_1, SheetName_2, etc.
|
|
76
|
+
*
|
|
77
|
+
* This function decomposes this name into a root name and a number, and groups processes by root name.
|
|
78
|
+
*/
|
|
79
|
+
export declare function ProcessConversion_groupProcesses_Z27F0B586(processes: FSharpList<LDNode>, graph?: LDGraph, context?: LDContext): FSharpList<[string, FSharpList<LDNode>]>;
|
|
80
|
+
/**
|
|
81
|
+
* Merges processes with the same name, protocol and param values
|
|
82
|
+
*/
|
|
83
|
+
export declare function ProcessConversion_processToRows_Z6839B9E8(p: LDNode, graph?: LDGraph, context?: LDContext): FSharpList<[CompositeHeader_$union, CompositeCell_$union]>[];
|
|
84
|
+
//# sourceMappingURL=Process.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Process.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/Process.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,OAAO,EAA8C,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACnH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAS,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAI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