@nfdi4plants/arctrl 3.0.3 → 3.1.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/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +320 -0
- package/dist/ts/ts/ARC.d.ts +3 -3
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +72 -93
- package/dist/ts/ts/CWL/Decode.d.ts +13 -10
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +91 -46
- package/dist/ts/ts/CWL/Encode.d.ts +1 -1
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +69 -51
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +6 -3
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +13 -4
- package/dist/ts/ts/CWL/OperationDescription.d.ts +6 -3
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +13 -4
- package/dist/ts/ts/CWL/Requirements.d.ts +6 -5
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +9 -8
- package/dist/ts/ts/CWL/ToolDescription.d.ts +6 -3
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +13 -4
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +6 -3
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +13 -4
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +1 -1
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.d.ts +3 -3
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +27 -23
- package/dist/ts/ts/Conversion/Workflow.js +3 -3
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +4 -2
- package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +76 -2
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +3 -0
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +23 -10
- package/dist/ts/ts/Core/Table/ArcTables.d.ts +1 -0
- package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTables.js +7 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +5 -5
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -5
- package/dist/ts/ts/Yaml.js +1 -1
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Decode.fs.js +124 -24
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Preprocessing.fs.js +66 -24
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Reader.fs.js +474 -295
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Writer.fs.js +659 -0
- package/package.json +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.5/Writer.fs.js +0 -391
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Encode.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Escapes.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/FlowToBlock.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Interop/JsInterop.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Persil.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/Regex.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/RegexActivePatterns.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/StringBuffer.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.5 → YAMLicious.1.0.0-alpha.7}/YAMLiciousTypes.fs.js +0 -0
|
@@ -2,15 +2,15 @@ import { Record, Union, FSharpRef } from '../../node_modules/@fable-org/fable-li
|
|
|
2
2
|
import { value, bind, some } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { SchemaSaladString_$reflection, SchemaSaladString_Literal, DirentInstance_$reflection, FileInstance_$reflection, DirectoryInstance_$reflection, SchemaDefRequirementType_$reflection, SoftwarePackage_$reflection } from './CWLTypes.js';
|
|
4
4
|
import { defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
5
|
-
import { record_type, option_type, string_type, union_type, bool_type, int64_type, class_type
|
|
5
|
+
import { record_type, option_type, string_type, array_type, union_type, bool_type, int64_type, class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
6
6
|
import { toInt64, fromInt32 } from '../../node_modules/@fable-org/fable-library-js/BigInt.js';
|
|
7
7
|
import { setOptionalProperty } from '../fable_modules/DynamicObj.7.1.0/DynObj.fs.js';
|
|
8
8
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
9
|
-
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
9
|
+
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.7/YAMLiciousTypes.fs.js';
|
|
10
10
|
import { map } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
11
11
|
|
|
12
12
|
class DockerRequirement extends Record {
|
|
13
|
-
constructor(DockerPull, DockerFile, DockerImageId, DockerLoad, DockerImport, DockerOutputDirectory) {
|
|
13
|
+
constructor(DockerPull, DockerFile, DockerImageId, DockerLoad, DockerImport, DockerOutputDirectory, DockerRunOptions) {
|
|
14
14
|
super();
|
|
15
15
|
this.DockerPull = DockerPull;
|
|
16
16
|
this.DockerFile = DockerFile;
|
|
@@ -18,13 +18,14 @@ class DockerRequirement extends Record {
|
|
|
18
18
|
this.DockerLoad = DockerLoad;
|
|
19
19
|
this.DockerImport = DockerImport;
|
|
20
20
|
this.DockerOutputDirectory = DockerOutputDirectory;
|
|
21
|
+
this.DockerRunOptions = DockerRunOptions;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
function DockerRequirement_$reflection() {
|
|
24
|
-
return record_type("ARCtrl.CWL.DockerRequirement", [], DockerRequirement, () => [["DockerPull", option_type(string_type)], ["DockerFile", option_type(SchemaSaladString_$reflection())], ["DockerImageId", option_type(string_type)], ["DockerLoad", option_type(string_type)], ["DockerImport", option_type(string_type)], ["DockerOutputDirectory", option_type(string_type)]]);
|
|
25
|
+
return record_type("ARCtrl.CWL.DockerRequirement", [], DockerRequirement, () => [["DockerPull", option_type(string_type)], ["DockerFile", option_type(SchemaSaladString_$reflection())], ["DockerImageId", option_type(string_type)], ["DockerLoad", option_type(string_type)], ["DockerImport", option_type(string_type)], ["DockerOutputDirectory", option_type(string_type)], ["DockerRunOptions", option_type(array_type(string_type))]]);
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
-
return new DockerRequirement(dockerPull, dockerFileReference == null ? dockerFile == null ? void 0 : SchemaSaladString_Literal(value(dockerFile)) : value(dockerFileReference), dockerImageId, dockerLoad, dockerImport, dockerOutputDirectory);
|
|
27
|
+
function DockerRequirement_create_Z6E6AA686(dockerPull, dockerFile, dockerFileReference, dockerImageId, dockerLoad, dockerImport, dockerOutputDirectory, dockerRunOptions) {
|
|
28
|
+
return new DockerRequirement(dockerPull, dockerFileReference == null ? dockerFile == null ? void 0 : SchemaSaladString_Literal(value(dockerFile)) : value(dockerFileReference), dockerImageId, dockerLoad, dockerImport, dockerOutputDirectory, dockerRunOptions);
|
|
28
29
|
}
|
|
29
30
|
class EnvironmentDef extends Record {
|
|
30
31
|
constructor(EnvName, EnvValue) {
|
|
@@ -147,7 +148,7 @@ class ResourceRequirementInstance extends DynamicObj {
|
|
|
147
148
|
super();
|
|
148
149
|
const this$ = new FSharpRef(defaultOf());
|
|
149
150
|
this$.contents = this;
|
|
150
|
-
this["init@
|
|
151
|
+
this["init@101"] = 1;
|
|
151
152
|
setOptionalProperty("coresMin", coresMin, this$.contents);
|
|
152
153
|
setOptionalProperty("coresMax", coresMax, this$.contents);
|
|
153
154
|
setOptionalProperty("ramMin", ramMin, this$.contents);
|
|
@@ -381,4 +382,4 @@ function HintEntry_get_tryAsRequirement() {
|
|
|
381
382
|
1 ? void 0 : _arg.fields[0];
|
|
382
383
|
}
|
|
383
384
|
|
|
384
|
-
export { DockerRequirement, DockerRequirement_$reflection,
|
|
385
|
+
export { DockerRequirement, DockerRequirement_$reflection, DockerRequirement_create_Z6E6AA686, EnvironmentDef, EnvironmentDef_$reflection, HintEntry, HintEntry_$reflection, HintEntry_KnownHint, HintEntry_UnknownHint, HintEntry_get_tryAsRequirement, HintEntry_ofRequirement_Z5074C2C8, HintEntry_ofRequirements_1F652241, HintUnknownValue, HintUnknownValue_$reflection, InitialWorkDirEntry, InitialWorkDirEntry_$reflection, InitialWorkDirEntry_DirectoryEntry, InitialWorkDirEntry_DirentEntry, InitialWorkDirEntry_FileEntry, InitialWorkDirEntry_StringEntry, InlineJavascriptRequirementValue, InlineJavascriptRequirementValue_$reflection, InlineJavascriptRequirementValue_get_defaultEmpty, InplaceUpdateRequirementValue, InplaceUpdateRequirementValue_$reflection, InplaceUpdateRequirementValue_get_defaultEnabled, LoadListingEnum, LoadListingEnum_$reflection, LoadListingEnum_DeepListing, LoadListingEnum_NoListing, LoadListingEnum_ShallowListing, LoadListingEnum_get_toCwlString, LoadListingEnum_tryParse_Z721C83C5, LoadListingRequirementValue, LoadListingRequirementValue_$reflection, LoadListingRequirementValue_get_defaultNoListing, NetworkAccessRequirementValue, NetworkAccessRequirementValue_$reflection, NetworkAccessRequirementValue_get_defaultEnabled, Requirement, Requirement_$reflection, Requirement_DockerRequirement, Requirement_EnvVarRequirement, Requirement_InitialWorkDirRequirement, Requirement_InlineJavascriptRequirement, Requirement_InplaceUpdateRequirement, Requirement_LoadListingRequirement, Requirement_MultipleInputFeatureRequirement, Requirement_NetworkAccessExpressionRequirement, Requirement_NetworkAccessRequirement, Requirement_ResourceRequirement, Requirement_ScatterFeatureRequirement, Requirement_SchemaDefRequirement, Requirement_ShellCommandRequirement, Requirement_SoftwareRequirement, Requirement_StepInputExpressionRequirement, Requirement_SubworkflowFeatureRequirement, Requirement_ToolTimeLimitRequirement, Requirement_WorkReuseExpressionRequirement, Requirement_WorkReuseRequirement, Requirement_defaultToolTimeLimitSeconds_Z524259C1, Requirement_get_defaultInlineJavascriptRequirement, Requirement_get_defaultInplaceUpdateEnabled, Requirement_get_defaultLoadListingNoListing, Requirement_get_defaultNetworkAccessEnabled, Requirement_get_defaultWorkReuseEnabled, ResourceRequirementInstance, ResourceRequirementInstance_$ctor_D76FC00, ResourceRequirementInstance_$reflection, ResourceRequirementInstance__TryGetExpression_Z721C83C5, ResourceRequirementInstance__TryGetFloat_Z721C83C5, ResourceRequirementInstance__TryGetInt64_Z721C83C5, ToolTimeLimitValue, ToolTimeLimitValue_$reflection, ToolTimeLimitValue_ToolTimeLimitExpression, ToolTimeLimitValue_ToolTimeLimitSeconds, WorkReuseRequirementValue, WorkReuseRequirementValue_$reflection, WorkReuseRequirementValue_get_defaultEnabled };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { CWLOutput } from './Outputs.js';
|
|
2
1
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
2
|
+
import { CWLOutput } from './Outputs.js';
|
|
3
3
|
import { HintEntry_$union, Requirement_$union } from './Requirements.js';
|
|
4
4
|
import { CWLInput } from './Inputs.js';
|
|
5
5
|
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
6
6
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
7
7
|
export declare class CWLToolDescription extends DynamicObj {
|
|
8
|
+
_id: Option<string>;
|
|
8
9
|
_cwlVersion: string;
|
|
9
10
|
_outputs: CWLOutput[];
|
|
10
11
|
_baseCommand: Option<string[]>;
|
|
@@ -15,7 +16,9 @@ export declare class CWLToolDescription extends DynamicObj {
|
|
|
15
16
|
_metadata: Option<DynamicObj>;
|
|
16
17
|
_label: Option<string>;
|
|
17
18
|
_doc: Option<string>;
|
|
18
|
-
constructor(outputs: CWLOutput[], cwlVersion?: string, baseCommand?: string[], requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: string[], inputs?: CWLInput[], metadata?: DynamicObj, label?: string, doc?: string);
|
|
19
|
+
constructor(outputs: CWLOutput[], cwlVersion?: string, baseCommand?: string[], requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: string[], inputs?: CWLInput[], metadata?: DynamicObj, label?: string, doc?: string, id?: string);
|
|
20
|
+
get Id(): string | undefined;
|
|
21
|
+
set Id(id: Option<string>);
|
|
19
22
|
get CWLVersion(): string;
|
|
20
23
|
set CWLVersion(version: string);
|
|
21
24
|
get Outputs(): CWLOutput[];
|
|
@@ -46,5 +49,5 @@ export declare class CWLToolDescription extends DynamicObj {
|
|
|
46
49
|
static getOrCreateIntent(tool: CWLToolDescription): string[];
|
|
47
50
|
}
|
|
48
51
|
export declare function CWLToolDescription_$reflection(): TypeInfo;
|
|
49
|
-
export declare function CWLToolDescription_$
|
|
52
|
+
export declare function CWLToolDescription_$ctor_Z5B6BD26E(outputs: CWLOutput[], cwlVersion?: string, baseCommand?: string[], requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: string[], inputs?: CWLInput[], metadata?: DynamicObj, label?: string, doc?: string, id?: string): CWLToolDescription;
|
|
50
53
|
//# sourceMappingURL=ToolDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolDescription.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ToolDescription.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/ToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAA0B,UAAU,EAAE,MAAM,oDAAoD,CAAC;AACxG,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,qBAAa,kBAAmB,SAAQ,UAAU;IAC9C,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,EAAE,CAAC;IACt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gB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,EAAE;IAG3D,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,kBAAkB,GAAG,gBAAgB,EAAE;IAWrE,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,EAAE;CAW/D;AAED,wBAAgB,8BAA8B,IAAI,QAAQ,CAEzD;AAED,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,kBAAkB,EAAE,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAEnT"}
|
|
@@ -3,8 +3,9 @@ import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.
|
|
|
3
3
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
4
|
|
|
5
5
|
class CWLToolDescription extends DynamicObj {
|
|
6
|
-
constructor(outputs, cwlVersion, baseCommand, requirements, hints, intent, inputs, metadata, label, doc) {
|
|
6
|
+
constructor(outputs, cwlVersion, baseCommand, requirements, hints, intent, inputs, metadata, label, doc, id) {
|
|
7
7
|
super();
|
|
8
|
+
this._id = id;
|
|
8
9
|
this._cwlVersion = defaultArg(cwlVersion, "v1.2");
|
|
9
10
|
this._outputs = outputs;
|
|
10
11
|
this._baseCommand = baseCommand;
|
|
@@ -16,6 +17,14 @@ class CWLToolDescription extends DynamicObj {
|
|
|
16
17
|
this._label = label;
|
|
17
18
|
this._doc = doc;
|
|
18
19
|
}
|
|
20
|
+
get Id() {
|
|
21
|
+
const this$ = this;
|
|
22
|
+
return unwrap(this$._id);
|
|
23
|
+
}
|
|
24
|
+
set Id(id) {
|
|
25
|
+
const this$ = this;
|
|
26
|
+
this$._id = id;
|
|
27
|
+
}
|
|
19
28
|
get CWLVersion() {
|
|
20
29
|
const this$ = this;
|
|
21
30
|
return this$._cwlVersion;
|
|
@@ -145,8 +154,8 @@ class CWLToolDescription extends DynamicObj {
|
|
|
145
154
|
function CWLToolDescription_$reflection() {
|
|
146
155
|
return class_type("ARCtrl.CWL.CWLToolDescription", void 0, CWLToolDescription, DynamicObj_$reflection());
|
|
147
156
|
}
|
|
148
|
-
function CWLToolDescription_$
|
|
149
|
-
return new CWLToolDescription(outputs, cwlVersion, baseCommand, requirements, hints, intent, inputs, metadata, label, doc);
|
|
157
|
+
function CWLToolDescription_$ctor_Z5B6BD26E(outputs, cwlVersion, baseCommand, requirements, hints, intent, inputs, metadata, label, doc, id) {
|
|
158
|
+
return new CWLToolDescription(outputs, cwlVersion, baseCommand, requirements, hints, intent, inputs, metadata, label, doc, id);
|
|
150
159
|
}
|
|
151
160
|
|
|
152
|
-
export { CWLToolDescription, CWLToolDescription_$
|
|
161
|
+
export { CWLToolDescription, CWLToolDescription_$ctor_Z5B6BD26E, CWLToolDescription_$reflection };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
1
2
|
import { WorkflowStep } from './WorkflowSteps.js';
|
|
2
3
|
import { CWLInput } from './Inputs.js';
|
|
3
4
|
import { CWLOutput } from './Outputs.js';
|
|
4
|
-
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
5
5
|
import { HintEntry_$union, Requirement_$union } from './Requirements.js';
|
|
6
6
|
import { DynamicObj } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
7
7
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
8
8
|
export declare class CWLWorkflowDescription extends DynamicObj {
|
|
9
|
+
_id: Option<string>;
|
|
9
10
|
_cwlVersion: string;
|
|
10
11
|
_steps: WorkflowStep[];
|
|
11
12
|
_inputs: CWLInput[];
|
|
@@ -16,7 +17,9 @@ export declare class CWLWorkflowDescription extends DynamicObj {
|
|
|
16
17
|
_metadata: Option<DynamicObj>;
|
|
17
18
|
_label: Option<string>;
|
|
18
19
|
_doc: Option<string>;
|
|
19
|
-
constructor(steps: WorkflowStep[], inputs: CWLInput[], outputs: CWLOutput[], cwlVersion?: string, requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: string[], metadata?: DynamicObj, label?: string, doc?: string);
|
|
20
|
+
constructor(steps: WorkflowStep[], inputs: CWLInput[], outputs: CWLOutput[], cwlVersion?: string, requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: string[], metadata?: DynamicObj, label?: string, doc?: string, id?: string);
|
|
21
|
+
get Id(): string | undefined;
|
|
22
|
+
set Id(id: Option<string>);
|
|
20
23
|
get CWLVersion(): string;
|
|
21
24
|
set CWLVersion(version: string);
|
|
22
25
|
get Steps(): WorkflowStep[];
|
|
@@ -46,5 +49,5 @@ export declare class CWLWorkflowDescription extends DynamicObj {
|
|
|
46
49
|
static getOrCreateIntent(workflow: CWLWorkflowDescription): string[];
|
|
47
50
|
}
|
|
48
51
|
export declare function CWLWorkflowDescription_$reflection(): TypeInfo;
|
|
49
|
-
export declare function CWLWorkflowDescription_$
|
|
52
|
+
export declare function CWLWorkflowDescription_$ctor_3DFF9D2F(steps: WorkflowStep[], inputs: CWLInput[], outputs: CWLOutput[], cwlVersion?: string, requirements?: Requirement_$union[], hints?: HintEntry_$union[], intent?: string[], metadata?: DynamicObj, label?: string, doc?: string, id?: string): CWLWorkflowDescription;
|
|
50
53
|
//# sourceMappingURL=WorkflowDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowDescription.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/CWL/WorkflowDescription.ts"],"names":[],"m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AAE,MAAM,GAAG,sBAAsB,CAExT"}
|
|
@@ -3,8 +3,9 @@ import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.
|
|
|
3
3
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
4
|
|
|
5
5
|
class CWLWorkflowDescription extends DynamicObj {
|
|
6
|
-
constructor(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc) {
|
|
6
|
+
constructor(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc, id) {
|
|
7
7
|
super();
|
|
8
|
+
this._id = id;
|
|
8
9
|
this._cwlVersion = defaultArg(cwlVersion, "v1.2");
|
|
9
10
|
this._steps = steps;
|
|
10
11
|
this._inputs = inputs;
|
|
@@ -16,6 +17,14 @@ class CWLWorkflowDescription extends DynamicObj {
|
|
|
16
17
|
this._label = label;
|
|
17
18
|
this._doc = doc;
|
|
18
19
|
}
|
|
20
|
+
get Id() {
|
|
21
|
+
const this$ = this;
|
|
22
|
+
return unwrap(this$._id);
|
|
23
|
+
}
|
|
24
|
+
set Id(id) {
|
|
25
|
+
const this$ = this;
|
|
26
|
+
this$._id = id;
|
|
27
|
+
}
|
|
19
28
|
get CWLVersion() {
|
|
20
29
|
const this$ = this;
|
|
21
30
|
return this$._cwlVersion;
|
|
@@ -135,8 +144,8 @@ class CWLWorkflowDescription extends DynamicObj {
|
|
|
135
144
|
function CWLWorkflowDescription_$reflection() {
|
|
136
145
|
return class_type("ARCtrl.CWL.CWLWorkflowDescription", void 0, CWLWorkflowDescription, DynamicObj_$reflection());
|
|
137
146
|
}
|
|
138
|
-
function CWLWorkflowDescription_$
|
|
139
|
-
return new CWLWorkflowDescription(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc);
|
|
147
|
+
function CWLWorkflowDescription_$ctor_3DFF9D2F(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc, id) {
|
|
148
|
+
return new CWLWorkflowDescription(steps, inputs, outputs, cwlVersion, requirements, hints, intent, metadata, label, doc, id);
|
|
140
149
|
}
|
|
141
150
|
|
|
142
|
-
export { CWLWorkflowDescription, CWLWorkflowDescription_$
|
|
151
|
+
export { CWLWorkflowDescription, CWLWorkflowDescription_$ctor_3DFF9D2F, CWLWorkflowDescription_$reflection };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { Record, Union } from '@fable-org/fable-library-js/Types.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
4
|
+
import { YAMLElement_$union } from '../fable_modules/YAMLicious.1.0.0-alpha.7/YAMLiciousTypes.fs.js';
|
|
5
5
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
6
6
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
7
7
|
import { HintEntry_$union, Requirement_$union } from './Requirements.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unwrap, toArray } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { Union, Record } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
3
3
|
import { union_type, record_type, string_type, option_type, array_type, bool_type, obj_type, class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
4
|
+
import { YAMLElement_$reflection } from '../fable_modules/YAMLicious.1.0.0-alpha.7/YAMLiciousTypes.fs.js';
|
|
5
5
|
import { setItem } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
6
6
|
import { filter, iterate, tryFindIndex } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
7
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Git.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/Git.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAKjF,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAEzD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,QAAQ,CAEhF;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,QAAQ,CAEhE;AAED,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"Git.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/Git.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAKjF,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAEzD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,QAAQ,CAEhF;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,QAAQ,CAEhE;AAED,eAAO,MAAM,iBAAiB,EAAE,QAA0hD,CAAC;AAE3jD,eAAO,MAAM,qBAAqB,EAAE,QAAoH,CAAC;AAEzJ,qBAAa,IAAI;;CAGhB;AAED,wBAAgB,gBAAgB,IAAI,QAAQ,CAE3C;AAED,qBAAa,KAAK;;CAGjB;AAED,wBAAgB,iBAAiB,IAAI,QAAQ,CAE5C;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,wBAAgB,gCAAgC,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAG1E;AAED,wBAAgB,sCAAsC,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,CAElF;AAED,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED,wBAAgB,qBAAqB,IAAI,MAAM,CAE9C;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1F;AAED,wBAAgB,kCAAkC,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAK3J"}
|
|
@@ -13,7 +13,7 @@ function createGitContractAt(path, arguments$) {
|
|
|
13
13
|
function createGitContract(arguments$) {
|
|
14
14
|
return Contract.createExecute(gitWithArgs(arguments$));
|
|
15
15
|
}
|
|
16
|
-
const gitignoreContract = Contract.createCreate(".gitignore", "PlainText", "# ----- macos rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/macOS.gitignore\r\n# General\r\n.DS_Store\r\n.AppleDouble\r\n.LSOverride\r\n# Icon must end with two \\r\r\nIcon\r\n# Thumbnails\r\n._*\r\n# Files that might appear in the root of a volume\r\n.DocumentRevisions-V100\r\n.fseventsd\r\n.Spotlight-V100\r\n.TemporaryItems\r\n.Trashes\r\n.VolumeIcon.icns\r\n.com.apple.timemachine.donotpresent\r\n# Directories potentially created on remote AFP share\r\n.AppleDB\r\n.AppleDesktop\r\nNetwork Trash Folder\r\nTemporary Items\r\n.apdisk\r\n# ----- windows rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/Windows.gitignore\r\n# Windows thumbnail cache files\r\nThumbs.db\r\nThumbs.db:encryptable\r\nehthumbs.db\r\nehthumbs_vista.db\r\n# Dump file\r\n*.stackdump\r\n# Folder config file\r\n[Dd]esktop.ini\r\n# Recycle Bin used on file shares\r\n$RECYCLE.BIN/\r\n# Windows Installer files\r\n*.cab\r\n*.msi\r\n*.msix\r\n*.msm\r\n*.msp\r\n# Windows shortcuts\r\n*.lnk\r\n# ----- linux rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/Linux.gitignore\r\n*~\r\n# temporary files which can be created if a process still has a handle open of a deleted file\r\n.fuse_hidden*\r\n# KDE directory preferences\r\n.directory\r\n# Linux trash folder which might appear on any partition or disk\r\n.Trash-*\r\n# .nfs files are created when an open file is removed but is still being accessed\r\n.nfs*\r\n");
|
|
16
|
+
const gitignoreContract = Contract.createCreate(".gitignore", "PlainText", "# ----- macos rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/macOS.gitignore\r\n# General\r\n.DS_Store\r\n.AppleDouble\r\n.LSOverride\r\n# Icon must end with two \\r\r\nIcon\r\n# Thumbnails\r\n._*\r\n# Files that might appear in the root of a volume\r\n.DocumentRevisions-V100\r\n.fseventsd\r\n.Spotlight-V100\r\n.TemporaryItems\r\n.Trashes\r\n.VolumeIcon.icns\r\n.com.apple.timemachine.donotpresent\r\n# Directories potentially created on remote AFP share\r\n.AppleDB\r\n.AppleDesktop\r\nNetwork Trash Folder\r\nTemporary Items\r\n.apdisk\r\n# ----- windows rules -----\r\n# taken from https://github.com/github/gitignore/blob/main/Global/Windows.gitignore\r\n# Windows thumbnail cache files\r\nThumbs.db\r\nThumbs.db:encryptable\r\nehthumbs.db\r\nehthumbs_vista.db\r\n# Dump file\r\n*.stackdump\r\n# Folder config file\r\n[Dd]esktop.ini\r\n# Recycle Bin used on file shares\r\n$RECYCLE.BIN/\r\n# Windows Installer files\r\n*.cab\r\n*.msi\r\n*.msix\r\n*.msm\r\n*.msp\r\n# Windows shortcuts\r\n*.lnk\r\n# ----- linux rules -----\r\n*.swp\r\n# taken from https://github.com/github/gitignore/blob/main/Global/Linux.gitignore\r\n*~\r\n# temporary files which can be created if a process still has a handle open of a deleted file\r\n.fuse_hidden*\r\n# KDE directory preferences\r\n.directory\r\n# Linux trash folder which might appear on any partition or disk\r\n.Trash-*\r\n# .nfs files are created when an open file is removed but is still being accessed\r\n.nfs*\r\n");
|
|
17
17
|
const gitattributesContract = Contract.createCreate(".gitattributes", "PlainText", "**/dataset/** filter=lfs diff=lfs merge=lfs -text");
|
|
18
18
|
class Init {
|
|
19
19
|
constructor() {
|
|
@@ -2,10 +2,10 @@ import { FSharpResult$2_$union } from '@fable-org/fable-library-js/Result.js';
|
|
|
2
2
|
import { Contract } from '../Contract/Contract.js';
|
|
3
3
|
export declare function fulfillReadContractAsync(basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
4
4
|
export declare function fullfillContractBatchAsyncBy(contractF: ((arg0: string, arg1: Contract) => Promise<FSharpResult$2_$union<Contract, string>>), basePath: string, cs: Contract[]): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
5
|
-
export declare function fulfillWriteContractAsync(basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
5
|
+
export declare function fulfillWriteContractAsync(forceOverwrite: boolean, basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
6
6
|
export declare function fulfillUpdateContractAsync(basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
7
7
|
export declare function fullfillRenameContractAsync(basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
8
8
|
export declare function fullfillDeleteContractAsync(basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
9
|
-
export declare function fullFillContract(basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
10
|
-
export declare function fullFillContractBatchAsync(basePath: string, cs: Contract[]): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
9
|
+
export declare function fullFillContract(forceOverwrite: boolean, basePath: string, c: Contract): Promise<FSharpResult$2_$union<Contract, string>>;
|
|
10
|
+
export declare function fullFillContractBatchAsync(forceOverwrite: boolean, basePath: string, cs: Contract[]): Promise<FSharpResult$2_$union<Contract[], string[]>>;
|
|
11
11
|
//# sourceMappingURL=ContractIO.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContractIO.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/ContractIO/ContractIO.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,qBAAqB,EAAwB,MAAM,uCAAuC,CAAC;AACvH,OAAO,EAAoC,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAWrF,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAkDxH;AAED,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,qBAAqB,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CA+BpO;AAED,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"ContractIO.d.ts","sourceRoot":"","sources":["../../../../src/ARC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AAc,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAQzI;AAED,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,qBAAqB,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CAE1J"}
|
|
@@ -6,7 +6,7 @@ import { PromiseBuilder__Run_212F1D4B, PromiseBuilder__Delay_62FBFDE1 } from '..
|
|
|
6
6
|
import { promise } from '../fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js';
|
|
7
7
|
import { value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
8
8
|
import { combine } from '../FileSystem/Path.js';
|
|
9
|
-
import { readFileTextAsync, readFileXlsxAsync, ensureDirectoryOfFileAsync, writeFileTextAsync, writeFileXlsxAsync, renameFileOrDirectoryAsync, deleteFileOrDirectoryAsync } from './FileSystemHelper.js';
|
|
9
|
+
import { readFileTextAsync, readFileXlsxAsync, fileExistsAsync, ensureDirectoryOfFileAsync, writeFileTextAsync, writeFileXlsxAsync, renameFileOrDirectoryAsync, deleteFileOrDirectoryAsync } from './FileSystemHelper.js';
|
|
10
10
|
import { curry2 } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
11
11
|
import { fold, append } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
12
12
|
|
|
@@ -92,27 +92,31 @@ function fullfillContractBatchAsyncBy(contractF, basePath, cs) {
|
|
|
92
92
|
return Promise.resolve(res);
|
|
93
93
|
})));
|
|
94
94
|
}
|
|
95
|
-
function fulfillWriteContractAsync(basePath, c) {
|
|
95
|
+
function fulfillWriteContractAsync(forceOverwrite, basePath, c) {
|
|
96
96
|
return catchWith((e_1) => {
|
|
97
|
-
let
|
|
98
|
-
return FSharpResult$2_Error((
|
|
99
|
-
}, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => PromiseBuilder__Delay_62FBFDE1(promise, () => {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
const path_2 = combine(basePath, c.Path);
|
|
103
|
-
return ensureDirectoryOfFileAsync(path_2).then(() => writeFileTextAsync(path_2, "").then(() => Promise.resolve(FSharpResult$2_Ok(c))));
|
|
104
|
-
} else if (typeof value(matchValue) === "string") {
|
|
105
|
-
const t = value(matchValue);
|
|
106
|
-
const path = combine(basePath, c.Path);
|
|
107
|
-
return ensureDirectoryOfFileAsync(path).then(() => writeFileTextAsync(path, t).then(() => Promise.resolve(FSharpResult$2_Ok(c))));
|
|
97
|
+
let arg_5;
|
|
98
|
+
return FSharpResult$2_Error((arg_5 = e_1.message, toText(printf("Error writing contract %s: %s"))(c.Path)(arg_5)));
|
|
99
|
+
}, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => PromiseBuilder__Delay_62FBFDE1(promise, () => fileExistsAsync(combine(basePath, c.Path)).then((_arg) => {
|
|
100
|
+
if (_arg && !forceOverwrite) {
|
|
101
|
+
return Promise.resolve(FSharpResult$2_Error(toText(printf("Contract %s already exists and overwrite is not allowed"))(c.Path)));
|
|
108
102
|
} else {
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
|
|
103
|
+
const matchValue = c.DTO;
|
|
104
|
+
if (matchValue == null) {
|
|
105
|
+
const path_2 = combine(basePath, c.Path);
|
|
106
|
+
return ensureDirectoryOfFileAsync(path_2).then(() => writeFileTextAsync(path_2, "").then(() => Promise.resolve(FSharpResult$2_Ok(c))));
|
|
107
|
+
} else if (typeof value(matchValue) === "string") {
|
|
108
|
+
const t = value(matchValue);
|
|
109
|
+
const path = combine(basePath, c.Path);
|
|
110
|
+
return ensureDirectoryOfFileAsync(path).then(() => writeFileTextAsync(path, t).then(() => Promise.resolve(FSharpResult$2_Ok(c))));
|
|
111
|
+
} else {
|
|
112
|
+
const wb = value(matchValue);
|
|
113
|
+
const path_1 = combine(basePath, c.Path);
|
|
114
|
+
return ensureDirectoryOfFileAsync(path_1).then(() => writeFileXlsxAsync(path_1, wb).then(() => Promise.resolve(FSharpResult$2_Ok(c))));
|
|
115
|
+
}
|
|
112
116
|
}
|
|
113
|
-
}).catch((
|
|
114
|
-
let
|
|
115
|
-
return Promise.resolve(FSharpResult$2_Error((
|
|
117
|
+
})).catch((_arg_7) => {
|
|
118
|
+
let arg_3;
|
|
119
|
+
return Promise.resolve(FSharpResult$2_Error((arg_3 = _arg_7.message, toText(printf("Error writing contract %s: %s"))(c.Path)(arg_3))));
|
|
116
120
|
}))));
|
|
117
121
|
}
|
|
118
122
|
function fulfillUpdateContractAsync(basePath, c) {
|
|
@@ -188,17 +192,17 @@ function fullfillDeleteContractAsync(basePath, c) {
|
|
|
188
192
|
return Promise.resolve(FSharpResult$2_Error((arg_1 = _arg_1.message, toText(printf("Error deleting contract %s: %s"))(c.Path)(arg_1))));
|
|
189
193
|
}))));
|
|
190
194
|
}
|
|
191
|
-
function fullFillContract(basePath, c) {
|
|
195
|
+
function fullFillContract(forceOverwrite, basePath, c) {
|
|
192
196
|
return catchWith((e) => {
|
|
193
197
|
let arg_2;
|
|
194
198
|
return FSharpResult$2_Error((arg_2 = e.message, toText(printf("Error fulfilling contract %s: %s"))(c.Path)(arg_2)));
|
|
195
199
|
}, PromiseBuilder__Run_212F1D4B(promise, PromiseBuilder__Delay_62FBFDE1(promise, () => {
|
|
196
200
|
const matchValue = c.Operation;
|
|
197
|
-
return matchValue === "READ" ? fulfillReadContractAsync(basePath, c) : matchValue === "CREATE" ? fulfillWriteContractAsync(basePath, c) : matchValue === "UPDATE" ? fulfillUpdateContractAsync(basePath, c) : matchValue === "DELETE" ? fullfillDeleteContractAsync(basePath, c) : matchValue === "RENAME" ? fullfillRenameContractAsync(basePath, c) : Promise.resolve(FSharpResult$2_Error(toText(printf("Operation %A not supported"))(c.Operation)));
|
|
201
|
+
return matchValue === "READ" ? fulfillReadContractAsync(basePath, c) : matchValue === "CREATE" ? fulfillWriteContractAsync(forceOverwrite, basePath, c) : matchValue === "UPDATE" ? fulfillUpdateContractAsync(basePath, c) : matchValue === "DELETE" ? fullfillDeleteContractAsync(basePath, c) : matchValue === "RENAME" ? fullfillRenameContractAsync(basePath, c) : Promise.resolve(FSharpResult$2_Error(toText(printf("Operation %A not supported"))(c.Operation)));
|
|
198
202
|
})));
|
|
199
203
|
}
|
|
200
|
-
function fullFillContractBatchAsync(basePath, cs) {
|
|
201
|
-
return fullfillContractBatchAsyncBy(fullFillContract, basePath, cs);
|
|
204
|
+
function fullFillContractBatchAsync(forceOverwrite, basePath, cs) {
|
|
205
|
+
return fullfillContractBatchAsyncBy((basePath_1, c) => fullFillContract(forceOverwrite, basePath_1, c), basePath, cs);
|
|
202
206
|
}
|
|
203
207
|
|
|
204
208
|
export { fulfillReadContractAsync, fulfillUpdateContractAsync, fulfillWriteContractAsync, fullFillContract, fullFillContractBatchAsync, fullfillContractBatchAsyncBy, fullfillDeleteContractAsync, fullfillRenameContractAsync };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
2
|
import { isComplexType, cwlTypeToYamlString, writeYaml, encodeCWLType } from '../CWL/Encode.js';
|
|
3
|
-
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
4
|
-
import { YAMLElement_Sequence, YAMLElement_Comment } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
5
|
-
import { object } from '../fable_modules/YAMLicious.1.0.0-alpha.
|
|
3
|
+
import { read } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js';
|
|
4
|
+
import { YAMLElement_Sequence, YAMLElement_Comment } from '../fable_modules/YAMLicious.1.0.0-alpha.7/YAMLiciousTypes.fs.js';
|
|
5
|
+
import { object } from '../fable_modules/YAMLicious.1.0.0-alpha.7/Decode.fs.js';
|
|
6
6
|
import { Decode_cwlTypeDecoder$0027, Decode_cwlTypeStringMatcher } from '../CWL/Decode.js';
|
|
7
7
|
import { isEmpty, head, tail } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
8
8
|
import { value, defaultArg, unwrap, bind, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datamap.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/Datamap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuD,sBAAsB,EAAsC,MAAM,4BAA4B,CAAC;AAC7J,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAoB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAA0B,oBAAoB,EAAqC,MAAM,0BAA0B,CAAC;AAC3H,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,eAAO,MAAM,qBAAqB,EAAE,sBAA6D,CAAC;AAElG,eAAO,MAAM,sBAAsB,EAAE,kBAAkH,CAAC;AAExJ,eAAO,MAAM,4BAA4B,EAAE,sBAA0E,CAAC;AAEtH,eAAO,MAAM,eAAe,EAAE,kBAAsG,CAAC;AAErI,eAAO,MAAM,qBAAqB,EAAE,sBAAmE,CAAC;AAExG,eAAO,MAAM,qBAAqB,EAAE,kBAA8G,CAAC;AAEnJ,eAAO,MAAM,2BAA2B,EAAE,sBAAyE,CAAC;AAEpH,eAAO,MAAM,sBAAsB,EAAE,sBAA0D,CAAC;AAEhG,eAAO,MAAM,4BAA4B,EAAE,sBAAgE,CAAC;AAE5G,eAAO,MAAM,4BAA4B,EAAE,sBA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,GAAG,IAAI;IAMzD,cAAc,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,WAAW;IAKxE,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,KAAK,WAAW,CAAC;IAGpG,IAAI,IAAI,OAAO;IAKf,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAIzB,WAAW,IAAI,KAAK;IAKpB,MAAM,KAAK,QAAQ,IAAI,MAAM,CAE5B;CACJ;AAED,wBAAgB,mBAAmB,IAAI,QAAQ,CAE9C;AAED,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,OAAO,CAE3E"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CompositeHeader_Input, IOType_Data, CompositeHeader_Parameter, CompositeHeader_FreeText } from './Table/CompositeHeader.js';
|
|
2
2
|
import { OntologyAnnotation } from './OntologyAnnotation.js';
|
|
3
3
|
import { ofArray } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
4
|
-
import { map, iterateIndexed } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
|
+
import { map, iterateIndexed, append } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
5
|
import { value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
6
|
import { CompositeCell, CompositeCell_Term, CompositeCell_FreeText } from './Table/CompositeCell.js';
|
|
7
|
+
import { DataContext } from './DataContext.js';
|
|
7
8
|
import { hash, boxHashSeq } from './Helper/HashCodes.js';
|
|
8
9
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
9
10
|
|
|
@@ -159,8 +160,9 @@ class Datamap {
|
|
|
159
160
|
return hash(this$) === hash(obj);
|
|
160
161
|
}
|
|
161
162
|
GetHashCode() {
|
|
163
|
+
let source_1;
|
|
162
164
|
const this$ = this;
|
|
163
|
-
return boxHashSeq(this$["dataContexts@108"]) | 0;
|
|
165
|
+
return boxHashSeq((source_1 = this$["dataContexts@108"], append([new DataContext()], source_1))) | 0;
|
|
164
166
|
}
|
|
165
167
|
static get FileName() {
|
|
166
168
|
return "isa.datamap.xlsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyAnnotation.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/OntologyAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAU,MAAM,uCAAuC,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AASxC,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,qBAAa,kBAAmB,YAAW,aAAa;IACpD,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACrC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;gBAC3C,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE;IAO5E,IAAI,IAAI,IAAI,MAAM,GAAG,SAAS,CAG7B;IACD,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAG5B;IACD,IAAI,aAAa,IAAI,MAAM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,MAAM,CAAA;KAAE;IAW1J,QAAQ,IAAI,MAAM;IAoBlB,OAAO,IAAI,OAAO;IAIlB,WAAW,IAAI,KAAK;IAKpB,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAwFzB,IAAI,IAAI,kBAAkB;IAQ1B,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAc/F,KAAK,IAAI,MAAM;IAIf,YAAY,IAAI,MAAM;IAItB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,KAAK;IAY1B,gBAAgB,IAAI,IAAI;CAK3B;AAED,wBAAgB,8BAA8B,IAAI,QAAQ,CAEzD;AAED,wBAAgB,kCAAkC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE,GAAG,kBAAkB,CAEvI"}
|
|
@@ -5,7 +5,7 @@ import { StringBuilder_$ctor, StringBuilder__Append_Z721C83C5 } from '../../node
|
|
|
5
5
|
import { join, toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
6
6
|
import { toList, delay, append, singleton, empty } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
7
|
import { toString } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
8
|
-
import { mergeHashes
|
|
8
|
+
import { mergeHashes } from './Helper/HashCodes.js';
|
|
9
9
|
import { stringHash, safeHash } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
10
10
|
import { ResizeArray_map } from './Helper/Collections.js';
|
|
11
11
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
@@ -151,8 +151,82 @@ class OntologyAnnotation {
|
|
|
151
151
|
return mergeHashes((matchValue = this$.Name, matchValue == null ? 0 : stringHash(value(matchValue))), (matchValue_1 = this$.TermSourceREF, matchValue_2 = this$.TANInfo, matchValue_1 != null ? matchValue_2 == null ? (tsr_1 = value(matchValue_1), matchValue_4 = this$.TermAccessionNumber, matchValue_4 == null ? stringHash(tsr_1.toLocaleLowerCase()) : (tan = value(matchValue_4), mergeHashes(stringHash(tsr_1.toLocaleLowerCase()), stringHash(tan)))) : (taninfo_1 = value(matchValue_2), tsr = value(matchValue_1), mergeHashes(stringHash(tsr.toLocaleLowerCase()), stringHash(taninfo_1.LocalID))) : matchValue_2 == null ? 0 : (taninfo = value(matchValue_2), mergeHashes(stringHash(taninfo.IDSpace.toLocaleLowerCase()), stringHash(taninfo.LocalID))))) | 0;
|
|
152
152
|
}
|
|
153
153
|
Equals(obj) {
|
|
154
|
+
let matchValue_8, matchValue_9, t1_1, t2_1, matchValue_5, matchValue_6, t1, t2;
|
|
154
155
|
const this$ = this;
|
|
155
|
-
|
|
156
|
+
if (obj instanceof OntologyAnnotation) {
|
|
157
|
+
const oa = obj;
|
|
158
|
+
let equalName;
|
|
159
|
+
const matchValue = this$.Name;
|
|
160
|
+
const matchValue_1 = oa.Name;
|
|
161
|
+
let matchResult, n1, n2;
|
|
162
|
+
if (matchValue == null) {
|
|
163
|
+
if (matchValue_1 == null) {
|
|
164
|
+
matchResult = 1;
|
|
165
|
+
} else {
|
|
166
|
+
matchResult = 2;
|
|
167
|
+
}
|
|
168
|
+
} else if (matchValue_1 != null) {
|
|
169
|
+
matchResult = 0;
|
|
170
|
+
n1 = value(matchValue);
|
|
171
|
+
n2 = value(matchValue_1);
|
|
172
|
+
} else {
|
|
173
|
+
matchResult = 2;
|
|
174
|
+
}
|
|
175
|
+
switch (matchResult) {
|
|
176
|
+
case 0: {
|
|
177
|
+
equalName = n1 === n2;
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
case 1: {
|
|
181
|
+
equalName = true;
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
default:
|
|
185
|
+
equalName = false;
|
|
186
|
+
}
|
|
187
|
+
const matchValue_3 = this$.TANInfo;
|
|
188
|
+
if (matchValue_3 == null) {
|
|
189
|
+
if (equalName && (matchValue_8 = this$.TermSourceREF, matchValue_9 = oa.TermSourceREF, matchValue_8 == null ? matchValue_9 == null : matchValue_9 != null && (t1_1 = value(matchValue_8), t2_1 = value(matchValue_9), t1_1.toLocaleLowerCase() === t2_1.toLocaleLowerCase()))) {
|
|
190
|
+
const matchValue_11 = this$.TermAccessionNumber;
|
|
191
|
+
const matchValue_12 = oa.TermAccessionNumber;
|
|
192
|
+
let matchResult_1, tan1, tan2;
|
|
193
|
+
if (matchValue_11 == null) {
|
|
194
|
+
if (matchValue_12 == null) {
|
|
195
|
+
matchResult_1 = 1;
|
|
196
|
+
} else {
|
|
197
|
+
matchResult_1 = 2;
|
|
198
|
+
}
|
|
199
|
+
} else if (matchValue_12 != null) {
|
|
200
|
+
matchResult_1 = 0;
|
|
201
|
+
tan1 = value(matchValue_11);
|
|
202
|
+
tan2 = value(matchValue_12);
|
|
203
|
+
} else {
|
|
204
|
+
matchResult_1 = 2;
|
|
205
|
+
}
|
|
206
|
+
switch (matchResult_1) {
|
|
207
|
+
case 0:
|
|
208
|
+
return tan1.toLocaleLowerCase() === tan2.toLocaleLowerCase();
|
|
209
|
+
case 1:
|
|
210
|
+
return true;
|
|
211
|
+
default:
|
|
212
|
+
return false;
|
|
213
|
+
}
|
|
214
|
+
} else {
|
|
215
|
+
return false;
|
|
216
|
+
}
|
|
217
|
+
} else {
|
|
218
|
+
const taninfo1 = value(matchValue_3);
|
|
219
|
+
const matchValue_4 = oa.TANInfo;
|
|
220
|
+
if (matchValue_4 == null) {
|
|
221
|
+
return false;
|
|
222
|
+
} else {
|
|
223
|
+
const taninfo2 = value(matchValue_4);
|
|
224
|
+
return equalName && (matchValue_5 = this$.TermSourceREF, matchValue_6 = oa.TermSourceREF, matchValue_5 != null ? matchValue_6 != null ? (t1 = value(matchValue_5), t2 = value(matchValue_6), t1.toLocaleLowerCase() === t2.toLocaleLowerCase()) : true : true) && taninfo1.IDSpace.toLocaleLowerCase() === taninfo2.IDSpace.toLocaleLowerCase() && taninfo1.LocalID === taninfo2.LocalID;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
} else {
|
|
228
|
+
return false;
|
|
229
|
+
}
|
|
156
230
|
}
|
|
157
231
|
Copy() {
|
|
158
232
|
const this$ = this;
|
|
@@ -13,6 +13,9 @@ import { CompositeColumn } from './CompositeColumn.js';
|
|
|
13
13
|
* `columCellOption` is used to decide between `CompositeCell.Term` or `CompositeCell.Unitized`. `columCellOption` can be any other cell in the same column, preferably the first one.
|
|
14
14
|
*/
|
|
15
15
|
export declare function getEmptyCellForHeader(header: CompositeHeader_$union, columCellOption: Option<CompositeCell_$union>): CompositeCell_$union;
|
|
16
|
+
/**
|
|
17
|
+
* For a given CompositeCell, check whether its hash is already part of the valueMap. If it is, return the hash. If it is not, add it to the valueMap and return the hash. In case of a hash collision, we add a fixed value (linear probing).
|
|
18
|
+
*/
|
|
16
19
|
export declare function ensureCellHashInValueMap(value: CompositeCell_$union, valueMap: IMap<int32, CompositeCell_$union>): int32;
|
|
17
20
|
export type ColumnValueRefs_$union = ColumnValueRefs<0> | ColumnValueRefs<1>;
|
|
18
21
|
export type ColumnValueRefs_$cases = {
|