@nfdi4plants/arctrl 2.0.0-alpha.6 → 2.0.0-alpha.7
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/Core/Data.js +53 -4
- package/Core/DataContext.js +92 -0
- package/Core/Helper/Regex.js +26 -10
- package/Core/Helper/Url.js +38 -0
- package/Core/OntologyAnnotation.js +2 -1
- package/Core/Table/ArcTableAux.js +2 -2
- package/Core/Table/CompositeCell.js +4 -0
- package/Core/Table/DataMap.js +95 -82
- package/Json/Assay.js +16 -0
- package/Json/Comment.js +17 -5
- package/Json/Investigation.js +17 -1
- package/Json/OntologyAnnotation.js +17 -5
- package/Json/OntologySourceReference.js +17 -5
- package/Json/Person.js +17 -5
- package/Json/Process/Component.js +9 -0
- package/Json/Process/Data.js +8 -0
- package/Json/Process/DataFile.js +9 -0
- package/Json/Process/Factor.js +5 -1
- package/Json/Process/FactorValue.js +5 -0
- package/Json/Process/Material.js +9 -0
- package/Json/Process/MaterialAttribute.js +5 -0
- package/Json/Process/MaterialAttributeValue.js +9 -0
- package/Json/Process/MaterialType.js +5 -0
- package/Json/Process/Process.js +9 -0
- package/Json/Process/ProcessInput.js +5 -0
- package/Json/Process/ProcessOutput.js +9 -0
- package/Json/Process/ProcessParameterValue.js +9 -0
- package/Json/Process/Protocol.js +10 -2
- package/Json/Process/ProtocolParameter.js +5 -0
- package/Json/Process/Sample.js +9 -1
- package/Json/Process/Source.js +9 -0
- package/Json/Publication.js +17 -5
- package/Json/Study.js +26 -10
- package/Json/Table/CellTable.js +4 -1
- package/Json/Table/Templates.js +10 -2
- package/Spreadsheet/DataMapTable/DataMapColumn.js +36 -30
- package/Spreadsheet/DataMapTable/DataMapHeader.js +146 -122
- package/Spreadsheet/DataMapTable/DataMapTable.js +17 -12
- package/Template.Web.js +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
package/Json/Comment.js
CHANGED
|
@@ -91,6 +91,10 @@ export function ARCtrl_Comment__Comment_toJsonString_Static_71136F3F(spaces) {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
export function ARCtrl_Comment__Comment_toJsonString_71136F3F(this$, spaces) {
|
|
95
|
+
return ARCtrl_Comment__Comment_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
96
|
+
}
|
|
97
|
+
|
|
94
98
|
export function ARCtrl_Comment__Comment_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
95
99
|
const matchValue = fromString(Comment_ROCrate_decoder, s);
|
|
96
100
|
if (matchValue.tag === 1) {
|
|
@@ -111,11 +115,8 @@ export function ARCtrl_Comment__Comment_toROCrateJsonString_Static_71136F3F(spac
|
|
|
111
115
|
};
|
|
112
116
|
}
|
|
113
117
|
|
|
114
|
-
export function
|
|
115
|
-
return (
|
|
116
|
-
const value = Comment_ISAJson_encoder(c);
|
|
117
|
-
return toString(defaultSpaces(spaces), value);
|
|
118
|
-
};
|
|
118
|
+
export function ARCtrl_Comment__Comment_toROCrateJsonString_71136F3F(this$, spaces) {
|
|
119
|
+
return ARCtrl_Comment__Comment_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
export function ARCtrl_Comment__Comment_fromISAJsonString_Static_Z721C83C5(s) {
|
|
@@ -128,3 +129,14 @@ export function ARCtrl_Comment__Comment_fromISAJsonString_Static_Z721C83C5(s) {
|
|
|
128
129
|
}
|
|
129
130
|
}
|
|
130
131
|
|
|
132
|
+
export function ARCtrl_Comment__Comment_toISAJsonString_Static_71136F3F(spaces) {
|
|
133
|
+
return (c) => {
|
|
134
|
+
const value = Comment_ISAJson_encoder(c);
|
|
135
|
+
return toString(defaultSpaces(spaces), value);
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function ARCtrl_Comment__Comment_toISAJsonString_71136F3F(this$, spaces) {
|
|
140
|
+
return ARCtrl_Comment__Comment_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
141
|
+
}
|
|
142
|
+
|
package/Json/Investigation.js
CHANGED
|
@@ -13,7 +13,7 @@ import { ArcInvestigation } from "../Core/ArcTypes.js";
|
|
|
13
13
|
import { Decode_objectNoAdditionalProperties, Decode_resizeArray } from "./Decode.js";
|
|
14
14
|
import { context_jsonvalue } from "./context/rocrate/isa_investigation_context.js";
|
|
15
15
|
import { createMissingIdentifier } from "../Core/Helper/Identifier.js";
|
|
16
|
-
import { defaultArg } from "../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
16
|
+
import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
17
17
|
import { distinctBy } from "../fable_modules/fable-library-js.4.16.0/Seq2.js";
|
|
18
18
|
import { map, concat } from "../fable_modules/fable-library-js.4.16.0/Seq.js";
|
|
19
19
|
import { context_jsonvalue as context_jsonvalue_1, conformsTo_jsonvalue } from "./context/rocrate/rocrate_context.js";
|
|
@@ -161,6 +161,10 @@ export function ARCtrl_ArcInvestigation__ArcInvestigation_toJsonString_Static_71
|
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
export function ARCtrl_ArcInvestigation__ArcInvestigation_ToJsonString_71136F3F(this$, spaces) {
|
|
165
|
+
return ARCtrl_ArcInvestigation__ArcInvestigation_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
166
|
+
}
|
|
167
|
+
|
|
164
168
|
export function ARCtrl_ArcInvestigation__ArcInvestigation_fromCompressedJsonString_Static_Z721C83C5(s) {
|
|
165
169
|
try {
|
|
166
170
|
const matchValue = fromString(decode(Investigation_decoderCompressed), s);
|
|
@@ -181,6 +185,10 @@ export function ARCtrl_ArcInvestigation__ArcInvestigation_toCompressedJsonString
|
|
|
181
185
|
return (obj) => toString(defaultArg(spaces, 0), encode(Investigation_encoderCompressed, obj));
|
|
182
186
|
}
|
|
183
187
|
|
|
188
|
+
export function ARCtrl_ArcInvestigation__ArcInvestigation_ToCompressedJsonString_71136F3F(this$, spaces) {
|
|
189
|
+
return ARCtrl_ArcInvestigation__ArcInvestigation_toCompressedJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
190
|
+
}
|
|
191
|
+
|
|
184
192
|
export function ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
185
193
|
const matchValue = fromString(Investigation_ROCrate_decoder, s);
|
|
186
194
|
if (matchValue.tag === 1) {
|
|
@@ -201,6 +209,10 @@ export function ARCtrl_ArcInvestigation__ArcInvestigation_toROCrateJsonString_St
|
|
|
201
209
|
};
|
|
202
210
|
}
|
|
203
211
|
|
|
212
|
+
export function ARCtrl_ArcInvestigation__ArcInvestigation_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
213
|
+
return ARCtrl_ArcInvestigation__ArcInvestigation_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
214
|
+
}
|
|
215
|
+
|
|
204
216
|
export function ARCtrl_ArcInvestigation__ArcInvestigation_toISAJsonString_Static_71136F3F(spaces) {
|
|
205
217
|
return (obj) => {
|
|
206
218
|
const value = Investigation_ISAJson_encoder(obj);
|
|
@@ -218,3 +230,7 @@ export function ARCtrl_ArcInvestigation__ArcInvestigation_fromISAJsonString_Stat
|
|
|
218
230
|
}
|
|
219
231
|
}
|
|
220
232
|
|
|
233
|
+
export function ARCtrl_ArcInvestigation__ArcInvestigation_ToISAJsonString_71136F3F(this$, spaces) {
|
|
234
|
+
return ARCtrl_ArcInvestigation__ArcInvestigation_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
235
|
+
}
|
|
236
|
+
|
|
@@ -130,6 +130,10 @@ export function ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Stati
|
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
export function ARCtrl_OntologyAnnotation__OntologyAnnotation_ToJsonString_71136F3F(this$, spaces) {
|
|
134
|
+
return ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
135
|
+
}
|
|
136
|
+
|
|
133
137
|
export function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
134
138
|
const matchValue = fromString(OntologyAnnotation_ROCrate_decoderDefinedTerm, s);
|
|
135
139
|
if (matchValue.tag === 1) {
|
|
@@ -150,11 +154,8 @@ export function ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonStrin
|
|
|
150
154
|
};
|
|
151
155
|
}
|
|
152
156
|
|
|
153
|
-
export function
|
|
154
|
-
return (
|
|
155
|
-
const value = OntologyAnnotation_ISAJson_encoder(obj);
|
|
156
|
-
return toString(defaultSpaces(spaces), value);
|
|
157
|
-
};
|
|
157
|
+
export function ARCtrl_OntologyAnnotation__OntologyAnnotation_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
158
|
+
return ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
158
159
|
}
|
|
159
160
|
|
|
160
161
|
export function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_Static_Z721C83C5(s) {
|
|
@@ -167,3 +168,14 @@ export function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_
|
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
170
|
|
|
171
|
+
export function ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F(spaces) {
|
|
172
|
+
return (obj) => {
|
|
173
|
+
const value = OntologyAnnotation_ISAJson_encoder(obj);
|
|
174
|
+
return toString(defaultSpaces(spaces), value);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function ARCtrl_OntologyAnnotation__OntologyAnnotation_ToISAJsonString_71136F3F(this$, spaces) {
|
|
179
|
+
return ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
180
|
+
}
|
|
181
|
+
|
|
@@ -83,6 +83,10 @@ export function ARCtrl_OntologySourceReference__OntologySourceReference_toJsonSt
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
export function ARCtrl_OntologySourceReference__OntologySourceReference_ToJsonString_71136F3F(this$, spaces) {
|
|
87
|
+
return ARCtrl_OntologySourceReference__OntologySourceReference_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
88
|
+
}
|
|
89
|
+
|
|
86
90
|
export function ARCtrl_OntologySourceReference__OntologySourceReference_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
87
91
|
const matchValue = fromString(OntologySourceReference_ROCrate_decoder, s);
|
|
88
92
|
if (matchValue.tag === 1) {
|
|
@@ -103,11 +107,8 @@ export function ARCtrl_OntologySourceReference__OntologySourceReference_toROCrat
|
|
|
103
107
|
};
|
|
104
108
|
}
|
|
105
109
|
|
|
106
|
-
export function
|
|
107
|
-
return (
|
|
108
|
-
const value = OntologySourceReference_ISAJson_encoder(obj);
|
|
109
|
-
return toString(defaultSpaces(spaces), value);
|
|
110
|
-
};
|
|
110
|
+
export function ARCtrl_OntologySourceReference__OntologySourceReference_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
111
|
+
return ARCtrl_OntologySourceReference__OntologySourceReference_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
export function ARCtrl_OntologySourceReference__OntologySourceReference_fromISAJsonString_Static_Z721C83C5(s) {
|
|
@@ -120,3 +121,14 @@ export function ARCtrl_OntologySourceReference__OntologySourceReference_fromISAJ
|
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
123
|
|
|
124
|
+
export function ARCtrl_OntologySourceReference__OntologySourceReference_toISAJsonString_Static_71136F3F(spaces) {
|
|
125
|
+
return (obj) => {
|
|
126
|
+
const value = OntologySourceReference_ISAJson_encoder(obj);
|
|
127
|
+
return toString(defaultSpaces(spaces), value);
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function ARCtrl_OntologySourceReference__OntologySourceReference_ToISAJsonString_71136F3F(this$, spaces) {
|
|
132
|
+
return ARCtrl_OntologySourceReference__OntologySourceReference_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
133
|
+
}
|
|
134
|
+
|
package/Json/Person.js
CHANGED
|
@@ -211,6 +211,10 @@ export function ARCtrl_Person__Person_toJsonString_Static_71136F3F(spaces) {
|
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
+
export function ARCtrl_Person__Person_toJsonString_71136F3F(this$, spaces) {
|
|
215
|
+
return ARCtrl_Person__Person_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
216
|
+
}
|
|
217
|
+
|
|
214
218
|
export function ARCtrl_Person__Person_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
215
219
|
const matchValue = fromString(Person_ROCrate_decoder, s);
|
|
216
220
|
if (matchValue.tag === 1) {
|
|
@@ -231,11 +235,8 @@ export function ARCtrl_Person__Person_toROCrateJsonString_Static_71136F3F(spaces
|
|
|
231
235
|
};
|
|
232
236
|
}
|
|
233
237
|
|
|
234
|
-
export function
|
|
235
|
-
return (
|
|
236
|
-
const value = Person_ISAJson_encoder(obj);
|
|
237
|
-
return toString(defaultSpaces(spaces), value);
|
|
238
|
-
};
|
|
238
|
+
export function ARCtrl_Person__Person_toROCrateJsonString_71136F3F(this$, spaces) {
|
|
239
|
+
return ARCtrl_Person__Person_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
239
240
|
}
|
|
240
241
|
|
|
241
242
|
export function ARCtrl_Person__Person_fromISAJsonString_Static_Z721C83C5(s) {
|
|
@@ -248,3 +249,14 @@ export function ARCtrl_Person__Person_fromISAJsonString_Static_Z721C83C5(s) {
|
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
251
|
|
|
252
|
+
export function ARCtrl_Person__Person_toISAJsonString_Static_71136F3F(spaces) {
|
|
253
|
+
return (obj) => {
|
|
254
|
+
const value = Person_ISAJson_encoder(obj);
|
|
255
|
+
return toString(defaultSpaces(spaces), value);
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export function ARCtrl_Person__Person_toISAJsonString_71136F3F(this$, spaces) {
|
|
260
|
+
return ARCtrl_Person__Person_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
261
|
+
}
|
|
262
|
+
|
|
@@ -10,6 +10,7 @@ import { Decode_uri } from "../Decode.js";
|
|
|
10
10
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
11
11
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
12
12
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
13
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
13
14
|
|
|
14
15
|
export const Component_ROCrate_encoder = encoder;
|
|
15
16
|
|
|
@@ -60,6 +61,10 @@ export function ARCtrl_Process_Component__Component_toISAJsonString_Static_71136
|
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
|
|
64
|
+
export function ARCtrl_Process_Component__Component_toISAJsonString_71136F3F(this$, spaces) {
|
|
65
|
+
return ARCtrl_Process_Component__Component_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
66
|
+
}
|
|
67
|
+
|
|
63
68
|
export function ARCtrl_Process_Component__Component_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
64
69
|
const matchValue = fromString(Component_ROCrate_decoder, s);
|
|
65
70
|
if (matchValue.tag === 1) {
|
|
@@ -77,3 +82,7 @@ export function ARCtrl_Process_Component__Component_toROCrateJsonString_Static_7
|
|
|
77
82
|
};
|
|
78
83
|
}
|
|
79
84
|
|
|
85
|
+
export function ARCtrl_Process_Component__Component_toROCrateJsonString_71136F3F(this$, spaces) {
|
|
86
|
+
return ARCtrl_Process_Component__Component_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
87
|
+
}
|
|
88
|
+
|
package/Json/Process/Data.js
CHANGED
|
@@ -121,6 +121,10 @@ export function ARCtrl_Data__Data_toISAJsonString_Static_71136F3F(spaces) {
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
export function ARCtrl_Data__Data_toISAJsonString_71136F3F(this$, spaces) {
|
|
125
|
+
return ARCtrl_Data__Data_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
126
|
+
}
|
|
127
|
+
|
|
124
128
|
export function ARCtrl_Data__Data_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
125
129
|
const matchValue = fromString(Data_ROCrate_decoder, s);
|
|
126
130
|
if (matchValue.tag === 1) {
|
|
@@ -138,3 +142,7 @@ export function ARCtrl_Data__Data_toROCrateJsonString_Static_71136F3F(spaces) {
|
|
|
138
142
|
};
|
|
139
143
|
}
|
|
140
144
|
|
|
145
|
+
export function ARCtrl_Data__Data_toROCrateJsonString_71136F3F(this$, spaces) {
|
|
146
|
+
return ARCtrl_Data__Data_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
147
|
+
}
|
|
148
|
+
|
package/Json/Process/DataFile.js
CHANGED
|
@@ -6,6 +6,7 @@ import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Deco
|
|
|
6
6
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
7
7
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
8
8
|
import { defaultSpaces } from "../Encode.js";
|
|
9
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
9
10
|
|
|
10
11
|
export function DataFile_ROCrate_encoder(value) {
|
|
11
12
|
switch (value.tag) {
|
|
@@ -62,6 +63,10 @@ export function ARCtrl_DataFile__DataFile_toISAJsonString_Static_71136F3F(spaces
|
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
export function ARCtrl_DataFile__DataFile_ToISAJsonString_71136F3F(this$, spaces) {
|
|
67
|
+
return ARCtrl_DataFile__DataFile_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
68
|
+
}
|
|
69
|
+
|
|
65
70
|
export function ARCtrl_DataFile__DataFile_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
66
71
|
const matchValue = fromString(DataFile_ROCrate_decoder, s);
|
|
67
72
|
if (matchValue.tag === 1) {
|
|
@@ -79,3 +84,7 @@ export function ARCtrl_DataFile__DataFile_toROCrateJsonString_Static_71136F3F(sp
|
|
|
79
84
|
};
|
|
80
85
|
}
|
|
81
86
|
|
|
87
|
+
export function ARCtrl_DataFile__DataFile_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
88
|
+
return ARCtrl_DataFile__DataFile_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
89
|
+
}
|
|
90
|
+
|
package/Json/Process/Factor.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Json } from "../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
|
|
|
4
4
|
import { defaultSpaces, tryIncludeSeq, tryInclude } from "../Encode.js";
|
|
5
5
|
import { OntologyAnnotation_ISAJson_decoder, OntologyAnnotation_ISAJson_encoder } from "../OntologyAnnotation.js";
|
|
6
6
|
import { Comment_ISAJson_decoder, Comment_ISAJson_encoder } from "../Comment.js";
|
|
7
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
7
|
+
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
8
8
|
import { string, object } from "../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
|
|
9
9
|
import { Decode_resizeArray } from "../Decode.js";
|
|
10
10
|
import { Factor } from "../../Core/Process/Factor.js";
|
|
@@ -46,3 +46,7 @@ export function ARCtrl_Process_Factor__Factor_toISAJsonString_Static_71136F3F(sp
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
export function ARCtrl_Process_Factor__Factor_ToISAJsonString_71136F3F(this$, spaces) {
|
|
50
|
+
return ARCtrl_Process_Factor__Factor_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -12,6 +12,7 @@ import { Decode_uri } from "../Decode.js";
|
|
|
12
12
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
13
13
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
14
14
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
15
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
15
16
|
|
|
16
17
|
export const FactorValue_ROCrate_encoder = encoder;
|
|
17
18
|
|
|
@@ -51,3 +52,7 @@ export function ARCtrl_Process_FactorValue__FactorValue_toISAJsonString_Static_7
|
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
|
|
55
|
+
export function ARCtrl_Process_FactorValue__FactorValue_ToISAJsonString_71136F3F(this$, spaces) {
|
|
56
|
+
return ARCtrl_Process_FactorValue__FactorValue_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
57
|
+
}
|
|
58
|
+
|
package/Json/Process/Material.js
CHANGED
|
@@ -12,6 +12,7 @@ import { Decode_objectNoAdditionalProperties, Decode_uri } from "../Decode.js";
|
|
|
12
12
|
import { Material } from "../../Core/Process/Material.js";
|
|
13
13
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
14
14
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
15
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
15
16
|
|
|
16
17
|
export function Material_ROCrate_genID(m) {
|
|
17
18
|
const matchValue = m.ID;
|
|
@@ -88,6 +89,10 @@ export function ARCtrl_Process_Material__Material_toISAJsonString_Static_71136F3
|
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
export function ARCtrl_Process_Material__Material_ToISAJsonString_71136F3F(this$, spaces) {
|
|
93
|
+
return ARCtrl_Process_Material__Material_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
export function ARCtrl_Process_Material__Material_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
92
97
|
const matchValue = fromString(Material_ROCrate_decoder, s);
|
|
93
98
|
if (matchValue.tag === 1) {
|
|
@@ -105,3 +110,7 @@ export function ARCtrl_Process_Material__Material_toROCrateJsonString_Static_711
|
|
|
105
110
|
};
|
|
106
111
|
}
|
|
107
112
|
|
|
113
|
+
export function ARCtrl_Process_Material__Material_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
114
|
+
return ARCtrl_Process_Material__Material_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
115
|
+
}
|
|
116
|
+
|
|
@@ -8,6 +8,7 @@ import { MaterialAttribute } from "../../Core/Process/MaterialAttribute.js";
|
|
|
8
8
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
9
9
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
10
10
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
11
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
11
12
|
|
|
12
13
|
export function MaterialAttribute_ISAJson_encoder(value) {
|
|
13
14
|
return new Json(5, [choose((tupledArg) => {
|
|
@@ -43,3 +44,7 @@ export function ARCtrl_Process_MaterialAttribute__MaterialAttribute_toISAJsonStr
|
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
|
|
47
|
+
export function ARCtrl_Process_MaterialAttribute__MaterialAttribute_ToJsonString_71136F3F(this$, spaces) {
|
|
48
|
+
return ARCtrl_Process_MaterialAttribute__MaterialAttribute_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -12,6 +12,7 @@ import { Decode_uri } from "../Decode.js";
|
|
|
12
12
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
13
13
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
14
14
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
15
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
15
16
|
|
|
16
17
|
export const MaterialAttributeValue_ROCrate_encoder = encoder;
|
|
17
18
|
|
|
@@ -51,6 +52,10 @@ export function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_to
|
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
|
|
55
|
+
export function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_ToISAJsonString_71136F3F(this$, spaces) {
|
|
56
|
+
return ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
57
|
+
}
|
|
58
|
+
|
|
54
59
|
export function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
55
60
|
const matchValue = fromString(MaterialAttributeValue_ROCrate_decoder, s);
|
|
56
61
|
if (matchValue.tag === 1) {
|
|
@@ -68,3 +73,7 @@ export function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_to
|
|
|
68
73
|
};
|
|
69
74
|
}
|
|
70
75
|
|
|
76
|
+
export function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
77
|
+
return ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -6,6 +6,7 @@ import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Deco
|
|
|
6
6
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
7
7
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
8
8
|
import { defaultSpaces } from "../Encode.js";
|
|
9
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
9
10
|
|
|
10
11
|
export function MaterialType_ROCrate_encoder(value) {
|
|
11
12
|
if (value.tag === 1) {
|
|
@@ -58,3 +59,7 @@ export function ARCtrl_Process_MaterialType__MaterialType_toISAJsonString_Static
|
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
61
|
|
|
62
|
+
export function ARCtrl_Process_MaterialType__MaterialType_ToISAJsonString_71136F3F(this$, spaces) {
|
|
63
|
+
return ARCtrl_Process_MaterialType__MaterialType_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
64
|
+
}
|
|
65
|
+
|
package/Json/Process/Process.js
CHANGED
|
@@ -17,6 +17,7 @@ import { Decode_uri } from "../Decode.js";
|
|
|
17
17
|
import { Process } from "../../Core/Process/Process.js";
|
|
18
18
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
19
19
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
20
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
20
21
|
|
|
21
22
|
export function Process_ROCrate_genID(p) {
|
|
22
23
|
const matchValue = p.ID;
|
|
@@ -88,6 +89,10 @@ export function ARCtrl_Process_Process__Process_toISAJsonString_Static_71136F3F(
|
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
export function ARCtrl_Process_Process__Process_ToISAJsonString_71136F3F(this$, spaces) {
|
|
93
|
+
return ARCtrl_Process_Process__Process_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
export function ARCtrl_Process_Process__Process_fromROCrateString_Static_Z721C83C5(s) {
|
|
92
97
|
const matchValue = fromString(Process_ROCrate_decoder, s);
|
|
93
98
|
if (matchValue.tag === 1) {
|
|
@@ -105,3 +110,7 @@ export function ARCtrl_Process_Process__Process_toROCrateString_Static_39E0BC3F(
|
|
|
105
110
|
};
|
|
106
111
|
}
|
|
107
112
|
|
|
113
|
+
export function ARCtrl_Process_Process__Process_ToROCrateString_39E0BC3F(this$, studyName, assayName, spaces) {
|
|
114
|
+
return ARCtrl_Process_Process__Process_toROCrateString_Static_39E0BC3F(unwrap(studyName), unwrap(assayName), unwrap(spaces))(this$);
|
|
115
|
+
}
|
|
116
|
+
|
|
@@ -9,6 +9,7 @@ import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Deco
|
|
|
9
9
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
10
10
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
11
11
|
import { defaultSpaces } from "../Encode.js";
|
|
12
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
12
13
|
|
|
13
14
|
export function ProcessInput_ROCrate_encoder(value) {
|
|
14
15
|
switch (value.tag) {
|
|
@@ -57,3 +58,7 @@ export function ARCtrl_Process_ProcessInput__ProcessInput_toISAJsonString_Static
|
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
|
|
61
|
+
export function ARCtrl_Process_ProcessInput__ProcessInput_ToISAJsonString_71136F3F(this$, spaces) {
|
|
62
|
+
return ARCtrl_Process_ProcessInput__ProcessInput_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -8,6 +8,7 @@ import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Deco
|
|
|
8
8
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
9
9
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
10
10
|
import { defaultSpaces } from "../Encode.js";
|
|
11
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
11
12
|
|
|
12
13
|
export function ProcessOutput_ROCrate_encoder(value) {
|
|
13
14
|
switch (value.tag) {
|
|
@@ -52,6 +53,10 @@ export function ARCtrl_Process_ProcessOutput__ProcessOutput_toISAJsonString_Stat
|
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
|
|
56
|
+
export function ARCtrl_Process_ProcessOutput__ProcessOutput_toISAJsonString_71136F3F(this$, spaces) {
|
|
57
|
+
return ARCtrl_Process_ProcessOutput__ProcessOutput_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
58
|
+
}
|
|
59
|
+
|
|
55
60
|
export function ARCtrl_Process_ProcessOutput__ProcessOutput_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
56
61
|
const matchValue = fromString(ProcessOutput_ROCrate_decoder, s);
|
|
57
62
|
if (matchValue.tag === 1) {
|
|
@@ -69,3 +74,7 @@ export function ARCtrl_Process_ProcessOutput__ProcessOutput_toROCrateJsonString_
|
|
|
69
74
|
};
|
|
70
75
|
}
|
|
71
76
|
|
|
77
|
+
export function ARCtrl_Process_ProcessOutput__ProcessOutput_toROCrateJsonString_71136F3F(this$, spaces) {
|
|
78
|
+
return ARCtrl_Process_ProcessOutput__ProcessOutput_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -11,6 +11,7 @@ import { object } from "../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
|
|
|
11
11
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
12
12
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
13
13
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
14
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
14
15
|
|
|
15
16
|
export const ProcessParameterValue_ROCrate_encoder = encoder;
|
|
16
17
|
|
|
@@ -50,6 +51,10 @@ export function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_toIS
|
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
|
|
54
|
+
export function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_ToISAJsonString_71136F3F(this$, spaces) {
|
|
55
|
+
return ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
56
|
+
}
|
|
57
|
+
|
|
53
58
|
export function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
54
59
|
const matchValue = fromString(ProcessParameterValue_ROCrate_decoder, s);
|
|
55
60
|
if (matchValue.tag === 1) {
|
|
@@ -67,3 +72,7 @@ export function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_toRO
|
|
|
67
72
|
};
|
|
68
73
|
}
|
|
69
74
|
|
|
75
|
+
export function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
76
|
+
return ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
77
|
+
}
|
|
78
|
+
|
package/Json/Process/Protocol.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Comment_ISAJson_decoder, Comment_ISAJson_encoder, Comment_ROCrate_decod
|
|
|
10
10
|
import { context_jsonvalue } from "../context/rocrate/isa_protocol_context.js";
|
|
11
11
|
import { string, list as list_5, object } from "../../fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js";
|
|
12
12
|
import { Option_fromValueWithDefault } from "../../Core/Helper/Collections.js";
|
|
13
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
13
|
+
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
14
14
|
import { Decode_uri } from "../Decode.js";
|
|
15
15
|
import { Protocol } from "../../Core/Process/Protocol.js";
|
|
16
16
|
import { ProtocolParameter_ISAJson_decoder, ProtocolParameter_ISAJson_encoder } from "./ProtocolParameter.js";
|
|
@@ -128,6 +128,10 @@ export function ARCtrl_Process_Protocol__Protocol_toISAJsonString_Static_71136F3
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
export function ARCtrl_Process_Protocol__Protocol_ToISAJsonString_71136F3F(this$, spaces) {
|
|
132
|
+
return ARCtrl_Process_Protocol__Protocol_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
133
|
+
}
|
|
134
|
+
|
|
131
135
|
export function ARCtrl_Process_Protocol__Protocol_fromROCrateString_Static_Z721C83C5(s) {
|
|
132
136
|
const matchValue = fromString(Protocol_ROCrate_decoder, s);
|
|
133
137
|
if (matchValue.tag === 1) {
|
|
@@ -138,10 +142,14 @@ export function ARCtrl_Process_Protocol__Protocol_fromROCrateString_Static_Z721C
|
|
|
138
142
|
}
|
|
139
143
|
}
|
|
140
144
|
|
|
141
|
-
export function
|
|
145
|
+
export function ARCtrl_Process_Protocol__Protocol_toROCrateString_Static_Z482224B9(studyName, assayName, processName, spaces) {
|
|
142
146
|
return (f) => {
|
|
143
147
|
const value = Protocol_ROCrate_encoder(studyName, assayName, processName, f);
|
|
144
148
|
return toString(defaultSpaces(spaces), value);
|
|
145
149
|
};
|
|
146
150
|
}
|
|
147
151
|
|
|
152
|
+
export function ARCtrl_Process_Protocol__Protocol_ToROCrateString_Z482224B9(this$, studyName, assayName, processName, spaces) {
|
|
153
|
+
return ARCtrl_Process_Protocol__Protocol_toROCrateString_Static_Z482224B9(unwrap(studyName), unwrap(assayName), unwrap(processName), unwrap(spaces))(this$);
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -8,6 +8,7 @@ import { ProtocolParameter } from "../../Core/Process/ProtocolParameter.js";
|
|
|
8
8
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
9
9
|
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
10
10
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
11
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
11
12
|
|
|
12
13
|
export function ProtocolParameter_ISAJson_encoder(value) {
|
|
13
14
|
return new Json(5, [choose((tupledArg) => {
|
|
@@ -43,3 +44,7 @@ export function ARCtrl_Process_ProtocolParameter__ProtocolParameter_toISAJsonStr
|
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
|
|
47
|
+
export function ARCtrl_Process_ProtocolParameter__ProtocolParameter_ToISAJsonString_71136F3F(this$, spaces) {
|
|
48
|
+
return ARCtrl_Process_ProtocolParameter__ProtocolParameter_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
49
|
+
}
|
|
50
|
+
|
package/Json/Process/Sample.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { printf, toText, replace } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
2
2
|
import { ofArray, singleton, choose, append, empty, map } from "../../fable_modules/fable-library-js.4.16.0/List.js";
|
|
3
3
|
import { MaterialAttributeValue_ISAJson_decoder, MaterialAttributeValue_ISAJson_encoder, MaterialAttributeValue_ROCrate_decoder, MaterialAttributeValue_ROCrate_encoder } from "./MaterialAttributeValue.js";
|
|
4
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
4
|
+
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
5
5
|
import { FactorValue_ISAJson_decoder, FactorValue_ISAJson_encoder, FactorValue_ROCrate_decoder, FactorValue_ROCrate_encoder } from "./FactorValue.js";
|
|
6
6
|
import { equals } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
7
7
|
import { Json } from "../../fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js";
|
|
@@ -115,6 +115,10 @@ export function ARCtrl_Process_Sample__Sample_toISAJsonString_Static_71136F3F(sp
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
export function ARCtrl_Process_Sample__Sample_ToISAJsonString_71136F3F(this$, spaces) {
|
|
119
|
+
return ARCtrl_Process_Sample__Sample_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
120
|
+
}
|
|
121
|
+
|
|
118
122
|
export function ARCtrl_Process_Sample__Sample_fromROCrateString_Static_Z721C83C5(s) {
|
|
119
123
|
const matchValue = fromString(Sample_ROCrate_decoder, s);
|
|
120
124
|
if (matchValue.tag === 1) {
|
|
@@ -132,3 +136,7 @@ export function ARCtrl_Process_Sample__Sample_toROCrateString_Static_71136F3F(sp
|
|
|
132
136
|
};
|
|
133
137
|
}
|
|
134
138
|
|
|
139
|
+
export function ARCtrl_Process_Sample__Sample_ToROCrateString_71136F3F(this$, spaces) {
|
|
140
|
+
return ARCtrl_Process_Sample__Sample_toROCrateString_Static_71136F3F(unwrap(spaces))(this$);
|
|
141
|
+
}
|
|
142
|
+
|
package/Json/Process/Source.js
CHANGED
|
@@ -12,6 +12,7 @@ import { Decode_objectNoAdditionalProperties, Decode_uri } from "../Decode.js";
|
|
|
12
12
|
import { Source } from "../../Core/Process/Source.js";
|
|
13
13
|
import { fromString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js";
|
|
14
14
|
import { toString } from "../../fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js";
|
|
15
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
15
16
|
|
|
16
17
|
export function Source_ROCrate_genID(s) {
|
|
17
18
|
const matchValue = s.ID;
|
|
@@ -82,6 +83,10 @@ export function ARCtrl_Process_Source__Source_toISAJsonString_Static_71136F3F(sp
|
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
85
|
|
|
86
|
+
export function ARCtrl_Process_Source__Source_ToISAJsonString_71136F3F(this$, spaces) {
|
|
87
|
+
return ARCtrl_Process_Source__Source_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
88
|
+
}
|
|
89
|
+
|
|
85
90
|
export function ARCtrl_Process_Source__Source_fromROCrateString_Static_Z721C83C5(s) {
|
|
86
91
|
const matchValue = fromString(Source_ROCrate_decoder, s);
|
|
87
92
|
if (matchValue.tag === 1) {
|
|
@@ -99,3 +104,7 @@ export function ARCtrl_Process_Source__Source_toROCrateString_Static_71136F3F(sp
|
|
|
99
104
|
};
|
|
100
105
|
}
|
|
101
106
|
|
|
107
|
+
export function ARCtrl_Process_Source__Source_ToROCrateString_71136F3F(this$, spaces) {
|
|
108
|
+
return ARCtrl_Process_Source__Source_toROCrateString_Static_71136F3F(unwrap(spaces))(this$);
|
|
109
|
+
}
|
|
110
|
+
|
package/Json/Publication.js
CHANGED
|
@@ -103,6 +103,10 @@ export function ARCtrl_Publication__Publication_toJsonString_Static_71136F3F(spa
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
export function ARCtrl_Publication__Publication_ToJsonString_71136F3F(this$, spaces) {
|
|
107
|
+
return ARCtrl_Publication__Publication_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
108
|
+
}
|
|
109
|
+
|
|
106
110
|
export function ARCtrl_Publication__Publication_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
107
111
|
const matchValue = fromString(Publication_ROCrate_decoder, s);
|
|
108
112
|
if (matchValue.tag === 1) {
|
|
@@ -123,11 +127,8 @@ export function ARCtrl_Publication__Publication_toROCrateJsonString_Static_71136
|
|
|
123
127
|
};
|
|
124
128
|
}
|
|
125
129
|
|
|
126
|
-
export function
|
|
127
|
-
return (
|
|
128
|
-
const value = Publication_ISAJson_encoder(obj);
|
|
129
|
-
return toString(defaultSpaces(spaces), value);
|
|
130
|
-
};
|
|
130
|
+
export function ARCtrl_Publication__Publication_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
131
|
+
return ARCtrl_Publication__Publication_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
export function ARCtrl_Publication__Publication_fromISAJsonString_Static_Z721C83C5(s) {
|
|
@@ -140,3 +141,14 @@ export function ARCtrl_Publication__Publication_fromISAJsonString_Static_Z721C83
|
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
|
|
144
|
+
export function ARCtrl_Publication__Publication_toISAJsonString_Static_71136F3F(spaces) {
|
|
145
|
+
return (obj) => {
|
|
146
|
+
const value = Publication_ISAJson_encoder(obj);
|
|
147
|
+
return toString(defaultSpaces(spaces), value);
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function ARCtrl_Publication__Publication_ToISAJsonString_71136F3F(this$, spaces) {
|
|
152
|
+
return ARCtrl_Publication__Publication_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
153
|
+
}
|
|
154
|
+
|