@nfdi4plants/arctrl 3.0.0-beta.4 → 3.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +894 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
- package/dist/ts/ts/ARC.d.ts +12 -5
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +172 -93
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +8 -1
- package/dist/ts/ts/Contract/ArcAssay.js +14 -5
- package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
- package/dist/ts/ts/Contract/ArcRun.js +19 -6
- package/dist/ts/ts/Contract/ArcStudy.js +19 -6
- package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
- package/dist/ts/ts/Contract/Contract.js +42 -1
- package/dist/ts/ts/Contract/Datamap.js +61 -17
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +22 -6
- package/dist/ts/ts/Contract/License.d.ts +5 -0
- package/dist/ts/ts/Contract/License.d.ts.map +1 -0
- package/dist/ts/ts/Contract/License.js +34 -0
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
- package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
- package/dist/ts/ts/Conversion.js +321 -48
- package/dist/ts/ts/Core/ArcTypes.js +216 -15
- package/dist/ts/ts/Core/Comment.js +11 -1
- package/dist/ts/ts/Core/CommentList.js +77 -2
- package/dist/ts/ts/Core/Conversion.js +123 -43
- package/dist/ts/ts/Core/Data.js +9 -2
- package/dist/ts/ts/Core/DataContext.js +19 -4
- package/dist/ts/ts/Core/DataFile.js +38 -1
- package/dist/ts/ts/Core/DataMap.js +111 -5
- package/dist/ts/ts/Core/Helper/Collections.js +106 -5
- package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
- package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
- package/dist/ts/ts/Core/Helper/Regex.js +134 -2
- package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
- package/dist/ts/ts/Core/IdentifierSetters.d.ts +3 -1
- package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
- package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
- package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
- package/dist/ts/ts/Core/Person.js +8 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
- package/dist/ts/ts/Core/Process/Component.js +37 -4
- package/dist/ts/ts/Core/Process/Factor.js +9 -4
- package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
- package/dist/ts/ts/Core/Process/Material.js +14 -4
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
- package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
- package/dist/ts/ts/Core/Process/Process.js +150 -7
- package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
- package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
- package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
- package/dist/ts/ts/Core/Process/Protocol.js +78 -4
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
- package/dist/ts/ts/Core/Process/Sample.js +21 -3
- package/dist/ts/ts/Core/Process/Source.js +13 -3
- package/dist/ts/ts/Core/Publication.js +8 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
- package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
- package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
- package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
- package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
- package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
- package/dist/ts/ts/Core/Template.js +12 -2
- package/dist/ts/ts/Core/Templates.js +8 -4
- package/dist/ts/ts/Core/Value.js +7 -3
- package/dist/ts/ts/CrossAsync.js +11 -1
- package/dist/ts/ts/FileSystem/Commit.js +18 -0
- package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
- package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +17 -3
- package/dist/ts/ts/Json/Assay.d.ts +1 -1
- package/dist/ts/ts/Json/Assay.js +28 -28
- package/dist/ts/ts/Json/Comment.js +10 -10
- package/dist/ts/ts/Json/Data.js +6 -6
- package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
- package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
- package/dist/ts/ts/Json/Decode.js +14 -9
- package/dist/ts/ts/Json/Encode.js +43 -11
- package/dist/ts/ts/Json/Investigation.js +40 -22
- package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
- package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
- package/dist/ts/ts/Json/Person.js +26 -26
- package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +27 -7
- package/dist/ts/ts/Json/Process/Factor.js +3 -3
- package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
- package/dist/ts/ts/Json/Process/Material.js +9 -9
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
- package/dist/ts/ts/Json/Process/Process.js +12 -12
- package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
- package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
- package/dist/ts/ts/Json/Process/Protocol.js +13 -13
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
- package/dist/ts/ts/Json/Process/Sample.js +14 -14
- package/dist/ts/ts/Json/Process/Source.js +9 -9
- package/dist/ts/ts/Json/Process/Value.js +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +1 -1
- package/dist/ts/ts/Json/Publication.js +6 -6
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
- package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
- package/dist/ts/ts/Json/Run.d.ts +11 -0
- package/dist/ts/ts/Json/Run.d.ts.map +1 -0
- package/dist/ts/ts/Json/Run.js +76 -0
- package/dist/ts/ts/Json/StringTable.js +1 -1
- package/dist/ts/ts/Json/Study.js +34 -34
- package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
- package/dist/ts/ts/Json/Table/CellTable.js +6 -6
- package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
- package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
- package/dist/ts/ts/Json/Table/IOType.js +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +7 -7
- package/dist/ts/ts/Json/Table/Templates.js +92 -6
- package/dist/ts/ts/Json/Workflow.d.ts +11 -0
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Json/Workflow.js +93 -0
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
- package/dist/ts/ts/Json.d.ts +34 -2
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +129 -2
- package/dist/ts/ts/JsonIO/Assay.js +15 -3
- package/dist/ts/ts/JsonIO/Investigation.js +15 -3
- package/dist/ts/ts/JsonIO/LDObject.js +17 -3
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
- package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
- package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Person.js +67 -0
- package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Run.js +50 -0
- package/dist/ts/ts/JsonIO/Study.js +15 -3
- package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
- package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
- package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Workflow.js +50 -0
- package/dist/ts/ts/License.d.ts +39 -0
- package/dist/ts/ts/License.d.ts.map +1 -0
- package/dist/ts/ts/License.js +123 -0
- package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
- package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
- package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
- package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
- package/dist/ts/ts/ROCrate/LDContext.js +15 -6
- package/dist/ts/ts/ROCrate/LDObject.js +53 -17
- package/dist/ts/ts/ROCrateIO.d.ts +9 -3
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +67 -14
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
- package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
- package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/Template.Web.js +5 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
- package/dist/ts/ts/Xlsx.d.ts +21 -1
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +81 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
- package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
- package/package.json +1 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { toArray, map
|
|
2
|
-
import {
|
|
1
|
+
import { toArray, map, sortBy } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
import { Dictionary_items, Dictionary_tryFind } from '../../Core/Helper/Collections.js';
|
|
3
3
|
import { comparePrimitives } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
4
|
-
import { map, item } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
5
|
-
import {
|
|
4
|
+
import { map as map$1, item } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
5
|
+
import { OntologyAnnotation_compressedEncoder, OntologyAnnotation_compressedDecoder } from '../OntologyAnnotation.js';
|
|
6
6
|
import { array, object, int } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
7
7
|
import { value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
8
8
|
import { addToDict } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
|
|
9
9
|
|
|
10
10
|
function arrayFromMap(otm) {
|
|
11
|
-
return toArray(map
|
|
11
|
+
return toArray(map((kv_1) => kv_1[0], sortBy((kv) => kv[1], Dictionary_items(otm), {
|
|
12
12
|
Compare: comparePrimitives
|
|
13
13
|
})));
|
|
14
14
|
}
|
|
15
15
|
function encoder(stringTable, ot) {
|
|
16
|
-
const values = map((oa) => OntologyAnnotation_compressedEncoder(stringTable, oa), ot);
|
|
16
|
+
const values = map$1((oa) => OntologyAnnotation_compressedEncoder(stringTable, oa), ot);
|
|
17
17
|
return {
|
|
18
18
|
Encode(helpers) {
|
|
19
|
-
const arg = map((v) => v.Encode(helpers), values);
|
|
19
|
+
const arg = map$1((v) => v.Encode(helpers), values);
|
|
20
20
|
return helpers.encodeArray(arg);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
@@ -1,15 +1,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { Organisation, Template } from '../../Core/Template.js';
|
|
3
|
+
import { andThen, succeed, string, object, guid, resizeArray, datetimeUtc, array } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
4
|
+
import { encoder, decoder, encoderCompressed, decoderCompressed } from './ArcTable.js';
|
|
5
|
+
import { seq } from '../../fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js';
|
|
6
|
+
import { map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
|
+
import { encoder as encoder$1, decoder as decoder$1 } from '../Person.js';
|
|
8
|
+
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder } from '../OntologyAnnotation.js';
|
|
9
|
+
import { dateTime } from '../Encode.js';
|
|
4
10
|
import { unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
5
|
-
import { decoder as decoder$1 } from '../Person.js';
|
|
6
|
-
import { OntologyAnnotation_decoder } from '../OntologyAnnotation.js';
|
|
7
11
|
import { Decode_datetime } from '../Decode.js';
|
|
12
|
+
import { toString as toString$1 } from '../../../node_modules/@fable-org/fable-library-js/Date.js';
|
|
13
|
+
import { map as map$1 } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
8
14
|
|
|
15
|
+
const Template_Organisation_encoder = (arg) => {
|
|
16
|
+
const value = toString(arg);
|
|
17
|
+
return {
|
|
18
|
+
Encode(helpers) {
|
|
19
|
+
return helpers.encodeString(value);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
};
|
|
9
23
|
const Template_Organisation_decoder = andThen((textValue) => succeed(Organisation.ofString(textValue)), string);
|
|
24
|
+
function Template_encoder(template) {
|
|
25
|
+
let value_1, copyOfStruct, value_3, value_4, value_5;
|
|
26
|
+
const values_3 = [["id", (value_1 = (copyOfStruct = template.Id, copyOfStruct), {
|
|
27
|
+
Encode(helpers) {
|
|
28
|
+
return helpers.encodeString(value_1);
|
|
29
|
+
}
|
|
30
|
+
})], ["table", encoder(template.Table)], ["name", (value_3 = template.Name, {
|
|
31
|
+
Encode(helpers_1) {
|
|
32
|
+
return helpers_1.encodeString(value_3);
|
|
33
|
+
}
|
|
34
|
+
})], ["description", (value_4 = template.Description, {
|
|
35
|
+
Encode(helpers_2) {
|
|
36
|
+
return helpers_2.encodeString(value_4);
|
|
37
|
+
}
|
|
38
|
+
})], ["organisation", Template_Organisation_encoder(template.Organisation)], ["version", (value_5 = template.Version, {
|
|
39
|
+
Encode(helpers_3) {
|
|
40
|
+
return helpers_3.encodeString(value_5);
|
|
41
|
+
}
|
|
42
|
+
})], ["authors", seq(map(encoder$1, template.Authors))], ["endpoint_repositories", seq(map(OntologyAnnotation_encoder, template.EndpointRepositories))], ["tags", seq(map(OntologyAnnotation_encoder, template.Tags))], ["last_updated", dateTime(template.LastUpdated)]];
|
|
43
|
+
return {
|
|
44
|
+
Encode(helpers_4) {
|
|
45
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_4)], values_3);
|
|
46
|
+
return helpers_4.encodeObject(arg);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
10
50
|
const Template_decoder = object((get$) => {
|
|
11
51
|
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, objectArg_7, arg_17, objectArg_8, objectArg_9;
|
|
12
52
|
return Template.create((objectArg = get$.Required, objectArg.Field("id", guid)), (objectArg_1 = get$.Required, objectArg_1.Field("table", decoder)), (objectArg_2 = get$.Required, objectArg_2.Field("name", string)), (objectArg_3 = get$.Required, objectArg_3.Field("description", string)), (objectArg_4 = get$.Required, objectArg_4.Field("organisation", Template_Organisation_decoder)), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), unwrap((arg_13 = resizeArray(decoder$1), objectArg_6 = get$.Optional, objectArg_6.Field("authors", arg_13))), unwrap((arg_15 = resizeArray(OntologyAnnotation_decoder), objectArg_7 = get$.Optional, objectArg_7.Field("endpoint_repositories", arg_15))), unwrap((arg_17 = resizeArray(OntologyAnnotation_decoder), objectArg_8 = get$.Optional, objectArg_8.Field("tags", arg_17))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", Decode_datetime)));
|
|
13
53
|
});
|
|
54
|
+
function Template_encoderCompressed(stringTable, oaTable, cellTable, template) {
|
|
55
|
+
let value_1, copyOfStruct, value_3, value_4, value_5, value_1_1;
|
|
56
|
+
const values_3 = [["id", (value_1 = (copyOfStruct = template.Id, copyOfStruct), {
|
|
57
|
+
Encode(helpers) {
|
|
58
|
+
return helpers.encodeString(value_1);
|
|
59
|
+
}
|
|
60
|
+
})], ["table", encoderCompressed(stringTable, oaTable, cellTable, template.Table)], ["name", (value_3 = template.Name, {
|
|
61
|
+
Encode(helpers_1) {
|
|
62
|
+
return helpers_1.encodeString(value_3);
|
|
63
|
+
}
|
|
64
|
+
})], ["description", (value_4 = template.Description, {
|
|
65
|
+
Encode(helpers_2) {
|
|
66
|
+
return helpers_2.encodeString(value_4);
|
|
67
|
+
}
|
|
68
|
+
})], ["organisation", Template_Organisation_encoder(template.Organisation)], ["version", (value_5 = template.Version, {
|
|
69
|
+
Encode(helpers_3) {
|
|
70
|
+
return helpers_3.encodeString(value_5);
|
|
71
|
+
}
|
|
72
|
+
})], ["authors", seq(map(encoder$1, template.Authors))], ["endpoint_repositories", seq(map(OntologyAnnotation_encoder, template.EndpointRepositories))], ["tags", seq(map(OntologyAnnotation_encoder, template.Tags))], ["last_updated", (value_1_1 = toString$1(template.LastUpdated, "O", {}), {
|
|
73
|
+
Encode(helpers_4) {
|
|
74
|
+
return helpers_4.encodeString(value_1_1);
|
|
75
|
+
}
|
|
76
|
+
})]];
|
|
77
|
+
return {
|
|
78
|
+
Encode(helpers_5) {
|
|
79
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_5)], values_3);
|
|
80
|
+
return helpers_5.encodeObject(arg);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function Template_decoderCompressed(stringTable, oaTable, cellTable) {
|
|
85
|
+
return object((get$) => {
|
|
86
|
+
let objectArg, arg_3, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, objectArg_7, arg_17, objectArg_8, objectArg_9;
|
|
87
|
+
return Template.create((objectArg = get$.Required, objectArg.Field("id", guid)), (arg_3 = decoderCompressed(stringTable, oaTable, cellTable), objectArg_1 = get$.Required, objectArg_1.Field("table", arg_3)), (objectArg_2 = get$.Required, objectArg_2.Field("name", string)), (objectArg_3 = get$.Required, objectArg_3.Field("description", string)), (objectArg_4 = get$.Required, objectArg_4.Field("organisation", Template_Organisation_decoder)), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), unwrap((arg_13 = resizeArray(decoder$1), objectArg_6 = get$.Optional, objectArg_6.Field("authors", arg_13))), unwrap((arg_15 = resizeArray(OntologyAnnotation_decoder), objectArg_7 = get$.Optional, objectArg_7.Field("endpoint_repositories", arg_15))), unwrap((arg_17 = resizeArray(OntologyAnnotation_decoder), objectArg_8 = get$.Optional, objectArg_8.Field("tags", arg_17))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function Templates_encoder(templates) {
|
|
91
|
+
const values = map$1(Template_encoder, templates);
|
|
92
|
+
return {
|
|
93
|
+
Encode(helpers) {
|
|
94
|
+
const arg = map$1((v) => v.Encode(helpers), values);
|
|
95
|
+
return helpers.encodeArray(arg);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
const Templates_decoder = array(Template_decoder);
|
|
14
100
|
|
|
15
|
-
export { Template_Organisation_decoder, Template_decoder };
|
|
101
|
+
export { Template_Organisation_decoder, Template_Organisation_encoder, Template_decoder, Template_decoderCompressed, Template_encoder, Template_encoderCompressed, Templates_decoder, Templates_encoder };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Decoder$1, IEncodable } from '../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
2
|
+
import { ArcWorkflow } from '../Core/ArcTypes.js';
|
|
3
|
+
import { OntologyAnnotation } from '../Core/OntologyAnnotation.js';
|
|
4
|
+
import { IMap } from '@fable-org/fable-library-js/Util.js';
|
|
5
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
6
|
+
import { CompositeCell_$union } from '../Core/Table/CompositeCell.js';
|
|
7
|
+
export declare function encoder(workflow: ArcWorkflow): IEncodable;
|
|
8
|
+
export declare const decoder: Decoder$1<ArcWorkflow>;
|
|
9
|
+
export declare function encoderCompressed(stringTable: IMap<string, int32>, oaTable: IMap<OntologyAnnotation, int32>, cellTable: IMap<CompositeCell_$union, int32>, workflow: ArcWorkflow): IEncodable;
|
|
10
|
+
export declare function decoderCompressed(stringTable: string[], oaTable: OntologyAnnotation[], cellTable: CompositeCell_$union[]): Decoder$1<ArcWorkflow>;
|
|
11
|
+
//# sourceMappingURL=Workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflow.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Workflow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAC9G,OAAO,EAAgC,WAAW,EAAuV,MAAM,qBAAqB,CAAC;AAGra,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAanE,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEtE,wBAAgB,OAAO,CAAC,QAAQ,EAAE,WAAW,GAAG,UAAU,CAiCzD;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAGzC,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,WAAW,GAAG,UAAU,CAiC7L;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,SAAS,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAC,WAAW,CAAC,CAKjJ"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-js/List.js';
|
|
2
|
+
import { map, unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
|
+
import { ArcWorkflow__get_Identifier, ArcWorkflow__get_WorkflowType, ArcWorkflow__get_Title, ArcWorkflow__get_URI, ArcWorkflow__get_Description, ArcWorkflow__get_Version, ArcWorkflow__get_DataMap, ArcWorkflow__get_SubWorkflowIdentifiers, ArcWorkflow__get_Parameters, ArcWorkflow__get_Components, ArcWorkflow__get_Contacts, ArcWorkflow__get_Comments, ArcWorkflow_create_Z3BB02240 } from '../Core/ArcTypes.js';
|
|
4
|
+
import { tryInclude, tryIncludeSeq } from './Encode.js';
|
|
5
|
+
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder } from './OntologyAnnotation.js';
|
|
6
|
+
import { encoder as encoder$1, decoder as decoder$3, encoderCompressed as encoderCompressed$1, decoderCompressed as decoderCompressed$1 } from './DataMap/DataMap.js';
|
|
7
|
+
import { encoder as encoder$2, decoder as decoder$1 } from './Process/ProtocolParameter.js';
|
|
8
|
+
import { encoder as encoder$3, decoder as decoder$2 } from './Process/Component.js';
|
|
9
|
+
import { encoder as encoder$4, decoder as decoder$4 } from './Person.js';
|
|
10
|
+
import { encoder as encoder$5, decoder as decoder$5 } from './Comment.js';
|
|
11
|
+
import { map as map$1 } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
12
|
+
import { object, string, resizeArray } from '../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
13
|
+
|
|
14
|
+
function encoder(workflow) {
|
|
15
|
+
let value;
|
|
16
|
+
const values_1 = choose((tupledArg) => map((v_1) => [tupledArg[0], v_1], tupledArg[1]), ofArray([["Identifier", (value = ArcWorkflow__get_Identifier(workflow), {
|
|
17
|
+
Encode(helpers) {
|
|
18
|
+
return helpers.encodeString(value);
|
|
19
|
+
}
|
|
20
|
+
})], tryInclude("WorkflowType", OntologyAnnotation_encoder, ArcWorkflow__get_WorkflowType(workflow)), tryInclude("Title", (value_1) => ({
|
|
21
|
+
Encode(helpers_1) {
|
|
22
|
+
return helpers_1.encodeString(value_1);
|
|
23
|
+
}
|
|
24
|
+
}), ArcWorkflow__get_Title(workflow)), tryInclude("URI", (value_3) => ({
|
|
25
|
+
Encode(helpers_2) {
|
|
26
|
+
return helpers_2.encodeString(value_3);
|
|
27
|
+
}
|
|
28
|
+
}), ArcWorkflow__get_URI(workflow)), tryInclude("Description", (value_5) => ({
|
|
29
|
+
Encode(helpers_3) {
|
|
30
|
+
return helpers_3.encodeString(value_5);
|
|
31
|
+
}
|
|
32
|
+
}), ArcWorkflow__get_Description(workflow)), tryInclude("Version", (value_7) => ({
|
|
33
|
+
Encode(helpers_4) {
|
|
34
|
+
return helpers_4.encodeString(value_7);
|
|
35
|
+
}
|
|
36
|
+
}), ArcWorkflow__get_Version(workflow)), tryInclude("DataMap", encoder$1, ArcWorkflow__get_DataMap(workflow)), tryIncludeSeq("SubWorkflowIdentifiers", (value_9) => ({
|
|
37
|
+
Encode(helpers_5) {
|
|
38
|
+
return helpers_5.encodeString(value_9);
|
|
39
|
+
}
|
|
40
|
+
}), ArcWorkflow__get_SubWorkflowIdentifiers(workflow)), tryIncludeSeq("Parameters", encoder$2, ArcWorkflow__get_Parameters(workflow)), tryIncludeSeq("Components", encoder$3, ArcWorkflow__get_Components(workflow)), tryIncludeSeq("Contacts", encoder$4, ArcWorkflow__get_Contacts(workflow)), tryIncludeSeq("Comments", encoder$5, ArcWorkflow__get_Comments(workflow))]));
|
|
41
|
+
return {
|
|
42
|
+
Encode(helpers_6) {
|
|
43
|
+
const arg = map$1((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_6)], values_1);
|
|
44
|
+
return helpers_6.encodeObject(arg);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
const decoder = object((get$) => {
|
|
49
|
+
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, objectArg_7, arg_17, objectArg_8, objectArg_9, arg_21, objectArg_10, arg_23, objectArg_11;
|
|
50
|
+
return ArcWorkflow_create_Z3BB02240((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("WorkflowType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("URI", string))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("Version", string))), unwrap((arg_13 = resizeArray(string), objectArg_6 = get$.Optional, objectArg_6.Field("SubWorkflowIdentifiers", arg_13))), unwrap((arg_15 = resizeArray(decoder$1), objectArg_7 = get$.Optional, objectArg_7.Field("Parameters", arg_15))), unwrap((arg_17 = resizeArray(decoder$2), objectArg_8 = get$.Optional, objectArg_8.Field("Components", arg_17))), unwrap((objectArg_9 = get$.Optional, objectArg_9.Field("DataMap", decoder$3))), unwrap((arg_21 = resizeArray(decoder$4), objectArg_10 = get$.Optional, objectArg_10.Field("Contacts", arg_21))), unwrap((arg_23 = resizeArray(decoder$5), objectArg_11 = get$.Optional, objectArg_11.Field("Comments", arg_23))));
|
|
51
|
+
});
|
|
52
|
+
function encoderCompressed(stringTable, oaTable, cellTable, workflow) {
|
|
53
|
+
let value;
|
|
54
|
+
const values_1 = choose((tupledArg) => map((v_1) => [tupledArg[0], v_1], tupledArg[1]), ofArray([["Identifier", (value = ArcWorkflow__get_Identifier(workflow), {
|
|
55
|
+
Encode(helpers) {
|
|
56
|
+
return helpers.encodeString(value);
|
|
57
|
+
}
|
|
58
|
+
})], tryInclude("WorkflowType", OntologyAnnotation_encoder, ArcWorkflow__get_WorkflowType(workflow)), tryInclude("Title", (value_1) => ({
|
|
59
|
+
Encode(helpers_1) {
|
|
60
|
+
return helpers_1.encodeString(value_1);
|
|
61
|
+
}
|
|
62
|
+
}), ArcWorkflow__get_Title(workflow)), tryInclude("URI", (value_3) => ({
|
|
63
|
+
Encode(helpers_2) {
|
|
64
|
+
return helpers_2.encodeString(value_3);
|
|
65
|
+
}
|
|
66
|
+
}), ArcWorkflow__get_URI(workflow)), tryInclude("Description", (value_5) => ({
|
|
67
|
+
Encode(helpers_3) {
|
|
68
|
+
return helpers_3.encodeString(value_5);
|
|
69
|
+
}
|
|
70
|
+
}), ArcWorkflow__get_Description(workflow)), tryInclude("Version", (value_7) => ({
|
|
71
|
+
Encode(helpers_4) {
|
|
72
|
+
return helpers_4.encodeString(value_7);
|
|
73
|
+
}
|
|
74
|
+
}), ArcWorkflow__get_Version(workflow)), tryInclude("DataMap", (dm) => encoderCompressed$1(stringTable, oaTable, cellTable, dm), ArcWorkflow__get_DataMap(workflow)), tryIncludeSeq("SubWorkflowIdentifiers", (value_9) => ({
|
|
75
|
+
Encode(helpers_5) {
|
|
76
|
+
return helpers_5.encodeString(value_9);
|
|
77
|
+
}
|
|
78
|
+
}), ArcWorkflow__get_SubWorkflowIdentifiers(workflow)), tryIncludeSeq("Parameters", encoder$2, ArcWorkflow__get_Parameters(workflow)), tryIncludeSeq("Components", encoder$3, ArcWorkflow__get_Components(workflow)), tryIncludeSeq("Contacts", encoder$4, ArcWorkflow__get_Contacts(workflow)), tryIncludeSeq("Comments", encoder$5, ArcWorkflow__get_Comments(workflow))]));
|
|
79
|
+
return {
|
|
80
|
+
Encode(helpers_6) {
|
|
81
|
+
const arg = map$1((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_6)], values_1);
|
|
82
|
+
return helpers_6.encodeObject(arg);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function decoderCompressed(stringTable, oaTable, cellTable) {
|
|
87
|
+
return object((get$) => {
|
|
88
|
+
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, arg_13, objectArg_6, arg_15, objectArg_7, arg_17, objectArg_8, arg_19, objectArg_9, arg_21, objectArg_10, arg_23, objectArg_11;
|
|
89
|
+
return ArcWorkflow_create_Z3BB02240((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("WorkflowType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("URI", string))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("Version", string))), unwrap((arg_13 = resizeArray(string), objectArg_6 = get$.Optional, objectArg_6.Field("SubWorkflowIdentifiers", arg_13))), unwrap((arg_15 = resizeArray(decoder$1), objectArg_7 = get$.Optional, objectArg_7.Field("Parameters", arg_15))), unwrap((arg_17 = resizeArray(decoder$2), objectArg_8 = get$.Optional, objectArg_8.Field("Components", arg_17))), unwrap((arg_19 = decoderCompressed$1(stringTable, oaTable, cellTable), objectArg_9 = get$.Optional, objectArg_9.Field("DataMap", arg_19))), unwrap((arg_21 = resizeArray(decoder$4), objectArg_10 = get$.Optional, objectArg_10.Field("Contacts", arg_21))), unwrap((arg_23 = resizeArray(decoder$5), objectArg_11 = get$.Optional, objectArg_11.Field("Comments", arg_23))));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export { decoder, decoderCompressed, encoder, encoderCompressed };
|
|
@@ -1,5 +1,31 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Assay, ArcAssay, measurementType, technologyType, technologyPlatform, dataFiles, materials, otherMaterials, samples, characteristicCategories, processSequence, unitCategories, comments, filename) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Assay = Assay;
|
|
11
|
+
this.ArcAssay = ArcAssay;
|
|
12
|
+
this.measurementType = measurementType;
|
|
13
|
+
this.technologyType = technologyType;
|
|
14
|
+
this.technologyPlatform = technologyPlatform;
|
|
15
|
+
this.dataFiles = dataFiles;
|
|
16
|
+
this.materials = materials;
|
|
17
|
+
this.otherMaterials = otherMaterials;
|
|
18
|
+
this.samples = samples;
|
|
19
|
+
this.characteristicCategories = characteristicCategories;
|
|
20
|
+
this.processSequence = processSequence;
|
|
21
|
+
this.unitCategories = unitCategories;
|
|
22
|
+
this.comments = comments;
|
|
23
|
+
this.filename = filename;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function IContext_$reflection() {
|
|
27
|
+
return record_type("ARCtrl.Json.ROCrateContext.Assay.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Assay", string_type], ["ArcAssay", string_type], ["measurementType", string_type], ["technologyType", string_type], ["technologyPlatform", string_type], ["dataFiles", string_type], ["materials", string_type], ["otherMaterials", string_type], ["samples", string_type], ["characteristicCategories", string_type], ["processSequence", string_type], ["unitCategories", string_type], ["comments", string_type], ["filename", string_type]]);
|
|
28
|
+
}
|
|
3
29
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
30
|
const values = [["sdo", {
|
|
5
31
|
Encode(helpers) {
|
|
@@ -58,4 +84,4 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
58
84
|
};
|
|
59
85
|
})();
|
|
60
86
|
|
|
61
|
-
export { context_jsonvalue };
|
|
87
|
+
export { IContext, IContext_$reflection, context_jsonvalue };
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Comment$, name, value) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Comment = Comment$;
|
|
11
|
+
this.name = name;
|
|
12
|
+
this.value = value;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function IContext_$reflection() {
|
|
16
|
+
return record_type("ARCtrl.Json.ROCrateContext.Comment.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Comment", string_type], ["name", string_type], ["value", string_type]]);
|
|
17
|
+
}
|
|
3
18
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
19
|
const values = [["sdo", {
|
|
5
20
|
Encode(helpers) {
|
|
@@ -25,5 +40,6 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
25
40
|
}
|
|
26
41
|
};
|
|
27
42
|
})();
|
|
43
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n \r\n "Comment": "sdo:Comment",\r\n "name": "sdo:name",\r\n "value": "sdo:text"\r\n }\r\n}\r\n ';
|
|
28
44
|
|
|
29
|
-
export { context_jsonvalue };
|
|
45
|
+
export { IContext, IContext_$reflection, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Data, ArcData, type, name, comments) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Data = Data;
|
|
11
|
+
this.ArcData = ArcData;
|
|
12
|
+
this.type = type;
|
|
13
|
+
this.name = name;
|
|
14
|
+
this.comments = comments;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function IContext_$reflection() {
|
|
18
|
+
return record_type("ARCtrl.Json.ROCrateContext.Data.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Data", string_type], ["ArcData", string_type], ["type", string_type], ["name", string_type], ["comments", string_type]]);
|
|
19
|
+
}
|
|
3
20
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
21
|
const values = [["sdo", {
|
|
5
22
|
Encode(helpers) {
|
|
@@ -37,5 +54,6 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
37
54
|
}
|
|
38
55
|
};
|
|
39
56
|
})();
|
|
57
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n "arc": "http://purl.org/nfdi4plants/ontology/",\r\n\r\n "Data": "sdo:MediaObject",\r\n "ArcData": "arc:ARC#ARC_00000076",\r\n\r\n "type": "arc:ARC#ARC_00000107",\r\n\r\n "name": "sdo:name",\r\n "comments": "sdo:disambiguatingDescription"\r\n }\r\n}\r\n ';
|
|
40
58
|
|
|
41
|
-
export { context_jsonvalue };
|
|
59
|
+
export { IContext, IContext_$reflection, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,30 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Investigation, identifier, title, description, submissionDate, publicReleaseDate, publications, people, studies, ontologySourceReferences, comments, publications$003F, filename) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Investigation = Investigation;
|
|
11
|
+
this.identifier = identifier;
|
|
12
|
+
this.title = title;
|
|
13
|
+
this.description = description;
|
|
14
|
+
this.submissionDate = submissionDate;
|
|
15
|
+
this.publicReleaseDate = publicReleaseDate;
|
|
16
|
+
this.publications = publications;
|
|
17
|
+
this.people = people;
|
|
18
|
+
this.studies = studies;
|
|
19
|
+
this.ontologySourceReferences = ontologySourceReferences;
|
|
20
|
+
this.comments = comments;
|
|
21
|
+
this["publications?"] = publications$003F;
|
|
22
|
+
this.filename = filename;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function IContext_$reflection() {
|
|
26
|
+
return record_type("ARCtrl.Json.ROCrateContext.Investigation.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Investigation", string_type], ["identifier", string_type], ["title", string_type], ["description", string_type], ["submissionDate", string_type], ["publicReleaseDate", string_type], ["publications", string_type], ["people", string_type], ["studies", string_type], ["ontologySourceReferences", string_type], ["comments", string_type], ["publications?", string_type], ["filename", string_type]]);
|
|
27
|
+
}
|
|
3
28
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
29
|
const values = [["sdo", {
|
|
5
30
|
Encode(helpers) {
|
|
@@ -65,5 +90,6 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
65
90
|
}
|
|
66
91
|
};
|
|
67
92
|
})();
|
|
93
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n "arc": "http://purl.org/nfdi4plants/ontology/",\r\n\r\n "Investigation": "sdo:Dataset",\r\n\r\n "identifier" : "sdo:identifier",\r\n "title": "sdo:name",\r\n "description": "sdo:description",\r\n "submissionDate": "sdo:dateCreated",\r\n "publicReleaseDate": "sdo:datePublished",\r\n "publications": "sdo:citation",\r\n "people": "sdo:creator",\r\n "studies": "sdo:hasPart",\r\n "ontologySourceReferences": "sdo:mentions",\r\n "comments": "sdo:disambiguatingDescription",\r\n\r\n "publications?": "sdo:SubjectOf?",\r\n "filename": "sdo:alternateName"\r\n }\r\n}\r\n ';
|
|
68
94
|
|
|
69
|
-
export { context_jsonvalue };
|
|
95
|
+
export { IContext, IContext_$reflection, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,23 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Material, ArcMaterial, type, name, characteristics, derivesFrom) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Material = Material;
|
|
11
|
+
this.ArcMaterial = ArcMaterial;
|
|
12
|
+
this.type = type;
|
|
13
|
+
this.name = name;
|
|
14
|
+
this.characteristics = characteristics;
|
|
15
|
+
this.derivesFrom = derivesFrom;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function IContext_$reflection() {
|
|
19
|
+
return record_type("ARCtrl.Json.ROCrateContext.Material.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Material", string_type], ["ArcMaterial", string_type], ["type", string_type], ["name", string_type], ["characteristics", string_type], ["derivesFrom", string_type]]);
|
|
20
|
+
}
|
|
3
21
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
22
|
const values = [["sdo", {
|
|
5
23
|
Encode(helpers) {
|
|
@@ -33,5 +51,6 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
33
51
|
}
|
|
34
52
|
};
|
|
35
53
|
})();
|
|
54
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n "arc": "http://purl.org/nfdi4plants/ontology/",\r\n\r\n "ArcMaterial": "arc:ARC#ARC_00000108",\r\n "Material": "sdo:Thing",\r\n\r\n "type": "arc:ARC#ARC_00000085",\r\n "name": "arc:ARC#ARC_00000019",\r\n "characteristics": "arc:ARC#ARC_00000080",\r\n "derivesFrom": "arc:ARC#ARC_00000082"\r\n }\r\n}\r\n ';
|
|
36
55
|
|
|
37
|
-
export { context_jsonvalue };
|
|
56
|
+
export { IContext, IContext_$reflection, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, OntologyAnnotation, annotationValue, termSource, termAccession, comments) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.OntologyAnnotation = OntologyAnnotation;
|
|
11
|
+
this.annotationValue = annotationValue;
|
|
12
|
+
this.termSource = termSource;
|
|
13
|
+
this.termAccession = termAccession;
|
|
14
|
+
this.comments = comments;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function IContext_$reflection() {
|
|
18
|
+
return record_type("ARCtrl.Json.ROCrateContext.OntologyAnnotation.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["OntologyAnnotation", string_type], ["annotationValue", string_type], ["termSource", string_type], ["termAccession", string_type], ["comments", string_type]]);
|
|
19
|
+
}
|
|
3
20
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
21
|
const values = [["sdo", {
|
|
5
22
|
Encode(helpers) {
|
|
@@ -34,4 +51,4 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
34
51
|
};
|
|
35
52
|
})();
|
|
36
53
|
|
|
37
|
-
export { context_jsonvalue };
|
|
54
|
+
export { IContext, IContext_$reflection, context_jsonvalue };
|
|
@@ -1,5 +1,23 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, OntologySourceReference, description, name, file, version, comments) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.OntologySourceReference = OntologySourceReference;
|
|
11
|
+
this.description = description;
|
|
12
|
+
this.name = name;
|
|
13
|
+
this.file = file;
|
|
14
|
+
this.version = version;
|
|
15
|
+
this.comments = comments;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function IContext_$reflection() {
|
|
19
|
+
return record_type("ARCtrl.Json.ROCrateContext.OntologySourceReference.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["OntologySourceReference", string_type], ["description", string_type], ["name", string_type], ["file", string_type], ["version", string_type], ["comments", string_type]]);
|
|
20
|
+
}
|
|
3
21
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
22
|
const values = [["sdo", {
|
|
5
23
|
Encode(helpers) {
|
|
@@ -37,5 +55,6 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
37
55
|
}
|
|
38
56
|
};
|
|
39
57
|
})();
|
|
58
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n "arc": "http://purl.org/nfdi4plants/ontology/",\r\n\r\n "OntologySourceReference": "sdo:DefinedTermSet",\r\n \r\n "description": "sdo:description",\r\n "name": "sdo:name",\r\n "file": "sdo:url",\r\n "version": "sdo:version",\r\n "comments": "sdo:disambiguatingDescription"\r\n }\r\n}\r\n ';
|
|
40
59
|
|
|
41
|
-
export { context_jsonvalue };
|
|
60
|
+
export { IContext, IContext_$reflection, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,19 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Organization, name) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Organization = Organization;
|
|
11
|
+
this.name = name;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
function IContext_$reflection() {
|
|
15
|
+
return record_type("ARCtrl.Json.ROCrateContext.Organization.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Organization", string_type], ["name", string_type]]);
|
|
16
|
+
}
|
|
3
17
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
18
|
const values = [["sdo", {
|
|
5
19
|
Encode(helpers) {
|
|
@@ -21,5 +35,6 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
21
35
|
}
|
|
22
36
|
};
|
|
23
37
|
})();
|
|
38
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n "arc": "http://purl.org/nfdi4plants/ontology/",\r\n\r\n "Organization": "sdo:Organization",\r\n \r\n "name": "sdo:name"\r\n }\r\n}\r\n ';
|
|
24
39
|
|
|
25
|
-
export { context_jsonvalue };
|
|
40
|
+
export { IContext, IContext_$reflection, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Person, firstName, lastName, midInitials, email, address, phone, fax, comments, roles, affiliation) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Person = Person;
|
|
11
|
+
this.firstName = firstName;
|
|
12
|
+
this.lastName = lastName;
|
|
13
|
+
this.midInitials = midInitials;
|
|
14
|
+
this.email = email;
|
|
15
|
+
this.address = address;
|
|
16
|
+
this.phone = phone;
|
|
17
|
+
this.fax = fax;
|
|
18
|
+
this.comments = comments;
|
|
19
|
+
this.roles = roles;
|
|
20
|
+
this.affiliation = affiliation;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function IContext_$reflection() {
|
|
24
|
+
return record_type("ARCtrl.Json.ROCrateContext.Person.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Person", string_type], ["firstName", string_type], ["lastName", string_type], ["midInitials", string_type], ["email", string_type], ["address", string_type], ["phone", string_type], ["fax", string_type], ["comments", string_type], ["roles", string_type], ["affiliation", string_type]]);
|
|
25
|
+
}
|
|
3
26
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
27
|
const values = [["sdo", {
|
|
5
28
|
Encode(helpers) {
|
|
@@ -82,5 +105,6 @@ const contextMinimal_jsonValue = /* @__PURE__ */ (() => {
|
|
|
82
105
|
}
|
|
83
106
|
};
|
|
84
107
|
})();
|
|
108
|
+
const context_str = '\r\n{\r\n "@context": {\r\n "sdo": "http://schema.org/",\r\n "arc": "http://purl.org/nfdi4plants/ontology/",\r\n\r\n "Person": "sdo:Person",\r\n "firstName": "sdo:givenName",\r\n "lastName": "sdo:familyName",\r\n "midInitials": "sdo:additionalName",\r\n "email": "sdo:email",\r\n "address": "sdo:address",\r\n "phone": "sdo:telephone",\r\n "fax": "sdo:faxNumber",\r\n "comments": "sdo:disambiguatingDescription",\r\n "roles": "sdo:jobTitle",\r\n "affiliation": "sdo:affiliation"\r\n }\r\n}\r\n ';
|
|
85
109
|
|
|
86
|
-
export { contextMinimal_jsonValue, context_jsonvalue };
|
|
110
|
+
export { IContext, IContext_$reflection, contextMinimal_jsonValue, context_jsonvalue, context_str };
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Process, ArcProcess, name, executesProtocol, performer, date, previousProcess, nextProcess, input, output, comments) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Process = Process;
|
|
11
|
+
this.ArcProcess = ArcProcess;
|
|
12
|
+
this.name = name;
|
|
13
|
+
this.executesProtocol = executesProtocol;
|
|
14
|
+
this.performer = performer;
|
|
15
|
+
this.date = date;
|
|
16
|
+
this.previousProcess = previousProcess;
|
|
17
|
+
this.nextProcess = nextProcess;
|
|
18
|
+
this.input = input;
|
|
19
|
+
this.output = output;
|
|
20
|
+
this.comments = comments;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function IContext_$reflection() {
|
|
24
|
+
return record_type("ARCtrl.Json.ROCrateContext.Process.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Process", string_type], ["ArcProcess", string_type], ["name", string_type], ["executesProtocol", string_type], ["performer", string_type], ["date", string_type], ["previousProcess", string_type], ["nextProcess", string_type], ["input", string_type], ["output", string_type], ["comments", string_type]]);
|
|
25
|
+
}
|
|
3
26
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
27
|
const values = [["sdo", {
|
|
5
28
|
Encode(helpers) {
|
|
@@ -54,4 +77,4 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
54
77
|
};
|
|
55
78
|
})();
|
|
56
79
|
|
|
57
|
-
export { context_jsonvalue };
|
|
80
|
+
export { IContext, IContext_$reflection, context_jsonvalue };
|
|
@@ -1,5 +1,27 @@
|
|
|
1
|
+
import { Record } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { record_type, string_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
1
3
|
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
4
|
|
|
5
|
+
class IContext extends Record {
|
|
6
|
+
constructor(sdo, arc, Protocol, ArcProtocol, name, protocolType, description, version, components, parameters, uri, comments) {
|
|
7
|
+
super();
|
|
8
|
+
this.sdo = sdo;
|
|
9
|
+
this.arc = arc;
|
|
10
|
+
this.Protocol = Protocol;
|
|
11
|
+
this.ArcProtocol = ArcProtocol;
|
|
12
|
+
this.name = name;
|
|
13
|
+
this.protocolType = protocolType;
|
|
14
|
+
this.description = description;
|
|
15
|
+
this.version = version;
|
|
16
|
+
this.components = components;
|
|
17
|
+
this.parameters = parameters;
|
|
18
|
+
this.uri = uri;
|
|
19
|
+
this.comments = comments;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function IContext_$reflection() {
|
|
23
|
+
return record_type("ARCtrl.Json.ROCrateContext.Protocol.IContext", [], IContext, () => [["sdo", string_type], ["arc", string_type], ["Protocol", string_type], ["ArcProtocol", string_type], ["name", string_type], ["protocolType", string_type], ["description", string_type], ["version", string_type], ["components", string_type], ["parameters", string_type], ["uri", string_type], ["comments", string_type]]);
|
|
24
|
+
}
|
|
3
25
|
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
26
|
const values = [["sdo", {
|
|
5
27
|
Encode(helpers) {
|
|
@@ -58,4 +80,4 @@ const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
|
58
80
|
};
|
|
59
81
|
})();
|
|
60
82
|
|
|
61
|
-
export { context_jsonvalue };
|
|
83
|
+
export { IContext, IContext_$reflection, context_jsonvalue };
|