@fluid-experimental/tree 2.0.0-rc.1.0.3 → 2.0.0-rc.2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{.eslintrc.js → .eslintrc.cjs} +1 -1
- package/{.mocharc.js → .mocharc.cjs} +1 -1
- package/.vscode/settings.json +1 -1
- package/CHANGELOG.md +4 -0
- package/api-report/experimental-tree.api.md +4 -15
- package/dist/ChangeCompression.d.ts +5 -5
- package/dist/ChangeCompression.d.ts.map +1 -1
- package/dist/ChangeCompression.js +24 -24
- package/dist/ChangeCompression.js.map +1 -1
- package/dist/ChangeTypes.d.ts +3 -3
- package/dist/ChangeTypes.d.ts.map +1 -1
- package/dist/ChangeTypes.js +9 -9
- package/dist/ChangeTypes.js.map +1 -1
- package/dist/Checkout.d.ts +7 -7
- package/dist/Checkout.d.ts.map +1 -1
- package/dist/Checkout.js +27 -27
- package/dist/Checkout.js.map +1 -1
- package/dist/Common.d.ts +2 -2
- package/dist/Common.d.ts.map +1 -1
- package/dist/Common.js.map +1 -1
- package/dist/EagerCheckout.d.ts +3 -3
- package/dist/EagerCheckout.d.ts.map +1 -1
- package/dist/EagerCheckout.js +2 -2
- package/dist/EagerCheckout.js.map +1 -1
- package/dist/EditLog.d.ts +4 -6
- package/dist/EditLog.d.ts.map +1 -1
- package/dist/EditLog.js +9 -9
- package/dist/EditLog.js.map +1 -1
- package/dist/EditUtilities.d.ts +6 -6
- package/dist/EditUtilities.d.ts.map +1 -1
- package/dist/EditUtilities.js +28 -28
- package/dist/EditUtilities.js.map +1 -1
- package/dist/Forest.d.ts +2 -2
- package/dist/Forest.d.ts.map +1 -1
- package/dist/Forest.js +13 -13
- package/dist/Forest.js.map +1 -1
- package/dist/HistoryEditFactory.d.ts +3 -3
- package/dist/HistoryEditFactory.d.ts.map +1 -1
- package/dist/HistoryEditFactory.js +36 -36
- package/dist/HistoryEditFactory.js.map +1 -1
- package/dist/IdConversion.d.ts +3 -3
- package/dist/IdConversion.d.ts.map +1 -1
- package/dist/IdConversion.js +23 -23
- package/dist/IdConversion.js.map +1 -1
- package/dist/InitialTree.d.ts +1 -1
- package/dist/InitialTree.d.ts.map +1 -1
- package/dist/InitialTree.js +2 -2
- package/dist/InitialTree.js.map +1 -1
- package/dist/LazyCheckout.d.ts +5 -5
- package/dist/LazyCheckout.d.ts.map +1 -1
- package/dist/LazyCheckout.js +2 -2
- package/dist/LazyCheckout.js.map +1 -1
- package/dist/LogViewer.d.ts +7 -7
- package/dist/LogViewer.d.ts.map +1 -1
- package/dist/LogViewer.js +25 -25
- package/dist/LogViewer.js.map +1 -1
- package/dist/MergeHealth.d.ts +1 -1
- package/dist/MergeHealth.d.ts.map +1 -1
- package/dist/MergeHealth.js +32 -32
- package/dist/MergeHealth.js.map +1 -1
- package/dist/NodeIdUtilities.d.ts +3 -3
- package/dist/NodeIdUtilities.d.ts.map +1 -1
- package/dist/NodeIdUtilities.js +4 -4
- package/dist/NodeIdUtilities.js.map +1 -1
- package/dist/PayloadUtilities.d.ts +1 -1
- package/dist/PayloadUtilities.d.ts.map +1 -1
- package/dist/PayloadUtilities.js.map +1 -1
- package/dist/ReconciliationPath.d.ts +3 -3
- package/dist/ReconciliationPath.d.ts.map +1 -1
- package/dist/ReconciliationPath.js.map +1 -1
- package/dist/RevisionValueCache.js +5 -5
- package/dist/RevisionValueCache.js.map +1 -1
- package/dist/RevisionView.d.ts +5 -5
- package/dist/RevisionView.d.ts.map +1 -1
- package/dist/RevisionView.js +11 -11
- package/dist/RevisionView.js.map +1 -1
- package/dist/SerializationUtilities.d.ts +4 -4
- package/dist/SerializationUtilities.d.ts.map +1 -1
- package/dist/SerializationUtilities.js +5 -5
- package/dist/SerializationUtilities.js.map +1 -1
- package/dist/SharedTree.d.ts +15 -18
- package/dist/SharedTree.d.ts.map +1 -1
- package/dist/SharedTree.js +154 -166
- package/dist/SharedTree.js.map +1 -1
- package/dist/SharedTreeEncoder.d.ts +8 -8
- package/dist/SharedTreeEncoder.d.ts.map +1 -1
- package/dist/SharedTreeEncoder.js +67 -67
- package/dist/SharedTreeEncoder.js.map +1 -1
- package/dist/StringInterner.d.ts +1 -1
- package/dist/StringInterner.d.ts.map +1 -1
- package/dist/StringInterner.js +2 -2
- package/dist/StringInterner.js.map +1 -1
- package/dist/Summary.d.ts +4 -4
- package/dist/Summary.d.ts.map +1 -1
- package/dist/Summary.js +2 -2
- package/dist/Summary.js.map +1 -1
- package/dist/SummaryBackCompatibility.d.ts +3 -3
- package/dist/SummaryBackCompatibility.d.ts.map +1 -1
- package/dist/SummaryBackCompatibility.js +13 -13
- package/dist/SummaryBackCompatibility.js.map +1 -1
- package/dist/SummaryTestUtilities.d.ts +2 -2
- package/dist/SummaryTestUtilities.d.ts.map +1 -1
- package/dist/SummaryTestUtilities.js.map +1 -1
- package/dist/Transaction.d.ts +4 -4
- package/dist/Transaction.d.ts.map +1 -1
- package/dist/Transaction.js +10 -10
- package/dist/Transaction.js.map +1 -1
- package/dist/TransactionInternal.d.ts +7 -7
- package/dist/TransactionInternal.d.ts.map +1 -1
- package/dist/TransactionInternal.js +87 -87
- package/dist/TransactionInternal.js.map +1 -1
- package/dist/TreeCompressor.d.ts +4 -4
- package/dist/TreeCompressor.d.ts.map +1 -1
- package/dist/TreeCompressor.js +6 -6
- package/dist/TreeCompressor.js.map +1 -1
- package/dist/TreeNodeHandle.d.ts +3 -3
- package/dist/TreeNodeHandle.d.ts.map +1 -1
- package/dist/TreeNodeHandle.js +5 -5
- package/dist/TreeNodeHandle.js.map +1 -1
- package/dist/TreeView.d.ts +3 -3
- package/dist/TreeView.d.ts.map +1 -1
- package/dist/TreeView.js +10 -10
- package/dist/TreeView.js.map +1 -1
- package/dist/TreeViewUtilities.d.ts +2 -2
- package/dist/TreeViewUtilities.d.ts.map +1 -1
- package/dist/TreeViewUtilities.js +3 -3
- package/dist/TreeViewUtilities.js.map +1 -1
- package/dist/UndoRedoHandler.d.ts +2 -2
- package/dist/UndoRedoHandler.d.ts.map +1 -1
- package/dist/UndoRedoHandler.js +5 -5
- package/dist/UndoRedoHandler.js.map +1 -1
- package/dist/UuidUtilities.d.ts +1 -1
- package/dist/UuidUtilities.d.ts.map +1 -1
- package/dist/UuidUtilities.js +3 -3
- package/dist/UuidUtilities.js.map +1 -1
- package/dist/id-compressor/AppendOnlySortedMap.js +4 -4
- package/dist/id-compressor/AppendOnlySortedMap.js.map +1 -1
- package/dist/id-compressor/IdCompressor.d.ts +2 -2
- package/dist/id-compressor/IdCompressor.d.ts.map +1 -1
- package/dist/id-compressor/IdCompressor.js +78 -78
- package/dist/id-compressor/IdCompressor.js.map +1 -1
- package/dist/id-compressor/IdRange.d.ts +1 -1
- package/dist/id-compressor/IdRange.d.ts.map +1 -1
- package/dist/id-compressor/IdRange.js.map +1 -1
- package/dist/id-compressor/NumericUuid.d.ts +1 -1
- package/dist/id-compressor/NumericUuid.d.ts.map +1 -1
- package/dist/id-compressor/NumericUuid.js +6 -6
- package/dist/id-compressor/NumericUuid.js.map +1 -1
- package/dist/id-compressor/SessionIdNormalizer.d.ts +2 -2
- package/dist/id-compressor/SessionIdNormalizer.d.ts.map +1 -1
- package/dist/id-compressor/SessionIdNormalizer.js +14 -14
- package/dist/id-compressor/SessionIdNormalizer.js.map +1 -1
- package/dist/id-compressor/index.d.ts +4 -4
- package/dist/id-compressor/index.d.ts.map +1 -1
- package/dist/id-compressor/index.js +11 -11
- package/dist/id-compressor/index.js.map +1 -1
- package/dist/id-compressor/persisted-types/0.0.1.d.ts +1 -1
- package/dist/id-compressor/persisted-types/0.0.1.d.ts.map +1 -1
- package/dist/id-compressor/persisted-types/0.0.1.js.map +1 -1
- package/dist/id-compressor/persisted-types/index.d.ts +1 -1
- package/dist/id-compressor/persisted-types/index.d.ts.map +1 -1
- package/dist/id-compressor/persisted-types/index.js.map +1 -1
- package/dist/index.d.ts +29 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +73 -73
- package/dist/index.js.map +1 -1
- package/dist/migration-shim/migrationDeltaHandler.d.ts +1 -1
- package/dist/migration-shim/migrationDeltaHandler.d.ts.map +1 -1
- package/dist/migration-shim/migrationDeltaHandler.js +5 -8
- package/dist/migration-shim/migrationDeltaHandler.js.map +1 -1
- package/dist/migration-shim/migrationShim.d.ts +1 -1
- package/dist/migration-shim/migrationShim.d.ts.map +1 -1
- package/dist/migration-shim/migrationShim.js +1 -1
- package/dist/migration-shim/migrationShim.js.map +1 -1
- package/dist/migration-shim/migrationShimFactory.d.ts +1 -1
- package/dist/migration-shim/migrationShimFactory.d.ts.map +1 -1
- package/dist/migration-shim/migrationShimFactory.js.map +1 -1
- package/dist/migration-shim/sharedTreeDeltaHandler.d.ts +1 -1
- package/dist/migration-shim/sharedTreeDeltaHandler.d.ts.map +1 -1
- package/dist/migration-shim/sharedTreeDeltaHandler.js +2 -5
- package/dist/migration-shim/sharedTreeDeltaHandler.js.map +1 -1
- package/dist/migration-shim/types.d.ts +1 -1
- package/dist/migration-shim/types.d.ts.map +1 -1
- package/dist/migration-shim/types.js.map +1 -1
- package/dist/package.json +3 -0
- package/dist/persisted-types/0.0.2.d.ts +1 -1
- package/dist/persisted-types/0.0.2.d.ts.map +1 -1
- package/dist/persisted-types/0.0.2.js.map +1 -1
- package/dist/persisted-types/0.1.1.d.ts +4 -4
- package/dist/persisted-types/0.1.1.d.ts.map +1 -1
- package/dist/persisted-types/0.1.1.js +13 -13
- package/dist/persisted-types/0.1.1.js.map +1 -1
- package/dist/persisted-types/index.d.ts +2 -2
- package/dist/persisted-types/index.d.ts.map +1 -1
- package/dist/persisted-types/index.js +13 -13
- package/dist/persisted-types/index.js.map +1 -1
- package/dist/tree-alpha.d.ts +5 -8
- package/dist/tree-beta.d.ts +5 -1
- package/dist/tree-public.d.ts +5 -1
- package/dist/tree-untrimmed.d.ts +5 -8
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/ChangeCompression.d.ts +5 -5
- package/lib/ChangeCompression.d.ts.map +1 -1
- package/lib/ChangeCompression.js +3 -3
- package/lib/ChangeCompression.js.map +1 -1
- package/lib/ChangeTypes.d.ts +3 -3
- package/lib/ChangeTypes.d.ts.map +1 -1
- package/lib/ChangeTypes.js +3 -3
- package/lib/ChangeTypes.js.map +1 -1
- package/lib/Checkout.d.ts +7 -7
- package/lib/Checkout.d.ts.map +1 -1
- package/lib/Checkout.js +6 -6
- package/lib/Checkout.js.map +1 -1
- package/lib/Common.d.ts +2 -2
- package/lib/Common.d.ts.map +1 -1
- package/lib/Common.js.map +1 -1
- package/lib/EagerCheckout.d.ts +3 -3
- package/lib/EagerCheckout.d.ts.map +1 -1
- package/lib/EagerCheckout.js +1 -1
- package/lib/EagerCheckout.js.map +1 -1
- package/lib/EditLog.d.ts +4 -6
- package/lib/EditLog.d.ts.map +1 -1
- package/lib/EditLog.js +1 -1
- package/lib/EditLog.js.map +1 -1
- package/lib/EditUtilities.d.ts +6 -6
- package/lib/EditUtilities.d.ts.map +1 -1
- package/lib/EditUtilities.js +7 -7
- package/lib/EditUtilities.js.map +1 -1
- package/lib/Forest.d.ts +2 -2
- package/lib/Forest.d.ts.map +1 -1
- package/lib/Forest.js +2 -2
- package/lib/Forest.js.map +1 -1
- package/lib/HistoryEditFactory.d.ts +3 -3
- package/lib/HistoryEditFactory.d.ts.map +1 -1
- package/lib/HistoryEditFactory.js +7 -7
- package/lib/HistoryEditFactory.js.map +1 -1
- package/lib/IdConversion.d.ts +3 -3
- package/lib/IdConversion.d.ts.map +1 -1
- package/lib/IdConversion.js +4 -4
- package/lib/IdConversion.js.map +1 -1
- package/lib/InitialTree.d.ts +1 -1
- package/lib/InitialTree.d.ts.map +1 -1
- package/lib/InitialTree.js +1 -1
- package/lib/InitialTree.js.map +1 -1
- package/lib/LazyCheckout.d.ts +5 -5
- package/lib/LazyCheckout.d.ts.map +1 -1
- package/lib/LazyCheckout.js +1 -1
- package/lib/LazyCheckout.js.map +1 -1
- package/lib/LogViewer.d.ts +7 -7
- package/lib/LogViewer.d.ts.map +1 -1
- package/lib/LogViewer.js +4 -4
- package/lib/LogViewer.js.map +1 -1
- package/lib/MergeHealth.d.ts +1 -1
- package/lib/MergeHealth.d.ts.map +1 -1
- package/lib/MergeHealth.js +5 -5
- package/lib/MergeHealth.js.map +1 -1
- package/lib/NodeIdUtilities.d.ts +3 -3
- package/lib/NodeIdUtilities.d.ts.map +1 -1
- package/lib/NodeIdUtilities.js +2 -2
- package/lib/NodeIdUtilities.js.map +1 -1
- package/lib/PayloadUtilities.d.ts +1 -1
- package/lib/PayloadUtilities.d.ts.map +1 -1
- package/lib/PayloadUtilities.js.map +1 -1
- package/lib/ReconciliationPath.d.ts +3 -3
- package/lib/ReconciliationPath.d.ts.map +1 -1
- package/lib/ReconciliationPath.js.map +1 -1
- package/lib/RevisionValueCache.js +1 -1
- package/lib/RevisionValueCache.js.map +1 -1
- package/lib/RevisionView.d.ts +5 -5
- package/lib/RevisionView.d.ts.map +1 -1
- package/lib/RevisionView.js +3 -3
- package/lib/RevisionView.js.map +1 -1
- package/lib/SerializationUtilities.d.ts +4 -4
- package/lib/SerializationUtilities.d.ts.map +1 -1
- package/lib/SerializationUtilities.js +1 -1
- package/lib/SerializationUtilities.js.map +1 -1
- package/lib/SharedTree.d.ts +15 -18
- package/lib/SharedTree.d.ts.map +1 -1
- package/lib/SharedTree.js +28 -40
- package/lib/SharedTree.js.map +1 -1
- package/lib/SharedTreeEncoder.d.ts +8 -8
- package/lib/SharedTreeEncoder.d.ts.map +1 -1
- package/lib/SharedTreeEncoder.js +12 -12
- package/lib/SharedTreeEncoder.js.map +1 -1
- package/lib/StringInterner.d.ts +1 -1
- package/lib/StringInterner.d.ts.map +1 -1
- package/lib/StringInterner.js +1 -1
- package/lib/StringInterner.js.map +1 -1
- package/lib/Summary.d.ts +4 -4
- package/lib/Summary.d.ts.map +1 -1
- package/lib/Summary.js +1 -1
- package/lib/Summary.js.map +1 -1
- package/lib/SummaryBackCompatibility.d.ts +3 -3
- package/lib/SummaryBackCompatibility.d.ts.map +1 -1
- package/lib/SummaryBackCompatibility.js +3 -3
- package/lib/SummaryBackCompatibility.js.map +1 -1
- package/lib/SummaryTestUtilities.d.ts +2 -2
- package/lib/SummaryTestUtilities.d.ts.map +1 -1
- package/lib/SummaryTestUtilities.js.map +1 -1
- package/lib/Transaction.d.ts +4 -4
- package/lib/Transaction.d.ts.map +1 -1
- package/lib/Transaction.js +5 -5
- package/lib/Transaction.js.map +1 -1
- package/lib/TransactionInternal.d.ts +7 -7
- package/lib/TransactionInternal.d.ts.map +1 -1
- package/lib/TransactionInternal.js +5 -5
- package/lib/TransactionInternal.js.map +1 -1
- package/lib/TreeCompressor.d.ts +4 -4
- package/lib/TreeCompressor.d.ts.map +1 -1
- package/lib/TreeCompressor.js +2 -2
- package/lib/TreeCompressor.js.map +1 -1
- package/lib/TreeNodeHandle.d.ts +3 -3
- package/lib/TreeNodeHandle.d.ts.map +1 -1
- package/lib/TreeNodeHandle.js +1 -1
- package/lib/TreeNodeHandle.js.map +1 -1
- package/lib/TreeView.d.ts +3 -3
- package/lib/TreeView.d.ts.map +1 -1
- package/lib/TreeView.js +3 -3
- package/lib/TreeView.js.map +1 -1
- package/lib/TreeViewUtilities.d.ts +2 -2
- package/lib/TreeViewUtilities.d.ts.map +1 -1
- package/lib/TreeViewUtilities.js +1 -1
- package/lib/TreeViewUtilities.js.map +1 -1
- package/lib/UndoRedoHandler.d.ts +2 -2
- package/lib/UndoRedoHandler.d.ts.map +1 -1
- package/lib/UndoRedoHandler.js +2 -2
- package/lib/UndoRedoHandler.js.map +1 -1
- package/lib/UuidUtilities.d.ts +1 -1
- package/lib/UuidUtilities.d.ts.map +1 -1
- package/lib/UuidUtilities.js +1 -1
- package/lib/UuidUtilities.js.map +1 -1
- package/lib/id-compressor/AppendOnlySortedMap.js +1 -1
- package/lib/id-compressor/AppendOnlySortedMap.js.map +1 -1
- package/lib/id-compressor/IdCompressor.d.ts +2 -2
- package/lib/id-compressor/IdCompressor.d.ts.map +1 -1
- package/lib/id-compressor/IdCompressor.js +6 -6
- package/lib/id-compressor/IdCompressor.js.map +1 -1
- package/lib/id-compressor/IdRange.d.ts +1 -1
- package/lib/id-compressor/IdRange.d.ts.map +1 -1
- package/lib/id-compressor/IdRange.js.map +1 -1
- package/lib/id-compressor/NumericUuid.d.ts +1 -1
- package/lib/id-compressor/NumericUuid.d.ts.map +1 -1
- package/lib/id-compressor/NumericUuid.js +2 -2
- package/lib/id-compressor/NumericUuid.js.map +1 -1
- package/lib/id-compressor/SessionIdNormalizer.d.ts +2 -2
- package/lib/id-compressor/SessionIdNormalizer.d.ts.map +1 -1
- package/lib/id-compressor/SessionIdNormalizer.js +2 -2
- package/lib/id-compressor/SessionIdNormalizer.js.map +1 -1
- package/lib/id-compressor/index.d.ts +4 -4
- package/lib/id-compressor/index.d.ts.map +1 -1
- package/lib/id-compressor/index.js +3 -3
- package/lib/id-compressor/index.js.map +1 -1
- package/lib/id-compressor/persisted-types/0.0.1.d.ts +1 -1
- package/lib/id-compressor/persisted-types/0.0.1.d.ts.map +1 -1
- package/lib/id-compressor/persisted-types/0.0.1.js.map +1 -1
- package/lib/id-compressor/persisted-types/index.d.ts +1 -1
- package/lib/id-compressor/persisted-types/index.d.ts.map +1 -1
- package/lib/id-compressor/persisted-types/index.js.map +1 -1
- package/lib/index.d.ts +29 -29
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +22 -22
- package/lib/index.js.map +1 -1
- package/lib/migration-shim/migrationDeltaHandler.d.ts +1 -1
- package/lib/migration-shim/migrationDeltaHandler.d.ts.map +1 -1
- package/lib/migration-shim/migrationDeltaHandler.js +5 -8
- package/lib/migration-shim/migrationDeltaHandler.js.map +1 -1
- package/lib/migration-shim/migrationShim.d.ts +1 -1
- package/lib/migration-shim/migrationShim.d.ts.map +1 -1
- package/lib/migration-shim/migrationShim.js +1 -1
- package/lib/migration-shim/migrationShim.js.map +1 -1
- package/lib/migration-shim/migrationShimFactory.d.ts +1 -1
- package/lib/migration-shim/migrationShimFactory.d.ts.map +1 -1
- package/lib/migration-shim/migrationShimFactory.js.map +1 -1
- package/lib/migration-shim/sharedTreeDeltaHandler.d.ts +1 -1
- package/lib/migration-shim/sharedTreeDeltaHandler.d.ts.map +1 -1
- package/lib/migration-shim/sharedTreeDeltaHandler.js +2 -5
- package/lib/migration-shim/sharedTreeDeltaHandler.js.map +1 -1
- package/lib/migration-shim/types.d.ts +1 -1
- package/lib/migration-shim/types.d.ts.map +1 -1
- package/lib/migration-shim/types.js.map +1 -1
- package/lib/persisted-types/0.0.2.d.ts +1 -1
- package/lib/persisted-types/0.0.2.d.ts.map +1 -1
- package/lib/persisted-types/0.0.2.js.map +1 -1
- package/lib/persisted-types/0.1.1.d.ts +4 -4
- package/lib/persisted-types/0.1.1.d.ts.map +1 -1
- package/lib/persisted-types/0.1.1.js +2 -2
- package/lib/persisted-types/0.1.1.js.map +1 -1
- package/lib/persisted-types/index.d.ts +2 -2
- package/lib/persisted-types/index.d.ts.map +1 -1
- package/lib/persisted-types/index.js +2 -2
- package/lib/persisted-types/index.js.map +1 -1
- package/lib/test/AppendOnlySortedMap.perf.tests.js +2 -2
- package/lib/test/AppendOnlySortedMap.perf.tests.js.map +1 -1
- package/lib/test/AppendOnlySortedMap.tests.js +2 -2
- package/lib/test/AppendOnlySortedMap.tests.js.map +1 -1
- package/lib/test/ChangeCompression.tests.js +9 -9
- package/lib/test/ChangeCompression.tests.js.map +1 -1
- package/lib/test/Checkout.tests.d.ts +1 -1
- package/lib/test/Checkout.tests.d.ts.map +1 -1
- package/lib/test/Checkout.tests.js +2 -2
- package/lib/test/Checkout.tests.js.map +1 -1
- package/lib/test/Common.tests.js +1 -1
- package/lib/test/Common.tests.js.map +1 -1
- package/lib/test/EagerCheckout.tests.js +4 -4
- package/lib/test/EagerCheckout.tests.js.map +1 -1
- package/lib/test/Edit.tests.js +2 -2
- package/lib/test/Edit.tests.js.map +1 -1
- package/lib/test/EditLog.perf.tests.js +4 -4
- package/lib/test/EditLog.perf.tests.js.map +1 -1
- package/lib/test/EditLog.tests.js +3 -3
- package/lib/test/EditLog.tests.js.map +1 -1
- package/lib/test/EditUtilities.tests.js +6 -6
- package/lib/test/EditUtilities.tests.js.map +1 -1
- package/lib/test/Forest.perf.tests.js +4 -4
- package/lib/test/Forest.perf.tests.js.map +1 -1
- package/lib/test/Forest.tests.js +2 -2
- package/lib/test/Forest.tests.js.map +1 -1
- package/lib/test/GenericTransaction.tests.js +3 -3
- package/lib/test/GenericTransaction.tests.js.map +1 -1
- package/lib/test/HistoryEditFactory.tests.js +4 -4
- package/lib/test/HistoryEditFactory.tests.js.map +1 -1
- package/lib/test/IdCompressor.perf.tests.js +4 -4
- package/lib/test/IdCompressor.perf.tests.js.map +1 -1
- package/lib/test/IdCompressor.tests.js +7 -7
- package/lib/test/IdCompressor.tests.js.map +1 -1
- package/lib/test/IdConversion.tests.js +3 -3
- package/lib/test/IdConversion.tests.js.map +1 -1
- package/lib/test/LazyCheckout.tests.js +4 -4
- package/lib/test/LazyCheckout.tests.js.map +1 -1
- package/lib/test/LogViewer.tests.js +12 -12
- package/lib/test/LogViewer.tests.js.map +1 -1
- package/lib/test/MergeHealthTelemetryHeartbeat.tests.js +6 -6
- package/lib/test/MergeHealthTelemetryHeartbeat.tests.js.map +1 -1
- package/lib/test/NumericUuid.perf.tests.js +3 -3
- package/lib/test/NumericUuid.perf.tests.js.map +1 -1
- package/lib/test/NumericUuid.tests.js +4 -4
- package/lib/test/NumericUuid.tests.js.map +1 -1
- package/lib/test/RevisionValueCache.tests.js +2 -2
- package/lib/test/RevisionValueCache.tests.js.map +1 -1
- package/lib/test/RevisionView.tests.js +6 -6
- package/lib/test/RevisionView.tests.js.map +1 -1
- package/lib/test/SessionIdNormalizer.tests.js +3 -3
- package/lib/test/SessionIdNormalizer.tests.js.map +1 -1
- package/lib/test/SharedTree.fuzz.tests.js +1 -1
- package/lib/test/SharedTree.fuzz.tests.js.map +1 -1
- package/lib/test/SharedTree.perf.tests.js +2 -2
- package/lib/test/SharedTree.perf.tests.js.map +1 -1
- package/lib/test/SharedTree.tests.js +7 -7
- package/lib/test/SharedTree.tests.js.map +1 -1
- package/lib/test/StringInterner.tests.js +1 -1
- package/lib/test/StringInterner.tests.js.map +1 -1
- package/lib/test/Summary.tests.d.ts +2 -2
- package/lib/test/Summary.tests.d.ts.map +1 -1
- package/lib/test/Summary.tests.js +14 -14
- package/lib/test/Summary.tests.js.map +1 -1
- package/lib/test/Transaction.tests.js +5 -5
- package/lib/test/Transaction.tests.js.map +1 -1
- package/lib/test/TransactionInternal.tests.js +7 -7
- package/lib/test/TransactionInternal.tests.js.map +1 -1
- package/lib/test/TreeCompression.tests.js +8 -8
- package/lib/test/TreeCompression.tests.js.map +1 -1
- package/lib/test/TreeView.tests.js +3 -3
- package/lib/test/TreeView.tests.js.map +1 -1
- package/lib/test/UndoRedoHandler.tests.js +2 -2
- package/lib/test/UndoRedoHandler.tests.js.map +1 -1
- package/lib/test/fuzz/Generators.d.ts +1 -1
- package/lib/test/fuzz/Generators.d.ts.map +1 -1
- package/lib/test/fuzz/Generators.js +4 -4
- package/lib/test/fuzz/Generators.js.map +1 -1
- package/lib/test/fuzz/SharedTreeFuzzTests.d.ts +1 -1
- package/lib/test/fuzz/SharedTreeFuzzTests.d.ts.map +1 -1
- package/lib/test/fuzz/SharedTreeFuzzTests.js +5 -5
- package/lib/test/fuzz/SharedTreeFuzzTests.js.map +1 -1
- package/lib/test/fuzz/Types.d.ts +6 -6
- package/lib/test/fuzz/Types.d.ts.map +1 -1
- package/lib/test/fuzz/Types.js.map +1 -1
- package/lib/test/utilities/IdCompressorTestUtilities.d.ts +6 -6
- package/lib/test/utilities/IdCompressorTestUtilities.d.ts.map +1 -1
- package/lib/test/utilities/IdCompressorTestUtilities.js +6 -6
- package/lib/test/utilities/IdCompressorTestUtilities.js.map +1 -1
- package/lib/test/utilities/MockTransaction.d.ts +4 -4
- package/lib/test/utilities/MockTransaction.d.ts.map +1 -1
- package/lib/test/utilities/MockTransaction.js +3 -3
- package/lib/test/utilities/MockTransaction.js.map +1 -1
- package/lib/test/utilities/PendingLocalStateTests.d.ts +1 -1
- package/lib/test/utilities/PendingLocalStateTests.d.ts.map +1 -1
- package/lib/test/utilities/PendingLocalStateTests.js +5 -5
- package/lib/test/utilities/PendingLocalStateTests.js.map +1 -1
- package/lib/test/utilities/SharedTreeTests.d.ts +2 -2
- package/lib/test/utilities/SharedTreeTests.d.ts.map +1 -1
- package/lib/test/utilities/SharedTreeTests.js +22 -22
- package/lib/test/utilities/SharedTreeTests.js.map +1 -1
- package/lib/test/utilities/SharedTreeVersioningTests.d.ts +1 -1
- package/lib/test/utilities/SharedTreeVersioningTests.d.ts.map +1 -1
- package/lib/test/utilities/SharedTreeVersioningTests.js +10 -10
- package/lib/test/utilities/SharedTreeVersioningTests.js.map +1 -1
- package/lib/test/utilities/SummaryLoadPerfTests.js +6 -6
- package/lib/test/utilities/SummaryLoadPerfTests.js.map +1 -1
- package/lib/test/utilities/SummarySizeTests.d.ts +1 -1
- package/lib/test/utilities/SummarySizeTests.d.ts.map +1 -1
- package/lib/test/utilities/SummarySizeTests.js +5 -5
- package/lib/test/utilities/SummarySizeTests.js.map +1 -1
- package/lib/test/utilities/TestNode.d.ts +6 -6
- package/lib/test/utilities/TestNode.d.ts.map +1 -1
- package/lib/test/utilities/TestNode.js +5 -5
- package/lib/test/utilities/TestNode.js.map +1 -1
- package/lib/test/utilities/TestUtilities.d.ts +12 -12
- package/lib/test/utilities/TestUtilities.d.ts.map +1 -1
- package/lib/test/utilities/TestUtilities.js +18 -19
- package/lib/test/utilities/TestUtilities.js.map +1 -1
- package/lib/test/utilities/UndoRedoTests.d.ts +2 -2
- package/lib/test/utilities/UndoRedoTests.d.ts.map +1 -1
- package/lib/test/utilities/UndoRedoTests.js +7 -7
- package/lib/test/utilities/UndoRedoTests.js.map +1 -1
- package/package.json +57 -31
- package/src/ChangeCompression.ts +7 -7
- package/src/ChangeTypes.ts +5 -5
- package/src/Checkout.ts +13 -13
- package/src/Common.ts +2 -2
- package/src/EagerCheckout.ts +3 -3
- package/src/EditLog.ts +6 -7
- package/src/EditUtilities.ts +10 -10
- package/src/Forest.ts +4 -4
- package/src/HistoryEditFactory.ts +11 -11
- package/src/IdConversion.ts +4 -4
- package/src/InitialTree.ts +3 -3
- package/src/LazyCheckout.ts +5 -5
- package/src/LogViewer.ts +8 -8
- package/src/MergeHealth.ts +6 -6
- package/src/NodeIdUtilities.ts +4 -4
- package/src/PayloadUtilities.ts +1 -1
- package/src/ReconciliationPath.ts +3 -3
- package/src/RevisionValueCache.ts +1 -1
- package/src/RevisionView.ts +7 -7
- package/src/SerializationUtilities.ts +5 -5
- package/src/SharedTree.ts +34 -54
- package/src/SharedTreeEncoder.ts +15 -15
- package/src/StringInterner.ts +2 -2
- package/src/Summary.ts +5 -5
- package/src/SummaryBackCompatibility.ts +10 -5
- package/src/SummaryTestUtilities.ts +3 -3
- package/src/Transaction.ts +8 -8
- package/src/TransactionInternal.ts +8 -8
- package/src/TreeCompressor.ts +6 -6
- package/src/TreeNodeHandle.ts +4 -4
- package/src/TreeView.ts +4 -4
- package/src/TreeViewUtilities.ts +3 -3
- package/src/UndoRedoHandler.ts +4 -4
- package/src/UuidUtilities.ts +2 -2
- package/src/id-compressor/AppendOnlySortedMap.ts +1 -1
- package/src/id-compressor/IdCompressor.ts +8 -8
- package/src/id-compressor/IdRange.ts +1 -1
- package/src/id-compressor/NumericUuid.ts +3 -3
- package/src/id-compressor/SessionIdNormalizer.ts +4 -4
- package/src/id-compressor/index.ts +4 -4
- package/src/id-compressor/persisted-types/0.0.1.ts +1 -1
- package/src/id-compressor/persisted-types/index.ts +1 -1
- package/src/index.ts +29 -29
- package/src/migration-shim/migrationDeltaHandler.ts +9 -10
- package/src/migration-shim/migrationShim.ts +7 -5
- package/src/migration-shim/migrationShimFactory.ts +4 -1
- package/src/migration-shim/sharedTreeDeltaHandler.ts +7 -6
- package/src/migration-shim/types.ts +1 -1
- package/src/persisted-types/0.0.2.ts +1 -1
- package/src/persisted-types/0.1.1.ts +4 -4
- package/src/persisted-types/index.ts +2 -2
- package/tsconfig.esnext.json +1 -2
- package/tsconfig.json +3 -0
- package/lib/test/Attach.tests.d.ts +0 -6
- package/lib/test/Attach.tests.d.ts.map +0 -1
- package/lib/test/Attach.tests.js +0 -52
- package/lib/test/Attach.tests.js.map +0 -1
package/src/SharedTree.ts
CHANGED
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
IChannelFactory,
|
|
13
13
|
IChannelAttributes,
|
|
14
14
|
IChannelServices,
|
|
15
|
-
IChannel,
|
|
16
15
|
} from '@fluidframework/datastore-definitions';
|
|
17
16
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
18
17
|
import {
|
|
@@ -21,7 +20,7 @@ import {
|
|
|
21
20
|
ISharedObjectEvents,
|
|
22
21
|
SharedObject,
|
|
23
22
|
} from '@fluidframework/shared-object-base';
|
|
24
|
-
import {
|
|
23
|
+
import { ITelemetryBaseProperties } from '@fluidframework/core-interfaces';
|
|
25
24
|
import {
|
|
26
25
|
ITelemetryLoggerExt,
|
|
27
26
|
createChildLogger,
|
|
@@ -31,8 +30,8 @@ import {
|
|
|
31
30
|
IEventSampler,
|
|
32
31
|
} from '@fluidframework/telemetry-utils';
|
|
33
32
|
import { ISummaryTreeWithStats, ITelemetryContext } from '@fluidframework/runtime-definitions';
|
|
34
|
-
import { fail, copyPropertyIfDefined, RestOrArray, unwrapRestOrArray } from './Common';
|
|
35
|
-
import { EditHandle, EditLog, OrderedEditSet } from './EditLog';
|
|
33
|
+
import { fail, copyPropertyIfDefined, RestOrArray, unwrapRestOrArray } from './Common.js';
|
|
34
|
+
import { EditHandle, EditLog, OrderedEditSet } from './EditLog.js';
|
|
36
35
|
import {
|
|
37
36
|
EditId,
|
|
38
37
|
NodeId,
|
|
@@ -42,8 +41,8 @@ import {
|
|
|
42
41
|
isDetachedSequenceId,
|
|
43
42
|
AttributionId,
|
|
44
43
|
SessionId,
|
|
45
|
-
} from './Identifiers';
|
|
46
|
-
import { initialTree } from './InitialTree';
|
|
44
|
+
} from './Identifiers.js';
|
|
45
|
+
import { initialTree } from './InitialTree.js';
|
|
47
46
|
import {
|
|
48
47
|
CachingLogViewer,
|
|
49
48
|
EditCacheEntry,
|
|
@@ -51,9 +50,9 @@ import {
|
|
|
51
50
|
LogViewer,
|
|
52
51
|
SequencedEditResult,
|
|
53
52
|
SequencedEditResultCallback,
|
|
54
|
-
} from './LogViewer';
|
|
55
|
-
import { deserialize, getSummaryStatistics } from './SummaryBackCompatibility';
|
|
56
|
-
import { ReconciliationPath } from './ReconciliationPath';
|
|
53
|
+
} from './LogViewer.js';
|
|
54
|
+
import { deserialize, getSummaryStatistics } from './SummaryBackCompatibility.js';
|
|
55
|
+
import { ReconciliationPath } from './ReconciliationPath.js';
|
|
57
56
|
import {
|
|
58
57
|
BuildNodeInternal,
|
|
59
58
|
ChangeInternal,
|
|
@@ -78,8 +77,8 @@ import {
|
|
|
78
77
|
WriteFormat,
|
|
79
78
|
TreeNodeSequence,
|
|
80
79
|
InternalizedChange,
|
|
81
|
-
} from './persisted-types';
|
|
82
|
-
import { serialize, SummaryContents } from './Summary';
|
|
80
|
+
} from './persisted-types/index.js';
|
|
81
|
+
import { serialize, SummaryContents } from './Summary.js';
|
|
83
82
|
import {
|
|
84
83
|
areRevisionViewsSemanticallyEqual,
|
|
85
84
|
convertTreeNodes,
|
|
@@ -88,18 +87,18 @@ import {
|
|
|
88
87
|
internalizeBuildNode,
|
|
89
88
|
newEditId,
|
|
90
89
|
walkTree,
|
|
91
|
-
} from './EditUtilities';
|
|
92
|
-
import { getNodeIdContext, NodeIdContext, NodeIdNormalizer } from './NodeIdUtilities';
|
|
93
|
-
import { SharedTreeDiagnosticEvent, SharedTreeEvent } from './EventTypes';
|
|
94
|
-
import { RevisionView } from './RevisionView';
|
|
95
|
-
import { SharedTreeEncoder_0_0_2, SharedTreeEncoder_0_1_1 } from './SharedTreeEncoder';
|
|
96
|
-
import { revert } from './HistoryEditFactory';
|
|
97
|
-
import { BuildNode, BuildTreeNode, Change, ChangeType } from './ChangeTypes';
|
|
98
|
-
import { TransactionInternal } from './TransactionInternal';
|
|
99
|
-
import { IdCompressor, createSessionId } from './id-compressor';
|
|
100
|
-
import { convertEditIds } from './IdConversion';
|
|
101
|
-
import { MutableStringInterner } from './StringInterner';
|
|
102
|
-
import { nilUuid } from './UuidUtilities';
|
|
90
|
+
} from './EditUtilities.js';
|
|
91
|
+
import { getNodeIdContext, NodeIdContext, NodeIdNormalizer } from './NodeIdUtilities.js';
|
|
92
|
+
import { SharedTreeDiagnosticEvent, SharedTreeEvent } from './EventTypes.js';
|
|
93
|
+
import { RevisionView } from './RevisionView.js';
|
|
94
|
+
import { SharedTreeEncoder_0_0_2, SharedTreeEncoder_0_1_1 } from './SharedTreeEncoder.js';
|
|
95
|
+
import { revert } from './HistoryEditFactory.js';
|
|
96
|
+
import { BuildNode, BuildTreeNode, Change, ChangeType } from './ChangeTypes.js';
|
|
97
|
+
import { TransactionInternal } from './TransactionInternal.js';
|
|
98
|
+
import { IdCompressor, createSessionId } from './id-compressor/index.js';
|
|
99
|
+
import { convertEditIds } from './IdConversion.js';
|
|
100
|
+
import { MutableStringInterner } from './StringInterner.js';
|
|
101
|
+
import { nilUuid } from './UuidUtilities.js';
|
|
103
102
|
|
|
104
103
|
/**
|
|
105
104
|
* The write format and associated options used to construct a `SharedTree`
|
|
@@ -246,7 +245,7 @@ export class SharedTreeFactory implements IChannelFactory {
|
|
|
246
245
|
id: string,
|
|
247
246
|
services: IChannelServices,
|
|
248
247
|
_channelAttributes: Readonly<IChannelAttributes>
|
|
249
|
-
): Promise<
|
|
248
|
+
): Promise<SharedTree> {
|
|
250
249
|
const sharedTree = this.createSharedTree(runtime, id);
|
|
251
250
|
await sharedTree.load(services);
|
|
252
251
|
return sharedTree;
|
|
@@ -777,7 +776,7 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
777
776
|
* Initialize shared tree with a serialized summary. This is used for testing.
|
|
778
777
|
* @returns Statistics about the loaded summary.
|
|
779
778
|
*/
|
|
780
|
-
public loadSerializedSummary(blobData: string):
|
|
779
|
+
public loadSerializedSummary(blobData: string): ITelemetryBaseProperties {
|
|
781
780
|
const summary = deserialize(blobData, this.serializer);
|
|
782
781
|
this.loadSummary(summary);
|
|
783
782
|
return getSummaryStatistics(summary);
|
|
@@ -1067,28 +1066,14 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
1067
1066
|
// TODO:Type Safety: Improve type safety around op sending/parsing (e.g. discriminated union over version field somehow)
|
|
1068
1067
|
switch (op.version) {
|
|
1069
1068
|
case WriteFormat.v0_0_2:
|
|
1070
|
-
return this.encoder_0_0_2.decodeEditOp(op,
|
|
1069
|
+
return this.encoder_0_0_2.decodeEditOp(op, (x) => x, this);
|
|
1071
1070
|
case WriteFormat.v0_1_1:
|
|
1072
|
-
return this.encoder_0_1_1.decodeEditOp(
|
|
1073
|
-
op,
|
|
1074
|
-
this.encodeSemiSerializedEdit.bind(this),
|
|
1075
|
-
this.idNormalizer,
|
|
1076
|
-
this.interner
|
|
1077
|
-
);
|
|
1071
|
+
return this.encoder_0_1_1.decodeEditOp(op, (x) => x, this.idNormalizer, this.interner);
|
|
1078
1072
|
default:
|
|
1079
1073
|
fail('Unknown op version');
|
|
1080
1074
|
}
|
|
1081
1075
|
}
|
|
1082
1076
|
|
|
1083
|
-
private encodeSemiSerializedEdit<T>(semiSerializedEdit: Edit<T>): Edit<T> {
|
|
1084
|
-
// semiSerializedEdit may have handles which have been replaced by `serializer.encode`.
|
|
1085
|
-
// Since there is no API to un-replace them except via parse, re-stringify the edit, then parse it.
|
|
1086
|
-
// Stringify using JSON, not IFluidSerializer since OPs use JSON directly.
|
|
1087
|
-
// TODO:Performance:#48025: Avoid this serialization round trip.
|
|
1088
|
-
const encodedEdit: Edit<T> = this.serializer.parse(JSON.stringify(semiSerializedEdit));
|
|
1089
|
-
return encodedEdit;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
1077
|
private processSequencedEdit(edit: Edit<ChangeInternal>, message: ISequencedDocumentMessage): void {
|
|
1093
1078
|
const { id: editId } = edit;
|
|
1094
1079
|
const wasLocalEdit = this.editLog.isLocalEdit(editId);
|
|
@@ -1381,13 +1366,13 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
1381
1366
|
if (this.isAttached()) {
|
|
1382
1367
|
switch (this.writeFormat) {
|
|
1383
1368
|
case WriteFormat.v0_0_2:
|
|
1384
|
-
this.submitOp(this.encoder_0_0_2.encodeEditOp(edit,
|
|
1369
|
+
this.submitOp(this.encoder_0_0_2.encodeEditOp(edit, (x) => x, this));
|
|
1385
1370
|
break;
|
|
1386
1371
|
case WriteFormat.v0_1_1:
|
|
1387
1372
|
this.submitOp(
|
|
1388
1373
|
this.encoder_0_1_1.encodeEditOp(
|
|
1389
1374
|
edit,
|
|
1390
|
-
|
|
1375
|
+
(x) => x,
|
|
1391
1376
|
this.idCompressor.takeNextCreationRange(),
|
|
1392
1377
|
this.idNormalizer,
|
|
1393
1378
|
this.interner
|
|
@@ -1400,10 +1385,6 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
1400
1385
|
}
|
|
1401
1386
|
}
|
|
1402
1387
|
|
|
1403
|
-
private serializeEdit<TChange>(preparedEdit: Edit<TChange>): Edit<TChange> {
|
|
1404
|
-
return this.serializer.encode(preparedEdit, this.handle) as Edit<TChange>;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
1388
|
/** A type-safe `submitLocalMessage` wrapper to enforce op format */
|
|
1408
1389
|
private submitOp(content: SharedTreeOp | SharedTreeOp_0_0_2, localOpMetadata: unknown = undefined): void {
|
|
1409
1390
|
assert(
|
|
@@ -1422,12 +1403,11 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
1422
1403
|
* When closing a container, hosts have the option to stash this pending local state somewhere to be reapplied
|
|
1423
1404
|
* later (to avoid data loss).
|
|
1424
1405
|
* If a host then loads a container using that stashed state, this function is called for each stashed op, and is expected to:
|
|
1425
|
-
*
|
|
1426
|
-
* 2. Return any `localOpMetadata` that would have been associated with this op.
|
|
1406
|
+
* Update this DDS to reflect that state locally, and submit the op to do that.
|
|
1427
1407
|
*
|
|
1428
1408
|
* @param content - op to apply locally.
|
|
1429
1409
|
*/
|
|
1430
|
-
protected applyStashedOp(op: unknown):
|
|
1410
|
+
protected applyStashedOp(op: unknown): void {
|
|
1431
1411
|
// In some scenarios, edit ops need to have their edits transformed before application and resubmission. The transformation
|
|
1432
1412
|
// occurs in this method, and the result is passed to `resubmitCore` via the return value of this function.
|
|
1433
1413
|
const sharedTreeOp = op as SharedTreeOp | SharedTreeOp_0_0_2;
|
|
@@ -1492,7 +1472,7 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
1492
1472
|
|
|
1493
1473
|
stashedEdit = this.encoder_0_1_1.decodeEditOp(
|
|
1494
1474
|
sharedTreeOp,
|
|
1495
|
-
|
|
1475
|
+
(x) => x,
|
|
1496
1476
|
normalizer,
|
|
1497
1477
|
this.interner
|
|
1498
1478
|
);
|
|
@@ -1505,14 +1485,14 @@ export class SharedTree extends SharedObject<ISharedTreeEvents> implements NodeI
|
|
|
1505
1485
|
default:
|
|
1506
1486
|
fail('Unknown version');
|
|
1507
1487
|
}
|
|
1508
|
-
this.
|
|
1509
|
-
return
|
|
1488
|
+
this.applyEditInternal(stashedEdit);
|
|
1489
|
+
return;
|
|
1510
1490
|
}
|
|
1511
1491
|
// Handle and update ops are only acknowledged by the client that generated them upon sequencing--no local changes necessary.
|
|
1512
1492
|
case SharedTreeOpType.Handle:
|
|
1513
1493
|
case SharedTreeOpType.Update:
|
|
1514
1494
|
case SharedTreeOpType.NoOp:
|
|
1515
|
-
return
|
|
1495
|
+
return;
|
|
1516
1496
|
default:
|
|
1517
1497
|
fail('Unrecognized op');
|
|
1518
1498
|
}
|
package/src/SharedTreeEncoder.ts
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
import { assert } from '@fluidframework/core-utils';
|
|
7
7
|
import { IsoBuffer } from '@fluid-internal/client-utils';
|
|
8
|
-
import { assertWithMessage, fail } from './Common';
|
|
9
|
-
import { EditLog } from './EditLog';
|
|
10
|
-
import { convertTreeNodes, newEdit } from './EditUtilities';
|
|
11
|
-
import { AttributionId, DetachedSequenceId, FinalNodeId, OpSpaceNodeId, TraitLabel } from './Identifiers';
|
|
12
|
-
import { initialTree } from './InitialTree';
|
|
8
|
+
import { assertWithMessage, fail } from './Common.js';
|
|
9
|
+
import { EditLog } from './EditLog.js';
|
|
10
|
+
import { convertTreeNodes, newEdit } from './EditUtilities.js';
|
|
11
|
+
import { AttributionId, DetachedSequenceId, FinalNodeId, OpSpaceNodeId, TraitLabel } from './Identifiers.js';
|
|
12
|
+
import { initialTree } from './InitialTree.js';
|
|
13
13
|
import {
|
|
14
14
|
ContextualizedNodeIdNormalizer,
|
|
15
15
|
getNodeIdContext,
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
NodeIdNormalizer,
|
|
20
20
|
scopeIdNormalizer,
|
|
21
21
|
sequencedIdNormalizer,
|
|
22
|
-
} from './NodeIdUtilities';
|
|
23
|
-
import { getChangeNodeFromView, getChangeNode_0_0_2FromView } from './SerializationUtilities';
|
|
22
|
+
} from './NodeIdUtilities.js';
|
|
23
|
+
import { getChangeNodeFromView, getChangeNode_0_0_2FromView } from './SerializationUtilities.js';
|
|
24
24
|
import {
|
|
25
25
|
CompressedChangeInternal,
|
|
26
26
|
ChangeInternal,
|
|
@@ -43,20 +43,20 @@ import {
|
|
|
43
43
|
FluidEditHandle,
|
|
44
44
|
StablePlaceInternal,
|
|
45
45
|
Side,
|
|
46
|
-
} from './persisted-types';
|
|
47
|
-
import { RevisionView } from './RevisionView';
|
|
48
|
-
import { MutableStringInterner, StringInterner } from './StringInterner';
|
|
49
|
-
import { SummaryContents } from './Summary';
|
|
50
|
-
import { InterningTreeCompressor } from './TreeCompressor';
|
|
46
|
+
} from './persisted-types/index.js';
|
|
47
|
+
import { RevisionView } from './RevisionView.js';
|
|
48
|
+
import { MutableStringInterner, StringInterner } from './StringInterner.js';
|
|
49
|
+
import { SummaryContents } from './Summary.js';
|
|
50
|
+
import { InterningTreeCompressor } from './TreeCompressor.js';
|
|
51
51
|
import {
|
|
52
52
|
createSessionId,
|
|
53
53
|
hasOngoingSession,
|
|
54
54
|
IdCompressor,
|
|
55
55
|
IdCreationRange,
|
|
56
56
|
SerializedIdCompressorWithNoSession,
|
|
57
|
-
} from './id-compressor';
|
|
58
|
-
import { ChangeCompressor, compressEdit, decompressEdit } from './ChangeCompression';
|
|
59
|
-
import { convertEditIds, convertNodeDataIds } from './IdConversion';
|
|
57
|
+
} from './id-compressor/index.js';
|
|
58
|
+
import { ChangeCompressor, compressEdit, decompressEdit } from './ChangeCompression.js';
|
|
59
|
+
import { convertEditIds, convertNodeDataIds } from './IdConversion.js';
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Object capable of converting between the current internal representation for 0.1.1 edits and their wire format.
|
package/src/StringInterner.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { fail } from './Common';
|
|
7
|
-
import type { InternedStringId } from './Identifiers';
|
|
6
|
+
import { fail } from './Common.js';
|
|
7
|
+
import type { InternedStringId } from './Identifiers.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Interns strings as integers.
|
package/src/Summary.ts
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
import type { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
7
7
|
import { IFluidSerializer, serializeHandles } from '@fluidframework/shared-object-base';
|
|
8
|
-
import { fail } from './Common';
|
|
9
|
-
import type { IdCompressor } from './id-compressor';
|
|
10
|
-
import type { EditLogSummary, SharedTreeSummaryBase, ChangeNode, ChangeInternal } from './persisted-types';
|
|
11
|
-
import type { EditHandle } from './EditLog';
|
|
12
|
-
import type { MutableStringInterner } from './StringInterner';
|
|
8
|
+
import { fail } from './Common.js';
|
|
9
|
+
import type { IdCompressor } from './id-compressor/index.js';
|
|
10
|
+
import type { EditLogSummary, SharedTreeSummaryBase, ChangeNode, ChangeInternal } from './persisted-types/index.js';
|
|
11
|
+
import type { EditHandle } from './EditLog.js';
|
|
12
|
+
import type { MutableStringInterner } from './StringInterner.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* The contents of a SharedTree summary, converted to a common internal format that can be
|
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type {
|
|
6
|
+
import type { ITelemetryBaseProperties } from '@fluidframework/core-interfaces';
|
|
7
7
|
import type { IFluidSerializer } from '@fluidframework/shared-object-base';
|
|
8
|
-
import { fail } from './Common';
|
|
9
|
-
import { getNumberOfHandlesFromEditLogSummary } from './EditLog';
|
|
10
|
-
import {
|
|
8
|
+
import { fail } from './Common.js';
|
|
9
|
+
import { getNumberOfHandlesFromEditLogSummary } from './EditLog.js';
|
|
10
|
+
import {
|
|
11
|
+
SharedTreeSummary,
|
|
12
|
+
SharedTreeSummaryBase,
|
|
13
|
+
SharedTreeSummary_0_0_2,
|
|
14
|
+
WriteFormat,
|
|
15
|
+
} from './persisted-types/index.js';
|
|
11
16
|
|
|
12
17
|
/**
|
|
13
18
|
* Deserializes a JSON object produced by `serialize()` and uses it to initialize the tree with the encoded state.
|
|
@@ -43,7 +48,7 @@ export function deserialize(jsonSummary: string, serializer: IFluidSerializer):
|
|
|
43
48
|
/**
|
|
44
49
|
* General statistics about summaries.
|
|
45
50
|
*/
|
|
46
|
-
export interface SummaryStatistics extends
|
|
51
|
+
export interface SummaryStatistics extends ITelemetryBaseProperties {
|
|
47
52
|
/** Format version the summary is written in. */
|
|
48
53
|
readonly formatVersion: string;
|
|
49
54
|
/** Number of edits. */
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { IsoBuffer } from '@fluid-internal/client-utils';
|
|
7
|
-
import type { EditLog } from './EditLog';
|
|
8
|
-
import type { ChangeInternal, EditChunkContents, FluidEditHandle } from './persisted-types';
|
|
9
|
-
import type { SharedTree } from './SharedTree';
|
|
7
|
+
import type { EditLog } from './EditLog.js';
|
|
8
|
+
import type { ChangeInternal, EditChunkContents, FluidEditHandle } from './persisted-types/index.js';
|
|
9
|
+
import type { SharedTree } from './SharedTree.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Format used for exporting an uploaded edit chunk and its associated handle path. Primarily used for testing SharedTree summaries.
|
package/src/Transaction.ts
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
7
7
|
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
8
|
-
import { ChangeInternal, Edit, EditStatus } from './persisted-types';
|
|
9
|
-
import { newEditId } from './EditUtilities';
|
|
10
|
-
import { TreeView } from './TreeView';
|
|
11
|
-
import { Change } from './ChangeTypes';
|
|
12
|
-
import { SharedTree } from './SharedTree';
|
|
13
|
-
import { GenericTransaction, TransactionInternal } from './TransactionInternal';
|
|
14
|
-
import { CachingLogViewer } from './LogViewer';
|
|
15
|
-
import { RestOrArray, unwrapRestOrArray } from './Common';
|
|
8
|
+
import { ChangeInternal, Edit, EditStatus } from './persisted-types/index.js';
|
|
9
|
+
import { newEditId } from './EditUtilities.js';
|
|
10
|
+
import { TreeView } from './TreeView.js';
|
|
11
|
+
import { Change } from './ChangeTypes.js';
|
|
12
|
+
import { SharedTree } from './SharedTree.js';
|
|
13
|
+
import { GenericTransaction, TransactionInternal } from './TransactionInternal.js';
|
|
14
|
+
import { CachingLogViewer } from './LogViewer.js';
|
|
15
|
+
import { RestOrArray, unwrapRestOrArray } from './Common.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* An event emitted by a `Transaction` to indicate a state change. See {@link TransactionEvents} for event argument information.
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { assert } from '@fluidframework/core-utils';
|
|
7
|
-
import { assertWithMessage, copyPropertyIfDefined, fail, Result } from './Common';
|
|
8
|
-
import { NodeId, DetachedSequenceId, TraitLabel, isDetachedSequenceId } from './Identifiers';
|
|
9
|
-
import { rangeFromStableRange } from './TreeViewUtilities';
|
|
7
|
+
import { assertWithMessage, copyPropertyIfDefined, fail, Result } from './Common.js';
|
|
8
|
+
import { NodeId, DetachedSequenceId, TraitLabel, isDetachedSequenceId } from './Identifiers.js';
|
|
9
|
+
import { rangeFromStableRange } from './TreeViewUtilities.js';
|
|
10
10
|
import {
|
|
11
11
|
BuildInternal,
|
|
12
12
|
BuildNodeInternal,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
SetValueInternal,
|
|
21
21
|
StablePlaceInternal,
|
|
22
22
|
StableRangeInternal,
|
|
23
|
-
} from './persisted-types';
|
|
23
|
+
} from './persisted-types/index.js';
|
|
24
24
|
import {
|
|
25
25
|
detachRange,
|
|
26
26
|
insertIntoTrait,
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
BadRangeValidationResult,
|
|
31
31
|
PlaceValidationResult,
|
|
32
32
|
RangeValidationResultKind,
|
|
33
|
-
} from './EditUtilities';
|
|
34
|
-
import { RevisionView, TransactionView } from './RevisionView';
|
|
35
|
-
import { ReconciliationChange, ReconciliationPath } from './ReconciliationPath';
|
|
36
|
-
import { TreeViewNode } from './TreeView';
|
|
33
|
+
} from './EditUtilities.js';
|
|
34
|
+
import { RevisionView, TransactionView } from './RevisionView.js';
|
|
35
|
+
import { ReconciliationChange, ReconciliationPath } from './ReconciliationPath.js';
|
|
36
|
+
import { TreeViewNode } from './TreeView.js';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Result of applying a transaction.
|
package/src/TreeCompressor.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import { assert } from '@fluidframework/core-utils';
|
|
6
|
-
import { isDetachedSequenceId } from './Identifiers';
|
|
7
|
-
import type { Definition, DetachedSequenceId, InternedStringId, OpSpaceNodeId, TraitLabel } from './Identifiers';
|
|
8
|
-
import type { StringInterner } from './StringInterner';
|
|
9
|
-
import type { CompressedTraits, CompressedPlaceholderTree, PlaceholderTree, Payload } from './persisted-types';
|
|
10
|
-
import type { ContextualizedNodeIdNormalizer } from './NodeIdUtilities';
|
|
11
|
-
import { fail, Mutable } from './Common';
|
|
6
|
+
import { isDetachedSequenceId } from './Identifiers.js';
|
|
7
|
+
import type { Definition, DetachedSequenceId, InternedStringId, OpSpaceNodeId, TraitLabel } from './Identifiers.js';
|
|
8
|
+
import type { StringInterner } from './StringInterner.js';
|
|
9
|
+
import type { CompressedTraits, CompressedPlaceholderTree, PlaceholderTree, Payload } from './persisted-types/index.js';
|
|
10
|
+
import type { ContextualizedNodeIdNormalizer } from './NodeIdUtilities.js';
|
|
11
|
+
import { fail, Mutable } from './Common.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Compresses a given {@link PlaceholderTree} into a more compact serializable format.
|
package/src/TreeNodeHandle.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Definition, NodeId } from './Identifiers';
|
|
7
|
-
import { fail, memoizeGetter } from './Common';
|
|
8
|
-
import { Payload, TraitMap, TreeNode } from './persisted-types';
|
|
9
|
-
import { TreeView, TreeViewNode } from './TreeView';
|
|
6
|
+
import { Definition, NodeId } from './Identifiers.js';
|
|
7
|
+
import { fail, memoizeGetter } from './Common.js';
|
|
8
|
+
import { Payload, TraitMap, TreeNode } from './persisted-types/index.js';
|
|
9
|
+
import { TreeView, TreeViewNode } from './TreeView.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* A handle to a `TreeNode` that exists within a specific `TreeView`. This type provides a convenient
|
package/src/TreeView.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { assert } from '@fluidframework/core-utils';
|
|
7
|
-
import { copyPropertyIfDefined, fail } from './Common';
|
|
8
|
-
import { NodeId, TraitLabel } from './Identifiers';
|
|
9
|
-
import { Delta, Forest, isParentedForestNode } from './Forest';
|
|
10
|
-
import { NodeData, Side } from './persisted-types';
|
|
7
|
+
import { copyPropertyIfDefined, fail } from './Common.js';
|
|
8
|
+
import { NodeId, TraitLabel } from './Identifiers.js';
|
|
9
|
+
import { Delta, Forest, isParentedForestNode } from './Forest.js';
|
|
10
|
+
import { NodeData, Side } from './persisted-types/index.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Specifies the location of a trait (a labeled sequence of nodes) within the tree.
|
package/src/TreeViewUtilities.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { StablePlace, StableRange } from './ChangeTypes';
|
|
7
|
-
import { assertWithMessage, fail } from './Common';
|
|
8
|
-
import { TraitLocation, TreeView, TreeViewPlace, TreeViewRange } from './TreeView';
|
|
6
|
+
import { StablePlace, StableRange } from './ChangeTypes.js';
|
|
7
|
+
import { assertWithMessage, fail } from './Common.js';
|
|
8
|
+
import { TraitLocation, TreeView, TreeViewPlace, TreeViewRange } from './TreeView.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Express the given {@link (StableRange:interface)} as a {@link TreeViewRange}
|
package/src/UndoRedoHandler.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { assertNotUndefined } from './Common';
|
|
7
|
-
import { SharedTreeEvent } from './EventTypes';
|
|
8
|
-
import { EditId } from './Identifiers';
|
|
9
|
-
import { EditCommittedEventArguments, SharedTree } from './SharedTree';
|
|
6
|
+
import { assertNotUndefined } from './Common.js';
|
|
7
|
+
import { SharedTreeEvent } from './EventTypes.js';
|
|
8
|
+
import { EditId } from './Identifiers.js';
|
|
9
|
+
import { EditCommittedEventArguments, SharedTree } from './SharedTree.js';
|
|
10
10
|
|
|
11
11
|
// TODO: We temporarily duplicate these contracts from 'framework/undo-redo' to unblock development
|
|
12
12
|
// while we decide on the correct layering for undo.
|
package/src/UuidUtilities.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { v4, NIL } from 'uuid';
|
|
7
|
-
import { assertWithMessage } from './Common';
|
|
8
|
-
import { StableId, UuidString } from './Identifiers';
|
|
7
|
+
import { assertWithMessage } from './Common.js';
|
|
8
|
+
import { StableId, UuidString } from './Identifiers.js';
|
|
9
9
|
|
|
10
10
|
const hexadecimalCharCodes = Array.from('09afAF').map((c) => c.charCodeAt(0)) as [
|
|
11
11
|
zero: number,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
Mutable,
|
|
22
22
|
setPropertyIfDefined,
|
|
23
23
|
assertWithMessage,
|
|
24
|
-
} from '../Common';
|
|
24
|
+
} from '../Common.js';
|
|
25
25
|
import {
|
|
26
26
|
LocalCompressedId,
|
|
27
27
|
FinalCompressedId,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
CompressedId,
|
|
33
33
|
UuidString,
|
|
34
34
|
AttributionId,
|
|
35
|
-
} from '../Identifiers';
|
|
36
|
-
import { assertIsStableId, assertIsUuidString, isStableId } from '../UuidUtilities';
|
|
37
|
-
import { AppendOnlySortedMap } from './AppendOnlySortedMap';
|
|
38
|
-
import { getIds } from './IdRange';
|
|
35
|
+
} from '../Identifiers.js';
|
|
36
|
+
import { assertIsStableId, assertIsUuidString, isStableId } from '../UuidUtilities.js';
|
|
37
|
+
import { AppendOnlySortedMap } from './AppendOnlySortedMap.js';
|
|
38
|
+
import { getIds } from './IdRange.js';
|
|
39
39
|
import {
|
|
40
40
|
numericUuidEquals,
|
|
41
41
|
getPositiveDelta,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
NumericUuid,
|
|
45
45
|
stableIdFromNumericUuid,
|
|
46
46
|
ensureSessionUuid,
|
|
47
|
-
} from './NumericUuid';
|
|
47
|
+
} from './NumericUuid.js';
|
|
48
48
|
import type {
|
|
49
49
|
IdCreationRange,
|
|
50
50
|
SerializedCluster,
|
|
@@ -56,8 +56,8 @@ import type {
|
|
|
56
56
|
SerializedSessionData,
|
|
57
57
|
UnackedLocalId,
|
|
58
58
|
VersionedSerializedIdCompressor,
|
|
59
|
-
} from './persisted-types';
|
|
60
|
-
import { SessionIdNormalizer } from './SessionIdNormalizer';
|
|
59
|
+
} from './persisted-types/index.js';
|
|
60
|
+
import { SessionIdNormalizer } from './SessionIdNormalizer.js';
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* A cluster of final (sequenced via consensus), sequentially allocated compressed IDs.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { assert } from '@fluidframework/core-utils';
|
|
7
|
-
import type { IdCreationRange, UnackedLocalId } from './persisted-types';
|
|
7
|
+
import type { IdCreationRange, UnackedLocalId } from './persisted-types/index.js';
|
|
8
8
|
|
|
9
9
|
export function getIds(
|
|
10
10
|
range: IdCreationRange
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
/* eslint-disable no-bitwise */
|
|
7
7
|
|
|
8
|
-
import { SessionId, StableId } from '../Identifiers';
|
|
9
|
-
import { generateStableId } from '../UuidUtilities';
|
|
10
|
-
import { assertWithMessage, fail } from '../Common';
|
|
8
|
+
import { SessionId, StableId } from '../Identifiers.js';
|
|
9
|
+
import { generateStableId } from '../UuidUtilities.js';
|
|
10
|
+
import { assertWithMessage, fail } from '../Common.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* A UUID (128 bit identifier) optimized for use as a 128 bit unsigned integer with fast addition and toString operations.
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
/* eslint-disable @typescript-eslint/restrict-plus-operands */
|
|
7
7
|
|
|
8
8
|
import { assert } from '@fluidframework/core-utils';
|
|
9
|
-
import { compareFiniteNumbers, compareFiniteNumbersReversed, fail, Mutable } from '../Common';
|
|
10
|
-
import { FinalCompressedId, LocalCompressedId, SessionSpaceCompressedId } from '../Identifiers';
|
|
11
|
-
import { AppendOnlyDoublySortedMap } from './AppendOnlySortedMap';
|
|
12
|
-
import { SerializedSessionIdNormalizer } from './persisted-types';
|
|
9
|
+
import { compareFiniteNumbers, compareFiniteNumbersReversed, fail, Mutable } from '../Common.js';
|
|
10
|
+
import { FinalCompressedId, LocalCompressedId, SessionSpaceCompressedId } from '../Identifiers.js';
|
|
11
|
+
import { AppendOnlyDoublySortedMap } from './AppendOnlySortedMap.js';
|
|
12
|
+
import { SerializedSessionIdNormalizer } from './persisted-types/index.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Maps IDs created by a session between their local and final forms (i.e. normalization). These IDs are in a contiguous range.
|
|
@@ -14,8 +14,8 @@ export {
|
|
|
14
14
|
isFinalId,
|
|
15
15
|
isLocalId,
|
|
16
16
|
legacySharedTreeInitialTreeId,
|
|
17
|
-
} from './IdCompressor';
|
|
18
|
-
export { getIds } from './IdRange';
|
|
17
|
+
} from './IdCompressor.js';
|
|
18
|
+
export { getIds } from './IdRange.js';
|
|
19
19
|
export {
|
|
20
20
|
IdCreationRange,
|
|
21
21
|
SerializedCluster,
|
|
@@ -29,5 +29,5 @@ export {
|
|
|
29
29
|
SerializedSessionIdNormalizer,
|
|
30
30
|
UnackedLocalId,
|
|
31
31
|
VersionedSerializedIdCompressor,
|
|
32
|
-
} from './persisted-types';
|
|
33
|
-
export { createSessionId } from './NumericUuid';
|
|
32
|
+
} from './persisted-types/index.js';
|
|
33
|
+
export { createSessionId } from './NumericUuid.js';
|