@nfdi4plants/arctrl 3.0.3 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +320 -0
- package/dist/ts/ts/ARC.d.ts +3 -3
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +72 -93
- package/dist/ts/ts/CWL/CWLTypes.d.ts +162 -45
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +495 -104
- package/dist/ts/ts/CWL/Decode.d.ts +292 -46
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +951 -563
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +37 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +57 -0
- package/dist/ts/ts/CWL/Encode.d.ts +117 -2
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +447 -193
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +8 -3
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +20 -4
- package/dist/ts/ts/CWL/Inputs.d.ts +65 -14
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +194 -51
- package/dist/ts/ts/CWL/OperationDescription.d.ts +8 -3
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +20 -4
- package/dist/ts/ts/CWL/Outputs.d.ts +51 -12
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +152 -76
- package/dist/ts/ts/CWL/ParameterReference.d.ts +4 -1
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +17 -6
- package/dist/ts/ts/CWL/Requirements.d.ts +140 -50
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +458 -127
- package/dist/ts/ts/CWL/ToolDescription.d.ts +31 -3
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +83 -4
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +8 -3
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +20 -4
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +50 -19
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +152 -23
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.d.ts +3 -3
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +30 -23
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +4 -3
- package/dist/ts/ts/Conversion/Investigation.js +2 -2
- package/dist/ts/ts/Conversion/Person.d.ts +1 -1
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Person.js +27 -11
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +3 -2
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +2 -1
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +5 -4
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +13 -12
- package/dist/ts/ts/Conversion.d.ts +14 -10
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +18 -11
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +18 -0
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +4 -2
- package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +76 -2
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +3 -0
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +23 -10
- package/dist/ts/ts/Core/Table/ArcTables.d.ts +1 -0
- package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTables.js +7 -3
- package/dist/ts/ts/Json.d.ts +2 -2
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +3 -3
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +2 -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.js +1 -1
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/Decode.fs.js +96 -24
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/Persil.fs.js +11 -159
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Preprocessing.fs.js +319 -0
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Reader.fs.js +1867 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/Regex.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/RegexActivePatterns.fs.js +2 -2
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Syntax.fs.js +819 -0
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Writer.fs.js +686 -0
- package/package.json +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.5/FlowToBlock.fs.js +0 -956
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.5/Preprocessing.fs.js +0 -139
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.5/Reader.fs.js +0 -1314
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.5/Writer.fs.js +0 -391
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/Encode.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/Escapes.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/Interop/JsInterop.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/StringBuffer.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.11}/YAMLiciousTypes.fs.js +0 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { compare, equals, structuralHash, getEnumerator, toIterator, defaultOf, disposeSafe } from './Util.js';
|
|
2
|
+
import { class_type } from './Reflection.js';
|
|
3
|
+
import { delay, enumerateWhile, append, singleton, empty, toArray } from './Seq.js';
|
|
4
|
+
import { item, fill, copyTo, initialize, setItem } from './Array.js';
|
|
5
|
+
import { max } from './Double.js';
|
|
6
|
+
|
|
7
|
+
class Comparer$1 {
|
|
8
|
+
constructor(comparison) {
|
|
9
|
+
this.comparison = comparison;
|
|
10
|
+
}
|
|
11
|
+
Compare(x, y) {
|
|
12
|
+
const _ = this;
|
|
13
|
+
return _.comparison(x, y) | 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function Comparer$1_$reflection(gen0) {
|
|
17
|
+
return class_type("System.Collections.Generic.Comparer`1", [gen0], Comparer$1);
|
|
18
|
+
}
|
|
19
|
+
function Comparer$1_$ctor_47C913C(comparison) {
|
|
20
|
+
return new Comparer$1(comparison);
|
|
21
|
+
}
|
|
22
|
+
function Comparer$1_get_Default() {
|
|
23
|
+
return Comparer$1_$ctor_47C913C(compare);
|
|
24
|
+
}
|
|
25
|
+
function Comparer$1_Create_47C913C(comparison) {
|
|
26
|
+
return Comparer$1_$ctor_47C913C(comparison);
|
|
27
|
+
}
|
|
28
|
+
function Comparer$1__Compare_5BDDA0(_, x, y) {
|
|
29
|
+
return _.comparison(x, y);
|
|
30
|
+
}
|
|
31
|
+
class EqualityComparer$1 {
|
|
32
|
+
constructor(equals, getHashCode) {
|
|
33
|
+
this.equals = equals;
|
|
34
|
+
this.getHashCode = getHashCode;
|
|
35
|
+
}
|
|
36
|
+
Equals(x, y) {
|
|
37
|
+
const _ = this;
|
|
38
|
+
return _.equals(x, y);
|
|
39
|
+
}
|
|
40
|
+
GetHashCode(x) {
|
|
41
|
+
const _ = this;
|
|
42
|
+
return _.getHashCode(x) | 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function EqualityComparer$1_$reflection(gen0) {
|
|
46
|
+
return class_type("System.Collections.Generic.EqualityComparer`1", [gen0], EqualityComparer$1);
|
|
47
|
+
}
|
|
48
|
+
function EqualityComparer$1_$ctor_Z6EE254AB(equals, getHashCode) {
|
|
49
|
+
return new EqualityComparer$1(equals, getHashCode);
|
|
50
|
+
}
|
|
51
|
+
function EqualityComparer$1_get_Default() {
|
|
52
|
+
return EqualityComparer$1_$ctor_Z6EE254AB(equals, structuralHash);
|
|
53
|
+
}
|
|
54
|
+
function EqualityComparer$1_Create_Z6EE254AB(equals, getHashCode) {
|
|
55
|
+
return EqualityComparer$1_$ctor_Z6EE254AB(equals, getHashCode);
|
|
56
|
+
}
|
|
57
|
+
function EqualityComparer$1__Equals_5BDDA0(_, x, y) {
|
|
58
|
+
return _.equals(x, y);
|
|
59
|
+
}
|
|
60
|
+
function EqualityComparer$1__GetHashCode_2B595(_, x) {
|
|
61
|
+
return _.getHashCode(x);
|
|
62
|
+
}
|
|
63
|
+
class Stack$1 {
|
|
64
|
+
constructor(initialContents, initialCount) {
|
|
65
|
+
this.contents = initialContents;
|
|
66
|
+
this.count = (initialCount | 0);
|
|
67
|
+
}
|
|
68
|
+
GetEnumerator() {
|
|
69
|
+
const _ = this;
|
|
70
|
+
return getEnumerator(delay(() => {
|
|
71
|
+
let index = _.count - 1;
|
|
72
|
+
return enumerateWhile(() => (index >= 0), delay(() => append(singleton(item(index, _.contents)), delay(() => {
|
|
73
|
+
index = ((index - 1) | 0);
|
|
74
|
+
return empty();
|
|
75
|
+
}))));
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
[Symbol.iterator]() {
|
|
79
|
+
return toIterator(getEnumerator(this));
|
|
80
|
+
}
|
|
81
|
+
"System.Collections.IEnumerable.GetEnumerator"() {
|
|
82
|
+
const this$ = this;
|
|
83
|
+
return getEnumerator(this$);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function Stack$1_$reflection(gen0) {
|
|
87
|
+
return class_type("System.Collections.Generic.Stack`1", [gen0], Stack$1);
|
|
88
|
+
}
|
|
89
|
+
function Stack$1_$ctor_Z3B4C077E(initialContents, initialCount) {
|
|
90
|
+
return new Stack$1(initialContents, initialCount);
|
|
91
|
+
}
|
|
92
|
+
function Stack$1_$ctor_Z524259A4(initialCapacity) {
|
|
93
|
+
return Stack$1_$ctor_Z3B4C077E(fill(new Array(initialCapacity), 0, initialCapacity, null), 0);
|
|
94
|
+
}
|
|
95
|
+
function Stack$1_$ctor() {
|
|
96
|
+
return Stack$1_$ctor_Z524259A4(4);
|
|
97
|
+
}
|
|
98
|
+
function Stack$1_$ctor_BB573A(xs) {
|
|
99
|
+
const arr = Array.from(xs);
|
|
100
|
+
return Stack$1_$ctor_Z3B4C077E(arr, arr.length);
|
|
101
|
+
}
|
|
102
|
+
function Stack$1__Ensure_Z524259A4(_, newSize) {
|
|
103
|
+
const oldSize = _.contents.length | 0;
|
|
104
|
+
if (newSize > oldSize) {
|
|
105
|
+
const old = _.contents;
|
|
106
|
+
_.contents = fill(new Array(max(newSize, oldSize * 2)), 0, max(newSize, oldSize * 2), null);
|
|
107
|
+
copyTo(old, 0, _.contents, 0, _.count);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function Stack$1__get_Count(_) {
|
|
111
|
+
return _.count;
|
|
112
|
+
}
|
|
113
|
+
function Stack$1__Pop(_) {
|
|
114
|
+
_.count = ((_.count - 1) | 0);
|
|
115
|
+
return item(_.count, _.contents);
|
|
116
|
+
}
|
|
117
|
+
function Stack$1__Peek(_) {
|
|
118
|
+
return item(_.count - 1, _.contents);
|
|
119
|
+
}
|
|
120
|
+
function Stack$1__Contains_2B595(_, x) {
|
|
121
|
+
let found = false;
|
|
122
|
+
let i = 0;
|
|
123
|
+
while ((i < _.count) && !found) {
|
|
124
|
+
if (equals(x, item(i, _.contents))) {
|
|
125
|
+
found = true;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
i = ((i + 1) | 0);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return found;
|
|
132
|
+
}
|
|
133
|
+
function Stack$1__TryPeek_1F3DB691(this$, result) {
|
|
134
|
+
if (this$.count > 0) {
|
|
135
|
+
result.contents = Stack$1__Peek(this$);
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function Stack$1__TryPop_1F3DB691(this$, result) {
|
|
143
|
+
if (this$.count > 0) {
|
|
144
|
+
result.contents = Stack$1__Pop(this$);
|
|
145
|
+
return true;
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
function Stack$1__Push_2B595(this$, x) {
|
|
152
|
+
Stack$1__Ensure_Z524259A4(this$, this$.count + 1);
|
|
153
|
+
this$.contents[this$.count] = x;
|
|
154
|
+
this$.count = ((this$.count + 1) | 0);
|
|
155
|
+
}
|
|
156
|
+
function Stack$1__Clear(_) {
|
|
157
|
+
_.count = 0;
|
|
158
|
+
fill(_.contents, 0, _.contents.length, defaultOf());
|
|
159
|
+
}
|
|
160
|
+
function Stack$1__TrimExcess(this$) {
|
|
161
|
+
if ((this$.count / this$.contents.length) > 0.9) {
|
|
162
|
+
Stack$1__Ensure_Z524259A4(this$, this$.count);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function Stack$1__ToArray(_) {
|
|
166
|
+
return initialize(_.count, (i) => item((_.count - 1) - i, _.contents));
|
|
167
|
+
}
|
|
168
|
+
class Queue$1 {
|
|
169
|
+
constructor(initialContents, initialCount) {
|
|
170
|
+
this.contents = initialContents;
|
|
171
|
+
this.count = (initialCount | 0);
|
|
172
|
+
this.head = 0;
|
|
173
|
+
this.tail = (((initialCount === this.contents.length) ? 0 : initialCount) | 0);
|
|
174
|
+
}
|
|
175
|
+
GetEnumerator() {
|
|
176
|
+
const _ = this;
|
|
177
|
+
return getEnumerator(Queue$1__toSeq(_));
|
|
178
|
+
}
|
|
179
|
+
[Symbol.iterator]() {
|
|
180
|
+
return toIterator(getEnumerator(this));
|
|
181
|
+
}
|
|
182
|
+
"System.Collections.IEnumerable.GetEnumerator"() {
|
|
183
|
+
const this$ = this;
|
|
184
|
+
return getEnumerator(this$);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
function Queue$1_$reflection(gen0) {
|
|
188
|
+
return class_type("System.Collections.Generic.Queue`1", [gen0], Queue$1);
|
|
189
|
+
}
|
|
190
|
+
function Queue$1_$ctor_Z3B4C077E(initialContents, initialCount) {
|
|
191
|
+
return new Queue$1(initialContents, initialCount);
|
|
192
|
+
}
|
|
193
|
+
function Queue$1_$ctor_Z524259A4(initialCapacity) {
|
|
194
|
+
if (initialCapacity < 0) {
|
|
195
|
+
throw new Error("capacity is less than 0");
|
|
196
|
+
}
|
|
197
|
+
return Queue$1_$ctor_Z3B4C077E(fill(new Array(initialCapacity), 0, initialCapacity, null), 0);
|
|
198
|
+
}
|
|
199
|
+
function Queue$1_$ctor() {
|
|
200
|
+
return Queue$1_$ctor_Z524259A4(4);
|
|
201
|
+
}
|
|
202
|
+
function Queue$1_$ctor_BB573A(xs) {
|
|
203
|
+
const arr = Array.from(xs);
|
|
204
|
+
return Queue$1_$ctor_Z3B4C077E(arr, arr.length);
|
|
205
|
+
}
|
|
206
|
+
function Queue$1__get_Count(_) {
|
|
207
|
+
return _.count;
|
|
208
|
+
}
|
|
209
|
+
function Queue$1__Enqueue_2B595(_, value) {
|
|
210
|
+
if (_.count === Queue$1__size(_)) {
|
|
211
|
+
Queue$1__ensure_Z524259A4(_, _.count + 1);
|
|
212
|
+
}
|
|
213
|
+
_.contents[_.tail] = value;
|
|
214
|
+
_.tail = (((_.tail + 1) % Queue$1__size(_)) | 0);
|
|
215
|
+
_.count = ((_.count + 1) | 0);
|
|
216
|
+
}
|
|
217
|
+
function Queue$1__Dequeue(_) {
|
|
218
|
+
if (_.count === 0) {
|
|
219
|
+
throw new Error("Queue is empty");
|
|
220
|
+
}
|
|
221
|
+
const value = item(_.head, _.contents);
|
|
222
|
+
_.head = (((_.head + 1) % Queue$1__size(_)) | 0);
|
|
223
|
+
_.count = ((_.count - 1) | 0);
|
|
224
|
+
return value;
|
|
225
|
+
}
|
|
226
|
+
function Queue$1__Peek(_) {
|
|
227
|
+
if (_.count === 0) {
|
|
228
|
+
throw new Error("Queue is empty");
|
|
229
|
+
}
|
|
230
|
+
return item(_.head, _.contents);
|
|
231
|
+
}
|
|
232
|
+
function Queue$1__TryDequeue_1F3DB691(this$, result) {
|
|
233
|
+
if (this$.count === 0) {
|
|
234
|
+
return false;
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
result.contents = Queue$1__Dequeue(this$);
|
|
238
|
+
return true;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
function Queue$1__TryPeek_1F3DB691(this$, result) {
|
|
242
|
+
if (this$.count === 0) {
|
|
243
|
+
return false;
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
result.contents = Queue$1__Peek(this$);
|
|
247
|
+
return true;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
function Queue$1__Contains_2B595(_, x) {
|
|
251
|
+
let found = false;
|
|
252
|
+
let i = 0;
|
|
253
|
+
while ((i < _.count) && !found) {
|
|
254
|
+
if (equals(x, item(Queue$1__toIndex_Z524259A4(_, i), _.contents))) {
|
|
255
|
+
found = true;
|
|
256
|
+
}
|
|
257
|
+
else {
|
|
258
|
+
i = ((i + 1) | 0);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return found;
|
|
262
|
+
}
|
|
263
|
+
function Queue$1__Clear(_) {
|
|
264
|
+
_.count = 0;
|
|
265
|
+
_.head = 0;
|
|
266
|
+
_.tail = 0;
|
|
267
|
+
fill(_.contents, 0, Queue$1__size(_), defaultOf());
|
|
268
|
+
}
|
|
269
|
+
function Queue$1__TrimExcess(_) {
|
|
270
|
+
if ((_.count / _.contents.length) > 0.9) {
|
|
271
|
+
Queue$1__ensure_Z524259A4(_, _.count);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
function Queue$1__ToArray(_) {
|
|
275
|
+
return toArray(Queue$1__toSeq(_));
|
|
276
|
+
}
|
|
277
|
+
function Queue$1__CopyTo_Z3B4C077E(_, target, start) {
|
|
278
|
+
let i = start;
|
|
279
|
+
const enumerator = getEnumerator(Queue$1__toSeq(_));
|
|
280
|
+
try {
|
|
281
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
282
|
+
const item = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
283
|
+
setItem(target, i, item);
|
|
284
|
+
i = ((i + 1) | 0);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
finally {
|
|
288
|
+
disposeSafe(enumerator);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
function Queue$1__size(this$) {
|
|
292
|
+
return this$.contents.length;
|
|
293
|
+
}
|
|
294
|
+
function Queue$1__toIndex_Z524259A4(this$, i) {
|
|
295
|
+
return (this$.head + i) % Queue$1__size(this$);
|
|
296
|
+
}
|
|
297
|
+
function Queue$1__ensure_Z524259A4(this$, requiredSize) {
|
|
298
|
+
const newBuffer = fill(new Array(requiredSize), 0, requiredSize, null);
|
|
299
|
+
if (this$.head < this$.tail) {
|
|
300
|
+
copyTo(this$.contents, this$.head, newBuffer, 0, this$.count);
|
|
301
|
+
}
|
|
302
|
+
else {
|
|
303
|
+
copyTo(this$.contents, this$.head, newBuffer, 0, Queue$1__size(this$) - this$.head);
|
|
304
|
+
copyTo(this$.contents, 0, newBuffer, Queue$1__size(this$) - this$.head, this$.tail);
|
|
305
|
+
}
|
|
306
|
+
this$.head = 0;
|
|
307
|
+
this$.contents = newBuffer;
|
|
308
|
+
this$.tail = (((this$.count === Queue$1__size(this$)) ? 0 : this$.count) | 0);
|
|
309
|
+
}
|
|
310
|
+
function Queue$1__toSeq(this$) {
|
|
311
|
+
return delay(() => {
|
|
312
|
+
let i = 0;
|
|
313
|
+
return enumerateWhile(() => (i < this$.count), delay(() => append(singleton(item(Queue$1__toIndex_Z524259A4(this$, i), this$.contents)), delay(() => {
|
|
314
|
+
i = ((i + 1) | 0);
|
|
315
|
+
return empty();
|
|
316
|
+
}))));
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export { Comparer$1, Comparer$1_$ctor_47C913C, Comparer$1_$reflection, Comparer$1_Create_47C913C, Comparer$1__Compare_5BDDA0, Comparer$1_get_Default, EqualityComparer$1, EqualityComparer$1_$ctor_Z6EE254AB, EqualityComparer$1_$reflection, EqualityComparer$1_Create_Z6EE254AB, EqualityComparer$1__Equals_5BDDA0, EqualityComparer$1__GetHashCode_2B595, EqualityComparer$1_get_Default, Queue$1, Queue$1_$ctor, Queue$1_$ctor_BB573A, Queue$1_$ctor_Z524259A4, Queue$1_$reflection, Queue$1__Clear, Queue$1__Contains_2B595, Queue$1__CopyTo_Z3B4C077E, Queue$1__Dequeue, Queue$1__Enqueue_2B595, Queue$1__Peek, Queue$1__ToArray, Queue$1__TrimExcess, Queue$1__TryDequeue_1F3DB691, Queue$1__TryPeek_1F3DB691, Queue$1__ensure_Z524259A4, Queue$1__get_Count, Queue$1__size, Queue$1__toIndex_Z524259A4, Queue$1__toSeq, Stack$1, Stack$1_$ctor, Stack$1_$ctor_BB573A, Stack$1_$ctor_Z524259A4, Stack$1_$reflection, Stack$1__Clear, Stack$1__Contains_2B595, Stack$1__Ensure_Z524259A4, Stack$1__Peek, Stack$1__Pop, Stack$1__Push_2B595, Stack$1__ToArray, Stack$1__TrimExcess, Stack$1__TryPeek_1F3DB691, Stack$1__TryPop_1F3DB691, Stack$1__get_Count };
|
package/dist/ts/ts/ARC.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { FileSystem } from './FileSystem/FileSystem.js';
|
|
|
2
2
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { License } from './License.js';
|
|
4
4
|
import { ArcWorkflow, ArcRun, ArcStudy, ArcAssay, ArcInvestigation } from './Core/ArcTypes.js';
|
|
5
|
-
import { FSharpResult$2_$union } from '@fable-org/fable-library-js/Result.js';
|
|
6
5
|
import { Contract } from './Contract/Contract.js';
|
|
6
|
+
import { FSharpResult$2_$union } from '@fable-org/fable-library-js/Result.js';
|
|
7
7
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
8
8
|
import { Datamap } from './Core/Datamap.js';
|
|
9
9
|
import { FileSystemTree_$union } from './FileSystem/FileSystemTree.js';
|
|
@@ -28,8 +28,8 @@ export declare class ARC extends ArcInvestigation {
|
|
|
28
28
|
get License(): License | undefined;
|
|
29
29
|
set License(license: Option<License>);
|
|
30
30
|
static fromArcInvestigation(isa: ArcInvestigation, fs?: FileSystem, license?: License): ARC;
|
|
31
|
-
TryWriteAsync(arcPath: string): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
32
|
-
TryUpdateAsync(arcPath: string): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
31
|
+
TryWriteAsync(arcPath: string, forceOverwrite?: boolean): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
32
|
+
TryUpdateAsync(arcPath: string, forceOverwrite?: boolean): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
33
33
|
SetLicenseFulltext(fulltext: string, path?: string): void;
|
|
34
34
|
static tryLoadAsync(arcPath: string): Promise<FSharpResult$2_$union<ARC, string[]>>;
|
|
35
35
|
GetAssayRemoveContracts(assayIdentifier: string): Contract[];
|
package/dist/ts/ts/ARC.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ARC.d.ts","sourceRoot":"","sources":["../../../src/ARCtrl/ts/ARC.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAoE,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACzI,OAAO,
|
|
1
|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ED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,UAAU,GAAG,UAAU,CAoBhH"}
|
package/dist/ts/ts/ARC.js
CHANGED
|
@@ -2,22 +2,22 @@ import { FileSystem } from './FileSystem/FileSystem.js';
|
|
|
2
2
|
import { unwrap, defaultArg, value, map as map$1, bind, defaultArgWith } from '../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { License } from './License.js';
|
|
4
4
|
import { ArcInvestigation, ArcInvestigation_$reflection } from './Core/ArcTypes.js';
|
|
5
|
+
import { Contract } from './Contract/Contract.js';
|
|
5
6
|
import { fullFillContractBatchAsync } from './ContractIO/ContractIO.js';
|
|
6
7
|
import { FSharpResult$2_Error, FSharpResult$2_Ok } from '../node_modules/@fable-org/fable-library-js/Result.js';
|
|
7
|
-
import { Contract } from './Contract/Contract.js';
|
|
8
8
|
import { PromiseBuilder__Run_212F1D4B, PromiseBuilder__Delay_62FBFDE1 } from './fable_modules/Fable.Promise.3.2.0/Promise.fs.js';
|
|
9
9
|
import { promise } from './fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js';
|
|
10
10
|
import { getAllFilePathsAsync } from './ContractIO/FileSystemHelper.js';
|
|
11
|
-
import { toArray, contains, delay, append, singleton, iterate, tryFind, find,
|
|
11
|
+
import { toArray, contains, delay, append, singleton, iterate, tryFind, find, collect, empty, toList } from '../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
12
12
|
import { defaultOf, stringHash, comparePrimitives, curry2, safeHash, getEnumerator, disposeSafe, equals } from '../node_modules/@fable-org/fable-library-js/Util.js';
|
|
13
|
-
import { getAssayFolderPath, getRunFolderPath, getWorkflowFolderPath, getStudyFolderPath, normalizePathKey } from './FileSystem/Path.js';
|
|
13
|
+
import { getAssayFolderPath, getRunFolderPath, getWorkflowFolderPath, getStudyFolderPath, combine, normalizePathKey } from './FileSystem/Path.js';
|
|
14
14
|
import { ARCtrl_ArcAssay__ArcAssay_ToDeleteContract, ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49, ARCtrl_ArcAssay__ArcAssay_ToUpdateContract, ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F } from './Contract/ArcAssay.js';
|
|
15
15
|
import { ARCtrl_ArcRun__ArcRun_ToDeleteContract, ARCtrl_ArcRun__ArcRun_ToCreateContract_6FCE9E49, ARCtrl_ArcRun__ArcRun_ToUpdateContract, ARCtrl_ArcRun__ArcRun_tryFromReadContract_Static_7570923F, ARCtrl_ArcRun__ArcRun_tryCWLFromReadContract_Static, ARCtrl_ArcRun__ArcRun_tryYMLFromReadContract_Static } from './Contract/ArcRun.js';
|
|
16
16
|
import { ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract, ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49, ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract, ARCtrl_ArcWorkflow__ArcWorkflow_tryFromReadContract_Static_7570923F, ARCtrl_ArcWorkflow__ArcWorkflow_tryCWLFromReadContract_Static } from './Contract/ArcWorkflow.js';
|
|
17
17
|
import { join, toFail, printf, replace, toText } from '../node_modules/@fable-org/fable-library-js/String.js';
|
|
18
18
|
import { map, choose, fold, concat, contains as contains$2, append as append$1, tryPick, equalsWith, item } from '../node_modules/@fable-org/fable-library-js/Array.js';
|
|
19
|
-
import { ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract, ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F } from './Contract/ArcInvestigation.js';
|
|
20
|
-
import { createMissingIdentifier, Workflow_cwlFileNameFromIdentifier, Run_cwlFileNameFromIdentifier
|
|
19
|
+
import { ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract, ARCtrl_ArcInvestigation__ArcInvestigation_ToCreateContract, ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F } from './Contract/ArcInvestigation.js';
|
|
20
|
+
import { createMissingIdentifier, Workflow_cwlFileNameFromIdentifier, Run_cwlFileNameFromIdentifier } from './Core/Helper/Identifier.js';
|
|
21
21
|
import { ofSeq, contains as contains$1, unionMany, FSharpSet__Contains } from '../node_modules/@fable-org/fable-library-js/Set.js';
|
|
22
22
|
import { ResizeArray_iter, ResizeArray_map } from './Core/Helper/Collections.js';
|
|
23
23
|
import { FileSystemTree_Folder, FileSystemTree, FileSystemTree_File } from './FileSystem/FileSystemTree.js';
|
|
@@ -26,16 +26,8 @@ import { setInvestigationIdentifier } from './Core/IdentifierSetters.js';
|
|
|
26
26
|
import { ofSeq as ofSeq$1, ofArray, tryFind as tryFind$1 } from '../node_modules/@fable-org/fable-library-js/Map.js';
|
|
27
27
|
import { ArcTables } from './Core/Table/ArcTables.js';
|
|
28
28
|
import { resolveRunReferencesFromLookup } from './CWLRunResolver.js';
|
|
29
|
-
import { addToDict } from '../node_modules/@fable-org/fable-library-js/MapUtil.js';
|
|
30
|
-
import { ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF } from './Spreadsheet/ArcInvestigation.js';
|
|
31
|
-
import { ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522 } from './Spreadsheet/ArcStudy.js';
|
|
32
|
-
import { toFsWorkbook } from './Spreadsheet/Datamap.js';
|
|
33
|
-
import { ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F } from './Spreadsheet/ArcAssay.js';
|
|
34
|
-
import { ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E } from './Spreadsheet/ArcWorkflow.js';
|
|
35
|
-
import { ARCtrl_ArcRun__ArcRun_toFsWorkbook_Static_Z3EFAF6F8 } from './Spreadsheet/ArcRun.js';
|
|
36
|
-
import { Dictionary_tryGet } from './fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js';
|
|
37
29
|
import { ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F } from './Contract/ArcStudy.js';
|
|
38
|
-
import {
|
|
30
|
+
import { ARCtrl_Datamap__Datamap_ToCreateContractForStudy_Z721C83C5, ARCtrl_Datamap__Datamap_ToCreateContractForAssay_Z721C83C5, ARCtrl_Datamap__Datamap_ToCreateContractForWorkflow_Z721C83C5, ARCtrl_Datamap__Datamap_ToCreateContractForRun_Z721C83C5, ARCtrl_Datamap__Datamap_ToUpdateContractForStudy_Z721C83C5, ARCtrl_Datamap__Datamap_ToUpdateContractForAssay_Z721C83C5, ARCtrl_Datamap__Datamap_ToUpdateContractForWorkflow_Z721C83C5, ARCtrl_Datamap__Datamap_ToUpdateContractForRun_Z721C83C5, ARCtrl_Datamap__Datamap_tryFromReadContractForAssay_Static, ARCtrl_Datamap__Datamap_tryFromReadContractForStudy_Static, ARCtrl_Datamap__Datamap_tryFromReadContractForWorkflow_Static, ARCtrl_Datamap__Datamap_tryFromReadContractForRun_Static } from './Contract/Datamap.js';
|
|
39
31
|
import { Init_createInitContract_6DFDD678, gitignoreContract, gitattributesContract, Init_createAddRemoteContract_Z721C83C5, Clone_createCloneContract_5000466F } from './Contract/Git.js';
|
|
40
32
|
import { fromString } from './fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
41
33
|
import { ROCrate_get_decoderDeprecated, ROCrate_get_decoder, ROCrate_encoder_Z7FE34C43 } from './ROCrateIO.js';
|
|
@@ -78,13 +70,15 @@ class ARC extends ArcInvestigation {
|
|
|
78
70
|
static fromArcInvestigation(isa, fs, license) {
|
|
79
71
|
return new ARC(isa.Identifier, unwrap(isa.Title), unwrap(isa.Description), unwrap(isa.SubmissionDate), unwrap(isa.PublicReleaseDate), isa.OntologySourceReferences, isa.Publications, isa.Contacts, isa.Assays, isa.Studies, isa.Workflows, isa.Runs, isa.RegisteredStudyIdentifiers, isa.Comments, isa.Remarks, unwrap(fs), unwrap(license));
|
|
80
72
|
}
|
|
81
|
-
TryWriteAsync(arcPath) {
|
|
73
|
+
TryWriteAsync(arcPath, forceOverwrite) {
|
|
82
74
|
const this$ = this;
|
|
83
|
-
|
|
75
|
+
const cs = this$.GetWriteContracts();
|
|
76
|
+
return fullFillContractBatchAsync(defaultArg(forceOverwrite, false), arcPath, cs);
|
|
84
77
|
}
|
|
85
|
-
TryUpdateAsync(arcPath) {
|
|
78
|
+
TryUpdateAsync(arcPath, forceOverwrite) {
|
|
86
79
|
const this$ = this;
|
|
87
|
-
|
|
80
|
+
const cs = this$.GetUpdateContracts();
|
|
81
|
+
return fullFillContractBatchAsync(defaultArg(forceOverwrite, false), arcPath, cs);
|
|
88
82
|
}
|
|
89
83
|
SetLicenseFulltext(fulltext, path) {
|
|
90
84
|
const this$ = this;
|
|
@@ -108,7 +102,7 @@ class ARC extends ArcInvestigation {
|
|
|
108
102
|
return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => getAllFilePathsAsync(arcPath).then((_arg) => {
|
|
109
103
|
const arc = ARC.fromFilePaths(toArray(_arg));
|
|
110
104
|
const contracts = arc.GetReadContracts();
|
|
111
|
-
return fullFillContractBatchAsync(arcPath, contracts).then((_arg_1) => {
|
|
105
|
+
return fullFillContractBatchAsync(false, arcPath, contracts).then((_arg_1) => {
|
|
112
106
|
const fulFilledContracts = _arg_1;
|
|
113
107
|
if (fulFilledContracts.tag === /* Error */
|
|
114
108
|
1) {
|
|
@@ -173,15 +167,15 @@ class ARC extends ArcInvestigation {
|
|
|
173
167
|
}
|
|
174
168
|
TryRemoveAssayAsync(arcPath, assayIdentifier) {
|
|
175
169
|
const this$ = this;
|
|
176
|
-
return fullFillContractBatchAsync(arcPath, this$.GetAssayRemoveContracts(assayIdentifier));
|
|
170
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetAssayRemoveContracts(assayIdentifier));
|
|
177
171
|
}
|
|
178
172
|
TryRemoveRunAsync(arcPath, runIdentifier) {
|
|
179
173
|
const this$ = this;
|
|
180
|
-
return fullFillContractBatchAsync(arcPath, this$.GetRunRemoveContracts(runIdentifier));
|
|
174
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetRunRemoveContracts(runIdentifier));
|
|
181
175
|
}
|
|
182
176
|
TryRemoveWorkflowAsync(arcPath, workflowIdentifier) {
|
|
183
177
|
const this$ = this;
|
|
184
|
-
return fullFillContractBatchAsync(arcPath, this$.GetWorkflowRemoveContracts(workflowIdentifier));
|
|
178
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetWorkflowRemoveContracts(workflowIdentifier));
|
|
185
179
|
}
|
|
186
180
|
RemoveRunAsync(arcPath, runIdentifier) {
|
|
187
181
|
const this$ = this;
|
|
@@ -213,11 +207,11 @@ class ARC extends ArcInvestigation {
|
|
|
213
207
|
}
|
|
214
208
|
TryRenameRunAsync(arcPath, oldRunIdentifier, newRunIdentifier) {
|
|
215
209
|
const this$ = this;
|
|
216
|
-
return fullFillContractBatchAsync(arcPath, this$.GetRunRenameContracts(oldRunIdentifier, newRunIdentifier));
|
|
210
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetRunRenameContracts(oldRunIdentifier, newRunIdentifier));
|
|
217
211
|
}
|
|
218
212
|
TryRenameWorkflowAsync(arcPath, oldWorkflowIdentifier, newWorkflowIdentifier) {
|
|
219
213
|
const this$ = this;
|
|
220
|
-
return fullFillContractBatchAsync(arcPath, this$.GetWorkflowRenameContracts(oldWorkflowIdentifier, newWorkflowIdentifier));
|
|
214
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetWorkflowRenameContracts(oldWorkflowIdentifier, newWorkflowIdentifier));
|
|
221
215
|
}
|
|
222
216
|
RenameRunAsync(arcPath, oldRunIdentifier, newRunIdentifier) {
|
|
223
217
|
const this$ = this;
|
|
@@ -297,7 +291,7 @@ class ARC extends ArcInvestigation {
|
|
|
297
291
|
}
|
|
298
292
|
TryRenameAssayAsync(arcPath, oldAssayIdentifier, newAssayIdentifier) {
|
|
299
293
|
const this$ = this;
|
|
300
|
-
return fullFillContractBatchAsync(arcPath, this$.GetAssayRenameContracts(oldAssayIdentifier, newAssayIdentifier));
|
|
294
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetAssayRenameContracts(oldAssayIdentifier, newAssayIdentifier));
|
|
301
295
|
}
|
|
302
296
|
GetStudyRemoveContracts(studyIdentifier) {
|
|
303
297
|
const this$ = this;
|
|
@@ -310,7 +304,7 @@ class ARC extends ArcInvestigation {
|
|
|
310
304
|
}
|
|
311
305
|
TryRemoveStudyAsync(arcPath, studyIdentifier) {
|
|
312
306
|
const this$ = this;
|
|
313
|
-
return fullFillContractBatchAsync(arcPath, this$.GetStudyRemoveContracts(studyIdentifier));
|
|
307
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetStudyRemoveContracts(studyIdentifier));
|
|
314
308
|
}
|
|
315
309
|
GetStudyRenameContracts(oldStudyIdentifier, newStudyIdentifier) {
|
|
316
310
|
const this$ = this;
|
|
@@ -330,7 +324,7 @@ class ARC extends ArcInvestigation {
|
|
|
330
324
|
}
|
|
331
325
|
TryRenameStudyAsync(arcPath, oldStudyIdentifier, newStudyIdentifier) {
|
|
332
326
|
const this$ = this;
|
|
333
|
-
return fullFillContractBatchAsync(arcPath, this$.GetStudyRenameContracts(oldStudyIdentifier, newStudyIdentifier));
|
|
327
|
+
return fullFillContractBatchAsync(false, arcPath, this$.GetStudyRenameContracts(oldStudyIdentifier, newStudyIdentifier));
|
|
334
328
|
}
|
|
335
329
|
WriteAsync(arcPath) {
|
|
336
330
|
const this$ = this;
|
|
@@ -616,72 +610,57 @@ class ARC extends ArcInvestigation {
|
|
|
616
610
|
if (!defaultArg(skipUpdateFS, false)) {
|
|
617
611
|
this$.UpdateFileSystem();
|
|
618
612
|
}
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}
|
|
670
|
-
const l = value(matchValue);
|
|
671
|
-
const matchValue_1 = l.Type;
|
|
672
|
-
l.StaticHash = safeHash(l) | 0;
|
|
673
|
-
addToDict(filemap, l.Path, ["PlainText", l.Content]);
|
|
674
|
-
}
|
|
675
|
-
return map((fp) => {
|
|
676
|
-
const matchValue_2 = Dictionary_tryGet(fp, filemap);
|
|
677
|
-
if (matchValue_2 == null) {
|
|
678
|
-
return Contract.createCreate(fp, "PlainText");
|
|
679
|
-
} else {
|
|
680
|
-
const wb = value(matchValue_2)[1];
|
|
681
|
-
const dto = value(matchValue_2)[0];
|
|
682
|
-
return Contract.createCreate(fp, dto, wb);
|
|
683
|
-
}
|
|
684
|
-
}, this$._fs.Tree.ToFilePaths(true));
|
|
613
|
+
return toArray(delay(() => {
|
|
614
|
+
this$.StaticHash = this$.GetLightHashCode() | 0;
|
|
615
|
+
return append(singleton(ARCtrl_ArcInvestigation__ArcInvestigation_ToCreateContract(this$)), delay(() => append(collect((s) => {
|
|
616
|
+
s.StaticHash = s.GetLightHashCode() | 0;
|
|
617
|
+
return append(ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(s, true), delay(() => {
|
|
618
|
+
if (s.Datamap != null) {
|
|
619
|
+
const dm = value(s.Datamap);
|
|
620
|
+
dm.StaticHash = safeHash(dm) | 0;
|
|
621
|
+
return singleton(ARCtrl_Datamap__Datamap_ToCreateContractForStudy_Z721C83C5(dm, s.Identifier));
|
|
622
|
+
} else {
|
|
623
|
+
return empty();
|
|
624
|
+
}
|
|
625
|
+
}));
|
|
626
|
+
}, this$.Studies), delay(() => append(collect((a) => {
|
|
627
|
+
a.StaticHash = a.GetLightHashCode() | 0;
|
|
628
|
+
return append(ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(a, true), delay(() => {
|
|
629
|
+
if (a.Datamap != null) {
|
|
630
|
+
const dm_1 = value(a.Datamap);
|
|
631
|
+
dm_1.StaticHash = safeHash(dm_1) | 0;
|
|
632
|
+
return singleton(ARCtrl_Datamap__Datamap_ToCreateContractForAssay_Z721C83C5(dm_1, a.Identifier));
|
|
633
|
+
} else {
|
|
634
|
+
return empty();
|
|
635
|
+
}
|
|
636
|
+
}));
|
|
637
|
+
}, this$.Assays), delay(() => append(collect((w) => {
|
|
638
|
+
w.StaticHash = w.GetLightHashCode() | 0;
|
|
639
|
+
return append(ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49(w, true), delay(() => {
|
|
640
|
+
if (w.Datamap != null) {
|
|
641
|
+
const dm_2 = value(w.Datamap);
|
|
642
|
+
dm_2.StaticHash = safeHash(dm_2) | 0;
|
|
643
|
+
return singleton(ARCtrl_Datamap__Datamap_ToCreateContractForWorkflow_Z721C83C5(dm_2, w.Identifier));
|
|
644
|
+
} else {
|
|
645
|
+
return empty();
|
|
646
|
+
}
|
|
647
|
+
}));
|
|
648
|
+
}, this$.Workflows), delay(() => append(collect((r) => {
|
|
649
|
+
r.StaticHash = r.GetLightHashCode() | 0;
|
|
650
|
+
return append(ARCtrl_ArcRun__ArcRun_ToCreateContract_6FCE9E49(r, true), delay(() => {
|
|
651
|
+
if (r.Datamap != null) {
|
|
652
|
+
const dm_3 = value(r.Datamap);
|
|
653
|
+
dm_3.StaticHash = safeHash(dm_3) | 0;
|
|
654
|
+
return singleton(ARCtrl_Datamap__Datamap_ToCreateContractForRun_Z721C83C5(dm_3, r.Identifier));
|
|
655
|
+
} else {
|
|
656
|
+
return empty();
|
|
657
|
+
}
|
|
658
|
+
}));
|
|
659
|
+
}, this$.Runs), delay(() => {
|
|
660
|
+
let l;
|
|
661
|
+
return append(this$.License != null ? (l = value(this$.License), l.StaticHash = safeHash(l) | 0, singleton(l.ToCreateContract())) : empty(), delay(() => append(singleton(Contract.createCreate(combine("assays", ".gitkeep"), "PlainText")), delay(() => append(singleton(Contract.createCreate(combine("studies", ".gitkeep"), "PlainText")), delay(() => append(singleton(Contract.createCreate(combine("workflows", ".gitkeep"), "PlainText")), delay(() => singleton(Contract.createCreate(combine("runs", ".gitkeep"), "PlainText"))))))))));
|
|
662
|
+
}))))))))));
|
|
663
|
+
}));
|
|
685
664
|
}
|
|
686
665
|
GetUpdateContracts(skipUpdateFS) {
|
|
687
666
|
const this$ = this;
|