@nfdi4plants/arctrl 3.2.3 → 3.3.1
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 +11 -0
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +61 -50
- 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
package/dist/ts/ts/License.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { unwrap } from '../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
2
|
import { Contract } from './Contract/Contract.js';
|
|
3
3
|
import { stringHash, equals } from '../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
4
4
|
import { contains, forAll } from '../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
@@ -11,7 +11,7 @@ class License {
|
|
|
11
11
|
this._type = contentType;
|
|
12
12
|
this._content = content;
|
|
13
13
|
this._staticHash = 0;
|
|
14
|
-
this._path = path == null ? "LICENSE" :
|
|
14
|
+
this._path = path == null ? "LICENSE" : path;
|
|
15
15
|
}
|
|
16
16
|
get Type() {
|
|
17
17
|
const this$ = this;
|
|
@@ -84,15 +84,15 @@ class License {
|
|
|
84
84
|
let matchResult = void 0, txt_1 = void 0;
|
|
85
85
|
if (c.Operation === "READ") {
|
|
86
86
|
if (c.DTOType != null) {
|
|
87
|
-
if (
|
|
87
|
+
if (c.DTOType === "PlainText") {
|
|
88
88
|
if (c.DTO != null) {
|
|
89
|
-
if (typeof
|
|
90
|
-
if (
|
|
89
|
+
if (typeof c.DTO === "string") {
|
|
90
|
+
if (c.DTO, c.Path === "LICENSE" ? true : contains(c.Path, alternativeLICENSEFileNames, {
|
|
91
91
|
Equals: (x, y) => x === y,
|
|
92
92
|
GetHashCode: (x) => stringHash(x) | 0
|
|
93
93
|
})) {
|
|
94
94
|
matchResult = 0;
|
|
95
|
-
txt_1 =
|
|
95
|
+
txt_1 = c.DTO;
|
|
96
96
|
} else {
|
|
97
97
|
matchResult = 1;
|
|
98
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LDContext.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/ROCrate/LDContext.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"LDContext.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/ROCrate/LDContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAGnF,OAAO,EAA6F,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAMtJ,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAc,QAAQ,EAAE,MAAM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CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,SAAS,CAE/G"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivePatterns_$007CRegex$007C_$007C } from '../Core/Helper/Regex.js';
|
|
2
|
-
import {
|
|
2
|
+
import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
3
|
import { toString, FSharpRef } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
4
4
|
import { Uri } from '../../node_modules/@fable-org/fable-library-ts/Uri.js';
|
|
5
5
|
import { getEnumerator, disposeSafe, safeHash, comparePrimitives, stringHash, defaultOf, Exception } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
@@ -14,7 +14,7 @@ const IRIHelper_compactIRIRegex = "(?<prefix>.*):(?<suffix>[^\\/][^\\/].*)";
|
|
|
14
14
|
function IRIHelper_$007CCompactIri$007C_$007C(termDefition) {
|
|
15
15
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(IRIHelper_compactIRIRegex, termDefition);
|
|
16
16
|
if (activePatternResult != null) {
|
|
17
|
-
const result =
|
|
17
|
+
const result = activePatternResult;
|
|
18
18
|
return [result.groups && result.groups.prefix || "", result.groups && result.groups.suffix || ""];
|
|
19
19
|
} else {
|
|
20
20
|
return void 0;
|
|
@@ -30,17 +30,17 @@ function IRIHelper_combine(baseIRI, relative) {
|
|
|
30
30
|
function IRIHelper_combineOptional(baseIRI, relative) {
|
|
31
31
|
if (baseIRI == null) {
|
|
32
32
|
if (relative != null) {
|
|
33
|
-
const r_1 =
|
|
33
|
+
const r_1 = relative;
|
|
34
34
|
return r_1;
|
|
35
35
|
} else {
|
|
36
36
|
return void 0;
|
|
37
37
|
}
|
|
38
38
|
} else if (relative == null) {
|
|
39
|
-
const b_1 =
|
|
39
|
+
const b_1 = baseIRI;
|
|
40
40
|
return b_1;
|
|
41
41
|
} else {
|
|
42
|
-
const b =
|
|
43
|
-
const r =
|
|
42
|
+
const b = baseIRI;
|
|
43
|
+
const r = relative;
|
|
44
44
|
return IRIHelper_combine(b, r);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -48,7 +48,7 @@ class LDContext {
|
|
|
48
48
|
constructor(mappings, baseContexts) {
|
|
49
49
|
this["baseContexts@41"] = defaultArg(baseContexts, []);
|
|
50
50
|
this.name = void 0;
|
|
51
|
-
this["mappings@45"] = mappings == null ? /* @__PURE__ */ new Map([]) :
|
|
51
|
+
this["mappings@45"] = mappings == null ? /* @__PURE__ */ new Map([]) : mappings;
|
|
52
52
|
this.reverseMappings = /* @__PURE__ */ new Map([]);
|
|
53
53
|
this.compactReverseMappings = /* @__PURE__ */ new Map([]);
|
|
54
54
|
let enumerator = getEnumerator(this["mappings@45"]);
|
|
@@ -114,7 +114,7 @@ class LDContext {
|
|
|
114
114
|
} else {
|
|
115
115
|
const p1Def = this$.TryResolveTerm(p1);
|
|
116
116
|
const p2Def = this$.TryResolveTerm(p2);
|
|
117
|
-
return p1Def == null ? p2Def != null && (p2Def_2 =
|
|
117
|
+
return p1Def == null ? p2Def != null && (p2Def_2 = p2Def, p1 === p2Def_2) : p2Def == null ? (p1Def_2 = p1Def, p1Def_2 === p2) : (p1Def_1 = p1Def, p2Def_1 = p2Def, p1Def_1 === p2Def_1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
static fromMappingSeq(mappings) {
|
|
@@ -140,7 +140,7 @@ class LDContext {
|
|
|
140
140
|
*/
|
|
141
141
|
static tryCombineOptional(baseContext, specificContext) {
|
|
142
142
|
let s_1 = void 0, f_1 = void 0, f = void 0, s = void 0;
|
|
143
|
-
return baseContext == null ? specificContext != null ? (s_1 =
|
|
143
|
+
return baseContext == null ? specificContext != null ? (s_1 = specificContext, s_1) : void 0 : specificContext == null ? (f_1 = baseContext, f_1) : (f = baseContext, s = specificContext, LDContext.combine(f, s));
|
|
144
144
|
}
|
|
145
145
|
ShallowCopy() {
|
|
146
146
|
const this$ = this;
|
|
@@ -200,7 +200,7 @@ class LDContext {
|
|
|
200
200
|
}))) | 0;
|
|
201
201
|
let nameHash;
|
|
202
202
|
const matchValue = this$.Name;
|
|
203
|
-
nameHash = matchValue == null ? 0 : stringHash(
|
|
203
|
+
nameHash = matchValue == null ? 0 : stringHash(matchValue);
|
|
204
204
|
const baseContextsHash = (this$["baseContexts@41"].length === 0 ? 0 : reduce((hash, hash_1) => mergeHashes(hash, hash_1) | 0, map((ctx) => safeHash(ctx) | 0, this$["baseContexts@41"]))) | 0;
|
|
205
205
|
return mergeHashes(mergeHashes(mappingsHash, nameHash), baseContextsHash) | 0;
|
|
206
206
|
}
|
|
@@ -208,10 +208,10 @@ class LDContext {
|
|
|
208
208
|
const this$ = this;
|
|
209
209
|
return this$.DeepCopy();
|
|
210
210
|
}
|
|
211
|
-
addReverseMapping(key, value
|
|
211
|
+
addReverseMapping(key, value) {
|
|
212
212
|
const this$ = this;
|
|
213
|
-
const http = replace(value
|
|
214
|
-
const https = replace(value
|
|
213
|
+
const http = replace(value, "https://", "http://");
|
|
214
|
+
const https = replace(value, "http://", "https://");
|
|
215
215
|
const key_1 = http;
|
|
216
216
|
const value_1 = key;
|
|
217
217
|
const dict = this$.reverseMappings;
|
|
@@ -228,10 +228,10 @@ class LDContext {
|
|
|
228
228
|
} else {
|
|
229
229
|
addToDict(dict_1, key_2, value_2);
|
|
230
230
|
}
|
|
231
|
-
const activePatternResult = IRIHelper_$007CCompactIri$007C_$007C(value
|
|
231
|
+
const activePatternResult = IRIHelper_$007CCompactIri$007C_$007C(value);
|
|
232
232
|
if (activePatternResult != null) {
|
|
233
|
-
const prefix =
|
|
234
|
-
const suffix =
|
|
233
|
+
const prefix = activePatternResult[0];
|
|
234
|
+
const suffix = activePatternResult[1];
|
|
235
235
|
const key_3 = prefix;
|
|
236
236
|
const value_3 = [suffix, key];
|
|
237
237
|
const dict_2 = this$.compactReverseMappings;
|
|
@@ -242,28 +242,24 @@ class LDContext {
|
|
|
242
242
|
}
|
|
243
243
|
let matchValue;
|
|
244
244
|
let patternInput;
|
|
245
|
-
|
|
246
|
-
patternInput = [tryGetValue(this$["mappings@45"], prefix,
|
|
247
|
-
outArg = v;
|
|
248
|
-
})), outArg];
|
|
245
|
+
const cell = new FSharpRef(defaultOf());
|
|
246
|
+
patternInput = [tryGetValue(this$["mappings@45"], prefix, cell), cell.contents];
|
|
249
247
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
250
248
|
if (matchValue == null) {
|
|
251
249
|
} else {
|
|
252
|
-
const iri = IRIHelper_combine(
|
|
250
|
+
const iri = IRIHelper_combine(matchValue, suffix);
|
|
253
251
|
this$.addReverseMapping(key, iri);
|
|
254
252
|
}
|
|
255
253
|
} else {
|
|
256
254
|
let matchValue_1;
|
|
257
255
|
let patternInput_1;
|
|
258
|
-
|
|
259
|
-
patternInput_1 = [tryGetValue(this$.compactReverseMappings, key,
|
|
260
|
-
outArg_1 = v_2;
|
|
261
|
-
})), outArg_1];
|
|
256
|
+
const cell_1 = new FSharpRef(defaultOf());
|
|
257
|
+
patternInput_1 = [tryGetValue(this$.compactReverseMappings, key, cell_1), cell_1.contents];
|
|
262
258
|
matchValue_1 = patternInput_1[0] ? patternInput_1[1] : void 0;
|
|
263
259
|
if (matchValue_1 == null) {
|
|
264
260
|
} else {
|
|
265
|
-
const term =
|
|
266
|
-
const iri_1 = IRIHelper_combine(value
|
|
261
|
+
const term = matchValue_1[1];
|
|
262
|
+
const iri_1 = IRIHelper_combine(value, matchValue_1[0]);
|
|
267
263
|
this$.addReverseMapping(term, iri_1);
|
|
268
264
|
}
|
|
269
265
|
}
|
|
@@ -274,29 +270,25 @@ class LDContext {
|
|
|
274
270
|
let definition;
|
|
275
271
|
let matchValue;
|
|
276
272
|
let patternInput;
|
|
277
|
-
|
|
278
|
-
patternInput = [tryGetValue(this$["mappings@45"], term,
|
|
279
|
-
outArg = v;
|
|
280
|
-
})), outArg];
|
|
273
|
+
const cell = new FSharpRef(defaultOf());
|
|
274
|
+
patternInput = [tryGetValue(this$["mappings@45"], term, cell), cell.contents];
|
|
281
275
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
282
|
-
definition = matchValue == null ? tryPick((ctx) => ctx.TryResolveTerm(term), this$["baseContexts@41"]) :
|
|
276
|
+
definition = matchValue == null ? tryPick((ctx) => ctx.TryResolveTerm(term), this$["baseContexts@41"]) : matchValue;
|
|
283
277
|
if (definition == null) {
|
|
284
278
|
return void 0;
|
|
285
279
|
} else {
|
|
286
|
-
const activePatternResult = IRIHelper_$007CCompactIri$007C_$007C(
|
|
287
|
-
return activePatternResult != null ? (prefix =
|
|
280
|
+
const activePatternResult = IRIHelper_$007CCompactIri$007C_$007C(definition);
|
|
281
|
+
return activePatternResult != null ? (prefix = activePatternResult[0], suffix = activePatternResult[1], IRIHelper_combine(prefix === term ? prefix : defaultArg(this$.tryFindTerm(prefix), prefix), suffix === term ? suffix : defaultArg(this$.tryFindTerm(suffix), suffix))) : (d = definition, d);
|
|
288
282
|
}
|
|
289
283
|
}
|
|
290
284
|
tryFindIri(iri) {
|
|
291
285
|
const this$ = this;
|
|
292
286
|
let matchValue;
|
|
293
287
|
let patternInput;
|
|
294
|
-
|
|
295
|
-
patternInput = [tryGetValue(this$.reverseMappings, iri,
|
|
296
|
-
outArg = v;
|
|
297
|
-
})), outArg];
|
|
288
|
+
const cell = new FSharpRef(defaultOf());
|
|
289
|
+
patternInput = [tryGetValue(this$.reverseMappings, iri, cell), cell.contents];
|
|
298
290
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
299
|
-
return matchValue == null ? tryPick((ctx) => ctx.TryGetTerm(iri), this$["baseContexts@41"]) :
|
|
291
|
+
return matchValue == null ? tryPick((ctx) => ctx.TryGetTerm(iri), this$["baseContexts@41"]) : matchValue;
|
|
300
292
|
}
|
|
301
293
|
tryCompactIRI(iri) {
|
|
302
294
|
throw new Exception("TryCompactIRI is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ts/Util.js';
|
|
2
|
-
import { defaultArg,
|
|
2
|
+
import { defaultArg, unwrap, value, some, map } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
3
|
import { DynamicObj, DynamicObj_$reflection } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
|
|
4
4
|
import { mergeHashes } from '../fable_modules/DynamicObj.8.0.0/HashCodes.fs.js';
|
|
5
5
|
import { class_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
6
6
|
import { addToDict, getItemFromDict, tryGetValue } from '../../node_modules/@fable-org/fable-library-ts/MapUtil.js';
|
|
7
7
|
import { FSharpRef } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
8
8
|
import { LDContext } from './LDContext.js';
|
|
9
|
-
import { iterate, filter, choose, exists, toList, delay, enumerateWhile, singleton, empty, tryFind, toArray, map as map$1, enumerateFromFunctions,
|
|
9
|
+
import { iterate, filter, choose, exists, toList, delay, enumerateWhile, singleton, empty, tryFind, toArray, map as map$1, enumerateFromFunctions, append, collect } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
10
10
|
import { setProperty } from '../fable_modules/DynamicObj.8.0.0/DynObj.fs.js';
|
|
11
11
|
import { ResizeArray_map } from '../Core/Helper/Collections.js';
|
|
12
|
-
import { List_distinctBy } from '../../node_modules/@fable-org/fable-library-ts/Seq2.js';
|
|
12
|
+
import { distinct, List_distinctBy } from '../../node_modules/@fable-org/fable-library-ts/Seq2.js';
|
|
13
13
|
import { item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
14
14
|
|
|
15
15
|
function ActivePattern_$007CNonStringEnumerable$007C_$007C(o) {
|
|
@@ -99,14 +99,14 @@ class LDGraph extends DynamicObj {
|
|
|
99
99
|
this["init@90"] = 1;
|
|
100
100
|
if (context == null) {
|
|
101
101
|
} else {
|
|
102
|
-
const ctx =
|
|
102
|
+
const ctx = context;
|
|
103
103
|
this$.contents.SetContext(ctx);
|
|
104
104
|
}
|
|
105
105
|
if (nodes == null) {
|
|
106
106
|
} else {
|
|
107
107
|
iterate((node) => {
|
|
108
108
|
addToDict(this.mappings, node.Id, node);
|
|
109
|
-
},
|
|
109
|
+
}, nodes);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
get Id() {
|
|
@@ -133,10 +133,8 @@ class LDGraph extends DynamicObj {
|
|
|
133
133
|
TryGetNode(id) {
|
|
134
134
|
const this$ = this;
|
|
135
135
|
let matchValue;
|
|
136
|
-
|
|
137
|
-
matchValue = [tryGetValue(this$.mappings, id,
|
|
138
|
-
outArg = v;
|
|
139
|
-
})), outArg];
|
|
136
|
+
const cell = new FSharpRef(defaultOf());
|
|
137
|
+
matchValue = [tryGetValue(this$.mappings, id, cell), cell.contents];
|
|
140
138
|
return matchValue[0] ? matchValue[1] : void 0;
|
|
141
139
|
}
|
|
142
140
|
AddNode(node) {
|
|
@@ -146,7 +144,7 @@ class LDGraph extends DynamicObj {
|
|
|
146
144
|
if (matchValue == null) {
|
|
147
145
|
addToDict(this$.mappings, id, node);
|
|
148
146
|
} else {
|
|
149
|
-
const existingNode =
|
|
147
|
+
const existingNode = matchValue;
|
|
150
148
|
node.MergeAppendInto_InPlace(existingNode, this$);
|
|
151
149
|
}
|
|
152
150
|
}
|
|
@@ -200,9 +198,9 @@ class LDGraph extends DynamicObj {
|
|
|
200
198
|
if (context_1 == null) {
|
|
201
199
|
name = ph.Name;
|
|
202
200
|
} else {
|
|
203
|
-
const ctx =
|
|
201
|
+
const ctx = context_1;
|
|
204
202
|
const matchValue = ctx.TryResolveTerm(ph.Name);
|
|
205
|
-
name = matchValue == null ? ph.Name :
|
|
203
|
+
name = matchValue == null ? ph.Name : matchValue;
|
|
206
204
|
}
|
|
207
205
|
if (name === "@context") {
|
|
208
206
|
return void 0;
|
|
@@ -229,7 +227,7 @@ class LDNode extends DynamicObj {
|
|
|
229
227
|
this["init@175-1"] = 1;
|
|
230
228
|
if (context == null) {
|
|
231
229
|
} else {
|
|
232
|
-
const ctx =
|
|
230
|
+
const ctx = context;
|
|
233
231
|
this$.contents.SetContext(ctx);
|
|
234
232
|
}
|
|
235
233
|
}
|
|
@@ -264,22 +262,22 @@ class LDNode extends DynamicObj {
|
|
|
264
262
|
} else if (context_1 == null) {
|
|
265
263
|
return false;
|
|
266
264
|
} else {
|
|
267
|
-
const ctx =
|
|
265
|
+
const ctx = context_1;
|
|
268
266
|
const matchValue = ctx.TryResolveTerm(st);
|
|
269
267
|
const matchValue_1 = ctx.TryResolveTerm(schemaType);
|
|
270
268
|
if (matchValue == null) {
|
|
271
269
|
if (matchValue_1 != null) {
|
|
272
|
-
const schemaType_2 =
|
|
270
|
+
const schemaType_2 = matchValue_1;
|
|
273
271
|
return st === schemaType_2;
|
|
274
272
|
} else {
|
|
275
273
|
return false;
|
|
276
274
|
}
|
|
277
275
|
} else if (matchValue_1 == null) {
|
|
278
|
-
const st_2 =
|
|
276
|
+
const st_2 = matchValue;
|
|
279
277
|
return st_2 === schemaType;
|
|
280
278
|
} else {
|
|
281
|
-
const schemaType_1 =
|
|
282
|
-
const st_1 =
|
|
279
|
+
const schemaType_1 = matchValue_1;
|
|
280
|
+
const st_1 = matchValue;
|
|
283
281
|
return st_1 === schemaType_1;
|
|
284
282
|
}
|
|
285
283
|
}
|
|
@@ -295,18 +293,18 @@ class LDNode extends DynamicObj {
|
|
|
295
293
|
if (matchValue_1 == null) {
|
|
296
294
|
return void 0;
|
|
297
295
|
} else {
|
|
298
|
-
const ctx =
|
|
296
|
+
const ctx = matchValue_1;
|
|
299
297
|
const matchValue_2 = ctx.TryResolveTerm(propertyName);
|
|
300
298
|
if (matchValue_2 == null) {
|
|
301
299
|
const matchValue_3 = ctx.TryGetTerm(propertyName);
|
|
302
300
|
if (matchValue_3 == null) {
|
|
303
301
|
return void 0;
|
|
304
302
|
} else {
|
|
305
|
-
const term_1 =
|
|
303
|
+
const term_1 = matchValue_3;
|
|
306
304
|
return this$.TryGetPropertyValue(term_1);
|
|
307
305
|
}
|
|
308
306
|
} else {
|
|
309
|
-
const term =
|
|
307
|
+
const term = matchValue_2;
|
|
310
308
|
return this$.TryGetPropertyValue(term);
|
|
311
309
|
}
|
|
312
310
|
}
|
|
@@ -394,7 +392,7 @@ class LDNode extends DynamicObj {
|
|
|
394
392
|
return n;
|
|
395
393
|
case 1: {
|
|
396
394
|
const matchValue_1 = value(graph).TryGetNode(r_1.Id);
|
|
397
|
-
return matchValue_1 == null ? void 0 :
|
|
395
|
+
return matchValue_1 == null ? void 0 : matchValue_1;
|
|
398
396
|
}
|
|
399
397
|
default:
|
|
400
398
|
return void 0;
|
|
@@ -425,7 +423,7 @@ class LDNode extends DynamicObj {
|
|
|
425
423
|
if (matchValue == null) {
|
|
426
424
|
return void 0;
|
|
427
425
|
} else {
|
|
428
|
-
const n =
|
|
426
|
+
const n = matchValue;
|
|
429
427
|
if (filter == null) {
|
|
430
428
|
return n;
|
|
431
429
|
} else if (value(filter)(n, context_1)) {
|
|
@@ -467,9 +465,9 @@ class LDNode extends DynamicObj {
|
|
|
467
465
|
if (context_1 == null) {
|
|
468
466
|
name = ph.Name;
|
|
469
467
|
} else {
|
|
470
|
-
const ctx =
|
|
468
|
+
const ctx = context_1;
|
|
471
469
|
const matchValue = ctx.TryResolveTerm(ph.Name);
|
|
472
|
-
name = matchValue == null ? ph.Name :
|
|
470
|
+
name = matchValue == null ? ph.Name : matchValue;
|
|
473
471
|
}
|
|
474
472
|
if (name === "@context") {
|
|
475
473
|
return void 0;
|
|
@@ -478,7 +476,7 @@ class LDNode extends DynamicObj {
|
|
|
478
476
|
}
|
|
479
477
|
}, this$.GetDynamicPropertyHelpers());
|
|
480
478
|
}
|
|
481
|
-
SetProperty(propertyName, value
|
|
479
|
+
SetProperty(propertyName, value, context) {
|
|
482
480
|
const this$ = this;
|
|
483
481
|
let context_1;
|
|
484
482
|
const specificContext = this$.TryGetContext();
|
|
@@ -487,11 +485,11 @@ class LDNode extends DynamicObj {
|
|
|
487
485
|
if (context_1 == null) {
|
|
488
486
|
return pn === propertyName;
|
|
489
487
|
} else {
|
|
490
|
-
const c =
|
|
488
|
+
const c = context_1;
|
|
491
489
|
return c.PropertyNamesMatch(pn, propertyName);
|
|
492
490
|
}
|
|
493
491
|
}, this$.GetPropertyNames()), propertyName);
|
|
494
|
-
super.SetProperty(propertyName_1, value
|
|
492
|
+
super.SetProperty(propertyName_1, value);
|
|
495
493
|
}
|
|
496
494
|
SetOptionalProperty(propertyName, value$1, context) {
|
|
497
495
|
const this$ = this;
|
|
@@ -535,12 +533,13 @@ class LDNode extends DynamicObj {
|
|
|
535
533
|
return this$.RemoveProperty("@context");
|
|
536
534
|
}
|
|
537
535
|
MergeAppendInto_InPlace(other, flattenTo) {
|
|
536
|
+
let collection_1 = void 0, collection_2 = void 0;
|
|
538
537
|
const this$ = this;
|
|
539
538
|
let flattenTo_Singleton;
|
|
540
539
|
if (flattenTo == null) {
|
|
541
540
|
flattenTo_Singleton = (x) => x;
|
|
542
541
|
} else {
|
|
543
|
-
const graph =
|
|
542
|
+
const graph = flattenTo;
|
|
544
543
|
const f = (o) => {
|
|
545
544
|
if (o instanceof LDNode) {
|
|
546
545
|
const n = o;
|
|
@@ -563,14 +562,14 @@ class LDNode extends DynamicObj {
|
|
|
563
562
|
if (flattenTo == null) {
|
|
564
563
|
flattenTo_RA = (x_1) => x_1;
|
|
565
564
|
} else {
|
|
566
|
-
|
|
565
|
+
flattenTo;
|
|
567
566
|
flattenTo_RA = (a) => ResizeArray_map(flattenTo_Singleton, a);
|
|
568
567
|
}
|
|
569
568
|
let flattenToAny;
|
|
570
569
|
if (flattenTo == null) {
|
|
571
570
|
flattenToAny = (x_2) => x_2;
|
|
572
571
|
} else {
|
|
573
|
-
const graph_2 =
|
|
572
|
+
const graph_2 = flattenTo;
|
|
574
573
|
const f_2 = (o_1) => {
|
|
575
574
|
let collection = void 0;
|
|
576
575
|
if (o_1 instanceof LDNode) {
|
|
@@ -587,7 +586,7 @@ class LDNode extends DynamicObj {
|
|
|
587
586
|
} else {
|
|
588
587
|
const activePatternResult = ActivePattern_$007CNonStringEnumerable$007C_$007C(o_1);
|
|
589
588
|
if (activePatternResult != null) {
|
|
590
|
-
const e =
|
|
589
|
+
const e = activePatternResult;
|
|
591
590
|
return collection = toList(delay(() => map$1(f_2, enumerateFromFunctions(() => getEnumerator(e), (enumerator) => enumerator["System.Collections.IEnumerator.MoveNext"](), (enumerator_1) => enumerator_1["System.Collections.IEnumerator.get_Current"]())))), Array.from(collection);
|
|
592
591
|
} else {
|
|
593
592
|
return o_1;
|
|
@@ -607,8 +606,16 @@ class LDNode extends DynamicObj {
|
|
|
607
606
|
return o_2;
|
|
608
607
|
}
|
|
609
608
|
};
|
|
609
|
+
other.SchemaType = (collection_1 = distinct(append(other.SchemaType, this$.SchemaType), {
|
|
610
|
+
Equals: (x_3, y) => x_3 === y,
|
|
611
|
+
GetHashCode: (x_3) => stringHash(x_3) | 0
|
|
612
|
+
}), Array.from(collection_1));
|
|
613
|
+
other.AdditionalType = (collection_2 = distinct(append(other.AdditionalType, this$.AdditionalType), {
|
|
614
|
+
Equals: (x_4, y_1) => x_4 === y_1,
|
|
615
|
+
GetHashCode: (x_4) => stringHash(x_4) | 0
|
|
616
|
+
}), Array.from(collection_2));
|
|
610
617
|
iterate((pn) => {
|
|
611
|
-
let
|
|
618
|
+
let collection_3 = void 0;
|
|
612
619
|
const matchValue = other.TryGetProperty(pn);
|
|
613
620
|
if (matchValue == null) {
|
|
614
621
|
const v_3 = flattenToAny(value(this$.TryGetProperty(pn)));
|
|
@@ -622,8 +629,8 @@ class LDNode extends DynamicObj {
|
|
|
622
629
|
const activePatternResult_2 = ActivePattern_$007CNonStringEnumerable$007C_$007C(otherVal);
|
|
623
630
|
if (activePatternResult_2 != null) {
|
|
624
631
|
matchResult = 0;
|
|
625
|
-
e1 =
|
|
626
|
-
e2 =
|
|
632
|
+
e1 = activePatternResult_1;
|
|
633
|
+
e2 = activePatternResult_2;
|
|
627
634
|
} else {
|
|
628
635
|
matchResult = 1;
|
|
629
636
|
}
|
|
@@ -632,17 +639,17 @@ class LDNode extends DynamicObj {
|
|
|
632
639
|
}
|
|
633
640
|
switch (matchResult) {
|
|
634
641
|
case 0: {
|
|
635
|
-
const l = flattenTo_RA((
|
|
642
|
+
const l = flattenTo_RA((collection_3 = List_distinctBy(toEqualitor, toList(delay(() => append(map$1((v_1) => v_1, enumerateFromFunctions(() => getEnumerator(e2), (enumerator_2) => enumerator_2["System.Collections.IEnumerator.MoveNext"](), (enumerator_3) => enumerator_3["System.Collections.IEnumerator.get_Current"]())), delay(() => map$1((v_2) => v_2, enumerateFromFunctions(() => getEnumerator(e1), (enumerator_4) => enumerator_4["System.Collections.IEnumerator.MoveNext"](), (enumerator_5) => enumerator_5["System.Collections.IEnumerator.get_Current"]())))))), {
|
|
636
643
|
Equals: equals,
|
|
637
|
-
GetHashCode: (
|
|
638
|
-
}), Array.from(
|
|
644
|
+
GetHashCode: (x_5) => structuralHash(x_5) | 0
|
|
645
|
+
}), Array.from(collection_3)));
|
|
639
646
|
other.SetProperty(pn, l);
|
|
640
647
|
break;
|
|
641
648
|
}
|
|
642
649
|
case 1: {
|
|
643
650
|
const activePatternResult_3 = ActivePattern_$007CNonStringEnumerable$007C_$007C(thisVal);
|
|
644
651
|
if (activePatternResult_3 != null) {
|
|
645
|
-
const theseVals =
|
|
652
|
+
const theseVals = activePatternResult_3;
|
|
646
653
|
let isContained = false;
|
|
647
654
|
const l_1 = Array.from(toList(delay(() => collect((thisVal_1) => {
|
|
648
655
|
if (equals(toEqualitor(thisVal_1), toEqualitor(otherVal))) {
|
|
@@ -659,7 +666,7 @@ class LDNode extends DynamicObj {
|
|
|
659
666
|
} else {
|
|
660
667
|
const activePatternResult_4 = ActivePattern_$007CNonStringEnumerable$007C_$007C(otherVal);
|
|
661
668
|
if (activePatternResult_4 != null) {
|
|
662
|
-
const otherVals =
|
|
669
|
+
const otherVals = activePatternResult_4;
|
|
663
670
|
let isContained_1 = false;
|
|
664
671
|
const l_2 = Array.from(toList(delay(() => collect((otherVal_2) => append(equals(toEqualitor(thisVal), toEqualitor(otherVal_2)) ? (isContained_1 = true, empty()) : empty(), delay(() => singleton(otherVal_2))), enumerateFromFunctions(() => getEnumerator(otherVals), (enumerator_8) => enumerator_8["System.Collections.IEnumerator.MoveNext"](), (enumerator_9) => enumerator_9["System.Collections.IEnumerator.get_Current"]())))));
|
|
665
672
|
if (!isContained_1) {
|
|
@@ -691,7 +698,7 @@ class LDNode extends DynamicObj {
|
|
|
691
698
|
}
|
|
692
699
|
const newTypes = Array.from(toList(delay(() => collect((st) => {
|
|
693
700
|
const matchValue = context_2.TryGetTerm(st);
|
|
694
|
-
return matchValue == null ? singleton(st) : singleton(
|
|
701
|
+
return matchValue == null ? singleton(st) : singleton(matchValue);
|
|
695
702
|
}, this$.SchemaType))));
|
|
696
703
|
this$.SchemaType = newTypes;
|
|
697
704
|
}
|
|
@@ -755,16 +762,16 @@ class LDNode extends DynamicObj {
|
|
|
755
762
|
if (context_1 == null) {
|
|
756
763
|
newKey = void 0;
|
|
757
764
|
} else {
|
|
758
|
-
const ctx =
|
|
765
|
+
const ctx = context_1;
|
|
759
766
|
const matchValue_1 = ctx.TryGetTerm(ph.Name);
|
|
760
|
-
newKey = matchValue_1 == null ? void 0 :
|
|
767
|
+
newKey = matchValue_1 == null ? void 0 : matchValue_1;
|
|
761
768
|
}
|
|
762
769
|
const newValue = compactValue_inPlace(ph.GetValue(this$));
|
|
763
770
|
let matchResult_1 = void 0, key_1 = void 0;
|
|
764
771
|
if (newKey != null) {
|
|
765
|
-
if (
|
|
772
|
+
if (newKey !== ph.Name) {
|
|
766
773
|
matchResult_1 = 0;
|
|
767
|
-
key_1 =
|
|
774
|
+
key_1 = newKey;
|
|
768
775
|
} else {
|
|
769
776
|
matchResult_1 = 1;
|
|
770
777
|
}
|
|
@@ -786,7 +793,7 @@ class LDNode extends DynamicObj {
|
|
|
786
793
|
}
|
|
787
794
|
Flatten(graph) {
|
|
788
795
|
const this$ = this;
|
|
789
|
-
const graph_1 = graph == null ? new LDGraph(void 0, void 0, unwrap(this$.TryGetContext())) :
|
|
796
|
+
const graph_1 = graph == null ? new LDGraph(void 0, void 0, unwrap(this$.TryGetContext())) : graph;
|
|
790
797
|
const flattenValue = (o) => {
|
|
791
798
|
if (o instanceof LDNode) {
|
|
792
799
|
const n = o;
|
|
@@ -825,7 +832,7 @@ class LDNode extends DynamicObj {
|
|
|
825
832
|
if (matchValue == null) {
|
|
826
833
|
return r;
|
|
827
834
|
} else {
|
|
828
|
-
return
|
|
835
|
+
return matchValue;
|
|
829
836
|
}
|
|
830
837
|
} else if (o instanceof LDNode) {
|
|
831
838
|
const n_1 = o;
|
|
@@ -895,8 +902,8 @@ class LDNode extends DynamicObj {
|
|
|
895
902
|
if (original_id != null) {
|
|
896
903
|
if (original_type != null) {
|
|
897
904
|
matchResult_1 = 0;
|
|
898
|
-
id =
|
|
899
|
-
st =
|
|
905
|
+
id = original_id;
|
|
906
|
+
st = original_type;
|
|
900
907
|
} else {
|
|
901
908
|
matchResult_1 = 1;
|
|
902
909
|
}
|
|
@@ -90,13 +90,13 @@ class LDComment {
|
|
|
90
90
|
return dt.SetProperty(LDComment.name, name, unwrap(context));
|
|
91
91
|
}
|
|
92
92
|
static genID(name, text) {
|
|
93
|
-
return clean(text == null ? concat("#LDComment_", name) : concat("#LDComment_", name, "_",
|
|
93
|
+
return clean(text == null ? concat("#LDComment_", name) : concat("#LDComment_", name, "_", text));
|
|
94
94
|
}
|
|
95
95
|
static validate(dt, context) {
|
|
96
96
|
return dt.HasType(LDComment.schemaType, unwrap(context)) && dt.HasProperty(LDComment.name, unwrap(context));
|
|
97
97
|
}
|
|
98
98
|
static create(name, id, text, context) {
|
|
99
|
-
const dt = new LDNode(id == null ? LDComment.genID(name, unwrap(text)) :
|
|
99
|
+
const dt = new LDNode(id == null ? LDComment.genID(name, unwrap(text)) : id, [LDComment.schemaType], void 0, unwrap(context));
|
|
100
100
|
dt.SetProperty(LDComment.name, name, unwrap(context));
|
|
101
101
|
dt.SetOptionalProperty(LDComment.text, text, unwrap(context));
|
|
102
102
|
return dt;
|
|
@@ -199,9 +199,9 @@ class LDComputationalWorkflow {
|
|
|
199
199
|
const matchValue = cw.TryGetPropertyAsSingleNode(LDComputationalWorkflow.sdPublisher, unwrap(graph), unwrap(context));
|
|
200
200
|
let matchResult = void 0, a_1 = void 0;
|
|
201
201
|
if (matchValue != null) {
|
|
202
|
-
if (ldObject =
|
|
202
|
+
if (ldObject = matchValue, context_1 = context, LDPerson.validate(ldObject, unwrap(context_1)) ? true : LDOrganization.validate(ldObject, unwrap(context_1))) {
|
|
203
203
|
matchResult = 0;
|
|
204
|
-
a_1 =
|
|
204
|
+
a_1 = matchValue;
|
|
205
205
|
} else {
|
|
206
206
|
matchResult = 1;
|
|
207
207
|
}
|
|
@@ -339,7 +339,7 @@ class LDComputationalWorkflow {
|
|
|
339
339
|
return lp.HasType(LDComputationalWorkflow.schemaType, unwrap(context));
|
|
340
340
|
}
|
|
341
341
|
static create(id, inputs, outputs, creator, dateCreated, licenses, name, programmingLanguages, sdPublisher, url, version, description, hasParts, comments, context) {
|
|
342
|
-
const cw = new LDNode(id == null ? clean(concat("#ComputationalWorkflow_", createMissingIdentifier())) :
|
|
342
|
+
const cw = new LDNode(id == null ? clean(concat("#ComputationalWorkflow_", createMissingIdentifier())) : id, [LDComputationalWorkflow.schemaType], void 0, unwrap(context));
|
|
343
343
|
cw.SetOptionalProperty(LDComputationalWorkflow.input, inputs, unwrap(context));
|
|
344
344
|
cw.SetOptionalProperty(LDComputationalWorkflow.output, outputs, unwrap(context));
|
|
345
345
|
cw.SetOptionalProperty(LDComputationalWorkflow.creator, creator, unwrap(context));
|
|
@@ -192,10 +192,10 @@ class LDComputerLanguage {
|
|
|
192
192
|
const cl = new LDNode(id, [LDComputerLanguage.schemaType], void 0, unwrap(context));
|
|
193
193
|
let identifier_1;
|
|
194
194
|
const option_1 = identifier;
|
|
195
|
-
identifier_1 = option_1 != null ? new LDRef(
|
|
195
|
+
identifier_1 = option_1 != null ? new LDRef(option_1) : void 0;
|
|
196
196
|
let url_1;
|
|
197
197
|
const option_3 = url;
|
|
198
|
-
url_1 = option_3 != null ? new LDRef(
|
|
198
|
+
url_1 = option_3 != null ? new LDRef(option_3) : void 0;
|
|
199
199
|
cl.SetOptionalProperty(LDComputerLanguage.name, name, unwrap(context));
|
|
200
200
|
cl.SetOptionalProperty(LDComputerLanguage.alternateName, alternateName, unwrap(context));
|
|
201
201
|
cl.SetOptionalProperty(LDComputerLanguage.identifier, identifier_1, unwrap(context));
|