@nfdi4plants/arctrl 1.0.0-alpha6 → 1.0.0-alpha8
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/{ARCtrl.js → ARC.js} +7 -2
- package/ISA/ISA/ArcTypes/ArcTableAux.js +14 -50
- package/ISA/ISA/ArcTypes/ArcTypes.js +177 -8
- package/ISA/ISA/Regex.js +1 -1
- package/ISA/ISA.Json/Assay.js +7 -7
- package/ISA/ISA.Json/Comment.js +7 -7
- package/ISA/ISA.Json/Data.js +10 -10
- package/ISA/ISA.Json/Decode.js +3 -3
- package/ISA/ISA.Json/Factor.js +10 -10
- package/ISA/ISA.Json/Investigation.js +7 -7
- package/ISA/ISA.Json/Material.js +10 -10
- package/ISA/ISA.Json/Ontology.js +7 -7
- package/ISA/ISA.Json/Person.js +7 -7
- package/ISA/ISA.Json/Process.js +16 -16
- package/ISA/ISA.Json/Protocol.js +9 -9
- package/ISA/ISA.Json/Publication.js +7 -7
- package/ISA/ISA.Json/Study.js +7 -7
- package/Templates/{Templates.Json.js → Template.Json.js} +49 -5
- package/Templates/{Templates.Spreadsheet.js → Template.Spreadsheet.js} +6 -6
- package/Templates/Template.Web.js +27 -0
- package/Templates/{Templates.js → Template.js} +3 -3
- package/WebRequest/WebRequest.js +38 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fable.Fetch.fableproj +21 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs +469 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +111 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
- package/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +20 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Fable.SimpleHttp.fableproj +23 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs +357 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +429 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs +52 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +112 -0
- package/fable_modules/project_cracked.json +1 -1
- package/index.js +12 -0
- package/package.json +4 -2
package/{ARCtrl.js → ARC.js}
RENAMED
|
@@ -14,13 +14,13 @@ import { tryISAReadContractFromPath } from "./Contracts/Contracts.ARCtrl.js";
|
|
|
14
14
|
import { ArcTables__get_Tables, ArcTables_$ctor_Z18C2F36D, ArcTables_updateReferenceTablesBySheets_Z2EE88E97 } from "./ISA/ISA/ArcTypes/ArcTables.js";
|
|
15
15
|
import { addToDict } from "./fable_modules/fable-library.4.1.4/MapUtil.js";
|
|
16
16
|
import { ArcInvestigation } from "./ISA/ISA/ArcTypes/ArcTypes.js";
|
|
17
|
-
import { printf, toConsole } from "./fable_modules/fable-library.4.1.4/String.js";
|
|
18
17
|
import { Assay_fileNameFromIdentifier, Study_fileNameFromIdentifier } from "./ISA/ISA/Identifier.js";
|
|
19
18
|
import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.4.1.0/Cells/FsCellsCollection.fs.js";
|
|
20
19
|
import { Contract } from "./Contract/Contract.js";
|
|
21
20
|
import { Clone_createCloneContract_5000466F, Init_createAddRemoteContract_Z721C83C5, gitignoreContract, Init_createInitContract_6DFDD678 } from "./Contracts/Contracts.Git.js";
|
|
22
21
|
import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library.4.1.4/Set.js";
|
|
23
22
|
import { comparePrimitives } from "./fable_modules/fable-library.4.1.4/Util.js";
|
|
23
|
+
import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library.4.1.4/Map.js";
|
|
24
24
|
import { class_type } from "./fable_modules/fable-library.4.1.4/Reflection.js";
|
|
25
25
|
|
|
26
26
|
export function ARCAux_getArcAssaysFromContracts(contracts) {
|
|
@@ -82,6 +82,7 @@ export class ARC {
|
|
|
82
82
|
set ISA(newISA) {
|
|
83
83
|
const this$ = this;
|
|
84
84
|
this$._isa = newISA;
|
|
85
|
+
this$.UpdateFileSystem();
|
|
85
86
|
}
|
|
86
87
|
get CWL() {
|
|
87
88
|
const this$ = this;
|
|
@@ -144,7 +145,6 @@ export class ARC {
|
|
|
144
145
|
const matchValue = this$.ISA;
|
|
145
146
|
if (matchValue == null) {
|
|
146
147
|
addToDict(workbooks, "isa.investigation.xlsx", ["ISA_Investigation", toFsWorkbook(ArcInvestigation.create("MISSING_IDENTIFIER_"))]);
|
|
147
|
-
toConsole(printf("ARC contains no ISA part."));
|
|
148
148
|
}
|
|
149
149
|
else {
|
|
150
150
|
const inv = matchValue;
|
|
@@ -245,6 +245,11 @@ export class ARC {
|
|
|
245
245
|
}
|
|
246
246
|
}, (tree = ((arg = ((array = FileSystemTree.toFilePaths()(this$._fs.Copy().Tree), array.filter((p) => !FSharpSet__Contains(registeredPayload, p)))), FileSystemTree.fromFilePaths(arg))), ignoreHidden ? FileSystemTree.filterFiles((n) => !(n.indexOf(".") === 0))(tree) : tree)), FileSystemTree.fromFilePaths([]));
|
|
247
247
|
}
|
|
248
|
+
static get DefaultContracts() {
|
|
249
|
+
return ofSeq_1([[".gitignore", gitignoreContract]], {
|
|
250
|
+
Compare: comparePrimitives,
|
|
251
|
+
});
|
|
252
|
+
}
|
|
248
253
|
}
|
|
249
254
|
|
|
250
255
|
export function ARC_$reflection() {
|
|
@@ -570,75 +570,39 @@ export function JsonTypes_composeProcessOutput(header, value) {
|
|
|
570
570
|
*/
|
|
571
571
|
export function JsonTypes_cellOfValue(value, unit) {
|
|
572
572
|
const value_2 = defaultArg(value, new Value(3, [""]));
|
|
573
|
-
let matchResult, oa, text, u, f, u_1, f_1, i, u_2, i_1;
|
|
574
573
|
switch (value_2.tag) {
|
|
575
|
-
case 3:
|
|
574
|
+
case 3:
|
|
576
575
|
if (unit != null) {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
u = unit;
|
|
580
|
-
}
|
|
581
|
-
else {
|
|
582
|
-
matchResult = 7;
|
|
583
|
-
}
|
|
576
|
+
const u = unit;
|
|
577
|
+
return new CompositeCell(2, [value_2.fields[0], u]);
|
|
584
578
|
}
|
|
585
579
|
else {
|
|
586
|
-
|
|
587
|
-
text = value_2.fields[0];
|
|
580
|
+
return new CompositeCell(1, [value_2.fields[0]]);
|
|
588
581
|
}
|
|
589
|
-
|
|
590
|
-
}
|
|
591
|
-
case 2: {
|
|
582
|
+
case 2:
|
|
592
583
|
if (unit == null) {
|
|
593
|
-
|
|
594
|
-
f_1 = value_2.fields[0];
|
|
584
|
+
return new CompositeCell(1, [value_2.fields[0].toString()]);
|
|
595
585
|
}
|
|
596
586
|
else {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
u_1 = unit;
|
|
587
|
+
const u_1 = unit;
|
|
588
|
+
return new CompositeCell(2, [value_2.fields[0].toString(), u_1]);
|
|
600
589
|
}
|
|
601
|
-
|
|
602
|
-
}
|
|
603
|
-
case 1: {
|
|
590
|
+
case 1:
|
|
604
591
|
if (unit == null) {
|
|
605
|
-
|
|
606
|
-
i_1 = value_2.fields[0];
|
|
592
|
+
return new CompositeCell(1, [int32ToString(value_2.fields[0])]);
|
|
607
593
|
}
|
|
608
594
|
else {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
u_2 = unit;
|
|
595
|
+
const u_2 = unit;
|
|
596
|
+
return new CompositeCell(2, [int32ToString(value_2.fields[0]), u_2]);
|
|
612
597
|
}
|
|
613
|
-
break;
|
|
614
|
-
}
|
|
615
598
|
default:
|
|
616
599
|
if (unit == null) {
|
|
617
|
-
|
|
618
|
-
oa = value_2.fields[0];
|
|
600
|
+
return new CompositeCell(0, [value_2.fields[0]]);
|
|
619
601
|
}
|
|
620
602
|
else {
|
|
621
|
-
|
|
603
|
+
return toFail(printf("Could not parse value %O with unit %O"))(value_2)(unit);
|
|
622
604
|
}
|
|
623
605
|
}
|
|
624
|
-
switch (matchResult) {
|
|
625
|
-
case 0:
|
|
626
|
-
return new CompositeCell(0, [oa]);
|
|
627
|
-
case 1:
|
|
628
|
-
return new CompositeCell(1, [text]);
|
|
629
|
-
case 2:
|
|
630
|
-
return new CompositeCell(2, ["", u]);
|
|
631
|
-
case 3:
|
|
632
|
-
return new CompositeCell(2, [f.toString(), u_1]);
|
|
633
|
-
case 4:
|
|
634
|
-
return new CompositeCell(1, [f_1.toString()]);
|
|
635
|
-
case 5:
|
|
636
|
-
return new CompositeCell(2, [int32ToString(i), u_2]);
|
|
637
|
-
case 6:
|
|
638
|
-
return new CompositeCell(1, [int32ToString(i_1)]);
|
|
639
|
-
default:
|
|
640
|
-
return toFail(printf("Could not parse value %O with unit %O"))(value_2)(unit);
|
|
641
|
-
}
|
|
642
606
|
}
|
|
643
607
|
|
|
644
608
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { map as map_1, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.1.4/Option.js";
|
|
2
2
|
import { ArcTables_updateReferenceTablesBySheets_Z2EE88E97, ArcTables_fromProcesses_134EBDED, ArcTables__get_Tables, ArcTables__GetProcesses, ArcTables__GetRow_Z18115A39, ArcTables__GetRowAt_Z37302880, ArcTables__UpdateRow_1BFE2CFB, ArcTables__UpdateRowAt_1CF7B5DC, ArcTables__RemoveRow_Z18115A39, ArcTables__RemoveRowAt_Z37302880, ArcTables__AddRow_Z16315DE5, ArcTables__AddRowAt_Z12CDB784, ArcTables__GetColumn_Z18115A39, ArcTables__GetColumnAt_Z37302880, ArcTables__UpdateColumn_Z6083042A, ArcTables__UpdateColumnAt_21300791, ArcTables__RemoveColumn_Z18115A39, ArcTables__RemoveColumnAt_Z37302880, ArcTables__AddColumn_1FF50D3C, ArcTables__AddColumnAt_6A9784DB, ArcTables__RenameTable_Z384F8060, ArcTables__RenameTableAt_Z176EF219, ArcTables__MapTable_27DD7B1B, ArcTables__MapTableAt_8FC095C, ArcTables__RemoveTable_Z721C83C5, ArcTables__RemoveTableAt_Z524259A4, ArcTables__SetTable_51766571, ArcTables__SetTableAt_7E571736, ArcTables__UpdateTable_51766571, ArcTables__UpdateTableAt_7E571736, ArcTables__GetTable_Z721C83C5, ArcTables__GetTableAt_Z524259A4, ArcTables__InitTables_7B28792B, ArcTables__InitTable_3B406CA4, ArcTables__AddTables_Z2D453886, ArcTables__AddTable_EC12B15, ArcTables__get_TableNames, ArcTables_$ctor_Z18C2F36D, ArcTables__get_Count } from "./ArcTables.js";
|
|
3
|
-
import { concat,
|
|
3
|
+
import { concat, tryFind, removeAt, tryFindIndex, item, map as map_2, delay, toList, fold, length, forAll, contains, filter, toArray } from "../../../fable_modules/fable-library.4.1.4/Seq.js";
|
|
4
4
|
import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../../../fable_modules/fable-library.4.1.4/Util.js";
|
|
5
5
|
import { tryFind as tryFind_1, removeInPlace, equalsWith, append as append_3, contains as contains_1, map } from "../../../fable_modules/fable-library.4.1.4/Array.js";
|
|
6
6
|
import { distinctBy, Array_distinct } from "../../../fable_modules/fable-library.4.1.4/Seq2.js";
|
|
@@ -15,6 +15,7 @@ import { unzip, ofSeq, map as map_3, toArray as toArray_1, ofArray, empty } from
|
|
|
15
15
|
import { getSources, getProtocols, getUnits, getCharacteristics, getData, getMaterials, getSamples } from "../JsonTypes/ProcessSequence.js";
|
|
16
16
|
import { Assay_create_3D372A24 } from "../JsonTypes/Assay.js";
|
|
17
17
|
import { Study_identifierFromFileName, Study_fileNameFromIdentifier, Assay_identifierFromFileName, createMissingIdentifier, Assay_fileNameFromIdentifier, isMissingIdentifier } from "../Identifier.js";
|
|
18
|
+
import { rangeDouble } from "../../../fable_modules/fable-library.4.1.4/Range.js";
|
|
18
19
|
import { class_type } from "../../../fable_modules/fable-library.4.1.4/Reflection.js";
|
|
19
20
|
import { StudyMaterials_get_empty, StudyMaterials_create_1BE9FA55 } from "../JsonTypes/StudyMaterials.js";
|
|
20
21
|
import { Study_create_Z2D28E954 } from "../JsonTypes/Study.js";
|
|
@@ -637,6 +638,41 @@ export class ArcAssay {
|
|
|
637
638
|
identifer = ((matchValue == null) ? createMissingIdentifier() : Assay_identifierFromFileName(matchValue));
|
|
638
639
|
return ArcAssay.create(identifer, unwrap(map_1((x) => x.Copy(), a.MeasurementType)), unwrap(map_1((x_1) => x_1.Copy(), a.TechnologyType)), unwrap(map_1((arg_2) => ArcAssay.decomposeTechnologyPlatform(arg_2), a.TechnologyPlatform)), unwrap(tables), void 0, unwrap(map_1(toArray_1, a.Comments)));
|
|
639
640
|
}
|
|
641
|
+
StructurallyEquals(other) {
|
|
642
|
+
let a, b, a_1, b_1, a_2, b_2;
|
|
643
|
+
const this$ = this;
|
|
644
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), (a = this$.Tables, (b = other.Tables, (length(a) === length(b)) && fold((acc, e) => {
|
|
645
|
+
if (acc) {
|
|
646
|
+
return e;
|
|
647
|
+
}
|
|
648
|
+
else {
|
|
649
|
+
return false;
|
|
650
|
+
}
|
|
651
|
+
}, true, toList(delay(() => map_2((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Performers, (b_1 = other.Performers, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
652
|
+
if (acc_1) {
|
|
653
|
+
return e_1;
|
|
654
|
+
}
|
|
655
|
+
else {
|
|
656
|
+
return false;
|
|
657
|
+
}
|
|
658
|
+
}, true, toList(delay(() => map_2((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.Comments, (b_2 = other.Comments, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
659
|
+
if (acc_2) {
|
|
660
|
+
return e_2;
|
|
661
|
+
}
|
|
662
|
+
else {
|
|
663
|
+
return false;
|
|
664
|
+
}
|
|
665
|
+
}, true, toList(delay(() => map_2((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))))]);
|
|
666
|
+
}
|
|
667
|
+
ReferenceEquals(other) {
|
|
668
|
+
const this$ = this;
|
|
669
|
+
return this$ === other;
|
|
670
|
+
}
|
|
671
|
+
Equals(other) {
|
|
672
|
+
let assay;
|
|
673
|
+
const this$ = this;
|
|
674
|
+
return (other instanceof ArcAssay) && ((assay = other, this$.StructurallyEquals(assay)));
|
|
675
|
+
}
|
|
640
676
|
}
|
|
641
677
|
|
|
642
678
|
export function ArcAssay_$reflection() {
|
|
@@ -656,7 +692,7 @@ export class ArcStudy {
|
|
|
656
692
|
const registeredAssayIdentifiers_1 = defaultArg(registeredAssayIdentifiers, []);
|
|
657
693
|
const factors_1 = defaultArg(factors, []);
|
|
658
694
|
const comments_1 = defaultArg(comments, []);
|
|
659
|
-
this["identifier@
|
|
695
|
+
this["identifier@641"] = identifier;
|
|
660
696
|
this.investigation = void 0;
|
|
661
697
|
this["Title@"] = title;
|
|
662
698
|
this["Description@"] = description;
|
|
@@ -672,11 +708,11 @@ export class ArcStudy {
|
|
|
672
708
|
}
|
|
673
709
|
get Identifier() {
|
|
674
710
|
const this$ = this;
|
|
675
|
-
return this$["identifier@
|
|
711
|
+
return this$["identifier@641"];
|
|
676
712
|
}
|
|
677
713
|
set Identifier(i) {
|
|
678
714
|
const this$ = this;
|
|
679
|
-
this$["identifier@
|
|
715
|
+
this$["identifier@641"] = i;
|
|
680
716
|
}
|
|
681
717
|
get Investigation() {
|
|
682
718
|
const this$ = this;
|
|
@@ -1379,6 +1415,69 @@ export class ArcStudy {
|
|
|
1379
1415
|
assaysIdentifiers = Array.from(arg_5);
|
|
1380
1416
|
return [ArcStudy.create(identifer, unwrap(s.Title), unwrap(s.Description), unwrap(s.SubmissionDate), unwrap(s.PublicReleaseDate), unwrap(map_1(toArray_1, s.Publications)), unwrap(map_1(toArray_1, s.Contacts)), unwrap(map_1(toArray_1, s.StudyDesignDescriptors)), unwrap(tables), assaysIdentifiers, unwrap(map_1(toArray_1, s.Factors)), unwrap(map_1(toArray_1, s.Comments))), assays];
|
|
1381
1417
|
}
|
|
1418
|
+
StructurallyEquals(other) {
|
|
1419
|
+
let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5, a_6, b_6;
|
|
1420
|
+
const this$ = this;
|
|
1421
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), (a = this$.Publications, (b = other.Publications, (length(a) === length(b)) && fold((acc, e) => {
|
|
1422
|
+
if (acc) {
|
|
1423
|
+
return e;
|
|
1424
|
+
}
|
|
1425
|
+
else {
|
|
1426
|
+
return false;
|
|
1427
|
+
}
|
|
1428
|
+
}, true, toList(delay(() => map_2((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Contacts, (b_1 = other.Contacts, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
1429
|
+
if (acc_1) {
|
|
1430
|
+
return e_1;
|
|
1431
|
+
}
|
|
1432
|
+
else {
|
|
1433
|
+
return false;
|
|
1434
|
+
}
|
|
1435
|
+
}, true, toList(delay(() => map_2((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.StudyDesignDescriptors, (b_2 = other.StudyDesignDescriptors, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
1436
|
+
if (acc_2) {
|
|
1437
|
+
return e_2;
|
|
1438
|
+
}
|
|
1439
|
+
else {
|
|
1440
|
+
return false;
|
|
1441
|
+
}
|
|
1442
|
+
}, true, toList(delay(() => map_2((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Tables, (b_3 = other.Tables, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
1443
|
+
if (acc_3) {
|
|
1444
|
+
return e_3;
|
|
1445
|
+
}
|
|
1446
|
+
else {
|
|
1447
|
+
return false;
|
|
1448
|
+
}
|
|
1449
|
+
}, true, toList(delay(() => map_2((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = this$.RegisteredAssayIdentifiers, (b_4 = other.RegisteredAssayIdentifiers, (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
1450
|
+
if (acc_4) {
|
|
1451
|
+
return e_4;
|
|
1452
|
+
}
|
|
1453
|
+
else {
|
|
1454
|
+
return false;
|
|
1455
|
+
}
|
|
1456
|
+
}, true, toList(delay(() => map_2((i_5) => (item(i_5, a_4) === item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Factors, (b_5 = other.Factors, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
1457
|
+
if (acc_5) {
|
|
1458
|
+
return e_5;
|
|
1459
|
+
}
|
|
1460
|
+
else {
|
|
1461
|
+
return false;
|
|
1462
|
+
}
|
|
1463
|
+
}, true, toList(delay(() => map_2((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
|
|
1464
|
+
if (acc_6) {
|
|
1465
|
+
return e_6;
|
|
1466
|
+
}
|
|
1467
|
+
else {
|
|
1468
|
+
return false;
|
|
1469
|
+
}
|
|
1470
|
+
}, true, toList(delay(() => map_2((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1)))))))]);
|
|
1471
|
+
}
|
|
1472
|
+
ReferenceEquals(other) {
|
|
1473
|
+
const this$ = this;
|
|
1474
|
+
return this$ === other;
|
|
1475
|
+
}
|
|
1476
|
+
Equals(other) {
|
|
1477
|
+
let s;
|
|
1478
|
+
const this$ = this;
|
|
1479
|
+
return (other instanceof ArcStudy) && ((s = other, this$.StructurallyEquals(s)));
|
|
1480
|
+
}
|
|
1382
1481
|
}
|
|
1383
1482
|
|
|
1384
1483
|
export function ArcStudy_$reflection() {
|
|
@@ -1425,7 +1524,7 @@ export class ArcInvestigation {
|
|
|
1425
1524
|
const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
|
|
1426
1525
|
const comments_1 = defaultArg(comments, []);
|
|
1427
1526
|
const remarks_1 = defaultArg(remarks, []);
|
|
1428
|
-
this["identifier@
|
|
1527
|
+
this["identifier@1292"] = identifier;
|
|
1429
1528
|
this["Title@"] = title;
|
|
1430
1529
|
this["Description@"] = description;
|
|
1431
1530
|
this["SubmissionDate@"] = submissionDate;
|
|
@@ -1438,15 +1537,15 @@ export class ArcInvestigation {
|
|
|
1438
1537
|
this["RegisteredStudyIdentifiers@"] = registeredStudyIdentifiers_1;
|
|
1439
1538
|
this["Comments@"] = comments_1;
|
|
1440
1539
|
this["Remarks@"] = remarks_1;
|
|
1441
|
-
this["init@
|
|
1540
|
+
this["init@1273"] = 1;
|
|
1442
1541
|
}
|
|
1443
1542
|
get Identifier() {
|
|
1444
1543
|
const this$ = this;
|
|
1445
|
-
return this$["identifier@
|
|
1544
|
+
return this$["identifier@1292"];
|
|
1446
1545
|
}
|
|
1447
1546
|
set Identifier(i) {
|
|
1448
1547
|
const this$ = this;
|
|
1449
|
-
this$["identifier@
|
|
1548
|
+
this$["identifier@1292"] = i;
|
|
1450
1549
|
}
|
|
1451
1550
|
get Title() {
|
|
1452
1551
|
const __ = this;
|
|
@@ -2006,6 +2105,76 @@ export class ArcInvestigation {
|
|
|
2006
2105
|
assays = Array.from(arg_2);
|
|
2007
2106
|
return ArcInvestigation.create(identifer, i.Title, i.Description, i.SubmissionDate, i.PublicReleaseDate, void 0, map_1(toArray_1, i.Publications), map_1(toArray_1, i.Contacts), assays, studies, studyIdentifiers, map_1(toArray_1, i.Comments));
|
|
2008
2107
|
}
|
|
2108
|
+
StructurallyEquals(other) {
|
|
2109
|
+
let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5, a_6, b_6, a_7, b_7;
|
|
2110
|
+
const this$ = this;
|
|
2111
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), (a = this$.Publications, (b = other.Publications, (length(a) === length(b)) && fold((acc, e) => {
|
|
2112
|
+
if (acc) {
|
|
2113
|
+
return e;
|
|
2114
|
+
}
|
|
2115
|
+
else {
|
|
2116
|
+
return false;
|
|
2117
|
+
}
|
|
2118
|
+
}, true, toList(delay(() => map_2((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Contacts, (b_1 = other.Contacts, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
2119
|
+
if (acc_1) {
|
|
2120
|
+
return e_1;
|
|
2121
|
+
}
|
|
2122
|
+
else {
|
|
2123
|
+
return false;
|
|
2124
|
+
}
|
|
2125
|
+
}, true, toList(delay(() => map_2((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.OntologySourceReferences, (b_2 = other.OntologySourceReferences, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
2126
|
+
if (acc_2) {
|
|
2127
|
+
return e_2;
|
|
2128
|
+
}
|
|
2129
|
+
else {
|
|
2130
|
+
return false;
|
|
2131
|
+
}
|
|
2132
|
+
}, true, toList(delay(() => map_2((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Assays, (b_3 = other.Assays, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
2133
|
+
if (acc_3) {
|
|
2134
|
+
return e_3;
|
|
2135
|
+
}
|
|
2136
|
+
else {
|
|
2137
|
+
return false;
|
|
2138
|
+
}
|
|
2139
|
+
}, true, toList(delay(() => map_2((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = this$.Studies, (b_4 = other.Studies, (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
2140
|
+
if (acc_4) {
|
|
2141
|
+
return e_4;
|
|
2142
|
+
}
|
|
2143
|
+
else {
|
|
2144
|
+
return false;
|
|
2145
|
+
}
|
|
2146
|
+
}, true, toList(delay(() => map_2((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.RegisteredStudyIdentifiers, (b_5 = other.RegisteredStudyIdentifiers, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
2147
|
+
if (acc_5) {
|
|
2148
|
+
return e_5;
|
|
2149
|
+
}
|
|
2150
|
+
else {
|
|
2151
|
+
return false;
|
|
2152
|
+
}
|
|
2153
|
+
}, true, toList(delay(() => map_2((i_6) => (item(i_6, a_5) === item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
|
|
2154
|
+
if (acc_6) {
|
|
2155
|
+
return e_6;
|
|
2156
|
+
}
|
|
2157
|
+
else {
|
|
2158
|
+
return false;
|
|
2159
|
+
}
|
|
2160
|
+
}, true, toList(delay(() => map_2((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1))))))), (a_7 = this$.Remarks, (b_7 = other.Remarks, (length(a_7) === length(b_7)) && fold((acc_7, e_7) => {
|
|
2161
|
+
if (acc_7) {
|
|
2162
|
+
return e_7;
|
|
2163
|
+
}
|
|
2164
|
+
else {
|
|
2165
|
+
return false;
|
|
2166
|
+
}
|
|
2167
|
+
}, true, toList(delay(() => map_2((i_8) => equals(item(i_8, a_7), item(i_8, b_7)), rangeDouble(0, 1, length(a_7) - 1)))))))]);
|
|
2168
|
+
}
|
|
2169
|
+
ReferenceEquals(other) {
|
|
2170
|
+
const this$ = this;
|
|
2171
|
+
return this$ === other;
|
|
2172
|
+
}
|
|
2173
|
+
Equals(other) {
|
|
2174
|
+
let i;
|
|
2175
|
+
const this$ = this;
|
|
2176
|
+
return (other instanceof ArcInvestigation) && ((i = other, this$.StructurallyEquals(i)));
|
|
2177
|
+
}
|
|
2009
2178
|
}
|
|
2010
2179
|
|
|
2011
2180
|
export function ArcInvestigation_$reflection() {
|
package/ISA/ISA/Regex.js
CHANGED
|
@@ -49,7 +49,7 @@ export function ActivePatterns_$007CReferenceColumnHeader$007C_$007C(input) {
|
|
|
49
49
|
* Matches any column header starting with some text, followed by one whitespace and a term name inside squared brackets.
|
|
50
50
|
*/
|
|
51
51
|
export function ActivePatterns_$007CTermColumn$007C_$007C(input) {
|
|
52
|
-
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(?<termcolumntype
|
|
52
|
+
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(?<termcolumntype>.+?)\\s\\[(?<termname>.+)\\]", input);
|
|
53
53
|
if (activePatternResult != null) {
|
|
54
54
|
const r = activePatternResult;
|
|
55
55
|
return {
|
package/ISA/ISA.Json/Assay.js
CHANGED
|
@@ -12,7 +12,7 @@ import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetI
|
|
|
12
12
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
|
13
13
|
import { Process_decoder, Process_encoder } from "./Process.js";
|
|
14
14
|
import { decoder as decoder_5, encoder } from "./Comment.js";
|
|
15
|
-
import {
|
|
15
|
+
import { fromJsonString, uri } from "./Decode.js";
|
|
16
16
|
import { Assay } from "../ISA/JsonTypes/Assay.js";
|
|
17
17
|
import { ArcAssay } from "../ISA/ArcTypes/ArcTypes.js";
|
|
18
18
|
|
|
@@ -88,11 +88,11 @@ export function Assay_decoder(options) {
|
|
|
88
88
|
}, path_7, v));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
export function
|
|
92
|
-
return
|
|
91
|
+
export function Assay_fromJsonString(s) {
|
|
92
|
+
return fromJsonString(uncurry2(Assay_decoder(ConverterOptions_$ctor())), s);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
export function
|
|
95
|
+
export function Assay_toJsonString(p) {
|
|
96
96
|
return toString(2, Assay_encoder(ConverterOptions_$ctor(), p));
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -104,12 +104,12 @@ export function Assay_toStringLD(a) {
|
|
|
104
104
|
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a));
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export function
|
|
108
|
-
const arg =
|
|
107
|
+
export function ArcAssay_fromJsonString(s) {
|
|
108
|
+
const arg = fromJsonString(uncurry2(Assay_decoder(ConverterOptions_$ctor())), s);
|
|
109
109
|
return ArcAssay.fromAssay(arg);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
export function
|
|
112
|
+
export function ArcAssay_toJsonString(a) {
|
|
113
113
|
return toString(2, Assay_encoder(ConverterOptions_$ctor(), a.ToAssay()));
|
|
114
114
|
}
|
|
115
115
|
|
package/ISA/ISA.Json/Comment.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { replace } from "../../fable_modules/fable-library.4.1.4/String.js";
|
|
2
2
|
import { value as value_13 } from "../../fable_modules/fable-library.4.1.4/Option.js";
|
|
3
3
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
4
|
-
import { toString
|
|
4
|
+
import { toString, nil, object as object_6 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
5
5
|
import { choose } from "../../fable_modules/fable-library.4.1.4/List.js";
|
|
6
6
|
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1.4/Util.js";
|
|
7
7
|
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1.4/Seq.js";
|
|
8
8
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
9
9
|
import { tryInclude } from "./GEncode.js";
|
|
10
10
|
import { string, object as object_7 } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
11
|
-
import {
|
|
11
|
+
import { fromJsonString as fromJsonString_1, uri } from "./Decode.js";
|
|
12
12
|
import { Comment$ } from "../ISA/JsonTypes/Comment.js";
|
|
13
13
|
|
|
14
14
|
export function genID(c) {
|
|
@@ -66,12 +66,12 @@ export function decoder(options) {
|
|
|
66
66
|
}, path_2, v));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export function
|
|
70
|
-
return
|
|
69
|
+
export function fromJsonString(s) {
|
|
70
|
+
return fromJsonString_1(uncurry2(decoder(ConverterOptions_$ctor())), s);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export function
|
|
74
|
-
return
|
|
73
|
+
export function toJsonString(c) {
|
|
74
|
+
return toString(2, encoder(ConverterOptions_$ctor(), c));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
@@ -79,6 +79,6 @@ export function toString(c) {
|
|
|
79
79
|
*/
|
|
80
80
|
export function toStringLD(c) {
|
|
81
81
|
let returnVal;
|
|
82
|
-
return
|
|
82
|
+
return toString(2, encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), c));
|
|
83
83
|
}
|
|
84
84
|
|
package/ISA/ISA.Json/Data.js
CHANGED
|
@@ -10,7 +10,7 @@ import { empty, singleton, append, delay, toList } from "../../fable_modules/fab
|
|
|
10
10
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
11
11
|
import { tryInclude } from "./GEncode.js";
|
|
12
12
|
import { decoder as decoder_3, encoder } from "./Comment.js";
|
|
13
|
-
import {
|
|
13
|
+
import { fromJsonString, uri, hasUnknownFields } from "./Decode.js";
|
|
14
14
|
import { Data } from "../ISA/JsonTypes/Data.js";
|
|
15
15
|
import { replace } from "../../fable_modules/fable-library.4.1.4/String.js";
|
|
16
16
|
import { MaterialAttributeValue_decoder, MaterialAttributeValue_encoder } from "./Material.js";
|
|
@@ -110,12 +110,12 @@ export function Data_decoder(options, s, json) {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
export function
|
|
113
|
+
export function Data_fromJsonString(s) {
|
|
114
114
|
let options;
|
|
115
|
-
return
|
|
115
|
+
return fromJsonString(uncurry2((options = ConverterOptions_$ctor(), (s_1) => ((json) => Data_decoder(options, s_1, json)))), s);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export function
|
|
118
|
+
export function Data_toJsonString(m) {
|
|
119
119
|
return toString(2, Data_encoder(ConverterOptions_$ctor(), m));
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -181,12 +181,12 @@ export function Source_decoder(options, s, json) {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export function
|
|
184
|
+
export function Source_fromJsonString(s) {
|
|
185
185
|
let options;
|
|
186
|
-
return
|
|
186
|
+
return fromJsonString(uncurry2((options = ConverterOptions_$ctor(), (s_1) => ((json) => Source_decoder(options, s_1, json)))), s);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
export function
|
|
189
|
+
export function Source_toJsonString(m) {
|
|
190
190
|
return toString(2, Source_encoder(ConverterOptions_$ctor(), m));
|
|
191
191
|
}
|
|
192
192
|
|
|
@@ -252,12 +252,12 @@ export function Sample_decoder(options, s, json) {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
export function
|
|
255
|
+
export function Sample_fromJsonString(s) {
|
|
256
256
|
let options;
|
|
257
|
-
return
|
|
257
|
+
return fromJsonString(uncurry2((options = ConverterOptions_$ctor(), (s_1) => ((json) => Sample_decoder(options, s_1, json)))), s);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
export function
|
|
260
|
+
export function Sample_toJsonString(m) {
|
|
261
261
|
return toString(2, Sample_encoder(ConverterOptions_$ctor(), m));
|
|
262
262
|
}
|
|
263
263
|
|
package/ISA/ISA.Json/Decode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fromString
|
|
1
|
+
import { fromString, string } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
2
2
|
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1.4/Choice.js";
|
|
3
3
|
import { printf, toText } from "../../fable_modules/fable-library.4.1.4/String.js";
|
|
4
4
|
import { ErrorReason } from "../../fable_modules/Thoth.Json.10.1.0/Types.fs.js";
|
|
@@ -23,8 +23,8 @@ export function uri(s, json) {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export function
|
|
27
|
-
const matchValue =
|
|
26
|
+
export function fromJsonString(decoder, s) {
|
|
27
|
+
const matchValue = fromString(decoder, s);
|
|
28
28
|
if (matchValue.tag === 1) {
|
|
29
29
|
throw new Error(toText(printf("Error decoding string: %s"))(matchValue.fields[0]));
|
|
30
30
|
}
|
package/ISA/ISA.Json/Factor.js
CHANGED
|
@@ -3,7 +3,7 @@ import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontolo
|
|
|
3
3
|
import { object as object_8, toString, nil } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
4
4
|
import { array, object as object_9, string, float, int } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
5
5
|
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1.4/Choice.js";
|
|
6
|
-
import { uri,
|
|
6
|
+
import { uri, fromJsonString } from "./Decode.js";
|
|
7
7
|
import { equals, uncurry2 } from "../../fable_modules/fable-library.4.1.4/Util.js";
|
|
8
8
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID, ConverterOptions_$ctor } from "./ConverterOptions.js";
|
|
9
9
|
import { replace } from "../../fable_modules/fable-library.4.1.4/String.js";
|
|
@@ -63,12 +63,12 @@ export function Value_decoder(options, s, json) {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export function
|
|
66
|
+
export function Value_fromJsonString(s) {
|
|
67
67
|
let options;
|
|
68
|
-
return
|
|
68
|
+
return fromJsonString(uncurry2((options = ConverterOptions_$ctor(), (s_1) => ((json) => Value_decoder(options, s_1, json)))), s);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export function
|
|
71
|
+
export function Value_toJsonString(v) {
|
|
72
72
|
return toString(2, Value_encoder(ConverterOptions_$ctor(), v));
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -121,11 +121,11 @@ export function Factor_decoder(options) {
|
|
|
121
121
|
}, path_2, v));
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
export function
|
|
125
|
-
return
|
|
124
|
+
export function Factor_fromJsonString(s) {
|
|
125
|
+
return fromJsonString(uncurry2(Factor_decoder(ConverterOptions_$ctor())), s);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
export function
|
|
128
|
+
export function Factor_toJsonString(f) {
|
|
129
129
|
return toString(2, Factor_encoder(ConverterOptions_$ctor(), f));
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -176,11 +176,11 @@ export function FactorValue_decoder(options) {
|
|
|
176
176
|
}, path, v));
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
export function
|
|
180
|
-
return
|
|
179
|
+
export function FactorValue_fromJsonString(s) {
|
|
180
|
+
return fromJsonString(uncurry2(FactorValue_decoder(ConverterOptions_$ctor())), s);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export function
|
|
183
|
+
export function FactorValue_toJsonString(f) {
|
|
184
184
|
return toString(2, FactorValue_encoder(ConverterOptions_$ctor(), f));
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -13,7 +13,7 @@ import { Study_decoder, Study_encoder } from "./Study.js";
|
|
|
13
13
|
import { decoder as decoder_7, encoder as encoder_2 } from "./Comment.js";
|
|
14
14
|
import { list as list_1, string, object as object_25 } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
15
15
|
import { Investigation } from "../ISA/JsonTypes/Investigation.js";
|
|
16
|
-
import {
|
|
16
|
+
import { fromJsonString } from "./Decode.js";
|
|
17
17
|
import { ArcInvestigation } from "../ISA/ArcTypes/ArcTypes.js";
|
|
18
18
|
|
|
19
19
|
export function Investigation_genID(i) {
|
|
@@ -97,11 +97,11 @@ export function Investigation_decoder(options) {
|
|
|
97
97
|
}, path_12, v));
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
export function
|
|
101
|
-
return
|
|
100
|
+
export function Investigation_fromJsonString(s) {
|
|
101
|
+
return fromJsonString(uncurry2(Investigation_decoder(ConverterOptions_$ctor())), s);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
export function
|
|
104
|
+
export function Investigation_toJsonString(p) {
|
|
105
105
|
return toString(2, Investigation_encoder(ConverterOptions_$ctor(), p));
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -113,12 +113,12 @@ export function Investigation_toStringLD(i) {
|
|
|
113
113
|
return toString(2, Investigation_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), i));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export function
|
|
117
|
-
const arg =
|
|
116
|
+
export function ArcInvestigation_fromJsonString(s) {
|
|
117
|
+
const arg = fromJsonString(uncurry2(Investigation_decoder(ConverterOptions_$ctor())), s);
|
|
118
118
|
return ArcInvestigation.fromInvestigation(arg);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export function
|
|
121
|
+
export function ArcInvestigation_toJsonString(a) {
|
|
122
122
|
return toString(2, Investigation_encoder(ConverterOptions_$ctor(), a.ToInvestigation()));
|
|
123
123
|
}
|
|
124
124
|
|