@nfdi4plants/arctrl 3.0.0-beta.11 → 3.0.0-beta.13
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 +15 -15
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +16 -16
- package/dist/ts/ts/ARC.d.ts +6 -1
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +30 -6
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +19 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +26 -0
- package/dist/ts/ts/CWL/CWLTypes.d.ts +92 -0
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLTypes.js +173 -0
- package/dist/ts/ts/CWL/Decode.d.ts +94 -0
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Decode.js +649 -0
- package/dist/ts/ts/CWL/Encode.d.ts +28 -0
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Encode.js +546 -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 +28 -0
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Inputs.js +62 -0
- package/dist/ts/ts/CWL/Outputs.d.ts +25 -0
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Outputs.js +59 -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 +71 -0
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Requirements.js +116 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ToolDescription.js +80 -0
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +34 -0
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/WorkflowDescription.js +80 -0
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -0
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -0
- package/dist/ts/ts/CWL/WorkflowSteps.js +99 -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/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 +10 -0
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/ColumnIndex.js +52 -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 +59 -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 +26 -0
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Run.js +190 -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 +45 -0
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Workflow.js +305 -0
- package/dist/ts/ts/Conversion.d.ts +23 -274
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +62 -1475
- package/dist/ts/ts/Core/ArcTypes.d.ts +48 -38
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +183 -103
- 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/FileSystem/FileSystemTree.d.ts +2 -2
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +8 -15
- 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/Run.js +2 -2
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Json/Workflow.js +8 -9
- 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 +61 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +338 -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 +32 -22
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.js +45 -0
- 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.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/fable_modules/DynamicObj.7.1.0/DynObj.fs.js +109 -0
- 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/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/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
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { identityHash, defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
2
|
+
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
3
|
+
import { class_type, record_type, string_type, option_type, bool_type, union_type, array_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
|
+
import { Record, Union, FSharpRef } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
5
|
+
import { setProperty } from '../fable_modules/DynamicObj.7.1.0/DynObj.fs.js';
|
|
6
|
+
|
|
7
|
+
class FileInstance extends DynamicObj {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
}
|
|
11
|
+
GetHashCode() {
|
|
12
|
+
const this$ = this;
|
|
13
|
+
return identityHash(this$.DeepCopyProperties()) | 0;
|
|
14
|
+
}
|
|
15
|
+
Equals(o) {
|
|
16
|
+
let o_1;
|
|
17
|
+
const this$ = this;
|
|
18
|
+
return o instanceof FileInstance && (o_1 = o, this$.StructurallyEquals(o_1));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function FileInstance_$reflection() {
|
|
22
|
+
return class_type("ARCtrl.CWL.FileInstance", void 0, FileInstance, DynamicObj_$reflection());
|
|
23
|
+
}
|
|
24
|
+
function FileInstance_$ctor() {
|
|
25
|
+
return new FileInstance();
|
|
26
|
+
}
|
|
27
|
+
class DirectoryInstance extends DynamicObj {
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
}
|
|
31
|
+
Equals(o) {
|
|
32
|
+
let o_1;
|
|
33
|
+
const this$ = this;
|
|
34
|
+
return o instanceof DirectoryInstance && (o_1 = o, this$.StructurallyEquals(o_1));
|
|
35
|
+
}
|
|
36
|
+
GetHashCode() {
|
|
37
|
+
const this$ = this;
|
|
38
|
+
return identityHash(this$.DeepCopyProperties()) | 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function DirectoryInstance_$reflection() {
|
|
42
|
+
return class_type("ARCtrl.CWL.DirectoryInstance", void 0, DirectoryInstance, DynamicObj_$reflection());
|
|
43
|
+
}
|
|
44
|
+
function DirectoryInstance_$ctor() {
|
|
45
|
+
return new DirectoryInstance();
|
|
46
|
+
}
|
|
47
|
+
class DirentInstance extends Record {
|
|
48
|
+
constructor(Entry, Entryname, Writable) {
|
|
49
|
+
super();
|
|
50
|
+
this.Entry = Entry;
|
|
51
|
+
this.Entryname = Entryname;
|
|
52
|
+
this.Writable = Writable;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function DirentInstance_$reflection() {
|
|
56
|
+
return record_type("ARCtrl.CWL.DirentInstance", [], DirentInstance, () => [["Entry", string_type], ["Entryname", option_type(string_type)], ["Writable", option_type(bool_type)]]);
|
|
57
|
+
}
|
|
58
|
+
function CWLType_File(Item) {
|
|
59
|
+
return new CWLType(0, [Item]);
|
|
60
|
+
}
|
|
61
|
+
function CWLType_Directory(Item) {
|
|
62
|
+
return new CWLType(1, [Item]);
|
|
63
|
+
}
|
|
64
|
+
function CWLType_Dirent(Item) {
|
|
65
|
+
return new CWLType(2, [Item]);
|
|
66
|
+
}
|
|
67
|
+
function CWLType_String() {
|
|
68
|
+
return new CWLType(3, []);
|
|
69
|
+
}
|
|
70
|
+
function CWLType_Int() {
|
|
71
|
+
return new CWLType(4, []);
|
|
72
|
+
}
|
|
73
|
+
function CWLType_Long() {
|
|
74
|
+
return new CWLType(5, []);
|
|
75
|
+
}
|
|
76
|
+
function CWLType_Float() {
|
|
77
|
+
return new CWLType(6, []);
|
|
78
|
+
}
|
|
79
|
+
function CWLType_Double() {
|
|
80
|
+
return new CWLType(7, []);
|
|
81
|
+
}
|
|
82
|
+
function CWLType_Boolean() {
|
|
83
|
+
return new CWLType(8, []);
|
|
84
|
+
}
|
|
85
|
+
function CWLType_Stdout() {
|
|
86
|
+
return new CWLType(9, []);
|
|
87
|
+
}
|
|
88
|
+
function CWLType_Null() {
|
|
89
|
+
return new CWLType(10, []);
|
|
90
|
+
}
|
|
91
|
+
function CWLType_Array(Item) {
|
|
92
|
+
return new CWLType(11, [Item]);
|
|
93
|
+
}
|
|
94
|
+
class CWLType extends Union {
|
|
95
|
+
constructor(tag, fields) {
|
|
96
|
+
super();
|
|
97
|
+
this.tag = tag;
|
|
98
|
+
this.fields = fields;
|
|
99
|
+
}
|
|
100
|
+
cases() {
|
|
101
|
+
return ["File", "Directory", "Dirent", "String", "Int", "Long", "Float", "Double", "Boolean", "Stdout", "Null", "Array"];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function CWLType_$reflection() {
|
|
105
|
+
return union_type("ARCtrl.CWL.CWLType", [], CWLType, () => [[["Item", FileInstance_$reflection()]], [["Item", DirectoryInstance_$reflection()]], [["Item", DirentInstance_$reflection()]], [], [], [], [], [], [], [], [], [["Item", CWLType_$reflection()]]]);
|
|
106
|
+
}
|
|
107
|
+
function CWLType_file() {
|
|
108
|
+
return CWLType_File(FileInstance_$ctor());
|
|
109
|
+
}
|
|
110
|
+
function CWLType_directory() {
|
|
111
|
+
return CWLType_Directory(DirectoryInstance_$ctor());
|
|
112
|
+
}
|
|
113
|
+
class InputRecordSchema extends DynamicObj {
|
|
114
|
+
constructor() {
|
|
115
|
+
super();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function InputRecordSchema_$reflection() {
|
|
119
|
+
return class_type("ARCtrl.CWL.InputRecordSchema", void 0, InputRecordSchema, DynamicObj_$reflection());
|
|
120
|
+
}
|
|
121
|
+
function InputRecordSchema_$ctor() {
|
|
122
|
+
return new InputRecordSchema();
|
|
123
|
+
}
|
|
124
|
+
class InputEnumSchema extends DynamicObj {
|
|
125
|
+
constructor() {
|
|
126
|
+
super();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function InputEnumSchema_$reflection() {
|
|
130
|
+
return class_type("ARCtrl.CWL.InputEnumSchema", void 0, InputEnumSchema, DynamicObj_$reflection());
|
|
131
|
+
}
|
|
132
|
+
function InputEnumSchema_$ctor() {
|
|
133
|
+
return new InputEnumSchema();
|
|
134
|
+
}
|
|
135
|
+
class InputArraySchema extends DynamicObj {
|
|
136
|
+
constructor() {
|
|
137
|
+
super();
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function InputArraySchema_$reflection() {
|
|
141
|
+
return class_type("ARCtrl.CWL.InputArraySchema", void 0, InputArraySchema, DynamicObj_$reflection());
|
|
142
|
+
}
|
|
143
|
+
function InputArraySchema_$ctor() {
|
|
144
|
+
return new InputArraySchema();
|
|
145
|
+
}
|
|
146
|
+
class SchemaDefRequirementType extends DynamicObj {
|
|
147
|
+
constructor(types, definitions) {
|
|
148
|
+
super();
|
|
149
|
+
const this$ = new FSharpRef(defaultOf());
|
|
150
|
+
this$.contents = this;
|
|
151
|
+
this["init@69"] = 1;
|
|
152
|
+
setProperty("types", definitions, this$.contents);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function SchemaDefRequirementType_$reflection() {
|
|
156
|
+
return class_type("ARCtrl.CWL.SchemaDefRequirementType", void 0, SchemaDefRequirementType, DynamicObj_$reflection());
|
|
157
|
+
}
|
|
158
|
+
function SchemaDefRequirementType_$ctor_541DA560(types, definitions) {
|
|
159
|
+
return new SchemaDefRequirementType(types, definitions);
|
|
160
|
+
}
|
|
161
|
+
class SoftwarePackage extends Record {
|
|
162
|
+
constructor(Package, Version, Specs) {
|
|
163
|
+
super();
|
|
164
|
+
this.Package = Package;
|
|
165
|
+
this.Version = Version;
|
|
166
|
+
this.Specs = Specs;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
function SoftwarePackage_$reflection() {
|
|
170
|
+
return record_type("ARCtrl.CWL.SoftwarePackage", [], SoftwarePackage, () => [["Package", string_type], ["Version", option_type(array_type(string_type))], ["Specs", option_type(array_type(string_type))]]);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export { CWLType, CWLType_$reflection, CWLType_Array, CWLType_Boolean, CWLType_Directory, CWLType_Dirent, CWLType_Double, CWLType_File, CWLType_Float, CWLType_Int, CWLType_Long, CWLType_Null, CWLType_Stdout, CWLType_String, CWLType_directory, CWLType_file, DirectoryInstance, DirectoryInstance_$ctor, DirectoryInstance_$reflection, DirentInstance, DirentInstance_$reflection, FileInstance, FileInstance_$ctor, FileInstance_$reflection, InputArraySchema, InputArraySchema_$ctor, InputArraySchema_$reflection, InputEnumSchema, InputEnumSchema_$ctor, InputEnumSchema_$reflection, InputRecordSchema, InputRecordSchema_$ctor, InputRecordSchema_$reflection, SchemaDefRequirementType, SchemaDefRequirementType_$ctor_541DA560, SchemaDefRequirementType_$reflection, SoftwarePackage, SoftwarePackage_$reflection };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { IMap } from '@fable-org/fable-library-js/Util.js';
|
|
2
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js';
|
|
3
|
+
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
4
|
+
import { IGetters } from '../fable_modules/YAMLicious.0.0.3/Decode.fs.js';
|
|
5
|
+
import { float64 } from '@fable-org/fable-library-js/Int32.js';
|
|
6
|
+
import { CWLOutput, OutputBinding } from './Outputs.js';
|
|
7
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
8
|
+
import { SchemaDefRequirementType, SoftwarePackage, CWLType_$union } from './CWLTypes.js';
|
|
9
|
+
import { Requirement_$union, ResourceRequirementInstance, EnvironmentDef, DockerRequirement } from './Requirements.js';
|
|
10
|
+
import { CWLInput, InputBinding } from './Inputs.js';
|
|
11
|
+
import { WorkflowStep, StepInput } from './WorkflowSteps.js';
|
|
12
|
+
import { CWLToolDescription } from './ToolDescription.js';
|
|
13
|
+
import { CWLWorkflowDescription } from './WorkflowDescription.js';
|
|
14
|
+
import { CWLProcessingUnit_$union } from './CWLProcessingUnit.js';
|
|
15
|
+
import { CWLParameterReference } from './ParameterReference.js';
|
|
16
|
+
export declare function ResizeArray_map<$a, $b>(f: ((arg0: $a) => $b), a: $a[]): $b[];
|
|
17
|
+
/**
|
|
18
|
+
* Decode key value pairs into a dynamic object, while preserving their tree structure
|
|
19
|
+
*/
|
|
20
|
+
export declare function Decode_overflowDecoder(dynObj: DynamicObj, dict: IMap<string, YAMLElement_$union>): DynamicObj;
|
|
21
|
+
/**
|
|
22
|
+
* Decode a YAMLElement which is either a string or expression into a string
|
|
23
|
+
*/
|
|
24
|
+
export declare function Decode_decodeStringOrExpression(yEle: YAMLElement_$union): string;
|
|
25
|
+
export declare const Decode_outputBindingGlobDecoder: (value_1: YAMLElement_$union) => OutputBinding;
|
|
26
|
+
export declare const Decode_outputBindingDecoder: (value: YAMLElement_$union) => Option<OutputBinding>;
|
|
27
|
+
export declare const Decode_outputSourceDecoder: (value_1: YAMLElement_$union) => Option<string>;
|
|
28
|
+
export declare const Decode_direntDecoder: (value_1: YAMLElement_$union) => CWLType_$union;
|
|
29
|
+
export declare const Decode_cwlArrayTypeDecoder: (value_1: YAMLElement_$union) => CWLType_$union;
|
|
30
|
+
/**
|
|
31
|
+
* Match the input string to the possible CWL types and checks if it is optional
|
|
32
|
+
*/
|
|
33
|
+
export declare function Decode_cwlTypeStringMatcher(t: string, get$: IGetters): [CWLType_$union, boolean];
|
|
34
|
+
export declare const Decode_cwlTypeDecoder: (value_1: YAMLElement_$union) => [CWLType_$union, boolean];
|
|
35
|
+
export declare const Decode_outputArrayDecoder: (value_1: YAMLElement_$union) => CWLOutput[];
|
|
36
|
+
export declare const Decode_outputsDecoder: (value: YAMLElement_$union) => CWLOutput[];
|
|
37
|
+
/**
|
|
38
|
+
* Decode a YAMLElement into a DockerRequirement
|
|
39
|
+
*/
|
|
40
|
+
export declare function Decode_dockerRequirementDecoder(get$: IGetters): DockerRequirement;
|
|
41
|
+
/**
|
|
42
|
+
* Decode a YAMLElement into an EnvVarRequirement array
|
|
43
|
+
*/
|
|
44
|
+
export declare function Decode_envVarRequirementDecoder(get$: IGetters): EnvironmentDef[];
|
|
45
|
+
/**
|
|
46
|
+
* Decode a YAMLElement into a SoftwareRequirement array
|
|
47
|
+
*/
|
|
48
|
+
export declare function Decode_softwareRequirementDecoder(get$: IGetters): SoftwarePackage[];
|
|
49
|
+
/**
|
|
50
|
+
* Decode a YAMLElement into a InitialWorkDirRequirement array
|
|
51
|
+
*/
|
|
52
|
+
export declare function Decode_initialWorkDirRequirementDecoder(get$: IGetters): CWLType_$union[];
|
|
53
|
+
/**
|
|
54
|
+
* Decode a YAMLElement into a ResourceRequirementInstance
|
|
55
|
+
*/
|
|
56
|
+
export declare function Decode_resourceRequirementDecoder(get$: IGetters): ResourceRequirementInstance;
|
|
57
|
+
/**
|
|
58
|
+
* Decode a YAMLElement into a SchemaDefRequirementType array
|
|
59
|
+
*/
|
|
60
|
+
export declare function Decode_schemaDefRequirementDecoder(get$: IGetters): SchemaDefRequirementType[];
|
|
61
|
+
/**
|
|
62
|
+
* Decode a YAMLElement into a ToolTimeLimitRequirement
|
|
63
|
+
*/
|
|
64
|
+
export declare function Decode_toolTimeLimitRequirementDecoder(get$: IGetters): float64;
|
|
65
|
+
export declare const Decode_requirementArrayDecoder: (value_2: YAMLElement_$union) => Requirement_$union[];
|
|
66
|
+
export declare const Decode_requirementsDecoder: (value: YAMLElement_$union) => Option<Requirement_$union[]>;
|
|
67
|
+
export declare const Decode_hintsDecoder: (value: YAMLElement_$union) => Option<Requirement_$union[]>;
|
|
68
|
+
export declare const Decode_inputBindingDecoder: (value_5: YAMLElement_$union) => Option<InputBinding>;
|
|
69
|
+
export declare const Decode_inputArrayDecoder: (value_1: YAMLElement_$union) => CWLInput[];
|
|
70
|
+
export declare const Decode_inputsDecoder: (value: YAMLElement_$union) => Option<CWLInput[]>;
|
|
71
|
+
export declare const Decode_baseCommandDecoder: (value_2: YAMLElement_$union) => Option<string[]>;
|
|
72
|
+
export declare const Decode_versionDecoder: (value_1: YAMLElement_$union) => string;
|
|
73
|
+
export declare const Decode_classDecoder: (value_1: YAMLElement_$union) => string;
|
|
74
|
+
export declare function Decode_stringOptionFieldDecoder(field: string): ((arg0: YAMLElement_$union) => Option<string>);
|
|
75
|
+
export declare function Decode_stringFieldDecoder(field: string): ((arg0: YAMLElement_$union) => string);
|
|
76
|
+
export declare const Decode_inputStepDecoder: (value_1: YAMLElement_$union) => StepInput[];
|
|
77
|
+
export declare const Decode_outputStepsDecoder: (value_2: YAMLElement_$union) => string[];
|
|
78
|
+
export declare const Decode_stepArrayDecoder: (value_1: YAMLElement_$union) => WorkflowStep[];
|
|
79
|
+
export declare const Decode_stepsDecoder: (value: YAMLElement_$union) => WorkflowStep[];
|
|
80
|
+
export declare function Decode_commandLineToolDecoder(yamlCWL: YAMLElement_$union): CWLToolDescription;
|
|
81
|
+
/**
|
|
82
|
+
* Decode a CWL file string written in the YAML format into a CWLToolDescription
|
|
83
|
+
*/
|
|
84
|
+
export declare function Decode_decodeCommandLineTool(cwl: string): CWLToolDescription;
|
|
85
|
+
export declare function Decode_workflowDecoder(yamlCWL: YAMLElement_$union): CWLWorkflowDescription;
|
|
86
|
+
/**
|
|
87
|
+
* Decode a CWL file string written in the YAML format into a CWLWorkflowDescription
|
|
88
|
+
*/
|
|
89
|
+
export declare function Decode_decodeWorkflow(cwl: string): CWLWorkflowDescription;
|
|
90
|
+
export declare function Decode_decodeCWLProcessingUnit(cwl: string): CWLProcessingUnit_$union;
|
|
91
|
+
export declare function DecodeParameters_cwlParameterReferenceDecoder(get$: IGetters, key: string, yEle: YAMLElement_$union): CWLParameterReference;
|
|
92
|
+
export declare const DecodeParameters_cwlparameterReferenceArrayDecoder: (value: YAMLElement_$union) => CWLParameterReference[];
|
|
93
|
+
export declare function DecodeParameters_decodeYAMLParameterFile(yaml: string): CWLParameterReference[];
|
|
94
|
+
//# sourceMappingURL=Decode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Decode.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/Decode.ts"],"names":[],"mappings":"AAAA,OA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