@nfdi4plants/arctrl 2.4.0 → 2.5.0
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/ARC.js +103 -12
- package/CWL/CWLTypes.js +2 -2
- package/CWL/Decode.js +2 -2
- package/CWL/Inputs.js +2 -2
- package/CWL/Outputs.js +2 -2
- package/CWL/Requirements.js +2 -2
- package/CWL/ToolDescription.js +1 -1
- package/CWL/WorkflowDescription.js +1 -1
- package/CWL/WorkflowSteps.js +1 -1
- package/ColumnIndex.js +258 -0
- package/Conversion.js +1679 -0
- package/Core/Data.js +28 -3
- package/Core/DataFile.js +19 -3
- package/Core/Helper/Collections.js +107 -4
- package/Core/Helper/DateTime.js +17 -0
- package/Core/Helper/ORCID.js +39 -0
- package/Json/Decode.js +3 -3
- package/Json/Encode.js +9 -0
- package/Json/OntologySourceReference.js +4 -4
- package/Json/ROCrate/LDContext.js +121 -0
- package/Json/ROCrate/LDGraph.js +87 -0
- package/Json/{LDObject.js → ROCrate/LDNode.js} +55 -46
- package/Json/ROCrate/LDRef.js +25 -0
- package/Json/ROCrate/LDValue.js +66 -0
- package/JsonIO/LDObject.js +30 -5
- package/ROCrate/ArcROCrateMetadata.js +14 -13
- package/ROCrate/Generic/Comment.js +115 -0
- package/ROCrate/Generic/Dataset.js +669 -0
- package/ROCrate/Generic/DefinedTerm.js +115 -0
- package/ROCrate/Generic/File.js +200 -0
- package/ROCrate/Generic/LabProcess.js +238 -0
- package/ROCrate/Generic/LabProtocol.js +275 -0
- package/ROCrate/Generic/Organization.js +71 -0
- package/ROCrate/Generic/Person.js +411 -0
- package/ROCrate/Generic/PostalAddress.js +159 -0
- package/ROCrate/Generic/PropertyValue.js +548 -0
- package/ROCrate/Generic/Sample.js +139 -0
- package/ROCrate/Generic/ScholarlyArticle.js +187 -0
- package/ROCrate/Helper.js +6 -0
- package/ROCrate/ISAProfile/Assay.js +3 -3
- package/ROCrate/ISAProfile/Data.js +7 -7
- package/ROCrate/ISAProfile/Dataset.js +7 -6
- package/ROCrate/ISAProfile/Investigation.js +3 -3
- package/ROCrate/ISAProfile/LabProcess.js +7 -7
- package/ROCrate/ISAProfile/LabProtocol.js +7 -7
- package/ROCrate/ISAProfile/Person.js +7 -7
- package/ROCrate/ISAProfile/PropertyValue.js +7 -7
- package/ROCrate/ISAProfile/Sample.js +7 -7
- package/ROCrate/ISAProfile/ScholarlyArticle.js +7 -7
- package/ROCrate/ISAProfile/Study.js +3 -3
- package/ROCrate/LDContext.js +283 -0
- package/ROCrate/LDObject.js +902 -36
- package/ROCrate/ROCrateContext.js +44 -0
- package/ROCrateIO.js +62 -0
- package/Spreadsheet/DataMapTable/DataMapHeader.js +3 -2
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/DynObj.fs +31 -1
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/DynObj.fs.js +30 -1
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fs +1025 -0
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +433 -0
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/FableJS.fs +16 -0
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/FablePy.fs +14 -0
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/HashCodes.fs +15 -0
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/HashCodes.fs.js +4 -0
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +1 -1
- package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +3 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/Json/ARC.js +0 -31
- package/JsonIO/ARC.js +0 -31
- package/fable_modules/DynamicObj.4.0.3/DynamicObj.fs +0 -310
- package/fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js +0 -166
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/DynamicObj.fableproj +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/FableJS.fs.js +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/PropertyHelper.fs +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/PropertyHelper.fs.js +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/ReflectionUtils.fs +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/ReflectionUtils.fs.js +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{DynamicObj.4.0.3 → DynamicObj.7.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { value, unwrap } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
2
|
+
import { LDPropertyValue } from "./PropertyValue.js";
|
|
3
|
+
import { LDPerson } from "./Person.js";
|
|
4
|
+
import { LDDefinedTerm } from "./DefinedTerm.js";
|
|
5
|
+
import { LDComment } from "./Comment.js";
|
|
6
|
+
import { clean } from "../Helper.js";
|
|
7
|
+
import { LDNode } from "../LDObject.js";
|
|
8
|
+
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
9
|
+
|
|
10
|
+
export class LDScholarlyArticle {
|
|
11
|
+
constructor() {
|
|
12
|
+
}
|
|
13
|
+
static get schemaType() {
|
|
14
|
+
return "http://schema.org/ScholarlyArticle";
|
|
15
|
+
}
|
|
16
|
+
static get headline() {
|
|
17
|
+
return "http://schema.org/headline";
|
|
18
|
+
}
|
|
19
|
+
static get identifier() {
|
|
20
|
+
return "http://schema.org/identifier";
|
|
21
|
+
}
|
|
22
|
+
static get author() {
|
|
23
|
+
return "http://schema.org/author";
|
|
24
|
+
}
|
|
25
|
+
static get url() {
|
|
26
|
+
return "http://schema.org/url";
|
|
27
|
+
}
|
|
28
|
+
static get sameAs() {
|
|
29
|
+
return "http://schema.org/sameAs";
|
|
30
|
+
}
|
|
31
|
+
static get creativeWorkStatus() {
|
|
32
|
+
return "http://schema.org/creativeWorkStatus";
|
|
33
|
+
}
|
|
34
|
+
static get comment() {
|
|
35
|
+
return "http://schema.org/comment";
|
|
36
|
+
}
|
|
37
|
+
static tryGetHeadlineAsString(s, context) {
|
|
38
|
+
const matchValue = s.TryGetPropertyAsSingleton(LDScholarlyArticle.headline, unwrap(context));
|
|
39
|
+
let matchResult, n;
|
|
40
|
+
if (matchValue != null) {
|
|
41
|
+
if (typeof value(matchValue) === "string") {
|
|
42
|
+
matchResult = 0;
|
|
43
|
+
n = value(matchValue);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
matchResult = 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
matchResult = 1;
|
|
51
|
+
}
|
|
52
|
+
switch (matchResult) {
|
|
53
|
+
case 0:
|
|
54
|
+
return n;
|
|
55
|
+
default:
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
static getHeadlineAsString(s, context) {
|
|
60
|
+
const matchValue = s.TryGetPropertyAsSingleton(LDScholarlyArticle.headline, unwrap(context));
|
|
61
|
+
if (matchValue == null) {
|
|
62
|
+
throw new Error(`Could not access property \`headline\` of object with @id \`${s.Id}\``);
|
|
63
|
+
}
|
|
64
|
+
else if (typeof value(matchValue) === "string") {
|
|
65
|
+
const n = value(matchValue);
|
|
66
|
+
return n;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
throw new Error(`Value of property \`headline\` of object with @id \`${s.Id}\` should have been a string`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
static setHeadlineAsString(s, n) {
|
|
73
|
+
s.SetProperty(LDScholarlyArticle.headline, n);
|
|
74
|
+
}
|
|
75
|
+
static getIdentifiers(s, context) {
|
|
76
|
+
return s.GetPropertyValues(LDScholarlyArticle.identifier, undefined, unwrap(context));
|
|
77
|
+
}
|
|
78
|
+
static getIdentifiersAsPropertyValue(s, graph, context) {
|
|
79
|
+
return s.GetPropertyNodes(LDScholarlyArticle.identifier, (ldObject, context_1) => LDPropertyValue.validate(ldObject, unwrap(context_1)), unwrap(graph), unwrap(context));
|
|
80
|
+
}
|
|
81
|
+
static setIdentifiers(s, identifiers) {
|
|
82
|
+
s.SetProperty(LDScholarlyArticle.identifier, identifiers);
|
|
83
|
+
}
|
|
84
|
+
static getAuthors(s, graph, context) {
|
|
85
|
+
return s.GetPropertyNodes(LDScholarlyArticle.author, (ldObject, context_1) => LDPerson.validate(ldObject, unwrap(context_1)), unwrap(graph), unwrap(context));
|
|
86
|
+
}
|
|
87
|
+
static setAuthors(s, authors, context) {
|
|
88
|
+
return s.SetProperty(LDScholarlyArticle.author, authors, unwrap(context));
|
|
89
|
+
}
|
|
90
|
+
static tryGetUrlAsString(s, context) {
|
|
91
|
+
const matchValue = s.TryGetPropertyAsSingleton(LDScholarlyArticle.url, unwrap(context));
|
|
92
|
+
let matchResult, u;
|
|
93
|
+
if (matchValue != null) {
|
|
94
|
+
if (typeof value(matchValue) === "string") {
|
|
95
|
+
matchResult = 0;
|
|
96
|
+
u = value(matchValue);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
matchResult = 1;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
matchResult = 1;
|
|
104
|
+
}
|
|
105
|
+
switch (matchResult) {
|
|
106
|
+
case 0:
|
|
107
|
+
return u;
|
|
108
|
+
default:
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
static tryGetSameAsAsString(s, context) {
|
|
113
|
+
const matchValue = s.TryGetPropertyAsSingleton(LDScholarlyArticle.sameAs, unwrap(context));
|
|
114
|
+
let matchResult, sa;
|
|
115
|
+
if (matchValue != null) {
|
|
116
|
+
if (typeof value(matchValue) === "string") {
|
|
117
|
+
matchResult = 0;
|
|
118
|
+
sa = value(matchValue);
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
matchResult = 1;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
matchResult = 1;
|
|
126
|
+
}
|
|
127
|
+
switch (matchResult) {
|
|
128
|
+
case 0:
|
|
129
|
+
return sa;
|
|
130
|
+
default:
|
|
131
|
+
return undefined;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
static tryGetCreativeWorkStatus(s, graph, context) {
|
|
135
|
+
let cws;
|
|
136
|
+
const matchValue = s.TryGetPropertyAsSingleNode(LDScholarlyArticle.creativeWorkStatus, unwrap(graph), unwrap(context));
|
|
137
|
+
let matchResult, cws_1;
|
|
138
|
+
if (matchValue != null) {
|
|
139
|
+
if ((cws = matchValue, LDDefinedTerm.validate(cws, unwrap(context)))) {
|
|
140
|
+
matchResult = 0;
|
|
141
|
+
cws_1 = matchValue;
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
matchResult = 1;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
matchResult = 1;
|
|
149
|
+
}
|
|
150
|
+
switch (matchResult) {
|
|
151
|
+
case 0:
|
|
152
|
+
return cws_1;
|
|
153
|
+
default:
|
|
154
|
+
return undefined;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
static setCreativeWorkStatus(s, cws, context) {
|
|
158
|
+
return s.SetProperty(LDScholarlyArticle.creativeWorkStatus, cws, unwrap(context));
|
|
159
|
+
}
|
|
160
|
+
static getComments(s, graph, context) {
|
|
161
|
+
return s.GetPropertyNodes(LDScholarlyArticle.comment, (ldObject, context_1) => LDComment.validate(ldObject, unwrap(context_1)), unwrap(graph), unwrap(context));
|
|
162
|
+
}
|
|
163
|
+
static setcomments(s, comments, context) {
|
|
164
|
+
return s.SetProperty(LDScholarlyArticle.comment, comments, unwrap(context));
|
|
165
|
+
}
|
|
166
|
+
static genID(headline, url) {
|
|
167
|
+
return clean((url == null) ? (`#${headline}`) : url);
|
|
168
|
+
}
|
|
169
|
+
static validate(s, context) {
|
|
170
|
+
return s.HasType(LDScholarlyArticle.schemaType, unwrap(context)) && s.HasProperty(LDScholarlyArticle.headline, unwrap(context));
|
|
171
|
+
}
|
|
172
|
+
static create(headline, identifiers, id, authors, url, creativeWorkStatus, comments, context) {
|
|
173
|
+
const s = new LDNode((id == null) ? LDScholarlyArticle.genID(headline, unwrap(url)) : id, [LDScholarlyArticle.schemaType], undefined, unwrap(context));
|
|
174
|
+
s.SetProperty(LDScholarlyArticle.headline, headline, unwrap(context));
|
|
175
|
+
s.SetProperty(LDScholarlyArticle.identifier, identifiers, unwrap(context));
|
|
176
|
+
s.SetOptionalProperty(LDScholarlyArticle.author, authors, unwrap(context));
|
|
177
|
+
s.SetOptionalProperty(LDScholarlyArticle.url, url, unwrap(context));
|
|
178
|
+
s.SetOptionalProperty(LDScholarlyArticle.creativeWorkStatus, creativeWorkStatus, unwrap(context));
|
|
179
|
+
s.SetOptionalProperty(LDScholarlyArticle.comment, comments, unwrap(context));
|
|
180
|
+
return s;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export function LDScholarlyArticle_$reflection() {
|
|
185
|
+
return class_type("ARCtrl.ROCrate.LDScholarlyArticle", undefined, LDScholarlyArticle);
|
|
186
|
+
}
|
|
187
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
2
|
import { value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
@@ -7,10 +7,10 @@ import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflecti
|
|
|
7
7
|
|
|
8
8
|
export class Assay extends Dataset {
|
|
9
9
|
constructor(id, identifier, about, comment, creator, hasPart, measurementMethod, measurementTechnique, url, variableMeasured) {
|
|
10
|
-
super(id, "Assay");
|
|
10
|
+
super(id, ["Assay"]);
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
|
-
this["init@
|
|
13
|
+
this["init@8_1"] = 1;
|
|
14
14
|
setProperty("identifier", identifier, this$.contents);
|
|
15
15
|
setOptionalProperty("measurementMethod", measurementMethod, this$.contents);
|
|
16
16
|
setOptionalProperty("measurementTechnique", measurementTechnique, this$.contents);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
2
|
-
import {
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
|
+
import { defaultArg, value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class Data extends
|
|
8
|
+
export class Data extends LDNode {
|
|
9
9
|
constructor(id, name, additionalType, comment, encodingFormat, disambiguatingDescription) {
|
|
10
|
-
super(id, "schema.org/MediaObject",
|
|
10
|
+
super(id, ["schema.org/MediaObject"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -46,10 +46,10 @@ export class Data extends LDObject {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export function Data_$reflection() {
|
|
49
|
-
return class_type("ARCtrl.ROCrate.Data", undefined, Data,
|
|
49
|
+
return class_type("ARCtrl.ROCrate.Data", undefined, Data, LDNode_$reflection());
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function Data_$
|
|
52
|
+
export function Data_$ctor_Z11AF9DE7(id, name, additionalType, comment, encodingFormat, disambiguatingDescription) {
|
|
53
53
|
return new Data(id, name, additionalType, comment, encodingFormat, disambiguatingDescription);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
2
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
4
4
|
|
|
5
|
-
export class Dataset extends
|
|
5
|
+
export class Dataset extends LDNode {
|
|
6
6
|
constructor(id, additionalType) {
|
|
7
|
-
super(id, "schema.org/Dataset",
|
|
7
|
+
super(id, ["schema.org/Dataset"], defaultArg(additionalType, []));
|
|
8
|
+
this["init@8"] = 1;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export function Dataset_$reflection() {
|
|
12
|
-
return class_type("ARCtrl.ROCrate.Dataset", undefined, Dataset,
|
|
13
|
+
return class_type("ARCtrl.ROCrate.Dataset", undefined, Dataset, LDNode_$reflection());
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
export function Dataset_$
|
|
16
|
+
export function Dataset_$ctor_Z7E7CD246(id, additionalType) {
|
|
16
17
|
return new Dataset(id, additionalType);
|
|
17
18
|
}
|
|
18
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
2
|
import { value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
@@ -7,10 +7,10 @@ import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflecti
|
|
|
7
7
|
|
|
8
8
|
export class Investigation extends Dataset {
|
|
9
9
|
constructor(id, identifier, citation, comment, creator, dateCreated, dateModified, datePublished, hasPart, headline, mentions, url, description) {
|
|
10
|
-
super(id, "Investigation");
|
|
10
|
+
super(id, ["Investigation"]);
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
|
-
this["init@
|
|
13
|
+
this["init@8_1"] = 1;
|
|
14
14
|
setProperty("identifier", identifier, this$.contents);
|
|
15
15
|
setOptionalProperty("citation", citation, this$.contents);
|
|
16
16
|
setOptionalProperty("comment", comment, this$.contents);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
2
|
-
import {
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
|
+
import { defaultArg, value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class LabProcess extends
|
|
8
|
+
export class LabProcess extends LDNode {
|
|
9
9
|
constructor(id, name, agent, object, result, additionalType, executesLabProtocol, parameterValue, endTime, disambiguatingDescription) {
|
|
10
|
-
super(id, "bioschemas.org/LabProcess",
|
|
10
|
+
super(id, ["bioschemas.org/LabProcess"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -131,10 +131,10 @@ export class LabProcess extends LDObject {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
export function LabProcess_$reflection() {
|
|
134
|
-
return class_type("ARCtrl.ROCrate.LabProcess", undefined, LabProcess,
|
|
134
|
+
return class_type("ARCtrl.ROCrate.LabProcess", undefined, LabProcess, LDNode_$reflection());
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export function LabProcess_$
|
|
137
|
+
export function LabProcess_$ctor_Z43A9BC86(id, name, agent, object, result, additionalType, executesLabProtocol, parameterValue, endTime, disambiguatingDescription) {
|
|
138
138
|
return new LabProcess(id, name, agent, object, result, additionalType, executesLabProtocol, parameterValue, endTime, disambiguatingDescription);
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
2
2
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
3
|
-
import { setOptionalProperty } from "../../fable_modules/DynamicObj.
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { setOptionalProperty } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
4
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
5
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class LabProtocol extends
|
|
8
|
+
export class LabProtocol extends LDNode {
|
|
9
9
|
constructor(id, additionalType, name, intendedUse, description, url, comment, version, labEquipment, reagent, computationalTool) {
|
|
10
|
-
super(id, "bioschemas.org/LabProtocol",
|
|
10
|
+
super(id, ["bioschemas.org/LabProtocol"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -24,10 +24,10 @@ export class LabProtocol extends LDObject {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export function LabProtocol_$reflection() {
|
|
27
|
-
return class_type("ARCtrl.ROCrate.LabProtocol", undefined, LabProtocol,
|
|
27
|
+
return class_type("ARCtrl.ROCrate.LabProtocol", undefined, LabProtocol, LDNode_$reflection());
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export function LabProtocol_$
|
|
30
|
+
export function LabProtocol_$ctor_Z6F48851E(id, additionalType, name, intendedUse, description, url, comment, version, labEquipment, reagent, computationalTool) {
|
|
31
31
|
return new LabProtocol(id, additionalType, name, intendedUse, description, url, comment, version, labEquipment, reagent, computationalTool);
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
2
|
-
import {
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
|
+
import { defaultArg, value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class Person extends
|
|
8
|
+
export class Person extends LDNode {
|
|
9
9
|
constructor(id, givenName, additionalType, familyName, email, identifier, affiliation, jobTitle, additionalName, address, telephone, faxNumber, disambiguatingDescription) {
|
|
10
|
-
super(id, "schema.org/Person",
|
|
10
|
+
super(id, ["schema.org/Person"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -53,10 +53,10 @@ export class Person extends LDObject {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export function Person_$reflection() {
|
|
56
|
-
return class_type("ARCtrl.ROCrate.Person", undefined, Person,
|
|
56
|
+
return class_type("ARCtrl.ROCrate.Person", undefined, Person, LDNode_$reflection());
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export function Person_$
|
|
59
|
+
export function Person_$ctor_16EB4AE1(id, givenName, additionalType, familyName, email, identifier, affiliation, jobTitle, additionalName, address, telephone, faxNumber, disambiguatingDescription) {
|
|
60
60
|
return new Person(id, givenName, additionalType, familyName, email, identifier, affiliation, jobTitle, additionalName, address, telephone, faxNumber, disambiguatingDescription);
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
2
|
-
import {
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
|
+
import { defaultArg, value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class PropertyValue extends
|
|
8
|
+
export class PropertyValue extends LDNode {
|
|
9
9
|
constructor(id, name, value, propertyID, unitCode, unitText, valueReference, additionalType) {
|
|
10
|
-
super(id, "schema.org/PropertyValue",
|
|
10
|
+
super(id, ["schema.org/PropertyValue"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -75,10 +75,10 @@ export class PropertyValue extends LDObject {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export function PropertyValue_$reflection() {
|
|
78
|
-
return class_type("ARCtrl.ROCrate.PropertyValue", undefined, PropertyValue,
|
|
78
|
+
return class_type("ARCtrl.ROCrate.PropertyValue", undefined, PropertyValue, LDNode_$reflection());
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export function PropertyValue_$
|
|
81
|
+
export function PropertyValue_$ctor_Z5E5247A6(id, name, value, propertyID, unitCode, unitText, valueReference, additionalType) {
|
|
82
82
|
return new PropertyValue(id, name, value, propertyID, unitCode, unitText, valueReference, additionalType);
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
2
|
-
import {
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
|
+
import { defaultArg, value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class Sample extends
|
|
8
|
+
export class Sample extends LDNode {
|
|
9
9
|
constructor(id, name, additionalType, additionalProperty, derivesFrom) {
|
|
10
|
-
super(id, "bioschemas.org/Sample",
|
|
10
|
+
super(id, ["bioschemas.org/Sample"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -45,10 +45,10 @@ export class Sample extends LDObject {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export function Sample_$reflection() {
|
|
48
|
-
return class_type("ARCtrl.ROCrate.Sample", undefined, Sample,
|
|
48
|
+
return class_type("ARCtrl.ROCrate.Sample", undefined, Sample, LDNode_$reflection());
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function Sample_$
|
|
51
|
+
export function Sample_$ctor_Z502AA21F(id, name, additionalType, additionalProperty, derivesFrom) {
|
|
52
52
|
return new Sample(id, name, additionalType, additionalProperty, derivesFrom);
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
2
|
-
import {
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
|
+
import { defaultArg, value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { LDNode_$reflection, LDNode } from "../LDObject.js";
|
|
6
6
|
import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
|
-
export class ScholarlyArticle extends
|
|
8
|
+
export class ScholarlyArticle extends LDNode {
|
|
9
9
|
constructor(id, headline, identifier, additionalType, author, url, creativeWorkStatus, disambiguatingDescription) {
|
|
10
|
-
super(id, "schema.org/ScholarlyArticle",
|
|
10
|
+
super(id, ["schema.org/ScholarlyArticle"], defaultArg(additionalType, []));
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
13
|
this["init@8"] = 1;
|
|
@@ -75,10 +75,10 @@ export class ScholarlyArticle extends LDObject {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export function ScholarlyArticle_$reflection() {
|
|
78
|
-
return class_type("ARCtrl.ROCrate.ScholarlyArticle", undefined, ScholarlyArticle,
|
|
78
|
+
return class_type("ARCtrl.ROCrate.ScholarlyArticle", undefined, ScholarlyArticle, LDNode_$reflection());
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export function ScholarlyArticle_$
|
|
81
|
+
export function ScholarlyArticle_$ctor_Z22702026(id, headline, identifier, additionalType, author, url, creativeWorkStatus, disambiguatingDescription) {
|
|
82
82
|
return new ScholarlyArticle(id, headline, identifier, additionalType, author, url, creativeWorkStatus, disambiguatingDescription);
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.
|
|
1
|
+
import { setOptionalProperty, setProperty, tryGetPropertyValue } from "../../fable_modules/DynamicObj.7.0.1/DynObj.fs.js";
|
|
2
2
|
import { value as value_1 } from "../../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
3
3
|
import { defaultOf } from "../../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FSharpRef } from "../../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
@@ -7,10 +7,10 @@ import { class_type } from "../../fable_modules/fable-library-js.4.24.0/Reflecti
|
|
|
7
7
|
|
|
8
8
|
export class Study extends Dataset {
|
|
9
9
|
constructor(id, identifier, about, citation, comment, creator, dateCreated, dateModified, datePublished, description, hasPart, headline, url) {
|
|
10
|
-
super(id, "Study");
|
|
10
|
+
super(id, ["Study"]);
|
|
11
11
|
const this$ = new FSharpRef(defaultOf());
|
|
12
12
|
this$.contents = this;
|
|
13
|
-
this["init@
|
|
13
|
+
this["init@8_1"] = 1;
|
|
14
14
|
setProperty("identifier", identifier, this$.contents);
|
|
15
15
|
setOptionalProperty("about", about, this$.contents);
|
|
16
16
|
setOptionalProperty("citation", citation, this$.contents);
|