@nfdi4plants/arctrl 3.0.0-beta.3 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/ts/index.js +63 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +354 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +28 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +186 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +8 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +24 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +73 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +31 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +574 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +59 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +65 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +30 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +5 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +5 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +48 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +120 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +680 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +40 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +655 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +105 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +320 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +204 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +10 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +73 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +65 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +23 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +111 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +114 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +36 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +846 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +65 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +1160 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +364 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +40 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +193 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Unicode.13.0.0.js +6 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +160 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +367 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +825 -0
- package/dist/ts/ts/ARC.js +914 -0
- package/dist/ts/ts/Contract/ARC.js +52 -0
- package/dist/ts/ts/Contract/ArcAssay.js +80 -0
- package/dist/ts/ts/Contract/ArcInvestigation.js +57 -0
- package/dist/ts/ts/Contract/ArcRun.js +76 -0
- package/dist/ts/ts/Contract/ArcStudy.js +76 -0
- package/dist/ts/ts/Contract/ArcWorkflow.js +77 -0
- package/dist/ts/ts/Contract/Contract.js +45 -0
- package/dist/ts/ts/Contract/Datamap.js +221 -0
- package/dist/ts/ts/Contract/Git.js +57 -0
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +57 -0
- package/dist/ts/ts/ContractIO/ContractIO.js +202 -0
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +273 -0
- package/dist/ts/ts/Conversion.js +1247 -0
- package/dist/ts/ts/Core/ArcTypes.js +3393 -0
- package/dist/ts/ts/Core/Comment.js +91 -0
- package/dist/ts/ts/Core/CommentList.js +27 -0
- package/dist/ts/ts/Core/Conversion.js +923 -0
- package/dist/ts/ts/Core/Data.js +179 -0
- package/dist/ts/ts/Core/DataContext.js +108 -0
- package/dist/ts/ts/Core/DataFile.js +50 -0
- package/dist/ts/ts/Core/DataMap.js +53 -0
- package/dist/ts/ts/Core/Helper/Collections.js +323 -0
- package/dist/ts/ts/Core/Helper/HashCodes.js +35 -0
- package/dist/ts/ts/Core/Helper/Identifier.js +96 -0
- package/dist/ts/ts/Core/Helper/ORCID.js +34 -0
- package/dist/ts/ts/Core/Helper/Regex.js +296 -0
- package/dist/ts/ts/Core/Helper/SemVer.js +31 -0
- package/dist/ts/ts/Core/Helper/Url.js +32 -0
- package/dist/ts/ts/Core/IdentifierSetters.js +9 -0
- package/dist/ts/ts/Core/OntologyAnnotation.js +207 -0
- package/dist/ts/ts/Core/OntologySourceReference.js +84 -0
- package/dist/ts/ts/Core/Person.js +183 -0
- package/dist/ts/ts/Core/Process/ColumnIndex.js +73 -0
- package/dist/ts/ts/Core/Process/Component.js +121 -0
- package/dist/ts/ts/Core/Process/Factor.js +104 -0
- package/dist/ts/ts/Core/Process/FactorValue.js +68 -0
- package/dist/ts/ts/Core/Process/Material.js +49 -0
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +30 -0
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +68 -0
- package/dist/ts/ts/Core/Process/MaterialType.js +28 -0
- package/dist/ts/ts/Core/Process/Process.js +136 -0
- package/dist/ts/ts/Core/Process/ProcessInput.js +207 -0
- package/dist/ts/ts/Core/Process/ProcessOutput.js +178 -0
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +135 -0
- package/dist/ts/ts/Core/Process/ProcessSequence.js +56 -0
- package/dist/ts/ts/Core/Process/Protocol.js +54 -0
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +69 -0
- package/dist/ts/ts/Core/Process/Sample.js +44 -0
- package/dist/ts/ts/Core/Process/Source.js +38 -0
- package/dist/ts/ts/Core/Publication.js +108 -0
- package/dist/ts/ts/Core/Table/ArcTable.js +889 -0
- package/dist/ts/ts/Core/Table/ArcTableAux.js +993 -0
- package/dist/ts/ts/Core/Table/ArcTables.js +415 -0
- package/dist/ts/ts/Core/Table/CompositeCell.js +334 -0
- package/dist/ts/ts/Core/Table/CompositeColumn.js +52 -0
- package/dist/ts/ts/Core/Table/CompositeHeader.js +792 -0
- package/dist/ts/ts/Core/Template.js +180 -0
- package/dist/ts/ts/Core/Templates.js +75 -0
- package/dist/ts/ts/Core/URI.js +8 -0
- package/dist/ts/ts/Core/Value.js +194 -0
- package/dist/ts/ts/CrossAsync.js +20 -0
- package/dist/ts/ts/FileSystem/DefaultGitattributes.js +3 -0
- package/dist/ts/ts/FileSystem/DefaultGitignore.js +3 -0
- package/dist/ts/ts/FileSystem/FileSystem.js +48 -0
- package/dist/ts/ts/FileSystem/FileSystemTree.js +339 -0
- package/dist/ts/ts/FileSystem/Path.js +36 -0
- package/dist/ts/ts/Json/Assay.d.ts +1 -1
- package/dist/ts/ts/Json/Assay.js +221 -0
- package/dist/ts/ts/Json/Comment.d.ts +1 -1
- package/dist/ts/ts/Json/Comment.js +112 -0
- package/dist/ts/ts/Json/Data.d.ts +1 -1
- package/dist/ts/ts/Json/Data.js +138 -0
- package/dist/ts/ts/Json/DataFile.d.ts +1 -1
- package/dist/ts/ts/Json/DataFile.js +55 -0
- package/dist/ts/ts/Json/DataMap/DataContext.d.ts +1 -1
- package/dist/ts/ts/Json/DataMap/DataContext.js +39 -0
- package/dist/ts/ts/Json/DataMap/DataMap.d.ts +1 -1
- package/dist/ts/ts/Json/DataMap/DataMap.js +27 -0
- package/dist/ts/ts/Json/Decode.d.ts +2 -2
- package/dist/ts/ts/Json/Decode.js +209 -0
- package/dist/ts/ts/Json/Encode.d.ts +1 -1
- package/dist/ts/ts/Json/Encode.js +65 -0
- package/dist/ts/ts/Json/IDTable.d.ts +1 -1
- package/dist/ts/ts/Json/IDTable.js +28 -0
- package/dist/ts/ts/Json/Investigation.d.ts +1 -1
- package/dist/ts/ts/Json/Investigation.js +229 -0
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +194 -0
- package/dist/ts/ts/Json/OntologySourceReference.d.ts +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +119 -0
- package/dist/ts/ts/Json/Person.d.ts +1 -1
- package/dist/ts/ts/Json/Person.js +316 -0
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +21 -0
- package/dist/ts/ts/Json/Process/Component.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Component.js +41 -0
- package/dist/ts/ts/Json/Process/Factor.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +53 -0
- package/dist/ts/ts/Json/Process/FactorValue.d.ts +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +44 -0
- package/dist/ts/ts/Json/Process/Material.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Material.js +112 -0
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +43 -0
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +44 -0
- package/dist/ts/ts/Json/Process/MaterialType.d.ts +1 -1
- package/dist/ts/ts/Json/Process/MaterialType.js +45 -0
- package/dist/ts/ts/Json/Process/Process.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Process.js +103 -0
- package/dist/ts/ts/Json/Process/ProcessInput.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProcessInput.js +42 -0
- package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProcessOutput.js +35 -0
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +28 -0
- package/dist/ts/ts/Json/Process/Protocol.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +166 -0
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +43 -0
- package/dist/ts/ts/Json/Process/Sample.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +165 -0
- package/dist/ts/ts/Json/Process/Source.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Source.js +133 -0
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +23 -0
- package/dist/ts/ts/Json/Process/Value.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Value.js +41 -0
- package/dist/ts/ts/Json/PropertyValue.d.ts +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +280 -0
- package/dist/ts/ts/Json/Publication.d.ts +1 -1
- package/dist/ts/ts/Json/Publication.js +123 -0
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDContext.js +115 -0
- package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +83 -0
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDNode.js +190 -0
- package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDRef.js +24 -0
- package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDValue.js +63 -0
- package/dist/ts/ts/Json/StringTable.d.ts +1 -1
- package/dist/ts/ts/Json/StringTable.js +66 -0
- package/dist/ts/ts/Json/Study.d.ts +1 -1
- package/dist/ts/ts/Json/Study.js +326 -0
- package/dist/ts/ts/Json/Table/ArcTable.d.ts +1 -1
- package/dist/ts/ts/Json/Table/ArcTable.js +210 -0
- package/dist/ts/ts/Json/Table/CellTable.d.ts +1 -1
- package/dist/ts/ts/Json/Table/CellTable.js +53 -0
- package/dist/ts/ts/Json/Table/CompositeCell.d.ts +1 -1
- package/dist/ts/ts/Json/Table/CompositeCell.js +106 -0
- package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +1 -1
- package/dist/ts/ts/Json/Table/CompositeHeader.js +121 -0
- package/dist/ts/ts/Json/Table/IOType.d.ts +1 -1
- package/dist/ts/ts/Json/Table/IOType.js +15 -0
- package/dist/ts/ts/Json/Table/OATable.d.ts +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +50 -0
- package/dist/ts/ts/Json/Table/Templates.d.ts +1 -1
- package/dist/ts/ts/Json/Table/Templates.js +15 -0
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +61 -0
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +29 -0
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +41 -0
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +69 -0
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +37 -0
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +37 -0
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +41 -0
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +25 -0
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +86 -0
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +57 -0
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +61 -0
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +45 -0
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +33 -0
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +33 -0
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +77 -0
- package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/property_value_context.js +61 -0
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +1 -1
- package/dist/ts/ts/Json.js +171 -0
- package/dist/ts/ts/JsonIO/Assay.js +77 -0
- package/dist/ts/ts/JsonIO/Investigation.js +77 -0
- package/dist/ts/ts/JsonIO/LDObject.js +77 -0
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +56 -0
- package/dist/ts/ts/JsonIO/Study.js +77 -0
- package/dist/ts/ts/JsonIO/Table/Compression.d.ts +1 -1
- package/dist/ts/ts/JsonIO/Table/Compression.js +39 -0
- package/dist/ts/ts/JsonIO/Table/Templates.d.ts +1 -1
- package/dist/ts/ts/JsonIO/Table/Templates.js +25 -0
- package/dist/ts/ts/ROCrate/Generic/Comment.js +103 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.js +624 -0
- package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +103 -0
- package/dist/ts/ts/ROCrate/Generic/File.js +184 -0
- package/dist/ts/ts/ROCrate/Generic/LabProcess.js +222 -0
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +257 -0
- package/dist/ts/ts/ROCrate/Generic/Organization.js +63 -0
- package/dist/ts/ts/ROCrate/Generic/Person.js +377 -0
- package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +143 -0
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +512 -0
- package/dist/ts/ts/ROCrate/Generic/Sample.js +131 -0
- package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +173 -0
- package/dist/ts/ts/ROCrate/Helper.js +7 -0
- package/dist/ts/ts/ROCrate/LDContext.js +288 -0
- package/dist/ts/ts/ROCrate/LDObject.js +855 -0
- package/dist/ts/ts/ROCrate/ROCrateContext.js +39 -0
- package/dist/ts/ts/ROCrateIO.d.ts +1 -1
- package/dist/ts/ts/ROCrateIO.js +58 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +149 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +63 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +108 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +410 -0
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +169 -0
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +316 -0
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +136 -0
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +92 -0
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +125 -0
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +34 -0
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMap.js +33 -0
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +41 -0
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +418 -0
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts +3 -3
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +85 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +90 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +58 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +85 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +133 -0
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +15 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +74 -0
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +58 -0
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +62 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +94 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +81 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +91 -0
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +193 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +238 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +105 -0
- package/dist/ts/ts/Template.Web.js +22 -0
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +53 -0
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +78 -0
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +13 -0
- package/dist/ts/ts/WebRequest/WebRequest.js +19 -0
- package/dist/ts/ts/Xlsx.d.ts +1 -1
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +91 -0
- package/dist/ts/ts/Yaml/Encode.js +8 -0
- package/dist/ts/ts/Yaml/ValidationPackage.js +26 -0
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +40 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +344 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +103 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +19 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +17 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +7 -0
- package/dist/ts/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +5 -0
- package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +18 -0
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +44 -0
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +5 -0
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +142 -0
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +76 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +359 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +344 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +154 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +116 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +126 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +135 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +422 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +5 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +25 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +28 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +69 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +42 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +29 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +348 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +86 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +68 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +12 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +54 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +33 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +63 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +66 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +544 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +31 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +38 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +79 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js +57 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +235 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +16 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +45 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +89 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +480 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +11 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +212 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +164 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +136 -0
- package/package.json +10 -7
- package/dist/ts/__vite-browser-external-2447137e.js +0 -4
- package/dist/ts/__vite-browser-external-b3701507.cjs +0 -1
- package/dist/ts/arctrl.cjs.js +0 -5691
- package/dist/ts/arctrl.es.js +0 -35562
- package/dist/ts/arctrl.umd.js +0 -5691
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from '../OntologyAnnotation.js';
|
|
2
|
+
import { singleton, ofArray } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
3
|
+
import { compressedDecoder, compressedEncoder, decoder as decoder$1, encoder as encoder$1 } from '../Data.js';
|
|
4
|
+
import { list } from '../../fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js';
|
|
5
|
+
import { map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
6
|
+
import { CompositeCell_FreeText, CompositeCell_Term, CompositeCell_Unitized, CompositeCell_Data } from '../../Core/Table/CompositeCell.js';
|
|
7
|
+
import { object, string, index } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
8
|
+
import { toFail, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
9
|
+
import { decodeOA, encodeOA } from './OATable.js';
|
|
10
|
+
import { decodeString, encodeString } from '../StringTable.js';
|
|
11
|
+
|
|
12
|
+
function encoder(cc) {
|
|
13
|
+
const oaToJsonString = OntologyAnnotation_encoder;
|
|
14
|
+
let patternInput;
|
|
15
|
+
switch (cc.tag) {
|
|
16
|
+
case /* Term */
|
|
17
|
+
0: {
|
|
18
|
+
patternInput = ["Term", singleton(oaToJsonString(cc.fields[0]))];
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
case /* Unitized */
|
|
22
|
+
2: {
|
|
23
|
+
const v = cc.fields[0];
|
|
24
|
+
const unit = cc.fields[1];
|
|
25
|
+
patternInput = ["Unitized", ofArray([{
|
|
26
|
+
Encode(helpers_1) {
|
|
27
|
+
return helpers_1.encodeString(v);
|
|
28
|
+
}
|
|
29
|
+
}, oaToJsonString(unit)])];
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
case /* Data */
|
|
33
|
+
3: {
|
|
34
|
+
patternInput = ["Data", singleton(encoder$1(cc.fields[0]))];
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
default: {
|
|
38
|
+
const s = cc.fields[0];
|
|
39
|
+
patternInput = ["FreeText", singleton({
|
|
40
|
+
Encode(helpers) {
|
|
41
|
+
return helpers.encodeString(s);
|
|
42
|
+
}
|
|
43
|
+
})];
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const values_1 = [["celltype", {
|
|
47
|
+
Encode(helpers_2) {
|
|
48
|
+
return helpers_2.encodeString(patternInput[0]);
|
|
49
|
+
}
|
|
50
|
+
}], ["values", list(patternInput[1])]];
|
|
51
|
+
return {
|
|
52
|
+
Encode(helpers_3) {
|
|
53
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_3)], values_1);
|
|
54
|
+
return helpers_3.encodeObject(arg);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const decoder = object((get$) => {
|
|
59
|
+
let arg_3, objectArg_1, arg_5, objectArg_2, arg_7, objectArg_3, arg_9, objectArg_4, arg_11, objectArg_5;
|
|
60
|
+
let matchValue;
|
|
61
|
+
const objectArg = get$.Required;
|
|
62
|
+
matchValue = objectArg.Field("celltype", string);
|
|
63
|
+
return matchValue === "FreeText" ? CompositeCell_FreeText((arg_3 = index(0, string), objectArg_1 = get$.Required, objectArg_1.Field("values", arg_3))) : matchValue === "Term" ? CompositeCell_Term((arg_5 = index(0, OntologyAnnotation_decoder), objectArg_2 = get$.Required, objectArg_2.Field("values", arg_5))) : matchValue === "Unitized" ? CompositeCell_Unitized((arg_7 = index(0, string), objectArg_3 = get$.Required, objectArg_3.Field("values", arg_7)), (arg_9 = index(1, OntologyAnnotation_decoder), objectArg_4 = get$.Required, objectArg_4.Field("values", arg_9))) : matchValue === "Data" ? CompositeCell_Data((arg_11 = index(0, decoder$1), objectArg_5 = get$.Required, objectArg_5.Field("values", arg_11))) : toFail(printf("Error reading CompositeCell from json string: %A"))(matchValue);
|
|
64
|
+
});
|
|
65
|
+
function encoderCompressed(stringTable, oaTable, cc) {
|
|
66
|
+
let patternInput;
|
|
67
|
+
switch (cc.tag) {
|
|
68
|
+
case /* Term */
|
|
69
|
+
0: {
|
|
70
|
+
patternInput = ["Term", singleton(encodeOA(oaTable, cc.fields[0]))];
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
case /* Unitized */
|
|
74
|
+
2: {
|
|
75
|
+
const unit = cc.fields[1];
|
|
76
|
+
patternInput = ["Unitized", ofArray([encodeString(stringTable, cc.fields[0]), encodeOA(oaTable, unit)])];
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
case /* Data */
|
|
80
|
+
3: {
|
|
81
|
+
patternInput = ["Data", singleton(compressedEncoder(stringTable, cc.fields[0]))];
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
default:
|
|
85
|
+
patternInput = ["FreeText", singleton(encodeString(stringTable, cc.fields[0]))];
|
|
86
|
+
}
|
|
87
|
+
const values_1 = [["t", encodeString(stringTable, patternInput[0])], ["v", list(patternInput[1])]];
|
|
88
|
+
return {
|
|
89
|
+
Encode(helpers) {
|
|
90
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers)], values_1);
|
|
91
|
+
return helpers.encodeObject(arg);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function decoderCompressed(stringTable, oaTable) {
|
|
96
|
+
return object((get$) => {
|
|
97
|
+
let arg_3, objectArg_1, arg_5, objectArg_2, arg_7, objectArg_3, arg_9, objectArg_4, arg_11, objectArg_5;
|
|
98
|
+
let matchValue;
|
|
99
|
+
const arg_1 = decodeString(stringTable);
|
|
100
|
+
const objectArg = get$.Required;
|
|
101
|
+
matchValue = objectArg.Field("t", arg_1);
|
|
102
|
+
return matchValue === "FreeText" ? CompositeCell_FreeText((arg_3 = index(0, decodeString(stringTable)), objectArg_1 = get$.Required, objectArg_1.Field("v", arg_3))) : matchValue === "Term" ? CompositeCell_Term((arg_5 = index(0, decodeOA(oaTable)), objectArg_2 = get$.Required, objectArg_2.Field("v", arg_5))) : matchValue === "Unitized" ? CompositeCell_Unitized((arg_7 = index(0, decodeString(stringTable)), objectArg_3 = get$.Required, objectArg_3.Field("v", arg_7)), (arg_9 = index(1, decodeOA(oaTable)), objectArg_4 = get$.Required, objectArg_4.Field("v", arg_9))) : matchValue === "Data" ? CompositeCell_Data((arg_11 = index(0, compressedDecoder(stringTable)), objectArg_5 = get$.Required, objectArg_5.Field("v", arg_11))) : toFail(printf("Error reading CompositeCell from json string: %A"))(matchValue);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { decoder, decoderCompressed, encoder, encoderCompressed };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.
|
|
1
|
+
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
2
2
|
import { CompositeHeader_$union } from '../../Core/Table/CompositeHeader.js';
|
|
3
3
|
export declare function encoder(ch: CompositeHeader_$union): IEncodable;
|
|
4
4
|
export declare const decoder: Decoder$1<CompositeHeader_$union>;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from '../OntologyAnnotation.js';
|
|
2
|
+
import { empty, singleton } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
3
|
+
import { decoder as decoder$1, encoder as encoder$1 } from './IOType.js';
|
|
4
|
+
import { list } from '../../fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js';
|
|
5
|
+
import { map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
6
|
+
import { CompositeHeader_Characteristic, CompositeHeader_Parameter, CompositeHeader_Component, CompositeHeader_Factor, CompositeHeader_Input, CompositeHeader_Output, CompositeHeader_ProtocolType, CompositeHeader_ProtocolREF, CompositeHeader_ProtocolDescription, CompositeHeader_ProtocolUri, CompositeHeader_ProtocolVersion, CompositeHeader_Performer, CompositeHeader_Date, CompositeHeader_Comment, CompositeHeader_FreeText } from '../../Core/Table/CompositeHeader.js';
|
|
7
|
+
import { object, string, index } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
8
|
+
|
|
9
|
+
function encoder(ch) {
|
|
10
|
+
const oaToJsonString = OntologyAnnotation_encoder;
|
|
11
|
+
let patternInput;
|
|
12
|
+
switch (ch.tag) {
|
|
13
|
+
case /* Comment */
|
|
14
|
+
14: {
|
|
15
|
+
const c = ch.fields[0];
|
|
16
|
+
patternInput = ["Comment", singleton({
|
|
17
|
+
Encode(helpers) {
|
|
18
|
+
return helpers.encodeString(c);
|
|
19
|
+
}
|
|
20
|
+
})];
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
case /* Parameter */
|
|
24
|
+
3: {
|
|
25
|
+
patternInput = ["Parameter", singleton(oaToJsonString(ch.fields[0]))];
|
|
26
|
+
break;
|
|
27
|
+
}
|
|
28
|
+
case /* Factor */
|
|
29
|
+
2: {
|
|
30
|
+
patternInput = ["Factor", singleton(oaToJsonString(ch.fields[0]))];
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
case /* Characteristic */
|
|
34
|
+
1: {
|
|
35
|
+
patternInput = ["Characteristic", singleton(oaToJsonString(ch.fields[0]))];
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
case /* Component */
|
|
39
|
+
0: {
|
|
40
|
+
patternInput = ["Component", singleton(oaToJsonString(ch.fields[0]))];
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
case /* ProtocolType */
|
|
44
|
+
4: {
|
|
45
|
+
patternInput = ["ProtocolType", empty()];
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
case /* ProtocolREF */
|
|
49
|
+
8: {
|
|
50
|
+
patternInput = ["ProtocolREF", empty()];
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
case /* ProtocolDescription */
|
|
54
|
+
5: {
|
|
55
|
+
patternInput = ["ProtocolDescription", empty()];
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
case /* ProtocolUri */
|
|
59
|
+
6: {
|
|
60
|
+
patternInput = ["ProtocolUri", empty()];
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
case /* ProtocolVersion */
|
|
64
|
+
7: {
|
|
65
|
+
patternInput = ["ProtocolVersion", empty()];
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
case /* Performer */
|
|
69
|
+
9: {
|
|
70
|
+
patternInput = ["Performer", empty()];
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
case /* Date */
|
|
74
|
+
10: {
|
|
75
|
+
patternInput = ["Date", empty()];
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
case /* Input */
|
|
79
|
+
11: {
|
|
80
|
+
patternInput = ["Input", singleton(encoder$1(ch.fields[0]))];
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
case /* Output */
|
|
84
|
+
12: {
|
|
85
|
+
patternInput = ["Output", singleton(encoder$1(ch.fields[0]))];
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
default:
|
|
89
|
+
patternInput = [ch.fields[0], empty()];
|
|
90
|
+
}
|
|
91
|
+
const values_1 = [["headertype", {
|
|
92
|
+
Encode(helpers_1) {
|
|
93
|
+
return helpers_1.encodeString(patternInput[0]);
|
|
94
|
+
}
|
|
95
|
+
}], ["values", list(patternInput[1])]];
|
|
96
|
+
return {
|
|
97
|
+
Encode(helpers_2) {
|
|
98
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_2)], values_1);
|
|
99
|
+
return helpers_2.encodeObject(arg);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
const decoder = object((get$) => {
|
|
104
|
+
let arg_7, objectArg_3;
|
|
105
|
+
let headerType;
|
|
106
|
+
const objectArg = get$.Required;
|
|
107
|
+
headerType = objectArg.Field("headertype", string);
|
|
108
|
+
const oa = () => {
|
|
109
|
+
const arg_3 = index(0, OntologyAnnotation_decoder);
|
|
110
|
+
const objectArg_1 = get$.Required;
|
|
111
|
+
return objectArg_1.Field("values", arg_3);
|
|
112
|
+
};
|
|
113
|
+
const io = () => {
|
|
114
|
+
const arg_5 = index(0, decoder$1);
|
|
115
|
+
const objectArg_2 = get$.Required;
|
|
116
|
+
return objectArg_2.Field("values", arg_5);
|
|
117
|
+
};
|
|
118
|
+
return headerType === "Characteristic" ? CompositeHeader_Characteristic(oa()) : headerType === "Parameter" ? CompositeHeader_Parameter(oa()) : headerType === "Component" ? CompositeHeader_Component(oa()) : headerType === "Factor" ? CompositeHeader_Factor(oa()) : headerType === "Input" ? CompositeHeader_Input(io()) : headerType === "Output" ? CompositeHeader_Output(io()) : headerType === "ProtocolType" ? CompositeHeader_ProtocolType() : headerType === "ProtocolREF" ? CompositeHeader_ProtocolREF() : headerType === "ProtocolDescription" ? CompositeHeader_ProtocolDescription() : headerType === "ProtocolUri" ? CompositeHeader_ProtocolUri() : headerType === "ProtocolVersion" ? CompositeHeader_ProtocolVersion() : headerType === "Performer" ? CompositeHeader_Performer() : headerType === "Date" ? CompositeHeader_Date() : headerType === "Comment" ? CompositeHeader_Comment((arg_7 = index(0, string), objectArg_3 = get$.Required, objectArg_3.Field("values", arg_7))) : CompositeHeader_FreeText(headerType);
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
export { decoder, encoder };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.
|
|
1
|
+
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
2
2
|
import { IOType_$union } from '../../Core/Table/CompositeHeader.js';
|
|
3
3
|
export declare function encoder(io: IOType_$union): IEncodable;
|
|
4
4
|
export declare const decoder: Decoder$1<IOType_$union>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { IOType } from '../../Core/Table/CompositeHeader.js';
|
|
3
|
+
import { andThen, string, succeed } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
4
|
+
|
|
5
|
+
function encoder(io) {
|
|
6
|
+
const value = toString(io);
|
|
7
|
+
return {
|
|
8
|
+
Encode(helpers) {
|
|
9
|
+
return helpers.encodeString(value);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
const decoder = andThen((s) => succeed(IOType.ofString(s)), string);
|
|
14
|
+
|
|
15
|
+
export { decoder, encoder };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OntologyAnnotation } from '../../Core/OntologyAnnotation.js';
|
|
2
2
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
3
3
|
import { IMap } from '@fable-org/fable-library-js/Util.js';
|
|
4
|
-
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare function arrayFromMap(otm: IMap<OntologyAnnotation, int32>): OntologyAnnotation[];
|
|
6
6
|
export declare function encoder(stringTable: IMap<string, int32>, ot: OntologyAnnotation[]): IEncodable;
|
|
7
7
|
export declare function decoder(stringTable: string[]): Decoder$1<OntologyAnnotation[]>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { toArray, map as map$1, sortBy } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
import { Dictionary_tryFind, Dictionary_items } from '../../Core/Helper/Collections.js';
|
|
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 { OntologyAnnotation_compressedDecoder, OntologyAnnotation_compressedEncoder } from '../OntologyAnnotation.js';
|
|
6
|
+
import { array, object, int } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
7
|
+
import { value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
8
|
+
import { addToDict } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
|
|
9
|
+
|
|
10
|
+
function arrayFromMap(otm) {
|
|
11
|
+
return toArray(map$1((kv_1) => kv_1[0], sortBy((kv) => kv[1], Dictionary_items(otm), {
|
|
12
|
+
Compare: comparePrimitives
|
|
13
|
+
})));
|
|
14
|
+
}
|
|
15
|
+
function encoder(stringTable, ot) {
|
|
16
|
+
const values = map((oa) => OntologyAnnotation_compressedEncoder(stringTable, oa), ot);
|
|
17
|
+
return {
|
|
18
|
+
Encode(helpers) {
|
|
19
|
+
const arg = map((v) => v.Encode(helpers), values);
|
|
20
|
+
return helpers.encodeArray(arg);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function decoder(stringTable) {
|
|
25
|
+
return array(OntologyAnnotation_compressedDecoder(stringTable));
|
|
26
|
+
}
|
|
27
|
+
function encodeOA(otm, oa) {
|
|
28
|
+
const matchValue = Dictionary_tryFind(oa, otm);
|
|
29
|
+
if (matchValue == null) {
|
|
30
|
+
const i_1 = otm.size | 0;
|
|
31
|
+
addToDict(otm, oa, i_1);
|
|
32
|
+
return {
|
|
33
|
+
Encode(helpers_1) {
|
|
34
|
+
return helpers_1.encodeSignedIntegralNumber(i_1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
} else {
|
|
38
|
+
const i = value(matchValue) | 0;
|
|
39
|
+
return {
|
|
40
|
+
Encode(helpers) {
|
|
41
|
+
return helpers.encodeSignedIntegralNumber(i);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function decodeOA(ot) {
|
|
47
|
+
return object((get$) => item(get$.Required.Raw(int), ot));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { arrayFromMap, decodeOA, decoder, encodeOA, encoder };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.
|
|
1
|
+
import { Decoder$1, IEncodable } from '../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
2
2
|
import { Template, Organisation_$union } from '../../Core/Template.js';
|
|
3
3
|
import { OntologyAnnotation } from '../../Core/OntologyAnnotation.js';
|
|
4
4
|
import { IMap } from '@fable-org/fable-library-js/Util.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Template, Organisation } from '../../Core/Template.js';
|
|
2
|
+
import { object, guid, string, andThen, resizeArray, succeed } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
3
|
+
import { decoder } from './ArcTable.js';
|
|
4
|
+
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
|
+
import { Decode_datetime } from '../Decode.js';
|
|
8
|
+
|
|
9
|
+
const Template_Organisation_decoder = andThen((textValue) => succeed(Organisation.ofString(textValue)), string);
|
|
10
|
+
const Template_decoder = object((get$) => {
|
|
11
|
+
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
|
+
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
|
+
});
|
|
14
|
+
|
|
15
|
+
export { Template_Organisation_decoder, Template_decoder };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
2
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare class IContext extends Record implements IEquatable<IContext>, IComparable<IContext> {
|
|
6
6
|
readonly sdo: string;
|
|
7
7
|
readonly arc: string;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
|
|
3
|
+
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
|
+
const values = [["sdo", {
|
|
5
|
+
Encode(helpers) {
|
|
6
|
+
return helpers.encodeString("http://schema.org/");
|
|
7
|
+
}
|
|
8
|
+
}], ["Assay", {
|
|
9
|
+
Encode(helpers_1) {
|
|
10
|
+
return helpers_1.encodeString("sdo:Dataset");
|
|
11
|
+
}
|
|
12
|
+
}], ["identifier", {
|
|
13
|
+
Encode(helpers_2) {
|
|
14
|
+
return helpers_2.encodeString("sdo:identifier");
|
|
15
|
+
}
|
|
16
|
+
}], ["additionalType", {
|
|
17
|
+
Encode(helpers_3) {
|
|
18
|
+
return helpers_3.encodeString("sdo:additionalType");
|
|
19
|
+
}
|
|
20
|
+
}], ["measurementType", {
|
|
21
|
+
Encode(helpers_4) {
|
|
22
|
+
return helpers_4.encodeString("sdo:variableMeasured");
|
|
23
|
+
}
|
|
24
|
+
}], ["technologyType", {
|
|
25
|
+
Encode(helpers_5) {
|
|
26
|
+
return helpers_5.encodeString("sdo:measurementTechnique");
|
|
27
|
+
}
|
|
28
|
+
}], ["technologyPlatform", {
|
|
29
|
+
Encode(helpers_6) {
|
|
30
|
+
return helpers_6.encodeString("sdo:measurementMethod");
|
|
31
|
+
}
|
|
32
|
+
}], ["dataFiles", {
|
|
33
|
+
Encode(helpers_7) {
|
|
34
|
+
return helpers_7.encodeString("sdo:hasPart");
|
|
35
|
+
}
|
|
36
|
+
}], ["performers", {
|
|
37
|
+
Encode(helpers_8) {
|
|
38
|
+
return helpers_8.encodeString("sdo:creator");
|
|
39
|
+
}
|
|
40
|
+
}], ["processSequence", {
|
|
41
|
+
Encode(helpers_9) {
|
|
42
|
+
return helpers_9.encodeString("sdo:about");
|
|
43
|
+
}
|
|
44
|
+
}], ["comments", {
|
|
45
|
+
Encode(helpers_10) {
|
|
46
|
+
return helpers_10.encodeString("sdo:comment");
|
|
47
|
+
}
|
|
48
|
+
}], ["filename", {
|
|
49
|
+
Encode(helpers_11) {
|
|
50
|
+
return helpers_11.encodeString("sdo:url");
|
|
51
|
+
}
|
|
52
|
+
}]];
|
|
53
|
+
return {
|
|
54
|
+
Encode(helpers_12) {
|
|
55
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_12)], values);
|
|
56
|
+
return helpers_12.encodeObject(arg);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
})();
|
|
60
|
+
|
|
61
|
+
export { context_jsonvalue };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
2
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare class IContext extends Record implements IEquatable<IContext>, IComparable<IContext> {
|
|
6
6
|
readonly sdo: string;
|
|
7
7
|
readonly arc: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
|
|
3
|
+
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
|
+
const values = [["sdo", {
|
|
5
|
+
Encode(helpers) {
|
|
6
|
+
return helpers.encodeString("http://schema.org/");
|
|
7
|
+
}
|
|
8
|
+
}], ["Comment", {
|
|
9
|
+
Encode(helpers_1) {
|
|
10
|
+
return helpers_1.encodeString("sdo:Comment");
|
|
11
|
+
}
|
|
12
|
+
}], ["name", {
|
|
13
|
+
Encode(helpers_2) {
|
|
14
|
+
return helpers_2.encodeString("sdo:name");
|
|
15
|
+
}
|
|
16
|
+
}], ["value", {
|
|
17
|
+
Encode(helpers_3) {
|
|
18
|
+
return helpers_3.encodeString("sdo:text");
|
|
19
|
+
}
|
|
20
|
+
}]];
|
|
21
|
+
return {
|
|
22
|
+
Encode(helpers_4) {
|
|
23
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_4)], values);
|
|
24
|
+
return helpers_4.encodeObject(arg);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
})();
|
|
28
|
+
|
|
29
|
+
export { context_jsonvalue };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
2
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare class IContext extends Record implements IEquatable<IContext>, IComparable<IContext> {
|
|
6
6
|
readonly sdo: string;
|
|
7
7
|
readonly arc: string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
|
|
3
|
+
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
|
+
const values = [["sdo", {
|
|
5
|
+
Encode(helpers) {
|
|
6
|
+
return helpers.encodeString("http://schema.org/");
|
|
7
|
+
}
|
|
8
|
+
}], ["Data", {
|
|
9
|
+
Encode(helpers_1) {
|
|
10
|
+
return helpers_1.encodeString("sdo:MediaObject");
|
|
11
|
+
}
|
|
12
|
+
}], ["type", {
|
|
13
|
+
Encode(helpers_2) {
|
|
14
|
+
return helpers_2.encodeString("sdo:disambiguatingDescription");
|
|
15
|
+
}
|
|
16
|
+
}], ["encodingFormat", {
|
|
17
|
+
Encode(helpers_3) {
|
|
18
|
+
return helpers_3.encodeString("sdo:encodingFormat");
|
|
19
|
+
}
|
|
20
|
+
}], ["usageInfo", {
|
|
21
|
+
Encode(helpers_4) {
|
|
22
|
+
return helpers_4.encodeString("sdo:usageInfo");
|
|
23
|
+
}
|
|
24
|
+
}], ["name", {
|
|
25
|
+
Encode(helpers_5) {
|
|
26
|
+
return helpers_5.encodeString("sdo:name");
|
|
27
|
+
}
|
|
28
|
+
}], ["comments", {
|
|
29
|
+
Encode(helpers_6) {
|
|
30
|
+
return helpers_6.encodeString("sdo:comment");
|
|
31
|
+
}
|
|
32
|
+
}]];
|
|
33
|
+
return {
|
|
34
|
+
Encode(helpers_7) {
|
|
35
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_7)], values);
|
|
36
|
+
return helpers_7.encodeObject(arg);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
})();
|
|
40
|
+
|
|
41
|
+
export { context_jsonvalue };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
2
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare class IContext extends Record implements IEquatable<IContext>, IComparable<IContext> {
|
|
6
6
|
readonly sdo: string;
|
|
7
7
|
readonly arc: string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
|
|
3
|
+
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
|
+
const values = [["sdo", {
|
|
5
|
+
Encode(helpers) {
|
|
6
|
+
return helpers.encodeString("http://schema.org/");
|
|
7
|
+
}
|
|
8
|
+
}], ["Investigation", {
|
|
9
|
+
Encode(helpers_1) {
|
|
10
|
+
return helpers_1.encodeString("sdo:Dataset");
|
|
11
|
+
}
|
|
12
|
+
}], ["identifier", {
|
|
13
|
+
Encode(helpers_2) {
|
|
14
|
+
return helpers_2.encodeString("sdo:identifier");
|
|
15
|
+
}
|
|
16
|
+
}], ["title", {
|
|
17
|
+
Encode(helpers_3) {
|
|
18
|
+
return helpers_3.encodeString("sdo:name");
|
|
19
|
+
}
|
|
20
|
+
}], ["additionalType", {
|
|
21
|
+
Encode(helpers_4) {
|
|
22
|
+
return helpers_4.encodeString("sdo:additionalType");
|
|
23
|
+
}
|
|
24
|
+
}], ["description", {
|
|
25
|
+
Encode(helpers_5) {
|
|
26
|
+
return helpers_5.encodeString("sdo:description");
|
|
27
|
+
}
|
|
28
|
+
}], ["submissionDate", {
|
|
29
|
+
Encode(helpers_6) {
|
|
30
|
+
return helpers_6.encodeString("sdo:dateCreated");
|
|
31
|
+
}
|
|
32
|
+
}], ["publicReleaseDate", {
|
|
33
|
+
Encode(helpers_7) {
|
|
34
|
+
return helpers_7.encodeString("sdo:datePublished");
|
|
35
|
+
}
|
|
36
|
+
}], ["publications", {
|
|
37
|
+
Encode(helpers_8) {
|
|
38
|
+
return helpers_8.encodeString("sdo:citation");
|
|
39
|
+
}
|
|
40
|
+
}], ["people", {
|
|
41
|
+
Encode(helpers_9) {
|
|
42
|
+
return helpers_9.encodeString("sdo:creator");
|
|
43
|
+
}
|
|
44
|
+
}], ["studies", {
|
|
45
|
+
Encode(helpers_10) {
|
|
46
|
+
return helpers_10.encodeString("sdo:hasPart");
|
|
47
|
+
}
|
|
48
|
+
}], ["ontologySourceReferences", {
|
|
49
|
+
Encode(helpers_11) {
|
|
50
|
+
return helpers_11.encodeString("sdo:mentions");
|
|
51
|
+
}
|
|
52
|
+
}], ["comments", {
|
|
53
|
+
Encode(helpers_12) {
|
|
54
|
+
return helpers_12.encodeString("sdo:comment");
|
|
55
|
+
}
|
|
56
|
+
}], ["filename", {
|
|
57
|
+
Encode(helpers_13) {
|
|
58
|
+
return helpers_13.encodeString("sdo:alternateName");
|
|
59
|
+
}
|
|
60
|
+
}]];
|
|
61
|
+
return {
|
|
62
|
+
Encode(helpers_14) {
|
|
63
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_14)], values);
|
|
64
|
+
return helpers_14.encodeObject(arg);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
})();
|
|
68
|
+
|
|
69
|
+
export { context_jsonvalue };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
2
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare class IContext extends Record implements IEquatable<IContext>, IComparable<IContext> {
|
|
6
6
|
readonly sdo: string;
|
|
7
7
|
readonly arc: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { map } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
|
+
|
|
3
|
+
const context_jsonvalue = /* @__PURE__ */ (() => {
|
|
4
|
+
const values = [["sdo", {
|
|
5
|
+
Encode(helpers) {
|
|
6
|
+
return helpers.encodeString("http://schema.org/");
|
|
7
|
+
}
|
|
8
|
+
}], ["bio", {
|
|
9
|
+
Encode(helpers_1) {
|
|
10
|
+
return helpers_1.encodeString("https://bioschemas.org/");
|
|
11
|
+
}
|
|
12
|
+
}], ["Material", {
|
|
13
|
+
Encode(helpers_2) {
|
|
14
|
+
return helpers_2.encodeString("bio:Sample");
|
|
15
|
+
}
|
|
16
|
+
}], ["type", {
|
|
17
|
+
Encode(helpers_3) {
|
|
18
|
+
return helpers_3.encodeString("sdo:disambiguatingDescription");
|
|
19
|
+
}
|
|
20
|
+
}], ["name", {
|
|
21
|
+
Encode(helpers_4) {
|
|
22
|
+
return helpers_4.encodeString("sdo:name");
|
|
23
|
+
}
|
|
24
|
+
}], ["characteristics", {
|
|
25
|
+
Encode(helpers_5) {
|
|
26
|
+
return helpers_5.encodeString("bio:additionalProperty");
|
|
27
|
+
}
|
|
28
|
+
}]];
|
|
29
|
+
return {
|
|
30
|
+
Encode(helpers_6) {
|
|
31
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_6)], values);
|
|
32
|
+
return helpers_6.encodeObject(arg);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
|
|
37
|
+
export { context_jsonvalue };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Record } from '@fable-org/fable-library-js/Types.js';
|
|
2
2
|
import { IComparable, IEquatable } from '@fable-org/fable-library-js/Util.js';
|
|
3
3
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
4
|
-
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.
|
|
4
|
+
import { IEncodable } from '../../../fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js';
|
|
5
5
|
export declare class IContext extends Record implements IEquatable<IContext>, IComparable<IContext> {
|
|
6
6
|
readonly sdo: string;
|
|
7
7
|
readonly arc: string;
|