@nfdi4plants/arctrl 2.5.1 → 3.0.0-alpha.2
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/ts/cjs/index.js +39 -0
- package/dist/ts/cjs/ts/ARC.js +965 -0
- package/dist/ts/cjs/ts/Contract/ARC.js +61 -0
- package/dist/ts/cjs/ts/Contract/ArcAssay.js +103 -0
- package/dist/ts/cjs/ts/Contract/ArcInvestigation.js +77 -0
- package/dist/ts/cjs/ts/Contract/ArcRun.js +103 -0
- package/dist/ts/cjs/ts/Contract/ArcStudy.js +103 -0
- package/dist/ts/cjs/ts/Contract/ArcWorkflow.js +104 -0
- package/dist/ts/cjs/ts/Contract/Contract.js +100 -0
- package/dist/ts/cjs/ts/Contract/Datamap.js +314 -0
- package/dist/ts/cjs/ts/Contract/Git.js +94 -0
- package/dist/ts/cjs/ts/Contract/ValidationPackagesConfig.js +97 -0
- package/dist/ts/cjs/ts/ContractIO/ContractIO.js +217 -0
- package/dist/ts/cjs/ts/ContractIO/FileSystemHelper.js +205 -0
- package/dist/ts/cjs/ts/Conversion.js +1700 -0
- package/dist/ts/cjs/ts/Core/ArcTypes.js +3803 -0
- package/dist/ts/cjs/ts/Core/Comment.js +106 -0
- package/dist/ts/cjs/ts/Core/CommentList.js +134 -0
- package/dist/ts/cjs/ts/Core/Conversion.js +1131 -0
- package/dist/ts/cjs/ts/Core/Data.js +194 -0
- package/dist/ts/cjs/ts/Core/DataContext.js +141 -0
- package/dist/ts/cjs/ts/Core/DataFile.js +98 -0
- package/dist/ts/cjs/ts/Core/DataMap.js +185 -0
- package/dist/ts/cjs/ts/Core/Helper/Collections.js +419 -0
- package/dist/ts/cjs/ts/Core/Helper/HashCodes.js +40 -0
- package/dist/ts/cjs/ts/Core/Helper/Identifier.js +329 -0
- package/dist/ts/cjs/ts/Core/Helper/ORCID.js +40 -0
- package/dist/ts/cjs/ts/Core/Helper/Printer.js +2 -0
- package/dist/ts/cjs/ts/Core/Helper/Regex.js +616 -0
- package/dist/ts/cjs/ts/Core/Helper/SemVer.js +59 -0
- package/dist/ts/cjs/ts/Core/Helper/Url.js +40 -0
- package/dist/ts/cjs/ts/Core/IPropertyValue.js +2 -0
- package/dist/ts/cjs/ts/Core/IdentifierSetters.js +27 -0
- package/dist/ts/cjs/ts/Core/OntologyAnnotation.js +215 -0
- package/dist/ts/cjs/ts/Core/OntologySourceReference.js +94 -0
- package/dist/ts/cjs/ts/Core/Person.js +196 -0
- package/dist/ts/cjs/ts/Core/Process/ColumnIndex.js +258 -0
- package/dist/ts/cjs/ts/Core/Process/Component.js +200 -0
- package/dist/ts/cjs/ts/Core/Process/Factor.js +111 -0
- package/dist/ts/cjs/ts/Core/Process/FactorValue.js +143 -0
- package/dist/ts/cjs/ts/Core/Process/Material.js +68 -0
- package/dist/ts/cjs/ts/Core/Process/MaterialAttribute.js +103 -0
- package/dist/ts/cjs/ts/Core/Process/MaterialAttributeValue.js +160 -0
- package/dist/ts/cjs/ts/Core/Process/MaterialType.js +51 -0
- package/dist/ts/cjs/ts/Core/Process/Process.js +371 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessInput.js +321 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessOutput.js +282 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessParameterValue.js +141 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessSequence.js +250 -0
- package/dist/ts/cjs/ts/Core/Process/Protocol.js +248 -0
- package/dist/ts/cjs/ts/Core/Process/ProtocolParameter.js +75 -0
- package/dist/ts/cjs/ts/Core/Process/Sample.js +73 -0
- package/dist/ts/cjs/ts/Core/Process/Source.js +56 -0
- package/dist/ts/cjs/ts/Core/Publication.js +118 -0
- package/dist/ts/cjs/ts/Core/Table/ArcTable.js +906 -0
- package/dist/ts/cjs/ts/Core/Table/ArcTableAux.js +582 -0
- package/dist/ts/cjs/ts/Core/Table/ArcTables.js +483 -0
- package/dist/ts/cjs/ts/Core/Table/CompositeCell.js +317 -0
- package/dist/ts/cjs/ts/Core/Table/CompositeColumn.js +58 -0
- package/dist/ts/cjs/ts/Core/Table/CompositeHeader.js +718 -0
- package/dist/ts/cjs/ts/Core/Template.js +196 -0
- package/dist/ts/cjs/ts/Core/Templates.js +86 -0
- package/dist/ts/cjs/ts/Core/URI.js +20 -0
- package/dist/ts/cjs/ts/Core/Value.js +191 -0
- package/dist/ts/cjs/ts/CrossAsync.js +35 -0
- package/dist/ts/cjs/ts/FileSystem/Commit.js +20 -0
- package/dist/ts/cjs/ts/FileSystem/DefaultGitattributes.js +4 -0
- package/dist/ts/cjs/ts/FileSystem/DefaultGitignore.js +4 -0
- package/dist/ts/cjs/ts/FileSystem/FileSystem.js +55 -0
- package/dist/ts/cjs/ts/FileSystem/FileSystemTree.js +322 -0
- package/dist/ts/cjs/ts/FileSystem/Path.js +63 -0
- package/dist/ts/cjs/ts/Json/Assay.js +234 -0
- package/dist/ts/cjs/ts/Json/Comment.js +119 -0
- package/dist/ts/cjs/ts/Json/Data.js +147 -0
- package/dist/ts/cjs/ts/Json/DataFile.js +54 -0
- package/dist/ts/cjs/ts/Json/DataMap/DataContext.js +40 -0
- package/dist/ts/cjs/ts/Json/DataMap/DataMap.js +30 -0
- package/dist/ts/cjs/ts/Json/Decode.js +126 -0
- package/dist/ts/cjs/ts/Json/Encode.js +75 -0
- package/dist/ts/cjs/ts/Json/IDTable.js +30 -0
- package/dist/ts/cjs/ts/Json/Investigation.js +254 -0
- package/dist/ts/cjs/ts/Json/OntologyAnnotation.js +207 -0
- package/dist/ts/cjs/ts/Json/OntologySourceReference.js +125 -0
- package/dist/ts/cjs/ts/Json/Person.js +338 -0
- package/dist/ts/cjs/ts/Json/Process/AssayMaterials.js +21 -0
- package/dist/ts/cjs/ts/Json/Process/Component.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/Factor.js +58 -0
- package/dist/ts/cjs/ts/Json/Process/FactorValue.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/Material.js +120 -0
- package/dist/ts/cjs/ts/Json/Process/MaterialAttribute.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/MaterialAttributeValue.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/MaterialType.js +46 -0
- package/dist/ts/cjs/ts/Json/Process/Process.js +109 -0
- package/dist/ts/cjs/ts/Json/Process/ProcessInput.js +38 -0
- package/dist/ts/cjs/ts/Json/Process/ProcessOutput.js +33 -0
- package/dist/ts/cjs/ts/Json/Process/ProcessParameterValue.js +33 -0
- package/dist/ts/cjs/ts/Json/Process/Protocol.js +180 -0
- package/dist/ts/cjs/ts/Json/Process/ProtocolParameter.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/Sample.js +176 -0
- package/dist/ts/cjs/ts/Json/Process/Source.js +145 -0
- package/dist/ts/cjs/ts/Json/Process/StudyMaterials.js +23 -0
- package/dist/ts/cjs/ts/Json/Process/Value.js +39 -0
- package/dist/ts/cjs/ts/Json/PropertyValue.js +300 -0
- package/dist/ts/cjs/ts/Json/Publication.js +130 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDContext.js +123 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDGraph.js +88 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDNode.js +213 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDRef.js +25 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDValue.js +70 -0
- package/dist/ts/cjs/ts/Json/StringTable.js +63 -0
- package/dist/ts/cjs/ts/Json/Study.js +347 -0
- package/dist/ts/cjs/ts/Json/Table/ArcTable.js +230 -0
- package/dist/ts/cjs/ts/Json/Table/CellTable.js +58 -0
- package/dist/ts/cjs/ts/Json/Table/CompositeCell.js +103 -0
- package/dist/ts/cjs/ts/Json/Table/CompositeHeader.js +108 -0
- package/dist/ts/cjs/ts/Json/Table/IOType.js +16 -0
- package/dist/ts/cjs/ts/Json/Table/OATable.js +55 -0
- package/dist/ts/cjs/ts/Json/Table/Templates.js +106 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_assay_context.js +89 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_comment_context.js +47 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_data_context.js +61 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_investigation_context.js +97 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_material_context.js +58 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_ontology_annotation_context.js +56 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +62 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_organization_context.js +42 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_person_context.js +112 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_process_context.js +82 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_protocol_context.js +85 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_publication_context.js +66 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_sample_context.js +53 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_source_context.js +53 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_study_context.js +113 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/property_value_context.js +61 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/rocrate_context.js +63 -0
- package/dist/ts/cjs/ts/Json.js +195 -0
- package/dist/ts/cjs/ts/JsonIO/Assay.js +104 -0
- package/dist/ts/cjs/ts/JsonIO/Investigation.js +104 -0
- package/dist/ts/cjs/ts/JsonIO/OntologyAnnotation.js +77 -0
- package/dist/ts/cjs/ts/JsonIO/Study.js +104 -0
- package/dist/ts/cjs/ts/JsonIO/Table/Compression.js +47 -0
- package/dist/ts/cjs/ts/JsonIO/Table/Templates.js +92 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Comment.js +117 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Dataset.js +671 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/DefinedTerm.js +117 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/File.js +202 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/LabProcess.js +240 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/LabProtocol.js +277 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Organization.js +73 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Person.js +413 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/PostalAddress.js +161 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/PropertyValue.js +550 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Sample.js +141 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/ScholarlyArticle.js +189 -0
- package/dist/ts/cjs/ts/ROCrate/Helper.js +7 -0
- package/dist/ts/cjs/ts/ROCrate/LDContext.js +284 -0
- package/dist/ts/cjs/ts/ROCrate/LDObject.js +984 -0
- package/dist/ts/cjs/ts/ROCrate/ROCrateContext.js +44 -0
- package/dist/ts/cjs/ts/ROCrateIO.js +64 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/ArcTable.js +165 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/CompositeCell.js +68 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +79 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +476 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcAssay.js +218 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcInvestigation.js +340 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcRun.js +177 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcStudy.js +130 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcWorkflow.js +166 -0
- package/dist/ts/cjs/ts/Spreadsheet/CollectionAux.js +128 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMap.js +41 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMapTable/DataMapColumn.js +43 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMapTable/DataMapHeader.js +480 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMapTable/DataMapTable.js +105 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Assays.js +98 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Comment.js +68 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Contacts.js +92 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Conversions.js +187 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/DesignDescriptors.js +25 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Factors.js +83 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/OntologyAnnotation.js +65 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/OntologySourceReference.js +68 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Protocols.js +103 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Publication.js +88 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Run.js +99 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/SparseTable.js +460 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Study.js +259 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Workflow.js +111 -0
- package/dist/ts/cjs/ts/Template.Web.js +29 -0
- package/dist/ts/cjs/ts/ValidationPackages/ValidationPackage.js +63 -0
- package/dist/ts/cjs/ts/ValidationPackages/ValidationPackagesConfig.js +90 -0
- package/dist/ts/cjs/ts/WebRequest/WebRequest.Node.js +17 -0
- package/dist/ts/cjs/ts/WebRequest/WebRequest.js +20 -0
- package/dist/ts/cjs/ts/Xlsx.js +133 -0
- package/dist/ts/cjs/ts/Yaml/Encode.js +9 -0
- package/dist/ts/cjs/ts/Yaml/ValidationPackage.js +49 -0
- package/dist/ts/cjs/ts/Yaml/ValidationPackagesConfig.js +50 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +444 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +142 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +53 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +23 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +87 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +5 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +123 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +360 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +220 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +20 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +431 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +186 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.js +477 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js +521 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.js +211 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.js +58 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.js +139 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.js +365 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.js +259 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.js +127 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.js +137 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js +140 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js +435 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.js +69 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.js +40 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.js +40 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.js +31 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.js +78 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.js +46 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.js +134 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.js +43 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.js +238 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.js +93 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.js +76 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.js +42 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.js +332 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.js +175 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +80 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +65 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +53 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +55 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +34 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +68 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +72 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +1316 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +200 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +103 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +97 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +59 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1723 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +75 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +13 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +50 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +104 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +527 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +12 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +235 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +166 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +174 -0
- package/dist/ts/esm/index.js +16 -0
- package/dist/ts/esm/ts/ARC.js +948 -0
- package/dist/ts/esm/ts/Contract/ARC.js +58 -0
- package/dist/ts/esm/ts/Contract/ArcAssay.js +93 -0
- package/dist/ts/esm/ts/Contract/ArcInvestigation.js +69 -0
- package/dist/ts/esm/ts/Contract/ArcRun.js +93 -0
- package/dist/ts/esm/ts/Contract/ArcStudy.js +93 -0
- package/dist/ts/esm/ts/Contract/ArcWorkflow.js +94 -0
- package/dist/ts/esm/ts/Contract/Contract.js +87 -0
- package/dist/ts/esm/ts/Contract/Datamap.js +287 -0
- package/dist/ts/esm/ts/Contract/Git.js +72 -0
- package/dist/ts/esm/ts/Contract/ValidationPackagesConfig.js +88 -0
- package/dist/ts/esm/ts/ContractIO/ContractIO.js +207 -0
- package/dist/ts/esm/ts/ContractIO/FileSystemHelper.js +176 -0
- package/dist/ts/esm/ts/Conversion.js +1582 -0
- package/dist/ts/esm/ts/Core/ArcTypes.js +3728 -0
- package/dist/ts/esm/ts/Core/Comment.js +98 -0
- package/dist/ts/esm/ts/Core/CommentList.js +126 -0
- package/dist/ts/esm/ts/Core/Conversion.js +1078 -0
- package/dist/ts/esm/ts/Core/Data.js +186 -0
- package/dist/ts/esm/ts/Core/DataContext.js +119 -0
- package/dist/ts/esm/ts/Core/DataFile.js +82 -0
- package/dist/ts/esm/ts/Core/DataMap.js +156 -0
- package/dist/ts/esm/ts/Core/Helper/Collections.js +390 -0
- package/dist/ts/esm/ts/Core/Helper/HashCodes.js +32 -0
- package/dist/ts/esm/ts/Core/Helper/Identifier.js +298 -0
- package/dist/ts/esm/ts/Core/Helper/ORCID.js +34 -0
- package/dist/ts/esm/ts/Core/Helper/Printer.js +1 -0
- package/dist/ts/esm/ts/Core/Helper/Regex.js +579 -0
- package/dist/ts/esm/ts/Core/Helper/SemVer.js +50 -0
- package/dist/ts/esm/ts/Core/Helper/Url.js +30 -0
- package/dist/ts/esm/ts/Core/IPropertyValue.js +1 -0
- package/dist/ts/esm/ts/Core/IdentifierSetters.js +21 -0
- package/dist/ts/esm/ts/Core/OntologyAnnotation.js +209 -0
- package/dist/ts/esm/ts/Core/OntologySourceReference.js +88 -0
- package/dist/ts/esm/ts/Core/Person.js +190 -0
- package/dist/ts/esm/ts/Core/Process/ColumnIndex.js +204 -0
- package/dist/ts/esm/ts/Core/Process/Component.js +180 -0
- package/dist/ts/esm/ts/Core/Process/Factor.js +106 -0
- package/dist/ts/esm/ts/Core/Process/FactorValue.js +127 -0
- package/dist/ts/esm/ts/Core/Process/Material.js +57 -0
- package/dist/ts/esm/ts/Core/Process/MaterialAttribute.js +86 -0
- package/dist/ts/esm/ts/Core/Process/MaterialAttributeValue.js +142 -0
- package/dist/ts/esm/ts/Core/Process/MaterialType.js +42 -0
- package/dist/ts/esm/ts/Core/Process/Process.js +341 -0
- package/dist/ts/esm/ts/Core/Process/ProcessInput.js +283 -0
- package/dist/ts/esm/ts/Core/Process/ProcessOutput.js +248 -0
- package/dist/ts/esm/ts/Core/Process/ProcessParameterValue.js +136 -0
- package/dist/ts/esm/ts/Core/Process/ProcessSequence.js +227 -0
- package/dist/ts/esm/ts/Core/Process/Protocol.js +210 -0
- package/dist/ts/esm/ts/Core/Process/ProtocolParameter.js +70 -0
- package/dist/ts/esm/ts/Core/Process/Sample.js +59 -0
- package/dist/ts/esm/ts/Core/Process/Source.js +45 -0
- package/dist/ts/esm/ts/Core/Publication.js +112 -0
- package/dist/ts/esm/ts/Core/Table/ArcTable.js +900 -0
- package/dist/ts/esm/ts/Core/Table/ArcTableAux.js +552 -0
- package/dist/ts/esm/ts/Core/Table/ArcTables.js +468 -0
- package/dist/ts/esm/ts/Core/Table/CompositeCell.js +308 -0
- package/dist/ts/esm/ts/Core/Table/CompositeColumn.js +53 -0
- package/dist/ts/esm/ts/Core/Table/CompositeHeader.js +691 -0
- package/dist/ts/esm/ts/Core/Template.js +186 -0
- package/dist/ts/esm/ts/Core/Templates.js +79 -0
- package/dist/ts/esm/ts/Core/URI.js +16 -0
- package/dist/ts/esm/ts/Core/Value.js +182 -0
- package/dist/ts/esm/ts/CrossAsync.js +27 -0
- package/dist/ts/esm/ts/FileSystem/Commit.js +15 -0
- package/dist/ts/esm/ts/FileSystem/DefaultGitattributes.js +1 -0
- package/dist/ts/esm/ts/FileSystem/DefaultGitignore.js +1 -0
- package/dist/ts/esm/ts/FileSystem/FileSystem.js +50 -0
- package/dist/ts/esm/ts/FileSystem/FileSystemTree.js +315 -0
- package/dist/ts/esm/ts/FileSystem/Path.js +51 -0
- package/dist/ts/esm/ts/Json/Assay.js +225 -0
- package/dist/ts/esm/ts/Json/Comment.js +111 -0
- package/dist/ts/esm/ts/Json/Data.js +138 -0
- package/dist/ts/esm/ts/Json/DataFile.js +50 -0
- package/dist/ts/esm/ts/Json/DataMap/DataContext.js +36 -0
- package/dist/ts/esm/ts/Json/DataMap/DataMap.js +24 -0
- package/dist/ts/esm/ts/Json/Decode.js +117 -0
- package/dist/ts/esm/ts/Json/Encode.js +63 -0
- package/dist/ts/esm/ts/Json/IDTable.js +26 -0
- package/dist/ts/esm/ts/Json/Investigation.js +244 -0
- package/dist/ts/esm/ts/Json/OntologyAnnotation.js +197 -0
- package/dist/ts/esm/ts/Json/OntologySourceReference.js +118 -0
- package/dist/ts/esm/ts/Json/Person.js +329 -0
- package/dist/ts/esm/ts/Json/Process/AssayMaterials.js +18 -0
- package/dist/ts/esm/ts/Json/Process/Component.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Factor.js +53 -0
- package/dist/ts/esm/ts/Json/Process/FactorValue.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Material.js +114 -0
- package/dist/ts/esm/ts/Json/Process/MaterialAttribute.js +42 -0
- package/dist/ts/esm/ts/Json/Process/MaterialAttributeValue.js +42 -0
- package/dist/ts/esm/ts/Json/Process/MaterialType.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Process.js +103 -0
- package/dist/ts/esm/ts/Json/Process/ProcessInput.js +33 -0
- package/dist/ts/esm/ts/Json/Process/ProcessOutput.js +28 -0
- package/dist/ts/esm/ts/Json/Process/ProcessParameterValue.js +28 -0
- package/dist/ts/esm/ts/Json/Process/Protocol.js +174 -0
- package/dist/ts/esm/ts/Json/Process/ProtocolParameter.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Sample.js +170 -0
- package/dist/ts/esm/ts/Json/Process/Source.js +139 -0
- package/dist/ts/esm/ts/Json/Process/StudyMaterials.js +20 -0
- package/dist/ts/esm/ts/Json/Process/Value.js +35 -0
- package/dist/ts/esm/ts/Json/PropertyValue.js +295 -0
- package/dist/ts/esm/ts/Json/Publication.js +123 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDContext.js +119 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDGraph.js +84 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDNode.js +207 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDRef.js +21 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDValue.js +65 -0
- package/dist/ts/esm/ts/Json/StringTable.js +56 -0
- package/dist/ts/esm/ts/Json/Study.js +337 -0
- package/dist/ts/esm/ts/Json/Table/ArcTable.js +221 -0
- package/dist/ts/esm/ts/Json/Table/CellTable.js +51 -0
- package/dist/ts/esm/ts/Json/Table/CompositeCell.js +97 -0
- package/dist/ts/esm/ts/Json/Table/CompositeHeader.js +104 -0
- package/dist/ts/esm/ts/Json/Table/IOType.js +12 -0
- package/dist/ts/esm/ts/Json/Table/OATable.js +48 -0
- package/dist/ts/esm/ts/Json/Table/Templates.js +98 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_assay_context.js +84 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_comment_context.js +42 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_data_context.js +56 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_investigation_context.js +92 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_material_context.js +53 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_ontology_annotation_context.js +51 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +57 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_organization_context.js +37 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_person_context.js +107 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_process_context.js +77 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_protocol_context.js +80 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_publication_context.js +61 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_sample_context.js +48 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_source_context.js +48 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_study_context.js +108 -0
- package/dist/ts/esm/ts/Json/context/rocrate/property_value_context.js +58 -0
- package/dist/ts/esm/ts/Json/context/rocrate/rocrate_context.js +58 -0
- package/dist/ts/esm/ts/Json.js +175 -0
- package/dist/ts/esm/ts/JsonIO/Assay.js +90 -0
- package/dist/ts/esm/ts/JsonIO/Investigation.js +90 -0
- package/dist/ts/esm/ts/JsonIO/OntologyAnnotation.js +66 -0
- package/dist/ts/esm/ts/JsonIO/Study.js +90 -0
- package/dist/ts/esm/ts/JsonIO/Table/Compression.js +43 -0
- package/dist/ts/esm/ts/JsonIO/Table/Templates.js +80 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Comment.js +112 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Dataset.js +666 -0
- package/dist/ts/esm/ts/ROCrate/Generic/DefinedTerm.js +112 -0
- package/dist/ts/esm/ts/ROCrate/Generic/File.js +197 -0
- package/dist/ts/esm/ts/ROCrate/Generic/LabProcess.js +235 -0
- package/dist/ts/esm/ts/ROCrate/Generic/LabProtocol.js +272 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Organization.js +68 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Person.js +408 -0
- package/dist/ts/esm/ts/ROCrate/Generic/PostalAddress.js +156 -0
- package/dist/ts/esm/ts/ROCrate/Generic/PropertyValue.js +545 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Sample.js +136 -0
- package/dist/ts/esm/ts/ROCrate/Generic/ScholarlyArticle.js +184 -0
- package/dist/ts/esm/ts/ROCrate/Helper.js +4 -0
- package/dist/ts/esm/ts/ROCrate/LDContext.js +273 -0
- package/dist/ts/esm/ts/ROCrate/LDObject.js +967 -0
- package/dist/ts/esm/ts/ROCrate/ROCrateContext.js +38 -0
- package/dist/ts/esm/ts/ROCrateIO.js +54 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/ArcTable.js +154 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/CompositeCell.js +61 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +72 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +460 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcAssay.js +204 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcInvestigation.js +318 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcRun.js +163 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcStudy.js +117 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcWorkflow.js +152 -0
- package/dist/ts/esm/ts/Spreadsheet/CollectionAux.js +117 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMap.js +37 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMapTable/DataMapColumn.js +39 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMapTable/DataMapHeader.js +463 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMapTable/DataMapTable.js +97 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Assays.js +90 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Comment.js +59 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Contacts.js +84 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Conversions.js +176 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/DesignDescriptors.js +18 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Factors.js +75 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/OntologyAnnotation.js +59 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/OntologySourceReference.js +60 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Protocols.js +95 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Publication.js +80 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Run.js +91 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/SparseTable.js +437 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Study.js +245 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Workflow.js +103 -0
- package/dist/ts/esm/ts/Template.Web.js +23 -0
- package/dist/ts/esm/ts/ValidationPackages/ValidationPackage.js +57 -0
- package/dist/ts/esm/ts/ValidationPackages/ValidationPackagesConfig.js +84 -0
- package/dist/ts/esm/ts/WebRequest/WebRequest.Node.js +13 -0
- package/dist/ts/esm/ts/WebRequest/WebRequest.js +17 -0
- package/dist/ts/esm/ts/Xlsx.js +116 -0
- package/dist/ts/esm/ts/Yaml/Encode.js +5 -0
- package/dist/ts/esm/ts/Yaml/ValidationPackage.js +41 -0
- package/dist/ts/esm/ts/Yaml/ValidationPackagesConfig.js +42 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +432 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +118 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +43 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +18 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +79 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +2 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +102 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +281 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +203 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +16 -0
- package/dist/ts/esm/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +380 -0
- package/dist/ts/esm/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +151 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.js +463 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js +473 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.js +189 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.js +43 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.js +122 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.js +306 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.js +224 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.js +121 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.js +131 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js +134 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js +429 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.js +62 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.js +35 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.js +35 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.js +27 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.js +74 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.js +41 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.js +129 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.js +33 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.js +206 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.js +80 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.js +60 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.js +31 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.js +326 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.js +152 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +76 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +48 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +48 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +51 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +30 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +64 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +67 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +1269 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +178 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +79 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +91 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +55 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1692 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +57 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +9 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +43 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +96 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +522 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +9 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +221 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +156 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +148 -0
- package/dist/ts/types/index.d.ts +17 -0
- package/dist/ts/types/index.d.ts.map +1 -0
- package/dist/ts/types/ts/ARC.d.ts +80 -0
- package/dist/ts/types/ts/ARC.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ARC.d.ts +7 -0
- package/dist/ts/types/ts/Contract/ARC.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcAssay.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ArcAssay.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcInvestigation.d.ts +10 -0
- package/dist/ts/types/ts/Contract/ArcInvestigation.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcRun.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ArcRun.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcStudy.d.ts +13 -0
- package/dist/ts/types/ts/Contract/ArcStudy.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcWorkflow.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ArcWorkflow.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/Contract.d.ts +39 -0
- package/dist/ts/types/ts/Contract/Contract.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/Datamap.d.ts +29 -0
- package/dist/ts/types/ts/Contract/Datamap.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/Git.d.ts +28 -0
- package/dist/ts/types/ts/Contract/Git.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ValidationPackagesConfig.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -0
- package/dist/ts/types/ts/ContractIO/ContractIO.d.ts +11 -0
- package/dist/ts/types/ts/ContractIO/ContractIO.d.ts.map +1 -0
- package/dist/ts/types/ts/ContractIO/FileSystemHelper.d.ts +33 -0
- package/dist/ts/types/ts/ContractIO/FileSystemHelper.d.ts.map +1 -0
- package/dist/ts/types/ts/Conversion.d.ts +282 -0
- package/dist/ts/types/ts/Conversion.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/ArcTypes.d.ts +618 -0
- package/dist/ts/types/ts/Core/ArcTypes.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Comment.d.ts +35 -0
- package/dist/ts/types/ts/Core/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/CommentList.d.ts +28 -0
- package/dist/ts/types/ts/Core/CommentList.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Conversion.d.ts +216 -0
- package/dist/ts/types/ts/Core/Conversion.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Data.d.ts +49 -0
- package/dist/ts/types/ts/Core/Data.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/DataContext.d.ts +47 -0
- package/dist/ts/types/ts/Core/DataContext.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/DataFile.d.ts +27 -0
- package/dist/ts/types/ts/Core/DataFile.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/DataMap.d.ts +52 -0
- package/dist/ts/types/ts/Core/DataMap.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Collections.d.ts +50 -0
- package/dist/ts/types/ts/Core/Helper/Collections.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/HashCodes.d.ts +9 -0
- package/dist/ts/types/ts/Core/Helper/HashCodes.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Identifier.d.ts +119 -0
- package/dist/ts/types/ts/Core/Helper/Identifier.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/ORCID.d.ts +7 -0
- package/dist/ts/types/ts/Core/Helper/ORCID.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Printer.d.ts +5 -0
- package/dist/ts/types/ts/Core/Helper/Printer.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Regex.d.ts +194 -0
- package/dist/ts/types/ts/Core/Helper/Regex.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/SemVer.d.ts +20 -0
- package/dist/ts/types/ts/Core/Helper/SemVer.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Url.d.ts +10 -0
- package/dist/ts/types/ts/Core/Helper/Url.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/IPropertyValue.d.ts +13 -0
- package/dist/ts/types/ts/Core/IPropertyValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/IdentifierSetters.d.ts +7 -0
- package/dist/ts/types/ts/Core/IdentifierSetters.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/OntologyAnnotation.d.ts +48 -0
- package/dist/ts/types/ts/Core/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/OntologySourceReference.d.ts +31 -0
- package/dist/ts/types/ts/Core/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Person.d.ts +56 -0
- package/dist/ts/types/ts/Core/Person.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ColumnIndex.d.ts +79 -0
- package/dist/ts/types/ts/Core/Process/ColumnIndex.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Component.d.ts +65 -0
- package/dist/ts/types/ts/Core/Process/Component.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Factor.d.ts +44 -0
- package/dist/ts/types/ts/Core/Process/Factor.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/FactorValue.d.ts +44 -0
- package/dist/ts/types/ts/Core/Process/FactorValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Material.d.ts +27 -0
- package/dist/ts/types/ts/Core/Process/Material.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttribute.d.ts +53 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttribute.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttributeValue.d.ts +55 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/MaterialType.d.ts +22 -0
- package/dist/ts/types/ts/Core/Process/MaterialType.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Process.d.ts +113 -0
- package/dist/ts/types/ts/Core/Process/Process.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessInput.d.ts +117 -0
- package/dist/ts/types/ts/Core/Process/ProcessInput.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessOutput.d.ts +106 -0
- package/dist/ts/types/ts/Core/Process/ProcessOutput.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessParameterValue.d.ts +40 -0
- package/dist/ts/types/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessSequence.d.ts +89 -0
- package/dist/ts/types/ts/Core/Process/ProcessSequence.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Protocol.d.ts +141 -0
- package/dist/ts/types/ts/Core/Process/Protocol.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProtocolParameter.d.ts +32 -0
- package/dist/ts/types/ts/Core/Process/ProtocolParameter.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Sample.d.ts +31 -0
- package/dist/ts/types/ts/Core/Process/Sample.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Source.d.ts +24 -0
- package/dist/ts/types/ts/Core/Process/Source.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Publication.d.ts +36 -0
- package/dist/ts/types/ts/Core/Publication.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/ArcTable.d.ts +130 -0
- package/dist/ts/types/ts/Core/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/ArcTableAux.d.ts +103 -0
- package/dist/ts/types/ts/Core/Table/ArcTableAux.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/ArcTables.d.ts +91 -0
- package/dist/ts/types/ts/Core/Table/ArcTables.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/CompositeCell.d.ts +58 -0
- package/dist/ts/types/ts/Core/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/CompositeColumn.d.ts +19 -0
- package/dist/ts/types/ts/Core/Table/CompositeColumn.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/CompositeHeader.d.ts +130 -0
- package/dist/ts/types/ts/Core/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Template.d.ts +69 -0
- package/dist/ts/types/ts/Core/Template.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Templates.d.ts +18 -0
- package/dist/ts/types/ts/Core/Templates.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/URI.d.ts +13 -0
- package/dist/ts/types/ts/Core/URI.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Value.d.ts +41 -0
- package/dist/ts/types/ts/Core/Value.d.ts.map +1 -0
- package/dist/ts/types/ts/CrossAsync.d.ts +9 -0
- package/dist/ts/types/ts/CrossAsync.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/Commit.d.ts +13 -0
- package/dist/ts/types/ts/FileSystem/Commit.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitattributes.d.ts +2 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitattributes.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitignore.d.ts +2 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitignore.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/FileSystem.d.ts +21 -0
- package/dist/ts/types/ts/FileSystem/FileSystem.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/FileSystemTree.d.ts +54 -0
- package/dist/ts/types/ts/FileSystem/FileSystemTree.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/Path.d.ts +14 -0
- package/dist/ts/types/ts/FileSystem/Path.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Assay.d.ts +19 -0
- package/dist/ts/types/ts/Json/Assay.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Comment.d.ts +14 -0
- package/dist/ts/types/ts/Json/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Data.d.ts +17 -0
- package/dist/ts/types/ts/Json/Data.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/DataFile.d.ts +7 -0
- package/dist/ts/types/ts/Json/DataFile.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/DataMap/DataContext.d.ts +5 -0
- package/dist/ts/types/ts/Json/DataMap/DataContext.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/DataMap/DataMap.d.ts +11 -0
- package/dist/ts/types/ts/Json/DataMap/DataMap.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Decode.d.ts +12 -0
- package/dist/ts/types/ts/Json/Decode.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Encode.d.ts +21 -0
- package/dist/ts/types/ts/Json/Encode.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/IDTable.d.ts +5 -0
- package/dist/ts/types/ts/Json/IDTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Investigation.d.ts +20 -0
- package/dist/ts/types/ts/Json/Investigation.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/OntologyAnnotation.d.ts +18 -0
- package/dist/ts/types/ts/Json/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/OntologySourceReference.d.ts +12 -0
- package/dist/ts/types/ts/Json/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Person.d.ts +22 -0
- package/dist/ts/types/ts/Json/Person.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/AssayMaterials.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/AssayMaterials.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Component.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/Component.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Factor.d.ts +8 -0
- package/dist/ts/types/ts/Json/Process/Factor.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/FactorValue.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/FactorValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Material.d.ts +12 -0
- package/dist/ts/types/ts/Json/Process/Material.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttribute.d.ts +8 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttribute.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttributeValue.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/MaterialType.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/MaterialType.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Process.d.ts +10 -0
- package/dist/ts/types/ts/Json/Process/Process.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProcessInput.d.ts +9 -0
- package/dist/ts/types/ts/Json/Process/ProcessInput.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProcessOutput.d.ts +9 -0
- package/dist/ts/types/ts/Json/Process/ProcessOutput.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProcessParameterValue.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Protocol.d.ts +10 -0
- package/dist/ts/types/ts/Json/Process/Protocol.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProtocolParameter.d.ts +8 -0
- package/dist/ts/types/ts/Json/Process/ProtocolParameter.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Sample.d.ts +15 -0
- package/dist/ts/types/ts/Json/Process/Sample.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Source.d.ts +12 -0
- package/dist/ts/types/ts/Json/Process/Source.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/StudyMaterials.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/StudyMaterials.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Value.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/Value.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/PropertyValue.d.ts +9 -0
- package/dist/ts/types/ts/Json/PropertyValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Publication.d.ts +14 -0
- package/dist/ts/types/ts/Json/Publication.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDContext.d.ts +5 -0
- package/dist/ts/types/ts/Json/ROCrate/LDContext.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDGraph.d.ts +5 -0
- package/dist/ts/types/ts/Json/ROCrate/LDGraph.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDNode.d.ts +13 -0
- package/dist/ts/types/ts/Json/ROCrate/LDNode.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDRef.d.ts +5 -0
- package/dist/ts/types/ts/Json/ROCrate/LDRef.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDValue.d.ts +7 -0
- package/dist/ts/types/ts/Json/ROCrate/LDValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/StringTable.d.ts +9 -0
- package/dist/ts/types/ts/Json/StringTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Study.d.ts +26 -0
- package/dist/ts/types/ts/Json/Study.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/ArcTable.d.ts +14 -0
- package/dist/ts/types/ts/Json/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/CellTable.d.ts +11 -0
- package/dist/ts/types/ts/Json/Table/CellTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/CompositeCell.d.ts +10 -0
- package/dist/ts/types/ts/Json/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/CompositeHeader.d.ts +5 -0
- package/dist/ts/types/ts/Json/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/IOType.d.ts +5 -0
- package/dist/ts/types/ts/Json/Table/IOType.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/OATable.d.ts +10 -0
- package/dist/ts/types/ts/Json/Table/OATable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/Templates.d.ts +15 -0
- package/dist/ts/types/ts/Json/Table/Templates.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_assay_context.d.ts +26 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_comment_context.d.ts +16 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_data_context.d.ts +18 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_investigation_context.d.ts +26 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_material_context.d.ts +19 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +17 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +19 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_organization_context.d.ts +15 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_person_context.d.ts +25 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_process_context.d.ts +23 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_protocol_context.d.ts +22 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_publication_context.d.ts +19 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_sample_context.d.ts +18 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_source_context.d.ts +18 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_study_context.d.ts +34 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/property_value_context.d.ts +3 -0
- package/dist/ts/types/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/rocrate_context.d.ts +16 -0
- package/dist/ts/types/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json.d.ts +73 -0
- package/dist/ts/types/ts/Json.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Assay.d.ts +19 -0
- package/dist/ts/types/ts/JsonIO/Assay.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Investigation.d.ts +19 -0
- package/dist/ts/types/ts/JsonIO/Investigation.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/OntologyAnnotation.d.ts +16 -0
- package/dist/ts/types/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Study.d.ts +20 -0
- package/dist/ts/types/ts/JsonIO/Study.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Table/Compression.d.ts +8 -0
- package/dist/ts/types/ts/JsonIO/Table/Compression.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Table/Templates.d.ts +15 -0
- package/dist/ts/types/ts/JsonIO/Table/Templates.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Comment.d.ts +21 -0
- package/dist/ts/types/ts/ROCrate/Generic/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Dataset.d.ts +92 -0
- package/dist/ts/types/ts/ROCrate/Generic/Dataset.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/DefinedTerm.d.ts +21 -0
- package/dist/ts/types/ts/ROCrate/Generic/DefinedTerm.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/File.d.ts +35 -0
- package/dist/ts/types/ts/ROCrate/Generic/File.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProcess.d.ts +43 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProcess.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProtocol.d.ts +44 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProtocol.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Organization.d.ts +17 -0
- package/dist/ts/types/ts/ROCrate/Generic/Organization.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Person.d.ts +51 -0
- package/dist/ts/types/ts/ROCrate/Generic/Person.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/PostalAddress.d.ts +25 -0
- package/dist/ts/types/ts/ROCrate/Generic/PostalAddress.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/PropertyValue.d.ts +73 -0
- package/dist/ts/types/ts/ROCrate/Generic/PropertyValue.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Sample.d.ts +30 -0
- package/dist/ts/types/ts/ROCrate/Generic/Sample.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/ScholarlyArticle.d.ts +34 -0
- package/dist/ts/types/ts/ROCrate/Generic/ScholarlyArticle.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Helper.d.ts +2 -0
- package/dist/ts/types/ts/ROCrate/Helper.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/LDContext.d.ts +45 -0
- package/dist/ts/types/ts/ROCrate/LDContext.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/LDObject.d.ts +97 -0
- package/dist/ts/types/ts/ROCrate/LDObject.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/ROCrateContext.d.ts +7 -0
- package/dist/ts/types/ts/ROCrate/ROCrateContext.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrateIO.d.ts +15 -0
- package/dist/ts/types/ts/ROCrateIO.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +35 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +17 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +22 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcAssay.d.ts +31 -0
- package/dist/ts/types/ts/Spreadsheet/ArcAssay.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcInvestigation.d.ts +42 -0
- package/dist/ts/types/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcRun.d.ts +27 -0
- package/dist/ts/types/ts/Spreadsheet/ArcRun.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcStudy.d.ts +26 -0
- package/dist/ts/types/ts/Spreadsheet/ArcStudy.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcWorkflow.d.ts +27 -0
- package/dist/ts/types/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/CollectionAux.d.ts +23 -0
- package/dist/ts/types/ts/Spreadsheet/CollectionAux.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMap.d.ts +8 -0
- package/dist/ts/types/ts/Spreadsheet/DataMap.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts +7 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts +23 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts +23 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Assays.d.ts +14 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Comment.d.ts +14 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Contacts.d.ts +25 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Conversions.d.ts +60 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +16 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Factors.d.ts +18 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +12 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +18 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Protocols.d.ts +28 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Publication.d.ts +21 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Run.d.ts +14 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/SparseTable.d.ts +37 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Study.d.ts +38 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Workflow.d.ts +31 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -0
- package/dist/ts/types/ts/Template.Web.d.ts +11 -0
- package/dist/ts/types/ts/Template.Web.d.ts.map +1 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackage.d.ts +21 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackagesConfig.d.ts +23 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.Node.d.ts +4 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.Node.d.ts.map +1 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.d.ts +4 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.d.ts.map +1 -0
- package/dist/ts/types/ts/Xlsx.d.ts +50 -0
- package/dist/ts/types/ts/Xlsx.d.ts.map +1 -0
- package/dist/ts/types/ts/Yaml/Encode.d.ts +5 -0
- package/dist/ts/types/ts/Yaml/Encode.d.ts.map +1 -0
- package/dist/ts/types/ts/Yaml/ValidationPackage.d.ts +10 -0
- package/dist/ts/types/ts/Yaml/ValidationPackage.d.ts.map +1 -0
- package/dist/ts/types/ts/Yaml/ValidationPackagesConfig.d.ts +10 -0
- package/dist/ts/types/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.d.ts +69 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.d.ts +25 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.d.ts +11 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.d.ts +34 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.d.ts +14 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.d.ts +4 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.d.ts +30 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.d.ts +49 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.d.ts +35 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.d.ts +123 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.d.ts +27 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.d.ts +253 -0
- package/dist/ts/types/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.d.ts +112 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.d.ts +8 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.d.ts +123 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.d.ts +113 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.d.ts +91 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.d.ts +181 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.d.ts +36 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.d.ts +23 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.d.ts +21 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.d.ts +157 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.d.ts +97 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.d.ts +37 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.d.ts +39 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.d.ts +36 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.d.ts +88 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.d.ts +9 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.d.ts +9 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.d.ts +5 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.d.ts +6 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.d.ts +94 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.d.ts +33 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.d.ts +31 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.d.ts +17 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.d.ts +71 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.d.ts +89 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.d.ts +19 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.d.ts +6 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.d.ts +5 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.d.ts +20 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.d.ts +105 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.d.ts +26 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.d.ts +99 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.d.ts +5 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.d.ts +64 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.d.ts +24 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.d.ts +3 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.d.ts +12 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.d.ts +6 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.d.ts +46 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.d.ts +12 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.d.ts +70 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.d.ts.map +1 -0
- package/package.json +31 -8
- package/ARC.js +0 -795
- package/CWL/CWLTypes.js +0 -135
- package/CWL/Decode.js +0 -585
- package/CWL/Inputs.js +0 -62
- package/CWL/Outputs.js +0 -59
- package/CWL/Requirements.js +0 -72
- package/CWL/ToolDescription.js +0 -81
- package/CWL/WorkflowDescription.js +0 -81
- package/CWL/WorkflowSteps.js +0 -98
- package/ColumnIndex.js +0 -258
- package/Contract/ARC.js +0 -43
- package/Contract/ArcAssay.js +0 -102
- package/Contract/ArcInvestigation.js +0 -75
- package/Contract/ArcStudy.js +0 -102
- package/Contract/Contract.js +0 -98
- package/Contract/Datamap.js +0 -180
- package/Contract/Git.js +0 -94
- package/Contract/ValidationPackagesConfig.js +0 -96
- package/ContractIO/ContractIO.js +0 -204
- package/ContractIO/FileSystemHelper.js +0 -130
- package/Conversion.js +0 -1679
- package/Core/ArcTypes.js +0 -2263
- package/Core/Comment.js +0 -104
- package/Core/CommentList.js +0 -133
- package/Core/Conversion.js +0 -1113
- package/Core/Data.js +0 -193
- package/Core/DataContext.js +0 -139
- package/Core/DataFile.js +0 -84
- package/Core/DataMap.js +0 -191
- package/Core/Helper/Collections.js +0 -421
- package/Core/Helper/DateTime.js +0 -17
- package/Core/Helper/HashCodes.js +0 -39
- package/Core/Helper/Identifier.js +0 -183
- package/Core/Helper/ORCID.js +0 -39
- package/Core/Helper/Regex.js +0 -623
- package/Core/Helper/SemVer.js +0 -58
- package/Core/Helper/Url.js +0 -38
- package/Core/IdentifierSetters.js +0 -26
- package/Core/OntologyAnnotation.js +0 -213
- package/Core/OntologySourceReference.js +0 -92
- package/Core/Person.js +0 -194
- package/Core/Process/ColumnIndex.js +0 -258
- package/Core/Process/Component.js +0 -198
- package/Core/Process/Factor.js +0 -109
- package/Core/Process/FactorValue.js +0 -137
- package/Core/Process/Material.js +0 -66
- package/Core/Process/MaterialAttribute.js +0 -101
- package/Core/Process/MaterialAttributeValue.js +0 -154
- package/Core/Process/MaterialType.js +0 -41
- package/Core/Process/Process.js +0 -369
- package/Core/Process/ProcessInput.js +0 -297
- package/Core/Process/ProcessOutput.js +0 -263
- package/Core/Process/ProcessParameterValue.js +0 -135
- package/Core/Process/ProcessSequence.js +0 -251
- package/Core/Process/Protocol.js +0 -246
- package/Core/Process/ProtocolParameter.js +0 -73
- package/Core/Process/Sample.js +0 -71
- package/Core/Process/Source.js +0 -54
- package/Core/Publication.js +0 -116
- package/Core/Table/ArcTable.js +0 -901
- package/Core/Table/ArcTableAux.js +0 -583
- package/Core/Table/ArcTables.js +0 -481
- package/Core/Table/CompositeCell.js +0 -211
- package/Core/Table/CompositeColumn.js +0 -56
- package/Core/Table/CompositeHeader.js +0 -547
- package/Core/Template.js +0 -186
- package/Core/Templates.js +0 -84
- package/Core/URI.js +0 -19
- package/Core/Value.js +0 -137
- package/CrossAsync.js +0 -34
- package/FileSystem/Commit.js +0 -18
- package/FileSystem/DefaultGitattributes.js +0 -3
- package/FileSystem/DefaultGitignore.js +0 -3
- package/FileSystem/FileSystem.js +0 -53
- package/FileSystem/FileSystemTree.js +0 -275
- package/FileSystem/Path.js +0 -54
- package/FileSystem.js +0 -102
- package/Json/Assay.js +0 -171
- package/Json/Comment.js +0 -121
- package/Json/ConverterOptions.js +0 -18
- package/Json/Data.js +0 -149
- package/Json/DataFile.js +0 -55
- package/Json/DataMap/DataContext.js +0 -39
- package/Json/DataMap/DataMap.js +0 -29
- package/Json/Decode.js +0 -125
- package/Json/Encode.js +0 -74
- package/Json/IDTable.js +0 -30
- package/Json/Investigation.js +0 -256
- package/Json/OntologyAnnotation.js +0 -210
- package/Json/OntologySourceReference.js +0 -126
- package/Json/Person.js +0 -341
- package/Json/Process/AssayMaterials.js +0 -20
- package/Json/Process/Component.js +0 -48
- package/Json/Process/Factor.js +0 -57
- package/Json/Process/FactorValue.js +0 -48
- package/Json/Process/Material.js +0 -121
- package/Json/Process/MaterialAttribute.js +0 -46
- package/Json/Process/MaterialAttributeValue.js +0 -48
- package/Json/Process/MaterialType.js +0 -47
- package/Json/Process/Process.js +0 -109
- package/Json/Process/ProcessInput.js +0 -38
- package/Json/Process/ProcessOutput.js +0 -33
- package/Json/Process/ProcessParameterValue.js +0 -34
- package/Json/Process/Protocol.js +0 -180
- package/Json/Process/ProtocolParameter.js +0 -46
- package/Json/Process/Sample.js +0 -178
- package/Json/Process/Source.js +0 -146
- package/Json/Process/StudyMaterials.js +0 -22
- package/Json/Process/Value.js +0 -32
- package/Json/PropertyValue.js +0 -295
- package/Json/Publication.js +0 -132
- package/Json/ROCrate/LDContext.js +0 -121
- package/Json/ROCrate/LDGraph.js +0 -87
- package/Json/ROCrate/LDNode.js +0 -204
- package/Json/ROCrate/LDRef.js +0 -25
- package/Json/ROCrate/LDValue.js +0 -66
- package/Json/StringTable.js +0 -61
- package/Json/Study.js +0 -349
- package/Json/Table/ArcTable.js +0 -227
- package/Json/Table/CellTable.js +0 -56
- package/Json/Table/CompositeCell.js +0 -65
- package/Json/Table/CompositeHeader.js +0 -46
- package/Json/Table/IOType.js +0 -15
- package/Json/Table/OATable.js +0 -53
- package/Json/Table/Templates.js +0 -107
- package/Json/context/rocrate/isa_assay_context.js +0 -88
- package/Json/context/rocrate/isa_comment_context.js +0 -47
- package/Json/context/rocrate/isa_component_context.js +0 -64
- package/Json/context/rocrate/isa_data_context.js +0 -61
- package/Json/context/rocrate/isa_factor_context.js +0 -61
- package/Json/context/rocrate/isa_factor_value_context.js +0 -71
- package/Json/context/rocrate/isa_investigation_context.js +0 -97
- package/Json/context/rocrate/isa_material_attribute_context.js +0 -51
- package/Json/context/rocrate/isa_material_attribute_value_context.js +0 -67
- package/Json/context/rocrate/isa_material_context.js +0 -58
- package/Json/context/rocrate/isa_ontology_annotation_context.js +0 -55
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +0 -62
- package/Json/context/rocrate/isa_organization_context.js +0 -42
- package/Json/context/rocrate/isa_person_context.js +0 -113
- package/Json/context/rocrate/isa_process_context.js +0 -81
- package/Json/context/rocrate/isa_process_parameter_value_context.js +0 -67
- package/Json/context/rocrate/isa_protocol_context.js +0 -84
- package/Json/context/rocrate/isa_protocol_parameter_context.js +0 -51
- package/Json/context/rocrate/isa_publication_context.js +0 -65
- package/Json/context/rocrate/isa_sample_context.js +0 -52
- package/Json/context/rocrate/isa_source_context.js +0 -53
- package/Json/context/rocrate/isa_study_context.js +0 -112
- package/Json/context/rocrate/property_value_context.js +0 -60
- package/Json/context/rocrate/rocrate_context.js +0 -63
- package/Json.js +0 -193
- package/JsonIO/Assay.js +0 -99
- package/JsonIO/Comment.js +0 -73
- package/JsonIO/Data.js +0 -50
- package/JsonIO/DataFile.js +0 -49
- package/JsonIO/DataMap/DataMap.js +0 -29
- package/JsonIO/Decode.js +0 -4
- package/JsonIO/Investigation.js +0 -99
- package/JsonIO/LDObject.js +0 -56
- package/JsonIO/OntologyAnnotation.js +0 -73
- package/JsonIO/OntologySourceReference.js +0 -73
- package/JsonIO/Person.js +0 -74
- package/JsonIO/Process/Component.js +0 -50
- package/JsonIO/Process/Factor.js +0 -28
- package/JsonIO/Process/FactorValue.js +0 -29
- package/JsonIO/Process/Material.js +0 -50
- package/JsonIO/Process/MaterialAttribute.js +0 -29
- package/JsonIO/Process/MaterialAttributeValue.js +0 -50
- package/JsonIO/Process/MaterialType.js +0 -28
- package/JsonIO/Process/Process.js +0 -50
- package/JsonIO/Process/ProcessInput.js +0 -29
- package/JsonIO/Process/ProcessOutput.js +0 -50
- package/JsonIO/Process/ProcessParameterValue.js +0 -50
- package/JsonIO/Process/ProcessSequence.js +0 -55
- package/JsonIO/Process/Protocol.js +0 -50
- package/JsonIO/Process/ProtocolParameter.js +0 -28
- package/JsonIO/Process/Sample.js +0 -50
- package/JsonIO/Process/Source.js +0 -50
- package/JsonIO/Process/StudyMaterials.js +0 -22
- package/JsonIO/Process/Value.js +0 -23
- package/JsonIO/Publication.js +0 -74
- package/JsonIO/Study.js +0 -99
- package/JsonIO/Table/ArcTable.js +0 -82
- package/JsonIO/Table/CompositeCell.js +0 -28
- package/JsonIO/Table/CompositeHeader.js +0 -28
- package/JsonIO/Table/Compression.js +0 -48
- package/JsonIO/Table/IOType.js +0 -28
- package/JsonIO/Table/Templates.js +0 -88
- package/ROCrate/ArcROCrateMetadata.js +0 -36
- package/ROCrate/Generic/Comment.js +0 -115
- package/ROCrate/Generic/Dataset.js +0 -669
- package/ROCrate/Generic/DefinedTerm.js +0 -115
- package/ROCrate/Generic/File.js +0 -200
- package/ROCrate/Generic/LabProcess.js +0 -238
- package/ROCrate/Generic/LabProtocol.js +0 -275
- package/ROCrate/Generic/Organization.js +0 -71
- package/ROCrate/Generic/Person.js +0 -411
- package/ROCrate/Generic/PostalAddress.js +0 -159
- package/ROCrate/Generic/PropertyValue.js +0 -548
- package/ROCrate/Generic/Sample.js +0 -139
- package/ROCrate/Generic/ScholarlyArticle.js +0 -187
- package/ROCrate/Helper.js +0 -6
- package/ROCrate/ISAProfile/Assay.js +0 -60
- package/ROCrate/ISAProfile/Data.js +0 -55
- package/ROCrate/ISAProfile/Dataset.js +0 -19
- package/ROCrate/ISAProfile/Investigation.js +0 -63
- package/ROCrate/ISAProfile/LabProcess.js +0 -140
- package/ROCrate/ISAProfile/LabProtocol.js +0 -33
- package/ROCrate/ISAProfile/Person.js +0 -62
- package/ROCrate/ISAProfile/PropertyValue.js +0 -84
- package/ROCrate/ISAProfile/Sample.js +0 -54
- package/ROCrate/ISAProfile/ScholarlyArticle.js +0 -84
- package/ROCrate/ISAProfile/Study.js +0 -63
- package/ROCrate/LDContext.js +0 -283
- package/ROCrate/LDObject.js +0 -971
- package/ROCrate/ROCrateContext.js +0 -44
- package/ROCrateIO.js +0 -62
- package/Spreadsheet/AnnotationTable/ArcTable.js +0 -163
- package/Spreadsheet/AnnotationTable/CompositeCell.js +0 -57
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +0 -78
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +0 -475
- package/Spreadsheet/ArcAssay.js +0 -218
- package/Spreadsheet/ArcInvestigation.js +0 -340
- package/Spreadsheet/ArcStudy.js +0 -129
- package/Spreadsheet/CollectionAux.js +0 -128
- package/Spreadsheet/DataMap.js +0 -39
- package/Spreadsheet/DataMapTable/DataMapColumn.js +0 -42
- package/Spreadsheet/DataMapTable/DataMapHeader.js +0 -442
- package/Spreadsheet/DataMapTable/DataMapTable.js +0 -103
- package/Spreadsheet/Metadata/Assays.js +0 -81
- package/Spreadsheet/Metadata/Comment.js +0 -71
- package/Spreadsheet/Metadata/Contacts.js +0 -102
- package/Spreadsheet/Metadata/Conversions.js +0 -186
- package/Spreadsheet/Metadata/DesignDescriptors.js +0 -27
- package/Spreadsheet/Metadata/Factors.js +0 -86
- package/Spreadsheet/Metadata/OntologyAnnotation.js +0 -64
- package/Spreadsheet/Metadata/OntologySourceReference.js +0 -71
- package/Spreadsheet/Metadata/Protocols.js +0 -116
- package/Spreadsheet/Metadata/Publication.js +0 -94
- package/Spreadsheet/Metadata/SparseTable.js +0 -459
- package/Spreadsheet/Metadata/Study.js +0 -258
- package/Spreadsheet/Template.js +0 -361
- package/Template.Web.js +0 -27
- package/ValidationPackages/ValidationPackage.js +0 -61
- package/ValidationPackages/ValidationPackagesConfig.js +0 -88
- package/WebRequest/WebRequest.Node.js +0 -15
- package/WebRequest/WebRequest.js +0 -19
- package/Xlsx.js +0 -131
- package/Yaml/Encode.js +0 -8
- package/Yaml/ValidationPackage.js +0 -47
- package/Yaml/ValidationPackagesConfig.js +0 -48
- package/fable_modules/DynamicObj.7.0.1/DynObj.fs +0 -249
- package/fable_modules/DynamicObj.7.0.1/DynObj.fs.js +0 -194
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fableproj +0 -47
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fs +0 -1025
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +0 -433
- package/fable_modules/DynamicObj.7.0.1/FableJS.fs +0 -178
- package/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +0 -141
- package/fable_modules/DynamicObj.7.0.1/FablePy.fs +0 -229
- package/fable_modules/DynamicObj.7.0.1/HashCodes.fs +0 -64
- package/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +0 -52
- package/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs +0 -33
- package/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +0 -21
- package/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs +0 -72
- package/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +0 -86
- package/fable_modules/DynamicObj.7.0.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/DynamicObj.7.0.1/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +0 -19
- package/fable_modules/DynamicObj.7.0.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/DynamicObj.7.0.1/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/Cell.fs +0 -32
- package/fable_modules/Fable.Exceljs.1.6.0/Column.fs +0 -24
- package/fable_modules/Fable.Exceljs.1.6.0/Csv.fs +0 -12
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs +0 -61
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +0 -4
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs +0 -36
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs.js +0 -20
- package/fable_modules/Fable.Exceljs.1.6.0/Fable.Exceljs.fableproj +0 -53
- package/fable_modules/Fable.Exceljs.1.6.0/Row.fs +0 -34
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs +0 -85
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs.js +0 -22
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs +0 -87
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +0 -73
- package/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs +0 -37
- package/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs +0 -120
- package/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs +0 -18
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Fetch.2.6.0/Fable.Fetch.fableproj +0 -21
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs +0 -469
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +0 -111
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
- package/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -20
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
- package/fable_modules/Fable.SimpleHttp.3.5.0/Fable.SimpleHttp.fableproj +0 -23
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs +0 -357
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +0 -429
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs +0 -52
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +0 -112
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs +0 -436
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.js +0 -272
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs +0 -725
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js +0 -522
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs +0 -196
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.js +0 -208
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/ColumnBuilder.fs +0 -209
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/ColumnBuilder.fs.js +0 -137
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/DSL.fs +0 -61
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/DSL.fs.js +0 -62
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs +0 -24
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.js +0 -56
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Operators.fs +0 -102
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Operators.fs.js +0 -6
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs +0 -200
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.js +0 -137
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/SheetBuilder.fs +0 -139
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/SheetBuilder.fs.js +0 -116
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/TableBuilder.fs +0 -120
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/TableBuilder.fs.js +0 -120
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Transform.fs +0 -229
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Transform.fs.js +0 -422
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs +0 -151
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.js +0 -277
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/WorkbookBuilder.fs +0 -114
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/WorkbookBuilder.fs.js +0 -104
- package/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs +0 -191
- package/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.js +0 -259
- package/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs +0 -202
- package/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.js +0 -125
- package/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs +0 -204
- package/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.js +0 -135
- package/fable_modules/FsSpreadsheet.6.3.1/FsSpreadsheet.fableproj +0 -65
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs +0 -183
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js +0 -138
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs +0 -665
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js +0 -433
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs +0 -45
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.js +0 -64
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs +0 -28
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.js +0 -39
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs +0 -28
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.js +0 -39
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs +0 -24
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.js +0 -30
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs +0 -70
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.js +0 -73
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs +0 -33
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.js +0 -46
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs +0 -148
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.js +0 -134
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs +0 -19
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.js +0 -41
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs +0 -222
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.js +0 -236
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs +0 -93
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.js +0 -91
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs +0 -65
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.js +0 -74
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs +0 -22
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.js +0 -40
- package/fable_modules/FsSpreadsheet.6.3.1/SheetBuilder.fs +0 -249
- package/fable_modules/FsSpreadsheet.6.3.1/SheetBuilder.fs.js +0 -325
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs +0 -471
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.js +0 -330
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs +0 -140
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.js +0 -173
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableRow.fs +0 -6
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableRow.fs.js +0 -17
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -19
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -19
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs +0 -88
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +0 -79
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs +0 -69
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +0 -64
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsSpreadsheet.Js.fableproj +0 -57
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs +0 -59
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +0 -39
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs +0 -50
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +0 -54
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs +0 -27
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +0 -34
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs +0 -41
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +0 -63
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs +0 -74
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +0 -70
- package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs +0 -1429
- package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +0 -1259
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs +0 -318
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +0 -192
- package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +0 -33
- package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs +0 -83
- package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +0 -33
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs +0 -88
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +0 -99
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs +0 -40
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +0 -58
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +0 -28
- package/fable_modules/YAMLicious.0.0.3/Decode.fs +0 -399
- package/fable_modules/YAMLicious.0.0.3/Decode.fs.js +0 -1717
- package/fable_modules/YAMLicious.0.0.3/Encode.fs +0 -148
- package/fable_modules/YAMLicious.0.0.3/Encode.fs.js +0 -74
- package/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs +0 -14
- package/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +0 -11
- package/fable_modules/YAMLicious.0.0.3/Interop/PyInterop.fs +0 -9
- package/fable_modules/YAMLicious.0.0.3/Library.fs +0 -138
- package/fable_modules/YAMLicious.0.0.3/Library.fs.js +0 -7
- package/fable_modules/YAMLicious.0.0.3/Persil.fs +0 -86
- package/fable_modules/YAMLicious.0.0.3/Persil.fs.js +0 -49
- package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs +0 -59
- package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +0 -102
- package/fable_modules/YAMLicious.0.0.3/Reader.fs +0 -295
- package/fable_modules/YAMLicious.0.0.3/Reader.fs.js +0 -530
- package/fable_modules/YAMLicious.0.0.3/Regex.fs +0 -108
- package/fable_modules/YAMLicious.0.0.3/Regex.fs.js +0 -19
- package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs +0 -166
- package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +0 -225
- package/fable_modules/YAMLicious.0.0.3/Writer.fs +0 -84
- package/fable_modules/YAMLicious.0.0.3/Writer.fs.js +0 -161
- package/fable_modules/YAMLicious.0.0.3/YAMLicious.fableproj +0 -39
- package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs +0 -82
- package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +0 -130
- package/fable_modules/YAMLicious.0.0.3/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/YAMLicious.0.0.3/obj/Debug/netstandard2.0/YAMLicious.AssemblyInfo.fs +0 -19
- package/fable_modules/YAMLicious.0.0.3/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/YAMLicious.0.0.3/obj/Release/netstandard2.0/YAMLicious.AssemblyInfo.fs +0 -19
- package/fable_modules/fable-library-js.4.24.0/Array.d.ts +0 -123
- package/fable_modules/fable-library-js.4.24.0/Array.js +0 -1242
- package/fable_modules/fable-library-js.4.24.0/Async.d.ts +0 -27
- package/fable_modules/fable-library-js.4.24.0/Async.js +0 -152
- package/fable_modules/fable-library-js.4.24.0/AsyncBuilder.d.ts +0 -59
- package/fable_modules/fable-library-js.4.24.0/AsyncBuilder.js +0 -183
- package/fable_modules/fable-library-js.4.24.0/BigInt.d.ts +0 -115
- package/fable_modules/fable-library-js.4.24.0/BigInt.js +0 -283
- package/fable_modules/fable-library-js.4.24.0/BitConverter.d.ts +0 -27
- package/fable_modules/fable-library-js.4.24.0/BitConverter.js +0 -138
- package/fable_modules/fable-library-js.4.24.0/Boolean.d.ts +0 -3
- package/fable_modules/fable-library-js.4.24.0/Boolean.js +0 -21
- package/fable_modules/fable-library-js.4.24.0/CHANGELOG.md +0 -92
- package/fable_modules/fable-library-js.4.24.0/Char.d.ts +0 -65
- package/fable_modules/fable-library-js.4.24.0/Char.js +0 -169
- package/fable_modules/fable-library-js.4.24.0/Choice.d.ts +0 -121
- package/fable_modules/fable-library-js.4.24.0/Choice.js +0 -184
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.d.ts +0 -7
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.js +0 -182
- package/fable_modules/fable-library-js.4.24.0/ConditionalWeakTable.d.ts +0 -9
- package/fable_modules/fable-library-js.4.24.0/ConditionalWeakTable.js +0 -21
- package/fable_modules/fable-library-js.4.24.0/Date.d.ts +0 -70
- package/fable_modules/fable-library-js.4.24.0/Date.js +0 -748
- package/fable_modules/fable-library-js.4.24.0/DateOffset.d.ts +0 -63
- package/fable_modules/fable-library-js.4.24.0/DateOffset.js +0 -268
- package/fable_modules/fable-library-js.4.24.0/DateOnly.d.ts +0 -18
- package/fable_modules/fable-library-js.4.24.0/DateOnly.js +0 -124
- package/fable_modules/fable-library-js.4.24.0/Decimal.d.ts +0 -45
- package/fable_modules/fable-library-js.4.24.0/Decimal.js +0 -212
- package/fable_modules/fable-library-js.4.24.0/Double.d.ts +0 -11
- package/fable_modules/fable-library-js.4.24.0/Double.js +0 -46
- package/fable_modules/fable-library-js.4.24.0/Encoding.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/Encoding.js +0 -173
- package/fable_modules/fable-library-js.4.24.0/Event.d.ts +0 -31
- package/fable_modules/fable-library-js.4.24.0/Event.js +0 -93
- package/fable_modules/fable-library-js.4.24.0/FSharp.Collections.d.ts +0 -7
- package/fable_modules/fable-library-js.4.24.0/FSharp.Collections.js +0 -27
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.CompilerServices.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.CompilerServices.js +0 -27
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.d.ts +0 -17
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.js +0 -69
- package/fable_modules/fable-library-js.4.24.0/Global.d.ts +0 -24
- package/fable_modules/fable-library-js.4.24.0/Global.js +0 -8
- package/fable_modules/fable-library-js.4.24.0/Guid.d.ts +0 -10
- package/fable_modules/fable-library-js.4.24.0/Guid.js +0 -142
- package/fable_modules/fable-library-js.4.24.0/Int32.d.ts +0 -28
- package/fable_modules/fable-library-js.4.24.0/Int32.js +0 -135
- package/fable_modules/fable-library-js.4.24.0/List.d.ts +0 -143
- package/fable_modules/fable-library-js.4.24.0/List.js +0 -1273
- package/fable_modules/fable-library-js.4.24.0/Long.d.ts +0 -3
- package/fable_modules/fable-library-js.4.24.0/Long.js +0 -46
- package/fable_modules/fable-library-js.4.24.0/MailboxProcessor.d.ts +0 -25
- package/fable_modules/fable-library-js.4.24.0/MailboxProcessor.js +0 -93
- package/fable_modules/fable-library-js.4.24.0/Map.d.ts +0 -178
- package/fable_modules/fable-library-js.4.24.0/Map.js +0 -1396
- package/fable_modules/fable-library-js.4.24.0/MapUtil.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/MapUtil.js +0 -127
- package/fable_modules/fable-library-js.4.24.0/MutableMap.d.ts +0 -52
- package/fable_modules/fable-library-js.4.24.0/MutableMap.js +0 -327
- package/fable_modules/fable-library-js.4.24.0/MutableSet.d.ts +0 -39
- package/fable_modules/fable-library-js.4.24.0/MutableSet.js +0 -233
- package/fable_modules/fable-library-js.4.24.0/Native.d.ts +0 -2
- package/fable_modules/fable-library-js.4.24.0/Native.js +0 -8
- package/fable_modules/fable-library-js.4.24.0/Numeric.d.ts +0 -19
- package/fable_modules/fable-library-js.4.24.0/Numeric.js +0 -71
- package/fable_modules/fable-library-js.4.24.0/Observable.d.ts +0 -32
- package/fable_modules/fable-library-js.4.24.0/Observable.js +0 -113
- package/fable_modules/fable-library-js.4.24.0/Option.d.ts +0 -28
- package/fable_modules/fable-library-js.4.24.0/Option.js +0 -96
- package/fable_modules/fable-library-js.4.24.0/README.md +0 -3
- package/fable_modules/fable-library-js.4.24.0/Random.d.ts +0 -37
- package/fable_modules/fable-library-js.4.24.0/Random.js +0 -170
- package/fable_modules/fable-library-js.4.24.0/Range.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/Range.js +0 -45
- package/fable_modules/fable-library-js.4.24.0/Reflection.d.ts +0 -119
- package/fable_modules/fable-library-js.4.24.0/Reflection.js +0 -461
- package/fable_modules/fable-library-js.4.24.0/RegExp.d.ts +0 -10
- package/fable_modules/fable-library-js.4.24.0/RegExp.js +0 -131
- package/fable_modules/fable-library-js.4.24.0/Result.d.ts +0 -37
- package/fable_modules/fable-library-js.4.24.0/Result.js +0 -165
- package/fable_modules/fable-library-js.4.24.0/Seq.d.ts +0 -165
- package/fable_modules/fable-library-js.4.24.0/Seq.js +0 -1378
- package/fable_modules/fable-library-js.4.24.0/Seq2.d.ts +0 -18
- package/fable_modules/fable-library-js.4.24.0/Seq2.js +0 -111
- package/fable_modules/fable-library-js.4.24.0/Set.d.ts +0 -190
- package/fable_modules/fable-library-js.4.24.0/Set.js +0 -1789
- package/fable_modules/fable-library-js.4.24.0/String.d.ts +0 -58
- package/fable_modules/fable-library-js.4.24.0/String.js +0 -554
- package/fable_modules/fable-library-js.4.24.0/System.Collections.Generic.d.ts +0 -79
- package/fable_modules/fable-library-js.4.24.0/System.Collections.Generic.js +0 -317
- package/fable_modules/fable-library-js.4.24.0/System.Text.d.ts +0 -38
- package/fable_modules/fable-library-js.4.24.0/System.Text.js +0 -162
- package/fable_modules/fable-library-js.4.24.0/SystemException.d.ts +0 -5
- package/fable_modules/fable-library-js.4.24.0/SystemException.js +0 -5
- package/fable_modules/fable-library-js.4.24.0/TimeOnly.d.ts +0 -15
- package/fable_modules/fable-library-js.4.24.0/TimeOnly.js +0 -122
- package/fable_modules/fable-library-js.4.24.0/TimeSpan.d.ts +0 -34
- package/fable_modules/fable-library-js.4.24.0/TimeSpan.js +0 -177
- package/fable_modules/fable-library-js.4.24.0/Timer.d.ts +0 -19
- package/fable_modules/fable-library-js.4.24.0/Timer.js +0 -67
- package/fable_modules/fable-library-js.4.24.0/Types.d.ts +0 -58
- package/fable_modules/fable-library-js.4.24.0/Types.js +0 -208
- package/fable_modules/fable-library-js.4.24.0/Unicode.13.0.0.d.ts +0 -2
- package/fable_modules/fable-library-js.4.24.0/Unicode.13.0.0.js +0 -4
- package/fable_modules/fable-library-js.4.24.0/Uri.d.ts +0 -31
- package/fable_modules/fable-library-js.4.24.0/Uri.js +0 -159
- package/fable_modules/fable-library-js.4.24.0/Util.d.ts +0 -210
- package/fable_modules/fable-library-js.4.24.0/Util.js +0 -769
- package/fable_modules/fable-library-js.4.24.0/big.d.ts +0 -338
- package/fable_modules/fable-library-js.4.24.0/lib/big.d.ts +0 -5
- package/fable_modules/fable-library-js.4.24.0/lib/big.js +0 -825
- package/fable_modules/fable-library-js.4.24.0/package.json +0 -24
- package/fable_modules/project_cracked.json +0 -1
- package/index.js +0 -16
|
@@ -0,0 +1,3728 @@
|
|
|
1
|
+
import { defaultArg, map, value as value_5, unwrap } from "@fable-org/fable-library-js/Option.js";
|
|
2
|
+
import { DataMap__Copy } from "./DataMap.js";
|
|
3
|
+
import { collect, append as append_4, tryFind, removeAt, iterate, tryFindIndex, exists, choose, item, map as map_1, delay, toList, fold, length, forAll, contains, filter, toArray } from "@fable-org/fable-library-js/Seq.js";
|
|
4
|
+
import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "@fable-org/fable-library-js/Util.js";
|
|
5
|
+
import { ResizeArray_choose, ResizeArray_filter, ResizeArray_map } from "./Helper/Collections.js";
|
|
6
|
+
import { addRangeInPlace, removeInPlace, contains as contains_1 } from "@fable-org/fable-library-js/Array.js";
|
|
7
|
+
import { printf, toText } from "@fable-org/fable-library-js/String.js";
|
|
8
|
+
import { rangeDouble } from "@fable-org/fable-library-js/Range.js";
|
|
9
|
+
import { boxHashSeq, boxHashOption, boxHashArray } from "./Helper/HashCodes.js";
|
|
10
|
+
import { checkValidCharacters } from "./Helper/Identifier.js";
|
|
11
|
+
import { ArcTablesAux_applyIOMap, ArcTablesAux_getIOMap, ArcTables_$reflection, ArcTables } from "./Table/ArcTables.js";
|
|
12
|
+
import { class_type } from "@fable-org/fable-library-js/Reflection.js";
|
|
13
|
+
import { Array_distinct } from "@fable-org/fable-library-js/Seq2.js";
|
|
14
|
+
import { FSharpRef } from "@fable-org/fable-library-js/Types.js";
|
|
15
|
+
export class ArcAssay extends ArcTables {
|
|
16
|
+
constructor(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
17
|
+
super(defaultArg(tables, []));
|
|
18
|
+
let identifier_1;
|
|
19
|
+
const performers_1 = defaultArg(performers, []);
|
|
20
|
+
const comments_1 = defaultArg(comments, []);
|
|
21
|
+
this["identifier@129"] = ((identifier_1 = identifier.trim(), (checkValidCharacters(identifier_1), identifier_1)));
|
|
22
|
+
this["title@133"] = title;
|
|
23
|
+
this["description@134"] = description;
|
|
24
|
+
this.investigation = undefined;
|
|
25
|
+
this["measurementType@136"] = measurementType;
|
|
26
|
+
this["technologyType@137"] = technologyType;
|
|
27
|
+
this["technologyPlatform@138"] = technologyPlatform;
|
|
28
|
+
this.dataMap = datamap;
|
|
29
|
+
this["performers@140-1"] = performers_1;
|
|
30
|
+
this["comments@141-1"] = comments_1;
|
|
31
|
+
this.staticHash = 0;
|
|
32
|
+
}
|
|
33
|
+
get Identifier() {
|
|
34
|
+
const this$ = this;
|
|
35
|
+
return this$["identifier@129"];
|
|
36
|
+
}
|
|
37
|
+
set Identifier(i) {
|
|
38
|
+
const this$ = this;
|
|
39
|
+
this$["identifier@129"] = i;
|
|
40
|
+
}
|
|
41
|
+
get Investigation() {
|
|
42
|
+
const this$ = this;
|
|
43
|
+
return unwrap(this$.investigation);
|
|
44
|
+
}
|
|
45
|
+
set Investigation(i) {
|
|
46
|
+
const this$ = this;
|
|
47
|
+
this$.investigation = i;
|
|
48
|
+
}
|
|
49
|
+
get Title() {
|
|
50
|
+
const this$ = this;
|
|
51
|
+
return unwrap(this$["title@133"]);
|
|
52
|
+
}
|
|
53
|
+
set Title(t) {
|
|
54
|
+
const this$ = this;
|
|
55
|
+
this$["title@133"] = t;
|
|
56
|
+
}
|
|
57
|
+
get Description() {
|
|
58
|
+
const this$ = this;
|
|
59
|
+
return unwrap(this$["description@134"]);
|
|
60
|
+
}
|
|
61
|
+
set Description(d) {
|
|
62
|
+
const this$ = this;
|
|
63
|
+
this$["description@134"] = d;
|
|
64
|
+
}
|
|
65
|
+
get MeasurementType() {
|
|
66
|
+
const this$ = this;
|
|
67
|
+
return unwrap(this$["measurementType@136"]);
|
|
68
|
+
}
|
|
69
|
+
set MeasurementType(n) {
|
|
70
|
+
const this$ = this;
|
|
71
|
+
this$["measurementType@136"] = n;
|
|
72
|
+
}
|
|
73
|
+
get TechnologyType() {
|
|
74
|
+
const this$ = this;
|
|
75
|
+
return unwrap(this$["technologyType@137"]);
|
|
76
|
+
}
|
|
77
|
+
set TechnologyType(n) {
|
|
78
|
+
const this$ = this;
|
|
79
|
+
this$["technologyType@137"] = n;
|
|
80
|
+
}
|
|
81
|
+
get TechnologyPlatform() {
|
|
82
|
+
const this$ = this;
|
|
83
|
+
return unwrap(this$["technologyPlatform@138"]);
|
|
84
|
+
}
|
|
85
|
+
set TechnologyPlatform(n) {
|
|
86
|
+
const this$ = this;
|
|
87
|
+
this$["technologyPlatform@138"] = n;
|
|
88
|
+
}
|
|
89
|
+
get DataMap() {
|
|
90
|
+
const this$ = this;
|
|
91
|
+
return unwrap(this$.dataMap);
|
|
92
|
+
}
|
|
93
|
+
set DataMap(n) {
|
|
94
|
+
const this$ = this;
|
|
95
|
+
this$.dataMap = n;
|
|
96
|
+
}
|
|
97
|
+
get Performers() {
|
|
98
|
+
const this$ = this;
|
|
99
|
+
return this$["performers@140-1"];
|
|
100
|
+
}
|
|
101
|
+
set Performers(n) {
|
|
102
|
+
const this$ = this;
|
|
103
|
+
this$["performers@140-1"] = n;
|
|
104
|
+
}
|
|
105
|
+
get Comments() {
|
|
106
|
+
const this$ = this;
|
|
107
|
+
return this$["comments@141-1"];
|
|
108
|
+
}
|
|
109
|
+
set Comments(n) {
|
|
110
|
+
const this$ = this;
|
|
111
|
+
this$["comments@141-1"] = n;
|
|
112
|
+
}
|
|
113
|
+
get StaticHash() {
|
|
114
|
+
const this$ = this;
|
|
115
|
+
return this$.staticHash | 0;
|
|
116
|
+
}
|
|
117
|
+
set StaticHash(h) {
|
|
118
|
+
const this$ = this;
|
|
119
|
+
this$.staticHash = (h | 0);
|
|
120
|
+
}
|
|
121
|
+
static init(identifier) {
|
|
122
|
+
return new ArcAssay(identifier);
|
|
123
|
+
}
|
|
124
|
+
static create(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
125
|
+
return new ArcAssay(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), unwrap(tables), unwrap(datamap), unwrap(performers), unwrap(comments));
|
|
126
|
+
}
|
|
127
|
+
static make(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
128
|
+
return new ArcAssay(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), tables, unwrap(datamap), performers, comments);
|
|
129
|
+
}
|
|
130
|
+
static get FileName() {
|
|
131
|
+
return "isa.assay.xlsx";
|
|
132
|
+
}
|
|
133
|
+
get StudiesRegisteredIn() {
|
|
134
|
+
const this$ = this;
|
|
135
|
+
const matchValue = this$.Investigation;
|
|
136
|
+
if (matchValue == null) {
|
|
137
|
+
return [];
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
const i = value_5(matchValue);
|
|
141
|
+
return toArray(filter((s) => {
|
|
142
|
+
const source = s.RegisteredAssayIdentifiers;
|
|
143
|
+
return contains(this$.Identifier, source, {
|
|
144
|
+
Equals: (x, y) => (x === y),
|
|
145
|
+
GetHashCode: stringHash,
|
|
146
|
+
});
|
|
147
|
+
}, i.Studies));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
static addTable(table, index) {
|
|
151
|
+
return (assay) => {
|
|
152
|
+
const c = assay.Copy();
|
|
153
|
+
c.AddTable(table, unwrap(index));
|
|
154
|
+
return c;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
static addTables(tables, index) {
|
|
158
|
+
return (assay) => {
|
|
159
|
+
const c = assay.Copy();
|
|
160
|
+
c.AddTables(tables, unwrap(index));
|
|
161
|
+
return c;
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
static initTable(tableName, index) {
|
|
165
|
+
return (assay) => {
|
|
166
|
+
const c = assay.Copy();
|
|
167
|
+
return [c, c.InitTable(tableName, unwrap(index))];
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
static initTables(tableNames, index) {
|
|
171
|
+
return (assay) => {
|
|
172
|
+
const c = assay.Copy();
|
|
173
|
+
c.InitTables(tableNames, unwrap(index));
|
|
174
|
+
return c;
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
static getTableAt(index) {
|
|
178
|
+
return (assay) => {
|
|
179
|
+
const newAssay = assay.Copy();
|
|
180
|
+
return newAssay.GetTableAt(index);
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
static getTable(name) {
|
|
184
|
+
return (assay) => {
|
|
185
|
+
const newAssay = assay.Copy();
|
|
186
|
+
return newAssay.GetTable(name);
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
static updateTableAt(index, table) {
|
|
190
|
+
return (assay) => {
|
|
191
|
+
const newAssay = assay.Copy();
|
|
192
|
+
newAssay.UpdateTableAt(index, table);
|
|
193
|
+
return newAssay;
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
static updateTable(name, table) {
|
|
197
|
+
return (assay) => {
|
|
198
|
+
const newAssay = assay.Copy();
|
|
199
|
+
newAssay.UpdateTable(name, table);
|
|
200
|
+
return newAssay;
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
static setTableAt(index, table) {
|
|
204
|
+
return (assay) => {
|
|
205
|
+
const newAssay = assay.Copy();
|
|
206
|
+
newAssay.SetTableAt(index, table);
|
|
207
|
+
return newAssay;
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
static setTable(name, table) {
|
|
211
|
+
return (assay) => {
|
|
212
|
+
const newAssay = assay.Copy();
|
|
213
|
+
newAssay.SetTable(name, table);
|
|
214
|
+
return newAssay;
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
static removeTableAt(index) {
|
|
218
|
+
return (assay) => {
|
|
219
|
+
const newAssay = assay.Copy();
|
|
220
|
+
newAssay.RemoveTableAt(index);
|
|
221
|
+
return newAssay;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
static removeTable(name) {
|
|
225
|
+
return (assay) => {
|
|
226
|
+
const newAssay = assay.Copy();
|
|
227
|
+
newAssay.RemoveTable(name);
|
|
228
|
+
return newAssay;
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
static mapTableAt(index, updateFun) {
|
|
232
|
+
return (assay) => {
|
|
233
|
+
const newAssay = assay.Copy();
|
|
234
|
+
newAssay.MapTableAt(index, updateFun);
|
|
235
|
+
return newAssay;
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
static updateTableBy(name, updateFun) {
|
|
239
|
+
return (assay) => {
|
|
240
|
+
const newAssay = assay.Copy();
|
|
241
|
+
newAssay.MapTable(name, updateFun);
|
|
242
|
+
return newAssay;
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
static renameTableAt(index, newName) {
|
|
246
|
+
return (assay) => {
|
|
247
|
+
const newAssay = assay.Copy();
|
|
248
|
+
newAssay.RenameTableAt(index, newName);
|
|
249
|
+
return newAssay;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
static renameTable(name, newName) {
|
|
253
|
+
return (assay) => {
|
|
254
|
+
const newAssay = assay.Copy();
|
|
255
|
+
newAssay.RenameTable(name, newName);
|
|
256
|
+
return newAssay;
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
static addColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
|
|
260
|
+
return (assay) => {
|
|
261
|
+
const newAssay = assay.Copy();
|
|
262
|
+
newAssay.AddColumnAt(tableIndex, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
263
|
+
return newAssay;
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
static addColumn(tableName, header, cells, columnIndex, forceReplace) {
|
|
267
|
+
return (assay) => {
|
|
268
|
+
const newAssay = assay.Copy();
|
|
269
|
+
newAssay.AddColumn(tableName, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
270
|
+
return newAssay;
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
static removeColumnAt(tableIndex, columnIndex) {
|
|
274
|
+
return (assay) => {
|
|
275
|
+
const newAssay = assay.Copy();
|
|
276
|
+
newAssay.RemoveColumnAt(tableIndex, columnIndex);
|
|
277
|
+
return newAssay;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
static removeColumn(tableName, columnIndex) {
|
|
281
|
+
return (assay) => {
|
|
282
|
+
const newAssay = assay.Copy();
|
|
283
|
+
newAssay.RemoveColumn(tableName, columnIndex);
|
|
284
|
+
return newAssay;
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
static updateColumnAt(tableIndex, columnIndex, header, cells) {
|
|
288
|
+
return (assay) => {
|
|
289
|
+
const newAssay = assay.Copy();
|
|
290
|
+
newAssay.UpdateColumnAt(tableIndex, columnIndex, header, unwrap(cells));
|
|
291
|
+
return newAssay;
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
static updateColumn(tableName, columnIndex, header, cells) {
|
|
295
|
+
return (assay) => {
|
|
296
|
+
const newAssay = assay.Copy();
|
|
297
|
+
newAssay.UpdateColumn(tableName, columnIndex, header, unwrap(cells));
|
|
298
|
+
return newAssay;
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
static getColumnAt(tableIndex, columnIndex) {
|
|
302
|
+
return (assay) => {
|
|
303
|
+
const newAssay = assay.Copy();
|
|
304
|
+
return newAssay.GetColumnAt(tableIndex, columnIndex);
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
static getColumn(tableName, columnIndex) {
|
|
308
|
+
return (assay) => {
|
|
309
|
+
const newAssay = assay.Copy();
|
|
310
|
+
return newAssay.GetColumn(tableName, columnIndex);
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
static addRowAt(tableIndex, cells, rowIndex) {
|
|
314
|
+
return (assay) => {
|
|
315
|
+
const newAssay = assay.Copy();
|
|
316
|
+
newAssay.AddRowAt(tableIndex, unwrap(cells), unwrap(rowIndex));
|
|
317
|
+
return newAssay;
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
static addRow(tableName, cells, rowIndex) {
|
|
321
|
+
return (assay) => {
|
|
322
|
+
const newAssay = assay.Copy();
|
|
323
|
+
newAssay.AddRow(tableName, unwrap(cells), unwrap(rowIndex));
|
|
324
|
+
return newAssay;
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
static removeRowAt(tableIndex, rowIndex) {
|
|
328
|
+
return (assay) => {
|
|
329
|
+
const newAssay = assay.Copy();
|
|
330
|
+
newAssay.RemoveColumnAt(tableIndex, rowIndex);
|
|
331
|
+
return newAssay;
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
static removeRow(tableName, rowIndex) {
|
|
335
|
+
return (assay) => {
|
|
336
|
+
const newAssay = assay.Copy();
|
|
337
|
+
newAssay.RemoveRow(tableName, rowIndex);
|
|
338
|
+
return newAssay;
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
static updateRowAt(tableIndex, rowIndex, cells) {
|
|
342
|
+
return (assay) => {
|
|
343
|
+
const newAssay = assay.Copy();
|
|
344
|
+
newAssay.UpdateRowAt(tableIndex, rowIndex, cells);
|
|
345
|
+
return newAssay;
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
static updateRow(tableName, rowIndex, cells) {
|
|
349
|
+
return (assay) => {
|
|
350
|
+
const newAssay = assay.Copy();
|
|
351
|
+
newAssay.UpdateRow(tableName, rowIndex, cells);
|
|
352
|
+
return newAssay;
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
static getRowAt(tableIndex, rowIndex) {
|
|
356
|
+
return (assay) => {
|
|
357
|
+
const newAssay = assay.Copy();
|
|
358
|
+
return newAssay.GetRowAt(tableIndex, rowIndex);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
static getRow(tableName, rowIndex) {
|
|
362
|
+
return (assay) => {
|
|
363
|
+
const newAssay = assay.Copy();
|
|
364
|
+
return newAssay.GetRow(tableName, rowIndex);
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
static setPerformers(performers, assay) {
|
|
368
|
+
assay.Performers = performers;
|
|
369
|
+
return assay;
|
|
370
|
+
}
|
|
371
|
+
Copy() {
|
|
372
|
+
const this$ = this;
|
|
373
|
+
const nextTables = ResizeArray_map((c) => c.Copy(), this$.Tables);
|
|
374
|
+
const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
|
|
375
|
+
const nextDataMap = map(DataMap__Copy, this$.DataMap);
|
|
376
|
+
const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
|
|
377
|
+
const identifier = this$.Identifier;
|
|
378
|
+
const title = this$.Title;
|
|
379
|
+
const description = this$.Description;
|
|
380
|
+
const measurementType = this$.MeasurementType;
|
|
381
|
+
const technologyType = this$.TechnologyType;
|
|
382
|
+
const technologyPlatform = this$.TechnologyPlatform;
|
|
383
|
+
return ArcAssay.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextTables, nextDataMap, nextPerformers, nextComments);
|
|
384
|
+
}
|
|
385
|
+
UpdateBy(assay, onlyReplaceExisting, appendSequences) {
|
|
386
|
+
const this$ = this;
|
|
387
|
+
const onlyReplaceExisting_1 = defaultArg(onlyReplaceExisting, false);
|
|
388
|
+
const appendSequences_1 = defaultArg(appendSequences, false);
|
|
389
|
+
const updateAlways = !onlyReplaceExisting_1;
|
|
390
|
+
if ((assay.Title != null) ? true : updateAlways) {
|
|
391
|
+
this$.Title = assay.Title;
|
|
392
|
+
}
|
|
393
|
+
if ((assay.Description != null) ? true : updateAlways) {
|
|
394
|
+
this$.Description = assay.Description;
|
|
395
|
+
}
|
|
396
|
+
if ((assay.MeasurementType != null) ? true : updateAlways) {
|
|
397
|
+
this$.MeasurementType = assay.MeasurementType;
|
|
398
|
+
}
|
|
399
|
+
if ((assay.TechnologyType != null) ? true : updateAlways) {
|
|
400
|
+
this$.TechnologyType = assay.TechnologyType;
|
|
401
|
+
}
|
|
402
|
+
if ((assay.TechnologyPlatform != null) ? true : updateAlways) {
|
|
403
|
+
this$.TechnologyPlatform = assay.TechnologyPlatform;
|
|
404
|
+
}
|
|
405
|
+
if ((assay.Tables.length !== 0) ? true : updateAlways) {
|
|
406
|
+
let s;
|
|
407
|
+
const origin = this$.Tables;
|
|
408
|
+
const next = assay.Tables;
|
|
409
|
+
if (!appendSequences_1) {
|
|
410
|
+
s = ResizeArray_map((x) => x, next);
|
|
411
|
+
}
|
|
412
|
+
else {
|
|
413
|
+
const combined = [];
|
|
414
|
+
let enumerator = getEnumerator(origin);
|
|
415
|
+
try {
|
|
416
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
417
|
+
const e = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
418
|
+
if (!contains_1(e, combined, {
|
|
419
|
+
Equals: equals,
|
|
420
|
+
GetHashCode: safeHash,
|
|
421
|
+
})) {
|
|
422
|
+
void (combined.push(e));
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
finally {
|
|
427
|
+
disposeSafe(enumerator);
|
|
428
|
+
}
|
|
429
|
+
let enumerator_1 = getEnumerator(next);
|
|
430
|
+
try {
|
|
431
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
432
|
+
const e_1 = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
433
|
+
if (!contains_1(e_1, combined, {
|
|
434
|
+
Equals: equals,
|
|
435
|
+
GetHashCode: safeHash,
|
|
436
|
+
})) {
|
|
437
|
+
void (combined.push(e_1));
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
finally {
|
|
442
|
+
disposeSafe(enumerator_1);
|
|
443
|
+
}
|
|
444
|
+
s = combined;
|
|
445
|
+
}
|
|
446
|
+
this$.Tables = s;
|
|
447
|
+
}
|
|
448
|
+
if ((assay.Performers.length !== 0) ? true : updateAlways) {
|
|
449
|
+
let s_1;
|
|
450
|
+
const origin_1 = this$.Performers;
|
|
451
|
+
const next_1 = assay.Performers;
|
|
452
|
+
if (!appendSequences_1) {
|
|
453
|
+
s_1 = ResizeArray_map((x_3) => x_3, next_1);
|
|
454
|
+
}
|
|
455
|
+
else {
|
|
456
|
+
const combined_1 = [];
|
|
457
|
+
let enumerator_2 = getEnumerator(origin_1);
|
|
458
|
+
try {
|
|
459
|
+
while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
460
|
+
const e_2 = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
461
|
+
if (!contains_1(e_2, combined_1, {
|
|
462
|
+
Equals: equals,
|
|
463
|
+
GetHashCode: safeHash,
|
|
464
|
+
})) {
|
|
465
|
+
void (combined_1.push(e_2));
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
finally {
|
|
470
|
+
disposeSafe(enumerator_2);
|
|
471
|
+
}
|
|
472
|
+
let enumerator_1_1 = getEnumerator(next_1);
|
|
473
|
+
try {
|
|
474
|
+
while (enumerator_1_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
475
|
+
const e_1_1 = enumerator_1_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
476
|
+
if (!contains_1(e_1_1, combined_1, {
|
|
477
|
+
Equals: equals,
|
|
478
|
+
GetHashCode: safeHash,
|
|
479
|
+
})) {
|
|
480
|
+
void (combined_1.push(e_1_1));
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
finally {
|
|
485
|
+
disposeSafe(enumerator_1_1);
|
|
486
|
+
}
|
|
487
|
+
s_1 = combined_1;
|
|
488
|
+
}
|
|
489
|
+
this$.Performers = s_1;
|
|
490
|
+
}
|
|
491
|
+
if ((assay.Comments.length !== 0) ? true : updateAlways) {
|
|
492
|
+
let s_2;
|
|
493
|
+
const origin_2 = this$.Comments;
|
|
494
|
+
const next_2 = assay.Comments;
|
|
495
|
+
if (!appendSequences_1) {
|
|
496
|
+
s_2 = ResizeArray_map((x_6) => x_6, next_2);
|
|
497
|
+
}
|
|
498
|
+
else {
|
|
499
|
+
const combined_2 = [];
|
|
500
|
+
let enumerator_3 = getEnumerator(origin_2);
|
|
501
|
+
try {
|
|
502
|
+
while (enumerator_3["System.Collections.IEnumerator.MoveNext"]()) {
|
|
503
|
+
const e_3 = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
504
|
+
if (!contains_1(e_3, combined_2, {
|
|
505
|
+
Equals: equals,
|
|
506
|
+
GetHashCode: safeHash,
|
|
507
|
+
})) {
|
|
508
|
+
void (combined_2.push(e_3));
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
finally {
|
|
513
|
+
disposeSafe(enumerator_3);
|
|
514
|
+
}
|
|
515
|
+
let enumerator_1_2 = getEnumerator(next_2);
|
|
516
|
+
try {
|
|
517
|
+
while (enumerator_1_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
518
|
+
const e_1_2 = enumerator_1_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
519
|
+
if (!contains_1(e_1_2, combined_2, {
|
|
520
|
+
Equals: equals,
|
|
521
|
+
GetHashCode: safeHash,
|
|
522
|
+
})) {
|
|
523
|
+
void (combined_2.push(e_1_2));
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
finally {
|
|
528
|
+
disposeSafe(enumerator_1_2);
|
|
529
|
+
}
|
|
530
|
+
s_2 = combined_2;
|
|
531
|
+
}
|
|
532
|
+
this$.Comments = s_2;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
toString() {
|
|
536
|
+
const this$ = this;
|
|
537
|
+
const arg = this$.Identifier;
|
|
538
|
+
const arg_1 = this$.Title;
|
|
539
|
+
const arg_2 = this$.Description;
|
|
540
|
+
const arg_3 = this$.MeasurementType;
|
|
541
|
+
const arg_4 = this$.TechnologyType;
|
|
542
|
+
const arg_5 = this$.TechnologyPlatform;
|
|
543
|
+
const arg_6 = this$.Tables;
|
|
544
|
+
const arg_7 = this$.Performers;
|
|
545
|
+
const arg_8 = this$.Comments;
|
|
546
|
+
return toText(printf("ArcAssay({\r\n Identifier = \"%s\",\r\n Title = %A,\r\n Description = %A,\r\n MeasurementType = %A,\r\n TechnologyType = %A,\r\n TechnologyPlatform = %A,\r\n Tables = %A,\r\n Performers = %A,\r\n Comments = %A\r\n})"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8);
|
|
547
|
+
}
|
|
548
|
+
AddToInvestigation(investigation) {
|
|
549
|
+
const this$ = this;
|
|
550
|
+
this$.Investigation = investigation;
|
|
551
|
+
}
|
|
552
|
+
RemoveFromInvestigation() {
|
|
553
|
+
const this$ = this;
|
|
554
|
+
this$.Investigation = undefined;
|
|
555
|
+
}
|
|
556
|
+
UpdateReferenceByAssayFile(assay, onlyReplaceExisting) {
|
|
557
|
+
const this$ = this;
|
|
558
|
+
const updateAlways = !defaultArg(onlyReplaceExisting, false);
|
|
559
|
+
if ((assay.Title != null) ? true : updateAlways) {
|
|
560
|
+
this$.Title = assay.Title;
|
|
561
|
+
}
|
|
562
|
+
if ((assay.Description != null) ? true : updateAlways) {
|
|
563
|
+
this$.Description = assay.Description;
|
|
564
|
+
}
|
|
565
|
+
if ((assay.MeasurementType != null) ? true : updateAlways) {
|
|
566
|
+
this$.MeasurementType = assay.MeasurementType;
|
|
567
|
+
}
|
|
568
|
+
if ((assay.TechnologyPlatform != null) ? true : updateAlways) {
|
|
569
|
+
this$.TechnologyPlatform = assay.TechnologyPlatform;
|
|
570
|
+
}
|
|
571
|
+
if ((assay.TechnologyType != null) ? true : updateAlways) {
|
|
572
|
+
this$.TechnologyType = assay.TechnologyType;
|
|
573
|
+
}
|
|
574
|
+
if ((assay.Tables.length !== 0) ? true : updateAlways) {
|
|
575
|
+
this$.Tables = assay.Tables;
|
|
576
|
+
}
|
|
577
|
+
if ((assay.Comments.length !== 0) ? true : updateAlways) {
|
|
578
|
+
this$.Comments = assay.Comments;
|
|
579
|
+
}
|
|
580
|
+
this$.DataMap = assay.DataMap;
|
|
581
|
+
if ((assay.Performers.length !== 0) ? true : updateAlways) {
|
|
582
|
+
this$.Performers = assay.Performers;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
StructurallyEquals(other) {
|
|
586
|
+
let a, b, a_1, b_1, a_2, b_2;
|
|
587
|
+
const this$ = this;
|
|
588
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), equals(this$.DataMap, other.DataMap), (a = this$.Tables, (b = other.Tables, (length(a) === length(b)) && fold((acc, e) => {
|
|
589
|
+
if (acc) {
|
|
590
|
+
return e;
|
|
591
|
+
}
|
|
592
|
+
else {
|
|
593
|
+
return false;
|
|
594
|
+
}
|
|
595
|
+
}, true, toList(delay(() => map_1((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Performers, (b_1 = other.Performers, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
596
|
+
if (acc_1) {
|
|
597
|
+
return e_1;
|
|
598
|
+
}
|
|
599
|
+
else {
|
|
600
|
+
return false;
|
|
601
|
+
}
|
|
602
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.Comments, (b_2 = other.Comments, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
603
|
+
if (acc_2) {
|
|
604
|
+
return e_2;
|
|
605
|
+
}
|
|
606
|
+
else {
|
|
607
|
+
return false;
|
|
608
|
+
}
|
|
609
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))))]);
|
|
610
|
+
}
|
|
611
|
+
ReferenceEquals(other) {
|
|
612
|
+
const this$ = this;
|
|
613
|
+
return this$ === other;
|
|
614
|
+
}
|
|
615
|
+
Equals(other) {
|
|
616
|
+
let assay;
|
|
617
|
+
const this$ = this;
|
|
618
|
+
return (other instanceof ArcAssay) && ((assay = other, this$.StructurallyEquals(assay)));
|
|
619
|
+
}
|
|
620
|
+
GetLightHashCode() {
|
|
621
|
+
const this$ = this;
|
|
622
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
623
|
+
}
|
|
624
|
+
GetHashCode() {
|
|
625
|
+
const this$ = this;
|
|
626
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
export function ArcAssay_$reflection() {
|
|
630
|
+
return class_type("ARCtrl.ArcAssay", undefined, ArcAssay, ArcTables_$reflection());
|
|
631
|
+
}
|
|
632
|
+
export function ArcAssay_$ctor_11E1F34(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
633
|
+
return new ArcAssay(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments);
|
|
634
|
+
}
|
|
635
|
+
export class ArcStudy extends ArcTables {
|
|
636
|
+
constructor(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
637
|
+
super(defaultArg(tables, []));
|
|
638
|
+
let identifier_1;
|
|
639
|
+
const publications_1 = defaultArg(publications, []);
|
|
640
|
+
const contacts_1 = defaultArg(contacts, []);
|
|
641
|
+
const studyDesignDescriptors_1 = defaultArg(studyDesignDescriptors, []);
|
|
642
|
+
const registeredAssayIdentifiers_1 = defaultArg(registeredAssayIdentifiers, []);
|
|
643
|
+
const comments_1 = defaultArg(comments, []);
|
|
644
|
+
this["identifier@579"] = ((identifier_1 = identifier.trim(), (checkValidCharacters(identifier_1), identifier_1)));
|
|
645
|
+
this.investigation = undefined;
|
|
646
|
+
this["title@584"] = title;
|
|
647
|
+
this["description@585"] = description;
|
|
648
|
+
this["submissionDate@586"] = submissionDate;
|
|
649
|
+
this["publicReleaseDate@587"] = publicReleaseDate;
|
|
650
|
+
this["publications@588-1"] = publications_1;
|
|
651
|
+
this["contacts@589-1"] = contacts_1;
|
|
652
|
+
this["studyDesignDescriptors@590-1"] = studyDesignDescriptors_1;
|
|
653
|
+
this["datamap@591"] = datamap;
|
|
654
|
+
this["registeredAssayIdentifiers@592-1"] = registeredAssayIdentifiers_1;
|
|
655
|
+
this["comments@593-1"] = comments_1;
|
|
656
|
+
this.staticHash = 0;
|
|
657
|
+
}
|
|
658
|
+
get Identifier() {
|
|
659
|
+
const this$ = this;
|
|
660
|
+
return this$["identifier@579"];
|
|
661
|
+
}
|
|
662
|
+
set Identifier(i) {
|
|
663
|
+
const this$ = this;
|
|
664
|
+
this$["identifier@579"] = i;
|
|
665
|
+
}
|
|
666
|
+
get Investigation() {
|
|
667
|
+
const this$ = this;
|
|
668
|
+
return unwrap(this$.investigation);
|
|
669
|
+
}
|
|
670
|
+
set Investigation(i) {
|
|
671
|
+
const this$ = this;
|
|
672
|
+
this$.investigation = i;
|
|
673
|
+
}
|
|
674
|
+
get Title() {
|
|
675
|
+
const this$ = this;
|
|
676
|
+
return unwrap(this$["title@584"]);
|
|
677
|
+
}
|
|
678
|
+
set Title(n) {
|
|
679
|
+
const this$ = this;
|
|
680
|
+
this$["title@584"] = n;
|
|
681
|
+
}
|
|
682
|
+
get Description() {
|
|
683
|
+
const this$ = this;
|
|
684
|
+
return unwrap(this$["description@585"]);
|
|
685
|
+
}
|
|
686
|
+
set Description(n) {
|
|
687
|
+
const this$ = this;
|
|
688
|
+
this$["description@585"] = n;
|
|
689
|
+
}
|
|
690
|
+
get SubmissionDate() {
|
|
691
|
+
const this$ = this;
|
|
692
|
+
return unwrap(this$["submissionDate@586"]);
|
|
693
|
+
}
|
|
694
|
+
set SubmissionDate(n) {
|
|
695
|
+
const this$ = this;
|
|
696
|
+
this$["submissionDate@586"] = n;
|
|
697
|
+
}
|
|
698
|
+
get PublicReleaseDate() {
|
|
699
|
+
const this$ = this;
|
|
700
|
+
return unwrap(this$["publicReleaseDate@587"]);
|
|
701
|
+
}
|
|
702
|
+
set PublicReleaseDate(n) {
|
|
703
|
+
const this$ = this;
|
|
704
|
+
this$["publicReleaseDate@587"] = n;
|
|
705
|
+
}
|
|
706
|
+
get Publications() {
|
|
707
|
+
const this$ = this;
|
|
708
|
+
return this$["publications@588-1"];
|
|
709
|
+
}
|
|
710
|
+
set Publications(n) {
|
|
711
|
+
const this$ = this;
|
|
712
|
+
this$["publications@588-1"] = n;
|
|
713
|
+
}
|
|
714
|
+
get Contacts() {
|
|
715
|
+
const this$ = this;
|
|
716
|
+
return this$["contacts@589-1"];
|
|
717
|
+
}
|
|
718
|
+
set Contacts(n) {
|
|
719
|
+
const this$ = this;
|
|
720
|
+
this$["contacts@589-1"] = n;
|
|
721
|
+
}
|
|
722
|
+
get StudyDesignDescriptors() {
|
|
723
|
+
const this$ = this;
|
|
724
|
+
return this$["studyDesignDescriptors@590-1"];
|
|
725
|
+
}
|
|
726
|
+
set StudyDesignDescriptors(n) {
|
|
727
|
+
const this$ = this;
|
|
728
|
+
this$["studyDesignDescriptors@590-1"] = n;
|
|
729
|
+
}
|
|
730
|
+
get DataMap() {
|
|
731
|
+
const this$ = this;
|
|
732
|
+
return unwrap(this$["datamap@591"]);
|
|
733
|
+
}
|
|
734
|
+
set DataMap(n) {
|
|
735
|
+
const this$ = this;
|
|
736
|
+
this$["datamap@591"] = n;
|
|
737
|
+
}
|
|
738
|
+
get RegisteredAssayIdentifiers() {
|
|
739
|
+
const this$ = this;
|
|
740
|
+
return this$["registeredAssayIdentifiers@592-1"];
|
|
741
|
+
}
|
|
742
|
+
set RegisteredAssayIdentifiers(n) {
|
|
743
|
+
const this$ = this;
|
|
744
|
+
this$["registeredAssayIdentifiers@592-1"] = n;
|
|
745
|
+
}
|
|
746
|
+
get Comments() {
|
|
747
|
+
const this$ = this;
|
|
748
|
+
return this$["comments@593-1"];
|
|
749
|
+
}
|
|
750
|
+
set Comments(n) {
|
|
751
|
+
const this$ = this;
|
|
752
|
+
this$["comments@593-1"] = n;
|
|
753
|
+
}
|
|
754
|
+
get StaticHash() {
|
|
755
|
+
const this$ = this;
|
|
756
|
+
return this$.staticHash | 0;
|
|
757
|
+
}
|
|
758
|
+
set StaticHash(h) {
|
|
759
|
+
const this$ = this;
|
|
760
|
+
this$.staticHash = (h | 0);
|
|
761
|
+
}
|
|
762
|
+
static init(identifier) {
|
|
763
|
+
return new ArcStudy(identifier);
|
|
764
|
+
}
|
|
765
|
+
static create(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
766
|
+
return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), unwrap(publications), unwrap(contacts), unwrap(studyDesignDescriptors), unwrap(tables), unwrap(datamap), unwrap(registeredAssayIdentifiers), unwrap(comments));
|
|
767
|
+
}
|
|
768
|
+
static make(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
769
|
+
return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), publications, contacts, studyDesignDescriptors, tables, unwrap(datamap), registeredAssayIdentifiers, comments);
|
|
770
|
+
}
|
|
771
|
+
get isEmpty() {
|
|
772
|
+
const this$ = this;
|
|
773
|
+
return ((((((((equals(this$.Title, undefined) && equals(this$.Description, undefined)) && equals(this$.SubmissionDate, undefined)) && equals(this$.PublicReleaseDate, undefined)) && (this$.Publications.length === 0)) && (this$.Contacts.length === 0)) && (this$.StudyDesignDescriptors.length === 0)) && (this$.Tables.length === 0)) && (this$.RegisteredAssayIdentifiers.length === 0)) && (this$.Comments.length === 0);
|
|
774
|
+
}
|
|
775
|
+
static get FileName() {
|
|
776
|
+
return "isa.study.xlsx";
|
|
777
|
+
}
|
|
778
|
+
get RegisteredAssayIdentifierCount() {
|
|
779
|
+
const this$ = this;
|
|
780
|
+
return this$.RegisteredAssayIdentifiers.length | 0;
|
|
781
|
+
}
|
|
782
|
+
get RegisteredAssayCount() {
|
|
783
|
+
const this$ = this;
|
|
784
|
+
return this$.RegisteredAssays.length | 0;
|
|
785
|
+
}
|
|
786
|
+
get RegisteredAssays() {
|
|
787
|
+
const this$ = this;
|
|
788
|
+
let inv;
|
|
789
|
+
const investigation = this$.Investigation;
|
|
790
|
+
if (investigation != null) {
|
|
791
|
+
inv = value_5(investigation);
|
|
792
|
+
}
|
|
793
|
+
else {
|
|
794
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
795
|
+
}
|
|
796
|
+
const collection = choose((assayIdentifier) => inv.TryGetAssay(assayIdentifier), this$.RegisteredAssayIdentifiers);
|
|
797
|
+
return Array.from(collection);
|
|
798
|
+
}
|
|
799
|
+
get VacantAssayIdentifiers() {
|
|
800
|
+
const this$ = this;
|
|
801
|
+
let inv;
|
|
802
|
+
const investigation = this$.Investigation;
|
|
803
|
+
if (investigation != null) {
|
|
804
|
+
inv = value_5(investigation);
|
|
805
|
+
}
|
|
806
|
+
else {
|
|
807
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
808
|
+
}
|
|
809
|
+
const collection = filter((arg) => !inv.ContainsAssay(arg), this$.RegisteredAssayIdentifiers);
|
|
810
|
+
return Array.from(collection);
|
|
811
|
+
}
|
|
812
|
+
AddRegisteredAssay(assay) {
|
|
813
|
+
const this$ = this;
|
|
814
|
+
let inv;
|
|
815
|
+
const investigation = this$.Investigation;
|
|
816
|
+
if (investigation != null) {
|
|
817
|
+
inv = value_5(investigation);
|
|
818
|
+
}
|
|
819
|
+
else {
|
|
820
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
821
|
+
}
|
|
822
|
+
inv.AddAssay(assay);
|
|
823
|
+
inv.RegisterAssay(this$.Identifier, assay.Identifier);
|
|
824
|
+
}
|
|
825
|
+
static addRegisteredAssay(assay) {
|
|
826
|
+
return (study) => {
|
|
827
|
+
const newStudy = study.Copy();
|
|
828
|
+
newStudy.AddRegisteredAssay(assay);
|
|
829
|
+
return newStudy;
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
InitRegisteredAssay(assayIdentifier) {
|
|
833
|
+
const this$ = this;
|
|
834
|
+
const assay = new ArcAssay(assayIdentifier);
|
|
835
|
+
this$.AddRegisteredAssay(assay);
|
|
836
|
+
return assay;
|
|
837
|
+
}
|
|
838
|
+
static initRegisteredAssay(assayIdentifier) {
|
|
839
|
+
return (study) => {
|
|
840
|
+
const copy = study.Copy();
|
|
841
|
+
return [copy, copy.InitRegisteredAssay(assayIdentifier)];
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
RegisterAssay(assayIdentifier) {
|
|
845
|
+
const this$ = this;
|
|
846
|
+
if (contains(assayIdentifier, this$.RegisteredAssayIdentifiers, {
|
|
847
|
+
Equals: (x, y) => (x === y),
|
|
848
|
+
GetHashCode: stringHash,
|
|
849
|
+
})) {
|
|
850
|
+
throw new Error(`Assay \`${assayIdentifier}\` is already registered on the study.`);
|
|
851
|
+
}
|
|
852
|
+
void (this$.RegisteredAssayIdentifiers.push(assayIdentifier));
|
|
853
|
+
}
|
|
854
|
+
static registerAssay(assayIdentifier) {
|
|
855
|
+
return (study) => {
|
|
856
|
+
const copy = study.Copy();
|
|
857
|
+
copy.RegisterAssay(assayIdentifier);
|
|
858
|
+
return copy;
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
DeregisterAssay(assayIdentifier) {
|
|
862
|
+
const this$ = this;
|
|
863
|
+
removeInPlace(assayIdentifier, this$.RegisteredAssayIdentifiers, {
|
|
864
|
+
Equals: (x, y) => (x === y),
|
|
865
|
+
GetHashCode: stringHash,
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
static deregisterAssay(assayIdentifier) {
|
|
869
|
+
return (study) => {
|
|
870
|
+
const copy = study.Copy();
|
|
871
|
+
copy.DeregisterAssay(assayIdentifier);
|
|
872
|
+
return copy;
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
GetRegisteredAssay(assayIdentifier) {
|
|
876
|
+
const this$ = this;
|
|
877
|
+
if (!contains(assayIdentifier, this$.RegisteredAssayIdentifiers, {
|
|
878
|
+
Equals: (x, y) => (x === y),
|
|
879
|
+
GetHashCode: stringHash,
|
|
880
|
+
})) {
|
|
881
|
+
throw new Error(`Assay \`${assayIdentifier}\` is not registered on the study.`);
|
|
882
|
+
}
|
|
883
|
+
let inv;
|
|
884
|
+
const investigation = this$.Investigation;
|
|
885
|
+
if (investigation != null) {
|
|
886
|
+
inv = value_5(investigation);
|
|
887
|
+
}
|
|
888
|
+
else {
|
|
889
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
890
|
+
}
|
|
891
|
+
return inv.GetAssay(assayIdentifier);
|
|
892
|
+
}
|
|
893
|
+
static getRegisteredAssay(assayIdentifier) {
|
|
894
|
+
return (study) => {
|
|
895
|
+
const copy = study.Copy();
|
|
896
|
+
return copy.GetRegisteredAssay(assayIdentifier);
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
static getRegisteredAssays() {
|
|
900
|
+
return (study) => {
|
|
901
|
+
const copy = study.Copy();
|
|
902
|
+
return copy.RegisteredAssays;
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
GetRegisteredAssaysOrIdentifier() {
|
|
906
|
+
const this$ = this;
|
|
907
|
+
const matchValue = this$.Investigation;
|
|
908
|
+
if (matchValue == null) {
|
|
909
|
+
return ResizeArray_map((identifier_1) => ArcAssay.init(identifier_1), this$.RegisteredAssayIdentifiers);
|
|
910
|
+
}
|
|
911
|
+
else {
|
|
912
|
+
const i = value_5(matchValue);
|
|
913
|
+
return ResizeArray_map((identifier) => {
|
|
914
|
+
const matchValue_1 = i.TryGetAssay(identifier);
|
|
915
|
+
if (matchValue_1 == null) {
|
|
916
|
+
return ArcAssay.init(identifier);
|
|
917
|
+
}
|
|
918
|
+
else {
|
|
919
|
+
return value_5(matchValue_1);
|
|
920
|
+
}
|
|
921
|
+
}, this$.RegisteredAssayIdentifiers);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
static getRegisteredAssaysOrIdentifier() {
|
|
925
|
+
return (study) => {
|
|
926
|
+
const copy = study.Copy();
|
|
927
|
+
return copy.GetRegisteredAssaysOrIdentifier();
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
static addTable(table, index) {
|
|
931
|
+
return (study) => {
|
|
932
|
+
const c = study.Copy();
|
|
933
|
+
c.AddTable(table, unwrap(index));
|
|
934
|
+
return c;
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
static addTables(tables, index) {
|
|
938
|
+
return (study) => {
|
|
939
|
+
const c = study.Copy();
|
|
940
|
+
c.AddTables(tables, unwrap(index));
|
|
941
|
+
return c;
|
|
942
|
+
};
|
|
943
|
+
}
|
|
944
|
+
static initTable(tableName, index) {
|
|
945
|
+
return (study) => {
|
|
946
|
+
const c = study.Copy();
|
|
947
|
+
return [c, c.InitTable(tableName, unwrap(index))];
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
static initTables(tableNames, index) {
|
|
951
|
+
return (study) => {
|
|
952
|
+
const c = study.Copy();
|
|
953
|
+
c.InitTables(tableNames, unwrap(index));
|
|
954
|
+
return c;
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
static getTableAt(index) {
|
|
958
|
+
return (study) => {
|
|
959
|
+
const newAssay = study.Copy();
|
|
960
|
+
return newAssay.GetTableAt(index);
|
|
961
|
+
};
|
|
962
|
+
}
|
|
963
|
+
static getTable(name) {
|
|
964
|
+
return (study) => {
|
|
965
|
+
const newAssay = study.Copy();
|
|
966
|
+
return newAssay.GetTable(name);
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
static updateTableAt(index, table) {
|
|
970
|
+
return (study) => {
|
|
971
|
+
const newAssay = study.Copy();
|
|
972
|
+
newAssay.UpdateTableAt(index, table);
|
|
973
|
+
return newAssay;
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
static updateTable(name, table) {
|
|
977
|
+
return (study) => {
|
|
978
|
+
const newAssay = study.Copy();
|
|
979
|
+
newAssay.UpdateTable(name, table);
|
|
980
|
+
return newAssay;
|
|
981
|
+
};
|
|
982
|
+
}
|
|
983
|
+
static setTableAt(index, table) {
|
|
984
|
+
return (study) => {
|
|
985
|
+
const newAssay = study.Copy();
|
|
986
|
+
newAssay.SetTableAt(index, table);
|
|
987
|
+
return newAssay;
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
static setTable(name, table) {
|
|
991
|
+
return (study) => {
|
|
992
|
+
const newAssay = study.Copy();
|
|
993
|
+
newAssay.SetTable(name, table);
|
|
994
|
+
return newAssay;
|
|
995
|
+
};
|
|
996
|
+
}
|
|
997
|
+
static removeTableAt(index) {
|
|
998
|
+
return (study) => {
|
|
999
|
+
const newAssay = study.Copy();
|
|
1000
|
+
newAssay.RemoveTableAt(index);
|
|
1001
|
+
return newAssay;
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
static removeTable(name) {
|
|
1005
|
+
return (study) => {
|
|
1006
|
+
const newAssay = study.Copy();
|
|
1007
|
+
newAssay.RemoveTable(name);
|
|
1008
|
+
return newAssay;
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
static mapTableAt(index, updateFun) {
|
|
1012
|
+
return (study) => {
|
|
1013
|
+
const newAssay = study.Copy();
|
|
1014
|
+
newAssay.MapTableAt(index, updateFun);
|
|
1015
|
+
return newAssay;
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
static mapTable(name, updateFun) {
|
|
1019
|
+
return (study) => {
|
|
1020
|
+
const newAssay = study.Copy();
|
|
1021
|
+
newAssay.MapTable(name, updateFun);
|
|
1022
|
+
return newAssay;
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
static renameTableAt(index, newName) {
|
|
1026
|
+
return (study) => {
|
|
1027
|
+
const newAssay = study.Copy();
|
|
1028
|
+
newAssay.RenameTableAt(index, newName);
|
|
1029
|
+
return newAssay;
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
static renameTable(name, newName) {
|
|
1033
|
+
return (study) => {
|
|
1034
|
+
const newAssay = study.Copy();
|
|
1035
|
+
newAssay.RenameTable(name, newName);
|
|
1036
|
+
return newAssay;
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
static addColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
|
|
1040
|
+
return (study) => {
|
|
1041
|
+
const newAssay = study.Copy();
|
|
1042
|
+
newAssay.AddColumnAt(tableIndex, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
1043
|
+
return newAssay;
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
static addColumn(tableName, header, cells, columnIndex, forceReplace) {
|
|
1047
|
+
return (study) => {
|
|
1048
|
+
const newAssay = study.Copy();
|
|
1049
|
+
newAssay.AddColumn(tableName, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
1050
|
+
return newAssay;
|
|
1051
|
+
};
|
|
1052
|
+
}
|
|
1053
|
+
static removeColumnAt(tableIndex, columnIndex) {
|
|
1054
|
+
return (study) => {
|
|
1055
|
+
const newAssay = study.Copy();
|
|
1056
|
+
newAssay.RemoveColumnAt(tableIndex, columnIndex);
|
|
1057
|
+
return newAssay;
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
static removeColumn(tableName, columnIndex) {
|
|
1061
|
+
return (study) => {
|
|
1062
|
+
const newAssay = study.Copy();
|
|
1063
|
+
newAssay.RemoveColumn(tableName, columnIndex);
|
|
1064
|
+
return newAssay;
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
static updateColumnAt(tableIndex, columnIndex, header, cells) {
|
|
1068
|
+
return (study) => {
|
|
1069
|
+
const newAssay = study.Copy();
|
|
1070
|
+
newAssay.UpdateColumnAt(tableIndex, columnIndex, header, unwrap(cells));
|
|
1071
|
+
return newAssay;
|
|
1072
|
+
};
|
|
1073
|
+
}
|
|
1074
|
+
static updateColumn(tableName, columnIndex, header, cells) {
|
|
1075
|
+
return (study) => {
|
|
1076
|
+
const newAssay = study.Copy();
|
|
1077
|
+
newAssay.UpdateColumn(tableName, columnIndex, header, unwrap(cells));
|
|
1078
|
+
return newAssay;
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
static getColumnAt(tableIndex, columnIndex) {
|
|
1082
|
+
return (study) => {
|
|
1083
|
+
const newAssay = study.Copy();
|
|
1084
|
+
return newAssay.GetColumnAt(tableIndex, columnIndex);
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
static getColumn(tableName, columnIndex) {
|
|
1088
|
+
return (study) => {
|
|
1089
|
+
const newAssay = study.Copy();
|
|
1090
|
+
return newAssay.GetColumn(tableName, columnIndex);
|
|
1091
|
+
};
|
|
1092
|
+
}
|
|
1093
|
+
static addRowAt(tableIndex, cells, rowIndex) {
|
|
1094
|
+
return (study) => {
|
|
1095
|
+
const newAssay = study.Copy();
|
|
1096
|
+
newAssay.AddRowAt(tableIndex, unwrap(cells), unwrap(rowIndex));
|
|
1097
|
+
return newAssay;
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
static addRow(tableName, cells, rowIndex) {
|
|
1101
|
+
return (study) => {
|
|
1102
|
+
const newAssay = study.Copy();
|
|
1103
|
+
newAssay.AddRow(tableName, unwrap(cells), unwrap(rowIndex));
|
|
1104
|
+
return newAssay;
|
|
1105
|
+
};
|
|
1106
|
+
}
|
|
1107
|
+
static removeRowAt(tableIndex, rowIndex) {
|
|
1108
|
+
return (study) => {
|
|
1109
|
+
const newAssay = study.Copy();
|
|
1110
|
+
newAssay.RemoveColumnAt(tableIndex, rowIndex);
|
|
1111
|
+
return newAssay;
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
static removeRow(tableName, rowIndex) {
|
|
1115
|
+
return (study) => {
|
|
1116
|
+
const newAssay = study.Copy();
|
|
1117
|
+
newAssay.RemoveRow(tableName, rowIndex);
|
|
1118
|
+
return newAssay;
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1121
|
+
static updateRowAt(tableIndex, rowIndex, cells) {
|
|
1122
|
+
return (study) => {
|
|
1123
|
+
const newAssay = study.Copy();
|
|
1124
|
+
newAssay.UpdateRowAt(tableIndex, rowIndex, cells);
|
|
1125
|
+
return newAssay;
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
static updateRow(tableName, rowIndex, cells) {
|
|
1129
|
+
return (study) => {
|
|
1130
|
+
const newAssay = study.Copy();
|
|
1131
|
+
newAssay.UpdateRow(tableName, rowIndex, cells);
|
|
1132
|
+
return newAssay;
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
static getRowAt(tableIndex, rowIndex) {
|
|
1136
|
+
return (study) => {
|
|
1137
|
+
const newAssay = study.Copy();
|
|
1138
|
+
return newAssay.GetRowAt(tableIndex, rowIndex);
|
|
1139
|
+
};
|
|
1140
|
+
}
|
|
1141
|
+
static getRow(tableName, rowIndex) {
|
|
1142
|
+
return (study) => {
|
|
1143
|
+
const newAssay = study.Copy();
|
|
1144
|
+
return newAssay.GetRow(tableName, rowIndex);
|
|
1145
|
+
};
|
|
1146
|
+
}
|
|
1147
|
+
AddToInvestigation(investigation) {
|
|
1148
|
+
const this$ = this;
|
|
1149
|
+
this$.Investigation = investigation;
|
|
1150
|
+
}
|
|
1151
|
+
RemoveFromInvestigation() {
|
|
1152
|
+
const this$ = this;
|
|
1153
|
+
this$.Investigation = undefined;
|
|
1154
|
+
}
|
|
1155
|
+
Copy(copyInvestigationRef) {
|
|
1156
|
+
const this$ = this;
|
|
1157
|
+
const copyInvestigationRef_1 = defaultArg(copyInvestigationRef, false);
|
|
1158
|
+
const nextTables = [];
|
|
1159
|
+
const nextAssayIdentifiers = Array.from(this$.RegisteredAssayIdentifiers);
|
|
1160
|
+
let enumerator = getEnumerator(this$.Tables);
|
|
1161
|
+
try {
|
|
1162
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1163
|
+
const table = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1164
|
+
const copy = table.Copy();
|
|
1165
|
+
void (nextTables.push(copy));
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
finally {
|
|
1169
|
+
disposeSafe(enumerator);
|
|
1170
|
+
}
|
|
1171
|
+
const nextComments = ResizeArray_map((c) => c.Copy(), this$.Comments);
|
|
1172
|
+
const nextContacts = ResizeArray_map((c_1) => c_1.Copy(), this$.Contacts);
|
|
1173
|
+
const nextPublications = ResizeArray_map((c_2) => c_2.Copy(), this$.Publications);
|
|
1174
|
+
const nextStudyDesignDescriptors = ResizeArray_map((c_3) => c_3.Copy(), this$.StudyDesignDescriptors);
|
|
1175
|
+
const nextDataMap = map(DataMap__Copy, this$.DataMap);
|
|
1176
|
+
let study;
|
|
1177
|
+
const identifier = this$.Identifier;
|
|
1178
|
+
const title = this$.Title;
|
|
1179
|
+
const description = this$.Description;
|
|
1180
|
+
const submissionDate = this$.SubmissionDate;
|
|
1181
|
+
const publicReleaseDate = this$.PublicReleaseDate;
|
|
1182
|
+
study = ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextDataMap, nextAssayIdentifiers, nextComments);
|
|
1183
|
+
if (copyInvestigationRef_1) {
|
|
1184
|
+
study.Investigation = this$.Investigation;
|
|
1185
|
+
}
|
|
1186
|
+
return study;
|
|
1187
|
+
}
|
|
1188
|
+
UpdateReferenceByStudyFile(study, onlyReplaceExisting, keepUnusedRefTables) {
|
|
1189
|
+
const this$ = this;
|
|
1190
|
+
const updateAlways = !defaultArg(onlyReplaceExisting, false);
|
|
1191
|
+
if ((study.Title != null) ? true : updateAlways) {
|
|
1192
|
+
this$.Title = study.Title;
|
|
1193
|
+
}
|
|
1194
|
+
if ((study.Description != null) ? true : updateAlways) {
|
|
1195
|
+
this$.Description = study.Description;
|
|
1196
|
+
}
|
|
1197
|
+
if ((study.SubmissionDate != null) ? true : updateAlways) {
|
|
1198
|
+
this$.SubmissionDate = study.SubmissionDate;
|
|
1199
|
+
}
|
|
1200
|
+
if ((study.PublicReleaseDate != null) ? true : updateAlways) {
|
|
1201
|
+
this$.PublicReleaseDate = study.PublicReleaseDate;
|
|
1202
|
+
}
|
|
1203
|
+
if ((study.Publications.length !== 0) ? true : updateAlways) {
|
|
1204
|
+
this$.Publications = study.Publications;
|
|
1205
|
+
}
|
|
1206
|
+
if ((study.Contacts.length !== 0) ? true : updateAlways) {
|
|
1207
|
+
this$.Contacts = study.Contacts;
|
|
1208
|
+
}
|
|
1209
|
+
if ((study.StudyDesignDescriptors.length !== 0) ? true : updateAlways) {
|
|
1210
|
+
this$.StudyDesignDescriptors = study.StudyDesignDescriptors;
|
|
1211
|
+
}
|
|
1212
|
+
if ((study.Tables.length !== 0) ? true : updateAlways) {
|
|
1213
|
+
const tables = ArcTables.updateReferenceTablesBySheets(new ArcTables(this$.Tables), new ArcTables(study.Tables), unwrap(keepUnusedRefTables));
|
|
1214
|
+
this$.Tables = tables.Tables;
|
|
1215
|
+
}
|
|
1216
|
+
this$.DataMap = study.DataMap;
|
|
1217
|
+
if ((study.RegisteredAssayIdentifiers.length !== 0) ? true : updateAlways) {
|
|
1218
|
+
this$.RegisteredAssayIdentifiers = study.RegisteredAssayIdentifiers;
|
|
1219
|
+
}
|
|
1220
|
+
if ((study.Comments.length !== 0) ? true : updateAlways) {
|
|
1221
|
+
this$.Comments = study.Comments;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
StructurallyEquals(other) {
|
|
1225
|
+
let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5;
|
|
1226
|
+
const this$ = this;
|
|
1227
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), equals(this$.DataMap, other.DataMap), (a = this$.Publications, (b = other.Publications, (length(a) === length(b)) && fold((acc, e) => {
|
|
1228
|
+
if (acc) {
|
|
1229
|
+
return e;
|
|
1230
|
+
}
|
|
1231
|
+
else {
|
|
1232
|
+
return false;
|
|
1233
|
+
}
|
|
1234
|
+
}, true, toList(delay(() => map_1((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Contacts, (b_1 = other.Contacts, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
1235
|
+
if (acc_1) {
|
|
1236
|
+
return e_1;
|
|
1237
|
+
}
|
|
1238
|
+
else {
|
|
1239
|
+
return false;
|
|
1240
|
+
}
|
|
1241
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.StudyDesignDescriptors, (b_2 = other.StudyDesignDescriptors, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
1242
|
+
if (acc_2) {
|
|
1243
|
+
return e_2;
|
|
1244
|
+
}
|
|
1245
|
+
else {
|
|
1246
|
+
return false;
|
|
1247
|
+
}
|
|
1248
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Tables, (b_3 = other.Tables, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
1249
|
+
if (acc_3) {
|
|
1250
|
+
return e_3;
|
|
1251
|
+
}
|
|
1252
|
+
else {
|
|
1253
|
+
return false;
|
|
1254
|
+
}
|
|
1255
|
+
}, true, toList(delay(() => map_1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = this$.RegisteredAssayIdentifiers, (b_4 = other.RegisteredAssayIdentifiers, (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
1256
|
+
if (acc_4) {
|
|
1257
|
+
return e_4;
|
|
1258
|
+
}
|
|
1259
|
+
else {
|
|
1260
|
+
return false;
|
|
1261
|
+
}
|
|
1262
|
+
}, true, toList(delay(() => map_1((i_5) => (item(i_5, a_4) === item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Comments, (b_5 = other.Comments, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
1263
|
+
if (acc_5) {
|
|
1264
|
+
return e_5;
|
|
1265
|
+
}
|
|
1266
|
+
else {
|
|
1267
|
+
return false;
|
|
1268
|
+
}
|
|
1269
|
+
}, true, toList(delay(() => map_1((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1)))))))]);
|
|
1270
|
+
}
|
|
1271
|
+
ReferenceEquals(other) {
|
|
1272
|
+
const this$ = this;
|
|
1273
|
+
return this$ === other;
|
|
1274
|
+
}
|
|
1275
|
+
toString() {
|
|
1276
|
+
const this$ = this;
|
|
1277
|
+
const arg = this$.Identifier;
|
|
1278
|
+
const arg_1 = this$.Title;
|
|
1279
|
+
const arg_2 = this$.Description;
|
|
1280
|
+
const arg_3 = this$.SubmissionDate;
|
|
1281
|
+
const arg_4 = this$.PublicReleaseDate;
|
|
1282
|
+
const arg_5 = this$.Publications;
|
|
1283
|
+
const arg_6 = this$.Contacts;
|
|
1284
|
+
const arg_7 = this$.StudyDesignDescriptors;
|
|
1285
|
+
const arg_8 = this$.Tables;
|
|
1286
|
+
const arg_9 = this$.RegisteredAssayIdentifiers;
|
|
1287
|
+
const arg_10 = this$.Comments;
|
|
1288
|
+
return toText(printf("ArcStudy {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n SubmissionDate = %A,\r\n PublicReleaseDate = %A,\r\n Publications = %A,\r\n Contacts = %A,\r\n StudyDesignDescriptors = %A,\r\n Tables = %A,\r\n RegisteredAssayIdentifiers = %A,\r\n Comments = %A,\r\n}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10);
|
|
1289
|
+
}
|
|
1290
|
+
Equals(other) {
|
|
1291
|
+
let s;
|
|
1292
|
+
const this$ = this;
|
|
1293
|
+
return (other instanceof ArcStudy) && ((s = other, this$.StructurallyEquals(s)));
|
|
1294
|
+
}
|
|
1295
|
+
GetHashCode() {
|
|
1296
|
+
const this$ = this;
|
|
1297
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashOption(this$.DataMap), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
|
|
1298
|
+
}
|
|
1299
|
+
GetLightHashCode() {
|
|
1300
|
+
const this$ = this;
|
|
1301
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
export function ArcStudy_$reflection() {
|
|
1305
|
+
return class_type("ARCtrl.ArcStudy", undefined, ArcStudy, ArcTables_$reflection());
|
|
1306
|
+
}
|
|
1307
|
+
export function ArcStudy_$ctor_64321D5B(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
1308
|
+
return new ArcStudy(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments);
|
|
1309
|
+
}
|
|
1310
|
+
export class ArcWorkflow {
|
|
1311
|
+
constructor(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
1312
|
+
let identifier_1;
|
|
1313
|
+
this["identifier@1151"] = ((identifier_1 = identifier.trim(), (checkValidCharacters(identifier_1), identifier_1)));
|
|
1314
|
+
this.investigation = undefined;
|
|
1315
|
+
this["title@1156"] = title;
|
|
1316
|
+
this["description@1157"] = description;
|
|
1317
|
+
this["subWorkflowIdentifiers@1158"] = defaultArg(subWorkflowIdentifiers, []);
|
|
1318
|
+
this["workflowType@1159"] = workflowType;
|
|
1319
|
+
this["uri@1160"] = uri;
|
|
1320
|
+
this["version@1161"] = version;
|
|
1321
|
+
this["parameters@1162"] = defaultArg(parameters, []);
|
|
1322
|
+
this["components@1163"] = defaultArg(components, []);
|
|
1323
|
+
this.dataMap = datamap;
|
|
1324
|
+
this["contacts@1165"] = defaultArg(contacts, []);
|
|
1325
|
+
this["comments@1166"] = defaultArg(comments, []);
|
|
1326
|
+
this.staticHash = 0;
|
|
1327
|
+
}
|
|
1328
|
+
toString() {
|
|
1329
|
+
const this$ = this;
|
|
1330
|
+
const arg = ArcWorkflow__get_Identifier(this$);
|
|
1331
|
+
const arg_1 = ArcWorkflow__get_Title(this$);
|
|
1332
|
+
const arg_2 = ArcWorkflow__get_Description(this$);
|
|
1333
|
+
const arg_3 = ArcWorkflow__get_WorkflowType(this$);
|
|
1334
|
+
const arg_4 = ArcWorkflow__get_URI(this$);
|
|
1335
|
+
const arg_5 = ArcWorkflow__get_Version(this$);
|
|
1336
|
+
const arg_6 = ArcWorkflow__get_SubWorkflowIdentifiers(this$);
|
|
1337
|
+
const arg_7 = ArcWorkflow__get_Parameters(this$);
|
|
1338
|
+
const arg_8 = ArcWorkflow__get_Components(this$);
|
|
1339
|
+
const arg_9 = ArcWorkflow__get_DataMap(this$);
|
|
1340
|
+
const arg_10 = ArcWorkflow__get_Contacts(this$);
|
|
1341
|
+
const arg_11 = ArcWorkflow__get_Comments(this$);
|
|
1342
|
+
return toText(printf("ArcWorkflow {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n WorkflowType = %A,\r\n URI = %A,\r\n Version = %A,\r\n SubWorkflowIdentifiers = %A,\r\n Parameters = %A,\r\n Components = %A,\r\n DataMap = %A,\r\n Contacts = %A,\r\n Comments = %A}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11);
|
|
1343
|
+
}
|
|
1344
|
+
Equals(other) {
|
|
1345
|
+
let s;
|
|
1346
|
+
const this$ = this;
|
|
1347
|
+
return (other instanceof ArcWorkflow) && ((s = other, ArcWorkflow__StructurallyEquals_Z1C75CB0E(this$, s)));
|
|
1348
|
+
}
|
|
1349
|
+
GetHashCode() {
|
|
1350
|
+
const this$ = this;
|
|
1351
|
+
return boxHashArray([ArcWorkflow__get_Identifier(this$), boxHashOption(ArcWorkflow__get_Title(this$)), boxHashOption(ArcWorkflow__get_Description(this$)), boxHashOption(ArcWorkflow__get_WorkflowType(this$)), boxHashOption(ArcWorkflow__get_URI(this$)), boxHashOption(ArcWorkflow__get_Version(this$)), boxHashSeq(ArcWorkflow__get_SubWorkflowIdentifiers(this$)), boxHashSeq(ArcWorkflow__get_Parameters(this$)), boxHashSeq(ArcWorkflow__get_Components(this$)), boxHashOption(ArcWorkflow__get_DataMap(this$)), boxHashSeq(ArcWorkflow__get_Contacts(this$)), boxHashSeq(ArcWorkflow__get_Comments(this$))]) | 0;
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
export function ArcWorkflow_$reflection() {
|
|
1355
|
+
return class_type("ARCtrl.ArcWorkflow", undefined, ArcWorkflow);
|
|
1356
|
+
}
|
|
1357
|
+
export function ArcWorkflow_$ctor_Z3BB02240(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
1358
|
+
return new ArcWorkflow(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments);
|
|
1359
|
+
}
|
|
1360
|
+
export class ArcRun extends ArcTables {
|
|
1361
|
+
constructor(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
|
|
1362
|
+
super(defaultArg(tables, []));
|
|
1363
|
+
let identifier_1;
|
|
1364
|
+
const performers_1 = defaultArg(performers, []);
|
|
1365
|
+
const comments_1 = defaultArg(comments, []);
|
|
1366
|
+
const workflowIdentifiers_1 = defaultArg(workflowIdentifiers, []);
|
|
1367
|
+
this["identifier@1447"] = ((identifier_1 = identifier.trim(), (checkValidCharacters(identifier_1), identifier_1)));
|
|
1368
|
+
this["title@1451"] = title;
|
|
1369
|
+
this["description@1452"] = description;
|
|
1370
|
+
this.investigation = undefined;
|
|
1371
|
+
this["measurementType@1454"] = measurementType;
|
|
1372
|
+
this["technologyType@1455"] = technologyType;
|
|
1373
|
+
this["technologyPlatform@1456"] = technologyPlatform;
|
|
1374
|
+
this["workflowIdentifiers@1457-1"] = workflowIdentifiers_1;
|
|
1375
|
+
this.dataMap = datamap;
|
|
1376
|
+
this["performers@1459-1"] = performers_1;
|
|
1377
|
+
this["comments@1460-1"] = comments_1;
|
|
1378
|
+
this.staticHash = 0;
|
|
1379
|
+
}
|
|
1380
|
+
get Identifier() {
|
|
1381
|
+
const this$ = this;
|
|
1382
|
+
return this$["identifier@1447"];
|
|
1383
|
+
}
|
|
1384
|
+
set Identifier(i) {
|
|
1385
|
+
const this$ = this;
|
|
1386
|
+
this$["identifier@1447"] = i;
|
|
1387
|
+
}
|
|
1388
|
+
get Investigation() {
|
|
1389
|
+
const this$ = this;
|
|
1390
|
+
return unwrap(this$.investigation);
|
|
1391
|
+
}
|
|
1392
|
+
set Investigation(i) {
|
|
1393
|
+
const this$ = this;
|
|
1394
|
+
this$.investigation = i;
|
|
1395
|
+
}
|
|
1396
|
+
get Title() {
|
|
1397
|
+
const this$ = this;
|
|
1398
|
+
return unwrap(this$["title@1451"]);
|
|
1399
|
+
}
|
|
1400
|
+
set Title(t) {
|
|
1401
|
+
const this$ = this;
|
|
1402
|
+
this$["title@1451"] = t;
|
|
1403
|
+
}
|
|
1404
|
+
get Description() {
|
|
1405
|
+
const this$ = this;
|
|
1406
|
+
return unwrap(this$["description@1452"]);
|
|
1407
|
+
}
|
|
1408
|
+
set Description(d) {
|
|
1409
|
+
const this$ = this;
|
|
1410
|
+
this$["description@1452"] = d;
|
|
1411
|
+
}
|
|
1412
|
+
get MeasurementType() {
|
|
1413
|
+
const this$ = this;
|
|
1414
|
+
return unwrap(this$["measurementType@1454"]);
|
|
1415
|
+
}
|
|
1416
|
+
set MeasurementType(n) {
|
|
1417
|
+
const this$ = this;
|
|
1418
|
+
this$["measurementType@1454"] = n;
|
|
1419
|
+
}
|
|
1420
|
+
get TechnologyType() {
|
|
1421
|
+
const this$ = this;
|
|
1422
|
+
return unwrap(this$["technologyType@1455"]);
|
|
1423
|
+
}
|
|
1424
|
+
set TechnologyType(n) {
|
|
1425
|
+
const this$ = this;
|
|
1426
|
+
this$["technologyType@1455"] = n;
|
|
1427
|
+
}
|
|
1428
|
+
get TechnologyPlatform() {
|
|
1429
|
+
const this$ = this;
|
|
1430
|
+
return unwrap(this$["technologyPlatform@1456"]);
|
|
1431
|
+
}
|
|
1432
|
+
set TechnologyPlatform(n) {
|
|
1433
|
+
const this$ = this;
|
|
1434
|
+
this$["technologyPlatform@1456"] = n;
|
|
1435
|
+
}
|
|
1436
|
+
get WorkflowIdentifiers() {
|
|
1437
|
+
const this$ = this;
|
|
1438
|
+
return this$["workflowIdentifiers@1457-1"];
|
|
1439
|
+
}
|
|
1440
|
+
set WorkflowIdentifiers(w) {
|
|
1441
|
+
const this$ = this;
|
|
1442
|
+
this$["workflowIdentifiers@1457-1"] = w;
|
|
1443
|
+
}
|
|
1444
|
+
get DataMap() {
|
|
1445
|
+
const this$ = this;
|
|
1446
|
+
return unwrap(this$.dataMap);
|
|
1447
|
+
}
|
|
1448
|
+
set DataMap(n) {
|
|
1449
|
+
const this$ = this;
|
|
1450
|
+
this$.dataMap = n;
|
|
1451
|
+
}
|
|
1452
|
+
get Performers() {
|
|
1453
|
+
const this$ = this;
|
|
1454
|
+
return this$["performers@1459-1"];
|
|
1455
|
+
}
|
|
1456
|
+
set Performers(n) {
|
|
1457
|
+
const this$ = this;
|
|
1458
|
+
this$["performers@1459-1"] = n;
|
|
1459
|
+
}
|
|
1460
|
+
get Comments() {
|
|
1461
|
+
const this$ = this;
|
|
1462
|
+
return this$["comments@1460-1"];
|
|
1463
|
+
}
|
|
1464
|
+
set Comments(n) {
|
|
1465
|
+
const this$ = this;
|
|
1466
|
+
this$["comments@1460-1"] = n;
|
|
1467
|
+
}
|
|
1468
|
+
get StaticHash() {
|
|
1469
|
+
const this$ = this;
|
|
1470
|
+
return this$.staticHash | 0;
|
|
1471
|
+
}
|
|
1472
|
+
set StaticHash(h) {
|
|
1473
|
+
const this$ = this;
|
|
1474
|
+
this$.staticHash = (h | 0);
|
|
1475
|
+
}
|
|
1476
|
+
static init(identifier) {
|
|
1477
|
+
return new ArcRun(identifier);
|
|
1478
|
+
}
|
|
1479
|
+
static create(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
|
|
1480
|
+
return new ArcRun(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), unwrap(workflowIdentifiers), unwrap(tables), unwrap(datamap), unwrap(performers), unwrap(comments));
|
|
1481
|
+
}
|
|
1482
|
+
static make(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
|
|
1483
|
+
return new ArcRun(identifier, unwrap(title), unwrap(description), unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), workflowIdentifiers, tables, unwrap(datamap), performers, comments);
|
|
1484
|
+
}
|
|
1485
|
+
static get FileName() {
|
|
1486
|
+
return "isa.run.xlsx";
|
|
1487
|
+
}
|
|
1488
|
+
get WorkflowIdentifierCount() {
|
|
1489
|
+
const this$ = this;
|
|
1490
|
+
return this$.WorkflowIdentifiers.length | 0;
|
|
1491
|
+
}
|
|
1492
|
+
get WorkflowCount() {
|
|
1493
|
+
const this$ = this;
|
|
1494
|
+
return this$.Workflows.length | 0;
|
|
1495
|
+
}
|
|
1496
|
+
get Workflows() {
|
|
1497
|
+
const this$ = this;
|
|
1498
|
+
let inv;
|
|
1499
|
+
const investigation = this$.Investigation;
|
|
1500
|
+
if (investigation != null) {
|
|
1501
|
+
inv = value_5(investigation);
|
|
1502
|
+
}
|
|
1503
|
+
else {
|
|
1504
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
1505
|
+
}
|
|
1506
|
+
const collection = choose((workflowIdentifier) => inv.TryGetWorkflow(workflowIdentifier), this$.WorkflowIdentifiers);
|
|
1507
|
+
return Array.from(collection);
|
|
1508
|
+
}
|
|
1509
|
+
get VacantWorkflowIdentifiers() {
|
|
1510
|
+
const this$ = this;
|
|
1511
|
+
let inv;
|
|
1512
|
+
const investigation = this$.Investigation;
|
|
1513
|
+
if (investigation != null) {
|
|
1514
|
+
inv = value_5(investigation);
|
|
1515
|
+
}
|
|
1516
|
+
else {
|
|
1517
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
1518
|
+
}
|
|
1519
|
+
const collection = filter((arg) => !inv.ContainsWorkflow(arg), this$.WorkflowIdentifiers);
|
|
1520
|
+
return Array.from(collection);
|
|
1521
|
+
}
|
|
1522
|
+
static addTable(table, index) {
|
|
1523
|
+
return (run) => {
|
|
1524
|
+
const c = run.Copy();
|
|
1525
|
+
c.AddTable(table, unwrap(index));
|
|
1526
|
+
return c;
|
|
1527
|
+
};
|
|
1528
|
+
}
|
|
1529
|
+
static addTables(tables, index) {
|
|
1530
|
+
return (run) => {
|
|
1531
|
+
const c = run.Copy();
|
|
1532
|
+
c.AddTables(tables, unwrap(index));
|
|
1533
|
+
return c;
|
|
1534
|
+
};
|
|
1535
|
+
}
|
|
1536
|
+
static initTable(tableName, index) {
|
|
1537
|
+
return (run) => {
|
|
1538
|
+
const c = run.Copy();
|
|
1539
|
+
return [c, c.InitTable(tableName, unwrap(index))];
|
|
1540
|
+
};
|
|
1541
|
+
}
|
|
1542
|
+
static initTables(tableNames, index) {
|
|
1543
|
+
return (run) => {
|
|
1544
|
+
const c = run.Copy();
|
|
1545
|
+
c.InitTables(tableNames, unwrap(index));
|
|
1546
|
+
return c;
|
|
1547
|
+
};
|
|
1548
|
+
}
|
|
1549
|
+
static getTableAt(index) {
|
|
1550
|
+
return (run) => {
|
|
1551
|
+
const newRun = run.Copy();
|
|
1552
|
+
return newRun.GetTableAt(index);
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
static getTable(name) {
|
|
1556
|
+
return (run) => {
|
|
1557
|
+
const newRun = run.Copy();
|
|
1558
|
+
return newRun.GetTable(name);
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
static updateTableAt(index, table) {
|
|
1562
|
+
return (run) => {
|
|
1563
|
+
const newRun = run.Copy();
|
|
1564
|
+
newRun.UpdateTableAt(index, table);
|
|
1565
|
+
return newRun;
|
|
1566
|
+
};
|
|
1567
|
+
}
|
|
1568
|
+
static updateTable(name, table) {
|
|
1569
|
+
return (run) => {
|
|
1570
|
+
const newRun = run.Copy();
|
|
1571
|
+
newRun.UpdateTable(name, table);
|
|
1572
|
+
return newRun;
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
static setTableAt(index, table) {
|
|
1576
|
+
return (run) => {
|
|
1577
|
+
const newRun = run.Copy();
|
|
1578
|
+
newRun.SetTableAt(index, table);
|
|
1579
|
+
return newRun;
|
|
1580
|
+
};
|
|
1581
|
+
}
|
|
1582
|
+
static setTable(name, table) {
|
|
1583
|
+
return (run) => {
|
|
1584
|
+
const newRun = run.Copy();
|
|
1585
|
+
newRun.SetTable(name, table);
|
|
1586
|
+
return newRun;
|
|
1587
|
+
};
|
|
1588
|
+
}
|
|
1589
|
+
static removeTableAt(index) {
|
|
1590
|
+
return (run) => {
|
|
1591
|
+
const newRun = run.Copy();
|
|
1592
|
+
newRun.RemoveTableAt(index);
|
|
1593
|
+
return newRun;
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
static removeTable(name) {
|
|
1597
|
+
return (run) => {
|
|
1598
|
+
const newRun = run.Copy();
|
|
1599
|
+
newRun.RemoveTable(name);
|
|
1600
|
+
return newRun;
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
static mapTableAt(index, updateFun) {
|
|
1604
|
+
return (run) => {
|
|
1605
|
+
const newRun = run.Copy();
|
|
1606
|
+
newRun.MapTableAt(index, updateFun);
|
|
1607
|
+
return newRun;
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
static updateTable(name, updateFun) {
|
|
1611
|
+
return (run) => {
|
|
1612
|
+
const newRun = run.Copy();
|
|
1613
|
+
newRun.MapTable(name, updateFun);
|
|
1614
|
+
return newRun;
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
static renameTableAt(index, newName) {
|
|
1618
|
+
return (run) => {
|
|
1619
|
+
const newRun = run.Copy();
|
|
1620
|
+
newRun.RenameTableAt(index, newName);
|
|
1621
|
+
return newRun;
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1624
|
+
static renameTable(name, newName) {
|
|
1625
|
+
return (run) => {
|
|
1626
|
+
const newRun = run.Copy();
|
|
1627
|
+
newRun.RenameTable(name, newName);
|
|
1628
|
+
return newRun;
|
|
1629
|
+
};
|
|
1630
|
+
}
|
|
1631
|
+
static addColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
|
|
1632
|
+
return (run) => {
|
|
1633
|
+
const newRun = run.Copy();
|
|
1634
|
+
newRun.AddColumnAt(tableIndex, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
1635
|
+
return newRun;
|
|
1636
|
+
};
|
|
1637
|
+
}
|
|
1638
|
+
static addColumn(tableName, header, cells, columnIndex, forceReplace) {
|
|
1639
|
+
return (run) => {
|
|
1640
|
+
const newRun = run.Copy();
|
|
1641
|
+
newRun.AddColumn(tableName, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
1642
|
+
return newRun;
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
static removeColumnAt(tableIndex, columnIndex) {
|
|
1646
|
+
return (run) => {
|
|
1647
|
+
const newRun = run.Copy();
|
|
1648
|
+
newRun.RemoveColumnAt(tableIndex, columnIndex);
|
|
1649
|
+
return newRun;
|
|
1650
|
+
};
|
|
1651
|
+
}
|
|
1652
|
+
static removeColumn(tableName, columnIndex) {
|
|
1653
|
+
return (run) => {
|
|
1654
|
+
const newRun = run.Copy();
|
|
1655
|
+
newRun.RemoveColumn(tableName, columnIndex);
|
|
1656
|
+
return newRun;
|
|
1657
|
+
};
|
|
1658
|
+
}
|
|
1659
|
+
static updateColumnAt(tableIndex, columnIndex, header, cells) {
|
|
1660
|
+
return (run) => {
|
|
1661
|
+
const newRun = run.Copy();
|
|
1662
|
+
newRun.UpdateColumnAt(tableIndex, columnIndex, header, unwrap(cells));
|
|
1663
|
+
return newRun;
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
static updateColumn(tableName, columnIndex, header, cells) {
|
|
1667
|
+
return (run) => {
|
|
1668
|
+
const newRun = run.Copy();
|
|
1669
|
+
newRun.UpdateColumn(tableName, columnIndex, header, unwrap(cells));
|
|
1670
|
+
return newRun;
|
|
1671
|
+
};
|
|
1672
|
+
}
|
|
1673
|
+
static getColumnAt(tableIndex, columnIndex) {
|
|
1674
|
+
return (run) => {
|
|
1675
|
+
const newRun = run.Copy();
|
|
1676
|
+
return newRun.GetColumnAt(tableIndex, columnIndex);
|
|
1677
|
+
};
|
|
1678
|
+
}
|
|
1679
|
+
static getColumn(tableName, columnIndex) {
|
|
1680
|
+
return (run) => {
|
|
1681
|
+
const newRun = run.Copy();
|
|
1682
|
+
return newRun.GetColumn(tableName, columnIndex);
|
|
1683
|
+
};
|
|
1684
|
+
}
|
|
1685
|
+
static addRowAt(tableIndex, cells, rowIndex) {
|
|
1686
|
+
return (run) => {
|
|
1687
|
+
const newRun = run.Copy();
|
|
1688
|
+
newRun.AddRowAt(tableIndex, unwrap(cells), unwrap(rowIndex));
|
|
1689
|
+
return newRun;
|
|
1690
|
+
};
|
|
1691
|
+
}
|
|
1692
|
+
static addRow(tableName, cells, rowIndex) {
|
|
1693
|
+
return (run) => {
|
|
1694
|
+
const newRun = run.Copy();
|
|
1695
|
+
newRun.AddRow(tableName, unwrap(cells), unwrap(rowIndex));
|
|
1696
|
+
return newRun;
|
|
1697
|
+
};
|
|
1698
|
+
}
|
|
1699
|
+
static removeRowAt(tableIndex, rowIndex) {
|
|
1700
|
+
return (run) => {
|
|
1701
|
+
const newRun = run.Copy();
|
|
1702
|
+
newRun.RemoveColumnAt(tableIndex, rowIndex);
|
|
1703
|
+
return newRun;
|
|
1704
|
+
};
|
|
1705
|
+
}
|
|
1706
|
+
static removeRow(tableName, rowIndex) {
|
|
1707
|
+
return (run) => {
|
|
1708
|
+
const newRun = run.Copy();
|
|
1709
|
+
newRun.RemoveRow(tableName, rowIndex);
|
|
1710
|
+
return newRun;
|
|
1711
|
+
};
|
|
1712
|
+
}
|
|
1713
|
+
static updateRowAt(tableIndex, rowIndex, cells) {
|
|
1714
|
+
return (run) => {
|
|
1715
|
+
const newRun = run.Copy();
|
|
1716
|
+
newRun.UpdateRowAt(tableIndex, rowIndex, cells);
|
|
1717
|
+
return newRun;
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
static updateRow(tableName, rowIndex, cells) {
|
|
1721
|
+
return (run) => {
|
|
1722
|
+
const newRun = run.Copy();
|
|
1723
|
+
newRun.UpdateRow(tableName, rowIndex, cells);
|
|
1724
|
+
return newRun;
|
|
1725
|
+
};
|
|
1726
|
+
}
|
|
1727
|
+
static getRowAt(tableIndex, rowIndex) {
|
|
1728
|
+
return (run) => {
|
|
1729
|
+
const newRun = run.Copy();
|
|
1730
|
+
return newRun.GetRowAt(tableIndex, rowIndex);
|
|
1731
|
+
};
|
|
1732
|
+
}
|
|
1733
|
+
static getRow(tableName, rowIndex) {
|
|
1734
|
+
return (run) => {
|
|
1735
|
+
const newRun = run.Copy();
|
|
1736
|
+
return newRun.GetRow(tableName, rowIndex);
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
static setPerformers(performers, run) {
|
|
1740
|
+
run.Performers = performers;
|
|
1741
|
+
return run;
|
|
1742
|
+
}
|
|
1743
|
+
Copy() {
|
|
1744
|
+
const this$ = this;
|
|
1745
|
+
const nextTables = ResizeArray_map((c) => c.Copy(), this$.Tables);
|
|
1746
|
+
const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
|
|
1747
|
+
const nextDataMap = map(DataMap__Copy, this$.DataMap);
|
|
1748
|
+
const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
|
|
1749
|
+
const nextWorkflowIdentifiers = ResizeArray_map((c_3) => c_3, this$.WorkflowIdentifiers);
|
|
1750
|
+
const identifier = this$.Identifier;
|
|
1751
|
+
const title = this$.Title;
|
|
1752
|
+
const description = this$.Description;
|
|
1753
|
+
const measurementType = this$.MeasurementType;
|
|
1754
|
+
const technologyType = this$.TechnologyType;
|
|
1755
|
+
const technologyPlatform = this$.TechnologyPlatform;
|
|
1756
|
+
return ArcRun.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextWorkflowIdentifiers, nextTables, nextDataMap, nextPerformers, nextComments);
|
|
1757
|
+
}
|
|
1758
|
+
UpdateBy(run, onlyReplaceExisting, appendSequences) {
|
|
1759
|
+
const this$ = this;
|
|
1760
|
+
const onlyReplaceExisting_1 = defaultArg(onlyReplaceExisting, false);
|
|
1761
|
+
const appendSequences_1 = defaultArg(appendSequences, false);
|
|
1762
|
+
const updateAlways = !onlyReplaceExisting_1;
|
|
1763
|
+
if ((run.Title != null) ? true : updateAlways) {
|
|
1764
|
+
this$.Title = run.Title;
|
|
1765
|
+
}
|
|
1766
|
+
if ((run.Description != null) ? true : updateAlways) {
|
|
1767
|
+
this$.Description = run.Description;
|
|
1768
|
+
}
|
|
1769
|
+
if ((run.MeasurementType != null) ? true : updateAlways) {
|
|
1770
|
+
this$.MeasurementType = run.MeasurementType;
|
|
1771
|
+
}
|
|
1772
|
+
if ((run.TechnologyType != null) ? true : updateAlways) {
|
|
1773
|
+
this$.TechnologyType = run.TechnologyType;
|
|
1774
|
+
}
|
|
1775
|
+
if ((run.TechnologyPlatform != null) ? true : updateAlways) {
|
|
1776
|
+
this$.TechnologyPlatform = run.TechnologyPlatform;
|
|
1777
|
+
}
|
|
1778
|
+
if ((run.WorkflowIdentifiers.length !== 0) ? true : updateAlways) {
|
|
1779
|
+
let s;
|
|
1780
|
+
const origin = this$.WorkflowIdentifiers;
|
|
1781
|
+
const next = run.WorkflowIdentifiers;
|
|
1782
|
+
if (!appendSequences_1) {
|
|
1783
|
+
s = ResizeArray_map((x) => x, next);
|
|
1784
|
+
}
|
|
1785
|
+
else {
|
|
1786
|
+
const combined = [];
|
|
1787
|
+
let enumerator = getEnumerator(origin);
|
|
1788
|
+
try {
|
|
1789
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1790
|
+
const e = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1791
|
+
if (!contains_1(e, combined, {
|
|
1792
|
+
Equals: (x_1, y) => (x_1 === y),
|
|
1793
|
+
GetHashCode: stringHash,
|
|
1794
|
+
})) {
|
|
1795
|
+
void (combined.push(e));
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
finally {
|
|
1800
|
+
disposeSafe(enumerator);
|
|
1801
|
+
}
|
|
1802
|
+
let enumerator_1 = getEnumerator(next);
|
|
1803
|
+
try {
|
|
1804
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1805
|
+
const e_1 = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1806
|
+
if (!contains_1(e_1, combined, {
|
|
1807
|
+
Equals: (x_2, y_1) => (x_2 === y_1),
|
|
1808
|
+
GetHashCode: stringHash,
|
|
1809
|
+
})) {
|
|
1810
|
+
void (combined.push(e_1));
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
finally {
|
|
1815
|
+
disposeSafe(enumerator_1);
|
|
1816
|
+
}
|
|
1817
|
+
s = combined;
|
|
1818
|
+
}
|
|
1819
|
+
this$.WorkflowIdentifiers = s;
|
|
1820
|
+
}
|
|
1821
|
+
if ((run.DataMap != null) ? true : updateAlways) {
|
|
1822
|
+
this$.DataMap = run.DataMap;
|
|
1823
|
+
}
|
|
1824
|
+
if ((run.Tables.length !== 0) ? true : updateAlways) {
|
|
1825
|
+
let s_1;
|
|
1826
|
+
const origin_1 = this$.Tables;
|
|
1827
|
+
const next_1 = run.Tables;
|
|
1828
|
+
if (!appendSequences_1) {
|
|
1829
|
+
s_1 = ResizeArray_map((x_3) => x_3, next_1);
|
|
1830
|
+
}
|
|
1831
|
+
else {
|
|
1832
|
+
const combined_1 = [];
|
|
1833
|
+
let enumerator_2 = getEnumerator(origin_1);
|
|
1834
|
+
try {
|
|
1835
|
+
while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1836
|
+
const e_2 = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1837
|
+
if (!contains_1(e_2, combined_1, {
|
|
1838
|
+
Equals: equals,
|
|
1839
|
+
GetHashCode: safeHash,
|
|
1840
|
+
})) {
|
|
1841
|
+
void (combined_1.push(e_2));
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
finally {
|
|
1846
|
+
disposeSafe(enumerator_2);
|
|
1847
|
+
}
|
|
1848
|
+
let enumerator_1_1 = getEnumerator(next_1);
|
|
1849
|
+
try {
|
|
1850
|
+
while (enumerator_1_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1851
|
+
const e_1_1 = enumerator_1_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1852
|
+
if (!contains_1(e_1_1, combined_1, {
|
|
1853
|
+
Equals: equals,
|
|
1854
|
+
GetHashCode: safeHash,
|
|
1855
|
+
})) {
|
|
1856
|
+
void (combined_1.push(e_1_1));
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
finally {
|
|
1861
|
+
disposeSafe(enumerator_1_1);
|
|
1862
|
+
}
|
|
1863
|
+
s_1 = combined_1;
|
|
1864
|
+
}
|
|
1865
|
+
this$.Tables = s_1;
|
|
1866
|
+
}
|
|
1867
|
+
if ((run.Performers.length !== 0) ? true : updateAlways) {
|
|
1868
|
+
let s_2;
|
|
1869
|
+
const origin_2 = this$.Performers;
|
|
1870
|
+
const next_2 = run.Performers;
|
|
1871
|
+
if (!appendSequences_1) {
|
|
1872
|
+
s_2 = ResizeArray_map((x_6) => x_6, next_2);
|
|
1873
|
+
}
|
|
1874
|
+
else {
|
|
1875
|
+
const combined_2 = [];
|
|
1876
|
+
let enumerator_3 = getEnumerator(origin_2);
|
|
1877
|
+
try {
|
|
1878
|
+
while (enumerator_3["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1879
|
+
const e_3 = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1880
|
+
if (!contains_1(e_3, combined_2, {
|
|
1881
|
+
Equals: equals,
|
|
1882
|
+
GetHashCode: safeHash,
|
|
1883
|
+
})) {
|
|
1884
|
+
void (combined_2.push(e_3));
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
finally {
|
|
1889
|
+
disposeSafe(enumerator_3);
|
|
1890
|
+
}
|
|
1891
|
+
let enumerator_1_2 = getEnumerator(next_2);
|
|
1892
|
+
try {
|
|
1893
|
+
while (enumerator_1_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1894
|
+
const e_1_2 = enumerator_1_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1895
|
+
if (!contains_1(e_1_2, combined_2, {
|
|
1896
|
+
Equals: equals,
|
|
1897
|
+
GetHashCode: safeHash,
|
|
1898
|
+
})) {
|
|
1899
|
+
void (combined_2.push(e_1_2));
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
finally {
|
|
1904
|
+
disposeSafe(enumerator_1_2);
|
|
1905
|
+
}
|
|
1906
|
+
s_2 = combined_2;
|
|
1907
|
+
}
|
|
1908
|
+
this$.Performers = s_2;
|
|
1909
|
+
}
|
|
1910
|
+
if ((run.Comments.length !== 0) ? true : updateAlways) {
|
|
1911
|
+
let s_3;
|
|
1912
|
+
const origin_3 = this$.Comments;
|
|
1913
|
+
const next_3 = run.Comments;
|
|
1914
|
+
if (!appendSequences_1) {
|
|
1915
|
+
s_3 = ResizeArray_map((x_9) => x_9, next_3);
|
|
1916
|
+
}
|
|
1917
|
+
else {
|
|
1918
|
+
const combined_3 = [];
|
|
1919
|
+
let enumerator_4 = getEnumerator(origin_3);
|
|
1920
|
+
try {
|
|
1921
|
+
while (enumerator_4["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1922
|
+
const e_4 = enumerator_4["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1923
|
+
if (!contains_1(e_4, combined_3, {
|
|
1924
|
+
Equals: equals,
|
|
1925
|
+
GetHashCode: safeHash,
|
|
1926
|
+
})) {
|
|
1927
|
+
void (combined_3.push(e_4));
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
finally {
|
|
1932
|
+
disposeSafe(enumerator_4);
|
|
1933
|
+
}
|
|
1934
|
+
let enumerator_1_3 = getEnumerator(next_3);
|
|
1935
|
+
try {
|
|
1936
|
+
while (enumerator_1_3["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1937
|
+
const e_1_3 = enumerator_1_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1938
|
+
if (!contains_1(e_1_3, combined_3, {
|
|
1939
|
+
Equals: equals,
|
|
1940
|
+
GetHashCode: safeHash,
|
|
1941
|
+
})) {
|
|
1942
|
+
void (combined_3.push(e_1_3));
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
finally {
|
|
1947
|
+
disposeSafe(enumerator_1_3);
|
|
1948
|
+
}
|
|
1949
|
+
s_3 = combined_3;
|
|
1950
|
+
}
|
|
1951
|
+
this$.Comments = s_3;
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
toString() {
|
|
1955
|
+
const this$ = this;
|
|
1956
|
+
const arg = this$.Identifier;
|
|
1957
|
+
const arg_1 = this$.Title;
|
|
1958
|
+
const arg_2 = this$.Description;
|
|
1959
|
+
const arg_3 = this$.MeasurementType;
|
|
1960
|
+
const arg_4 = this$.TechnologyType;
|
|
1961
|
+
const arg_5 = this$.TechnologyPlatform;
|
|
1962
|
+
const arg_6 = this$.WorkflowIdentifiers;
|
|
1963
|
+
const arg_7 = this$.DataMap;
|
|
1964
|
+
const arg_8 = this$.Tables;
|
|
1965
|
+
const arg_9 = this$.Performers;
|
|
1966
|
+
const arg_10 = this$.Comments;
|
|
1967
|
+
return toText(printf("ArcRun({\r\n Identifier = \"%s\",\r\n Title = %A,\r\n Description = %A,\r\n MeasurementType = %A,\r\n TechnologyType = %A,\r\n TechnologyPlatform = %A,\r\n WorkflowIdentifiers = %A,\r\n DataMap = %A,\r\n Tables = %A,\r\n Performers = %A,\r\n Comments = %A\r\n})"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10);
|
|
1968
|
+
}
|
|
1969
|
+
AddToInvestigation(investigation) {
|
|
1970
|
+
const this$ = this;
|
|
1971
|
+
this$.Investigation = investigation;
|
|
1972
|
+
}
|
|
1973
|
+
RemoveFromInvestigation() {
|
|
1974
|
+
const this$ = this;
|
|
1975
|
+
this$.Investigation = undefined;
|
|
1976
|
+
}
|
|
1977
|
+
StructurallyEquals(other) {
|
|
1978
|
+
let a, b, a_1, b_1, a_2, b_2, a_3, b_3;
|
|
1979
|
+
const this$ = this;
|
|
1980
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), (a = this$.WorkflowIdentifiers, (b = other.WorkflowIdentifiers, (length(a) === length(b)) && fold((acc, e) => {
|
|
1981
|
+
if (acc) {
|
|
1982
|
+
return e;
|
|
1983
|
+
}
|
|
1984
|
+
else {
|
|
1985
|
+
return false;
|
|
1986
|
+
}
|
|
1987
|
+
}, true, toList(delay(() => map_1((i_1) => (item(i_1, a) === item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), equals(this$.DataMap, other.DataMap), (a_1 = this$.Tables, (b_1 = other.Tables, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
1988
|
+
if (acc_1) {
|
|
1989
|
+
return e_1;
|
|
1990
|
+
}
|
|
1991
|
+
else {
|
|
1992
|
+
return false;
|
|
1993
|
+
}
|
|
1994
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.Performers, (b_2 = other.Performers, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
1995
|
+
if (acc_2) {
|
|
1996
|
+
return e_2;
|
|
1997
|
+
}
|
|
1998
|
+
else {
|
|
1999
|
+
return false;
|
|
2000
|
+
}
|
|
2001
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Comments, (b_3 = other.Comments, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
2002
|
+
if (acc_3) {
|
|
2003
|
+
return e_3;
|
|
2004
|
+
}
|
|
2005
|
+
else {
|
|
2006
|
+
return false;
|
|
2007
|
+
}
|
|
2008
|
+
}, true, toList(delay(() => map_1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))))]);
|
|
2009
|
+
}
|
|
2010
|
+
ReferenceEquals(other) {
|
|
2011
|
+
const this$ = this;
|
|
2012
|
+
return this$ === other;
|
|
2013
|
+
}
|
|
2014
|
+
Equals(other) {
|
|
2015
|
+
let run;
|
|
2016
|
+
const this$ = this;
|
|
2017
|
+
return (other instanceof ArcRun) && ((run = other, this$.StructurallyEquals(run)));
|
|
2018
|
+
}
|
|
2019
|
+
GetLightHashCode() {
|
|
2020
|
+
const this$ = this;
|
|
2021
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashSeq(this$.WorkflowIdentifiers), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
2022
|
+
}
|
|
2023
|
+
GetHashCode() {
|
|
2024
|
+
const this$ = this;
|
|
2025
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.WorkflowIdentifiers), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
export function ArcRun_$reflection() {
|
|
2029
|
+
return class_type("ARCtrl.ArcRun", undefined, ArcRun, ArcTables_$reflection());
|
|
2030
|
+
}
|
|
2031
|
+
export function ArcRun_$ctor_Z38E7054B(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
|
|
2032
|
+
return new ArcRun(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments);
|
|
2033
|
+
}
|
|
2034
|
+
export class ArcInvestigation {
|
|
2035
|
+
constructor(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
|
|
2036
|
+
const this$ = new FSharpRef(defaultOf());
|
|
2037
|
+
this$.contents = this;
|
|
2038
|
+
const ontologySourceReferences_1 = defaultArg(ontologySourceReferences, []);
|
|
2039
|
+
const publications_1 = defaultArg(publications, []);
|
|
2040
|
+
const contacts_1 = defaultArg(contacts, []);
|
|
2041
|
+
let assays_1;
|
|
2042
|
+
const ass = defaultArg(assays, []);
|
|
2043
|
+
let enumerator = getEnumerator(ass);
|
|
2044
|
+
try {
|
|
2045
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
2046
|
+
const a = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
2047
|
+
a.Investigation = this$.contents;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
finally {
|
|
2051
|
+
disposeSafe(enumerator);
|
|
2052
|
+
}
|
|
2053
|
+
assays_1 = ass;
|
|
2054
|
+
let studies_1;
|
|
2055
|
+
const sss = defaultArg(studies, []);
|
|
2056
|
+
let enumerator_1 = getEnumerator(sss);
|
|
2057
|
+
try {
|
|
2058
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
2059
|
+
const s = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
2060
|
+
s.Investigation = this$.contents;
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
finally {
|
|
2064
|
+
disposeSafe(enumerator_1);
|
|
2065
|
+
}
|
|
2066
|
+
studies_1 = sss;
|
|
2067
|
+
let workflows_1;
|
|
2068
|
+
const wss = defaultArg(workflows, []);
|
|
2069
|
+
let enumerator_2 = getEnumerator(wss);
|
|
2070
|
+
try {
|
|
2071
|
+
while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
2072
|
+
ArcWorkflow__set_Investigation_Z1E102E3E(enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"](), this$.contents);
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
finally {
|
|
2076
|
+
disposeSafe(enumerator_2);
|
|
2077
|
+
}
|
|
2078
|
+
workflows_1 = wss;
|
|
2079
|
+
let runs_1;
|
|
2080
|
+
const rss = defaultArg(runs, []);
|
|
2081
|
+
let enumerator_3 = getEnumerator(rss);
|
|
2082
|
+
try {
|
|
2083
|
+
while (enumerator_3["System.Collections.IEnumerator.MoveNext"]()) {
|
|
2084
|
+
const r = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
2085
|
+
r.Investigation = this$.contents;
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
finally {
|
|
2089
|
+
disposeSafe(enumerator_3);
|
|
2090
|
+
}
|
|
2091
|
+
runs_1 = rss;
|
|
2092
|
+
const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
|
|
2093
|
+
const comments_1 = defaultArg(comments, []);
|
|
2094
|
+
const remarks_1 = defaultArg(remarks, []);
|
|
2095
|
+
this["identifier@1928"] = identifier;
|
|
2096
|
+
this["title@1929"] = title;
|
|
2097
|
+
this["description@1930"] = description;
|
|
2098
|
+
this["submissionDate@1931"] = submissionDate;
|
|
2099
|
+
this["publicReleaseDate@1932"] = publicReleaseDate;
|
|
2100
|
+
this["ontologySourceReferences@1933-1"] = ontologySourceReferences_1;
|
|
2101
|
+
this["publications@1934-1"] = publications_1;
|
|
2102
|
+
this["contacts@1935-1"] = contacts_1;
|
|
2103
|
+
this["assays@1936-1"] = assays_1;
|
|
2104
|
+
this["studies@1937-1"] = studies_1;
|
|
2105
|
+
this["workflows@1938-1"] = workflows_1;
|
|
2106
|
+
this["runs@1939-1"] = runs_1;
|
|
2107
|
+
this["registeredStudyIdentifiers@1940-1"] = registeredStudyIdentifiers_1;
|
|
2108
|
+
this["comments@1941-1"] = comments_1;
|
|
2109
|
+
this["remarks@1942-1"] = remarks_1;
|
|
2110
|
+
this.staticHash = 0;
|
|
2111
|
+
this["init@1899"] = 1;
|
|
2112
|
+
}
|
|
2113
|
+
get Identifier() {
|
|
2114
|
+
const this$ = this;
|
|
2115
|
+
return this$["identifier@1928"];
|
|
2116
|
+
}
|
|
2117
|
+
set Identifier(i) {
|
|
2118
|
+
const this$ = this;
|
|
2119
|
+
this$["identifier@1928"] = i;
|
|
2120
|
+
}
|
|
2121
|
+
get Title() {
|
|
2122
|
+
const this$ = this;
|
|
2123
|
+
return unwrap(this$["title@1929"]);
|
|
2124
|
+
}
|
|
2125
|
+
set Title(n) {
|
|
2126
|
+
const this$ = this;
|
|
2127
|
+
this$["title@1929"] = n;
|
|
2128
|
+
}
|
|
2129
|
+
get Description() {
|
|
2130
|
+
const this$ = this;
|
|
2131
|
+
return unwrap(this$["description@1930"]);
|
|
2132
|
+
}
|
|
2133
|
+
set Description(n) {
|
|
2134
|
+
const this$ = this;
|
|
2135
|
+
this$["description@1930"] = n;
|
|
2136
|
+
}
|
|
2137
|
+
get SubmissionDate() {
|
|
2138
|
+
const this$ = this;
|
|
2139
|
+
return unwrap(this$["submissionDate@1931"]);
|
|
2140
|
+
}
|
|
2141
|
+
set SubmissionDate(n) {
|
|
2142
|
+
const this$ = this;
|
|
2143
|
+
this$["submissionDate@1931"] = n;
|
|
2144
|
+
}
|
|
2145
|
+
get PublicReleaseDate() {
|
|
2146
|
+
const this$ = this;
|
|
2147
|
+
return unwrap(this$["publicReleaseDate@1932"]);
|
|
2148
|
+
}
|
|
2149
|
+
set PublicReleaseDate(n) {
|
|
2150
|
+
const this$ = this;
|
|
2151
|
+
this$["publicReleaseDate@1932"] = n;
|
|
2152
|
+
}
|
|
2153
|
+
get OntologySourceReferences() {
|
|
2154
|
+
const this$ = this;
|
|
2155
|
+
return this$["ontologySourceReferences@1933-1"];
|
|
2156
|
+
}
|
|
2157
|
+
set OntologySourceReferences(n) {
|
|
2158
|
+
const this$ = this;
|
|
2159
|
+
this$["ontologySourceReferences@1933-1"] = n;
|
|
2160
|
+
}
|
|
2161
|
+
get Publications() {
|
|
2162
|
+
const this$ = this;
|
|
2163
|
+
return this$["publications@1934-1"];
|
|
2164
|
+
}
|
|
2165
|
+
set Publications(n) {
|
|
2166
|
+
const this$ = this;
|
|
2167
|
+
this$["publications@1934-1"] = n;
|
|
2168
|
+
}
|
|
2169
|
+
get Contacts() {
|
|
2170
|
+
const this$ = this;
|
|
2171
|
+
return this$["contacts@1935-1"];
|
|
2172
|
+
}
|
|
2173
|
+
set Contacts(n) {
|
|
2174
|
+
const this$ = this;
|
|
2175
|
+
this$["contacts@1935-1"] = n;
|
|
2176
|
+
}
|
|
2177
|
+
get Assays() {
|
|
2178
|
+
const this$ = this;
|
|
2179
|
+
return this$["assays@1936-1"];
|
|
2180
|
+
}
|
|
2181
|
+
set Assays(n) {
|
|
2182
|
+
const this$ = this;
|
|
2183
|
+
this$["assays@1936-1"] = n;
|
|
2184
|
+
}
|
|
2185
|
+
get Studies() {
|
|
2186
|
+
const this$ = this;
|
|
2187
|
+
return this$["studies@1937-1"];
|
|
2188
|
+
}
|
|
2189
|
+
set Studies(n) {
|
|
2190
|
+
const this$ = this;
|
|
2191
|
+
this$["studies@1937-1"] = n;
|
|
2192
|
+
}
|
|
2193
|
+
get Workflows() {
|
|
2194
|
+
const this$ = this;
|
|
2195
|
+
return this$["workflows@1938-1"];
|
|
2196
|
+
}
|
|
2197
|
+
set Workflows(n) {
|
|
2198
|
+
const this$ = this;
|
|
2199
|
+
this$["workflows@1938-1"] = n;
|
|
2200
|
+
}
|
|
2201
|
+
get Runs() {
|
|
2202
|
+
const this$ = this;
|
|
2203
|
+
return this$["runs@1939-1"];
|
|
2204
|
+
}
|
|
2205
|
+
set Runs(n) {
|
|
2206
|
+
const this$ = this;
|
|
2207
|
+
this$["runs@1939-1"] = n;
|
|
2208
|
+
}
|
|
2209
|
+
get RegisteredStudyIdentifiers() {
|
|
2210
|
+
const this$ = this;
|
|
2211
|
+
return this$["registeredStudyIdentifiers@1940-1"];
|
|
2212
|
+
}
|
|
2213
|
+
set RegisteredStudyIdentifiers(n) {
|
|
2214
|
+
const this$ = this;
|
|
2215
|
+
this$["registeredStudyIdentifiers@1940-1"] = n;
|
|
2216
|
+
}
|
|
2217
|
+
get Comments() {
|
|
2218
|
+
const this$ = this;
|
|
2219
|
+
return this$["comments@1941-1"];
|
|
2220
|
+
}
|
|
2221
|
+
set Comments(n) {
|
|
2222
|
+
const this$ = this;
|
|
2223
|
+
this$["comments@1941-1"] = n;
|
|
2224
|
+
}
|
|
2225
|
+
get Remarks() {
|
|
2226
|
+
const this$ = this;
|
|
2227
|
+
return this$["remarks@1942-1"];
|
|
2228
|
+
}
|
|
2229
|
+
set Remarks(n) {
|
|
2230
|
+
const this$ = this;
|
|
2231
|
+
this$["remarks@1942-1"] = n;
|
|
2232
|
+
}
|
|
2233
|
+
get StaticHash() {
|
|
2234
|
+
const this$ = this;
|
|
2235
|
+
return this$.staticHash | 0;
|
|
2236
|
+
}
|
|
2237
|
+
set StaticHash(h) {
|
|
2238
|
+
const this$ = this;
|
|
2239
|
+
this$.staticHash = (h | 0);
|
|
2240
|
+
}
|
|
2241
|
+
static get FileName() {
|
|
2242
|
+
return "isa.investigation.xlsx";
|
|
2243
|
+
}
|
|
2244
|
+
static init(identifier) {
|
|
2245
|
+
return new ArcInvestigation(identifier);
|
|
2246
|
+
}
|
|
2247
|
+
static create(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
|
|
2248
|
+
return new ArcInvestigation(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), unwrap(ontologySourceReferences), unwrap(publications), unwrap(contacts), unwrap(assays), unwrap(studies), unwrap(workflows), unwrap(runs), unwrap(registeredStudyIdentifiers), unwrap(comments), unwrap(remarks));
|
|
2249
|
+
}
|
|
2250
|
+
static make(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
|
|
2251
|
+
return new ArcInvestigation(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks);
|
|
2252
|
+
}
|
|
2253
|
+
get AssayCount() {
|
|
2254
|
+
const this$ = this;
|
|
2255
|
+
return this$.Assays.length | 0;
|
|
2256
|
+
}
|
|
2257
|
+
get AssayIdentifiers() {
|
|
2258
|
+
const this$ = this;
|
|
2259
|
+
return Array.from(map_1((x) => x.Identifier, this$.Assays));
|
|
2260
|
+
}
|
|
2261
|
+
get UnregisteredAssays() {
|
|
2262
|
+
const this$ = this;
|
|
2263
|
+
return ResizeArray_filter((a) => !exists((s) => exists((i) => (i === a.Identifier), s.RegisteredAssayIdentifiers), this$.RegisteredStudies), this$.Assays);
|
|
2264
|
+
}
|
|
2265
|
+
AddAssay(assay, registerIn) {
|
|
2266
|
+
const this$ = this;
|
|
2267
|
+
const assayIdent = assay.Identifier;
|
|
2268
|
+
const matchValue = tryFindIndex((x_1) => (x_1 === assayIdent), map_1((x) => x.Identifier, this$.Assays));
|
|
2269
|
+
if (matchValue == null) {
|
|
2270
|
+
}
|
|
2271
|
+
else {
|
|
2272
|
+
throw new Error(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value_5(matchValue)} has the same name.`);
|
|
2273
|
+
}
|
|
2274
|
+
assay.Investigation = this$;
|
|
2275
|
+
void (this$.Assays.push(assay));
|
|
2276
|
+
if (registerIn != null) {
|
|
2277
|
+
let enumerator = getEnumerator(value_5(registerIn));
|
|
2278
|
+
try {
|
|
2279
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
2280
|
+
const study = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
2281
|
+
study.RegisterAssay(assay.Identifier);
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
finally {
|
|
2285
|
+
disposeSafe(enumerator);
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
static addAssay(assay, registerIn) {
|
|
2290
|
+
return (inv) => {
|
|
2291
|
+
const newInvestigation = inv.Copy();
|
|
2292
|
+
newInvestigation.AddAssay(assay, unwrap(registerIn));
|
|
2293
|
+
return newInvestigation;
|
|
2294
|
+
};
|
|
2295
|
+
}
|
|
2296
|
+
InitAssay(assayIdentifier, registerIn) {
|
|
2297
|
+
const this$ = this;
|
|
2298
|
+
const assay = new ArcAssay(assayIdentifier);
|
|
2299
|
+
this$.AddAssay(assay, unwrap(registerIn));
|
|
2300
|
+
return assay;
|
|
2301
|
+
}
|
|
2302
|
+
static initAssay(assayIdentifier, registerIn) {
|
|
2303
|
+
return (inv) => {
|
|
2304
|
+
const newInvestigation = inv.Copy();
|
|
2305
|
+
return newInvestigation.InitAssay(assayIdentifier, unwrap(registerIn));
|
|
2306
|
+
};
|
|
2307
|
+
}
|
|
2308
|
+
DeleteAssayAt(index) {
|
|
2309
|
+
const this$ = this;
|
|
2310
|
+
this$.Assays.splice(index, 1);
|
|
2311
|
+
}
|
|
2312
|
+
static deleteAssayAt(index) {
|
|
2313
|
+
return (inv) => {
|
|
2314
|
+
const newInvestigation = inv.Copy();
|
|
2315
|
+
newInvestigation.DeleteAssayAt(index);
|
|
2316
|
+
return newInvestigation;
|
|
2317
|
+
};
|
|
2318
|
+
}
|
|
2319
|
+
DeleteAssay(assayIdentifier) {
|
|
2320
|
+
const this$ = this;
|
|
2321
|
+
const index = this$.GetAssayIndex(assayIdentifier) | 0;
|
|
2322
|
+
this$.DeleteAssayAt(index);
|
|
2323
|
+
}
|
|
2324
|
+
static deleteAssay(assayIdentifier) {
|
|
2325
|
+
return (inv) => {
|
|
2326
|
+
const newInv = inv.Copy();
|
|
2327
|
+
newInv.DeleteAssay(assayIdentifier);
|
|
2328
|
+
return newInv;
|
|
2329
|
+
};
|
|
2330
|
+
}
|
|
2331
|
+
RemoveAssayAt(index) {
|
|
2332
|
+
const this$ = this;
|
|
2333
|
+
const ident = this$.GetAssayAt(index).Identifier;
|
|
2334
|
+
this$.Assays.splice(index, 1);
|
|
2335
|
+
let enumerator = getEnumerator(this$.Studies);
|
|
2336
|
+
try {
|
|
2337
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
2338
|
+
const study = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
2339
|
+
study.DeregisterAssay(ident);
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
finally {
|
|
2343
|
+
disposeSafe(enumerator);
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
static removeAssayAt(index) {
|
|
2347
|
+
return (inv) => {
|
|
2348
|
+
const newInvestigation = inv.Copy();
|
|
2349
|
+
newInvestigation.RemoveAssayAt(index);
|
|
2350
|
+
return newInvestigation;
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
2353
|
+
RemoveAssay(assayIdentifier) {
|
|
2354
|
+
const this$ = this;
|
|
2355
|
+
const index = this$.GetAssayIndex(assayIdentifier) | 0;
|
|
2356
|
+
this$.RemoveAssayAt(index);
|
|
2357
|
+
}
|
|
2358
|
+
static removeAssay(assayIdentifier) {
|
|
2359
|
+
return (inv) => {
|
|
2360
|
+
const newInv = inv.Copy();
|
|
2361
|
+
newInv.RemoveAssay(assayIdentifier);
|
|
2362
|
+
return newInv;
|
|
2363
|
+
};
|
|
2364
|
+
}
|
|
2365
|
+
RenameAssay(oldIdentifier, newIdentifier) {
|
|
2366
|
+
const this$ = this;
|
|
2367
|
+
iterate((a) => {
|
|
2368
|
+
if (a.Identifier === oldIdentifier) {
|
|
2369
|
+
a.Identifier = newIdentifier;
|
|
2370
|
+
}
|
|
2371
|
+
}, this$.Assays);
|
|
2372
|
+
iterate((s) => {
|
|
2373
|
+
const index = tryFindIndex((ai) => (ai === oldIdentifier), s.RegisteredAssayIdentifiers);
|
|
2374
|
+
if (index != null) {
|
|
2375
|
+
const index_1 = value_5(index) | 0;
|
|
2376
|
+
s.RegisteredAssayIdentifiers[index_1] = newIdentifier;
|
|
2377
|
+
}
|
|
2378
|
+
}, this$.Studies);
|
|
2379
|
+
}
|
|
2380
|
+
static renameAssay(oldIdentifier, newIdentifier) {
|
|
2381
|
+
return (inv) => {
|
|
2382
|
+
const newInv = inv.Copy();
|
|
2383
|
+
newInv.RenameAssay(oldIdentifier, newIdentifier);
|
|
2384
|
+
return newInv;
|
|
2385
|
+
};
|
|
2386
|
+
}
|
|
2387
|
+
SetAssayAt(index, assay) {
|
|
2388
|
+
const this$ = this;
|
|
2389
|
+
const assayIdent = assay.Identifier;
|
|
2390
|
+
const matchValue = tryFindIndex((x) => (x === assayIdent), map_1((a) => a.Identifier, removeAt(index, this$.Assays)));
|
|
2391
|
+
if (matchValue == null) {
|
|
2392
|
+
}
|
|
2393
|
+
else {
|
|
2394
|
+
throw new Error(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value_5(matchValue)} has the same name.`);
|
|
2395
|
+
}
|
|
2396
|
+
assay.Investigation = this$;
|
|
2397
|
+
this$.Assays[index] = assay;
|
|
2398
|
+
this$.DeregisterMissingAssays();
|
|
2399
|
+
}
|
|
2400
|
+
static setAssayAt(index, assay) {
|
|
2401
|
+
return (inv) => {
|
|
2402
|
+
const newInvestigation = inv.Copy();
|
|
2403
|
+
newInvestigation.SetAssayAt(index, assay);
|
|
2404
|
+
return newInvestigation;
|
|
2405
|
+
};
|
|
2406
|
+
}
|
|
2407
|
+
SetAssay(assayIdentifier, assay) {
|
|
2408
|
+
const this$ = this;
|
|
2409
|
+
const index = this$.GetAssayIndex(assayIdentifier) | 0;
|
|
2410
|
+
this$.SetAssayAt(index, assay);
|
|
2411
|
+
}
|
|
2412
|
+
static setAssay(assayIdentifier, assay) {
|
|
2413
|
+
return (inv) => {
|
|
2414
|
+
const newInvestigation = inv.Copy();
|
|
2415
|
+
newInvestigation.SetAssay(assayIdentifier, assay);
|
|
2416
|
+
return newInvestigation;
|
|
2417
|
+
};
|
|
2418
|
+
}
|
|
2419
|
+
GetAssayIndex(assayIdentifier) {
|
|
2420
|
+
const this$ = this;
|
|
2421
|
+
const index = this$.Assays.findIndex((a) => (a.Identifier === assayIdentifier)) | 0;
|
|
2422
|
+
if (index === -1) {
|
|
2423
|
+
throw new Error(`Unable to find assay with specified identifier '${assayIdentifier}'!`);
|
|
2424
|
+
}
|
|
2425
|
+
return index | 0;
|
|
2426
|
+
}
|
|
2427
|
+
static getAssayIndex(assayIdentifier) {
|
|
2428
|
+
return (inv) => inv.GetAssayIndex(assayIdentifier);
|
|
2429
|
+
}
|
|
2430
|
+
GetAssayAt(index) {
|
|
2431
|
+
const this$ = this;
|
|
2432
|
+
return this$.Assays[index];
|
|
2433
|
+
}
|
|
2434
|
+
static getAssayAt(index) {
|
|
2435
|
+
return (inv) => {
|
|
2436
|
+
const newInvestigation = inv.Copy();
|
|
2437
|
+
return newInvestigation.GetAssayAt(index);
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
GetAssay(assayIdentifier) {
|
|
2441
|
+
const this$ = this;
|
|
2442
|
+
const matchValue = this$.TryGetAssay(assayIdentifier);
|
|
2443
|
+
if (matchValue == null) {
|
|
2444
|
+
throw new Error(ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier(assayIdentifier, this$.Identifier));
|
|
2445
|
+
}
|
|
2446
|
+
else {
|
|
2447
|
+
return value_5(matchValue);
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
static getAssay(assayIdentifier) {
|
|
2451
|
+
return (inv) => {
|
|
2452
|
+
const newInvestigation = inv.Copy();
|
|
2453
|
+
return newInvestigation.GetAssay(assayIdentifier);
|
|
2454
|
+
};
|
|
2455
|
+
}
|
|
2456
|
+
TryGetAssay(assayIdentifier) {
|
|
2457
|
+
const this$ = this;
|
|
2458
|
+
return tryFind((a) => (a.Identifier === assayIdentifier), this$.Assays);
|
|
2459
|
+
}
|
|
2460
|
+
static tryGetAssay(assayIdentifier) {
|
|
2461
|
+
return (inv) => {
|
|
2462
|
+
const newInvestigation = inv.Copy();
|
|
2463
|
+
return newInvestigation.TryGetAssay(assayIdentifier);
|
|
2464
|
+
};
|
|
2465
|
+
}
|
|
2466
|
+
ContainsAssay(assayIdentifier) {
|
|
2467
|
+
const this$ = this;
|
|
2468
|
+
return exists((a) => (a.Identifier === assayIdentifier), this$.Assays);
|
|
2469
|
+
}
|
|
2470
|
+
static containsAssay(assayIdentifier) {
|
|
2471
|
+
return (inv) => inv.ContainsAssay(assayIdentifier);
|
|
2472
|
+
}
|
|
2473
|
+
get RegisteredStudyIdentifierCount() {
|
|
2474
|
+
const this$ = this;
|
|
2475
|
+
return this$.RegisteredStudyIdentifiers.length | 0;
|
|
2476
|
+
}
|
|
2477
|
+
get RegisteredStudies() {
|
|
2478
|
+
const this$ = this;
|
|
2479
|
+
return ResizeArray_choose((identifier) => this$.TryGetStudy(identifier), this$.RegisteredStudyIdentifiers);
|
|
2480
|
+
}
|
|
2481
|
+
get RegisteredStudyCount() {
|
|
2482
|
+
const this$ = this;
|
|
2483
|
+
return this$.RegisteredStudies.length | 0;
|
|
2484
|
+
}
|
|
2485
|
+
get VacantStudyIdentifiers() {
|
|
2486
|
+
const this$ = this;
|
|
2487
|
+
return ResizeArray_filter((arg) => !this$.ContainsStudy(arg), this$.RegisteredStudyIdentifiers);
|
|
2488
|
+
}
|
|
2489
|
+
get StudyCount() {
|
|
2490
|
+
const this$ = this;
|
|
2491
|
+
return this$.Studies.length | 0;
|
|
2492
|
+
}
|
|
2493
|
+
get StudyIdentifiers() {
|
|
2494
|
+
const this$ = this;
|
|
2495
|
+
return toArray(map_1((x) => x.Identifier, this$.Studies));
|
|
2496
|
+
}
|
|
2497
|
+
get UnregisteredStudies() {
|
|
2498
|
+
const this$ = this;
|
|
2499
|
+
return ResizeArray_filter((s) => {
|
|
2500
|
+
let source, x;
|
|
2501
|
+
return !((source = this$.RegisteredStudyIdentifiers, exists((x = s.Identifier, (y) => (x === y)), source)));
|
|
2502
|
+
}, this$.Studies);
|
|
2503
|
+
}
|
|
2504
|
+
AddStudy(study) {
|
|
2505
|
+
const this$ = this;
|
|
2506
|
+
const study_1 = study;
|
|
2507
|
+
const matchValue = tryFindIndex((x) => (x.Identifier === study_1.Identifier), this$.Studies);
|
|
2508
|
+
if (matchValue == null) {
|
|
2509
|
+
}
|
|
2510
|
+
else {
|
|
2511
|
+
throw new Error(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value_5(matchValue)} has the same name.`);
|
|
2512
|
+
}
|
|
2513
|
+
study.Investigation = this$;
|
|
2514
|
+
void (this$.Studies.push(study));
|
|
2515
|
+
}
|
|
2516
|
+
static addStudy(study) {
|
|
2517
|
+
return (inv) => {
|
|
2518
|
+
const copy = inv.Copy();
|
|
2519
|
+
copy.AddStudy(study);
|
|
2520
|
+
return copy;
|
|
2521
|
+
};
|
|
2522
|
+
}
|
|
2523
|
+
InitStudy(studyIdentifier) {
|
|
2524
|
+
const this$ = this;
|
|
2525
|
+
const study = ArcStudy.init(studyIdentifier);
|
|
2526
|
+
this$.AddStudy(study);
|
|
2527
|
+
return study;
|
|
2528
|
+
}
|
|
2529
|
+
static initStudy(studyIdentifier) {
|
|
2530
|
+
return (inv) => {
|
|
2531
|
+
const copy = inv.Copy();
|
|
2532
|
+
return [copy, copy.InitStudy(studyIdentifier)];
|
|
2533
|
+
};
|
|
2534
|
+
}
|
|
2535
|
+
RegisterStudy(studyIdentifier) {
|
|
2536
|
+
const this$ = this;
|
|
2537
|
+
const studyIdent = studyIdentifier;
|
|
2538
|
+
const matchValue = tryFind((x) => (x === studyIdent), this$.StudyIdentifiers);
|
|
2539
|
+
if (matchValue != null) {
|
|
2540
|
+
}
|
|
2541
|
+
else {
|
|
2542
|
+
throw new Error(`The given study with identifier '${studyIdent}' must be added to Investigation before it can be registered.`);
|
|
2543
|
+
}
|
|
2544
|
+
const studyIdent_1 = studyIdentifier;
|
|
2545
|
+
if (contains(studyIdent_1, this$.RegisteredStudyIdentifiers, {
|
|
2546
|
+
Equals: (x_1, y) => (x_1 === y),
|
|
2547
|
+
GetHashCode: stringHash,
|
|
2548
|
+
})) {
|
|
2549
|
+
throw new Error(`Study with identifier '${studyIdent_1}' is already registered!`);
|
|
2550
|
+
}
|
|
2551
|
+
void (this$.RegisteredStudyIdentifiers.push(studyIdentifier));
|
|
2552
|
+
}
|
|
2553
|
+
static registerStudy(studyIdentifier) {
|
|
2554
|
+
return (inv) => {
|
|
2555
|
+
const copy = inv.Copy();
|
|
2556
|
+
copy.RegisterStudy(studyIdentifier);
|
|
2557
|
+
return copy;
|
|
2558
|
+
};
|
|
2559
|
+
}
|
|
2560
|
+
AddRegisteredStudy(study) {
|
|
2561
|
+
const this$ = this;
|
|
2562
|
+
this$.AddStudy(study);
|
|
2563
|
+
this$.RegisterStudy(study.Identifier);
|
|
2564
|
+
}
|
|
2565
|
+
static addRegisteredStudy(study) {
|
|
2566
|
+
return (inv) => {
|
|
2567
|
+
const copy = inv.Copy();
|
|
2568
|
+
const study_1 = study.Copy();
|
|
2569
|
+
copy.AddRegisteredStudy(study_1);
|
|
2570
|
+
return copy;
|
|
2571
|
+
};
|
|
2572
|
+
}
|
|
2573
|
+
DeleteStudyAt(index) {
|
|
2574
|
+
const this$ = this;
|
|
2575
|
+
this$.Studies.splice(index, 1);
|
|
2576
|
+
}
|
|
2577
|
+
static deleteStudyAt(index) {
|
|
2578
|
+
return (i) => {
|
|
2579
|
+
const copy = i.Copy();
|
|
2580
|
+
copy.DeleteStudyAt(index);
|
|
2581
|
+
return copy;
|
|
2582
|
+
};
|
|
2583
|
+
}
|
|
2584
|
+
DeleteStudy(studyIdentifier) {
|
|
2585
|
+
const this$ = this;
|
|
2586
|
+
const index = this$.Studies.findIndex((s) => (s.Identifier === studyIdentifier)) | 0;
|
|
2587
|
+
this$.DeleteStudyAt(index);
|
|
2588
|
+
}
|
|
2589
|
+
static deleteStudy(studyIdentifier) {
|
|
2590
|
+
return (i) => {
|
|
2591
|
+
const copy = i.Copy();
|
|
2592
|
+
copy.DeleteStudy(studyIdentifier);
|
|
2593
|
+
return copy;
|
|
2594
|
+
};
|
|
2595
|
+
}
|
|
2596
|
+
RemoveStudyAt(index) {
|
|
2597
|
+
const this$ = this;
|
|
2598
|
+
const ident = this$.GetStudyAt(index).Identifier;
|
|
2599
|
+
this$.Studies.splice(index, 1);
|
|
2600
|
+
this$.DeregisterStudy(ident);
|
|
2601
|
+
}
|
|
2602
|
+
static removeStudyAt(index) {
|
|
2603
|
+
return (inv) => {
|
|
2604
|
+
const newInv = inv.Copy();
|
|
2605
|
+
newInv.RemoveStudyAt(index);
|
|
2606
|
+
return newInv;
|
|
2607
|
+
};
|
|
2608
|
+
}
|
|
2609
|
+
RemoveStudy(studyIdentifier) {
|
|
2610
|
+
const this$ = this;
|
|
2611
|
+
const index = this$.GetStudyIndex(studyIdentifier) | 0;
|
|
2612
|
+
this$.RemoveStudyAt(index);
|
|
2613
|
+
}
|
|
2614
|
+
static removeStudy(studyIdentifier) {
|
|
2615
|
+
return (inv) => {
|
|
2616
|
+
const copy = inv.Copy();
|
|
2617
|
+
copy.RemoveStudy(studyIdentifier);
|
|
2618
|
+
return copy;
|
|
2619
|
+
};
|
|
2620
|
+
}
|
|
2621
|
+
RenameStudy(oldIdentifier, newIdentifier) {
|
|
2622
|
+
const this$ = this;
|
|
2623
|
+
iterate((s) => {
|
|
2624
|
+
if (s.Identifier === oldIdentifier) {
|
|
2625
|
+
s.Identifier = newIdentifier;
|
|
2626
|
+
}
|
|
2627
|
+
}, this$.Studies);
|
|
2628
|
+
const index = tryFindIndex((si) => (si === oldIdentifier), this$.RegisteredStudyIdentifiers);
|
|
2629
|
+
if (index != null) {
|
|
2630
|
+
const index_1 = value_5(index) | 0;
|
|
2631
|
+
this$.RegisteredStudyIdentifiers[index_1] = newIdentifier;
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
static renameStudy(oldIdentifier, newIdentifier) {
|
|
2635
|
+
return (inv) => {
|
|
2636
|
+
const newInv = inv.Copy();
|
|
2637
|
+
newInv.RenameStudy(oldIdentifier, newIdentifier);
|
|
2638
|
+
return newInv;
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
SetStudyAt(index, study) {
|
|
2642
|
+
const this$ = this;
|
|
2643
|
+
const study_1 = study;
|
|
2644
|
+
const matchValue = tryFindIndex((x) => (x.Identifier === study_1.Identifier), removeAt(index, this$.Studies));
|
|
2645
|
+
if (matchValue == null) {
|
|
2646
|
+
}
|
|
2647
|
+
else {
|
|
2648
|
+
throw new Error(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value_5(matchValue)} has the same name.`);
|
|
2649
|
+
}
|
|
2650
|
+
study.Investigation = this$;
|
|
2651
|
+
this$.Studies[index] = study;
|
|
2652
|
+
}
|
|
2653
|
+
static setStudyAt(index, study) {
|
|
2654
|
+
return (inv) => {
|
|
2655
|
+
const newInv = inv.Copy();
|
|
2656
|
+
newInv.SetStudyAt(index, study);
|
|
2657
|
+
return newInv;
|
|
2658
|
+
};
|
|
2659
|
+
}
|
|
2660
|
+
SetStudy(studyIdentifier, study) {
|
|
2661
|
+
const this$ = this;
|
|
2662
|
+
const index = this$.GetStudyIndex(studyIdentifier) | 0;
|
|
2663
|
+
this$.SetStudyAt(index, study);
|
|
2664
|
+
}
|
|
2665
|
+
static setStudy(studyIdentifier, study) {
|
|
2666
|
+
return (inv) => {
|
|
2667
|
+
const newInv = inv.Copy();
|
|
2668
|
+
newInv.SetStudy(studyIdentifier, study);
|
|
2669
|
+
return newInv;
|
|
2670
|
+
};
|
|
2671
|
+
}
|
|
2672
|
+
GetStudyIndex(studyIdentifier) {
|
|
2673
|
+
const this$ = this;
|
|
2674
|
+
const index = this$.Studies.findIndex((s) => (s.Identifier === studyIdentifier)) | 0;
|
|
2675
|
+
if (index === -1) {
|
|
2676
|
+
throw new Error(`Unable to find study with specified identifier '${studyIdentifier}'!`);
|
|
2677
|
+
}
|
|
2678
|
+
return index | 0;
|
|
2679
|
+
}
|
|
2680
|
+
static getStudyIndex(studyIdentifier) {
|
|
2681
|
+
return (inv) => inv.GetStudyIndex(studyIdentifier);
|
|
2682
|
+
}
|
|
2683
|
+
GetStudyAt(index) {
|
|
2684
|
+
const this$ = this;
|
|
2685
|
+
return this$.Studies[index];
|
|
2686
|
+
}
|
|
2687
|
+
static getStudyAt(index) {
|
|
2688
|
+
return (inv) => {
|
|
2689
|
+
const newInv = inv.Copy();
|
|
2690
|
+
return newInv.GetStudyAt(index);
|
|
2691
|
+
};
|
|
2692
|
+
}
|
|
2693
|
+
GetStudy(studyIdentifier) {
|
|
2694
|
+
const this$ = this;
|
|
2695
|
+
const matchValue = this$.TryGetStudy(studyIdentifier);
|
|
2696
|
+
if (matchValue == null) {
|
|
2697
|
+
throw new Error(ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier(studyIdentifier, this$.Identifier));
|
|
2698
|
+
}
|
|
2699
|
+
else {
|
|
2700
|
+
return value_5(matchValue);
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
static getStudy(studyIdentifier) {
|
|
2704
|
+
return (inv) => {
|
|
2705
|
+
const newInv = inv.Copy();
|
|
2706
|
+
return newInv.GetStudy(studyIdentifier);
|
|
2707
|
+
};
|
|
2708
|
+
}
|
|
2709
|
+
TryGetStudy(studyIdentifier) {
|
|
2710
|
+
const this$ = this;
|
|
2711
|
+
return tryFind((s) => (s.Identifier === studyIdentifier), this$.Studies);
|
|
2712
|
+
}
|
|
2713
|
+
static tryGetStudy(studyIdentifier) {
|
|
2714
|
+
return (inv) => {
|
|
2715
|
+
const newInv = inv.Copy();
|
|
2716
|
+
return newInv.TryGetStudy(studyIdentifier);
|
|
2717
|
+
};
|
|
2718
|
+
}
|
|
2719
|
+
ContainsStudy(studyIdentifier) {
|
|
2720
|
+
const this$ = this;
|
|
2721
|
+
return exists((s) => (s.Identifier === studyIdentifier), this$.Studies);
|
|
2722
|
+
}
|
|
2723
|
+
static containsStudy(studyIdentifier) {
|
|
2724
|
+
return (inv) => inv.ContainsStudy(studyIdentifier);
|
|
2725
|
+
}
|
|
2726
|
+
RegisterAssayAt(studyIndex, assayIdentifier) {
|
|
2727
|
+
const this$ = this;
|
|
2728
|
+
const study = this$.GetStudyAt(studyIndex);
|
|
2729
|
+
const matchValue = tryFind((x) => (x === assayIdentifier), map_1((a) => a.Identifier, this$.Assays));
|
|
2730
|
+
if (matchValue != null) {
|
|
2731
|
+
}
|
|
2732
|
+
else {
|
|
2733
|
+
throw new Error("The given assay must be added to Investigation before it can be registered.");
|
|
2734
|
+
}
|
|
2735
|
+
const assayIdent_1 = assayIdentifier;
|
|
2736
|
+
const matchValue_1 = tryFindIndex((x_1) => (x_1 === assayIdent_1), study.RegisteredAssayIdentifiers);
|
|
2737
|
+
if (matchValue_1 == null) {
|
|
2738
|
+
}
|
|
2739
|
+
else {
|
|
2740
|
+
throw new Error(`Cannot create assay with name ${assayIdent_1}, as assay names must be unique and assay at index ${value_5(matchValue_1)} has the same name.`);
|
|
2741
|
+
}
|
|
2742
|
+
study.RegisterAssay(assayIdentifier);
|
|
2743
|
+
}
|
|
2744
|
+
static registerAssayAt(studyIndex, assayIdentifier) {
|
|
2745
|
+
return (inv) => {
|
|
2746
|
+
const copy = inv.Copy();
|
|
2747
|
+
copy.RegisterAssayAt(studyIndex, assayIdentifier);
|
|
2748
|
+
return copy;
|
|
2749
|
+
};
|
|
2750
|
+
}
|
|
2751
|
+
RegisterAssay(studyIdentifier, assayIdentifier) {
|
|
2752
|
+
const this$ = this;
|
|
2753
|
+
const index = this$.GetStudyIndex(studyIdentifier) | 0;
|
|
2754
|
+
this$.RegisterAssayAt(index, assayIdentifier);
|
|
2755
|
+
}
|
|
2756
|
+
static registerAssay(studyIdentifier, assayIdentifier) {
|
|
2757
|
+
return (inv) => {
|
|
2758
|
+
const copy = inv.Copy();
|
|
2759
|
+
copy.RegisterAssay(studyIdentifier, assayIdentifier);
|
|
2760
|
+
return copy;
|
|
2761
|
+
};
|
|
2762
|
+
}
|
|
2763
|
+
DeregisterAssayAt(studyIndex, assayIdentifier) {
|
|
2764
|
+
const this$ = this;
|
|
2765
|
+
const study = this$.GetStudyAt(studyIndex);
|
|
2766
|
+
study.DeregisterAssay(assayIdentifier);
|
|
2767
|
+
}
|
|
2768
|
+
static deregisterAssayAt(studyIndex, assayIdentifier) {
|
|
2769
|
+
return (inv) => {
|
|
2770
|
+
const copy = inv.Copy();
|
|
2771
|
+
copy.DeregisterAssayAt(studyIndex, assayIdentifier);
|
|
2772
|
+
return copy;
|
|
2773
|
+
};
|
|
2774
|
+
}
|
|
2775
|
+
DeregisterAssay(studyIdentifier, assayIdentifier) {
|
|
2776
|
+
const this$ = this;
|
|
2777
|
+
const index = this$.GetStudyIndex(studyIdentifier) | 0;
|
|
2778
|
+
this$.DeregisterAssayAt(index, assayIdentifier);
|
|
2779
|
+
}
|
|
2780
|
+
static deregisterAssay(studyIdentifier, assayIdentifier) {
|
|
2781
|
+
return (inv) => {
|
|
2782
|
+
const copy = inv.Copy();
|
|
2783
|
+
copy.DeregisterAssay(studyIdentifier, assayIdentifier);
|
|
2784
|
+
return copy;
|
|
2785
|
+
};
|
|
2786
|
+
}
|
|
2787
|
+
DeregisterStudy(studyIdentifier) {
|
|
2788
|
+
const this$ = this;
|
|
2789
|
+
removeInPlace(studyIdentifier, this$.RegisteredStudyIdentifiers, {
|
|
2790
|
+
Equals: (x, y) => (x === y),
|
|
2791
|
+
GetHashCode: stringHash,
|
|
2792
|
+
});
|
|
2793
|
+
}
|
|
2794
|
+
static deregisterStudy(studyIdentifier) {
|
|
2795
|
+
return (i) => {
|
|
2796
|
+
const copy = i.Copy();
|
|
2797
|
+
copy.DeregisterStudy(studyIdentifier);
|
|
2798
|
+
return copy;
|
|
2799
|
+
};
|
|
2800
|
+
}
|
|
2801
|
+
get WorkflowCount() {
|
|
2802
|
+
const this$ = this;
|
|
2803
|
+
return this$.Workflows.length | 0;
|
|
2804
|
+
}
|
|
2805
|
+
get WorkflowIdentifiers() {
|
|
2806
|
+
const this$ = this;
|
|
2807
|
+
return toArray(map_1(ArcWorkflow__get_Identifier, this$.Workflows));
|
|
2808
|
+
}
|
|
2809
|
+
GetWorkflowIndex(workflowIdentifier) {
|
|
2810
|
+
const this$ = this;
|
|
2811
|
+
const index = this$.Workflows.findIndex((w) => (ArcWorkflow__get_Identifier(w) === workflowIdentifier)) | 0;
|
|
2812
|
+
if (index === -1) {
|
|
2813
|
+
throw new Error(`Unable to find workflow with specified identifier '${workflowIdentifier}'!`);
|
|
2814
|
+
}
|
|
2815
|
+
return index | 0;
|
|
2816
|
+
}
|
|
2817
|
+
static getWorkflowIndex(workflowIdentifier) {
|
|
2818
|
+
return (inv) => inv.GetWorkflowIndex(workflowIdentifier);
|
|
2819
|
+
}
|
|
2820
|
+
AddWorkflow(workflow) {
|
|
2821
|
+
const this$ = this;
|
|
2822
|
+
const workflow_1 = workflow;
|
|
2823
|
+
const matchValue = tryFindIndex((x) => (ArcWorkflow__get_Identifier(x) === ArcWorkflow__get_Identifier(workflow_1)), this$.Workflows);
|
|
2824
|
+
if (matchValue == null) {
|
|
2825
|
+
}
|
|
2826
|
+
else {
|
|
2827
|
+
throw new Error(`Cannot create workflow with name ${ArcWorkflow__get_Identifier(workflow_1)}, as workflow names must be unique and workflow at index ${value_5(matchValue)} has the same name.`);
|
|
2828
|
+
}
|
|
2829
|
+
ArcWorkflow__set_Investigation_Z1E102E3E(workflow, this$);
|
|
2830
|
+
void (this$.Workflows.push(workflow));
|
|
2831
|
+
}
|
|
2832
|
+
static addWorkflow(workflow) {
|
|
2833
|
+
return (inv) => {
|
|
2834
|
+
const copy = inv.Copy();
|
|
2835
|
+
copy.AddWorkflow(workflow);
|
|
2836
|
+
return copy;
|
|
2837
|
+
};
|
|
2838
|
+
}
|
|
2839
|
+
InitWorkflow(workflowIdentifier) {
|
|
2840
|
+
const this$ = this;
|
|
2841
|
+
const workflow = ArcWorkflow_init_Z721C83C5(workflowIdentifier);
|
|
2842
|
+
this$.AddWorkflow(workflow);
|
|
2843
|
+
return workflow;
|
|
2844
|
+
}
|
|
2845
|
+
static initWorkflow(workflowIdentifier) {
|
|
2846
|
+
return (inv) => {
|
|
2847
|
+
const copy = inv.Copy();
|
|
2848
|
+
return copy.InitWorkflow(workflowIdentifier);
|
|
2849
|
+
};
|
|
2850
|
+
}
|
|
2851
|
+
DeleteWorkflowAt(index) {
|
|
2852
|
+
const this$ = this;
|
|
2853
|
+
this$.Workflows.splice(index, 1);
|
|
2854
|
+
}
|
|
2855
|
+
static deleteWorkflowAt(index) {
|
|
2856
|
+
return (inv) => {
|
|
2857
|
+
const copy = inv.Copy();
|
|
2858
|
+
copy.DeleteWorkflowAt(index);
|
|
2859
|
+
return copy;
|
|
2860
|
+
};
|
|
2861
|
+
}
|
|
2862
|
+
DeleteWorkflow(workflowIdentifier) {
|
|
2863
|
+
const this$ = this;
|
|
2864
|
+
const index = this$.Workflows.findIndex((w) => (ArcWorkflow__get_Identifier(w) === workflowIdentifier)) | 0;
|
|
2865
|
+
this$.DeleteWorkflowAt(index);
|
|
2866
|
+
}
|
|
2867
|
+
static deleteWorkflow(workflowIdentifier) {
|
|
2868
|
+
return (inv) => {
|
|
2869
|
+
const copy = inv.Copy();
|
|
2870
|
+
copy.DeleteWorkflow(workflowIdentifier);
|
|
2871
|
+
return copy;
|
|
2872
|
+
};
|
|
2873
|
+
}
|
|
2874
|
+
GetWorkflowAt(index) {
|
|
2875
|
+
const this$ = this;
|
|
2876
|
+
return this$.Workflows[index];
|
|
2877
|
+
}
|
|
2878
|
+
static getWorkflowAt(index) {
|
|
2879
|
+
return (inv) => {
|
|
2880
|
+
const copy = inv.Copy();
|
|
2881
|
+
return copy.GetWorkflowAt(index);
|
|
2882
|
+
};
|
|
2883
|
+
}
|
|
2884
|
+
GetWorkflow(workflowIdentifier) {
|
|
2885
|
+
const this$ = this;
|
|
2886
|
+
const matchValue = this$.TryGetWorkflow(workflowIdentifier);
|
|
2887
|
+
if (matchValue == null) {
|
|
2888
|
+
throw new Error(ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier(workflowIdentifier, this$.Identifier));
|
|
2889
|
+
}
|
|
2890
|
+
else {
|
|
2891
|
+
return value_5(matchValue);
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
static getWorkflow(workflowIdentifier) {
|
|
2895
|
+
return (inv) => {
|
|
2896
|
+
const copy = inv.Copy();
|
|
2897
|
+
return copy.GetWorkflow(workflowIdentifier);
|
|
2898
|
+
};
|
|
2899
|
+
}
|
|
2900
|
+
TryGetWorkflow(workflowIdentifier) {
|
|
2901
|
+
const this$ = this;
|
|
2902
|
+
return tryFind((w) => (ArcWorkflow__get_Identifier(w) === workflowIdentifier), this$.Workflows);
|
|
2903
|
+
}
|
|
2904
|
+
static tryGetWorkflow(workflowIdentifier) {
|
|
2905
|
+
return (inv) => {
|
|
2906
|
+
const copy = inv.Copy();
|
|
2907
|
+
return copy.TryGetWorkflow(workflowIdentifier);
|
|
2908
|
+
};
|
|
2909
|
+
}
|
|
2910
|
+
ContainsWorkflow(workflowIdentifier) {
|
|
2911
|
+
const this$ = this;
|
|
2912
|
+
return exists((w) => (ArcWorkflow__get_Identifier(w) === workflowIdentifier), this$.Workflows);
|
|
2913
|
+
}
|
|
2914
|
+
static containsWorkflow(workflowIdentifier) {
|
|
2915
|
+
return (inv) => inv.ContainsWorkflow(workflowIdentifier);
|
|
2916
|
+
}
|
|
2917
|
+
SetWorkflowAt(index, workflow) {
|
|
2918
|
+
const this$ = this;
|
|
2919
|
+
const workflow_1 = workflow;
|
|
2920
|
+
const matchValue = tryFindIndex((x) => (ArcWorkflow__get_Identifier(x) === ArcWorkflow__get_Identifier(workflow_1)), this$.Workflows);
|
|
2921
|
+
if (matchValue == null) {
|
|
2922
|
+
}
|
|
2923
|
+
else {
|
|
2924
|
+
throw new Error(`Cannot create workflow with name ${ArcWorkflow__get_Identifier(workflow_1)}, as workflow names must be unique and workflow at index ${value_5(matchValue)} has the same name.`);
|
|
2925
|
+
}
|
|
2926
|
+
ArcWorkflow__set_Investigation_Z1E102E3E(workflow, this$);
|
|
2927
|
+
this$.Workflows[index] = workflow;
|
|
2928
|
+
}
|
|
2929
|
+
SetWorkflow(workflowIdentifier, workflow) {
|
|
2930
|
+
const this$ = this;
|
|
2931
|
+
const index = this$.GetWorkflowIndex(workflowIdentifier) | 0;
|
|
2932
|
+
this$.SetWorkflowAt(index, workflow);
|
|
2933
|
+
}
|
|
2934
|
+
static setWorkflow(workflowIdentifier, workflow) {
|
|
2935
|
+
return (inv) => {
|
|
2936
|
+
const copy = inv.Copy();
|
|
2937
|
+
copy.SetWorkflow(workflowIdentifier, workflow);
|
|
2938
|
+
return copy;
|
|
2939
|
+
};
|
|
2940
|
+
}
|
|
2941
|
+
static setWorkflowAt(index, workflow) {
|
|
2942
|
+
return (inv) => {
|
|
2943
|
+
const copy = inv.Copy();
|
|
2944
|
+
copy.SetWorkflowAt(index, workflow);
|
|
2945
|
+
return copy;
|
|
2946
|
+
};
|
|
2947
|
+
}
|
|
2948
|
+
get RunCount() {
|
|
2949
|
+
const this$ = this;
|
|
2950
|
+
return this$.Runs.length | 0;
|
|
2951
|
+
}
|
|
2952
|
+
get RunIdentifiers() {
|
|
2953
|
+
const this$ = this;
|
|
2954
|
+
return toArray(map_1((x) => x.Identifier, this$.Runs));
|
|
2955
|
+
}
|
|
2956
|
+
GetRunIndex(runIdentifier) {
|
|
2957
|
+
const this$ = this;
|
|
2958
|
+
const index = this$.Runs.findIndex((r) => (r.Identifier === runIdentifier)) | 0;
|
|
2959
|
+
if (index === -1) {
|
|
2960
|
+
throw new Error(`Unable to find run with specified identifier '${runIdentifier}'!`);
|
|
2961
|
+
}
|
|
2962
|
+
return index | 0;
|
|
2963
|
+
}
|
|
2964
|
+
static getRunIndex(runIdentifier) {
|
|
2965
|
+
return (inv) => inv.GetRunIndex(runIdentifier);
|
|
2966
|
+
}
|
|
2967
|
+
AddRun(run) {
|
|
2968
|
+
const this$ = this;
|
|
2969
|
+
const run_1 = run;
|
|
2970
|
+
const matchValue = tryFindIndex((x) => (x.Identifier === run_1.Identifier), this$.Runs);
|
|
2971
|
+
if (matchValue == null) {
|
|
2972
|
+
}
|
|
2973
|
+
else {
|
|
2974
|
+
throw new Error(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value_5(matchValue)} has the same name.`);
|
|
2975
|
+
}
|
|
2976
|
+
run.Investigation = this$;
|
|
2977
|
+
void (this$.Runs.push(run));
|
|
2978
|
+
}
|
|
2979
|
+
static addRun(run) {
|
|
2980
|
+
return (inv) => {
|
|
2981
|
+
const copy = inv.Copy();
|
|
2982
|
+
copy.AddRun(run);
|
|
2983
|
+
return copy;
|
|
2984
|
+
};
|
|
2985
|
+
}
|
|
2986
|
+
InitRun(runIdentifier) {
|
|
2987
|
+
const this$ = this;
|
|
2988
|
+
const run = ArcRun.init(runIdentifier);
|
|
2989
|
+
this$.AddRun(run);
|
|
2990
|
+
return run;
|
|
2991
|
+
}
|
|
2992
|
+
static initRun(runIdentifier) {
|
|
2993
|
+
return (inv) => {
|
|
2994
|
+
const copy = inv.Copy();
|
|
2995
|
+
return copy.InitRun(runIdentifier);
|
|
2996
|
+
};
|
|
2997
|
+
}
|
|
2998
|
+
DeleteRunAt(index) {
|
|
2999
|
+
const this$ = this;
|
|
3000
|
+
this$.Runs.splice(index, 1);
|
|
3001
|
+
}
|
|
3002
|
+
static deleteRunAt(index) {
|
|
3003
|
+
return (inv) => {
|
|
3004
|
+
const copy = inv.Copy();
|
|
3005
|
+
copy.DeleteRunAt(index);
|
|
3006
|
+
return copy;
|
|
3007
|
+
};
|
|
3008
|
+
}
|
|
3009
|
+
DeleteRun(runIdentifier) {
|
|
3010
|
+
const this$ = this;
|
|
3011
|
+
const index = this$.Runs.findIndex((w) => (w.Identifier === runIdentifier)) | 0;
|
|
3012
|
+
this$.DeleteRunAt(index);
|
|
3013
|
+
}
|
|
3014
|
+
static deleteRun(runIdentifier) {
|
|
3015
|
+
return (inv) => {
|
|
3016
|
+
const copy = inv.Copy();
|
|
3017
|
+
copy.DeleteRun(runIdentifier);
|
|
3018
|
+
return copy;
|
|
3019
|
+
};
|
|
3020
|
+
}
|
|
3021
|
+
GetRunAt(index) {
|
|
3022
|
+
const this$ = this;
|
|
3023
|
+
return this$.Runs[index];
|
|
3024
|
+
}
|
|
3025
|
+
static getRunAt(index) {
|
|
3026
|
+
return (inv) => {
|
|
3027
|
+
const copy = inv.Copy();
|
|
3028
|
+
return copy.GetRunAt(index);
|
|
3029
|
+
};
|
|
3030
|
+
}
|
|
3031
|
+
GetRun(runIdentifier) {
|
|
3032
|
+
const this$ = this;
|
|
3033
|
+
const matchValue = this$.TryGetRun(runIdentifier);
|
|
3034
|
+
if (matchValue == null) {
|
|
3035
|
+
throw new Error(ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, this$.Identifier));
|
|
3036
|
+
}
|
|
3037
|
+
else {
|
|
3038
|
+
return value_5(matchValue);
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
static getRun(runIdentifier) {
|
|
3042
|
+
return (inv) => {
|
|
3043
|
+
const copy = inv.Copy();
|
|
3044
|
+
return copy.GetRun(runIdentifier);
|
|
3045
|
+
};
|
|
3046
|
+
}
|
|
3047
|
+
TryGetRun(runIdentifier) {
|
|
3048
|
+
const this$ = this;
|
|
3049
|
+
return tryFind((w) => (w.Identifier === runIdentifier), this$.Runs);
|
|
3050
|
+
}
|
|
3051
|
+
static tryGetRun(runIdentifier) {
|
|
3052
|
+
return (inv) => {
|
|
3053
|
+
const copy = inv.Copy();
|
|
3054
|
+
return copy.TryGetRun(runIdentifier);
|
|
3055
|
+
};
|
|
3056
|
+
}
|
|
3057
|
+
ContainsRun(runIdentifier) {
|
|
3058
|
+
const this$ = this;
|
|
3059
|
+
return exists((w) => (w.Identifier === runIdentifier), this$.Runs);
|
|
3060
|
+
}
|
|
3061
|
+
static containsRun(runIdentifier) {
|
|
3062
|
+
return (inv) => inv.ContainsRun(runIdentifier);
|
|
3063
|
+
}
|
|
3064
|
+
SetRunAt(index, run) {
|
|
3065
|
+
const this$ = this;
|
|
3066
|
+
const run_1 = run;
|
|
3067
|
+
const matchValue = tryFindIndex((x) => (x.Identifier === run_1.Identifier), this$.Runs);
|
|
3068
|
+
if (matchValue == null) {
|
|
3069
|
+
}
|
|
3070
|
+
else {
|
|
3071
|
+
throw new Error(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value_5(matchValue)} has the same name.`);
|
|
3072
|
+
}
|
|
3073
|
+
run.Investigation = this$;
|
|
3074
|
+
this$.Runs[index] = run;
|
|
3075
|
+
}
|
|
3076
|
+
SetRun(runIdentifier, run) {
|
|
3077
|
+
const this$ = this;
|
|
3078
|
+
const index = this$.GetRunIndex(runIdentifier) | 0;
|
|
3079
|
+
this$.SetRunAt(index, run);
|
|
3080
|
+
}
|
|
3081
|
+
static setRunAt(index, run) {
|
|
3082
|
+
return (inv) => {
|
|
3083
|
+
const copy = inv.Copy();
|
|
3084
|
+
copy.SetRunAt(index, run);
|
|
3085
|
+
return copy;
|
|
3086
|
+
};
|
|
3087
|
+
}
|
|
3088
|
+
static setRun(runIdentifier, run) {
|
|
3089
|
+
return (inv) => {
|
|
3090
|
+
const copy = inv.Copy();
|
|
3091
|
+
copy.SetRun(runIdentifier, run);
|
|
3092
|
+
return copy;
|
|
3093
|
+
};
|
|
3094
|
+
}
|
|
3095
|
+
GetAllPersons() {
|
|
3096
|
+
const this$ = this;
|
|
3097
|
+
const persons = [];
|
|
3098
|
+
let enumerator = getEnumerator(this$.Assays);
|
|
3099
|
+
try {
|
|
3100
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3101
|
+
const a = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3102
|
+
addRangeInPlace(a.Performers, persons);
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
finally {
|
|
3106
|
+
disposeSafe(enumerator);
|
|
3107
|
+
}
|
|
3108
|
+
let enumerator_1 = getEnumerator(this$.Studies);
|
|
3109
|
+
try {
|
|
3110
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3111
|
+
const s = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3112
|
+
addRangeInPlace(s.Contacts, persons);
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
finally {
|
|
3116
|
+
disposeSafe(enumerator_1);
|
|
3117
|
+
}
|
|
3118
|
+
addRangeInPlace(this$.Contacts, persons);
|
|
3119
|
+
return Array_distinct(Array.from(persons), {
|
|
3120
|
+
Equals: equals,
|
|
3121
|
+
GetHashCode: safeHash,
|
|
3122
|
+
});
|
|
3123
|
+
}
|
|
3124
|
+
GetAllPublications() {
|
|
3125
|
+
const this$ = this;
|
|
3126
|
+
const pubs = [];
|
|
3127
|
+
let enumerator = getEnumerator(this$.Studies);
|
|
3128
|
+
try {
|
|
3129
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3130
|
+
const s = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3131
|
+
addRangeInPlace(s.Publications, pubs);
|
|
3132
|
+
}
|
|
3133
|
+
}
|
|
3134
|
+
finally {
|
|
3135
|
+
disposeSafe(enumerator);
|
|
3136
|
+
}
|
|
3137
|
+
addRangeInPlace(this$.Publications, pubs);
|
|
3138
|
+
return Array_distinct(Array.from(pubs), {
|
|
3139
|
+
Equals: equals,
|
|
3140
|
+
GetHashCode: safeHash,
|
|
3141
|
+
});
|
|
3142
|
+
}
|
|
3143
|
+
DeregisterMissingAssays() {
|
|
3144
|
+
const this$ = this;
|
|
3145
|
+
const inv = this$;
|
|
3146
|
+
const existingAssays = inv.AssayIdentifiers;
|
|
3147
|
+
let enumerator = getEnumerator(inv.Studies);
|
|
3148
|
+
try {
|
|
3149
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3150
|
+
const study = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3151
|
+
const rai = study.RegisteredAssayIdentifiers;
|
|
3152
|
+
let enumerator_1 = getEnumerator(Array.from(rai));
|
|
3153
|
+
try {
|
|
3154
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3155
|
+
const registeredAssay = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3156
|
+
if (!contains(registeredAssay, existingAssays, {
|
|
3157
|
+
Equals: (x, y) => (x === y),
|
|
3158
|
+
GetHashCode: stringHash,
|
|
3159
|
+
})) {
|
|
3160
|
+
const value_1 = study.DeregisterAssay(registeredAssay);
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
}
|
|
3164
|
+
finally {
|
|
3165
|
+
disposeSafe(enumerator_1);
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
}
|
|
3169
|
+
finally {
|
|
3170
|
+
disposeSafe(enumerator);
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
static deregisterMissingAssays() {
|
|
3174
|
+
return (inv) => {
|
|
3175
|
+
const copy = inv.Copy();
|
|
3176
|
+
copy.DeregisterMissingAssays();
|
|
3177
|
+
return copy;
|
|
3178
|
+
};
|
|
3179
|
+
}
|
|
3180
|
+
UpdateIOTypeByEntityID() {
|
|
3181
|
+
let collection;
|
|
3182
|
+
const this$ = this;
|
|
3183
|
+
const ioMap = ArcTablesAux_getIOMap((collection = toList(delay(() => append_4(collect((study) => study.Tables, this$.Studies), delay(() => append_4(collect((assay) => assay.Tables, this$.Assays), delay(() => collect((run) => run.Tables, this$.Runs))))))), Array.from(collection)));
|
|
3184
|
+
let enumerator = getEnumerator(this$.Studies);
|
|
3185
|
+
try {
|
|
3186
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3187
|
+
const study_1 = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3188
|
+
ArcTablesAux_applyIOMap(ioMap, study_1.Tables);
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
finally {
|
|
3192
|
+
disposeSafe(enumerator);
|
|
3193
|
+
}
|
|
3194
|
+
let enumerator_1 = getEnumerator(this$.Assays);
|
|
3195
|
+
try {
|
|
3196
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3197
|
+
const assay_1 = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3198
|
+
ArcTablesAux_applyIOMap(ioMap, assay_1.Tables);
|
|
3199
|
+
}
|
|
3200
|
+
}
|
|
3201
|
+
finally {
|
|
3202
|
+
disposeSafe(enumerator_1);
|
|
3203
|
+
}
|
|
3204
|
+
let enumerator_2 = getEnumerator(this$.Runs);
|
|
3205
|
+
try {
|
|
3206
|
+
while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3207
|
+
const run_1 = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3208
|
+
ArcTablesAux_applyIOMap(ioMap, run_1.Tables);
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
finally {
|
|
3212
|
+
disposeSafe(enumerator_2);
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
Copy() {
|
|
3216
|
+
const this$ = this;
|
|
3217
|
+
const nextAssays = [];
|
|
3218
|
+
const nextStudies = [];
|
|
3219
|
+
const nextWorkflows = [];
|
|
3220
|
+
const nextRuns = [];
|
|
3221
|
+
let enumerator = getEnumerator(this$.Assays);
|
|
3222
|
+
try {
|
|
3223
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3224
|
+
const assay = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3225
|
+
const copy = assay.Copy();
|
|
3226
|
+
void (nextAssays.push(copy));
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
finally {
|
|
3230
|
+
disposeSafe(enumerator);
|
|
3231
|
+
}
|
|
3232
|
+
let enumerator_1 = getEnumerator(this$.Studies);
|
|
3233
|
+
try {
|
|
3234
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3235
|
+
const study = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3236
|
+
const copy_1 = study.Copy();
|
|
3237
|
+
void (nextStudies.push(copy_1));
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
finally {
|
|
3241
|
+
disposeSafe(enumerator_1);
|
|
3242
|
+
}
|
|
3243
|
+
let enumerator_2 = getEnumerator(this$.Workflows);
|
|
3244
|
+
try {
|
|
3245
|
+
while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3246
|
+
const workflow = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3247
|
+
void (nextWorkflows.push(ArcWorkflow__Copy_6FCE9E49(workflow)));
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
finally {
|
|
3251
|
+
disposeSafe(enumerator_2);
|
|
3252
|
+
}
|
|
3253
|
+
let enumerator_3 = getEnumerator(this$.Runs);
|
|
3254
|
+
try {
|
|
3255
|
+
while (enumerator_3["System.Collections.IEnumerator.MoveNext"]()) {
|
|
3256
|
+
const run = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
3257
|
+
const copy_3 = run.Copy();
|
|
3258
|
+
void (nextRuns.push(copy_3));
|
|
3259
|
+
}
|
|
3260
|
+
}
|
|
3261
|
+
finally {
|
|
3262
|
+
disposeSafe(enumerator_3);
|
|
3263
|
+
}
|
|
3264
|
+
const nextComments = ResizeArray_map((c) => c.Copy(), this$.Comments);
|
|
3265
|
+
const nextRemarks = ResizeArray_map((c_1) => c_1.Copy(), this$.Remarks);
|
|
3266
|
+
const nextContacts = ResizeArray_map((c_2) => c_2.Copy(), this$.Contacts);
|
|
3267
|
+
const nextPublications = ResizeArray_map((c_3) => c_3.Copy(), this$.Publications);
|
|
3268
|
+
const nextOntologySourceReferences = ResizeArray_map((c_4) => c_4.Copy(), this$.OntologySourceReferences);
|
|
3269
|
+
const nextStudyIdentifiers = Array.from(this$.RegisteredStudyIdentifiers);
|
|
3270
|
+
return new ArcInvestigation(this$.Identifier, unwrap(this$.Title), unwrap(this$.Description), unwrap(this$.SubmissionDate), unwrap(this$.PublicReleaseDate), nextOntologySourceReferences, nextPublications, nextContacts, nextAssays, nextStudies, nextWorkflows, nextRuns, nextStudyIdentifiers, nextComments, nextRemarks);
|
|
3271
|
+
}
|
|
3272
|
+
StructurallyEquals(other) {
|
|
3273
|
+
let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5, a_6, b_6, a_7, b_7, a_8, b_8, a_9, b_9;
|
|
3274
|
+
const this$ = this;
|
|
3275
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), (a = this$.Publications, (b = other.Publications, (length(a) === length(b)) && fold((acc, e) => {
|
|
3276
|
+
if (acc) {
|
|
3277
|
+
return e;
|
|
3278
|
+
}
|
|
3279
|
+
else {
|
|
3280
|
+
return false;
|
|
3281
|
+
}
|
|
3282
|
+
}, true, toList(delay(() => map_1((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Contacts, (b_1 = other.Contacts, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
3283
|
+
if (acc_1) {
|
|
3284
|
+
return e_1;
|
|
3285
|
+
}
|
|
3286
|
+
else {
|
|
3287
|
+
return false;
|
|
3288
|
+
}
|
|
3289
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.OntologySourceReferences, (b_2 = other.OntologySourceReferences, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
3290
|
+
if (acc_2) {
|
|
3291
|
+
return e_2;
|
|
3292
|
+
}
|
|
3293
|
+
else {
|
|
3294
|
+
return false;
|
|
3295
|
+
}
|
|
3296
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Assays, (b_3 = other.Assays, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
3297
|
+
if (acc_3) {
|
|
3298
|
+
return e_3;
|
|
3299
|
+
}
|
|
3300
|
+
else {
|
|
3301
|
+
return false;
|
|
3302
|
+
}
|
|
3303
|
+
}, true, toList(delay(() => map_1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = this$.Studies, (b_4 = other.Studies, (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
3304
|
+
if (acc_4) {
|
|
3305
|
+
return e_4;
|
|
3306
|
+
}
|
|
3307
|
+
else {
|
|
3308
|
+
return false;
|
|
3309
|
+
}
|
|
3310
|
+
}, true, toList(delay(() => map_1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Workflows, (b_5 = other.Workflows, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
3311
|
+
if (acc_5) {
|
|
3312
|
+
return e_5;
|
|
3313
|
+
}
|
|
3314
|
+
else {
|
|
3315
|
+
return false;
|
|
3316
|
+
}
|
|
3317
|
+
}, true, toList(delay(() => map_1((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Runs, (b_6 = other.Runs, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
|
|
3318
|
+
if (acc_6) {
|
|
3319
|
+
return e_6;
|
|
3320
|
+
}
|
|
3321
|
+
else {
|
|
3322
|
+
return false;
|
|
3323
|
+
}
|
|
3324
|
+
}, true, toList(delay(() => map_1((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1))))))), (a_7 = this$.RegisteredStudyIdentifiers, (b_7 = other.RegisteredStudyIdentifiers, (length(a_7) === length(b_7)) && fold((acc_7, e_7) => {
|
|
3325
|
+
if (acc_7) {
|
|
3326
|
+
return e_7;
|
|
3327
|
+
}
|
|
3328
|
+
else {
|
|
3329
|
+
return false;
|
|
3330
|
+
}
|
|
3331
|
+
}, true, toList(delay(() => map_1((i_8) => (item(i_8, a_7) === item(i_8, b_7)), rangeDouble(0, 1, length(a_7) - 1))))))), (a_8 = this$.Comments, (b_8 = other.Comments, (length(a_8) === length(b_8)) && fold((acc_8, e_8) => {
|
|
3332
|
+
if (acc_8) {
|
|
3333
|
+
return e_8;
|
|
3334
|
+
}
|
|
3335
|
+
else {
|
|
3336
|
+
return false;
|
|
3337
|
+
}
|
|
3338
|
+
}, true, toList(delay(() => map_1((i_9) => equals(item(i_9, a_8), item(i_9, b_8)), rangeDouble(0, 1, length(a_8) - 1))))))), (a_9 = this$.Remarks, (b_9 = other.Remarks, (length(a_9) === length(b_9)) && fold((acc_9, e_9) => {
|
|
3339
|
+
if (acc_9) {
|
|
3340
|
+
return e_9;
|
|
3341
|
+
}
|
|
3342
|
+
else {
|
|
3343
|
+
return false;
|
|
3344
|
+
}
|
|
3345
|
+
}, true, toList(delay(() => map_1((i_10) => equals(item(i_10, a_9), item(i_10, b_9)), rangeDouble(0, 1, length(a_9) - 1)))))))]);
|
|
3346
|
+
}
|
|
3347
|
+
ReferenceEquals(other) {
|
|
3348
|
+
const this$ = this;
|
|
3349
|
+
return this$ === other;
|
|
3350
|
+
}
|
|
3351
|
+
toString() {
|
|
3352
|
+
const this$ = this;
|
|
3353
|
+
const arg = this$.Identifier;
|
|
3354
|
+
const arg_1 = this$.Title;
|
|
3355
|
+
const arg_2 = this$.Description;
|
|
3356
|
+
const arg_3 = this$.SubmissionDate;
|
|
3357
|
+
const arg_4 = this$.PublicReleaseDate;
|
|
3358
|
+
const arg_5 = this$.OntologySourceReferences;
|
|
3359
|
+
const arg_6 = this$.Publications;
|
|
3360
|
+
const arg_7 = this$.Contacts;
|
|
3361
|
+
const arg_8 = this$.Assays;
|
|
3362
|
+
const arg_9 = this$.Studies;
|
|
3363
|
+
const arg_10 = this$.Workflows;
|
|
3364
|
+
const arg_11 = this$.Runs;
|
|
3365
|
+
const arg_12 = this$.RegisteredStudyIdentifiers;
|
|
3366
|
+
const arg_13 = this$.Comments;
|
|
3367
|
+
const arg_14 = this$.Remarks;
|
|
3368
|
+
return toText(printf("ArcInvestigation {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n SubmissionDate = %A,\r\n PublicReleaseDate = %A,\r\n OntologySourceReferences = %A,\r\n Publications = %A,\r\n Contacts = %A,\r\n Assays = %A,\r\n Studies = %A,\r\n Workflows = %A,\r\n Runs = %A,\r\n RegisteredStudyIdentifiers = %A,\r\n Comments = %A,\r\n Remarks = %A,\r\n}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11)(arg_12)(arg_13)(arg_14);
|
|
3369
|
+
}
|
|
3370
|
+
Equals(other) {
|
|
3371
|
+
let i;
|
|
3372
|
+
const this$ = this;
|
|
3373
|
+
return (other instanceof ArcInvestigation) && ((i = other, this$.StructurallyEquals(i)));
|
|
3374
|
+
}
|
|
3375
|
+
GetHashCode() {
|
|
3376
|
+
const this$ = this;
|
|
3377
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.OntologySourceReferences), boxHashSeq(this$.Assays), boxHashSeq(this$.Studies), boxHashSeq(this$.Workflows), boxHashSeq(this$.Runs), boxHashSeq(this$.RegisteredStudyIdentifiers), boxHashSeq(this$.Comments), boxHashSeq(this$.Remarks)]) | 0;
|
|
3378
|
+
}
|
|
3379
|
+
GetLightHashCode() {
|
|
3380
|
+
const this$ = this;
|
|
3381
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.OntologySourceReferences), boxHashSeq(this$.RegisteredStudyIdentifiers), boxHashSeq(this$.Comments), boxHashSeq(this$.Remarks)]) | 0;
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
export function ArcInvestigation_$reflection() {
|
|
3385
|
+
return class_type("ARCtrl.ArcInvestigation", undefined, ArcInvestigation);
|
|
3386
|
+
}
|
|
3387
|
+
export function ArcInvestigation_$ctor_Z67823F6C(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
|
|
3388
|
+
return new ArcInvestigation(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks);
|
|
3389
|
+
}
|
|
3390
|
+
export function ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier(assayIdentifier, investigationIdentifier) {
|
|
3391
|
+
return `Error. Unable to find assay with identifier '${assayIdentifier}' in investigation ${investigationIdentifier}.`;
|
|
3392
|
+
}
|
|
3393
|
+
export function ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier(studyIdentifer, investigationIdentifier) {
|
|
3394
|
+
return `Error. Unable to find study with identifier '${studyIdentifer}' in investigation ${investigationIdentifier}.`;
|
|
3395
|
+
}
|
|
3396
|
+
export function ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier(workflowIdentifier, investigationIdentifier) {
|
|
3397
|
+
return `Error. Unable to find workflow with identifier '${workflowIdentifier}' in investigation ${investigationIdentifier}.`;
|
|
3398
|
+
}
|
|
3399
|
+
export function ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, investigationIdentifier) {
|
|
3400
|
+
return `Error. Unable to find run with identifier '${runIdentifier}' in investigation ${investigationIdentifier}.`;
|
|
3401
|
+
}
|
|
3402
|
+
/**
|
|
3403
|
+
* Must be unique in one study
|
|
3404
|
+
*/
|
|
3405
|
+
export function ArcWorkflow__get_Identifier(this$) {
|
|
3406
|
+
return this$["identifier@1151"];
|
|
3407
|
+
}
|
|
3408
|
+
/**
|
|
3409
|
+
* Must be unique in one study
|
|
3410
|
+
*/
|
|
3411
|
+
export function ArcWorkflow__set_Identifier_Z721C83C5(this$, i) {
|
|
3412
|
+
this$["identifier@1151"] = i;
|
|
3413
|
+
}
|
|
3414
|
+
export function ArcWorkflow__get_Investigation(this$) {
|
|
3415
|
+
return this$.investigation;
|
|
3416
|
+
}
|
|
3417
|
+
export function ArcWorkflow__set_Investigation_Z1E102E3E(this$, a) {
|
|
3418
|
+
this$.investigation = a;
|
|
3419
|
+
}
|
|
3420
|
+
export function ArcWorkflow__get_Title(this$) {
|
|
3421
|
+
return this$["title@1156"];
|
|
3422
|
+
}
|
|
3423
|
+
export function ArcWorkflow__set_Title_6DFDD678(this$, t) {
|
|
3424
|
+
this$["title@1156"] = t;
|
|
3425
|
+
}
|
|
3426
|
+
export function ArcWorkflow__get_Description(this$) {
|
|
3427
|
+
return this$["description@1157"];
|
|
3428
|
+
}
|
|
3429
|
+
export function ArcWorkflow__set_Description_6DFDD678(this$, d) {
|
|
3430
|
+
this$["description@1157"] = d;
|
|
3431
|
+
}
|
|
3432
|
+
export function ArcWorkflow__get_SubWorkflowIdentifiers(this$) {
|
|
3433
|
+
return this$["subWorkflowIdentifiers@1158"];
|
|
3434
|
+
}
|
|
3435
|
+
export function ArcWorkflow__set_SubWorkflowIdentifiers_70A00D82(this$, s) {
|
|
3436
|
+
this$["subWorkflowIdentifiers@1158"] = s;
|
|
3437
|
+
}
|
|
3438
|
+
export function ArcWorkflow__get_WorkflowType(this$) {
|
|
3439
|
+
return this$["workflowType@1159"];
|
|
3440
|
+
}
|
|
3441
|
+
export function ArcWorkflow__set_WorkflowType_279AAFF2(this$, w) {
|
|
3442
|
+
this$["workflowType@1159"] = w;
|
|
3443
|
+
}
|
|
3444
|
+
export function ArcWorkflow__get_URI(this$) {
|
|
3445
|
+
return this$["uri@1160"];
|
|
3446
|
+
}
|
|
3447
|
+
export function ArcWorkflow__set_URI_6DFDD678(this$, u) {
|
|
3448
|
+
this$["uri@1160"] = u;
|
|
3449
|
+
}
|
|
3450
|
+
export function ArcWorkflow__get_Version(this$) {
|
|
3451
|
+
return this$["version@1161"];
|
|
3452
|
+
}
|
|
3453
|
+
export function ArcWorkflow__set_Version_6DFDD678(this$, v) {
|
|
3454
|
+
this$["version@1161"] = v;
|
|
3455
|
+
}
|
|
3456
|
+
export function ArcWorkflow__get_Parameters(this$) {
|
|
3457
|
+
return this$["parameters@1162"];
|
|
3458
|
+
}
|
|
3459
|
+
export function ArcWorkflow__set_Parameters_10749ED2(this$, p) {
|
|
3460
|
+
this$["parameters@1162"] = p;
|
|
3461
|
+
}
|
|
3462
|
+
export function ArcWorkflow__get_Components(this$) {
|
|
3463
|
+
return this$["components@1163"];
|
|
3464
|
+
}
|
|
3465
|
+
export function ArcWorkflow__set_Components_Z3A507DDE(this$, c) {
|
|
3466
|
+
this$["components@1163"] = c;
|
|
3467
|
+
}
|
|
3468
|
+
export function ArcWorkflow__get_DataMap(this$) {
|
|
3469
|
+
return this$.dataMap;
|
|
3470
|
+
}
|
|
3471
|
+
export function ArcWorkflow__set_DataMap_51F1E59E(this$, dm) {
|
|
3472
|
+
this$.dataMap = dm;
|
|
3473
|
+
}
|
|
3474
|
+
export function ArcWorkflow__get_Contacts(this$) {
|
|
3475
|
+
return this$["contacts@1165"];
|
|
3476
|
+
}
|
|
3477
|
+
export function ArcWorkflow__set_Contacts_Z7E0D1CA3(this$, c) {
|
|
3478
|
+
this$["contacts@1165"] = c;
|
|
3479
|
+
}
|
|
3480
|
+
export function ArcWorkflow__get_Comments(this$) {
|
|
3481
|
+
return this$["comments@1166"];
|
|
3482
|
+
}
|
|
3483
|
+
export function ArcWorkflow__set_Comments_149C14BB(this$, c) {
|
|
3484
|
+
this$["comments@1166"] = c;
|
|
3485
|
+
}
|
|
3486
|
+
export function ArcWorkflow__get_StaticHash(this$) {
|
|
3487
|
+
return this$.staticHash;
|
|
3488
|
+
}
|
|
3489
|
+
export function ArcWorkflow__set_StaticHash_Z524259A4(this$, s) {
|
|
3490
|
+
this$.staticHash = (s | 0);
|
|
3491
|
+
}
|
|
3492
|
+
export function ArcWorkflow_init_Z721C83C5(identifier) {
|
|
3493
|
+
return ArcWorkflow_$ctor_Z3BB02240(identifier);
|
|
3494
|
+
}
|
|
3495
|
+
export function ArcWorkflow_create_Z3BB02240(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
3496
|
+
return ArcWorkflow_$ctor_Z3BB02240(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), unwrap(subWorkflowIdentifiers), unwrap(parameters), unwrap(components), unwrap(datamap), unwrap(contacts), unwrap(comments));
|
|
3497
|
+
}
|
|
3498
|
+
export function ArcWorkflow_make(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
3499
|
+
return ArcWorkflow_$ctor_Z3BB02240(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), subWorkflowIdentifiers, parameters, components, unwrap(datamap), contacts, comments);
|
|
3500
|
+
}
|
|
3501
|
+
export function ArcWorkflow_get_FileName() {
|
|
3502
|
+
return "isa.run.xlsx";
|
|
3503
|
+
}
|
|
3504
|
+
/**
|
|
3505
|
+
* Returns the count of registered subWorkflow *identifiers*. This is not necessarily the same as the count of registered subWorkflows, as not all identifiers correspond to an existing subWorkflow.
|
|
3506
|
+
*/
|
|
3507
|
+
export function ArcWorkflow__get_SubWorkflowIdentifiersCount(this$) {
|
|
3508
|
+
return ArcWorkflow__get_SubWorkflowIdentifiers(this$).length;
|
|
3509
|
+
}
|
|
3510
|
+
/**
|
|
3511
|
+
* Returns the count of registered subWorkflows. This is not necessarily the same as the count of registered subWorkflow *identifiers*, as not all identifiers correspond to an existing subWorkflow.
|
|
3512
|
+
*/
|
|
3513
|
+
export function ArcWorkflow__get_SubWorkflowCount(this$) {
|
|
3514
|
+
return ArcWorkflow__get_SubWorkflows(this$).length;
|
|
3515
|
+
}
|
|
3516
|
+
/**
|
|
3517
|
+
* Returns all subWorkflows registered in this workflow, that correspond to an existing subWorkflow object in the associated investigation.
|
|
3518
|
+
*/
|
|
3519
|
+
export function ArcWorkflow__get_SubWorkflows(this$) {
|
|
3520
|
+
let inv;
|
|
3521
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3522
|
+
if (investigation != null) {
|
|
3523
|
+
inv = value_5(investigation);
|
|
3524
|
+
}
|
|
3525
|
+
else {
|
|
3526
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3527
|
+
}
|
|
3528
|
+
const collection = choose((workflowIdentifier) => inv.TryGetWorkflow(workflowIdentifier), ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3529
|
+
return Array.from(collection);
|
|
3530
|
+
}
|
|
3531
|
+
/**
|
|
3532
|
+
* Returns all registered subWorkflow identifiers that do not correspond to an existing subWorkflow object in the associated investigation.
|
|
3533
|
+
*/
|
|
3534
|
+
export function ArcWorkflow__get_VacantSubWorkflowIdentifiers(this$) {
|
|
3535
|
+
let inv;
|
|
3536
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3537
|
+
if (investigation != null) {
|
|
3538
|
+
inv = value_5(investigation);
|
|
3539
|
+
}
|
|
3540
|
+
else {
|
|
3541
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3542
|
+
}
|
|
3543
|
+
const collection = filter((arg) => !inv.ContainsWorkflow(arg), ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3544
|
+
return Array.from(collection);
|
|
3545
|
+
}
|
|
3546
|
+
/**
|
|
3547
|
+
* Add subWorkflow to investigation and register it to workflow.
|
|
3548
|
+
*/
|
|
3549
|
+
export function ArcWorkflow__AddSubWorkflow_Z1C75CB0E(this$, subWorkflow) {
|
|
3550
|
+
let inv;
|
|
3551
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3552
|
+
if (investigation != null) {
|
|
3553
|
+
inv = value_5(investigation);
|
|
3554
|
+
}
|
|
3555
|
+
else {
|
|
3556
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3557
|
+
}
|
|
3558
|
+
inv.AddWorkflow(subWorkflow);
|
|
3559
|
+
}
|
|
3560
|
+
export function ArcWorkflow_addSubWorkflow_Z1C75CB0E(subWorkflow) {
|
|
3561
|
+
return (workflow) => {
|
|
3562
|
+
const newWorkflow = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3563
|
+
ArcWorkflow__AddSubWorkflow_Z1C75CB0E(newWorkflow, subWorkflow);
|
|
3564
|
+
return newWorkflow;
|
|
3565
|
+
};
|
|
3566
|
+
}
|
|
3567
|
+
export function ArcWorkflow__InitSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3568
|
+
const subWorkflow = ArcWorkflow_$ctor_Z3BB02240(subWorkflowIdentifier);
|
|
3569
|
+
ArcWorkflow__AddSubWorkflow_Z1C75CB0E(this$, subWorkflow);
|
|
3570
|
+
return subWorkflow;
|
|
3571
|
+
}
|
|
3572
|
+
export function ArcWorkflow_initSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3573
|
+
return (workflow) => {
|
|
3574
|
+
const copy = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3575
|
+
return [copy, ArcWorkflow__InitSubWorkflow_Z721C83C5(copy, subWorkflowIdentifier)];
|
|
3576
|
+
};
|
|
3577
|
+
}
|
|
3578
|
+
export function ArcWorkflow__RegisterSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3579
|
+
if (contains(subWorkflowIdentifier, ArcWorkflow__get_SubWorkflowIdentifiers(this$), {
|
|
3580
|
+
Equals: (x, y) => (x === y),
|
|
3581
|
+
GetHashCode: stringHash,
|
|
3582
|
+
})) {
|
|
3583
|
+
throw new Error(`SubWorkflow \`${subWorkflowIdentifier}\` is already registered on the workflow.`);
|
|
3584
|
+
}
|
|
3585
|
+
void (ArcWorkflow__get_SubWorkflowIdentifiers(this$).push(subWorkflowIdentifier));
|
|
3586
|
+
}
|
|
3587
|
+
export function ArcWorkflow_registerSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3588
|
+
return (workflow) => {
|
|
3589
|
+
const copy = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3590
|
+
ArcWorkflow__RegisterSubWorkflow_Z721C83C5(copy, subWorkflowIdentifier);
|
|
3591
|
+
return copy;
|
|
3592
|
+
};
|
|
3593
|
+
}
|
|
3594
|
+
export function ArcWorkflow__DeregisterSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3595
|
+
removeInPlace(subWorkflowIdentifier, ArcWorkflow__get_SubWorkflowIdentifiers(this$), {
|
|
3596
|
+
Equals: (x, y) => (x === y),
|
|
3597
|
+
GetHashCode: stringHash,
|
|
3598
|
+
});
|
|
3599
|
+
}
|
|
3600
|
+
export function ArcWorkflow_deregisterSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3601
|
+
return (workflow) => {
|
|
3602
|
+
const copy = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3603
|
+
ArcWorkflow__DeregisterSubWorkflow_Z721C83C5(copy, subWorkflowIdentifier);
|
|
3604
|
+
return copy;
|
|
3605
|
+
};
|
|
3606
|
+
}
|
|
3607
|
+
export function ArcWorkflow__GetRegisteredSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3608
|
+
if (!contains(subWorkflowIdentifier, ArcWorkflow__get_SubWorkflowIdentifiers(this$), {
|
|
3609
|
+
Equals: (x, y) => (x === y),
|
|
3610
|
+
GetHashCode: stringHash,
|
|
3611
|
+
})) {
|
|
3612
|
+
throw new Error(`SubWorkflow \`${subWorkflowIdentifier}\` is not registered on the workflow.`);
|
|
3613
|
+
}
|
|
3614
|
+
let inv;
|
|
3615
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3616
|
+
if (investigation != null) {
|
|
3617
|
+
inv = value_5(investigation);
|
|
3618
|
+
}
|
|
3619
|
+
else {
|
|
3620
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3621
|
+
}
|
|
3622
|
+
return inv.GetWorkflow(subWorkflowIdentifier);
|
|
3623
|
+
}
|
|
3624
|
+
export function ArcWorkflow_getRegisteredSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3625
|
+
return (workflow) => ArcWorkflow__GetRegisteredSubWorkflow_Z721C83C5(ArcWorkflow__Copy_6FCE9E49(workflow), subWorkflowIdentifier);
|
|
3626
|
+
}
|
|
3627
|
+
export function ArcWorkflow_getRegisteredSubWorkflows() {
|
|
3628
|
+
return (workflow) => ArcWorkflow__get_SubWorkflows(ArcWorkflow__Copy_6FCE9E49(workflow));
|
|
3629
|
+
}
|
|
3630
|
+
/**
|
|
3631
|
+
* Returns ArcSubWorkflows registered in workflow, or if no parent exists, initializies new ArcSubWorkflow from identifier.
|
|
3632
|
+
*/
|
|
3633
|
+
export function ArcWorkflow__GetRegisteredSubWorkflowsOrIdentifier(this$) {
|
|
3634
|
+
const matchValue = ArcWorkflow__get_Investigation(this$);
|
|
3635
|
+
if (matchValue == null) {
|
|
3636
|
+
return ResizeArray_map(ArcWorkflow_init_Z721C83C5, ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3637
|
+
}
|
|
3638
|
+
else {
|
|
3639
|
+
const i = value_5(matchValue);
|
|
3640
|
+
return ResizeArray_map((identifier) => {
|
|
3641
|
+
const matchValue_1 = i.TryGetWorkflow(identifier);
|
|
3642
|
+
if (matchValue_1 == null) {
|
|
3643
|
+
return ArcWorkflow_init_Z721C83C5(identifier);
|
|
3644
|
+
}
|
|
3645
|
+
else {
|
|
3646
|
+
return value_5(matchValue_1);
|
|
3647
|
+
}
|
|
3648
|
+
}, ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
/**
|
|
3652
|
+
* Returns ArcSubWorkflows registered in workflow, or if no parent exists, initializies new ArcSubWorkflow from identifier.
|
|
3653
|
+
*/
|
|
3654
|
+
export function ArcWorkflow_getRegisteredSubWorkflowsOrIdentifier() {
|
|
3655
|
+
return (workflow) => ArcWorkflow__GetRegisteredSubWorkflowsOrIdentifier(ArcWorkflow__Copy_6FCE9E49(workflow));
|
|
3656
|
+
}
|
|
3657
|
+
/**
|
|
3658
|
+
* Copies ArcStudy object without the pointer to the parent ArcInvestigation
|
|
3659
|
+
*
|
|
3660
|
+
* This copy does only contain the identifiers of the registered ArcAssays and not the actual objects.
|
|
3661
|
+
*
|
|
3662
|
+
* In order to copy the ArcAssays as well, use the Copy() method of the ArcInvestigation.
|
|
3663
|
+
*/
|
|
3664
|
+
export function ArcWorkflow__Copy_6FCE9E49(this$, copyInvestigationRef) {
|
|
3665
|
+
const copyInvestigationRef_1 = defaultArg(copyInvestigationRef, false);
|
|
3666
|
+
const nextWorkFlowType = map((w) => w.Copy(), ArcWorkflow__get_WorkflowType(this$));
|
|
3667
|
+
const nextSubWorkflowIdentifiers = Array.from(ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3668
|
+
const nextParameters = ResizeArray_map((x) => x, ArcWorkflow__get_Parameters(this$));
|
|
3669
|
+
const nextComponents = ResizeArray_map((x_1) => x_1, ArcWorkflow__get_Components(this$));
|
|
3670
|
+
const nextDataMap = map(DataMap__Copy, ArcWorkflow__get_DataMap(this$));
|
|
3671
|
+
const nextContacts = ResizeArray_map((c) => c.Copy(), ArcWorkflow__get_Contacts(this$));
|
|
3672
|
+
const nextComments = ResizeArray_map((c_1) => c_1.Copy(), ArcWorkflow__get_Comments(this$));
|
|
3673
|
+
const workflow = ArcWorkflow_make(ArcWorkflow__get_Identifier(this$), ArcWorkflow__get_Title(this$), ArcWorkflow__get_Description(this$), nextWorkFlowType, ArcWorkflow__get_URI(this$), ArcWorkflow__get_Version(this$), nextSubWorkflowIdentifiers, nextParameters, nextComponents, nextDataMap, nextContacts, nextComments);
|
|
3674
|
+
if (copyInvestigationRef_1) {
|
|
3675
|
+
ArcWorkflow__set_Investigation_Z1E102E3E(workflow, ArcWorkflow__get_Investigation(this$));
|
|
3676
|
+
}
|
|
3677
|
+
return workflow;
|
|
3678
|
+
}
|
|
3679
|
+
export function ArcWorkflow__StructurallyEquals_Z1C75CB0E(this$, other) {
|
|
3680
|
+
let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4;
|
|
3681
|
+
return forAll((x) => (x === true), [ArcWorkflow__get_Identifier(this$) === ArcWorkflow__get_Identifier(other), equals(ArcWorkflow__get_Title(this$), ArcWorkflow__get_Title(other)), equals(ArcWorkflow__get_Description(this$), ArcWorkflow__get_Description(other)), equals(ArcWorkflow__get_WorkflowType(this$), ArcWorkflow__get_WorkflowType(other)), equals(ArcWorkflow__get_URI(this$), ArcWorkflow__get_URI(other)), equals(ArcWorkflow__get_Version(this$), ArcWorkflow__get_Version(other)), (a = ArcWorkflow__get_SubWorkflowIdentifiers(this$), (b = ArcWorkflow__get_SubWorkflowIdentifiers(other), (length(a) === length(b)) && fold((acc, e) => {
|
|
3682
|
+
if (acc) {
|
|
3683
|
+
return e;
|
|
3684
|
+
}
|
|
3685
|
+
else {
|
|
3686
|
+
return false;
|
|
3687
|
+
}
|
|
3688
|
+
}, true, toList(delay(() => map_1((i_1) => (item(i_1, a) === item(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = ArcWorkflow__get_Parameters(this$), (b_1 = ArcWorkflow__get_Parameters(other), (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
3689
|
+
if (acc_1) {
|
|
3690
|
+
return e_1;
|
|
3691
|
+
}
|
|
3692
|
+
else {
|
|
3693
|
+
return false;
|
|
3694
|
+
}
|
|
3695
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = ArcWorkflow__get_Components(this$), (b_2 = ArcWorkflow__get_Components(other), (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
3696
|
+
if (acc_2) {
|
|
3697
|
+
return e_2;
|
|
3698
|
+
}
|
|
3699
|
+
else {
|
|
3700
|
+
return false;
|
|
3701
|
+
}
|
|
3702
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), equals(ArcWorkflow__get_DataMap(this$), ArcWorkflow__get_DataMap(other)), (a_3 = ArcWorkflow__get_Contacts(this$), (b_3 = ArcWorkflow__get_Contacts(other), (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
3703
|
+
if (acc_3) {
|
|
3704
|
+
return e_3;
|
|
3705
|
+
}
|
|
3706
|
+
else {
|
|
3707
|
+
return false;
|
|
3708
|
+
}
|
|
3709
|
+
}, true, toList(delay(() => map_1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = ArcWorkflow__get_Comments(this$), (b_4 = ArcWorkflow__get_Comments(other), (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
3710
|
+
if (acc_4) {
|
|
3711
|
+
return e_4;
|
|
3712
|
+
}
|
|
3713
|
+
else {
|
|
3714
|
+
return false;
|
|
3715
|
+
}
|
|
3716
|
+
}, true, toList(delay(() => map_1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1)))))))]);
|
|
3717
|
+
}
|
|
3718
|
+
/**
|
|
3719
|
+
* Use this function to check if this ArcWorkflow and the input ArcWorkflow refer to the same object.
|
|
3720
|
+
*
|
|
3721
|
+
* If true, updating one will update the other due to mutability.
|
|
3722
|
+
*/
|
|
3723
|
+
export function ArcWorkflow__ReferenceEquals_1680536E(this$, other) {
|
|
3724
|
+
return this$ === other;
|
|
3725
|
+
}
|
|
3726
|
+
export function ArcWorkflow__GetLightHashCode(this$) {
|
|
3727
|
+
return boxHashArray([ArcWorkflow__get_Identifier(this$), boxHashOption(ArcWorkflow__get_Title(this$)), boxHashOption(ArcWorkflow__get_Description(this$)), boxHashOption(ArcWorkflow__get_WorkflowType(this$)), boxHashOption(ArcWorkflow__get_URI(this$)), boxHashOption(ArcWorkflow__get_Version(this$)), boxHashSeq(ArcWorkflow__get_SubWorkflowIdentifiers(this$)), boxHashSeq(ArcWorkflow__get_Parameters(this$)), boxHashSeq(ArcWorkflow__get_Components(this$)), boxHashSeq(ArcWorkflow__get_Contacts(this$)), boxHashSeq(ArcWorkflow__get_Comments(this$))]);
|
|
3728
|
+
}
|