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

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.
@@ -1,7 +1,7 @@
1
1
  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
- import { ArcRun, ArcWorkflow, ArcStudy, ArcAssay, ArcInvestigation } from './Core/ArcTypes.js';
4
+ import { ArcWorkflow, ArcRun, ArcStudy, ArcAssay, ArcInvestigation } from './Core/ArcTypes.js';
5
5
  import { FSharpResult$2_$union } from '@fable-org/fable-library-js/Result.js';
6
6
  import { Contract } from './Contract/Contract.js';
7
7
  import { int32 } from '@fable-org/fable-library-js/Int32.js';
@@ -31,8 +31,12 @@ export declare class ARC extends ArcInvestigation {
31
31
  SetLicenseFulltext(fulltext: string, path?: string): void;
32
32
  static tryLoadAsync(arcPath: string): Promise<FSharpResult$2_$union<ARC, string[]>>;
33
33
  GetAssayRemoveContracts(assayIdentifier: string): Contract[];
34
+ GetRunRemoveContracts(runIdentifier: string): Contract[];
35
+ GetWorkflowRemoveContracts(workflowIdentifier: string): Contract[];
34
36
  TryRemoveAssayAsync(arcPath: string, assayIdentifier: string): Promise<FSharpResult$2_$union<Contract[], string[]>>;
35
37
  GetAssayRenameContracts(oldAssayIdentifier: string, newAssayIdentifier: string): Contract[];
38
+ GetRunRenameContracts(oldRunIdentifier: string, newRunIdentifier: string): Contract[];
39
+ GetWorkflowRenameContracts(oldRunIdentifier: string, newRunIdentifier: string): Contract[];
36
40
  TryRenameAssayAsync(arcPath: string, oldAssayIdentifier: string, newAssayIdentifier: string): Promise<FSharpResult$2_$union<Contract[], string[]>>;
37
41
  GetStudyRemoveContracts(studyIdentifier: string): Contract[];
38
42
  TryRemoveStudyAsync(arcPath: string, studyIdentifier: string): Promise<FSharpResult$2_$union<Contract[], string[]>>;
@@ -1 +1 @@
1
- {"version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aultArgWith } from '../node_modules/@fable-org/fable-library-js/Option.js';
3
3
  import { License } from './License.js';
4
- import { ArcInvestigation, ArcWorkflow__get_Identifier, ArcWorkflow__get_DataMap, ArcWorkflow__set_DataMap_51F1E59E, ArcWorkflow__set_StaticHash_Z524259A4, ArcWorkflow__GetLightHashCode, ArcWorkflow__get_StaticHash, ArcWorkflow__Copy_6FCE9E49, ArcInvestigation_$reflection } from './Core/ArcTypes.js';
4
+ import { ArcInvestigation, ArcInvestigation_$reflection } from './Core/ArcTypes.js';
5
5
  import { fullFillContractBatchAsync } from './ContractIO/ContractIO.js';
6
6
  import { FSharpResult$2_Error, FSharpResult$2_Ok } from '../node_modules/@fable-org/fable-library-js/Result.js';
7
7
  import { Contract } from './Contract/Contract.js';
@@ -10,10 +10,12 @@ import { promise } from './fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js';
10
10
  import { getAllFilePathsAsync } from './ContractIO/FileSystemHelper.js';
11
11
  import { toArray, contains, delay, append, singleton, map, 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
- import { getAssayFolderPath, getStudyFolderPath } from './FileSystem/Path.js';
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
15
  import { ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract, ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F } from './Contract/ArcInvestigation.js';
16
16
  import { ARCtrl_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F } from './Contract/ArcStudy.js';
17
+ 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
+ import { ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract, ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49, ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract, ARCtrl_ArcWorkflow__ArcWorkflow_tryFromReadContract_Static_7570923F } from './Contract/ArcWorkflow.js';
17
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';
18
20
  import { replace, join, toFail, printf, toText } from '../node_modules/@fable-org/fable-library-js/String.js';
19
21
  import { createMissingIdentifier, Study_fileNameFromIdentifier, Study_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Assay_datamapFileNameFromIdentifier, Workflow_fileNameFromIdentifier, Workflow_datamapFileNameFromIdentifier, Run_fileNameFromIdentifier, Run_datamapFileNameFromIdentifier } from './Core/Helper/Identifier.js';
@@ -33,8 +35,6 @@ import { ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E } from '.
33
35
  import { ARCtrl_ArcRun__ArcRun_toFsWorkbook_Static_Z3EFAF6F8 } from './Spreadsheet/ArcRun.js';
34
36
  import { Dictionary_tryGet } from './fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js';
35
37
  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';
36
- import { ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49, ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract, ARCtrl_ArcWorkflow__ArcWorkflow_tryFromReadContract_Static_7570923F } from './Contract/ArcWorkflow.js';
37
- import { ARCtrl_ArcRun__ArcRun_ToCreateContract_6FCE9E49, ARCtrl_ArcRun__ArcRun_ToUpdateContract, ARCtrl_ArcRun__ArcRun_tryFromReadContract_Static_7570923F } from './Contract/ArcRun.js';
38
38
  import { Init_createInitContract_6DFDD678, gitignoreContract, gitattributesContract, Init_createAddRemoteContract_Z721C83C5, Clone_createCloneContract_5000466F } from './Contract/Git.js';
39
39
  import { ofSeq as ofSeq$1 } from '../node_modules/@fable-org/fable-library-js/Map.js';
40
40
  import { fromString } from './fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
@@ -138,6 +138,38 @@ class ARC extends ArcInvestigation {
138
138
  this$.SetFilePaths(filteredPaths);
139
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)))))));
140
140
  }
141
+ GetRunRemoveContracts(runIdentifier) {
142
+ const this$ = this;
143
+ if (!contains(runIdentifier, this$.RunIdentifiers, {
144
+ Equals: (x, y) => x === y,
145
+ GetHashCode: stringHash
146
+ })) {
147
+ throw new Error("ARC does not contain run with given name");
148
+ }
149
+ const run = this$.GetRun(runIdentifier);
150
+ this$.DeleteRun(runIdentifier);
151
+ const paths = this$.FileSystem.Tree.ToFilePaths();
152
+ const runFolderPath = getRunFolderPath(runIdentifier);
153
+ const filteredPaths = paths.filter((p) => !p.startsWith(runFolderPath));
154
+ this$.SetFilePaths(filteredPaths);
155
+ return [ARCtrl_ArcRun__ArcRun_ToDeleteContract(run), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(this$)];
156
+ }
157
+ GetWorkflowRemoveContracts(workflowIdentifier) {
158
+ const this$ = this;
159
+ if (!contains(workflowIdentifier, this$.WorkflowIdentifiers, {
160
+ Equals: (x, y) => x === y,
161
+ GetHashCode: stringHash
162
+ })) {
163
+ throw new Error("ARC does not contain workflow with given name");
164
+ }
165
+ const workflow = this$.GetWorkflow(workflowIdentifier);
166
+ this$.DeleteWorkflow(workflowIdentifier);
167
+ const paths = this$.FileSystem.Tree.ToFilePaths();
168
+ const workflowFolderPath = getWorkflowFolderPath(workflowIdentifier);
169
+ const filteredPaths = paths.filter((p) => !p.startsWith(workflowFolderPath));
170
+ this$.SetFilePaths(filteredPaths);
171
+ return [ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract(workflow), ARCtrl_ArcInvestigation__ArcInvestigation_ToUpdateContract(this$)];
172
+ }
141
173
  TryRemoveAssayAsync(arcPath, assayIdentifier) {
142
174
  const this$ = this;
143
175
  return fullFillContractBatchAsync(arcPath, this$.GetAssayRemoveContracts(assayIdentifier));
@@ -158,6 +190,38 @@ class ARC extends ArcInvestigation {
158
190
  this$.SetFilePaths(renamedPaths);
159
191
  return toArray(delay(() => append(singleton(Contract.createRename(oldAssayFolderPath, newAssayFolderPath)), delay(() => this$.GetUpdateContracts()))));
160
192
  }
193
+ GetRunRenameContracts(oldRunIdentifier, newRunIdentifier) {
194
+ const this$ = this;
195
+ if (!contains(oldRunIdentifier, this$.RunIdentifiers, {
196
+ Equals: (x, y) => x === y,
197
+ GetHashCode: stringHash
198
+ })) {
199
+ throw new Error("ARC does not contain run with given name");
200
+ }
201
+ this$.RenameRun(oldRunIdentifier, newRunIdentifier);
202
+ const paths = this$.FileSystem.Tree.ToFilePaths();
203
+ const oldPath = getRunFolderPath(oldRunIdentifier);
204
+ const newPath = getRunFolderPath(newRunIdentifier);
205
+ const renamedPaths = map$1((p) => replace(p, oldPath, newPath), paths);
206
+ this$.SetFilePaths(renamedPaths);
207
+ return toArray(delay(() => append(singleton(Contract.createRename(oldPath, newPath)), delay(() => this$.GetUpdateContracts()))));
208
+ }
209
+ GetWorkflowRenameContracts(oldRunIdentifier, newRunIdentifier) {
210
+ const this$ = this;
211
+ if (!contains(oldRunIdentifier, this$.WorkflowIdentifiers, {
212
+ Equals: (x, y) => x === y,
213
+ GetHashCode: stringHash
214
+ })) {
215
+ throw new Error("ARC does not contain run with given name");
216
+ }
217
+ this$.RenameWorkflow(oldRunIdentifier, newRunIdentifier);
218
+ 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);
222
+ this$.SetFilePaths(renamedPaths);
223
+ return toArray(delay(() => append(singleton(Contract.createRename(oldPath, newPath)), delay(() => this$.GetUpdateContracts()))));
224
+ }
161
225
  TryRenameAssayAsync(arcPath, oldAssayIdentifier, newAssayIdentifier) {
162
226
  const this$ = this;
163
227
  return fullFillContractBatchAsync(arcPath, this$.GetAssayRenameContracts(oldAssayIdentifier, newAssayIdentifier));
@@ -433,12 +497,12 @@ class ARC extends ArcInvestigation {
433
497
  assay_1.Tables = updatedTables.Tables;
434
498
  });
435
499
  workflows.forEach((workflow) => {
436
- const datamap_2 = ARCAux_getWorkflowDataMapFromContracts(ArcWorkflow__get_Identifier(workflow), contracts);
437
- if (ArcWorkflow__get_DataMap(workflow) == null) {
438
- ArcWorkflow__set_DataMap_51F1E59E(workflow, datamap_2);
500
+ const datamap_2 = ARCAux_getWorkflowDataMapFromContracts(workflow.Identifier, contracts);
501
+ if (workflow.DataMap == null) {
502
+ workflow.DataMap = datamap_2;
439
503
  }
440
504
  this$.AddWorkflow(workflow);
441
- ArcWorkflow__set_StaticHash_Z524259A4(workflow, ArcWorkflow__GetLightHashCode(workflow));
505
+ workflow.StaticHash = workflow.GetLightHashCode() | 0;
442
506
  });
443
507
  runs.forEach((run) => {
444
508
  const datamap_3 = ARCAux_getRunDataMapFromContracts(run.Identifier, contracts);
@@ -489,12 +553,12 @@ class ARC extends ArcInvestigation {
489
553
  }
490
554
  }, this$.Assays);
491
555
  iterate((w) => {
492
- ArcWorkflow__set_StaticHash_Z524259A4(w, ArcWorkflow__GetLightHashCode(w));
493
- addToDict(filemap, Workflow_fileNameFromIdentifier(ArcWorkflow__get_Identifier(w)), ["ISA_Workflow", ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E(w)]);
494
- if (ArcWorkflow__get_DataMap(w) != null) {
495
- const dm_2 = value(ArcWorkflow__get_DataMap(w));
556
+ w.StaticHash = w.GetLightHashCode() | 0;
557
+ addToDict(filemap, Workflow_fileNameFromIdentifier(w.Identifier), ["ISA_Workflow", ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E(w)]);
558
+ if (w.DataMap != null) {
559
+ const dm_2 = value(w.DataMap);
496
560
  DataMap__set_StaticHash_Z524259A4(dm_2, safeHash(dm_2));
497
- addToDict(filemap, Workflow_datamapFileNameFromIdentifier(ArcWorkflow__get_Identifier(w)), ["ISA_Datamap", toFsWorkbook(dm_2)]);
561
+ addToDict(filemap, Workflow_datamapFileNameFromIdentifier(w.Identifier), ["ISA_Datamap", toFsWorkbook(dm_2)]);
498
562
  }
499
563
  }, this$.Workflows);
500
564
  iterate((r) => {
@@ -608,11 +672,11 @@ class ARC extends ArcInvestigation {
608
672
  }
609
673
  }));
610
674
  }, this$.Assays), delay(() => append(collect((w) => {
611
- const hash_3 = ArcWorkflow__GetLightHashCode(w) | 0;
612
- return append(ArcWorkflow__get_StaticHash(w) === 0 ? ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49(w, true) : ArcWorkflow__get_StaticHash(w) !== hash_3 ? singleton(ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract(w)) : empty(), delay(() => {
675
+ const hash_3 = w.GetLightHashCode() | 0;
676
+ return append(w.StaticHash === 0 ? ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49(w, true) : w.StaticHash !== hash_3 ? singleton(ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract(w)) : empty(), delay(() => {
613
677
  let dm_9;
614
- ArcWorkflow__set_StaticHash_Z524259A4(w, hash_3);
615
- const matchValue_2 = ArcWorkflow__get_DataMap(w);
678
+ w.StaticHash = hash_3 | 0;
679
+ const matchValue_2 = w.DataMap;
616
680
  let matchResult_2, dm_10, dm_11;
617
681
  if (matchValue_2 != null) {
618
682
  if (DataMap__get_StaticHash(value(matchValue_2)) === 0) {
@@ -629,12 +693,12 @@ class ARC extends ArcInvestigation {
629
693
  }
630
694
  switch (matchResult_2) {
631
695
  case 0:
632
- return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForWorkflow_Z721C83C5(dm_10, ArcWorkflow__get_Identifier(w))), delay(() => {
696
+ return append(singleton(ARCtrl_DataMap__DataMap_ToCreateContractForWorkflow_Z721C83C5(dm_10, w.Identifier)), delay(() => {
633
697
  DataMap__set_StaticHash_Z524259A4(dm_10, safeHash(dm_10));
634
698
  return empty();
635
699
  }));
636
700
  case 1:
637
- return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForWorkflow_Z721C83C5(dm_11, ArcWorkflow__get_Identifier(w))), delay(() => {
701
+ return append(singleton(ARCtrl_DataMap__DataMap_ToUpdateContractForWorkflow_Z721C83C5(dm_11, w.Identifier)), delay(() => {
638
702
  DataMap__set_StaticHash_Z524259A4(dm_11, safeHash(dm_11));
639
703
  return empty();
640
704
  }));
@@ -734,7 +798,8 @@ class ARC extends ArcInvestigation {
734
798
  try {
735
799
  while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
736
800
  const workflow = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
737
- void nextWorkflows.push(ArcWorkflow__Copy_6FCE9E49(workflow));
801
+ const copy_2 = workflow.Copy();
802
+ void nextWorkflows.push(copy_2);
738
803
  }
739
804
  } finally {
740
805
  disposeSafe(enumerator_2);
@@ -966,7 +1031,7 @@ function ARCAux_updateFSByARC(isa, license, fs) {
966
1031
  const studies = map$1((s) => FileSystemTree.createStudyFolder(s.Identifier, s.DataMap != null), toArray(isa.Studies));
967
1032
  studiesFolder = FileSystemTree.createStudiesFolder(studies);
968
1033
  let workflowsFolder;
969
- const workflows = map$1((w) => FileSystemTree.createWorkflowFolder(ArcWorkflow__get_Identifier(w), ArcWorkflow__get_DataMap(w) != null), toArray(isa.Workflows));
1034
+ const workflows = map$1((w) => FileSystemTree.createWorkflowFolder(w.Identifier, w.DataMap != null), toArray(isa.Workflows));
970
1035
  workflowsFolder = FileSystemTree.createWorkflowsFolder(workflows);
971
1036
  let runsFolder;
972
1037
  const runs = map$1((r) => FileSystemTree.createRunFolder(r.Identifier, r.DataMap != null), toArray(isa.Runs));
@@ -1,6 +1,6 @@
1
1
  import { Option } from '@fable-org/fable-library-js/Option.js';
2
- import { ArcWorkflow } from '../Core/ArcTypes.js';
3
2
  import { Contract } from './Contract.js';
3
+ import { ArcWorkflow } from '../Core/ArcTypes.js';
4
4
  export declare function $007CWorkflowPath$007C_$007C(input: string[]): Option<string>;
5
5
  export declare function ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49(this$: ArcWorkflow, WithFolder: Option<boolean>): Contract[];
6
6
  export declare function ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract(this$: ArcWorkflow): Contract;
@@ -1 +1 @@
1
- {"version":3,"file":"ArcWorkflow.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcWorkflow.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE1F,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAMzC,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,CA0B5E;AAED,wBAAgB,yDAAyD,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,QAAQ,EAAE,CAQrI;AAED,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,CAG7F;AAED,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,CAG7F;AAED,wBAAgB,iEAAiE,CAAC,QAAQ,EAAE,WAAW,GAAG,QAAQ,CAEjH;AAED,wBAAgB,gEAAgE,CAAC,QAAQ,EAAE,WAAW,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,EAAE,CAExI;AAED,wBAAgB,iEAAiE,CAAC,QAAQ,EAAE,WAAW,GAAG,QAAQ,CAEjH;AAED,wBAAgB,mEAAmE,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,CA8BpH"}
1
+ {"version":3,"file":"ArcWorkflow.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcWorkflow.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE1F,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAIzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGlD,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,CA0B5E;AAED,wBAAgB,yDAAyD,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,QAAQ,EAAE,CAQrI;AAED,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,CAG7F;AAED,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,CAG7F;AAED,wBAAgB,iEAAiE,CAAC,QAAQ,EAAE,WAAW,GAAG,QAAQ,CAEjH;AAED,wBAAgB,gEAAgE,CAAC,QAAQ,EAAE,WAAW,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,EAAE,CAExI;AAED,wBAAgB,iEAAiE,CAAC,QAAQ,EAAE,WAAW,GAAG,QAAQ,CAEjH;AAED,wBAAgB,mEAAmE,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,CA8BpH"}
@@ -3,7 +3,6 @@ import { combineMany, getWorkflowFolderPath } from '../FileSystem/Path.js';
3
3
  import { defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
4
4
  import { defaultArg, unwrap, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
5
5
  import { Workflow_fileNameFromIdentifier } from '../Core/Helper/Identifier.js';
6
- import { ArcWorkflow__get_Identifier } from '../Core/ArcTypes.js';
7
6
  import { Contract } from './Contract.js';
8
7
  import { ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E, ARCtrl_ArcWorkflow__ArcWorkflow_fromFsWorkbook_Static_32154C9D } from '../Spreadsheet/ArcWorkflow.js';
9
8
  import { toArray, delay, append, collect, singleton, empty } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
@@ -35,19 +34,19 @@ function $007CWorkflowPath$007C_$007C(input) {
35
34
  }
36
35
  function ARCtrl_ArcWorkflow__ArcWorkflow_ToCreateContract_6FCE9E49(this$, WithFolder) {
37
36
  const withFolder = defaultArg(WithFolder, false);
38
- const path = Workflow_fileNameFromIdentifier(ArcWorkflow__get_Identifier(this$));
37
+ const path = Workflow_fileNameFromIdentifier(this$.Identifier);
39
38
  const c = Contract.createCreate(path, "ISA_Workflow", ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E(this$));
40
39
  return toArray(delay(() => {
41
40
  let folderFS;
42
- return append(withFolder ? (folderFS = FileSystemTree.createWorkflowsFolder([FileSystemTree.createWorkflowFolder(ArcWorkflow__get_Identifier(this$))]), collect((p) => p !== path && p !== "workflows/.gitkeep" ? singleton(Contract.createCreate(p, "PlainText")) : empty(), folderFS.ToFilePaths(false))) : empty(), delay(() => singleton(c)));
41
+ return append(withFolder ? (folderFS = FileSystemTree.createWorkflowsFolder([FileSystemTree.createWorkflowFolder(this$.Identifier)]), collect((p) => p !== path && p !== "workflows/.gitkeep" ? singleton(Contract.createCreate(p, "PlainText")) : empty(), folderFS.ToFilePaths(false))) : empty(), delay(() => singleton(c)));
43
42
  }));
44
43
  }
45
44
  function ARCtrl_ArcWorkflow__ArcWorkflow_ToUpdateContract(this$) {
46
- const path = Workflow_fileNameFromIdentifier(ArcWorkflow__get_Identifier(this$));
45
+ const path = Workflow_fileNameFromIdentifier(this$.Identifier);
47
46
  return Contract.createUpdate(path, "ISA_Workflow", ARCtrl_ArcWorkflow__ArcWorkflow_toFsWorkbook_Static_Z1C75CB0E(this$));
48
47
  }
49
48
  function ARCtrl_ArcWorkflow__ArcWorkflow_ToDeleteContract(this$) {
50
- const path = getWorkflowFolderPath(ArcWorkflow__get_Identifier(this$));
49
+ const path = getWorkflowFolderPath(this$.Identifier);
51
50
  return Contract.createDelete(path);
52
51
  }
53
52
  function ARCtrl_ArcWorkflow__ArcWorkflow_toDeleteContract_Static_Z1C75CB0E(workflow) {
@@ -225,9 +225,62 @@ export declare class ArcWorkflow {
225
225
  "comments@1166": Comment$[];
226
226
  staticHash: int32;
227
227
  constructor(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: ProtocolParameter[], components?: Component[], datamap?: DataMap, contacts?: Person[], comments?: Comment$[]);
228
+ get Identifier(): string;
229
+ set Identifier(i: string);
230
+ get Investigation(): ArcInvestigation | undefined;
231
+ set Investigation(a: Option<ArcInvestigation>);
232
+ get Title(): string | undefined;
233
+ set Title(t: Option<string>);
234
+ get Description(): string | undefined;
235
+ set Description(d: Option<string>);
236
+ get SubWorkflowIdentifiers(): string[];
237
+ set SubWorkflowIdentifiers(s: string[]);
238
+ get WorkflowType(): OntologyAnnotation | undefined;
239
+ set WorkflowType(w: Option<OntologyAnnotation>);
240
+ get URI(): string | undefined;
241
+ set URI(u: Option<string>);
242
+ get Version(): string | undefined;
243
+ set Version(v: Option<string>);
244
+ get Parameters(): ProtocolParameter[];
245
+ set Parameters(p: ProtocolParameter[]);
246
+ get Components(): Component[];
247
+ set Components(c: Component[]);
248
+ get DataMap(): DataMap | undefined;
249
+ set DataMap(dm: Option<DataMap>);
250
+ get Contacts(): Person[];
251
+ set Contacts(c: Person[]);
252
+ get Comments(): Comment$[];
253
+ set Comments(c: Comment$[]);
254
+ get StaticHash(): int32;
255
+ set StaticHash(s: int32);
256
+ static init(identifier: string): ArcWorkflow;
257
+ static create(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: ProtocolParameter[], components?: Component[], datamap?: DataMap, contacts?: Person[], comments?: Comment$[]): ArcWorkflow;
258
+ static make(identifier: string, title: Option<string>, description: Option<string>, workflowType: Option<OntologyAnnotation>, uri: Option<string>, version: Option<string>, subWorkflowIdentifiers: string[], parameters: ProtocolParameter[], components: Component[], datamap: Option<DataMap>, contacts: Person[], comments: Comment$[]): ArcWorkflow;
259
+ static get FileName(): string;
260
+ get SubWorkflowIdentifiersCount(): int32;
261
+ get SubWorkflowCount(): int32;
262
+ get SubWorkflows(): ArcWorkflow[];
263
+ get VacantSubWorkflowIdentifiers(): string[];
264
+ AddSubWorkflow(subWorkflow: ArcWorkflow): void;
265
+ static addSubWorkflow(subWorkflow: ArcWorkflow): ((arg0: ArcWorkflow) => ArcWorkflow);
266
+ InitSubWorkflow(subWorkflowIdentifier: string): ArcWorkflow;
267
+ static initSubWorkflow(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => [ArcWorkflow, ArcWorkflow]);
268
+ RegisterSubWorkflow(subWorkflowIdentifier: string): void;
269
+ static registerSubWorkflow(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => ArcWorkflow);
270
+ DeregisterSubWorkflow(subWorkflowIdentifier: string): void;
271
+ static deregisterSubWorkflow(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => ArcWorkflow);
272
+ GetRegisteredSubWorkflow(subWorkflowIdentifier: string): ArcWorkflow;
273
+ static getRegisteredSubWorkflow(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => ArcWorkflow);
274
+ static getRegisteredSubWorkflows(): ((arg0: ArcWorkflow) => ArcWorkflow[]);
275
+ GetRegisteredSubWorkflowsOrIdentifier(): ArcWorkflow[];
276
+ static getRegisteredSubWorkflowsOrIdentifier(): ((arg0: ArcWorkflow) => ArcWorkflow[]);
277
+ Copy(copyInvestigationRef?: boolean): ArcWorkflow;
278
+ StructurallyEquals(other: ArcWorkflow): boolean;
279
+ ReferenceEquals(other: ArcStudy): boolean;
228
280
  toString(): string;
229
281
  Equals(other: any): boolean;
230
282
  GetHashCode(): int32;
283
+ GetLightHashCode(): int32;
231
284
  }
232
285
  export declare function ArcWorkflow_$reflection(): TypeInfo;
233
286
  export declare function ArcWorkflow_$ctor_Z3BB02240(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: ProtocolParameter[], components?: Component[], datamap?: DataMap, contacts?: Person[], comments?: Comment$[]): ArcWorkflow;
@@ -395,6 +448,10 @@ export declare class ArcInvestigation {
395
448
  static removeAssay(assayIdentifier: string): ((arg0: ArcInvestigation) => ArcInvestigation);
396
449
  RenameAssay(oldIdentifier: string, newIdentifier: string): void;
397
450
  static renameAssay(oldIdentifier: string, newIdentifier: string): ((arg0: ArcInvestigation) => ArcInvestigation);
451
+ RenameRun(oldIdentifier: string, newIdentifier: string): void;
452
+ static renameRun(oldIdentifier: string, newIdentifier: string): ((arg0: ArcInvestigation) => ArcInvestigation);
453
+ RenameWorkflow(oldIdentifier: string, newIdentifier: string): void;
454
+ static renameWorkflow(oldIdentifier: string, newIdentifier: string): ((arg0: ArcInvestigation) => ArcInvestigation);
398
455
  SetAssayAt(index: int32, assay: ArcAssay): void;
399
456
  static setAssayAt(index: int32, assay: ArcAssay): ((arg0: ArcInvestigation) => ArcInvestigation);
400
457
  SetAssay(assayIdentifier: string, assay: ArcAssay): void;
@@ -525,96 +582,4 @@ export declare function ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier<$a, $b
525
582
  export declare function ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier<$a, $b>(studyIdentifer: $a, investigationIdentifier: $b): string;
526
583
  export declare function ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier<$a, $b>(workflowIdentifier: $a, investigationIdentifier: $b): string;
527
584
  export declare function ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier<$a, $b>(runIdentifier: $a, investigationIdentifier: $b): string;
528
- /**
529
- * Must be unique in one study
530
- */
531
- export declare function ArcWorkflow__get_Identifier(this$: ArcWorkflow): string;
532
- /**
533
- * Must be unique in one study
534
- */
535
- export declare function ArcWorkflow__set_Identifier_Z721C83C5(this$: ArcWorkflow, i: string): void;
536
- export declare function ArcWorkflow__get_Investigation(this$: ArcWorkflow): Option<ArcInvestigation>;
537
- export declare function ArcWorkflow__set_Investigation_Z1E102E3E(this$: ArcWorkflow, a: Option<ArcInvestigation>): void;
538
- export declare function ArcWorkflow__get_Title(this$: ArcWorkflow): Option<string>;
539
- export declare function ArcWorkflow__set_Title_6DFDD678(this$: ArcWorkflow, t: Option<string>): void;
540
- export declare function ArcWorkflow__get_Description(this$: ArcWorkflow): Option<string>;
541
- export declare function ArcWorkflow__set_Description_6DFDD678(this$: ArcWorkflow, d: Option<string>): void;
542
- export declare function ArcWorkflow__get_SubWorkflowIdentifiers(this$: ArcWorkflow): string[];
543
- export declare function ArcWorkflow__set_SubWorkflowIdentifiers_70A00D82(this$: ArcWorkflow, s: string[]): void;
544
- export declare function ArcWorkflow__get_WorkflowType(this$: ArcWorkflow): Option<OntologyAnnotation>;
545
- export declare function ArcWorkflow__set_WorkflowType_279AAFF2(this$: ArcWorkflow, w: Option<OntologyAnnotation>): void;
546
- export declare function ArcWorkflow__get_URI(this$: ArcWorkflow): Option<string>;
547
- export declare function ArcWorkflow__set_URI_6DFDD678(this$: ArcWorkflow, u: Option<string>): void;
548
- export declare function ArcWorkflow__get_Version(this$: ArcWorkflow): Option<string>;
549
- export declare function ArcWorkflow__set_Version_6DFDD678(this$: ArcWorkflow, v: Option<string>): void;
550
- export declare function ArcWorkflow__get_Parameters(this$: ArcWorkflow): ProtocolParameter[];
551
- export declare function ArcWorkflow__set_Parameters_10749ED2(this$: ArcWorkflow, p: ProtocolParameter[]): void;
552
- export declare function ArcWorkflow__get_Components(this$: ArcWorkflow): Component[];
553
- export declare function ArcWorkflow__set_Components_Z3A507DDE(this$: ArcWorkflow, c: Component[]): void;
554
- export declare function ArcWorkflow__get_DataMap(this$: ArcWorkflow): Option<DataMap>;
555
- export declare function ArcWorkflow__set_DataMap_51F1E59E(this$: ArcWorkflow, dm: Option<DataMap>): void;
556
- export declare function ArcWorkflow__get_Contacts(this$: ArcWorkflow): Person[];
557
- export declare function ArcWorkflow__set_Contacts_Z7E0D1CA3(this$: ArcWorkflow, c: Person[]): void;
558
- export declare function ArcWorkflow__get_Comments(this$: ArcWorkflow): Comment$[];
559
- export declare function ArcWorkflow__set_Comments_149C14BB(this$: ArcWorkflow, c: Comment$[]): void;
560
- export declare function ArcWorkflow__get_StaticHash(this$: ArcWorkflow): int32;
561
- export declare function ArcWorkflow__set_StaticHash_Z524259A4(this$: ArcWorkflow, s: int32): void;
562
- export declare function ArcWorkflow_init_Z721C83C5(identifier: string): ArcWorkflow;
563
- export declare function ArcWorkflow_create_Z3BB02240(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: ProtocolParameter[], components?: Component[], datamap?: DataMap, contacts?: Person[], comments?: Comment$[]): ArcWorkflow;
564
- export declare function ArcWorkflow_make(identifier: string, title: Option<string>, description: Option<string>, workflowType: Option<OntologyAnnotation>, uri: Option<string>, version: Option<string>, subWorkflowIdentifiers: string[], parameters: ProtocolParameter[], components: Component[], datamap: Option<DataMap>, contacts: Person[], comments: Comment$[]): ArcWorkflow;
565
- export declare function ArcWorkflow_get_FileName(): string;
566
- /**
567
- * Returns the count of registered subWorkflow *identifiers*. This is not necessarily the same as the count of registered subWorkflows, as not all identifiers correspond to an existing subWorkflow.
568
- */
569
- export declare function ArcWorkflow__get_SubWorkflowIdentifiersCount(this$: ArcWorkflow): int32;
570
- /**
571
- * Returns the count of registered subWorkflows. This is not necessarily the same as the count of registered subWorkflow *identifiers*, as not all identifiers correspond to an existing subWorkflow.
572
- */
573
- export declare function ArcWorkflow__get_SubWorkflowCount(this$: ArcWorkflow): int32;
574
- /**
575
- * Returns all subWorkflows registered in this workflow, that correspond to an existing subWorkflow object in the associated investigation.
576
- */
577
- export declare function ArcWorkflow__get_SubWorkflows(this$: ArcWorkflow): ArcWorkflow[];
578
- /**
579
- * Returns all registered subWorkflow identifiers that do not correspond to an existing subWorkflow object in the associated investigation.
580
- */
581
- export declare function ArcWorkflow__get_VacantSubWorkflowIdentifiers(this$: ArcWorkflow): string[];
582
- /**
583
- * Add subWorkflow to investigation and register it to workflow.
584
- */
585
- export declare function ArcWorkflow__AddSubWorkflow_Z1C75CB0E(this$: ArcWorkflow, subWorkflow: ArcWorkflow): void;
586
- export declare function ArcWorkflow_addSubWorkflow_Z1C75CB0E(subWorkflow: ArcWorkflow): ((arg0: ArcWorkflow) => ArcWorkflow);
587
- export declare function ArcWorkflow__InitSubWorkflow_Z721C83C5(this$: ArcWorkflow, subWorkflowIdentifier: string): ArcWorkflow;
588
- export declare function ArcWorkflow_initSubWorkflow_Z721C83C5(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => [ArcWorkflow, ArcWorkflow]);
589
- export declare function ArcWorkflow__RegisterSubWorkflow_Z721C83C5(this$: ArcWorkflow, subWorkflowIdentifier: string): void;
590
- export declare function ArcWorkflow_registerSubWorkflow_Z721C83C5(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => ArcWorkflow);
591
- export declare function ArcWorkflow__DeregisterSubWorkflow_Z721C83C5(this$: ArcWorkflow, subWorkflowIdentifier: string): void;
592
- export declare function ArcWorkflow_deregisterSubWorkflow_Z721C83C5(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => ArcWorkflow);
593
- export declare function ArcWorkflow__GetRegisteredSubWorkflow_Z721C83C5(this$: ArcWorkflow, subWorkflowIdentifier: string): ArcWorkflow;
594
- export declare function ArcWorkflow_getRegisteredSubWorkflow_Z721C83C5(subWorkflowIdentifier: string): ((arg0: ArcWorkflow) => ArcWorkflow);
595
- export declare function ArcWorkflow_getRegisteredSubWorkflows(): ((arg0: ArcWorkflow) => ArcWorkflow[]);
596
- /**
597
- * Returns ArcSubWorkflows registered in workflow, or if no parent exists, initializies new ArcSubWorkflow from identifier.
598
- */
599
- export declare function ArcWorkflow__GetRegisteredSubWorkflowsOrIdentifier(this$: ArcWorkflow): ArcWorkflow[];
600
- /**
601
- * Returns ArcSubWorkflows registered in workflow, or if no parent exists, initializies new ArcSubWorkflow from identifier.
602
- */
603
- export declare function ArcWorkflow_getRegisteredSubWorkflowsOrIdentifier(): ((arg0: ArcWorkflow) => ArcWorkflow[]);
604
- /**
605
- * Copies ArcStudy object without the pointer to the parent ArcInvestigation
606
- *
607
- * This copy does only contain the identifiers of the registered ArcAssays and not the actual objects.
608
- *
609
- * In order to copy the ArcAssays as well, use the Copy() method of the ArcInvestigation.
610
- */
611
- export declare function ArcWorkflow__Copy_6FCE9E49(this$: ArcWorkflow, copyInvestigationRef: Option<boolean>): ArcWorkflow;
612
- export declare function ArcWorkflow__StructurallyEquals_Z1C75CB0E(this$: ArcWorkflow, other: ArcWorkflow): boolean;
613
- /**
614
- * Use this function to check if this ArcWorkflow and the input ArcWorkflow refer to the same object.
615
- *
616
- * If true, updating one will update the other due to mutability.
617
- */
618
- export declare function ArcWorkflow__ReferenceEquals_1680536E(this$: ArcWorkflow, other: ArcStudy): boolean;
619
- export declare function ArcWorkflow__GetLightHashCode(this$: ArcWorkflow): int32;
620
585
  //# sourceMappingURL=ArcTypes.d.ts.map