@nfdi4plants/arctrl 3.2.3 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/index.d.ts +44 -7
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +45 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
- package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
- package/dist/ts/ts/ARC.d.ts +19 -2
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +128 -89
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
- package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +887 -201
- package/dist/ts/ts/CWL/Decode.d.ts +480 -211
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +3614 -2462
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
- package/dist/ts/ts/CWL/Encode.d.ts +225 -85
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +1858 -970
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
- package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +255 -6
- package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +107 -16
- package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +35 -9
- package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +101 -19
- package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +18 -25
- package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterValue.js +59 -35
- package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +462 -89
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +34 -13
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
- package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +221 -86
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +13 -14
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +4 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
- package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +47 -20
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +4 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +16 -17
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +26 -18
- package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +55 -31
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +1 -2
- package/dist/ts/ts/Conversion/Investigation.js +11 -11
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +107 -86
- package/dist/ts/ts/Conversion/Run.d.ts +36 -6
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +320 -136
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +23 -12
- package/dist/ts/ts/Conversion/Table.js +5 -5
- package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +655 -163
- package/dist/ts/ts/Conversion.js +6 -6
- package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +219 -129
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +2 -2
- package/dist/ts/ts/Core/CommentList.js +7 -7
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +41 -41
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +14 -11
- package/dist/ts/ts/Core/DataContext.d.ts +1 -1
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +4 -4
- package/dist/ts/ts/Core/DataFile.d.ts +11 -8
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +55 -61
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +2 -3
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +2 -4
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +52 -53
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +2 -2
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +22 -22
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +7 -7
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +2 -2
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
- package/dist/ts/ts/Core/Process/Process.js +21 -21
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
- package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +9 -9
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +3 -3
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/ScalarValue.js +9 -13
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +2 -2
- package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +37 -19
- package/dist/ts/ts/Json/Assay.js +22 -22
- package/dist/ts/ts/Json/Comment.js +9 -9
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +11 -11
- package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +3 -5
- package/dist/ts/ts/Json/Encode.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +20 -20
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +20 -20
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +5 -6
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +7 -7
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +9 -10
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +8 -9
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +17 -17
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +9 -9
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +10 -11
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +24 -24
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +10 -10
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
- package/dist/ts/ts/Json/Run.js +9 -9
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +4 -7
- package/dist/ts/ts/Json/Study.js +20 -20
- package/dist/ts/ts/Json/Table/CellTable.js +1 -2
- package/dist/ts/ts/Json/Table/OATable.js +1 -2
- package/dist/ts/ts/Json/Workflow.js +9 -9
- package/dist/ts/ts/Json.d.ts +121 -1
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +310 -2
- package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Comment.js +67 -0
- package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Data.js +49 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/DataFile.js +48 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +173 -17
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Publication.js +68 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +6 -6
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +31 -39
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +56 -49
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +18 -4
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +49 -38
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
- package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
- package/dist/ts/ts/Xlsx.js +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
- package/package.json +5 -4
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ErrorReason$1_BadPrimitive, ErrorReason$1_BadPrimitiveExtra, ErrorReason$1_BadType, ErrorReason$1_BadPath, ErrorReason$1_BadField, ErrorReason$1_TooSmallArray, ErrorReason$1_BadOneOf, Json_Boolean$, Json, Json_String$, Json_Number$, Json_Array$, Json_Object$, ErrorReason$1_FailMessage } from './Types.fs.js';
|
|
2
2
|
import { tryParse as tryParse$1 } from '../../../node_modules/@fable-org/fable-library-ts/Int32.js';
|
|
3
|
-
import { join } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
|
+
import { join, getCharAtIndex } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
4
4
|
import { map as map$1, tryLast, fold, empty, append, singleton, ofSeq, reverse as reverse$1, cons, isEmpty, head, tail, length } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
5
5
|
import { FSharpResult$2_Error$, FSharpResult$2_Ok, Result_MapError, Result_Map } from '../../../node_modules/@fable-org/fable-library-ts/Result.js';
|
|
6
|
-
import { tryParse } from '../../../node_modules/@fable-org/fable-library-ts/Guid.js';
|
|
7
6
|
import { FSharpRef, Record } from '../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
7
|
+
import { tryParse } from '../../../node_modules/@fable-org/fable-library-ts/Guid.js';
|
|
8
8
|
import { toFloat64, toInt64_unchecked, fromFloat64, toUInt64_unchecked, fromInt32, tryParse as tryParse$3 } from '../../../node_modules/@fable-org/fable-library-ts/BigInt.js';
|
|
9
9
|
import { tryParse as tryParse$2 } from '../../../node_modules/@fable-org/fable-library-ts/Long.js';
|
|
10
|
-
import { tryParse as tryParse$4 } from '../../../node_modules/@fable-org/fable-library-ts/Decimal.js';
|
|
10
|
+
import { fromFloat64 as fromFloat64$1, tryParse as tryParse$4 } from '../../../node_modules/@fable-org/fable-library-ts/Decimal.js';
|
|
11
11
|
import { minValue, tryParse as tryParse$5, toUniversalTime } from '../../../node_modules/@fable-org/fable-library-ts/Date.js';
|
|
12
12
|
import { minValue as minValue$1, tryParse as tryParse$6 } from '../../../node_modules/@fable-org/fable-library-ts/DateOffset.js';
|
|
13
13
|
import { tryParse as tryParse$7 } from '../../../node_modules/@fable-org/fable-library-ts/TimeSpan.js';
|
|
@@ -103,7 +103,7 @@ const char = {
|
|
|
103
103
|
Decode(helpers, value_1) {
|
|
104
104
|
if (helpers.isString(value_1)) {
|
|
105
105
|
const str = helpers.asString(value_1);
|
|
106
|
-
return str.length === 1 ? FSharpResult$2_Ok(str
|
|
106
|
+
return str.length === 1 ? FSharpResult$2_Ok(getCharAtIndex(str, 0)) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a single character string", value_1)]);
|
|
107
107
|
} else {
|
|
108
108
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a char", value_1)]);
|
|
109
109
|
}
|
|
@@ -113,10 +113,8 @@ const guid = {
|
|
|
113
113
|
Decode(helpers, value_1) {
|
|
114
114
|
if (helpers.isString(value_1)) {
|
|
115
115
|
let matchValue;
|
|
116
|
-
|
|
117
|
-
matchValue = [tryParse(helpers.asString(value_1),
|
|
118
|
-
outArg = v;
|
|
119
|
-
})), outArg];
|
|
116
|
+
const cell = new FSharpRef("00000000-0000-0000-0000-000000000000");
|
|
117
|
+
matchValue = [tryParse(helpers.asString(value_1), cell), cell.contents];
|
|
120
118
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a guid", value_1)]);
|
|
121
119
|
} else {
|
|
122
120
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a guid", value_1)]);
|
|
@@ -133,16 +131,15 @@ const sbyte = {
|
|
|
133
131
|
if (helpers.isNumber(value_2)) {
|
|
134
132
|
if (helpers.isIntegralValue(value_2)) {
|
|
135
133
|
const floatValue = helpers.asFloat(value_2);
|
|
136
|
-
return -128 <= floatValue && floatValue <= 127 ? FSharpResult$2_Ok((floatValue + 128 & 255) - 128) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("a sbyte", value_2, "Value was either too large or too small for a sbyte")]);
|
|
134
|
+
return -128 <= floatValue && floatValue <= 127 ? FSharpResult$2_Ok((~~floatValue + 128 & 255) - 128) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("a sbyte", value_2, "Value was either too large or too small for a sbyte")]);
|
|
137
135
|
} else {
|
|
138
136
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("a sbyte", value_2, "Value is not an integral value")]);
|
|
139
137
|
}
|
|
140
138
|
} else if (helpers.isString(value_2)) {
|
|
141
139
|
let matchValue;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
})), outArg];
|
|
140
|
+
const arg = helpers.asString(value_2);
|
|
141
|
+
const cell = new FSharpRef(0);
|
|
142
|
+
matchValue = [tryParse$1(arg, 511, false, 8, cell), cell.contents];
|
|
146
143
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a sbyte", value_2)]);
|
|
147
144
|
} else {
|
|
148
145
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a sbyte", value_2)]);
|
|
@@ -154,16 +151,15 @@ const byte = {
|
|
|
154
151
|
if (helpers.isNumber(value_2)) {
|
|
155
152
|
if (helpers.isIntegralValue(value_2)) {
|
|
156
153
|
const floatValue = helpers.asFloat(value_2);
|
|
157
|
-
return 0 <= floatValue && floatValue <= 255 ? FSharpResult$2_Ok(floatValue & 255) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("a byte", value_2, "Value was either too large or too small for a byte")]);
|
|
154
|
+
return 0 <= floatValue && floatValue <= 255 ? FSharpResult$2_Ok(~~floatValue & 255) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("a byte", value_2, "Value was either too large or too small for a byte")]);
|
|
158
155
|
} else {
|
|
159
156
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("a byte", value_2, "Value is not an integral value")]);
|
|
160
157
|
}
|
|
161
158
|
} else if (helpers.isString(value_2)) {
|
|
162
159
|
let matchValue;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
})), outArg];
|
|
160
|
+
const arg = helpers.asString(value_2);
|
|
161
|
+
const cell = new FSharpRef(0);
|
|
162
|
+
matchValue = [tryParse$1(arg, 511, true, 8, cell), cell.contents];
|
|
167
163
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a byte", value_2)]);
|
|
168
164
|
} else {
|
|
169
165
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a byte", value_2)]);
|
|
@@ -175,16 +171,15 @@ const int16 = {
|
|
|
175
171
|
if (helpers.isNumber(value_2)) {
|
|
176
172
|
if (helpers.isIntegralValue(value_2)) {
|
|
177
173
|
const floatValue = helpers.asFloat(value_2);
|
|
178
|
-
return -32768 <= floatValue && floatValue <= 32767 ? FSharpResult$2_Ok((floatValue + 32768 & 65535) - 32768) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("an int16", value_2, "Value was either too large or too small for an int16")]);
|
|
174
|
+
return -32768 <= floatValue && floatValue <= 32767 ? FSharpResult$2_Ok((~~floatValue + 32768 & 65535) - 32768) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("an int16", value_2, "Value was either too large or too small for an int16")]);
|
|
179
175
|
} else {
|
|
180
176
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("an int16", value_2, "Value is not an integral value")]);
|
|
181
177
|
}
|
|
182
178
|
} else if (helpers.isString(value_2)) {
|
|
183
179
|
let matchValue;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
})), outArg];
|
|
180
|
+
const arg = helpers.asString(value_2);
|
|
181
|
+
const cell = new FSharpRef(0);
|
|
182
|
+
matchValue = [tryParse$1(arg, 511, false, 16, cell), cell.contents];
|
|
188
183
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an int16", value_2)]);
|
|
189
184
|
} else {
|
|
190
185
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an int16", value_2)]);
|
|
@@ -196,16 +191,15 @@ const uint16 = {
|
|
|
196
191
|
if (helpers.isNumber(value_2)) {
|
|
197
192
|
if (helpers.isIntegralValue(value_2)) {
|
|
198
193
|
const floatValue = helpers.asFloat(value_2);
|
|
199
|
-
return 0 <= floatValue && floatValue <= 65535 ? FSharpResult$2_Ok(floatValue & 65535) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("an uint16", value_2, "Value was either too large or too small for an uint16")]);
|
|
194
|
+
return 0 <= floatValue && floatValue <= 65535 ? FSharpResult$2_Ok(~~floatValue & 65535) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("an uint16", value_2, "Value was either too large or too small for an uint16")]);
|
|
200
195
|
} else {
|
|
201
196
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitiveExtra("an uint16", value_2, "Value is not an integral value")]);
|
|
202
197
|
}
|
|
203
198
|
} else if (helpers.isString(value_2)) {
|
|
204
199
|
let matchValue;
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
})), outArg];
|
|
200
|
+
const arg = helpers.asString(value_2);
|
|
201
|
+
const cell = new FSharpRef(0);
|
|
202
|
+
matchValue = [tryParse$1(arg, 511, true, 16, cell), cell.contents];
|
|
209
203
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an uint16", value_2)]);
|
|
210
204
|
} else {
|
|
211
205
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an uint16", value_2)]);
|
|
@@ -223,10 +217,9 @@ const int = {
|
|
|
223
217
|
}
|
|
224
218
|
} else if (helpers.isString(value_2)) {
|
|
225
219
|
let matchValue;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
})), outArg];
|
|
220
|
+
const arg = helpers.asString(value_2);
|
|
221
|
+
const cell = new FSharpRef(0);
|
|
222
|
+
matchValue = [tryParse$1(arg, 511, false, 32, cell), cell.contents];
|
|
230
223
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an int", value_2)]);
|
|
231
224
|
} else {
|
|
232
225
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an int", value_2)]);
|
|
@@ -244,10 +237,9 @@ const uint32 = {
|
|
|
244
237
|
}
|
|
245
238
|
} else if (helpers.isString(value_2)) {
|
|
246
239
|
let matchValue;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
})), outArg];
|
|
240
|
+
const arg = helpers.asString(value_2);
|
|
241
|
+
const cell = new FSharpRef(0);
|
|
242
|
+
matchValue = [tryParse$1(arg, 511, true, 32, cell), cell.contents];
|
|
251
243
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an uint32", value_2)]);
|
|
252
244
|
} else {
|
|
253
245
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an uint32", value_2)]);
|
|
@@ -265,10 +257,9 @@ const int64 = {
|
|
|
265
257
|
}
|
|
266
258
|
} else if (helpers.isString(value_2)) {
|
|
267
259
|
let matchValue;
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
})), outArg];
|
|
260
|
+
const arg = helpers.asString(value_2);
|
|
261
|
+
const cell = new FSharpRef(0n);
|
|
262
|
+
matchValue = [tryParse$2(arg, 511, false, 64, cell), cell.contents];
|
|
272
263
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an int64", value_2)]);
|
|
273
264
|
} else {
|
|
274
265
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an int64", value_2)]);
|
|
@@ -286,10 +277,9 @@ const uint64 = {
|
|
|
286
277
|
}
|
|
287
278
|
} else if (helpers.isString(value_2)) {
|
|
288
279
|
let matchValue;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
})), outArg];
|
|
280
|
+
const arg = helpers.asString(value_2);
|
|
281
|
+
const cell = new FSharpRef(0n);
|
|
282
|
+
matchValue = [tryParse$2(arg, 511, true, 64, cell), cell.contents];
|
|
293
283
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an uint64", value_2)]);
|
|
294
284
|
} else {
|
|
295
285
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("an uint64", value_2)]);
|
|
@@ -302,10 +292,8 @@ const bigint = {
|
|
|
302
292
|
return FSharpResult$2_Ok(fromInt32(helpers.asInt(value_1)));
|
|
303
293
|
} else if (helpers.isString(value_1)) {
|
|
304
294
|
let parseResult;
|
|
305
|
-
|
|
306
|
-
parseResult = [tryParse$3(helpers.asString(value_1),
|
|
307
|
-
outArg = v;
|
|
308
|
-
})), outArg];
|
|
295
|
+
const cell = new FSharpRef(0n);
|
|
296
|
+
parseResult = [tryParse$3(helpers.asString(value_1), cell), cell.contents];
|
|
309
297
|
return parseResult[0] ? FSharpResult$2_Ok(parseResult[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a bigint", value_1)]);
|
|
310
298
|
} else {
|
|
311
299
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a bigint", value_1)]);
|
|
@@ -330,13 +318,11 @@ const float32 = {
|
|
|
330
318
|
const decimal = {
|
|
331
319
|
Decode(helpers, value_1) {
|
|
332
320
|
if (helpers.isNumber(value_1)) {
|
|
333
|
-
return FSharpResult$2_Ok(
|
|
321
|
+
return FSharpResult$2_Ok(fromFloat64$1(helpers.asFloat(value_1)));
|
|
334
322
|
} else if (helpers.isString(value_1)) {
|
|
335
323
|
let matchValue;
|
|
336
|
-
|
|
337
|
-
matchValue = [tryParse$4(helpers.asString(value_1),
|
|
338
|
-
outArg = v;
|
|
339
|
-
})), outArg];
|
|
324
|
+
const cell = new FSharpRef(new Big("0"));
|
|
325
|
+
matchValue = [tryParse$4(helpers.asString(value_1), 111, cell), cell.contents];
|
|
340
326
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a decimal", value_1)]);
|
|
341
327
|
} else {
|
|
342
328
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a decimal", value_1)]);
|
|
@@ -347,10 +333,8 @@ const datetimeUtc = {
|
|
|
347
333
|
Decode(helpers, value_1) {
|
|
348
334
|
if (helpers.isString(value_1)) {
|
|
349
335
|
let matchValue;
|
|
350
|
-
|
|
351
|
-
matchValue = [tryParse$5(helpers.asString(value_1),
|
|
352
|
-
outArg = v;
|
|
353
|
-
})), outArg];
|
|
336
|
+
const cell = new FSharpRef(minValue());
|
|
337
|
+
matchValue = [tryParse$5(helpers.asString(value_1), cell), cell.contents];
|
|
354
338
|
return matchValue[0] ? FSharpResult$2_Ok(toUniversalTime(matchValue[1])) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value_1)]);
|
|
355
339
|
} else {
|
|
356
340
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value_1)]);
|
|
@@ -361,10 +345,8 @@ const datetimeLocal = {
|
|
|
361
345
|
Decode(helpers, value_1) {
|
|
362
346
|
if (helpers.isString(value_1)) {
|
|
363
347
|
let matchValue;
|
|
364
|
-
|
|
365
|
-
matchValue = [tryParse$5(helpers.asString(value_1),
|
|
366
|
-
outArg = v;
|
|
367
|
-
})), outArg];
|
|
348
|
+
const cell = new FSharpRef(minValue());
|
|
349
|
+
matchValue = [tryParse$5(helpers.asString(value_1), cell), cell.contents];
|
|
368
350
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value_1)]);
|
|
369
351
|
} else {
|
|
370
352
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value_1)]);
|
|
@@ -375,10 +357,8 @@ const datetimeOffset = {
|
|
|
375
357
|
Decode(helpers, value_1) {
|
|
376
358
|
if (helpers.isString(value_1)) {
|
|
377
359
|
let matchValue;
|
|
378
|
-
|
|
379
|
-
matchValue = [tryParse$6(helpers.asString(value_1),
|
|
380
|
-
outArg = v;
|
|
381
|
-
})), outArg];
|
|
360
|
+
const cell = new FSharpRef(minValue$1());
|
|
361
|
+
matchValue = [tryParse$6(helpers.asString(value_1), cell), cell.contents];
|
|
382
362
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetimeoffset", value_1)]);
|
|
383
363
|
} else {
|
|
384
364
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value_1)]);
|
|
@@ -389,10 +369,8 @@ const timespan = {
|
|
|
389
369
|
Decode(helpers, value_1) {
|
|
390
370
|
if (helpers.isString(value_1)) {
|
|
391
371
|
let matchValue;
|
|
392
|
-
|
|
393
|
-
matchValue = [tryParse$7(helpers.asString(value_1),
|
|
394
|
-
outArg = v;
|
|
395
|
-
})), outArg];
|
|
372
|
+
const cell = new FSharpRef(0);
|
|
373
|
+
matchValue = [tryParse$7(helpers.asString(value_1), cell), cell.contents];
|
|
396
374
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a timespan", value_1)]);
|
|
397
375
|
} else {
|
|
398
376
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a timespan", value_1)]);
|
|
@@ -469,7 +447,7 @@ function optionalAt(fieldNames, decoder) {
|
|
|
469
447
|
const lastValue = _arg[1];
|
|
470
448
|
return helpers.isNullValue(lastValue) ? FSharpResult$2_Ok(void 0) : decodeMaybeNull(helpers, _arg[0], decoder, lastValue);
|
|
471
449
|
} else {
|
|
472
|
-
return
|
|
450
|
+
return _arg[2];
|
|
473
451
|
}
|
|
474
452
|
}
|
|
475
453
|
};
|
|
@@ -514,7 +492,7 @@ function at(fieldNames, decoder) {
|
|
|
514
492
|
return [curPath, curValue, res];
|
|
515
493
|
}
|
|
516
494
|
}, ["", firstValue, void 0], fieldNames);
|
|
517
|
-
return _arg[2] == null ? Result_MapError((tupledArg_1) => Helpers_prependPath(_arg[0], tupledArg_1[0], tupledArg_1[1]), decoder.Decode(helpers, _arg[1])) :
|
|
495
|
+
return _arg[2] == null ? Result_MapError((tupledArg_1) => Helpers_prependPath(_arg[0], tupledArg_1[0], tupledArg_1[1]), decoder.Decode(helpers, _arg[1])) : _arg[2];
|
|
518
496
|
}
|
|
519
497
|
};
|
|
520
498
|
}
|
|
@@ -177,7 +177,7 @@ function lossyOption(encoder) {
|
|
|
177
177
|
let option_3;
|
|
178
178
|
const option_1 = arg;
|
|
179
179
|
option_3 = option_1 != null ? encoder(value$1(option_1)) : void 0;
|
|
180
|
-
return option_3 != null ?
|
|
180
|
+
return option_3 != null ? option_3 : {
|
|
181
181
|
Encode(helpers) {
|
|
182
182
|
return helpers.encodeNull();
|
|
183
183
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Operators_IsNull } from '../../../node_modules/@fable-org/fable-library-ts/FSharp.Core.js';
|
|
2
1
|
import { Exception } from '../../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
3
2
|
import { Advanced_fromValue, Helpers_prependPath, errorToString } from '../Thoth.Json.Core.0.9.1/Decode.fs.js';
|
|
4
3
|
import { FSharpResult$2_Error$, FSharpResult$2_Ok } from '../../../node_modules/@fable-org/fable-library-ts/Result.js';
|
|
@@ -14,7 +13,7 @@ const helpers = {
|
|
|
14
13
|
return typeof jsonValue_2 === "boolean";
|
|
15
14
|
},
|
|
16
15
|
isNullValue(jsonValue_3) {
|
|
17
|
-
return
|
|
16
|
+
return jsonValue_3 == null;
|
|
18
17
|
},
|
|
19
18
|
isArray(jsonValue_4) {
|
|
20
19
|
return Array.isArray(jsonValue_4);
|