@nfdi4plants/arctrl 3.0.0-beta.8 → 3.0.0-beta.9

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/ts/ARC.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { FileSystem } from './FileSystem/FileSystem.js';
2
- import { unwrap, defaultArg, value, map as map$2, bind, defaultArgWith } from '../node_modules/@fable-org/fable-library-js/Option.js';
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
5
  import { fullFillContractBatchAsync } from './ContractIO/ContractIO.js';
@@ -8,20 +8,18 @@ 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, map, iterate, tryFind, find, empty, collect, toList } from '../node_modules/@fable-org/fable-library-js/Seq.js';
11
+ import { toArray, contains, delay, append, singleton, iterate, tryFind, find, empty, collect, 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
13
  import { getAssayFolderPath, getRunFolderPath, getWorkflowFolderPath, getStudyFolderPath } 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
- import { ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract, ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F } from './Contract/ArcInvestigation.js';
16
- import { ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F } from './Contract/ArcStudy.js';
17
15
  import { ARCtrl_ArcRun__ArcRun_ToDeleteContract, ARCtrl_ArcRun__ArcRun_ToCreateContract_6FCE9E49, ARCtrl_ArcRun__ArcRun_ToUpdateContract, ARCtrl_ArcRun__ArcRun_tryFromReadContract_Static_7570923F } from './Contract/ArcRun.js';
18
16
  import { ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract, ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49, ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract, ARCtrl_ArcWorkflow__ArcWorkflow_tryFromReadContract_Static_7570923F } from './Contract/ArcWorkflow.js';
19
- import { map as map$1, choose, fold, concat, contains as contains$2, append as append$1, tryPick, equalsWith, item } from '../node_modules/@fable-org/fable-library-js/Array.js';
20
- import { replace, join, toFail, printf, toText } from '../node_modules/@fable-org/fable-library-js/String.js';
17
+ import { join, toFail, printf, replace, toText } from '../node_modules/@fable-org/fable-library-js/String.js';
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';
21
20
  import { createMissingIdentifier, Study_fileNameFromIdentifier, Study_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Assay_datamapFileNameFromIdentifier, Workflow_fileNameFromIdentifier, Workflow_datamapFileNameFromIdentifier, Run_fileNameFromIdentifier, Run_datamapFileNameFromIdentifier } from './Core/Helper/Identifier.js';
22
21
  import { ofSeq, contains as contains$1, unionMany, FSharpSet__Contains } from '../node_modules/@fable-org/fable-library-js/Set.js';
23
22
  import { ResizeArray_iter, ResizeArray_map } from './Core/Helper/Collections.js';
24
- import { DataMap__get_DataContexts, DataMap__set_StaticHash_Z524259A4, DataMap__get_StaticHash } from './Core/DataMap.js';
25
23
  import { FileSystemTree_Folder, FileSystemTree, FileSystemTree_File } from './FileSystem/FileSystemTree.js';
26
24
  import { tryISAReadContractFromPath } from './Contract/ARC.js';
27
25
  import { setInvestigationIdentifier } from './Core/IdentifierSetters.js';
@@ -34,6 +32,7 @@ import { ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F } from './Sprea
34
32
  import { ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E } from './Spreadsheet/ArcWorkflow.js';
35
33
  import { ARCtrl_ArcRun__ArcRun_toFsWorkbook_Static_Z3EFAF6F8 } from './Spreadsheet/ArcRun.js';
36
34
  import { Dictionary_tryGet } from './fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js';
35
+ import { ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F } from './Contract/ArcStudy.js';
37
36
  import { ARCtrl_DataMap__DataMap_ToUpdateContractForStudy_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForStudy_Z721C83C5, ARCtrl_DataMap__DataMap_ToUpdateContractForAssay_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForAssay_Z721C83C5, ARCtrl_DataMap__DataMap_ToUpdateContractForWorkflow_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForWorkflow_Z721C83C5, ARCtrl_DataMap__DataMap_ToUpdateContractForRun_Z721C83C5, ARCtrl_DataMap__DataMap_ToCreateContractForRun_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';
38
37
  import { Init_createInitContract_6DFDD678, gitignoreContract, gitattributesContract, Init_createAddRemoteContract_Z721C83C5, Clone_createCloneContract_5000466F } from './Contract/Git.js';
39
38
  import { ofSeq as ofSeq$1 } from '../node_modules/@fable-org/fable-library-js/Map.js';
@@ -46,17 +45,16 @@ import { FSharpRef } from '../node_modules/@fable-org/fable-library-js/Types.js'
46
45
  import { class_type } from '../node_modules/@fable-org/fable-library-js/Reflection.js';
47
46
 
48
47
  class ARC extends ArcInvestigation {
49
- constructor(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks, cwl, fs, license) {
48
+ constructor(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks, fs, license) {
50
49
  super(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), unwrap(ontologySourceReferences), unwrap(publications), unwrap(contacts), unwrap(assays), unwrap(studies), unwrap(workflows), unwrap(runs), unwrap(registeredStudyIdentifiers), unwrap(comments), unwrap(remarks));
51
50
  let fs_1;
52
51
  const this$ = new FSharpRef(defaultOf());
53
52
  this$.contents = this;
54
- this._cwl = cwl;
55
53
  this._license = license;
56
54
  this._fs = (fs_1 = defaultArg(fs, FileSystem.create({
57
55
  tree: FileSystemTree_Folder("", [])
58
56
  })), ARCAux_updateFSByARC(this$.contents, license, fs_1));
59
- this["init@104"] = 1;
57
+ this["init@96"] = 1;
60
58
  }
61
59
  get FileSystem() {
62
60
  const this$ = this;
@@ -74,8 +72,8 @@ class ARC extends ArcInvestigation {
74
72
  const this$ = this;
75
73
  this$._license = license;
76
74
  }
77
- static fromArcInvestigation(isa, cwl, fs, license) {
78
- 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, cwl, unwrap(fs), unwrap(license));
75
+ static fromArcInvestigation(isa, fs, license) {
76
+ 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));
79
77
  }
80
78
  TryWriteAsync(arcPath) {
81
79
  const this$ = this;
@@ -136,7 +134,7 @@ class ARC extends ArcInvestigation {
136
134
  const assayFolderPath = getAssayFolderPath(assayIdentifier);
137
135
  const filteredPaths = paths.filter((p) => !p.startsWith(assayFolderPath));
138
136
  this$.SetFilePaths(filteredPaths);
139
- return toArray(delay(() => append(singleton(ARCtrl_ArcAssay__ArcAssay_ToDeleteContract(assay)), delay(() => append(singleton(ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(this$)), delay(() => map(ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, studies)))))));
137
+ return toArray(delay(() => append(singleton(ARCtrl_ArcAssay__ArcAssay_ToDeleteContract(assay)), delay(() => this$.GetUpdateContracts()))));
140
138
  }
141
139
  GetRunRemoveContracts(runIdentifier) {
142
140
  const this$ = this;
@@ -152,7 +150,7 @@ class ARC extends ArcInvestigation {
152
150
  const runFolderPath = getRunFolderPath(runIdentifier);
153
151
  const filteredPaths = paths.filter((p) => !p.startsWith(runFolderPath));
154
152
  this$.SetFilePaths(filteredPaths);
155
- return [ARCtrl_ArcRun__ArcRun_ToDeleteContract(run), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(this$)];
153
+ return toArray(delay(() => append(singleton(ARCtrl_ArcRun__ArcRun_ToDeleteContract(run)), delay(() => this$.GetUpdateContracts()))));
156
154
  }
157
155
  GetWorkflowRemoveContracts(workflowIdentifier) {
158
156
  const this$ = this;
@@ -168,12 +166,84 @@ class ARC extends ArcInvestigation {
168
166
  const workflowFolderPath = getWorkflowFolderPath(workflowIdentifier);
169
167
  const filteredPaths = paths.filter((p) => !p.startsWith(workflowFolderPath));
170
168
  this$.SetFilePaths(filteredPaths);
171
- return [ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract(workflow), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(this$)];
169
+ return toArray(delay(() => append(singleton(ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract(workflow)), delay(() => this$.GetUpdateContracts()))));
172
170
  }
173
171
  TryRemoveAssayAsync(arcPath, assayIdentifier) {
174
172
  const this$ = this;
175
173
  return fullFillContractBatchAsync(arcPath, this$.GetAssayRemoveContracts(assayIdentifier));
176
174
  }
175
+ TryRemoveRunAsync(arcPath, runIdentifier) {
176
+ const this$ = this;
177
+ return fullFillContractBatchAsync(arcPath, this$.GetRunRemoveContracts(runIdentifier));
178
+ }
179
+ TryRemoveWorkflowAsync(arcPath, workflowIdentifier) {
180
+ const this$ = this;
181
+ return fullFillContractBatchAsync(arcPath, this$.GetWorkflowRemoveContracts(workflowIdentifier));
182
+ }
183
+ RemoveRunAsync(arcPath, runIdentifier) {
184
+ const this$ = this;
185
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => this$.TryRemoveRunAsync(arcPath, runIdentifier).then((_arg) => {
186
+ const result = _arg;
187
+ if (result.tag === /* Error */
188
+ 1) {
189
+ const appended = join("\n", map((e) => e, result.fields[0]));
190
+ toFail(printf("Could not remove run, failed with the following errors %s"))(appended);
191
+ return Promise.resolve();
192
+ } else {
193
+ return Promise.resolve();
194
+ }
195
+ })));
196
+ }
197
+ RemoveWorkflowAsync(arcPath, workflowIdentifier) {
198
+ const this$ = this;
199
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => this$.TryRemoveWorkflowAsync(arcPath, workflowIdentifier).then((_arg) => {
200
+ const result = _arg;
201
+ if (result.tag === /* Error */
202
+ 1) {
203
+ const appended = join("\n", map((e) => e, result.fields[0]));
204
+ toFail(printf("Could not remove workflow, failed with the following errors %s"))(appended);
205
+ return Promise.resolve();
206
+ } else {
207
+ return Promise.resolve();
208
+ }
209
+ })));
210
+ }
211
+ TryRenameRunAsync(arcPath, oldRunIdentifier, newRunIdentifier) {
212
+ const this$ = this;
213
+ return fullFillContractBatchAsync(arcPath, this$.GetRunRenameContracts(oldRunIdentifier, newRunIdentifier));
214
+ }
215
+ TryRenameWorkflowAsync(arcPath, oldWorkflowIdentifier, newWorkflowIdentifier) {
216
+ const this$ = this;
217
+ return fullFillContractBatchAsync(arcPath, this$.GetWorkflowRenameContracts(oldWorkflowIdentifier, newWorkflowIdentifier));
218
+ }
219
+ RenameRunAsync(arcPath, oldRunIdentifier, newRunIdentifier) {
220
+ const this$ = this;
221
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => this$.TryRenameRunAsync(arcPath, oldRunIdentifier, newRunIdentifier).then((_arg) => {
222
+ const result = _arg;
223
+ if (result.tag === /* Error */
224
+ 1) {
225
+ const appended = join("\n", map((e) => e, result.fields[0]));
226
+ toFail(printf("Could not rename run, failed with the following errors %s"))(appended);
227
+ return Promise.resolve();
228
+ } else {
229
+ return Promise.resolve();
230
+ }
231
+ })));
232
+ }
233
+ RenameWorkflowAsync(arcPath, oldWorkflowIdentifier, newWorkflowIdentifier) {
234
+ const this$ = this;
235
+ return PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => this$.TryRenameWorkflowAsync(arcPath, oldWorkflowIdentifier, newWorkflowIdentifier).then((_arg) => {
236
+ const result = _arg;
237
+ if (result.tag === /* Error */
238
+ 1) {
239
+ const appended = join("\n", map((e) => e, result.fields[0]));
240
+ toFail(printf("Could not rename workflow, failed with the following errors %s"))(appended);
241
+ return Promise.resolve();
242
+ } else {
243
+ return Promise.resolve();
244
+ }
245
+ })));
246
+ }
177
247
  GetAssayRenameContracts(oldAssayIdentifier, newAssayIdentifier) {
178
248
  const this$ = this;
179
249
  if (!contains(oldAssayIdentifier, this$.AssayIdentifiers, {
@@ -186,7 +256,7 @@ class ARC extends ArcInvestigation {
186
256
  const paths = this$.FileSystem.Tree.ToFilePaths();
187
257
  const oldAssayFolderPath = getAssayFolderPath(oldAssayIdentifier);
188
258
  const newAssayFolderPath = getAssayFolderPath(newAssayIdentifier);
189
- const renamedPaths = map$1((p) => replace(p, oldAssayFolderPath, newAssayFolderPath), paths);
259
+ const renamedPaths = map((p) => replace(p, oldAssayFolderPath, newAssayFolderPath), paths);
190
260
  this$.SetFilePaths(renamedPaths);
191
261
  return toArray(delay(() => append(singleton(Contract.createRename(oldAssayFolderPath, newAssayFolderPath)), delay(() => this$.GetUpdateContracts()))));
192
262
  }
@@ -198,27 +268,27 @@ class ARC extends ArcInvestigation {
198
268
  })) {
199
269
  throw new Error("ARC does not contain run with given name");
200
270
  }
201
- this$.RenameRun(oldRunIdentifier, newRunIdentifier);
271
+ super.RenameRun(oldRunIdentifier, newRunIdentifier);
202
272
  const paths = this$.FileSystem.Tree.ToFilePaths();
203
273
  const oldPath = getRunFolderPath(oldRunIdentifier);
204
274
  const newPath = getRunFolderPath(newRunIdentifier);
205
- const renamedPaths = map$1((p) => replace(p, oldPath, newPath), paths);
275
+ const renamedPaths = map((p) => replace(p, oldPath, newPath), paths);
206
276
  this$.SetFilePaths(renamedPaths);
207
277
  return toArray(delay(() => append(singleton(Contract.createRename(oldPath, newPath)), delay(() => this$.GetUpdateContracts()))));
208
278
  }
209
- GetWorkflowRenameContracts(oldRunIdentifier, newRunIdentifier) {
279
+ GetWorkflowRenameContracts(oldWorkflowIdentifier, newWorkflowIdentifier) {
210
280
  const this$ = this;
211
- if (!contains(oldRunIdentifier, this$.WorkflowIdentifiers, {
281
+ if (!contains(oldWorkflowIdentifier, this$.WorkflowIdentifiers, {
212
282
  Equals: (x, y) => x === y,
213
283
  GetHashCode: stringHash
214
284
  })) {
215
- throw new Error("ARC does not contain run with given name");
285
+ throw new Error("ARC does not contain workflow with given name");
216
286
  }
217
- this$.RenameWorkflow(oldRunIdentifier, newRunIdentifier);
287
+ super.RenameWorkflow(oldWorkflowIdentifier, newWorkflowIdentifier);
218
288
  const paths = this$.FileSystem.Tree.ToFilePaths();
219
- const oldPath = getWorkflowFolderPath(oldRunIdentifier);
220
- const newPath = getWorkflowFolderPath(newRunIdentifier);
221
- const renamedPaths = map$1((p) => replace(p, oldPath, newPath), paths);
289
+ const oldPath = getWorkflowFolderPath(oldWorkflowIdentifier);
290
+ const newPath = getWorkflowFolderPath(newWorkflowIdentifier);
291
+ const renamedPaths = map((p) => replace(p, oldPath, newPath), paths);
222
292
  this$.SetFilePaths(renamedPaths);
223
293
  return toArray(delay(() => append(singleton(Contract.createRename(oldPath, newPath)), delay(() => this$.GetUpdateContracts()))));
224
294
  }
@@ -251,7 +321,7 @@ class ARC extends ArcInvestigation {
251
321
  const paths = this$.FileSystem.Tree.ToFilePaths();
252
322
  const oldStudyFolderPath = getStudyFolderPath(oldStudyIdentifier);
253
323
  const newStudyFolderPath = getStudyFolderPath(newStudyIdentifier);
254
- const renamedPaths = map$1((p) => replace(p, oldStudyFolderPath, newStudyFolderPath), paths);
324
+ const renamedPaths = map((p) => replace(p, oldStudyFolderPath, newStudyFolderPath), paths);
255
325
  this$.SetFilePaths(renamedPaths);
256
326
  return toArray(delay(() => append(singleton(Contract.createRename(oldStudyFolderPath, newStudyFolderPath)), delay(() => this$.GetUpdateContracts()))));
257
327
  }
@@ -265,7 +335,7 @@ class ARC extends ArcInvestigation {
265
335
  const result = _arg;
266
336
  if (result.tag === /* Error */
267
337
  1) {
268
- const appended = join("\n", map$1((e) => e, result.fields[0]));
338
+ const appended = join("\n", map((e) => e, result.fields[0]));
269
339
  toFail(printf("Could not write ARC, failed with the following errors %s"))(appended);
270
340
  return Promise.resolve();
271
341
  } else {
@@ -279,7 +349,7 @@ class ARC extends ArcInvestigation {
279
349
  const result = _arg;
280
350
  if (result.tag === /* Error */
281
351
  1) {
282
- const appended = join("\n", map$1((e) => e, result.fields[0]));
352
+ const appended = join("\n", map((e) => e, result.fields[0]));
283
353
  toFail(printf("Could not update ARC, failed with the following errors %s"))(appended);
284
354
  return Promise.resolve();
285
355
  } else {
@@ -293,7 +363,7 @@ class ARC extends ArcInvestigation {
293
363
  const result = _arg;
294
364
  if (result.tag === /* Error */
295
365
  1) {
296
- const appended = join("\n", map$1((e) => e, result.fields[0]));
366
+ const appended = join("\n", map((e) => e, result.fields[0]));
297
367
  toFail(printf("Could not remove assay, failed with the following errors %s"))(appended);
298
368
  return Promise.resolve();
299
369
  } else {
@@ -307,7 +377,7 @@ class ARC extends ArcInvestigation {
307
377
  const result = _arg;
308
378
  if (result.tag === /* Error */
309
379
  1) {
310
- const appended = join("\n", map$1((e) => e, result.fields[0]));
380
+ const appended = join("\n", map((e) => e, result.fields[0]));
311
381
  toFail(printf("Could not rename assay, failed with the following errors %s"))(appended);
312
382
  return Promise.resolve();
313
383
  } else {
@@ -321,7 +391,7 @@ class ARC extends ArcInvestigation {
321
391
  const result = _arg;
322
392
  if (result.tag === /* Error */
323
393
  1) {
324
- const appended = join("\n", map$1((e) => e, result.fields[0]));
394
+ const appended = join("\n", map((e) => e, result.fields[0]));
325
395
  toFail(printf("Could not remove study, failed with the following errors %s"))(appended);
326
396
  return Promise.resolve();
327
397
  } else {
@@ -335,7 +405,7 @@ class ARC extends ArcInvestigation {
335
405
  const result = _arg;
336
406
  if (result.tag === /* Error */
337
407
  1) {
338
- const appended = join("\n", map$1((e) => e, result.fields[0]));
408
+ const appended = join("\n", map((e) => e, result.fields[0]));
339
409
  toFail(printf("Could not rename study, failed with the following errors %s"))(appended);
340
410
  return Promise.resolve();
341
411
  } else {
@@ -348,7 +418,7 @@ class ARC extends ArcInvestigation {
348
418
  const result = _arg;
349
419
  if (result.tag === /* Error */
350
420
  1) {
351
- const appended = join("\n", map$1((e) => e, result.fields[0]));
421
+ const appended = join("\n", map((e) => e, result.fields[0]));
352
422
  toFail(printf("Could not load ARC, failed with the following errors %s"))(appended);
353
423
  return Promise.resolve(new ARC(createMissingIdentifier()));
354
424
  } else {
@@ -401,7 +471,7 @@ class ARC extends ArcInvestigation {
401
471
  const newFilePath_1 = dataNameFunction_2(c_1);
402
472
  c_1.FilePath = newFilePath_1;
403
473
  }
404
- }, DataMap__get_DataContexts(dm));
474
+ }, dm.DataContexts);
405
475
  };
406
476
  iterate((s) => {
407
477
  const f_1 = (d) => d.GetAbsolutePathForStudy(s.Identifier, checkExistenceFromRoot);
@@ -422,7 +492,7 @@ class ARC extends ArcInvestigation {
422
492
  }
423
493
  static fromFilePaths(filePaths) {
424
494
  const fs = FileSystem.fromFilePaths(filePaths);
425
- return new ARC(createMissingIdentifier(), void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, fs);
495
+ return new ARC(createMissingIdentifier(), void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, fs);
426
496
  }
427
497
  SetFilePaths(filePaths) {
428
498
  const this$ = this;
@@ -447,7 +517,7 @@ class ARC extends ArcInvestigation {
447
517
  this$.Comments = investigation.Comments;
448
518
  this$.Remarks = investigation.Remarks;
449
519
  this$.RegisteredStudyIdentifiers = investigation.RegisteredStudyIdentifiers;
450
- const studies = map$1((tuple) => tuple[0], ARCAux_getArcStudiesFromContracts(contracts));
520
+ const studies = map((tuple) => tuple[0], ARCAux_getArcStudiesFromContracts(contracts));
451
521
  const assays = ARCAux_getArcAssaysFromContracts(contracts);
452
522
  const workflows = ARCAux_getArcWorkflowsFromContracts(contracts);
453
523
  const runs = ARCAux_getArcRunsFromContracts(contracts);
@@ -539,7 +609,7 @@ class ARC extends ArcInvestigation {
539
609
  addToDict(filemap, Study_fileNameFromIdentifier(s.Identifier), ["ISA_Study", ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(s)]);
540
610
  if (s.DataMap != null) {
541
611
  const dm = value(s.DataMap);
542
- DataMap__set_StaticHash_Z524259A4(dm, safeHash(dm));
612
+ dm.StaticHash = safeHash(dm) | 0;
543
613
  addToDict(filemap, Study_datamapFileNameFromIdentifier(s.Identifier), ["ISA_Datamap", toFsWorkbook(dm)]);
544
614
  }
545
615
  }, this$.Studies);
@@ -548,7 +618,7 @@ class ARC extends ArcInvestigation {
548
618
  addToDict(filemap, Assay_fileNameFromIdentifier(a.Identifier), ["ISA_Assay", ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(a)]);
549
619
  if (a.DataMap != null) {
550
620
  const dm_1 = value(a.DataMap);
551
- DataMap__set_StaticHash_Z524259A4(dm_1, safeHash(dm_1));
621
+ dm_1.StaticHash = safeHash(dm_1) | 0;
552
622
  addToDict(filemap, Assay_datamapFileNameFromIdentifier(a.Identifier), ["ISA_Datamap", toFsWorkbook(dm_1)]);
553
623
  }
554
624
  }, this$.Assays);
@@ -557,7 +627,7 @@ class ARC extends ArcInvestigation {
557
627
  addToDict(filemap, Workflow_fileNameFromIdentifier(w.Identifier), ["ISA_Workflow", ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E(w)]);
558
628
  if (w.DataMap != null) {
559
629
  const dm_2 = value(w.DataMap);
560
- DataMap__set_StaticHash_Z524259A4(dm_2, safeHash(dm_2));
630
+ dm_2.StaticHash = safeHash(dm_2) | 0;
561
631
  addToDict(filemap, Workflow_datamapFileNameFromIdentifier(w.Identifier), ["ISA_Datamap", toFsWorkbook(dm_2)]);
562
632
  }
563
633
  }, this$.Workflows);
@@ -566,7 +636,7 @@ class ARC extends ArcInvestigation {
566
636
  addToDict(filemap, Run_fileNameFromIdentifier(r.Identifier), ["ISA_Run", ARCtrl_ArcRun__ArcRun_toFsWorkbook_Static_Z3EFAF6F8(r)]);
567
637
  if (r.DataMap != null) {
568
638
  const dm_3 = value(r.DataMap);
569
- DataMap__set_StaticHash_Z524259A4(dm_3, safeHash(dm_3));
639
+ dm_3.StaticHash = safeHash(dm_3) | 0;
570
640
  addToDict(filemap, Run_datamapFileNameFromIdentifier(r.Identifier), ["ISA_Datamap", toFsWorkbook(dm_3)]);
571
641
  }
572
642
  }, this$.Runs);
@@ -578,7 +648,7 @@ class ARC extends ArcInvestigation {
578
648
  l.StaticHash = safeHash(l) | 0;
579
649
  addToDict(filemap, l.Path, ["PlainText", l.Content]);
580
650
  }
581
- return map$1((fp) => {
651
+ return map((fp) => {
582
652
  const matchValue_2 = Dictionary_tryGet(fp, filemap);
583
653
  if (matchValue_2 == null) {
584
654
  return Contract.createCreate(fp, "PlainText");
@@ -602,15 +672,15 @@ class ARC extends ArcInvestigation {
602
672
  return append(collect((s) => {
603
673
  const hash_1 = s.GetLightHashCode() | 0;
604
674
  return append(s.StaticHash === 0 ? ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(s, true) : s.StaticHash !== hash_1 ? singleton(ARCtrl_ArcStudy__ArcStudy_ToUpdateContract(s)) : empty(), delay(() => {
605
- let dm_1;
675
+ let dm, dm_1;
606
676
  s.StaticHash = hash_1 | 0;
607
677
  const matchValue = s.DataMap;
608
678
  let matchResult, dm_2, dm_3;
609
679
  if (matchValue != null) {
610
- if (DataMap__get_StaticHash(value(matchValue)) === 0) {
680
+ if (dm = value(matchValue), dm.StaticHash === 0) {
611
681
  matchResult = 0;
612
682
  dm_2 = value(matchValue);
613
- } else if (dm_1 = value(matchValue), DataMap__get_StaticHash(dm_1) !== safeHash(dm_1)) {
683
+ } else if (dm_1 = value(matchValue), dm_1.StaticHash !== safeHash(dm_1)) {
614
684
  matchResult = 1;
615
685
  dm_3 = value(matchValue);
616
686
  } else {
@@ -622,12 +692,12 @@ class ARC extends ArcInvestigation {
622
692
  switch (matchResult) {
623
693
  case 0:
624
694
  return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForStudy_Z721C83C5(dm_2, s.Identifier)), delay(() => {
625
- DataMap__set_StaticHash_Z524259A4(dm_2, safeHash(dm_2));
695
+ dm_2.StaticHash = safeHash(dm_2) | 0;
626
696
  return empty();
627
697
  }));
628
698
  case 1:
629
699
  return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForStudy_Z721C83C5(dm_3, s.Identifier)), delay(() => {
630
- DataMap__set_StaticHash_Z524259A4(dm_3, safeHash(dm_3));
700
+ dm_3.StaticHash = safeHash(dm_3) | 0;
631
701
  return empty();
632
702
  }));
633
703
  default: {
@@ -638,15 +708,15 @@ class ARC extends ArcInvestigation {
638
708
  }, this$.Studies), delay(() => append(collect((a) => {
639
709
  const hash_2 = a.GetLightHashCode() | 0;
640
710
  return append(a.StaticHash === 0 ? ARCtrl_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(a, true) : a.StaticHash !== hash_2 ? singleton(ARCtrl_ArcAssay__ArcAssay_ToUpdateContract(a)) : empty(), delay(() => {
641
- let dm_5;
711
+ let dm_4, dm_5;
642
712
  a.StaticHash = hash_2 | 0;
643
713
  const matchValue_1 = a.DataMap;
644
714
  let matchResult_1, dm_6, dm_7;
645
715
  if (matchValue_1 != null) {
646
- if (DataMap__get_StaticHash(value(matchValue_1)) === 0) {
716
+ if (dm_4 = value(matchValue_1), dm_4.StaticHash === 0) {
647
717
  matchResult_1 = 0;
648
718
  dm_6 = value(matchValue_1);
649
- } else if (dm_5 = value(matchValue_1), DataMap__get_StaticHash(dm_5) !== safeHash(dm_5)) {
719
+ } else if (dm_5 = value(matchValue_1), dm_5.StaticHash !== safeHash(dm_5)) {
650
720
  matchResult_1 = 1;
651
721
  dm_7 = value(matchValue_1);
652
722
  } else {
@@ -658,12 +728,12 @@ class ARC extends ArcInvestigation {
658
728
  switch (matchResult_1) {
659
729
  case 0:
660
730
  return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForAssay_Z721C83C5(dm_6, a.Identifier)), delay(() => {
661
- DataMap__set_StaticHash_Z524259A4(dm_6, safeHash(dm_6));
731
+ dm_6.StaticHash = safeHash(dm_6) | 0;
662
732
  return empty();
663
733
  }));
664
734
  case 1:
665
735
  return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForAssay_Z721C83C5(dm_7, a.Identifier)), delay(() => {
666
- DataMap__set_StaticHash_Z524259A4(dm_7, safeHash(dm_7));
736
+ dm_7.StaticHash = safeHash(dm_7) | 0;
667
737
  return empty();
668
738
  }));
669
739
  default: {
@@ -674,15 +744,15 @@ class ARC extends ArcInvestigation {
674
744
  }, this$.Assays), delay(() => append(collect((w) => {
675
745
  const hash_3 = w.GetLightHashCode() | 0;
676
746
  return append(w.StaticHash === 0 ? ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49(w, true) : w.StaticHash !== hash_3 ? singleton(ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract(w)) : empty(), delay(() => {
677
- let dm_9;
747
+ let dm_8, dm_9;
678
748
  w.StaticHash = hash_3 | 0;
679
749
  const matchValue_2 = w.DataMap;
680
750
  let matchResult_2, dm_10, dm_11;
681
751
  if (matchValue_2 != null) {
682
- if (DataMap__get_StaticHash(value(matchValue_2)) === 0) {
752
+ if (dm_8 = value(matchValue_2), dm_8.StaticHash === 0) {
683
753
  matchResult_2 = 0;
684
754
  dm_10 = value(matchValue_2);
685
- } else if (dm_9 = value(matchValue_2), DataMap__get_StaticHash(dm_9) !== safeHash(dm_9)) {
755
+ } else if (dm_9 = value(matchValue_2), dm_9.StaticHash !== safeHash(dm_9)) {
686
756
  matchResult_2 = 1;
687
757
  dm_11 = value(matchValue_2);
688
758
  } else {
@@ -694,12 +764,12 @@ class ARC extends ArcInvestigation {
694
764
  switch (matchResult_2) {
695
765
  case 0:
696
766
  return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForWorkflow_Z721C83C5(dm_10, w.Identifier)), delay(() => {
697
- DataMap__set_StaticHash_Z524259A4(dm_10, safeHash(dm_10));
767
+ dm_10.StaticHash = safeHash(dm_10) | 0;
698
768
  return empty();
699
769
  }));
700
770
  case 1:
701
771
  return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForWorkflow_Z721C83C5(dm_11, w.Identifier)), delay(() => {
702
- DataMap__set_StaticHash_Z524259A4(dm_11, safeHash(dm_11));
772
+ dm_11.StaticHash = safeHash(dm_11) | 0;
703
773
  return empty();
704
774
  }));
705
775
  default: {
@@ -710,15 +780,15 @@ class ARC extends ArcInvestigation {
710
780
  }, this$.Workflows), delay(() => append(collect((r) => {
711
781
  const hash_4 = r.GetLightHashCode() | 0;
712
782
  return append(r.StaticHash === 0 ? ARCtrl_ArcRun__ArcRun_ToCreateContract_6FCE9E49(r, true) : r.StaticHash !== hash_4 ? singleton(ARCtrl_ArcRun__ArcRun_ToUpdateContract(r)) : empty(), delay(() => {
713
- let dm_13;
783
+ let dm_12, dm_13;
714
784
  r.StaticHash = hash_4 | 0;
715
785
  const matchValue_3 = r.DataMap;
716
786
  let matchResult_3, dm_14, dm_15;
717
787
  if (matchValue_3 != null) {
718
- if (DataMap__get_StaticHash(value(matchValue_3)) === 0) {
788
+ if (dm_12 = value(matchValue_3), dm_12.StaticHash === 0) {
719
789
  matchResult_3 = 0;
720
790
  dm_14 = value(matchValue_3);
721
- } else if (dm_13 = value(matchValue_3), DataMap__get_StaticHash(dm_13) !== safeHash(dm_13)) {
791
+ } else if (dm_13 = value(matchValue_3), dm_13.StaticHash !== safeHash(dm_13)) {
722
792
  matchResult_3 = 1;
723
793
  dm_15 = value(matchValue_3);
724
794
  } else {
@@ -730,12 +800,12 @@ class ARC extends ArcInvestigation {
730
800
  switch (matchResult_3) {
731
801
  case 0:
732
802
  return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForRun_Z721C83C5(dm_14, r.Identifier)), delay(() => {
733
- DataMap__set_StaticHash_Z524259A4(dm_14, safeHash(dm_14));
803
+ dm_14.StaticHash = safeHash(dm_14) | 0;
734
804
  return empty();
735
805
  }));
736
806
  case 1:
737
807
  return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForRun_Z721C83C5(dm_15, r.Identifier)), delay(() => {
738
- DataMap__set_StaticHash_Z524259A4(dm_15, safeHash(dm_15));
808
+ dm_15.StaticHash = safeHash(dm_15) | 0;
739
809
  return empty();
740
810
  }));
741
811
  default: {
@@ -820,19 +890,19 @@ class ARC extends ArcInvestigation {
820
890
  const nextPublications = ResizeArray_map((c_3) => c_3.Copy(), this$.Publications);
821
891
  const nextOntologySourceReferences = ResizeArray_map((c_4) => c_4.Copy(), this$.OntologySourceReferences);
822
892
  const nextStudyIdentifiers = Array.from(this$.RegisteredStudyIdentifiers);
823
- const nextLicense = map$2((_arg) => _arg.Copy(), this$.License);
893
+ const nextLicense = map$1((_arg) => _arg.Copy(), this$.License);
824
894
  const fsCopy = this$._fs.Copy();
825
- return new ARC(this$.Identifier, unwrap(this$.Title), unwrap(this$.Description), unwrap(this$.SubmissionDate), unwrap(this$.PublicReleaseDate), nextOntologySourceReferences, nextPublications, nextContacts, nextAssays, nextStudies, nextWorkflows, nextRuns, nextStudyIdentifiers, nextComments, nextRemarks, this$._cwl, fsCopy, unwrap(nextLicense));
895
+ return new ARC(this$.Identifier, unwrap(this$.Title), unwrap(this$.Description), unwrap(this$.SubmissionDate), unwrap(this$.PublicReleaseDate), nextOntologySourceReferences, nextPublications, nextContacts, nextAssays, nextStudies, nextWorkflows, nextRuns, nextStudyIdentifiers, nextComments, nextRemarks, fsCopy, unwrap(nextLicense));
826
896
  }
827
897
  GetRegisteredPayload(IgnoreHidden) {
828
898
  let tree, paths, array_3;
829
899
  const this$ = this;
830
900
  const copy = this$.Copy();
831
901
  const registeredStudies = copy.Studies.slice();
832
- const registeredAssays = concat(map$1((s) => s.RegisteredAssays.slice(), registeredStudies));
902
+ const registeredAssays = concat(map((s) => s.RegisteredAssays.slice(), registeredStudies));
833
903
  const includeFiles = unionMany([ofSeq(toList(delay(() => append(singleton("isa.investigation.xlsx"), delay(() => append(singleton("README.md"), delay(() => this$.License != null ? singleton(value(this$.License).Path) : empty())))))), {
834
904
  Compare: comparePrimitives
835
- }), unionMany(map$1((s_1) => {
905
+ }), unionMany(map((s_1) => {
836
906
  const studyFoldername = `${"studies"}/${s_1.Identifier}`;
837
907
  return ofSeq(toList(delay(() => append(singleton(`${studyFoldername}/${"isa.study.xlsx"}`), delay(() => append(singleton(`${studyFoldername}/${"README.md"}`), delay(() => collect((table) => collect((kv) => {
838
908
  const textValue = kv[1].ToFreeTextCell().AsFreeText;
@@ -842,7 +912,7 @@ class ARC extends ArcInvestigation {
842
912
  });
843
913
  }, registeredStudies), {
844
914
  Compare: comparePrimitives
845
- }), unionMany(map$1((a) => {
915
+ }), unionMany(map((a) => {
846
916
  const assayFoldername = `${"assays"}/${a.Identifier}`;
847
917
  return ofSeq(toList(delay(() => append(singleton(`${assayFoldername}/${"isa.assay.xlsx"}`), delay(() => append(singleton(`${assayFoldername}/${"README.md"}`), delay(() => collect((table_1) => collect((kv_1) => {
848
918
  const textValue_1 = kv_1[1].ToFreeTextCell().AsFreeText;
@@ -923,7 +993,7 @@ class ARC extends ArcInvestigation {
923
993
  let fileSystem;
924
994
  const paths = Array.from(patternInput[1]);
925
995
  fileSystem = FileSystem.fromFilePaths(paths);
926
- return ARC.fromArcInvestigation(patternInput[0], void 0, fileSystem, unwrap(patternInput[2]));
996
+ return ARC.fromArcInvestigation(patternInput[0], fileSystem, unwrap(patternInput[2]));
927
997
  } catch (ex) {
928
998
  const arg_1 = ex.message;
929
999
  return toFail(printf("Could not parse ARC-RO-Crate metadata: \n%s"))(arg_1);
@@ -984,8 +1054,8 @@ class ARC extends ArcInvestigation {
984
1054
  function ARC_$reflection() {
985
1055
  return class_type("ARCtrl.ARC", void 0, ARC, ArcInvestigation_$reflection());
986
1056
  }
987
- function ARC_$ctor_Z4D7EB22(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks, cwl, fs, license) {
988
- return new ARC(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks, cwl, fs, license);
1057
+ function ARC_$ctor_Z443FB9BF(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks, fs, license) {
1058
+ return new ARC(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks, fs, license);
989
1059
  }
990
1060
  function ARCAux_getArcAssaysFromContracts(contracts) {
991
1061
  return choose(ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F, contracts);
@@ -1025,16 +1095,16 @@ function ARCAux_getLicenseFromContracts(contracts) {
1025
1095
  }
1026
1096
  function ARCAux_updateFSByARC(isa, license, fs) {
1027
1097
  let assaysFolder;
1028
- const assays = map$1((a) => FileSystemTree.createAssayFolder(a.Identifier, a.DataMap != null), toArray(isa.Assays));
1098
+ const assays = map((a) => FileSystemTree.createAssayFolder(a.Identifier, a.DataMap != null), toArray(isa.Assays));
1029
1099
  assaysFolder = FileSystemTree.createAssaysFolder(assays);
1030
1100
  let studiesFolder;
1031
- const studies = map$1((s) => FileSystemTree.createStudyFolder(s.Identifier, s.DataMap != null), toArray(isa.Studies));
1101
+ const studies = map((s) => FileSystemTree.createStudyFolder(s.Identifier, s.DataMap != null), toArray(isa.Studies));
1032
1102
  studiesFolder = FileSystemTree.createStudiesFolder(studies);
1033
1103
  let workflowsFolder;
1034
- const workflows = map$1((w) => FileSystemTree.createWorkflowFolder(w.Identifier, w.DataMap != null), toArray(isa.Workflows));
1104
+ const workflows = map((w) => FileSystemTree.createWorkflowFolder(w.Identifier, w.DataMap != null), toArray(isa.Workflows));
1035
1105
  workflowsFolder = FileSystemTree.createWorkflowsFolder(workflows);
1036
1106
  let runsFolder;
1037
- const runs = map$1((r) => FileSystemTree.createRunFolder(r.Identifier, r.DataMap != null), toArray(isa.Runs));
1107
+ const runs = map((r) => FileSystemTree.createRunFolder(r.Identifier, r.DataMap != null), toArray(isa.Runs));
1038
1108
  runsFolder = FileSystemTree.createRunsFolder(runs);
1039
1109
  const investigation = FileSystemTree.createInvestigationFile();
1040
1110
  let tree_1;
@@ -1044,15 +1114,5 @@ function ARCAux_updateFSByARC(isa, license, fs) {
1044
1114
  });
1045
1115
  return fs.Union(tree_1);
1046
1116
  }
1047
- function ARCAux_updateFSByCWL(cwl, fs) {
1048
- const workflows = FileSystemTree.createWorkflowsFolder([]);
1049
- const runs = FileSystemTree.createRunsFolder([]);
1050
- let tree_1;
1051
- const tree = FileSystemTree.createRootFolder([workflows, runs]);
1052
- tree_1 = FileSystem.create({
1053
- tree
1054
- });
1055
- return fs.Union(tree_1);
1056
- }
1057
1117
 
1058
- export { ARC, ARCAux_getArcAssaysFromContracts, ARCAux_getArcInvestigationFromContracts, ARCAux_getArcRunsFromContracts, ARCAux_getArcStudiesFromContracts, ARCAux_getArcWorkflowsFromContracts, ARCAux_getAssayDataMapFromContracts, ARCAux_getLicenseFromContracts, ARCAux_getRunDataMapFromContracts, ARCAux_getStudyDataMapFromContracts, ARCAux_getWorkflowDataMapFromContracts, ARCAux_updateFSByARC, ARCAux_updateFSByCWL, ARC_$ctor_Z4D7EB22, ARC_$reflection };
1118
+ export { ARC, ARCAux_getArcAssaysFromContracts, ARCAux_getArcInvestigationFromContracts, ARCAux_getArcRunsFromContracts, ARCAux_getArcStudiesFromContracts, ARCAux_getArcWorkflowsFromContracts, ARCAux_getAssayDataMapFromContracts, ARCAux_getLicenseFromContracts, ARCAux_getRunDataMapFromContracts, ARCAux_getStudyDataMapFromContracts, ARCAux_getWorkflowDataMapFromContracts, ARCAux_updateFSByARC, ARC_$ctor_Z443FB9BF, ARC_$reflection };
@@ -1 +1 @@
1
- {"version":3,"file":"Datamap.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/Datamap.ts"],"names":[],"mappings":"AAIA,OAAO,EAAS,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAqC,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGhF,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,CAsC3E;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,QAAQ,CAG5H;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,QAAQ,CAG5H;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,QAAQ,CAG5H;AAED,wBAAgB,iEAAiE,CAAC,eAAe,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,KAAK,QAAQ,CAAC,CAExI;AAED,wBAAgB,iEAAiE,CAAC,eAAe,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,KAAK,QAAQ,CAAC,CAExI;AAED,wBAAgB,0DAA0D,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,CAyChI;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,QAAQ,CAG5H;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,OAAO,EAAE,eAA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