@nfdi4plants/arctrl 3.0.0-beta.4 → 3.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +894 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
- package/dist/ts/ts/ARC.d.ts +12 -5
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +172 -93
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +8 -1
- package/dist/ts/ts/Contract/ArcAssay.js +14 -5
- package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
- package/dist/ts/ts/Contract/ArcRun.js +19 -6
- package/dist/ts/ts/Contract/ArcStudy.js +19 -6
- package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
- package/dist/ts/ts/Contract/Contract.js +42 -1
- package/dist/ts/ts/Contract/Datamap.js +61 -17
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +22 -6
- package/dist/ts/ts/Contract/License.d.ts +5 -0
- package/dist/ts/ts/Contract/License.d.ts.map +1 -0
- package/dist/ts/ts/Contract/License.js +34 -0
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
- package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
- package/dist/ts/ts/Conversion.js +321 -48
- package/dist/ts/ts/Core/ArcTypes.js +216 -15
- package/dist/ts/ts/Core/Comment.js +11 -1
- package/dist/ts/ts/Core/CommentList.js +77 -2
- package/dist/ts/ts/Core/Conversion.js +123 -43
- package/dist/ts/ts/Core/Data.js +9 -2
- package/dist/ts/ts/Core/DataContext.js +19 -4
- package/dist/ts/ts/Core/DataFile.js +38 -1
- package/dist/ts/ts/Core/DataMap.js +111 -5
- package/dist/ts/ts/Core/Helper/Collections.js +106 -5
- package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
- package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
- package/dist/ts/ts/Core/Helper/Regex.js +134 -2
- package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
- package/dist/ts/ts/Core/IdentifierSetters.d.ts +3 -1
- package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
- package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
- package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
- package/dist/ts/ts/Core/Person.js +8 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
- package/dist/ts/ts/Core/Process/Component.js +37 -4
- package/dist/ts/ts/Core/Process/Factor.js +9 -4
- package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
- package/dist/ts/ts/Core/Process/Material.js +14 -4
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
- package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
- package/dist/ts/ts/Core/Process/Process.js +150 -7
- package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
- package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
- package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
- package/dist/ts/ts/Core/Process/Protocol.js +78 -4
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
- package/dist/ts/ts/Core/Process/Sample.js +21 -3
- package/dist/ts/ts/Core/Process/Source.js +13 -3
- package/dist/ts/ts/Core/Publication.js +8 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
- package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
- package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
- package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
- package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
- package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
- package/dist/ts/ts/Core/Template.js +12 -2
- package/dist/ts/ts/Core/Templates.js +8 -4
- package/dist/ts/ts/Core/Value.js +7 -3
- package/dist/ts/ts/CrossAsync.js +11 -1
- package/dist/ts/ts/FileSystem/Commit.js +18 -0
- package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
- package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +17 -3
- package/dist/ts/ts/Json/Assay.d.ts +1 -1
- package/dist/ts/ts/Json/Assay.js +28 -28
- package/dist/ts/ts/Json/Comment.js +10 -10
- package/dist/ts/ts/Json/Data.js +6 -6
- package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
- package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
- package/dist/ts/ts/Json/Decode.js +14 -9
- package/dist/ts/ts/Json/Encode.js +43 -11
- package/dist/ts/ts/Json/Investigation.js +40 -22
- package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
- package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
- package/dist/ts/ts/Json/Person.js +26 -26
- package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +27 -7
- package/dist/ts/ts/Json/Process/Factor.js +3 -3
- package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
- package/dist/ts/ts/Json/Process/Material.js +9 -9
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
- package/dist/ts/ts/Json/Process/Process.js +12 -12
- package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
- package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
- package/dist/ts/ts/Json/Process/Protocol.js +13 -13
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
- package/dist/ts/ts/Json/Process/Sample.js +14 -14
- package/dist/ts/ts/Json/Process/Source.js +9 -9
- package/dist/ts/ts/Json/Process/Value.js +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +1 -1
- package/dist/ts/ts/Json/Publication.js +6 -6
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
- package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
- package/dist/ts/ts/Json/Run.d.ts +11 -0
- package/dist/ts/ts/Json/Run.d.ts.map +1 -0
- package/dist/ts/ts/Json/Run.js +76 -0
- package/dist/ts/ts/Json/StringTable.js +1 -1
- package/dist/ts/ts/Json/Study.js +34 -34
- package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
- package/dist/ts/ts/Json/Table/CellTable.js +6 -6
- package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
- package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
- package/dist/ts/ts/Json/Table/IOType.js +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +7 -7
- package/dist/ts/ts/Json/Table/Templates.js +92 -6
- package/dist/ts/ts/Json/Workflow.d.ts +11 -0
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Json/Workflow.js +93 -0
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
- package/dist/ts/ts/Json.d.ts +34 -2
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +129 -2
- package/dist/ts/ts/JsonIO/Assay.js +15 -3
- package/dist/ts/ts/JsonIO/Investigation.js +15 -3
- package/dist/ts/ts/JsonIO/LDObject.js +17 -3
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
- package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
- package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Person.js +67 -0
- package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Run.js +50 -0
- package/dist/ts/ts/JsonIO/Study.js +15 -3
- package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
- package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
- package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Workflow.js +50 -0
- package/dist/ts/ts/License.d.ts +39 -0
- package/dist/ts/ts/License.d.ts.map +1 -0
- package/dist/ts/ts/License.js +123 -0
- package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
- package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
- package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
- package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
- package/dist/ts/ts/ROCrate/LDContext.js +15 -6
- package/dist/ts/ts/ROCrate/LDObject.js +53 -17
- package/dist/ts/ts/ROCrateIO.d.ts +9 -3
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +67 -14
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
- package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
- package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/Template.Web.js +5 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
- package/dist/ts/ts/Xlsx.d.ts +21 -1
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +81 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
- package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
- package/package.json +1 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { fromString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
2
|
-
import { OntologyAnnotation_decoder,
|
|
2
|
+
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder, OntologyAnnotation_ROCrate_decoderDefinedTerm, OntologyAnnotation_ROCrate_encoderDefinedTerm, OntologyAnnotation_ISAJson_decoder, OntologyAnnotation_ISAJson_encoder } from '../Json/OntologyAnnotation.js';
|
|
3
3
|
import { toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
4
|
import { toString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
5
5
|
import { defaultSpaces } from '../Json/Encode.js';
|
|
6
|
+
import { unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
7
|
|
|
7
8
|
function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromJsonString_Static_Z721C83C5(s) {
|
|
8
9
|
let arg;
|
|
@@ -20,6 +21,9 @@ function ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136
|
|
|
20
21
|
return toString(defaultSpaces(spaces), value);
|
|
21
22
|
};
|
|
22
23
|
}
|
|
24
|
+
function ARCtrl_OntologyAnnotation__OntologyAnnotation_ToJsonString_71136F3F(this$, spaces) {
|
|
25
|
+
return ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
26
|
+
}
|
|
23
27
|
function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
24
28
|
let arg;
|
|
25
29
|
const matchValue = fromString(OntologyAnnotation_ROCrate_decoderDefinedTerm, s);
|
|
@@ -36,6 +40,9 @@ function ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Stati
|
|
|
36
40
|
return toString(defaultSpaces(spaces), value);
|
|
37
41
|
};
|
|
38
42
|
}
|
|
43
|
+
function ARCtrl_OntologyAnnotation__OntologyAnnotation_ToROCrateJsonString_71136F3F(this$, spaces) {
|
|
44
|
+
return ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
45
|
+
}
|
|
39
46
|
function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_Static_Z721C83C5(s) {
|
|
40
47
|
let arg;
|
|
41
48
|
const matchValue = fromString(OntologyAnnotation_ISAJson_decoder, s);
|
|
@@ -52,5 +59,8 @@ function ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71
|
|
|
52
59
|
return toString(defaultSpaces(spaces), value);
|
|
53
60
|
};
|
|
54
61
|
}
|
|
62
|
+
function ARCtrl_OntologyAnnotation__OntologyAnnotation_ToISAJsonString_71136F3F(this$, spaces) {
|
|
63
|
+
return ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
64
|
+
}
|
|
55
65
|
|
|
56
|
-
export { ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Static_71136F3F };
|
|
66
|
+
export { ARCtrl_OntologyAnnotation__OntologyAnnotation_ToISAJsonString_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_ToJsonString_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_ToROCrateJsonString_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromISAJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_OntologyAnnotation__OntologyAnnotation_toISAJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toJsonString_Static_71136F3F, ARCtrl_OntologyAnnotation__OntologyAnnotation_toROCrateJsonString_Static_71136F3F };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Person } from '../Core/Person.js';
|
|
2
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
3
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
4
|
+
export declare function ARCtrl_Person__Person_fromJsonString_Static_Z721C83C5(s: string): Person;
|
|
5
|
+
export declare function ARCtrl_Person__Person_toJsonString_Static_71136F3F(spaces?: int32): ((arg0: Person) => string);
|
|
6
|
+
export declare function ARCtrl_Person__Person_toJsonString_71136F3F(this$: Person, spaces: Option<int32>): string;
|
|
7
|
+
export declare function ARCtrl_Person__Person_fromROCrateJsonString_Static_Z721C83C5(s: string): Person;
|
|
8
|
+
/**
|
|
9
|
+
* exports in json-ld format
|
|
10
|
+
*/
|
|
11
|
+
export declare function ARCtrl_Person__Person_toROCrateJsonString_Static_71136F3F(spaces?: int32): ((arg0: Person) => string);
|
|
12
|
+
export declare function ARCtrl_Person__Person_toROCrateJsonString_71136F3F(this$: Person, spaces: Option<int32>): string;
|
|
13
|
+
export declare function ARCtrl_Person__Person_fromISAJsonString_Static_Z721C83C5(s: string): Person;
|
|
14
|
+
export declare function ARCtrl_Person__Person_toISAJsonString_Static_Z3B036AA(spaces?: int32, useIDReferencing?: boolean): ((arg0: Person) => string);
|
|
15
|
+
export declare function ARCtrl_Person__Person_toISAJsonString_Z3B036AA(this$: Person, spaces: Option<int32>, useIDReferencing: Option<boolean>): string;
|
|
16
|
+
//# sourceMappingURL=Person.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/JsonIO/Person.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM3C,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAc,MAAM,EAAU,MAAM,uCAAuC,CAAC;AAGnF,wBAAgB,qDAAqD,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CASvF;AAED,wBAAgB,kDAAkD,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAK7G;AAED,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAExG;AAED,wBAAgB,4DAA4D,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAS9F;AAED;;GAEG;AACH,wBAAgB,yDAAyD,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAKpH;AAED,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAE/G;AAED,wBAAgB,wDAAwD,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAS1F;AAED,wBAAgB,qDAAqD,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAM5I;AAED,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,gBAAgB,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAE9I"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { fromString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
2
|
+
import { decoder, encoder, ROCrate_decoder, ROCrate_encoder, ISAJson_decoder, ISAJson_encoder } from '../Json/Person.js';
|
|
3
|
+
import { toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
|
+
import { toString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
5
|
+
import { defaultSpaces } from '../Json/Encode.js';
|
|
6
|
+
import { unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
7
|
+
|
|
8
|
+
function ARCtrl_Person__Person_fromJsonString_Static_Z721C83C5(s) {
|
|
9
|
+
let arg;
|
|
10
|
+
const matchValue = fromString(decoder, s);
|
|
11
|
+
if (matchValue.tag === /* Error */
|
|
12
|
+
1) {
|
|
13
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
14
|
+
} else {
|
|
15
|
+
return matchValue.fields[0];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function ARCtrl_Person__Person_toJsonString_Static_71136F3F(spaces) {
|
|
19
|
+
return (obj) => {
|
|
20
|
+
const value = encoder(obj);
|
|
21
|
+
return toString(defaultSpaces(spaces), value);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function ARCtrl_Person__Person_toJsonString_71136F3F(this$, spaces) {
|
|
25
|
+
return ARCtrl_Person__Person_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
26
|
+
}
|
|
27
|
+
function ARCtrl_Person__Person_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
28
|
+
let arg;
|
|
29
|
+
const matchValue = fromString(ROCrate_decoder, s);
|
|
30
|
+
if (matchValue.tag === /* Error */
|
|
31
|
+
1) {
|
|
32
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
33
|
+
} else {
|
|
34
|
+
return matchValue.fields[0];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function ARCtrl_Person__Person_toROCrateJsonString_Static_71136F3F(spaces) {
|
|
38
|
+
return (obj) => {
|
|
39
|
+
const value = ROCrate_encoder(obj);
|
|
40
|
+
return toString(defaultSpaces(spaces), value);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ARCtrl_Person__Person_toROCrateJsonString_71136F3F(this$, spaces) {
|
|
44
|
+
return ARCtrl_Person__Person_toROCrateJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
45
|
+
}
|
|
46
|
+
function ARCtrl_Person__Person_fromISAJsonString_Static_Z721C83C5(s) {
|
|
47
|
+
let arg;
|
|
48
|
+
const matchValue = fromString(ISAJson_decoder, s);
|
|
49
|
+
if (matchValue.tag === /* Error */
|
|
50
|
+
1) {
|
|
51
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
52
|
+
} else {
|
|
53
|
+
return matchValue.fields[0];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function ARCtrl_Person__Person_toISAJsonString_Static_Z3B036AA(spaces, useIDReferencing) {
|
|
57
|
+
const idMap = defaultArg(useIDReferencing, false) ? /* @__PURE__ */ new Map([]) : void 0;
|
|
58
|
+
return (obj) => {
|
|
59
|
+
const value = ISAJson_encoder(idMap, obj);
|
|
60
|
+
return toString(defaultSpaces(spaces), value);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function ARCtrl_Person__Person_toISAJsonString_Z3B036AA(this$, spaces, useIDReferencing) {
|
|
64
|
+
return ARCtrl_Person__Person_toISAJsonString_Static_Z3B036AA(unwrap(spaces), unwrap(useIDReferencing))(this$);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { ARCtrl_Person__Person_fromISAJsonString_Static_Z721C83C5, ARCtrl_Person__Person_fromJsonString_Static_Z721C83C5, ARCtrl_Person__Person_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_Person__Person_toISAJsonString_Static_Z3B036AA, ARCtrl_Person__Person_toISAJsonString_Z3B036AA, ARCtrl_Person__Person_toJsonString_71136F3F, ARCtrl_Person__Person_toJsonString_Static_71136F3F, ARCtrl_Person__Person_toROCrateJsonString_71136F3F, ARCtrl_Person__Person_toROCrateJsonString_Static_71136F3F };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ArcRun } from '../Core/ArcTypes.js';
|
|
2
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
3
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
4
|
+
export declare function ARCtrl_ArcRun__ArcRun_fromJsonString_Static_Z721C83C5(s: string): ArcRun;
|
|
5
|
+
export declare function ARCtrl_ArcRun__ArcRun_toJsonString_Static_71136F3F(spaces?: int32): ((arg0: ArcRun) => string);
|
|
6
|
+
export declare function ARCtrl_ArcRun__ArcRun_ToJsonString_71136F3F(this$: ArcRun, spaces: Option<int32>): string;
|
|
7
|
+
export declare function ARCtrl_ArcRun__ArcRun_fromCompressedJsonString_Static_Z721C83C5(s: string): ArcRun;
|
|
8
|
+
export declare function ARCtrl_ArcRun__ArcRun_toCompressedJsonString_Static_71136F3F(spaces?: int32): ((arg0: ArcRun) => string);
|
|
9
|
+
export declare function ARCtrl_ArcRun__ArcRun_ToCompressedJsonString_71136F3F(this$: ArcRun, spaces: Option<int32>): string;
|
|
10
|
+
//# sourceMappingURL=Run.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Run.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/JsonIO/Run.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAM7C,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAc,MAAM,EAAU,MAAM,uCAAuC,CAAC;AAMnF,wBAAgB,qDAAqD,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CASvF;AAED,wBAAgB,kDAAkD,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAK7G;AAED,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAExG;AAED,wBAAgB,+DAA+D,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAejG;AAED,wBAAgB,4DAA4D,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAEvH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAElH"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { fromString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
2
|
+
import { decoder, encoder, decoderCompressed, encoderCompressed } from '../Json/Run.js';
|
|
3
|
+
import { toText, printf, toFail } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
|
+
import { toString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
5
|
+
import { defaultSpaces } from '../Json/Encode.js';
|
|
6
|
+
import { unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
7
|
+
import { decode, encode } from './Table/Compression.js';
|
|
8
|
+
|
|
9
|
+
function ARCtrl_ArcRun__ArcRun_fromJsonString_Static_Z721C83C5(s) {
|
|
10
|
+
let arg;
|
|
11
|
+
const matchValue = fromString(decoder, s);
|
|
12
|
+
if (matchValue.tag === /* Error */
|
|
13
|
+
1) {
|
|
14
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
15
|
+
} else {
|
|
16
|
+
return matchValue.fields[0];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function ARCtrl_ArcRun__ArcRun_toJsonString_Static_71136F3F(spaces) {
|
|
20
|
+
return (obj) => {
|
|
21
|
+
const value = encoder(obj);
|
|
22
|
+
return toString(defaultSpaces(spaces), value);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ARCtrl_ArcRun__ArcRun_ToJsonString_71136F3F(this$, spaces) {
|
|
26
|
+
return ARCtrl_ArcRun__ArcRun_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
27
|
+
}
|
|
28
|
+
function ARCtrl_ArcRun__ArcRun_fromCompressedJsonString_Static_Z721C83C5(s) {
|
|
29
|
+
let arg;
|
|
30
|
+
try {
|
|
31
|
+
const matchValue = fromString(decode(decoderCompressed), s);
|
|
32
|
+
if (matchValue.tag === /* Error */
|
|
33
|
+
1) {
|
|
34
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
35
|
+
} else {
|
|
36
|
+
return matchValue.fields[0];
|
|
37
|
+
}
|
|
38
|
+
} catch (e_1) {
|
|
39
|
+
const arg_1 = e_1.message;
|
|
40
|
+
return toFail(printf("Error. Unable to parse json string to ArcRun: %s"))(arg_1);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function ARCtrl_ArcRun__ArcRun_toCompressedJsonString_Static_71136F3F(spaces) {
|
|
44
|
+
return (obj) => toString(defaultArg(spaces, 0), encode(encoderCompressed, obj));
|
|
45
|
+
}
|
|
46
|
+
function ARCtrl_ArcRun__ArcRun_ToCompressedJsonString_71136F3F(this$, spaces) {
|
|
47
|
+
return ARCtrl_ArcRun__ArcRun_toCompressedJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { ARCtrl_ArcRun__ArcRun_ToCompressedJsonString_71136F3F, ARCtrl_ArcRun__ArcRun_ToJsonString_71136F3F, ARCtrl_ArcRun__ArcRun_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcRun__ArcRun_fromJsonString_Static_Z721C83C5, ARCtrl_ArcRun__ArcRun_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcRun__ArcRun_toJsonString_Static_71136F3F };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { fromString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
2
|
-
import { decoder, decoderCompressed,
|
|
2
|
+
import { decoder, encoder, decoderCompressed, encoderCompressed, ROCrate_decoder, ROCrate_encoder, ISAJson_decoder, ISAJson_encoder } from '../Json/Study.js';
|
|
3
3
|
import { toText, printf, toFail } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
4
|
import { toString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
5
5
|
import { defaultSpaces } from '../Json/Encode.js';
|
|
6
|
-
import { defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
|
+
import { unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
7
7
|
import { decode, encode } from './Table/Compression.js';
|
|
8
8
|
|
|
9
9
|
function ARCtrl_ArcStudy__ArcStudy_fromJsonString_Static_Z721C83C5(s) {
|
|
@@ -22,6 +22,9 @@ function ARCtrl_ArcStudy__ArcStudy_toJsonString_Static_71136F3F(spaces) {
|
|
|
22
22
|
return toString(defaultSpaces(spaces), value);
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
+
function ARCtrl_ArcStudy__ArcStudy_ToJsonString_71136F3F(this$, spaces) {
|
|
26
|
+
return ARCtrl_ArcStudy__ArcStudy_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
27
|
+
}
|
|
25
28
|
function ARCtrl_ArcStudy__ArcStudy_fromCompressedJsonString_Static_Z721C83C5(s) {
|
|
26
29
|
let arg;
|
|
27
30
|
try {
|
|
@@ -40,6 +43,9 @@ function ARCtrl_ArcStudy__ArcStudy_fromCompressedJsonString_Static_Z721C83C5(s)
|
|
|
40
43
|
function ARCtrl_ArcStudy__ArcStudy_toCompressedJsonString_Static_71136F3F(spaces) {
|
|
41
44
|
return (obj) => toString(defaultArg(spaces, 0), encode(encoderCompressed, obj));
|
|
42
45
|
}
|
|
46
|
+
function ARCtrl_ArcStudy__ArcStudy_ToCompressedJsonString_71136F3F(this$, spaces) {
|
|
47
|
+
return ARCtrl_ArcStudy__ArcStudy_toCompressedJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
48
|
+
}
|
|
43
49
|
function ARCtrl_ArcStudy__ArcStudy_fromROCrateJsonString_Static_Z721C83C5(s) {
|
|
44
50
|
let arg;
|
|
45
51
|
const matchValue = fromString(ROCrate_decoder, s);
|
|
@@ -56,6 +62,9 @@ function ARCtrl_ArcStudy__ArcStudy_toROCrateJsonString_Static_3BA23086(assays, s
|
|
|
56
62
|
return toString(defaultSpaces(spaces), value);
|
|
57
63
|
};
|
|
58
64
|
}
|
|
65
|
+
function ARCtrl_ArcStudy__ArcStudy_ToROCrateJsonString_3BA23086(this$, assays, spaces) {
|
|
66
|
+
return ARCtrl_ArcStudy__ArcStudy_toROCrateJsonString_Static_3BA23086(unwrap(assays), unwrap(spaces))(this$);
|
|
67
|
+
}
|
|
59
68
|
function ARCtrl_ArcStudy__ArcStudy_fromISAJsonString_Static_Z721C83C5(s) {
|
|
60
69
|
let arg;
|
|
61
70
|
const matchValue = fromString(ISAJson_decoder, s);
|
|
@@ -73,5 +82,8 @@ function ARCtrl_ArcStudy__ArcStudy_toISAJsonString_Static_Z3FD920F1(assays, spac
|
|
|
73
82
|
return toString(defaultSpaces(spaces), value);
|
|
74
83
|
};
|
|
75
84
|
}
|
|
85
|
+
function ARCtrl_ArcStudy__ArcStudy_ToISAJsonString_Z3FD920F1(this$, assays, spaces, useIDReferencing) {
|
|
86
|
+
return ARCtrl_ArcStudy__ArcStudy_toISAJsonString_Static_Z3FD920F1(unwrap(assays), unwrap(spaces), unwrap(useIDReferencing))(this$);
|
|
87
|
+
}
|
|
76
88
|
|
|
77
|
-
export { ARCtrl_ArcStudy__ArcStudy_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_toISAJsonString_Static_Z3FD920F1, ARCtrl_ArcStudy__ArcStudy_toJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_toROCrateJsonString_Static_3BA23086 };
|
|
89
|
+
export { ARCtrl_ArcStudy__ArcStudy_ToCompressedJsonString_71136F3F, ARCtrl_ArcStudy__ArcStudy_ToISAJsonString_Z3FD920F1, ARCtrl_ArcStudy__ArcStudy_ToJsonString_71136F3F, ARCtrl_ArcStudy__ArcStudy_ToROCrateJsonString_3BA23086, ARCtrl_ArcStudy__ArcStudy_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromISAJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_fromROCrateJsonString_Static_Z721C83C5, ARCtrl_ArcStudy__ArcStudy_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_toISAJsonString_Static_Z3FD920F1, ARCtrl_ArcStudy__ArcStudy_toJsonString_Static_71136F3F, ARCtrl_ArcStudy__ArcStudy_toROCrateJsonString_Static_3BA23086 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dictionary_init } from '../../Core/Helper/Collections.js';
|
|
2
2
|
import { toString } from '../../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
3
|
-
import { decoder as decoder$2
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { encoder, arrayFromMap, decoder as decoder$2 } from '../../Json/Table/CellTable.js';
|
|
4
|
+
import { encoder as encoder$1, arrayFromMap as arrayFromMap$1, decoder as decoder$1 } from '../../Json/Table/OATable.js';
|
|
5
|
+
import { encoder as encoder$2, arrayFromMap as arrayFromMap$2, decoder } from '../../Json/StringTable.js';
|
|
6
6
|
import { map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
7
7
|
import { object } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
8
8
|
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { map } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
2
|
+
import { Template_encoder, Template_decoder, Template_decoderCompressed, Template_encoderCompressed } from '../../Json/Table/Templates.js';
|
|
2
3
|
import { array } from '../../fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js';
|
|
3
4
|
import { toText, printf, toFail } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
5
|
import { fromString } from '../../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
5
|
-
import '../../Json/
|
|
6
|
-
import '../../Json/
|
|
7
|
-
import '
|
|
6
|
+
import { toString } from '../../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
7
|
+
import { defaultSpaces } from '../../Json/Encode.js';
|
|
8
|
+
import { unwrap, defaultArg } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
9
|
+
import { decode, encode } from './Compression.js';
|
|
8
10
|
|
|
11
|
+
function Templates_encoder(templates) {
|
|
12
|
+
const values = map(Template_encoder, templates);
|
|
13
|
+
return {
|
|
14
|
+
Encode(helpers) {
|
|
15
|
+
const arg = map((v) => v.Encode(helpers), values);
|
|
16
|
+
return helpers.encodeArray(arg);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
}
|
|
9
20
|
const Templates_decoder = array(Template_decoder);
|
|
10
21
|
function Templates_fromJsonString(jsonString) {
|
|
11
22
|
let arg;
|
|
@@ -21,5 +32,49 @@ function Templates_fromJsonString(jsonString) {
|
|
|
21
32
|
return toFail(printf("Error. Given json string cannot be parsed to Templates map: %A"))(exn);
|
|
22
33
|
}
|
|
23
34
|
}
|
|
35
|
+
function Templates_toJsonString(spaces, templates) {
|
|
36
|
+
return toString(spaces, Templates_encoder(templates));
|
|
37
|
+
}
|
|
38
|
+
function ARCtrl_Template__Template_fromJsonString_Static_Z721C83C5(jsonString) {
|
|
39
|
+
let arg;
|
|
40
|
+
try {
|
|
41
|
+
const matchValue = fromString(Template_decoder, jsonString);
|
|
42
|
+
if (matchValue.tag === /* Error */
|
|
43
|
+
1) {
|
|
44
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
45
|
+
} else {
|
|
46
|
+
return matchValue.fields[0];
|
|
47
|
+
}
|
|
48
|
+
} catch (exn) {
|
|
49
|
+
return toFail(printf("Error. Given json string cannot be parsed to Template: %A"))(exn);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function ARCtrl_Template__Template_toJsonString_Static_71136F3F(spaces) {
|
|
53
|
+
return (template) => toString(defaultSpaces(spaces), Template_encoder(template));
|
|
54
|
+
}
|
|
55
|
+
function ARCtrl_Template__Template_toJsonString_71136F3F(this$, spaces) {
|
|
56
|
+
return ARCtrl_Template__Template_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
57
|
+
}
|
|
58
|
+
function ARCtrl_Template__Template_fromCompressedJsonString_Static_Z721C83C5(s) {
|
|
59
|
+
let arg;
|
|
60
|
+
try {
|
|
61
|
+
const matchValue = fromString(decode(Template_decoderCompressed), s);
|
|
62
|
+
if (matchValue.tag === /* Error */
|
|
63
|
+
1) {
|
|
64
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
65
|
+
} else {
|
|
66
|
+
return matchValue.fields[0];
|
|
67
|
+
}
|
|
68
|
+
} catch (e_1) {
|
|
69
|
+
const arg_1 = e_1.message;
|
|
70
|
+
return toFail(printf("Error. Unable to parse json string to ArcStudy: %s"))(arg_1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function ARCtrl_Template__Template_toCompressedJsonString_Static_71136F3F(spaces) {
|
|
74
|
+
return (obj) => toString(defaultArg(spaces, 0), encode(Template_encoderCompressed, obj));
|
|
75
|
+
}
|
|
76
|
+
function ARCtrl_Template__Template_toCompressedJsonString_71136F3F(this$, spaces) {
|
|
77
|
+
return ARCtrl_Template__Template_toCompressedJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
78
|
+
}
|
|
24
79
|
|
|
25
|
-
export { Templates_decoder, Templates_fromJsonString };
|
|
80
|
+
export { ARCtrl_Template__Template_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_Template__Template_fromJsonString_Static_Z721C83C5, ARCtrl_Template__Template_toCompressedJsonString_71136F3F, ARCtrl_Template__Template_toCompressedJsonString_Static_71136F3F, ARCtrl_Template__Template_toJsonString_71136F3F, ARCtrl_Template__Template_toJsonString_Static_71136F3F, Templates_decoder, Templates_encoder, Templates_fromJsonString, Templates_toJsonString };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ArcWorkflow } from '../Core/ArcTypes.js';
|
|
2
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
3
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
4
|
+
export declare function ARCtrl_ArcWorkflow__ArcWorkflow_fromJsonString_Static_Z721C83C5(s: string): ArcWorkflow;
|
|
5
|
+
export declare function ARCtrl_ArcWorkflow__ArcWorkflow_toJsonString_Static_71136F3F(spaces?: int32): ((arg0: ArcWorkflow) => string);
|
|
6
|
+
export declare function ARCtrl_ArcWorkflow__ArcWorkflow_ToJsonString_71136F3F(this$: ArcWorkflow, spaces: Option<int32>): string;
|
|
7
|
+
export declare function ARCtrl_ArcWorkflow__ArcWorkflow_fromCompressedJsonString_Static_Z721C83C5(s: string): ArcWorkflow;
|
|
8
|
+
export declare function ARCtrl_ArcWorkflow__ArcWorkflow_toCompressedJsonString_Static_71136F3F(spaces?: int32): ((arg0: ArcWorkflow) => string);
|
|
9
|
+
export declare function ARCtrl_ArcWorkflow__ArcWorkflow_ToCompressedJsonString_71136F3F(this$: ArcWorkflow, spaces: Option<int32>): string;
|
|
10
|
+
//# sourceMappingURL=Workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workflow.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/JsonIO/Workflow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAMlD,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAc,MAAM,EAAU,MAAM,uCAAuC,CAAC;AAMnF,wBAAgB,+DAA+D,CAAC,CAAC,EAAE,MAAM,GAAG,WAAW,CAStG;AAED,wBAAgB,4DAA4D,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,WAAW,KAAK,MAAM,CAAC,CAK5H;AAED,wBAAgB,qDAAqD,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAEvH;AAED,wBAAgB,yEAAyE,CAAC,CAAC,EAAE,MAAM,GAAG,WAAW,CAehH;AAED,wBAAgB,sEAAsE,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,WAAW,KAAK,MAAM,CAAC,CAEtI;AAED,wBAAgB,+DAA+D,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAEjI"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { fromString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js';
|
|
2
|
+
import { decoder, encoder, decoderCompressed, encoderCompressed } from '../Json/Workflow.js';
|
|
3
|
+
import { toText, printf, toFail } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
|
+
import { toString } from '../fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js';
|
|
5
|
+
import { defaultSpaces } from '../Json/Encode.js';
|
|
6
|
+
import { unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
7
|
+
import { decode, encode } from './Table/Compression.js';
|
|
8
|
+
|
|
9
|
+
function ARCtrl_ArcWorkflow__ArcWorkflow_fromJsonString_Static_Z721C83C5(s) {
|
|
10
|
+
let arg;
|
|
11
|
+
const matchValue = fromString(decoder, s);
|
|
12
|
+
if (matchValue.tag === /* Error */
|
|
13
|
+
1) {
|
|
14
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
15
|
+
} else {
|
|
16
|
+
return matchValue.fields[0];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function ARCtrl_ArcWorkflow__ArcWorkflow_toJsonString_Static_71136F3F(spaces) {
|
|
20
|
+
return (obj) => {
|
|
21
|
+
const value = encoder(obj);
|
|
22
|
+
return toString(defaultSpaces(spaces), value);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ARCtrl_ArcWorkflow__ArcWorkflow_ToJsonString_71136F3F(this$, spaces) {
|
|
26
|
+
return ARCtrl_ArcWorkflow__ArcWorkflow_toJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
27
|
+
}
|
|
28
|
+
function ARCtrl_ArcWorkflow__ArcWorkflow_fromCompressedJsonString_Static_Z721C83C5(s) {
|
|
29
|
+
let arg;
|
|
30
|
+
try {
|
|
31
|
+
const matchValue = fromString(decode(decoderCompressed), s);
|
|
32
|
+
if (matchValue.tag === /* Error */
|
|
33
|
+
1) {
|
|
34
|
+
throw new Error((arg = matchValue.fields[0], toText(printf("Error decoding string: %O"))(arg)));
|
|
35
|
+
} else {
|
|
36
|
+
return matchValue.fields[0];
|
|
37
|
+
}
|
|
38
|
+
} catch (e_1) {
|
|
39
|
+
const arg_1 = e_1.message;
|
|
40
|
+
return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(arg_1);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function ARCtrl_ArcWorkflow__ArcWorkflow_toCompressedJsonString_Static_71136F3F(spaces) {
|
|
44
|
+
return (obj) => toString(defaultArg(spaces, 0), encode(encoderCompressed, obj));
|
|
45
|
+
}
|
|
46
|
+
function ARCtrl_ArcWorkflow__ArcWorkflow_ToCompressedJsonString_71136F3F(this$, spaces) {
|
|
47
|
+
return ARCtrl_ArcWorkflow__ArcWorkflow_toCompressedJsonString_Static_71136F3F(unwrap(spaces))(this$);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { ARCtrl_ArcWorkflow__ArcWorkflow_ToCompressedJsonString_71136F3F, ARCtrl_ArcWorkflow__ArcWorkflow_ToJsonString_71136F3F, ARCtrl_ArcWorkflow__ArcWorkflow_fromCompressedJsonString_Static_Z721C83C5, ARCtrl_ArcWorkflow__ArcWorkflow_fromJsonString_Static_Z721C83C5, ARCtrl_ArcWorkflow__ArcWorkflow_toCompressedJsonString_Static_71136F3F, ARCtrl_ArcWorkflow__ArcWorkflow_toJsonString_Static_71136F3F };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
2
|
+
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
3
|
+
import { Contract } from './Contract/Contract.js';
|
|
4
|
+
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
5
|
+
export type LicenseContentType = "fulltext";
|
|
6
|
+
export declare class License {
|
|
7
|
+
_type: LicenseContentType;
|
|
8
|
+
_content: string;
|
|
9
|
+
_staticHash: int32;
|
|
10
|
+
_path: string;
|
|
11
|
+
constructor(contentType: LicenseContentType, content: string, path?: string);
|
|
12
|
+
get Type(): LicenseContentType;
|
|
13
|
+
set Type(h: LicenseContentType);
|
|
14
|
+
get Content(): string;
|
|
15
|
+
set Content(h: string);
|
|
16
|
+
get StaticHash(): int32;
|
|
17
|
+
set StaticHash(h: int32);
|
|
18
|
+
get Path(): string;
|
|
19
|
+
set Path(p: string);
|
|
20
|
+
static initFulltext(content: string, path?: string): License;
|
|
21
|
+
ToCreateContract(): Contract;
|
|
22
|
+
ToUpdateContract(): Contract;
|
|
23
|
+
ToDeleteContract(): Contract;
|
|
24
|
+
GetRenameContracts(newPath: string): Contract[];
|
|
25
|
+
static toDeleteContract(license: License): Contract;
|
|
26
|
+
static toCreateContract(license: License): Contract;
|
|
27
|
+
static toUpdateContract(license: License): Contract;
|
|
28
|
+
static getRenameContracts(newPath: string): ((arg0: License) => Contract[]);
|
|
29
|
+
static tryFromReadContract(c: Contract): Option<License>;
|
|
30
|
+
static GetDefaultLicense(): License;
|
|
31
|
+
Copy(): License;
|
|
32
|
+
Equals(other: any): boolean;
|
|
33
|
+
GetHashCode(): int32;
|
|
34
|
+
StructurallyEquals(other: License): boolean;
|
|
35
|
+
ReferenceEquals(other: License): boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare function License_$reflection(): TypeInfo;
|
|
38
|
+
export declare function License_$ctor_Z1006E828(contentType: LicenseContentType, content: string, path?: string): License;
|
|
39
|
+
//# sourceMappingURL=License.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"License.d.ts","sourceRoot":"","sources":["../../../src/ARCtrl/ts/License.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAiB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAKlD,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAEjF,MAAM,MAAM,kBAAkB,GACxB,UAAU,CAAA;AAEhB,qBAAa,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,KAAK,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;gBACF,WAAW,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM;IAM3E,IAAI,IAAI,IAAI,kBAAkB,CAG7B;IACD,IAAI,IAAI,CAAC,CAAC,EAAE,kBAAkB,EAG7B;IACD,IAAI,OAAO,IAAI,MAAM,CAGpB;IACD,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,EAGpB;IACD,IAAI,UAAU,IAAI,KAAK,CAGtB;IACD,IAAI,UAAU,CAAC,CAAC,EAAE,KAAK,EAGtB;IACD,IAAI,IAAI,IAAI,MAAM,CAGjB;IACD,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,EAGjB;IACD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO;IAG5D,gBAAgB,IAAI,QAAQ;IAK5B,gBAAgB,IAAI,QAAQ;IAK5B,gBAAgB,IAAI,QAAQ;IAI5B,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ,EAAE;IAO/C,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ;IAGnD,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ;IAGnD,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ;IAGnD,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,KAAK,QAAQ,EAAE,CAAC;IAG3E,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;IAOxD,MAAM,CAAC,iBAAiB,IAAI,OAAO;IAGnC,IAAI,IAAI,OAAO;IAIf,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;IAK3B,WAAW,IAAI,KAAK;IAIpB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAI3C,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAI3C;AAED,wBAAgB,mBAAmB,IAAI,QAAQ,CAE9C;AAED,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAEhH"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { value, unwrap } from '../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
|
+
import { Contract } from './Contract/Contract.js';
|
|
3
|
+
import { contains, forAll } from '../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
|
+
import { alternativeLICENSEFileNames } from './FileSystem/Path.js';
|
|
5
|
+
import { stringHash, equals } from '../node_modules/@fable-org/fable-library-js/Util.js';
|
|
6
|
+
import { boxHashArray } from './Core/Helper/HashCodes.js';
|
|
7
|
+
import { class_type } from '../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
8
|
+
|
|
9
|
+
class License {
|
|
10
|
+
constructor(contentType, content, path) {
|
|
11
|
+
this._type = contentType;
|
|
12
|
+
this._content = content;
|
|
13
|
+
this._staticHash = 0;
|
|
14
|
+
this._path = path == null ? "LICENSE" : value(path);
|
|
15
|
+
}
|
|
16
|
+
get Type() {
|
|
17
|
+
const this$ = this;
|
|
18
|
+
return this$._type;
|
|
19
|
+
}
|
|
20
|
+
set Type(h) {
|
|
21
|
+
const this$ = this;
|
|
22
|
+
this$._type = h;
|
|
23
|
+
}
|
|
24
|
+
get Content() {
|
|
25
|
+
const this$ = this;
|
|
26
|
+
return this$._content;
|
|
27
|
+
}
|
|
28
|
+
set Content(h) {
|
|
29
|
+
const this$ = this;
|
|
30
|
+
this$._content = h;
|
|
31
|
+
}
|
|
32
|
+
get StaticHash() {
|
|
33
|
+
const this$ = this;
|
|
34
|
+
return this$._staticHash | 0;
|
|
35
|
+
}
|
|
36
|
+
set StaticHash(h) {
|
|
37
|
+
const this$ = this;
|
|
38
|
+
this$._staticHash = h | 0;
|
|
39
|
+
}
|
|
40
|
+
get Path() {
|
|
41
|
+
const this$ = this;
|
|
42
|
+
return this$._path;
|
|
43
|
+
}
|
|
44
|
+
set Path(p) {
|
|
45
|
+
const this$ = this;
|
|
46
|
+
this$._path = p;
|
|
47
|
+
}
|
|
48
|
+
static initFulltext(content, path) {
|
|
49
|
+
return new License("fulltext", content, unwrap(path));
|
|
50
|
+
}
|
|
51
|
+
ToCreateContract() {
|
|
52
|
+
const this$ = this;
|
|
53
|
+
const matchValue = this$.Type;
|
|
54
|
+
return Contract.createCreate(this$._path, "PlainText", this$.Content);
|
|
55
|
+
}
|
|
56
|
+
ToUpdateContract() {
|
|
57
|
+
const this$ = this;
|
|
58
|
+
const matchValue = this$.Type;
|
|
59
|
+
return Contract.createUpdate(this$._path, "PlainText", this$.Content);
|
|
60
|
+
}
|
|
61
|
+
ToDeleteContract() {
|
|
62
|
+
const this$ = this;
|
|
63
|
+
return Contract.createDelete(this$._path);
|
|
64
|
+
}
|
|
65
|
+
GetRenameContracts(newPath) {
|
|
66
|
+
let matchValue;
|
|
67
|
+
const this$ = this;
|
|
68
|
+
const deleteContract = this$.ToDeleteContract();
|
|
69
|
+
this$.Path = newPath;
|
|
70
|
+
return [deleteContract, (matchValue = this$.Type, Contract.createCreate(newPath, "PlainText", this$.Content))];
|
|
71
|
+
}
|
|
72
|
+
static toDeleteContract(license) {
|
|
73
|
+
return license.ToDeleteContract();
|
|
74
|
+
}
|
|
75
|
+
static toCreateContract(license) {
|
|
76
|
+
return license.ToCreateContract();
|
|
77
|
+
}
|
|
78
|
+
static toUpdateContract(license) {
|
|
79
|
+
return license.ToUpdateContract();
|
|
80
|
+
}
|
|
81
|
+
static getRenameContracts(newPath) {
|
|
82
|
+
return (license) => license.GetRenameContracts(newPath);
|
|
83
|
+
}
|
|
84
|
+
static tryFromReadContract(c) {
|
|
85
|
+
let txt, txt_1;
|
|
86
|
+
return c.Operation === "READ" ? c.DTOType != null ? value(c.DTOType) === "PlainText" ? c.DTO != null ? typeof value(c.DTO) === "string" ? (txt = value(c.DTO), c.Path === "LICENSE" ? true : contains(c.Path, alternativeLICENSEFileNames, {
|
|
87
|
+
Equals: (x, y) => x === y,
|
|
88
|
+
GetHashCode: stringHash
|
|
89
|
+
})) ? (txt_1 = value(c.DTO), License.initFulltext(txt_1)) : void 0 : void 0 : void 0 : void 0 : void 0 : void 0;
|
|
90
|
+
}
|
|
91
|
+
static GetDefaultLicense() {
|
|
92
|
+
return License.initFulltext("ALL RIGHTS RESERVED BY THE AUTHORS");
|
|
93
|
+
}
|
|
94
|
+
Copy() {
|
|
95
|
+
const this$ = this;
|
|
96
|
+
return new License(this$.Type, this$.Content);
|
|
97
|
+
}
|
|
98
|
+
Equals(other) {
|
|
99
|
+
let i;
|
|
100
|
+
const this$ = this;
|
|
101
|
+
return other instanceof License && (i = other, this$.StructurallyEquals(i));
|
|
102
|
+
}
|
|
103
|
+
GetHashCode() {
|
|
104
|
+
const this$ = this;
|
|
105
|
+
return boxHashArray([this$.Type, this$.Content, this$.Path]) | 0;
|
|
106
|
+
}
|
|
107
|
+
StructurallyEquals(other) {
|
|
108
|
+
const this$ = this;
|
|
109
|
+
return forAll((x) => x === true, [equals(this$.Type, other.Type), this$.Content === other.Content, this$.Path === other.Path]);
|
|
110
|
+
}
|
|
111
|
+
ReferenceEquals(other) {
|
|
112
|
+
const this$ = this;
|
|
113
|
+
return this$ === other;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function License_$reflection() {
|
|
117
|
+
return class_type("ARCtrl.License", void 0, License);
|
|
118
|
+
}
|
|
119
|
+
function License_$ctor_Z1006E828(contentType, content, path) {
|
|
120
|
+
return new License(contentType, content, path);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { License, License_$ctor_Z1006E828, License_$reflection };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { unwrap, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { LDNode } from '../LDObject.js';
|
|
3
3
|
import { clean } from '../Helper.js';
|
|
4
|
+
import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
4
5
|
|
|
5
6
|
class LDComment {
|
|
6
7
|
constructor() {
|
|
@@ -99,5 +100,8 @@ class LDComment {
|
|
|
99
100
|
return dt;
|
|
100
101
|
}
|
|
101
102
|
}
|
|
103
|
+
function LDComment_$reflection() {
|
|
104
|
+
return class_type("ARCtrl.ROCrate.LDComment", void 0, LDComment);
|
|
105
|
+
}
|
|
102
106
|
|
|
103
|
-
export { LDComment };
|
|
107
|
+
export { LDComment, LDComment_$reflection };
|