@nfdi4plants/arctrl 3.0.0-beta.12 → 3.0.0-beta.14
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/README.md +30 -3
- package/dist/ts/index.d.ts +17 -16
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +18 -17
- package/dist/ts/ts/ARC.d.ts +11 -6
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +79 -55
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +19 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +26 -0
- package/dist/ts/ts/CWL/CWLTypes.d.ts +92 -0
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLTypes.js +173 -0
- package/dist/ts/ts/CWL/Decode.d.ts +94 -0
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Decode.js +649 -0
- package/dist/ts/ts/CWL/Encode.d.ts +28 -0
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Encode.js +546 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -0
- package/dist/ts/ts/CWL/HashHelpers.js +35 -0
- package/dist/ts/ts/CWL/Inputs.d.ts +28 -0
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Inputs.js +62 -0
- package/dist/ts/ts/CWL/Outputs.d.ts +25 -0
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Outputs.js +59 -0
- package/dist/ts/ts/CWL/ParameterReference.d.ts +23 -0
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ParameterReference.js +60 -0
- package/dist/ts/ts/CWL/Requirements.d.ts +71 -0
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -0
- package/dist/ts/ts/CWL/Requirements.js +116 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ToolDescription.js +80 -0
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +34 -0
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -0
- package/dist/ts/ts/CWL/WorkflowDescription.js +80 -0
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -0
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -0
- package/dist/ts/ts/CWL/WorkflowSteps.js +99 -0
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +27 -9
- package/dist/ts/ts/Contract/ArcRun.d.ts +6 -0
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +131 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +3 -0
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +70 -4
- package/dist/ts/ts/Contract/Datamap.d.ts +25 -25
- package/dist/ts/ts/Contract/Datamap.js +34 -34
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +3 -1
- package/dist/ts/ts/Conversion/Assay.d.ts +13 -0
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Assay.js +69 -0
- package/dist/ts/ts/Conversion/Basic.d.ts +105 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Basic.js +452 -0
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts +11 -0
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/ColumnIndex.js +71 -0
- package/dist/ts/ts/Conversion/Datamap.d.ts +11 -0
- package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Datamap.js +21 -0
- package/dist/ts/ts/Conversion/DateTime.d.ts +4 -0
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/DateTime.js +23 -0
- package/dist/ts/ts/Conversion/Investigation.d.ts +12 -0
- package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Investigation.js +59 -0
- package/dist/ts/ts/Conversion/Person.d.ts +16 -0
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Person.js +100 -0
- package/dist/ts/ts/Conversion/Process.d.ts +84 -0
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Process.js +455 -0
- package/dist/ts/ts/Conversion/Run.d.ts +26 -0
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Run.js +190 -0
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +16 -0
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +116 -0
- package/dist/ts/ts/Conversion/Study.d.ts +12 -0
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Study.js +51 -0
- package/dist/ts/ts/Conversion/Table.d.ts +45 -0
- package/dist/ts/ts/Conversion/Table.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Table.js +203 -0
- package/dist/ts/ts/Conversion/Workflow.d.ts +45 -0
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Conversion/Workflow.js +305 -0
- package/dist/ts/ts/Conversion.d.ts +23 -274
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +62 -1475
- package/dist/ts/ts/Core/ArcTypes.d.ts +69 -59
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +222 -142
- package/dist/ts/ts/Core/{DataMap.d.ts → Datamap.d.ts} +24 -24
- package/dist/ts/ts/Core/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Core/{DataMap.js → Datamap.js} +36 -36
- package/dist/ts/ts/Core/Helper/Identifier.d.ts +24 -0
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +34 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +4 -4
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -27
- package/dist/ts/ts/Json/Assay.js +5 -5
- package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/{DataMap/DataMap.d.ts → Datamap/Datamap.d.ts} +6 -6
- package/dist/ts/ts/Json/{DataMap/DataMap.d.ts.map → Datamap/Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Json/{DataMap/DataMap.js → Datamap/Datamap.js} +2 -2
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDContext.js +21 -11
- package/dist/ts/ts/Json/ROCrate/LDNode.js +2 -2
- package/dist/ts/ts/Json/Run.js +5 -5
- package/dist/ts/ts/Json/Study.js +5 -5
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Json/Workflow.js +10 -11
- package/dist/ts/ts/Json.d.ts +3 -3
- package/dist/ts/ts/Json.js +3 -3
- package/dist/ts/ts/JsonIO/Datamap.d.ts +4 -4
- package/dist/ts/ts/JsonIO/Datamap.js +6 -6
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +35 -31
- package/dist/ts/ts/ROCrate/LDObject.d.ts +2 -2
- package/dist/ts/ts/ROCrate/LDObject.js +2 -2
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +61 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +338 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +39 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +219 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +43 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +224 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.d.ts +32 -22
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Dataset.js +45 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/File.d.ts +10 -4
- package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/File.js +34 -1
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +59 -0
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +344 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProcess.d.ts +2 -0
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProcess.js +31 -5
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProtocol.d.ts +6 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/LabProtocol.js +66 -15
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PropertyValue.d.ts +35 -11
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PropertyValue.js +191 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +46 -0
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +247 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +12 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +40 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +11 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +46 -0
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +2 -2
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/ROCrateContext.js +6 -6
- package/dist/ts/ts/ROCrateIO.js +6 -6
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcRun.js +2 -2
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +2 -2
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts +8 -0
- package/dist/ts/ts/Spreadsheet/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMap.js → Datamap.js} +9 -9
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts → DatamapTable/DatamapColumn.d.ts} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts.map → DatamapTable/DatamapColumn.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.js → DatamapTable/DatamapColumn.js} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts → DatamapTable/DatamapHeader.d.ts} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts.map → DatamapTable/DatamapHeader.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts → DatamapTable/DatamapTable.d.ts} +5 -5
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts.map → DatamapTable/DatamapTable.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.js → DatamapTable/DatamapTable.js} +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +4 -4
- package/dist/ts/ts/Xlsx.d.ts +5 -5
- package/dist/ts/ts/Xlsx.js +1 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynObj.fs.js +109 -0
- package/package.json +1 -1
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/File.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/LabProcess.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.d.ts.map +0 -1
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.d.ts.map +0 -1
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts +0 -8
- /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts +0 -0
- /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Comment.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/CreativeWork.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/DefinedTerm.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Organization.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Person.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/PostalAddress.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/Sample.js +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.d.ts +0 -0
- /package/dist/ts/ts/ROCrate/{Generic → LDTypes}/ScholarlyArticle.js +0 -0
- /package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.js → DatamapTable/DatamapHeader.js} +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/DynamicObj.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/FableJS.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/HashCodes.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/PropertyHelper.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{DynamicObj.7.0.1 → DynamicObj.7.1.0}/ReflectionUtils.fs.js +0 -0
|
@@ -6,31 +6,31 @@ import { CompositeCell_$union } from './Table/CompositeCell.js';
|
|
|
6
6
|
import { DataContext } from './DataContext.js';
|
|
7
7
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
8
8
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare function
|
|
21
|
-
export declare function
|
|
22
|
-
export declare function
|
|
23
|
-
export declare function
|
|
24
|
-
export declare function
|
|
25
|
-
export declare function
|
|
26
|
-
export declare class
|
|
9
|
+
export declare const DatamapAux_dataHeader: CompositeHeader_$union;
|
|
10
|
+
export declare const DatamapAux_explication: OntologyAnnotation;
|
|
11
|
+
export declare const DatamapAux_explicationHeader: CompositeHeader_$union;
|
|
12
|
+
export declare const DatamapAux_unit: OntologyAnnotation;
|
|
13
|
+
export declare const DatamapAux_unitHeader: CompositeHeader_$union;
|
|
14
|
+
export declare const DatamapAux_objectType: OntologyAnnotation;
|
|
15
|
+
export declare const DatamapAux_objectTypeHeader: CompositeHeader_$union;
|
|
16
|
+
export declare const DatamapAux_labelHeader: CompositeHeader_$union;
|
|
17
|
+
export declare const DatamapAux_descriptionHeader: CompositeHeader_$union;
|
|
18
|
+
export declare const DatamapAux_generatedByHeader: CompositeHeader_$union;
|
|
19
|
+
export declare const DatamapAux_allowedHeaders: FSharpList<CompositeHeader_$union>;
|
|
20
|
+
export declare function DatamapAux_getOntologyColumn(f: ((arg0: DataContext) => Option<OntologyAnnotation>), dataContexts: DataContext[]): CompositeCell_$union[];
|
|
21
|
+
export declare function DatamapAux_getStringColumn(f: ((arg0: DataContext) => Option<string>), dataContexts: DataContext[]): CompositeCell_$union[];
|
|
22
|
+
export declare function DatamapAux_setOntologyColumn(f: ((arg0: DataContext, arg1: Option<OntologyAnnotation>) => void), column: CompositeCell_$union[], dataContexts: DataContext[]): void;
|
|
23
|
+
export declare function DatamapAux_setStringColumn(f: ((arg0: DataContext, arg1: Option<string>) => void), column: CompositeCell_$union[], dataContexts: DataContext[]): void;
|
|
24
|
+
export declare function DatamapAux_SanityChecks_rowIndexInBoundaries(row: int32, dataContexts: DataContext[]): void;
|
|
25
|
+
export declare function DatamapAux_SanityChecks_lengthOfNewColumn(newColumn: CompositeCell_$union[], dataContexts: DataContext[]): void;
|
|
26
|
+
export declare class Datamap {
|
|
27
27
|
staticHash: int32;
|
|
28
28
|
"dataContexts@108": DataContext[];
|
|
29
29
|
constructor(dataContexts: DataContext[]);
|
|
30
30
|
get StaticHash(): int32;
|
|
31
31
|
set StaticHash(value: int32);
|
|
32
32
|
get DataContexts(): DataContext[];
|
|
33
|
-
static init():
|
|
33
|
+
static init(): Datamap;
|
|
34
34
|
GetExplicationColumn(): CompositeCell_$union[];
|
|
35
35
|
SetExplicationColumn(cells: CompositeCell_$union[]): void;
|
|
36
36
|
GetUnitColumn(): CompositeCell_$union[];
|
|
@@ -42,12 +42,12 @@ export declare class DataMap {
|
|
|
42
42
|
GetDescriptionColumn(): CompositeCell_$union[];
|
|
43
43
|
SetDescriptionColumn(cells: CompositeCell_$union[]): void;
|
|
44
44
|
GetDataContext<$b>(row: int32, SkipValidation?: Option<$b>): DataContext;
|
|
45
|
-
static getDataContext<$a>(row: int32, SkipValidation?: Option<$a>): ((arg0:
|
|
46
|
-
Copy():
|
|
45
|
+
static getDataContext<$a>(row: int32, SkipValidation?: Option<$a>): ((arg0: Datamap) => DataContext);
|
|
46
|
+
Copy(): Datamap;
|
|
47
47
|
Equals(obj: any): boolean;
|
|
48
48
|
GetHashCode(): int32;
|
|
49
49
|
static get FileName(): string;
|
|
50
50
|
}
|
|
51
|
-
export declare function
|
|
52
|
-
export declare function
|
|
53
|
-
//# sourceMappingURL=
|
|
51
|
+
export declare function Datamap_$reflection(): TypeInfo;
|
|
52
|
+
export declare function Datamap_$ctor_4E3220A7(dataContexts: DataContext[]): Datamap;
|
|
53
|
+
//# sourceMappingURL=Datamap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
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,EAAyR,WAAW,EAAE,MAAM,kB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AC,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;IAIpB,MAAM,KAAK,QAAQ,IAAI,MAAM,CAE5B;CACJ;AAED,wBAAgB,mBAAmB,IAAI,QAAQ,CAE9C;AAED,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,OAAO,CAE3E"}
|
|
@@ -8,18 +8,18 @@ import { DataContext__get_Explication, DataContext__set_Explication_279AAFF2, Da
|
|
|
8
8
|
import { hash, boxHashSeq } from './Helper/HashCodes.js';
|
|
9
9
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
10
10
|
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
function
|
|
11
|
+
const DatamapAux_dataHeader = CompositeHeader_Input(IOType_Data());
|
|
12
|
+
const DatamapAux_explication = new OntologyAnnotation("Clarification", "NCIT", "http://purl.obolibrary.org/obo/NCIT_C94778");
|
|
13
|
+
const DatamapAux_explicationHeader = CompositeHeader_Parameter(DatamapAux_explication);
|
|
14
|
+
const DatamapAux_unit = new OntologyAnnotation("Unit", "UO", "http://purl.obolibrary.org/obo/UO_0000000");
|
|
15
|
+
const DatamapAux_unitHeader = CompositeHeader_Parameter(DatamapAux_unit);
|
|
16
|
+
const DatamapAux_objectType = new OntologyAnnotation("Data Type", "NCIT", "http://purl.obolibrary.org/obo/NCIT_C42645");
|
|
17
|
+
const DatamapAux_objectTypeHeader = CompositeHeader_Parameter(DatamapAux_objectType);
|
|
18
|
+
const DatamapAux_labelHeader = CompositeHeader_FreeText("Label");
|
|
19
|
+
const DatamapAux_descriptionHeader = CompositeHeader_FreeText("Description");
|
|
20
|
+
const DatamapAux_generatedByHeader = CompositeHeader_FreeText("Generated By");
|
|
21
|
+
const DatamapAux_allowedHeaders = ofArray([DatamapAux_dataHeader, DatamapAux_explicationHeader, DatamapAux_unitHeader, DatamapAux_objectTypeHeader, DatamapAux_descriptionHeader, DatamapAux_generatedByHeader]);
|
|
22
|
+
function DatamapAux_getOntologyColumn(f, dataContexts) {
|
|
23
23
|
const collection = map((dc) => {
|
|
24
24
|
const matchValue = f(dc);
|
|
25
25
|
if (matchValue == null) {
|
|
@@ -30,7 +30,7 @@ function DataMapAux_getOntologyColumn(f, dataContexts) {
|
|
|
30
30
|
}, dataContexts);
|
|
31
31
|
return Array.from(collection);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function DatamapAux_getStringColumn(f, dataContexts) {
|
|
34
34
|
const collection = map((dc) => {
|
|
35
35
|
const matchValue = f(dc);
|
|
36
36
|
if (matchValue == null) {
|
|
@@ -41,7 +41,7 @@ function DataMapAux_getStringColumn(f, dataContexts) {
|
|
|
41
41
|
}, dataContexts);
|
|
42
42
|
return Array.from(collection);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function DatamapAux_setOntologyColumn(f, column, dataContexts) {
|
|
45
45
|
iterateIndexed((i, cell) => {
|
|
46
46
|
if (cell.tag === /* Term */
|
|
47
47
|
0) {
|
|
@@ -50,7 +50,7 @@ function DataMapAux_setOntologyColumn(f, column, dataContexts) {
|
|
|
50
50
|
}
|
|
51
51
|
}, column);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function DatamapAux_setStringColumn(f, column, dataContexts) {
|
|
54
54
|
iterateIndexed((i, cell) => {
|
|
55
55
|
if (cell.tag === /* FreeText */
|
|
56
56
|
1) {
|
|
@@ -59,7 +59,7 @@ function DataMapAux_setStringColumn(f, column, dataContexts) {
|
|
|
59
59
|
}
|
|
60
60
|
}, column);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function DatamapAux_SanityChecks_rowIndexInBoundaries(row, dataContexts) {
|
|
63
63
|
if (row < 0) {
|
|
64
64
|
throw new Error("Row index must be greater or equal to 0.");
|
|
65
65
|
}
|
|
@@ -67,12 +67,12 @@ function DataMapAux_SanityChecks_rowIndexInBoundaries(row, dataContexts) {
|
|
|
67
67
|
throw new Error("Row index must be less than the number of rows.");
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function DatamapAux_SanityChecks_lengthOfNewColumn(newColumn, dataContexts) {
|
|
71
71
|
if (newColumn.length !== dataContexts.length) {
|
|
72
72
|
throw new Error("Length of new column does not match length of data contexts.");
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
class
|
|
75
|
+
class Datamap {
|
|
76
76
|
constructor(dataContexts) {
|
|
77
77
|
this.staticHash = 0;
|
|
78
78
|
this["dataContexts@108"] = dataContexts;
|
|
@@ -90,61 +90,61 @@ class DataMap {
|
|
|
90
90
|
return this$["dataContexts@108"];
|
|
91
91
|
}
|
|
92
92
|
static init() {
|
|
93
|
-
return new
|
|
93
|
+
return new Datamap([]);
|
|
94
94
|
}
|
|
95
95
|
GetExplicationColumn() {
|
|
96
96
|
const this$ = this;
|
|
97
|
-
return
|
|
97
|
+
return DatamapAux_getOntologyColumn(DataContext__get_Explication, this$["dataContexts@108"]);
|
|
98
98
|
}
|
|
99
99
|
SetExplicationColumn(cells) {
|
|
100
100
|
const this$ = this;
|
|
101
|
-
|
|
101
|
+
DatamapAux_setOntologyColumn((dc, oa) => {
|
|
102
102
|
DataContext__set_Explication_279AAFF2(dc, oa);
|
|
103
103
|
}, cells, this$["dataContexts@108"]);
|
|
104
104
|
}
|
|
105
105
|
GetUnitColumn() {
|
|
106
106
|
const this$ = this;
|
|
107
|
-
return
|
|
107
|
+
return DatamapAux_getOntologyColumn(DataContext__get_Unit, this$["dataContexts@108"]);
|
|
108
108
|
}
|
|
109
109
|
SetUnitColumn(cells) {
|
|
110
110
|
const this$ = this;
|
|
111
|
-
|
|
111
|
+
DatamapAux_setOntologyColumn((dc, oa) => {
|
|
112
112
|
DataContext__set_Unit_279AAFF2(dc, oa);
|
|
113
113
|
}, cells, this$["dataContexts@108"]);
|
|
114
114
|
}
|
|
115
115
|
GetObjectTypeColumn() {
|
|
116
116
|
const this$ = this;
|
|
117
|
-
return
|
|
117
|
+
return DatamapAux_getOntologyColumn(DataContext__get_ObjectType, this$["dataContexts@108"]);
|
|
118
118
|
}
|
|
119
119
|
SetDataTypeColumn(cells) {
|
|
120
120
|
const this$ = this;
|
|
121
|
-
|
|
121
|
+
DatamapAux_setOntologyColumn((dc, oa) => {
|
|
122
122
|
DataContext__set_ObjectType_279AAFF2(dc, oa);
|
|
123
123
|
}, cells, this$["dataContexts@108"]);
|
|
124
124
|
}
|
|
125
125
|
GetLabelColumn() {
|
|
126
126
|
const this$ = this;
|
|
127
|
-
return
|
|
127
|
+
return DatamapAux_getStringColumn((dc) => dc.Name, this$["dataContexts@108"]);
|
|
128
128
|
}
|
|
129
129
|
SetLabelColumn(cells) {
|
|
130
130
|
const this$ = this;
|
|
131
|
-
|
|
131
|
+
DatamapAux_setStringColumn((dc, s) => {
|
|
132
132
|
dc.Name = s;
|
|
133
133
|
}, cells, this$["dataContexts@108"]);
|
|
134
134
|
}
|
|
135
135
|
GetDescriptionColumn() {
|
|
136
136
|
const this$ = this;
|
|
137
|
-
return
|
|
137
|
+
return DatamapAux_getStringColumn(DataContext__get_Description, this$["dataContexts@108"]);
|
|
138
138
|
}
|
|
139
139
|
SetDescriptionColumn(cells) {
|
|
140
140
|
const this$ = this;
|
|
141
|
-
|
|
141
|
+
DatamapAux_setStringColumn((dc, s) => {
|
|
142
142
|
DataContext__set_Description_6DFDD678(dc, s);
|
|
143
143
|
}, cells, this$["dataContexts@108"]);
|
|
144
144
|
}
|
|
145
145
|
GetDataContext(row, SkipValidation) {
|
|
146
146
|
const this$ = this;
|
|
147
|
-
|
|
147
|
+
DatamapAux_SanityChecks_rowIndexInBoundaries(row, this$["dataContexts@108"]);
|
|
148
148
|
return this$["dataContexts@108"][row];
|
|
149
149
|
}
|
|
150
150
|
static getDataContext(row, SkipValidation) {
|
|
@@ -153,7 +153,7 @@ class DataMap {
|
|
|
153
153
|
Copy() {
|
|
154
154
|
let collection;
|
|
155
155
|
const this$ = this;
|
|
156
|
-
return new
|
|
156
|
+
return new Datamap((collection = map(DataContext__Copy, this$["dataContexts@108"]), Array.from(collection)));
|
|
157
157
|
}
|
|
158
158
|
Equals(obj) {
|
|
159
159
|
const this$ = this;
|
|
@@ -167,11 +167,11 @@ class DataMap {
|
|
|
167
167
|
return "isa.datamap.xlsx";
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
return class_type("ARCtrl.
|
|
170
|
+
function Datamap_$reflection() {
|
|
171
|
+
return class_type("ARCtrl.Datamap", void 0, Datamap);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
return new
|
|
173
|
+
function Datamap_$ctor_4E3220A7(dataContexts) {
|
|
174
|
+
return new Datamap(dataContexts);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Datamap, DatamapAux_SanityChecks_lengthOfNewColumn, DatamapAux_SanityChecks_rowIndexInBoundaries, DatamapAux_allowedHeaders, DatamapAux_dataHeader, DatamapAux_descriptionHeader, DatamapAux_explication, DatamapAux_explicationHeader, DatamapAux_generatedByHeader, DatamapAux_getOntologyColumn, DatamapAux_getStringColumn, DatamapAux_labelHeader, DatamapAux_objectType, DatamapAux_objectTypeHeader, DatamapAux_setOntologyColumn, DatamapAux_setStringColumn, DatamapAux_unit, DatamapAux_unitHeader, Datamap_$ctor_4E3220A7, Datamap_$reflection };
|
|
@@ -80,6 +80,14 @@ export declare function Workflow_fileNameFromIdentifier(identifier: string): str
|
|
|
80
80
|
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/isa.workflow.xlsx`.
|
|
81
81
|
*/
|
|
82
82
|
export declare function Workflow_tryFileNameFromIdentifier(identifier: string): Option<string>;
|
|
83
|
+
/**
|
|
84
|
+
* On writing a cwl file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/workflow.cwl`.
|
|
85
|
+
*/
|
|
86
|
+
export declare function Workflow_cwlFileNameFromIdentifier(identifier: string): string;
|
|
87
|
+
/**
|
|
88
|
+
* On writing a cwl file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/workflow.cwl`.
|
|
89
|
+
*/
|
|
90
|
+
export declare function Workflow_tryCwlFileNameFromIdentifier(identifier: string): Option<string>;
|
|
83
91
|
/**
|
|
84
92
|
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `workflows/workflowIdentifier/isa.datamap.xlsx`.
|
|
85
93
|
*/
|
|
@@ -108,6 +116,22 @@ export declare function Run_fileNameFromIdentifier(identifier: string): string;
|
|
|
108
116
|
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/isa.run.xlsx`.
|
|
109
117
|
*/
|
|
110
118
|
export declare function Run_tryFileNameFromIdentifier(identifier: string): Option<string>;
|
|
119
|
+
/**
|
|
120
|
+
* On writing a cwl file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/run.cwl`.
|
|
121
|
+
*/
|
|
122
|
+
export declare function Run_cwlFileNameFromIdentifier(identifier: string): string;
|
|
123
|
+
/**
|
|
124
|
+
* On writing a cwl file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/run.cwl`.
|
|
125
|
+
*/
|
|
126
|
+
export declare function Run_tryCwlFileNameFromIdentifier(identifier: string): Option<string>;
|
|
127
|
+
/**
|
|
128
|
+
* On writing a yml file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/run.yml`.
|
|
129
|
+
*/
|
|
130
|
+
export declare function Run_ymlFileNameFromIdentifier(identifier: string): string;
|
|
131
|
+
/**
|
|
132
|
+
* On writing a yml file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/run.yml`.
|
|
133
|
+
*/
|
|
134
|
+
export declare function Run_tryYmlFileNameFromIdentifier(identifier: string): Option<string>;
|
|
111
135
|
/**
|
|
112
136
|
* On writing a xlsx file we unify our output to a relative path to ARC root. So: `runs/runIdentifier/isa.datamap.xlsx`.
|
|
113
137
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Identifier.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Helper/Identifier.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAGtE,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAOnE;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAM7D;AAED,wBAAgB,uBAAuB,IAAI,MAAM,CAGhD;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAExD;AAED,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAO3D;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CASrE;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAShF;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAGvE;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAOlF;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAG9E;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,UAA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GAAG,MAAM,CAGjF;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAO5F;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CASnE;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAS9E;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAGrE;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAOhF;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAGxE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAOnF;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAGxE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAOnF;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAG5E;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAOvF"}
|
|
@@ -139,6 +139,17 @@ function Workflow_tryFileNameFromIdentifier(identifier) {
|
|
|
139
139
|
return void 0;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
+
function Workflow_cwlFileNameFromIdentifier(identifier) {
|
|
143
|
+
checkValidCharacters(identifier);
|
|
144
|
+
return combineMany(["workflows", identifier, "workflow.cwl"]);
|
|
145
|
+
}
|
|
146
|
+
function Workflow_tryCwlFileNameFromIdentifier(identifier) {
|
|
147
|
+
if (tryCheckValidCharacters(identifier)) {
|
|
148
|
+
return combineMany(["workflows", identifier, "workflow.cwl"]);
|
|
149
|
+
} else {
|
|
150
|
+
return void 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
142
153
|
function Workflow_datamapFileNameFromIdentifier(identifier) {
|
|
143
154
|
checkValidCharacters(identifier);
|
|
144
155
|
return combineMany(["workflows", identifier, "isa.datamap.xlsx"]);
|
|
@@ -179,6 +190,28 @@ function Run_tryFileNameFromIdentifier(identifier) {
|
|
|
179
190
|
return void 0;
|
|
180
191
|
}
|
|
181
192
|
}
|
|
193
|
+
function Run_cwlFileNameFromIdentifier(identifier) {
|
|
194
|
+
checkValidCharacters(identifier);
|
|
195
|
+
return combineMany(["runs", identifier, "run.cwl"]);
|
|
196
|
+
}
|
|
197
|
+
function Run_tryCwlFileNameFromIdentifier(identifier) {
|
|
198
|
+
if (tryCheckValidCharacters(identifier)) {
|
|
199
|
+
return combineMany(["runs", identifier, "run.cwl"]);
|
|
200
|
+
} else {
|
|
201
|
+
return void 0;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
function Run_ymlFileNameFromIdentifier(identifier) {
|
|
205
|
+
checkValidCharacters(identifier);
|
|
206
|
+
return combineMany(["runs", identifier, "run.yml"]);
|
|
207
|
+
}
|
|
208
|
+
function Run_tryYmlFileNameFromIdentifier(identifier) {
|
|
209
|
+
if (tryCheckValidCharacters(identifier)) {
|
|
210
|
+
return combineMany(["runs", identifier, "run.yml"]);
|
|
211
|
+
} else {
|
|
212
|
+
return void 0;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
182
215
|
function Run_datamapFileNameFromIdentifier(identifier) {
|
|
183
216
|
checkValidCharacters(identifier);
|
|
184
217
|
return combineMany(["runs", identifier, "isa.datamap.xlsx"]);
|
|
@@ -191,4 +224,4 @@ function Run_tryDatamapFileNameFromIdentifier(identifier) {
|
|
|
191
224
|
}
|
|
192
225
|
}
|
|
193
226
|
|
|
194
|
-
export { Assay_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Assay_identifierFromFileName, Assay_tryDatamapFileNameFromIdentifier, Assay_tryFileNameFromIdentifier, Assay_tryIdentifierFromFileName, Run_datamapFileNameFromIdentifier, Run_fileNameFromIdentifier, Run_identifierFromFileName, Run_tryDatamapFileNameFromIdentifier, Run_tryFileNameFromIdentifier, Run_tryIdentifierFromFileName, Study_datamapFileNameFromIdentifier, Study_fileNameFromIdentifier, Study_identifierFromFileName, Study_tryDatamapFileNameFromIdentifier, Study_tryFileNameFromIdentifier, Study_tryIdentifierFromFileName, Workflow_datamapFileNameFromIdentifier, Workflow_fileNameFromIdentifier, Workflow_identifierFromFileName, Workflow_tryDatamapFileNameFromIdentifier, Workflow_tryFileNameFromIdentifier, Workflow_tryIdentifierFromFileName, checkValidCharacters, createMissingIdentifier, isMissingIdentifier, removeMissingIdentifier, tryCheckValidCharacters };
|
|
227
|
+
export { Assay_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Assay_identifierFromFileName, Assay_tryDatamapFileNameFromIdentifier, Assay_tryFileNameFromIdentifier, Assay_tryIdentifierFromFileName, Run_cwlFileNameFromIdentifier, Run_datamapFileNameFromIdentifier, Run_fileNameFromIdentifier, Run_identifierFromFileName, Run_tryCwlFileNameFromIdentifier, Run_tryDatamapFileNameFromIdentifier, Run_tryFileNameFromIdentifier, Run_tryIdentifierFromFileName, Run_tryYmlFileNameFromIdentifier, Run_ymlFileNameFromIdentifier, Study_datamapFileNameFromIdentifier, Study_fileNameFromIdentifier, Study_identifierFromFileName, Study_tryDatamapFileNameFromIdentifier, Study_tryFileNameFromIdentifier, Study_tryIdentifierFromFileName, Workflow_cwlFileNameFromIdentifier, Workflow_datamapFileNameFromIdentifier, Workflow_fileNameFromIdentifier, Workflow_identifierFromFileName, Workflow_tryCwlFileNameFromIdentifier, Workflow_tryDatamapFileNameFromIdentifier, Workflow_tryFileNameFromIdentifier, Workflow_tryIdentifierFromFileName, checkValidCharacters, createMissingIdentifier, isMissingIdentifier, removeMissingIdentifier, tryCheckValidCharacters };
|
|
@@ -41,10 +41,10 @@ export declare class FileSystemTree<Tag extends keyof FileSystemTree_$cases> ext
|
|
|
41
41
|
static createGitKeepFile(): FileSystemTree_$union;
|
|
42
42
|
static createReadmeFile(): FileSystemTree_$union;
|
|
43
43
|
static createEmptyFolder(name: string): FileSystemTree_$union;
|
|
44
|
-
static createAssayFolder(assayName: string,
|
|
45
|
-
static createStudyFolder(studyName: string,
|
|
46
|
-
static createWorkflowFolder(workflowName: string,
|
|
47
|
-
static createRunFolder(runName: string,
|
|
44
|
+
static createAssayFolder(assayName: string, hasDatamap?: boolean): FileSystemTree_$union;
|
|
45
|
+
static createStudyFolder(studyName: string, hasDatamap?: boolean): FileSystemTree_$union;
|
|
46
|
+
static createWorkflowFolder(workflowName: string, hasCWL?: boolean, hasDatamap?: boolean): FileSystemTree_$union;
|
|
47
|
+
static createRunFolder(runName: string, hasCWL?: boolean, hasYML?: boolean, hasDatamap?: boolean): FileSystemTree_$union;
|
|
48
48
|
static createInvestigationFile(): FileSystemTree_$union;
|
|
49
49
|
static createLicenseFile(): FileSystemTree_$union;
|
|
50
50
|
static createAssaysFolder(assays: FileSystemTree_$union[]): FileSystemTree_$union;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileSystemTree.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/FileSystem/FileSystemTree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAc,MAAM,uCAAuC,CAAC;AAQnF,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAuC,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAE1G,MAAM,MAAM,qBAAqB,GAC3B,cAAc,CAAC,CAAC,CAAC,GACjB,cAAc,CAAC,CAAC,CAAC,CAAA;AAEvB,MAAM,MAAM,qBAAqB,GAAG;IA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qB,EAAE,GAAG,qBAAqB;IAGvF,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,qBAAqB,EAAE,GAAG,qBAAqB;CAGhF;AAED,wBAAgB,0BAA0B,IAAI,QAAQ,CAErD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { tryFind, item, tryPick, head, tail, map, equalsWith, choose, append as append$1 } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
3
3
|
import { split, combineMany } from './Path.js';
|
|
4
|
-
import { toArray, delay, append, singleton } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
|
+
import { toArray, delay, append, singleton, empty as empty$1 } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
5
|
import { Array_groupBy, Array_distinct } from '../../node_modules/@fable-org/fable-library-js/Seq2.js';
|
|
6
6
|
import { stringHash, arrayHash, curry2 } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
7
7
|
import { cons, toArray as toArray$1, reverse, empty } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
@@ -272,53 +272,46 @@ class FileSystemTree extends Union {
|
|
|
272
272
|
static createEmptyFolder(name) {
|
|
273
273
|
return FileSystemTree.createFolder(name, [FileSystemTree.createGitKeepFile()]);
|
|
274
274
|
}
|
|
275
|
-
static createAssayFolder(assayName,
|
|
276
|
-
const
|
|
275
|
+
static createAssayFolder(assayName, hasDatamap) {
|
|
276
|
+
const hasDatamap_1 = defaultArg(hasDatamap, false);
|
|
277
277
|
const dataset = FileSystemTree.createEmptyFolder("dataset");
|
|
278
278
|
const protocols = FileSystemTree.createEmptyFolder("protocols");
|
|
279
279
|
const readme = FileSystemTree.createReadmeFile();
|
|
280
280
|
const assayFile = FileSystemTree.createFile("isa.assay.xlsx");
|
|
281
|
-
if (
|
|
282
|
-
const
|
|
283
|
-
return FileSystemTree.createFolder(assayName, [dataset, protocols, assayFile, readme,
|
|
281
|
+
if (hasDatamap_1) {
|
|
282
|
+
const datamapFile = FileSystemTree.createFile("isa.datamap.xlsx");
|
|
283
|
+
return FileSystemTree.createFolder(assayName, [dataset, protocols, assayFile, readme, datamapFile]);
|
|
284
284
|
} else {
|
|
285
285
|
return FileSystemTree.createFolder(assayName, [dataset, protocols, assayFile, readme]);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
static createStudyFolder(studyName,
|
|
289
|
-
const
|
|
288
|
+
static createStudyFolder(studyName, hasDatamap) {
|
|
289
|
+
const hasDatamap_1 = defaultArg(hasDatamap, false);
|
|
290
290
|
const resources = FileSystemTree.createEmptyFolder("resources");
|
|
291
291
|
const protocols = FileSystemTree.createEmptyFolder("protocols");
|
|
292
292
|
const readme = FileSystemTree.createReadmeFile();
|
|
293
293
|
const studyFile = FileSystemTree.createFile("isa.study.xlsx");
|
|
294
|
-
if (
|
|
295
|
-
const
|
|
296
|
-
return FileSystemTree.createFolder(studyName, [resources, protocols, studyFile, readme,
|
|
294
|
+
if (hasDatamap_1) {
|
|
295
|
+
const datamapFile = FileSystemTree.createFile("isa.datamap.xlsx");
|
|
296
|
+
return FileSystemTree.createFolder(studyName, [resources, protocols, studyFile, readme, datamapFile]);
|
|
297
297
|
} else {
|
|
298
298
|
return FileSystemTree.createFolder(studyName, [resources, protocols, studyFile, readme]);
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
static createWorkflowFolder(workflowName,
|
|
302
|
-
const
|
|
301
|
+
static createWorkflowFolder(workflowName, hasCWL, hasDatamap) {
|
|
302
|
+
const hasDatamap_1 = defaultArg(hasDatamap, false);
|
|
303
|
+
const hasCWL_1 = defaultArg(hasCWL, false);
|
|
303
304
|
const readme = FileSystemTree.createReadmeFile();
|
|
304
305
|
const workflowFile = FileSystemTree.createFile("isa.workflow.xlsx");
|
|
305
|
-
|
|
306
|
-
const dataMapFile = FileSystemTree.createFile("isa.datamap.xlsx");
|
|
307
|
-
return FileSystemTree.createFolder(workflowName, [workflowFile, readme, dataMapFile]);
|
|
308
|
-
} else {
|
|
309
|
-
return FileSystemTree.createFolder(workflowName, [workflowFile, readme]);
|
|
310
|
-
}
|
|
306
|
+
return FileSystemTree.createFolder(workflowName, toArray(delay(() => append(singleton(workflowFile), delay(() => append(singleton(readme), delay(() => append(hasCWL_1 ? singleton(FileSystemTree.createFile("workflow.cwl")) : empty$1(), delay(() => hasDatamap_1 ? singleton(FileSystemTree.createFile("isa.datamap.xlsx")) : empty$1())))))))));
|
|
311
307
|
}
|
|
312
|
-
static createRunFolder(runName,
|
|
313
|
-
const
|
|
308
|
+
static createRunFolder(runName, hasCWL, hasYML, hasDatamap) {
|
|
309
|
+
const hasDatamap_1 = defaultArg(hasDatamap, false);
|
|
310
|
+
const hasCWL_1 = defaultArg(hasCWL, false);
|
|
311
|
+
const hasYML_1 = defaultArg(hasYML, false);
|
|
314
312
|
const readme = FileSystemTree.createReadmeFile();
|
|
315
313
|
const runFile = FileSystemTree.createFile("isa.run.xlsx");
|
|
316
|
-
|
|
317
|
-
const dataMapFile = FileSystemTree.createFile("isa.datamap.xlsx");
|
|
318
|
-
return FileSystemTree.createFolder(runName, [runFile, readme, dataMapFile]);
|
|
319
|
-
} else {
|
|
320
|
-
return FileSystemTree.createFolder(runName, [runFile, readme]);
|
|
321
|
-
}
|
|
314
|
+
return FileSystemTree.createFolder(runName, toArray(delay(() => append(singleton(runFile), delay(() => append(singleton(readme), delay(() => append(hasCWL_1 ? singleton(FileSystemTree.createFile("run.cwl")) : empty$1(), delay(() => append(hasYML_1 ? singleton(FileSystemTree.createFile("run.yml")) : empty$1(), delay(() => hasDatamap_1 ? singleton(FileSystemTree.createFile("isa.datamap.xlsx")) : empty$1())))))))))));
|
|
322
315
|
}
|
|
323
316
|
static createInvestigationFile() {
|
|
324
317
|
return FileSystemTree.createFile("isa.investigation.xlsx");
|
package/dist/ts/ts/Json/Assay.js
CHANGED
|
@@ -2,7 +2,7 @@ import { choose, ofArray, singleton, empty } from '../../node_modules/@fable-org
|
|
|
2
2
|
import { map, unwrap, defaultArg, value, bind } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
3
|
import { tryInclude, tryIncludeSeq, tryIncludeList } from './Encode.js';
|
|
4
4
|
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder, OntologyAnnotation_ROCrate_encoderPropertyValue, OntologyAnnotation_ROCrate_encoderDefinedTerm, OntologyAnnotation_ROCrate_decoderPropertyValue, OntologyAnnotation_ROCrate_decoderDefinedTerm, OntologyAnnotation_ISAJson_encoder, OntologyAnnotation_ISAJson_decoder } from './OntologyAnnotation.js';
|
|
5
|
-
import { encoder as encoder$1, decoder as decoder$2, encoderCompressed as encoderCompressed$2, decoderCompressed as decoderCompressed$2 } from './
|
|
5
|
+
import { encoder as encoder$1, decoder as decoder$2, encoderCompressed as encoderCompressed$2, decoderCompressed as decoderCompressed$2 } from './Datamap/Datamap.js';
|
|
6
6
|
import { encoder as encoder$2, decoder as decoder$1, encoderCompressed as encoderCompressed$1, decoderCompressed as decoderCompressed$1 } from './Table/ArcTable.js';
|
|
7
7
|
import { encoder as encoder$3, decoder as decoder$3, ROCrate_encoder as ROCrate_encoder$1, ROCrate_decoder as ROCrate_decoder$2 } from './Person.js';
|
|
8
8
|
import { encoder as encoder$4, decoder as decoder$4, ROCrate_encoder as ROCrate_encoder$4, ROCrate_decoder as ROCrate_decoder$3, ISAJson_encoder as ISAJson_encoder$3, ISAJson_decoder as ISAJson_decoder$2 } from './Comment.js';
|
|
@@ -38,7 +38,7 @@ function encoder(assay) {
|
|
|
38
38
|
Encode(helpers_2) {
|
|
39
39
|
return helpers_2.encodeString(value_3);
|
|
40
40
|
}
|
|
41
|
-
}), assay.Description), tryInclude("MeasurementType", OntologyAnnotation_encoder, assay.MeasurementType), tryInclude("TechnologyType", OntologyAnnotation_encoder, assay.TechnologyType), tryInclude("TechnologyPlatform", OntologyAnnotation_encoder, assay.TechnologyPlatform), tryInclude("
|
|
41
|
+
}), assay.Description), tryInclude("MeasurementType", OntologyAnnotation_encoder, assay.MeasurementType), tryInclude("TechnologyType", OntologyAnnotation_encoder, assay.TechnologyType), tryInclude("TechnologyPlatform", OntologyAnnotation_encoder, assay.TechnologyPlatform), tryInclude("Datamap", encoder$1, assay.Datamap), tryIncludeSeq("Tables", encoder$2, assay.Tables), tryIncludeSeq("Performers", encoder$3, assay.Performers), tryIncludeSeq("Comments", encoder$4, assay.Comments)]));
|
|
42
42
|
return {
|
|
43
43
|
Encode(helpers_3) {
|
|
44
44
|
const arg = map$1((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_3)], values_1);
|
|
@@ -48,7 +48,7 @@ function encoder(assay) {
|
|
|
48
48
|
}
|
|
49
49
|
const decoder = object((get$) => {
|
|
50
50
|
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, objectArg_7, arg_17, objectArg_8, arg_19, objectArg_9;
|
|
51
|
-
return ArcAssay.create((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("MeasurementType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("TechnologyType", OntologyAnnotation_decoder))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("TechnologyPlatform", OntologyAnnotation_decoder))), unwrap((arg_13 = resizeArray(decoder$1), objectArg_6 = get$.Optional, objectArg_6.Field("Tables", arg_13))), unwrap((objectArg_7 = get$.Optional, objectArg_7.Field("
|
|
51
|
+
return ArcAssay.create((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("MeasurementType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("TechnologyType", OntologyAnnotation_decoder))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("TechnologyPlatform", OntologyAnnotation_decoder))), unwrap((arg_13 = resizeArray(decoder$1), objectArg_6 = get$.Optional, objectArg_6.Field("Tables", arg_13))), unwrap((objectArg_7 = get$.Optional, objectArg_7.Field("Datamap", decoder$2))), unwrap((arg_17 = resizeArray(decoder$3), objectArg_8 = get$.Optional, objectArg_8.Field("Performers", arg_17))), unwrap((arg_19 = resizeArray(decoder$4), objectArg_9 = get$.Optional, objectArg_9.Field("Comments", arg_19))));
|
|
52
52
|
});
|
|
53
53
|
function encoderCompressed(stringTable, oaTable, cellTable, assay) {
|
|
54
54
|
let value;
|
|
@@ -64,7 +64,7 @@ function encoderCompressed(stringTable, oaTable, cellTable, assay) {
|
|
|
64
64
|
Encode(helpers_2) {
|
|
65
65
|
return helpers_2.encodeString(value_3);
|
|
66
66
|
}
|
|
67
|
-
}), assay.Description), tryInclude("MeasurementType", OntologyAnnotation_encoder, assay.MeasurementType), tryInclude("TechnologyType", OntologyAnnotation_encoder, assay.TechnologyType), tryInclude("TechnologyPlatform", OntologyAnnotation_encoder, assay.TechnologyPlatform), tryIncludeSeq("Tables", (table) => encoderCompressed$1(stringTable, oaTable, cellTable, table), assay.Tables), tryInclude("
|
|
67
|
+
}), assay.Description), tryInclude("MeasurementType", OntologyAnnotation_encoder, assay.MeasurementType), tryInclude("TechnologyType", OntologyAnnotation_encoder, assay.TechnologyType), tryInclude("TechnologyPlatform", OntologyAnnotation_encoder, assay.TechnologyPlatform), tryIncludeSeq("Tables", (table) => encoderCompressed$1(stringTable, oaTable, cellTable, table), assay.Tables), tryInclude("Datamap", (dm) => encoderCompressed$2(stringTable, oaTable, cellTable, dm), assay.Datamap), tryIncludeSeq("Performers", encoder$3, assay.Performers), tryIncludeSeq("Comments", encoder$4, assay.Comments)]));
|
|
68
68
|
return {
|
|
69
69
|
Encode(helpers_3) {
|
|
70
70
|
const arg = map$1((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_3)], values_1);
|
|
@@ -75,7 +75,7 @@ function encoderCompressed(stringTable, oaTable, cellTable, assay) {
|
|
|
75
75
|
function decoderCompressed(stringTable, oaTable, cellTable) {
|
|
76
76
|
return object((get$) => {
|
|
77
77
|
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, objectArg_7, arg_17, objectArg_8, arg_19, objectArg_9;
|
|
78
|
-
return ArcAssay.create((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("MeasurementType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("TechnologyType", OntologyAnnotation_decoder))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("TechnologyPlatform", OntologyAnnotation_decoder))), unwrap((arg_13 = resizeArray(decoderCompressed$1(stringTable, oaTable, cellTable)), objectArg_6 = get$.Optional, objectArg_6.Field("Tables", arg_13))), unwrap((arg_15 = decoderCompressed$2(stringTable, oaTable, cellTable), objectArg_7 = get$.Optional, objectArg_7.Field("
|
|
78
|
+
return ArcAssay.create((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("MeasurementType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("TechnologyType", OntologyAnnotation_decoder))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("TechnologyPlatform", OntologyAnnotation_decoder))), unwrap((arg_13 = resizeArray(decoderCompressed$1(stringTable, oaTable, cellTable)), objectArg_6 = get$.Optional, objectArg_6.Field("Tables", arg_13))), unwrap((arg_15 = decoderCompressed$2(stringTable, oaTable, cellTable), objectArg_7 = get$.Optional, objectArg_7.Field("Datamap", arg_15))), unwrap((arg_17 = resizeArray(decoder$3), objectArg_8 = get$.Optional, objectArg_8.Field("Performers", arg_17))), unwrap((arg_19 = resizeArray(decoder$4), objectArg_9 = get$.Optional, objectArg_9.Field("Comments", arg_19))));
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
function ROCrate_genID(a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/
|
|
1
|
+
{"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Datamap/DataContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAKjH,OAAO,EAA+B,WAAW,EAAwK,MAAM,2BAA2B,CAAC;AAK3P,wBAAgB,OAAO,CAAC,EAAE,EAAE,WAAW,GAAG,UAAU,CAoBnD;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAMzC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
2
|
-
import {
|
|
2
|
+
import { Datamap } from '../../Core/Datamap.js';
|
|
3
3
|
import { IMap } from '@fable-org/fable-library-js/Util.js';
|
|
4
4
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
5
5
|
import { OntologyAnnotation } from '../../Core/OntologyAnnotation.js';
|
|
6
6
|
import { CompositeCell_$union } from '../../Core/Table/CompositeCell.js';
|
|
7
|
-
export declare function encoder(dm:
|
|
8
|
-
export declare const decoder: Decoder$1<
|
|
9
|
-
export declare function encoderCompressed(stringTable: IMap<string, int32>, oaTable: IMap<OntologyAnnotation, int32>, cellTable: IMap<CompositeCell_$union, int32>, dm:
|
|
10
|
-
export declare function decoderCompressed(stringTable: string[], oaTable: OntologyAnnotation[], cellTable: CompositeCell_$union[]): Decoder$1<
|
|
11
|
-
//# sourceMappingURL=
|
|
7
|
+
export declare function encoder(dm: Datamap): IEncodable;
|
|
8
|
+
export declare const decoder: Decoder$1<Datamap>;
|
|
9
|
+
export declare function encoderCompressed(stringTable: IMap<string, int32>, oaTable: IMap<OntologyAnnotation, int32>, cellTable: IMap<CompositeCell_$union, int32>, dm: Datamap): IEncodable;
|
|
10
|
+
export declare function decoderCompressed(stringTable: string[], oaTable: OntologyAnnotation[], cellTable: CompositeCell_$union[]): Decoder$1<Datamap>;
|
|
11
|
+
//# sourceMappingURL=Datamap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"Datamap.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Datamap/Datamap.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,wBAAgB,OAAO,CAAC,EAAE,EAAE,OAAO,GAAG,UAAU,CAQ/C;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,OAAO,CAGrC,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,OAAO,GAAG,UAAU,CAEnL;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,SAAS,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,CAE7I"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { seq } from '../../fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js';
|
|
2
2
|
import { map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
3
3
|
import { encoder as encoder$1, decoder as decoder$1 } from './DataContext.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Datamap } from '../../Core/Datamap.js';
|
|
5
5
|
import { object, resizeArray } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
6
6
|
|
|
7
7
|
function encoder(dm) {
|
|
@@ -15,7 +15,7 @@ function encoder(dm) {
|
|
|
15
15
|
}
|
|
16
16
|
const decoder = object((get$) => {
|
|
17
17
|
let arg_1, objectArg;
|
|
18
|
-
return new
|
|
18
|
+
return new Datamap((arg_1 = resizeArray(decoder$1), objectArg = get$.Required, objectArg.Field("dataContexts", arg_1)));
|
|
19
19
|
});
|
|
20
20
|
function encoderCompressed(stringTable, oaTable, cellTable, dm) {
|
|
21
21
|
return encoder(dm);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LDContext.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/ROCrate/LDContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkH,SAAS,EAAE,MAAM,uDAAuD,CAAC;AAC9M,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAWvD,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,SAAS,CA4CxC,CAAC;AAEF,wBAAgB,OAAO,CAAC,OAAO,EAAE,SAAS,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"LDContext.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/ROCrate/LDContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkH,SAAS,EAAE,MAAM,uDAAuD,CAAC;AAC9M,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAWvD,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,SAAS,CA4CxC,CAAC;AAEF,wBAAgB,OAAO,CAAC,OAAO,EAAE,SAAS,GAAG,UAAU,CA0EtD"}
|