@fluidframework/container-runtime 2.53.1 → 2.61.0-355054
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/.mocharc.cjs +1 -2
- package/CHANGELOG.md +4 -0
- package/api-report/{container-runtime.legacy.alpha.api.md → container-runtime.legacy.beta.api.md} +55 -55
- package/container-runtime.test-files.tar +0 -0
- package/dist/batchTracker.d.ts +1 -1
- package/dist/batchTracker.d.ts.map +1 -1
- package/dist/batchTracker.js.map +1 -1
- package/dist/blobManager/blobManager.d.ts +29 -17
- package/dist/blobManager/blobManager.d.ts.map +1 -1
- package/dist/blobManager/blobManager.js +150 -135
- package/dist/blobManager/blobManager.js.map +1 -1
- package/dist/blobManager/blobManagerSnapSum.d.ts +4 -4
- package/dist/blobManager/blobManagerSnapSum.d.ts.map +1 -1
- package/dist/blobManager/blobManagerSnapSum.js +30 -33
- package/dist/blobManager/blobManagerSnapSum.js.map +1 -1
- package/dist/blobManager/index.d.ts +2 -2
- package/dist/blobManager/index.d.ts.map +1 -1
- package/dist/blobManager/index.js.map +1 -1
- package/dist/channelCollection.d.ts +9 -11
- package/dist/channelCollection.d.ts.map +1 -1
- package/dist/channelCollection.js +2 -3
- package/dist/channelCollection.js.map +1 -1
- package/dist/compressionDefinitions.d.ts +3 -6
- package/dist/compressionDefinitions.d.ts.map +1 -1
- package/dist/compressionDefinitions.js +2 -4
- package/dist/compressionDefinitions.js.map +1 -1
- package/dist/connectionTelemetry.d.ts +3 -4
- package/dist/connectionTelemetry.d.ts.map +1 -1
- package/dist/connectionTelemetry.js.map +1 -1
- package/dist/containerHandleContext.d.ts +2 -2
- package/dist/containerHandleContext.d.ts.map +1 -1
- package/dist/containerHandleContext.js.map +1 -1
- package/dist/containerRuntime.d.ts +13 -20
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +4 -7
- package/dist/containerRuntime.js.map +1 -1
- package/dist/dataStore.d.ts +3 -3
- package/dist/dataStore.d.ts.map +1 -1
- package/dist/dataStore.js.map +1 -1
- package/dist/dataStoreContext.d.ts +8 -8
- package/dist/dataStoreContext.d.ts.map +1 -1
- package/dist/dataStoreContext.js.map +1 -1
- package/dist/dataStoreContexts.d.ts +2 -2
- package/dist/dataStoreContexts.d.ts.map +1 -1
- package/dist/dataStoreContexts.js.map +1 -1
- package/dist/dataStoreRegistry.d.ts +1 -1
- package/dist/dataStoreRegistry.d.ts.map +1 -1
- package/dist/dataStoreRegistry.js.map +1 -1
- package/dist/deltaManagerProxies.d.ts +2 -3
- package/dist/deltaManagerProxies.d.ts.map +1 -1
- package/dist/deltaManagerProxies.js.map +1 -1
- package/dist/deltaScheduler.d.ts +2 -2
- package/dist/deltaScheduler.d.ts.map +1 -1
- package/dist/deltaScheduler.js.map +1 -1
- package/dist/error.d.ts +1 -1
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js.map +1 -1
- package/dist/gc/garbageCollection.d.ts +4 -4
- package/dist/gc/garbageCollection.d.ts.map +1 -1
- package/dist/gc/garbageCollection.js.map +1 -1
- package/dist/gc/gcConfigs.d.ts +3 -3
- package/dist/gc/gcConfigs.d.ts.map +1 -1
- package/dist/gc/gcConfigs.js.map +1 -1
- package/dist/gc/gcDefinitions.d.ts +10 -11
- package/dist/gc/gcDefinitions.d.ts.map +1 -1
- package/dist/gc/gcDefinitions.js.map +1 -1
- package/dist/gc/gcHelpers.d.ts +4 -4
- package/dist/gc/gcHelpers.d.ts.map +1 -1
- package/dist/gc/gcHelpers.js.map +1 -1
- package/dist/gc/gcReferenceGraphAlgorithm.d.ts +1 -1
- package/dist/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -1
- package/dist/gc/gcReferenceGraphAlgorithm.js.map +1 -1
- package/dist/gc/gcSummaryDefinitions.d.ts +1 -1
- package/dist/gc/gcSummaryDefinitions.d.ts.map +1 -1
- package/dist/gc/gcSummaryDefinitions.js.map +1 -1
- package/dist/gc/gcSummaryStateTracker.d.ts +4 -4
- package/dist/gc/gcSummaryStateTracker.d.ts.map +1 -1
- package/dist/gc/gcSummaryStateTracker.js.map +1 -1
- package/dist/gc/gcTelemetry.d.ts +6 -6
- package/dist/gc/gcTelemetry.d.ts.map +1 -1
- package/dist/gc/gcTelemetry.js.map +1 -1
- package/dist/gc/index.d.ts +3 -3
- package/dist/gc/index.d.ts.map +1 -1
- package/dist/gc/index.js.map +1 -1
- package/dist/inboundBatchAggregator.d.ts +2 -2
- package/dist/inboundBatchAggregator.d.ts.map +1 -1
- package/dist/inboundBatchAggregator.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +2 -1
- package/dist/messageTypes.d.ts +7 -8
- package/dist/messageTypes.d.ts.map +1 -1
- package/dist/messageTypes.js +1 -2
- package/dist/messageTypes.js.map +1 -1
- package/dist/opLifecycle/batchManager.d.ts +2 -2
- package/dist/opLifecycle/batchManager.d.ts.map +1 -1
- package/dist/opLifecycle/batchManager.js.map +1 -1
- package/dist/opLifecycle/definitions.d.ts +1 -1
- package/dist/opLifecycle/definitions.d.ts.map +1 -1
- package/dist/opLifecycle/definitions.js.map +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.d.ts +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.d.ts.map +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.js.map +1 -1
- package/dist/opLifecycle/index.d.ts +5 -5
- package/dist/opLifecycle/index.d.ts.map +1 -1
- package/dist/opLifecycle/index.js.map +1 -1
- package/dist/opLifecycle/opCompressor.d.ts +2 -2
- package/dist/opLifecycle/opCompressor.d.ts.map +1 -1
- package/dist/opLifecycle/opCompressor.js.map +1 -1
- package/dist/opLifecycle/opDecompressor.d.ts +2 -2
- package/dist/opLifecycle/opDecompressor.d.ts.map +1 -1
- package/dist/opLifecycle/opDecompressor.js.map +1 -1
- package/dist/opLifecycle/opGroupingManager.d.ts +3 -3
- package/dist/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/dist/opLifecycle/opGroupingManager.js.map +1 -1
- package/dist/opLifecycle/opSplitter.d.ts +4 -4
- package/dist/opLifecycle/opSplitter.d.ts.map +1 -1
- package/dist/opLifecycle/opSplitter.js.map +1 -1
- package/dist/opLifecycle/outbox.d.ts +9 -9
- package/dist/opLifecycle/outbox.d.ts.map +1 -1
- package/dist/opLifecycle/outbox.js.map +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.d.ts +4 -4
- package/dist/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/dist/opProperties.d.ts +1 -1
- package/dist/opProperties.d.ts.map +1 -1
- package/dist/opProperties.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/pendingStateManager.d.ts +3 -3
- package/dist/pendingStateManager.d.ts.map +1 -1
- package/dist/pendingStateManager.js.map +1 -1
- package/dist/storageServiceWithAttachBlobs.d.ts +1 -1
- package/dist/storageServiceWithAttachBlobs.d.ts.map +1 -1
- package/dist/storageServiceWithAttachBlobs.js.map +1 -1
- package/dist/summary/documentSchema.d.ts +1 -2
- package/dist/summary/documentSchema.d.ts.map +1 -1
- package/dist/summary/documentSchema.js.map +1 -1
- package/dist/summary/index.d.ts +10 -10
- package/dist/summary/index.d.ts.map +1 -1
- package/dist/summary/index.js.map +1 -1
- package/dist/summary/orderedClientElection.d.ts +4 -4
- package/dist/summary/orderedClientElection.d.ts.map +1 -1
- package/dist/summary/orderedClientElection.js.map +1 -1
- package/dist/summary/summarizerClientElection.d.ts +5 -5
- package/dist/summary/summarizerClientElection.d.ts.map +1 -1
- package/dist/summary/summarizerClientElection.js.map +1 -1
- package/dist/summary/summarizerNode/index.d.ts +3 -3
- package/dist/summary/summarizerNode/index.d.ts.map +1 -1
- package/dist/summary/summarizerNode/index.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.d.ts +5 -6
- package/dist/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts +3 -3
- package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts +3 -3
- package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/dist/summary/summarizerTypes.d.ts +25 -44
- package/dist/summary/summarizerTypes.d.ts.map +1 -1
- package/dist/summary/summarizerTypes.js.map +1 -1
- package/dist/summary/summarizerUtils.d.ts +3 -3
- package/dist/summary/summarizerUtils.d.ts.map +1 -1
- package/dist/summary/summarizerUtils.js.map +1 -1
- package/dist/summary/summaryCollection.d.ts +13 -23
- package/dist/summary/summaryCollection.d.ts.map +1 -1
- package/dist/summary/summaryCollection.js +1 -2
- package/dist/summary/summaryCollection.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/index.d.ts +2 -2
- package/dist/summary/summaryDelayLoadedModule/index.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/index.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts +1 -1
- package/dist/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runningSummarizer.d.ts +3 -3
- package/dist/summary/summaryDelayLoadedModule/runningSummarizer.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runningSummarizer.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizer.d.ts +5 -5
- package/dist/summary/summaryDelayLoadedModule/summarizer.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizer.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts +3 -4
- package/dist/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizerHeuristics.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryGenerator.d.ts +3 -3
- package/dist/summary/summaryDelayLoadedModule/summaryGenerator.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryGenerator.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultBuilder.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts +5 -10
- package/dist/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultTypes.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +9 -14
- package/dist/summary/summaryFormat.d.ts.map +1 -1
- package/dist/summary/summaryFormat.js.map +1 -1
- package/dist/summary/summaryHelpers.d.ts +1 -2
- package/dist/summary/summaryHelpers.d.ts.map +1 -1
- package/dist/summary/summaryHelpers.js +1 -2
- package/dist/summary/summaryHelpers.js.map +1 -1
- package/dist/summary/summaryManager.d.ts +3 -3
- package/dist/summary/summaryManager.d.ts.map +1 -1
- package/dist/summary/summaryManager.js.map +1 -1
- package/internal.d.ts +1 -1
- package/legacy.d.ts +1 -1
- package/lib/batchTracker.d.ts +1 -1
- package/lib/batchTracker.d.ts.map +1 -1
- package/lib/batchTracker.js.map +1 -1
- package/lib/blobManager/blobManager.d.ts +29 -17
- package/lib/blobManager/blobManager.d.ts.map +1 -1
- package/lib/blobManager/blobManager.js +142 -127
- package/lib/blobManager/blobManager.js.map +1 -1
- package/lib/blobManager/blobManagerSnapSum.d.ts +4 -4
- package/lib/blobManager/blobManagerSnapSum.d.ts.map +1 -1
- package/lib/blobManager/blobManagerSnapSum.js +26 -29
- package/lib/blobManager/blobManagerSnapSum.js.map +1 -1
- package/lib/blobManager/index.d.ts +2 -2
- package/lib/blobManager/index.d.ts.map +1 -1
- package/lib/blobManager/index.js.map +1 -1
- package/lib/channelCollection.d.ts +9 -11
- package/lib/channelCollection.d.ts.map +1 -1
- package/lib/channelCollection.js +2 -3
- package/lib/channelCollection.js.map +1 -1
- package/lib/compressionDefinitions.d.ts +3 -6
- package/lib/compressionDefinitions.d.ts.map +1 -1
- package/lib/compressionDefinitions.js +2 -4
- package/lib/compressionDefinitions.js.map +1 -1
- package/lib/connectionTelemetry.d.ts +3 -4
- package/lib/connectionTelemetry.d.ts.map +1 -1
- package/lib/connectionTelemetry.js.map +1 -1
- package/lib/containerHandleContext.d.ts +2 -2
- package/lib/containerHandleContext.d.ts.map +1 -1
- package/lib/containerHandleContext.js.map +1 -1
- package/lib/containerRuntime.d.ts +13 -20
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +4 -7
- package/lib/containerRuntime.js.map +1 -1
- package/lib/dataStore.d.ts +3 -3
- package/lib/dataStore.d.ts.map +1 -1
- package/lib/dataStore.js.map +1 -1
- package/lib/dataStoreContext.d.ts +8 -8
- package/lib/dataStoreContext.d.ts.map +1 -1
- package/lib/dataStoreContext.js.map +1 -1
- package/lib/dataStoreContexts.d.ts +2 -2
- package/lib/dataStoreContexts.d.ts.map +1 -1
- package/lib/dataStoreContexts.js.map +1 -1
- package/lib/dataStoreRegistry.d.ts +1 -1
- package/lib/dataStoreRegistry.d.ts.map +1 -1
- package/lib/dataStoreRegistry.js.map +1 -1
- package/lib/deltaManagerProxies.d.ts +2 -3
- package/lib/deltaManagerProxies.d.ts.map +1 -1
- package/lib/deltaManagerProxies.js.map +1 -1
- package/lib/deltaScheduler.d.ts +2 -2
- package/lib/deltaScheduler.d.ts.map +1 -1
- package/lib/deltaScheduler.js +1 -1
- package/lib/deltaScheduler.js.map +1 -1
- package/lib/error.d.ts +1 -1
- package/lib/error.d.ts.map +1 -1
- package/lib/error.js.map +1 -1
- package/lib/gc/garbageCollection.d.ts +4 -4
- package/lib/gc/garbageCollection.d.ts.map +1 -1
- package/lib/gc/garbageCollection.js.map +1 -1
- package/lib/gc/gcConfigs.d.ts +3 -3
- package/lib/gc/gcConfigs.d.ts.map +1 -1
- package/lib/gc/gcConfigs.js.map +1 -1
- package/lib/gc/gcDefinitions.d.ts +10 -11
- package/lib/gc/gcDefinitions.d.ts.map +1 -1
- package/lib/gc/gcDefinitions.js.map +1 -1
- package/lib/gc/gcHelpers.d.ts +4 -4
- package/lib/gc/gcHelpers.d.ts.map +1 -1
- package/lib/gc/gcHelpers.js.map +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.d.ts +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.js.map +1 -1
- package/lib/gc/gcSummaryDefinitions.d.ts +1 -1
- package/lib/gc/gcSummaryDefinitions.d.ts.map +1 -1
- package/lib/gc/gcSummaryDefinitions.js.map +1 -1
- package/lib/gc/gcSummaryStateTracker.d.ts +4 -4
- package/lib/gc/gcSummaryStateTracker.d.ts.map +1 -1
- package/lib/gc/gcSummaryStateTracker.js.map +1 -1
- package/lib/gc/gcTelemetry.d.ts +6 -6
- package/lib/gc/gcTelemetry.d.ts.map +1 -1
- package/lib/gc/gcTelemetry.js.map +1 -1
- package/lib/gc/index.d.ts +3 -3
- package/lib/gc/index.d.ts.map +1 -1
- package/lib/gc/index.js.map +1 -1
- package/lib/inboundBatchAggregator.d.ts +2 -2
- package/lib/inboundBatchAggregator.d.ts.map +1 -1
- package/lib/inboundBatchAggregator.js.map +1 -1
- package/lib/index.d.ts +7 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +2 -1
- package/lib/messageTypes.d.ts +7 -8
- package/lib/messageTypes.d.ts.map +1 -1
- package/lib/messageTypes.js +1 -2
- package/lib/messageTypes.js.map +1 -1
- package/lib/opLifecycle/batchManager.d.ts +2 -2
- package/lib/opLifecycle/batchManager.d.ts.map +1 -1
- package/lib/opLifecycle/batchManager.js.map +1 -1
- package/lib/opLifecycle/definitions.d.ts +1 -1
- package/lib/opLifecycle/definitions.d.ts.map +1 -1
- package/lib/opLifecycle/definitions.js.map +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.d.ts +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.d.ts.map +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.js.map +1 -1
- package/lib/opLifecycle/index.d.ts +5 -5
- package/lib/opLifecycle/index.d.ts.map +1 -1
- package/lib/opLifecycle/index.js.map +1 -1
- package/lib/opLifecycle/opCompressor.d.ts +2 -2
- package/lib/opLifecycle/opCompressor.d.ts.map +1 -1
- package/lib/opLifecycle/opCompressor.js.map +1 -1
- package/lib/opLifecycle/opDecompressor.d.ts +2 -2
- package/lib/opLifecycle/opDecompressor.d.ts.map +1 -1
- package/lib/opLifecycle/opDecompressor.js.map +1 -1
- package/lib/opLifecycle/opGroupingManager.d.ts +3 -3
- package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/lib/opLifecycle/opGroupingManager.js.map +1 -1
- package/lib/opLifecycle/opSplitter.d.ts +4 -4
- package/lib/opLifecycle/opSplitter.d.ts.map +1 -1
- package/lib/opLifecycle/opSplitter.js +1 -1
- package/lib/opLifecycle/opSplitter.js.map +1 -1
- package/lib/opLifecycle/outbox.d.ts +9 -9
- package/lib/opLifecycle/outbox.d.ts.map +1 -1
- package/lib/opLifecycle/outbox.js.map +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.d.ts +4 -4
- package/lib/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/lib/opProperties.d.ts +1 -1
- package/lib/opProperties.d.ts.map +1 -1
- package/lib/opProperties.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/pendingStateManager.d.ts +3 -3
- package/lib/pendingStateManager.d.ts.map +1 -1
- package/lib/pendingStateManager.js.map +1 -1
- package/lib/storageServiceWithAttachBlobs.d.ts +1 -1
- package/lib/storageServiceWithAttachBlobs.d.ts.map +1 -1
- package/lib/storageServiceWithAttachBlobs.js.map +1 -1
- package/lib/summary/documentSchema.d.ts +1 -2
- package/lib/summary/documentSchema.d.ts.map +1 -1
- package/lib/summary/documentSchema.js.map +1 -1
- package/lib/summary/index.d.ts +10 -10
- package/lib/summary/index.d.ts.map +1 -1
- package/lib/summary/index.js.map +1 -1
- package/lib/summary/orderedClientElection.d.ts +4 -4
- package/lib/summary/orderedClientElection.d.ts.map +1 -1
- package/lib/summary/orderedClientElection.js.map +1 -1
- package/lib/summary/summarizerClientElection.d.ts +5 -5
- package/lib/summary/summarizerClientElection.d.ts.map +1 -1
- package/lib/summary/summarizerClientElection.js.map +1 -1
- package/lib/summary/summarizerNode/index.d.ts +3 -3
- package/lib/summary/summarizerNode/index.d.ts.map +1 -1
- package/lib/summary/summarizerNode/index.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNode.d.ts +5 -6
- package/lib/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.d.ts +3 -3
- package/lib/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.d.ts +3 -3
- package/lib/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/lib/summary/summarizerTypes.d.ts +25 -44
- package/lib/summary/summarizerTypes.d.ts.map +1 -1
- package/lib/summary/summarizerTypes.js.map +1 -1
- package/lib/summary/summarizerUtils.d.ts +3 -3
- package/lib/summary/summarizerUtils.d.ts.map +1 -1
- package/lib/summary/summarizerUtils.js.map +1 -1
- package/lib/summary/summaryCollection.d.ts +13 -23
- package/lib/summary/summaryCollection.d.ts.map +1 -1
- package/lib/summary/summaryCollection.js +1 -2
- package/lib/summary/summaryCollection.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/index.d.ts +2 -2
- package/lib/summary/summaryDelayLoadedModule/index.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/index.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts +1 -1
- package/lib/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runningSummarizer.d.ts +3 -3
- package/lib/summary/summaryDelayLoadedModule/runningSummarizer.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runningSummarizer.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizer.d.ts +5 -5
- package/lib/summary/summaryDelayLoadedModule/summarizer.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizer.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts +3 -4
- package/lib/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizerHeuristics.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryGenerator.d.ts +3 -3
- package/lib/summary/summaryDelayLoadedModule/summaryGenerator.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryGenerator.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultBuilder.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts +5 -10
- package/lib/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultTypes.js.map +1 -1
- package/lib/summary/summaryFormat.d.ts +9 -14
- package/lib/summary/summaryFormat.d.ts.map +1 -1
- package/lib/summary/summaryFormat.js.map +1 -1
- package/lib/summary/summaryHelpers.d.ts +1 -2
- package/lib/summary/summaryHelpers.d.ts.map +1 -1
- package/lib/summary/summaryHelpers.js +1 -2
- package/lib/summary/summaryHelpers.js.map +1 -1
- package/lib/summary/summaryManager.d.ts +3 -3
- package/lib/summary/summaryManager.d.ts.map +1 -1
- package/lib/summary/summaryManager.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +27 -27
- package/src/batchTracker.ts +3 -3
- package/src/blobManager/blobManager.ts +165 -174
- package/src/blobManager/blobManagerSnapSum.ts +31 -53
- package/src/blobManager/index.ts +4 -4
- package/src/channelCollection.ts +28 -29
- package/src/compressionDefinitions.ts +3 -6
- package/src/connectionTelemetry.ts +8 -9
- package/src/containerHandleContext.ts +2 -2
- package/src/containerRuntime.ts +43 -50
- package/src/dataStore.ts +6 -6
- package/src/dataStoreContext.ts +33 -33
- package/src/dataStoreContexts.ts +3 -3
- package/src/dataStoreRegistry.ts +1 -1
- package/src/deltaManagerProxies.ts +3 -3
- package/src/deltaScheduler.ts +6 -3
- package/src/error.ts +1 -1
- package/src/gc/garbageCollection.ts +18 -18
- package/src/gc/gcConfigs.ts +7 -7
- package/src/gc/gcDefinitions.ts +11 -12
- package/src/gc/gcHelpers.ts +7 -7
- package/src/gc/gcReferenceGraphAlgorithm.ts +1 -1
- package/src/gc/gcSummaryDefinitions.ts +1 -1
- package/src/gc/gcSummaryStateTracker.ts +5 -5
- package/src/gc/gcTelemetry.ts +8 -8
- package/src/gc/index.ts +18 -18
- package/src/inboundBatchAggregator.ts +4 -4
- package/src/index.ts +79 -79
- package/src/messageTypes.ts +9 -10
- package/src/opLifecycle/batchManager.ts +2 -2
- package/src/opLifecycle/definitions.ts +1 -1
- package/src/opLifecycle/duplicateBatchDetector.ts +1 -1
- package/src/opLifecycle/index.ts +9 -9
- package/src/opLifecycle/opCompressor.ts +2 -2
- package/src/opLifecycle/opDecompressor.ts +3 -3
- package/src/opLifecycle/opGroupingManager.ts +6 -6
- package/src/opLifecycle/opSplitter.ts +10 -7
- package/src/opLifecycle/outbox.ts +17 -14
- package/src/opLifecycle/remoteMessageProcessor.ts +4 -4
- package/src/opProperties.ts +1 -1
- package/src/packageVersion.ts +1 -1
- package/src/pendingStateManager.ts +10 -10
- package/src/storageServiceWithAttachBlobs.ts +11 -11
- package/src/summary/documentSchema.ts +1 -2
- package/src/summary/index.ts +69 -69
- package/src/summary/orderedClientElection.ts +12 -4
- package/src/summary/summarizerClientElection.ts +5 -5
- package/src/summary/summarizerNode/index.ts +3 -3
- package/src/summary/summarizerNode/summarizerNode.ts +14 -12
- package/src/summary/summarizerNode/summarizerNodeUtils.ts +3 -3
- package/src/summary/summarizerNode/summarizerNodeWithGc.ts +3 -3
- package/src/summary/summarizerTypes.ts +25 -44
- package/src/summary/summarizerUtils.ts +3 -3
- package/src/summary/summaryCollection.ts +19 -29
- package/src/summary/summaryDelayLoadedModule/index.ts +2 -2
- package/src/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.ts +1 -1
- package/src/summary/summaryDelayLoadedModule/runningSummarizer.ts +4 -4
- package/src/summary/summaryDelayLoadedModule/summarizer.ts +8 -8
- package/src/summary/summaryDelayLoadedModule/summarizerHeuristics.ts +4 -4
- package/src/summary/summaryDelayLoadedModule/summaryGenerator.ts +3 -3
- package/src/summary/summaryDelayLoadedModule/summaryResultBuilder.ts +3 -3
- package/src/summary/summaryDelayLoadedModule/summaryResultTypes.ts +5 -10
- package/src/summary/summaryFormat.ts +9 -14
- package/src/summary/summaryHelpers.ts +1 -2
- package/src/summary/summaryManager.ts +4 -4
package/src/dataStoreContexts.ts
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IDisposable, ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { IDisposable, ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
7
|
import { assert, Deferred, Lazy } from "@fluidframework/core-utils/internal";
|
|
8
8
|
import {
|
|
9
|
-
ITelemetryLoggerExt,
|
|
9
|
+
type ITelemetryLoggerExt,
|
|
10
10
|
createChildLogger,
|
|
11
11
|
} from "@fluidframework/telemetry-utils/internal";
|
|
12
12
|
|
|
13
|
-
import { FluidDataStoreContext, LocalFluidDataStoreContext } from "./dataStoreContext.js";
|
|
13
|
+
import type { FluidDataStoreContext, LocalFluidDataStoreContext } from "./dataStoreContext.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|
package/src/dataStoreRegistry.ts
CHANGED
|
@@ -13,9 +13,9 @@ import type {
|
|
|
13
13
|
ReadOnlyInfo,
|
|
14
14
|
} from "@fluidframework/container-definitions/internal";
|
|
15
15
|
import type { IErrorBase } from "@fluidframework/core-interfaces";
|
|
16
|
-
import { IClientDetails } from "@fluidframework/driver-definitions";
|
|
17
|
-
import type {
|
|
18
|
-
|
|
16
|
+
import type { IClientDetails } from "@fluidframework/driver-definitions";
|
|
17
|
+
import type {
|
|
18
|
+
IAnyDriverError,
|
|
19
19
|
IClientConfiguration,
|
|
20
20
|
IDocumentMessage,
|
|
21
21
|
ISequencedDocumentMessage,
|
package/src/deltaScheduler.ts
CHANGED
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { performanceNow, type TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
7
|
-
import { IDeltaManagerFull } from "@fluidframework/container-definitions/internal";
|
|
8
|
-
import { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
7
|
+
import type { IDeltaManagerFull } from "@fluidframework/container-definitions/internal";
|
|
8
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
9
9
|
import type { IContainerRuntimeBaseEvents } from "@fluidframework/runtime-definitions/internal";
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
type ITelemetryLoggerExt,
|
|
12
|
+
formatTick,
|
|
13
|
+
} from "@fluidframework/telemetry-utils/internal";
|
|
11
14
|
|
|
12
15
|
/**
|
|
13
16
|
* DeltaScheduler is responsible for the scheduling of inbound delta queue in cases where there
|
package/src/error.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { ContainerErrorTypes } from "@fluidframework/container-definitions/internal";
|
|
7
|
-
import { IFluidErrorBase, LoggingError } from "@fluidframework/telemetry-utils/internal";
|
|
7
|
+
import { type IFluidErrorBase, LoggingError } from "@fluidframework/telemetry-utils/internal";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Error indicating that a client's session has reached its time limit and is closed.
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IRequest } from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { IRequest } from "@fluidframework/core-interfaces";
|
|
7
7
|
import { assert, LazyPromise, Timer } from "@fluidframework/core-utils/internal";
|
|
8
8
|
import {
|
|
9
|
-
IGarbageCollectionDetailsBase,
|
|
10
|
-
ISummarizeResult,
|
|
9
|
+
type IGarbageCollectionDetailsBase,
|
|
10
|
+
type ISummarizeResult,
|
|
11
11
|
gcTreeKey,
|
|
12
12
|
type IGarbageCollectionData,
|
|
13
13
|
type ITelemetryContext,
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
responseToException,
|
|
18
18
|
} from "@fluidframework/runtime-utils/internal";
|
|
19
19
|
import {
|
|
20
|
-
ITelemetryLoggerExt,
|
|
20
|
+
type ITelemetryLoggerExt,
|
|
21
21
|
DataProcessingError,
|
|
22
|
-
MonitoringContext,
|
|
22
|
+
type MonitoringContext,
|
|
23
23
|
PerformanceEvent,
|
|
24
24
|
createChildLogger,
|
|
25
25
|
createChildMonitoringContext,
|
|
@@ -29,23 +29,23 @@ import {
|
|
|
29
29
|
import { blobManagerBasePath } from "../blobManager/index.js";
|
|
30
30
|
import { TombstoneResponseHeaderKey } from "../containerRuntime.js";
|
|
31
31
|
import { ClientSessionExpiredError } from "../error.js";
|
|
32
|
-
import { ContainerMessageType, ContainerRuntimeGCMessage } from "../messageTypes.js";
|
|
33
|
-
import { IRefreshSummaryResult } from "../summary/index.js";
|
|
32
|
+
import { ContainerMessageType, type ContainerRuntimeGCMessage } from "../messageTypes.js";
|
|
33
|
+
import type { IRefreshSummaryResult } from "../summary/index.js";
|
|
34
34
|
|
|
35
35
|
import { generateGCConfigs } from "./gcConfigs.js";
|
|
36
36
|
import {
|
|
37
37
|
GCNodeType,
|
|
38
|
-
GarbageCollectionMessage,
|
|
38
|
+
type GarbageCollectionMessage,
|
|
39
39
|
GarbageCollectionMessageType,
|
|
40
|
-
IGCMetadata,
|
|
41
|
-
IGCResult,
|
|
42
|
-
IGCStats,
|
|
43
|
-
IGarbageCollectionRuntime,
|
|
44
|
-
IGarbageCollector,
|
|
45
|
-
IGarbageCollectorConfigs,
|
|
46
|
-
IGarbageCollectorCreateParams,
|
|
47
|
-
IMarkPhaseStats,
|
|
48
|
-
ISweepPhaseStats,
|
|
40
|
+
type IGCMetadata,
|
|
41
|
+
type IGCResult,
|
|
42
|
+
type IGCStats,
|
|
43
|
+
type IGarbageCollectionRuntime,
|
|
44
|
+
type IGarbageCollector,
|
|
45
|
+
type IGarbageCollectorConfigs,
|
|
46
|
+
type IGarbageCollectorCreateParams,
|
|
47
|
+
type IMarkPhaseStats,
|
|
48
|
+
type ISweepPhaseStats,
|
|
49
49
|
UnreferencedState,
|
|
50
50
|
type IGCNodeUpdatedProps,
|
|
51
51
|
} from "./gcDefinitions.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
urlToGCNodePath,
|
|
58
58
|
} from "./gcHelpers.js";
|
|
59
59
|
import { runGarbageCollection } from "./gcReferenceGraphAlgorithm.js";
|
|
60
|
-
import {
|
|
60
|
+
import type {
|
|
61
61
|
IGarbageCollectionSnapshotData,
|
|
62
62
|
IGarbageCollectionState,
|
|
63
63
|
} from "./gcSummaryDefinitions.js";
|
package/src/gc/gcConfigs.ts
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
|
-
MonitoringContext,
|
|
7
|
+
type MonitoringContext,
|
|
8
8
|
UsageError,
|
|
9
9
|
validatePrecondition,
|
|
10
10
|
} from "@fluidframework/telemetry-utils/internal";
|
|
11
11
|
|
|
12
|
-
import { IContainerRuntimeMetadata } from "../summary/index.js";
|
|
12
|
+
import type { IContainerRuntimeMetadata } from "../summary/index.js";
|
|
13
13
|
|
|
14
14
|
import {
|
|
15
|
-
GCFeatureMatrix,
|
|
16
|
-
GCVersion,
|
|
17
|
-
IGCMetadata_Deprecated,
|
|
18
|
-
IGCRuntimeOptions,
|
|
19
|
-
IGarbageCollectorConfigs,
|
|
15
|
+
type GCFeatureMatrix,
|
|
16
|
+
type GCVersion,
|
|
17
|
+
type IGCMetadata_Deprecated,
|
|
18
|
+
type IGCRuntimeOptions,
|
|
19
|
+
type IGarbageCollectorConfigs,
|
|
20
20
|
defaultInactiveTimeoutMs,
|
|
21
21
|
defaultSessionExpiryDurationMs,
|
|
22
22
|
defaultSweepGracePeriodMs,
|
package/src/gc/gcDefinitions.ts
CHANGED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ICriticalContainerError } from "@fluidframework/container-definitions";
|
|
7
|
-
import { IRequest } from "@fluidframework/core-interfaces";
|
|
8
|
-
import { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
9
|
-
import {
|
|
6
|
+
import type { ICriticalContainerError } from "@fluidframework/container-definitions";
|
|
7
|
+
import type { IRequest } from "@fluidframework/core-interfaces";
|
|
8
|
+
import type { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
9
|
+
import type {
|
|
10
10
|
ITelemetryContext,
|
|
11
11
|
IGarbageCollectionData,
|
|
12
12
|
IGarbageCollectionDetailsBase,
|
|
13
13
|
ISummarizeResult,
|
|
14
14
|
} from "@fluidframework/runtime-definitions/internal";
|
|
15
|
-
import { ReadAndParseBlob } from "@fluidframework/runtime-utils/internal";
|
|
16
|
-
import {
|
|
15
|
+
import type { ReadAndParseBlob } from "@fluidframework/runtime-utils/internal";
|
|
16
|
+
import type {
|
|
17
17
|
ITelemetryLoggerExt,
|
|
18
|
-
|
|
18
|
+
ITelemetryPropertiesExt,
|
|
19
19
|
} from "@fluidframework/telemetry-utils/internal";
|
|
20
20
|
|
|
21
|
-
import { RuntimeHeaderData } from "../containerRuntime.js";
|
|
22
|
-
import { ContainerRuntimeGCMessage } from "../messageTypes.js";
|
|
23
|
-
import {
|
|
21
|
+
import type { RuntimeHeaderData } from "../containerRuntime.js";
|
|
22
|
+
import type { ContainerRuntimeGCMessage } from "../messageTypes.js";
|
|
23
|
+
import type {
|
|
24
24
|
IContainerRuntimeMetadata,
|
|
25
25
|
ICreateContainerMetadata,
|
|
26
26
|
IRefreshSummaryResult,
|
|
@@ -510,8 +510,7 @@ export interface IGarbageCollectorCreateParams {
|
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
|
-
* @legacy
|
|
514
|
-
* @alpha
|
|
513
|
+
* @legacy @beta
|
|
515
514
|
*/
|
|
516
515
|
export interface IGCRuntimeOptions {
|
|
517
516
|
/**
|
package/src/gc/gcHelpers.ts
CHANGED
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
7
|
-
import { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
7
|
+
import type { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
8
8
|
import {
|
|
9
|
-
IGarbageCollectionDetailsBase,
|
|
9
|
+
type IGarbageCollectionDetailsBase,
|
|
10
10
|
gcBlobPrefix,
|
|
11
11
|
gcDeletedBlobKey,
|
|
12
12
|
gcTombstoneBlobKey,
|
|
13
|
-
IGarbageCollectionData,
|
|
13
|
+
type IGarbageCollectionData,
|
|
14
14
|
} from "@fluidframework/runtime-definitions/internal";
|
|
15
15
|
import type { IConfigProvider } from "@fluidframework/telemetry-utils/internal";
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
|
-
GCFeatureMatrix,
|
|
19
|
-
GCVersion,
|
|
20
|
-
IGCMetadata,
|
|
18
|
+
type GCFeatureMatrix,
|
|
19
|
+
type GCVersion,
|
|
20
|
+
type IGCMetadata,
|
|
21
21
|
gcVersionUpgradeToV4Key,
|
|
22
22
|
nextGCVersion,
|
|
23
23
|
stableGCVersion,
|
|
24
24
|
} from "./gcDefinitions.js";
|
|
25
|
-
import {
|
|
25
|
+
import type {
|
|
26
26
|
IGarbageCollectionNodeData,
|
|
27
27
|
IGarbageCollectionSnapshotData,
|
|
28
28
|
IGarbageCollectionState,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IGarbageCollectionData } from "@fluidframework/runtime-definitions/internal";
|
|
6
|
+
import type { IGarbageCollectionData } from "@fluidframework/runtime-definitions/internal";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The garbage collection data of each node in the reference graph. Each node's GC data is written in the summary
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import { SummaryType } from "@fluidframework/driver-definitions";
|
|
7
7
|
import {
|
|
8
|
-
ISummaryTreeWithStats,
|
|
9
|
-
ISummarizeResult,
|
|
8
|
+
type ISummaryTreeWithStats,
|
|
9
|
+
type ISummarizeResult,
|
|
10
10
|
gcBlobPrefix,
|
|
11
11
|
gcDeletedBlobKey,
|
|
12
12
|
gcTombstoneBlobKey,
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
} from "@fluidframework/runtime-definitions/internal";
|
|
15
15
|
import { SummaryTreeBuilder, mergeStats } from "@fluidframework/runtime-utils/internal";
|
|
16
16
|
|
|
17
|
-
import { IRefreshSummaryResult } from "../summary/index.js";
|
|
17
|
+
import type { IRefreshSummaryResult } from "../summary/index.js";
|
|
18
18
|
|
|
19
|
-
import { IGCStats, IGarbageCollectorConfigs } from "./gcDefinitions.js";
|
|
19
|
+
import type { IGCStats, IGarbageCollectorConfigs } from "./gcDefinitions.js";
|
|
20
20
|
import { generateSortedGCState } from "./gcHelpers.js";
|
|
21
|
-
import {
|
|
21
|
+
import type {
|
|
22
22
|
IGarbageCollectionSnapshotData,
|
|
23
23
|
IGarbageCollectionState,
|
|
24
24
|
} from "./gcSummaryDefinitions.js";
|
package/src/gc/gcTelemetry.ts
CHANGED
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { Tagged } from "@fluidframework/core-interfaces";
|
|
7
|
-
import { IGarbageCollectionData } from "@fluidframework/runtime-definitions/internal";
|
|
7
|
+
import type { IGarbageCollectionData } from "@fluidframework/runtime-definitions/internal";
|
|
8
8
|
import {
|
|
9
|
-
ITelemetryLoggerExt,
|
|
10
|
-
MonitoringContext,
|
|
9
|
+
type ITelemetryLoggerExt,
|
|
10
|
+
type MonitoringContext,
|
|
11
11
|
generateStack,
|
|
12
12
|
tagCodeArtifacts,
|
|
13
13
|
type ITelemetryPropertiesExt,
|
|
14
14
|
} from "@fluidframework/telemetry-utils/internal";
|
|
15
15
|
|
|
16
|
-
import { RuntimeHeaderData } from "../containerRuntime.js";
|
|
17
|
-
import { ICreateContainerMetadata } from "../summary/index.js";
|
|
16
|
+
import type { RuntimeHeaderData } from "../containerRuntime.js";
|
|
17
|
+
import type { ICreateContainerMetadata } from "../summary/index.js";
|
|
18
18
|
|
|
19
19
|
import {
|
|
20
|
-
GCFeatureMatrix,
|
|
20
|
+
type GCFeatureMatrix,
|
|
21
21
|
GCNodeType,
|
|
22
|
-
IGarbageCollectorConfigs,
|
|
22
|
+
type IGarbageCollectorConfigs,
|
|
23
23
|
UnreferencedState,
|
|
24
24
|
} from "./gcDefinitions.js";
|
|
25
|
-
import { UnreferencedStateTracker } from "./gcUnreferencedStateTracker.js";
|
|
25
|
+
import type { UnreferencedStateTracker } from "./gcUnreferencedStateTracker.js";
|
|
26
26
|
|
|
27
27
|
type NodeUsageType = "Changed" | "Loaded" | "Revived" | "Realized";
|
|
28
28
|
|
package/src/gc/index.ts
CHANGED
|
@@ -13,29 +13,29 @@ export {
|
|
|
13
13
|
GCNodeType,
|
|
14
14
|
gcTestModeKey,
|
|
15
15
|
gcGenerationOptionName,
|
|
16
|
-
GCFeatureMatrix,
|
|
17
|
-
GCVersion,
|
|
16
|
+
type GCFeatureMatrix,
|
|
17
|
+
type GCVersion,
|
|
18
18
|
gcVersionUpgradeToV4Key,
|
|
19
|
-
IGarbageCollectionRuntime,
|
|
20
|
-
IGarbageCollector,
|
|
21
|
-
IGarbageCollectorConfigs,
|
|
22
|
-
IGarbageCollectorCreateParams,
|
|
23
|
-
IGCMetadata,
|
|
24
|
-
IGCMetadata_Deprecated,
|
|
25
|
-
IGCNodeUpdatedProps,
|
|
26
|
-
IGCResult,
|
|
27
|
-
IGCRuntimeOptions,
|
|
28
|
-
IMarkPhaseStats,
|
|
29
|
-
ISweepPhaseStats,
|
|
30
|
-
IGCStats,
|
|
19
|
+
type IGarbageCollectionRuntime,
|
|
20
|
+
type IGarbageCollector,
|
|
21
|
+
type IGarbageCollectorConfigs,
|
|
22
|
+
type IGarbageCollectorCreateParams,
|
|
23
|
+
type IGCMetadata,
|
|
24
|
+
type IGCMetadata_Deprecated,
|
|
25
|
+
type IGCNodeUpdatedProps,
|
|
26
|
+
type IGCResult,
|
|
27
|
+
type IGCRuntimeOptions,
|
|
28
|
+
type IMarkPhaseStats,
|
|
29
|
+
type ISweepPhaseStats,
|
|
30
|
+
type IGCStats,
|
|
31
31
|
oneDayMs,
|
|
32
32
|
runSessionExpiryKey,
|
|
33
33
|
stableGCVersion,
|
|
34
34
|
UnreferencedState,
|
|
35
35
|
disableThrowOnTombstoneLoadKey,
|
|
36
|
-
GarbageCollectionMessage,
|
|
36
|
+
type GarbageCollectionMessage,
|
|
37
37
|
GarbageCollectionMessageType,
|
|
38
|
-
ISweepMessage,
|
|
38
|
+
type ISweepMessage,
|
|
39
39
|
} from "./gcDefinitions.js";
|
|
40
40
|
export {
|
|
41
41
|
cloneGCData,
|
|
@@ -45,7 +45,7 @@ export {
|
|
|
45
45
|
urlToGCNodePath,
|
|
46
46
|
} from "./gcHelpers.js";
|
|
47
47
|
export { runGarbageCollection } from "./gcReferenceGraphAlgorithm.js";
|
|
48
|
-
export {
|
|
48
|
+
export type {
|
|
49
49
|
IGarbageCollectionNodeData,
|
|
50
50
|
IGarbageCollectionSnapshotData,
|
|
51
51
|
IGarbageCollectionState,
|
|
@@ -54,7 +54,7 @@ export {
|
|
|
54
54
|
export {
|
|
55
55
|
gcStateBlobKey,
|
|
56
56
|
GCSummaryStateTracker,
|
|
57
|
-
IGCSummaryTrackingData,
|
|
57
|
+
type IGCSummaryTrackingData,
|
|
58
58
|
} from "./gcSummaryStateTracker.js";
|
|
59
59
|
export { GCTelemetryTracker } from "./gcTelemetry.js";
|
|
60
60
|
export { UnreferencedStateTracker } from "./gcUnreferencedStateTracker.js";
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { performanceNow } from "@fluid-internal/client-utils";
|
|
7
|
-
import { IDeltaManagerFull } from "@fluidframework/container-definitions/internal";
|
|
7
|
+
import type { IDeltaManagerFull } from "@fluidframework/container-definitions/internal";
|
|
8
8
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
9
|
-
import { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
9
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
10
10
|
import { isRuntimeMessage } from "@fluidframework/driver-utils/internal";
|
|
11
11
|
import {
|
|
12
|
-
ITelemetryLoggerExt,
|
|
12
|
+
type ITelemetryLoggerExt,
|
|
13
13
|
DataCorruptionError,
|
|
14
14
|
DataProcessingError,
|
|
15
15
|
extractSafePropertiesFromMessage,
|
|
16
16
|
} from "@fluidframework/telemetry-utils/internal";
|
|
17
17
|
|
|
18
|
-
import { IBatchMetadata } from "./metadata.js";
|
|
18
|
+
import type { IBatchMetadata } from "./metadata.js";
|
|
19
19
|
import { pkgVersion } from "./packageVersion.js";
|
|
20
20
|
|
|
21
21
|
type IRuntimeMessageMetadata =
|
package/src/index.ts
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
|
-
ContainerRuntimeOptions,
|
|
8
|
-
ContainerRuntimeOptionsInternal,
|
|
9
|
-
ISummaryRuntimeOptions,
|
|
10
|
-
IContainerRuntimeOptions,
|
|
11
|
-
IContainerRuntimeOptionsInternal,
|
|
7
|
+
type ContainerRuntimeOptions,
|
|
8
|
+
type ContainerRuntimeOptionsInternal,
|
|
9
|
+
type ISummaryRuntimeOptions,
|
|
10
|
+
type IContainerRuntimeOptions,
|
|
11
|
+
type IContainerRuntimeOptionsInternal,
|
|
12
12
|
loadContainerRuntime,
|
|
13
|
-
LoadContainerRuntimeParams,
|
|
13
|
+
type LoadContainerRuntimeParams,
|
|
14
14
|
agentSchedulerId,
|
|
15
15
|
ContainerRuntime,
|
|
16
16
|
DeletedResponseHeaderKey,
|
|
17
17
|
TombstoneResponseHeaderKey,
|
|
18
18
|
InactiveResponseHeaderKey,
|
|
19
|
-
RuntimeHeaderData,
|
|
19
|
+
type RuntimeHeaderData,
|
|
20
20
|
} from "./containerRuntime.js";
|
|
21
21
|
export type { ICompressionRuntimeOptions } from "./compressionDefinitions.js";
|
|
22
22
|
export { CompressionAlgorithms, disabledCompressionConfig } from "./compressionDefinitions.js";
|
|
23
|
-
export {
|
|
23
|
+
export type {
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated Import from `@fluidframework/runtime-definitions/legacy` instead.
|
|
26
26
|
*/
|
|
@@ -28,9 +28,9 @@ export {
|
|
|
28
28
|
} from "@fluidframework/runtime-definitions/internal";
|
|
29
29
|
export {
|
|
30
30
|
ContainerMessageType,
|
|
31
|
-
UnknownContainerRuntimeMessage,
|
|
31
|
+
type UnknownContainerRuntimeMessage,
|
|
32
32
|
} from "./messageTypes.js";
|
|
33
|
-
export { IBlobManagerLoadInfo } from "./blobManager/index.js";
|
|
33
|
+
export type { IBlobManagerLoadInfo } from "./blobManager/index.js";
|
|
34
34
|
export { FluidDataStoreRegistry } from "./dataStoreRegistry.js";
|
|
35
35
|
export {
|
|
36
36
|
detectOutboundReferences,
|
|
@@ -39,84 +39,84 @@ export {
|
|
|
39
39
|
} from "./channelCollection.js";
|
|
40
40
|
export {
|
|
41
41
|
GCNodeType,
|
|
42
|
-
IGCMetadata,
|
|
43
|
-
GCFeatureMatrix,
|
|
44
|
-
GCVersion,
|
|
45
|
-
IGarbageCollectionRuntime,
|
|
46
|
-
IGCRuntimeOptions,
|
|
47
|
-
IMarkPhaseStats,
|
|
48
|
-
ISweepPhaseStats,
|
|
49
|
-
IGCNodeUpdatedProps,
|
|
50
|
-
IGCStats,
|
|
42
|
+
type IGCMetadata,
|
|
43
|
+
type GCFeatureMatrix,
|
|
44
|
+
type GCVersion,
|
|
45
|
+
type IGarbageCollectionRuntime,
|
|
46
|
+
type IGCRuntimeOptions,
|
|
47
|
+
type IMarkPhaseStats,
|
|
48
|
+
type ISweepPhaseStats,
|
|
49
|
+
type IGCNodeUpdatedProps,
|
|
50
|
+
type IGCStats,
|
|
51
51
|
} from "./gc/index.js";
|
|
52
52
|
export {
|
|
53
|
-
IAckedSummary,
|
|
54
|
-
ISummarizer,
|
|
55
|
-
ISummarizeResults,
|
|
56
|
-
ISummaryCancellationToken,
|
|
53
|
+
type IAckedSummary,
|
|
54
|
+
type ISummarizer,
|
|
55
|
+
type ISummarizeResults,
|
|
56
|
+
type ISummaryCancellationToken,
|
|
57
57
|
neverCancelledSummaryToken,
|
|
58
58
|
Summarizer,
|
|
59
59
|
SummaryCollection,
|
|
60
|
-
EnqueueSummarizeResult,
|
|
61
|
-
IAckSummaryResult,
|
|
62
|
-
IBaseSummarizeResult,
|
|
63
|
-
IBroadcastSummaryResult,
|
|
64
|
-
ICancellationToken,
|
|
65
|
-
IConnectableRuntime,
|
|
66
|
-
IContainerRuntimeMetadata,
|
|
67
|
-
ICreateContainerMetadata,
|
|
68
|
-
IEnqueueSummarizeOptions,
|
|
69
|
-
IGenerateSummaryTreeResult,
|
|
70
|
-
IGeneratedSummaryStats,
|
|
71
|
-
INackSummaryResult,
|
|
72
|
-
IOnDemandSummarizeOptions,
|
|
73
|
-
IRefreshSummaryAckOptions,
|
|
74
|
-
ISubmitSummaryOpResult,
|
|
75
|
-
ISubmitSummaryOptions,
|
|
76
|
-
ISerializedElection,
|
|
77
|
-
ISummarizeOptions,
|
|
78
|
-
ISummarizerInternalsProvider,
|
|
79
|
-
ISummarizerRuntime,
|
|
80
|
-
ISummarizingWarning,
|
|
81
|
-
IUploadSummaryResult,
|
|
82
|
-
SubmitSummaryResult,
|
|
83
|
-
SummarizeResultPart,
|
|
84
|
-
IClientSummaryWatcher,
|
|
85
|
-
ISummary,
|
|
86
|
-
ISummaryCollectionOpEvents,
|
|
87
|
-
ISummaryAckMessage,
|
|
88
|
-
ISummaryMetadataMessage,
|
|
89
|
-
ISummaryNackMessage,
|
|
90
|
-
ISummaryOpMessage,
|
|
91
|
-
OpActionEventListener,
|
|
92
|
-
OpActionEventName,
|
|
93
|
-
ICancellableSummarizerController,
|
|
94
|
-
SubmitSummaryFailureData,
|
|
95
|
-
SummaryStage,
|
|
96
|
-
IRetriableFailureError,
|
|
97
|
-
IdCompressorMode,
|
|
98
|
-
IDocumentSchema,
|
|
99
|
-
IDocumentSchemaInfo,
|
|
100
|
-
DocumentSchemaValueType,
|
|
101
|
-
IDocumentSchemaCurrent,
|
|
60
|
+
type EnqueueSummarizeResult,
|
|
61
|
+
type IAckSummaryResult,
|
|
62
|
+
type IBaseSummarizeResult,
|
|
63
|
+
type IBroadcastSummaryResult,
|
|
64
|
+
type ICancellationToken,
|
|
65
|
+
type IConnectableRuntime,
|
|
66
|
+
type IContainerRuntimeMetadata,
|
|
67
|
+
type ICreateContainerMetadata,
|
|
68
|
+
type IEnqueueSummarizeOptions,
|
|
69
|
+
type IGenerateSummaryTreeResult,
|
|
70
|
+
type IGeneratedSummaryStats,
|
|
71
|
+
type INackSummaryResult,
|
|
72
|
+
type IOnDemandSummarizeOptions,
|
|
73
|
+
type IRefreshSummaryAckOptions,
|
|
74
|
+
type ISubmitSummaryOpResult,
|
|
75
|
+
type ISubmitSummaryOptions,
|
|
76
|
+
type ISerializedElection,
|
|
77
|
+
type ISummarizeOptions,
|
|
78
|
+
type ISummarizerInternalsProvider,
|
|
79
|
+
type ISummarizerRuntime,
|
|
80
|
+
type ISummarizingWarning,
|
|
81
|
+
type IUploadSummaryResult,
|
|
82
|
+
type SubmitSummaryResult,
|
|
83
|
+
type SummarizeResultPart,
|
|
84
|
+
type IClientSummaryWatcher,
|
|
85
|
+
type ISummary,
|
|
86
|
+
type ISummaryCollectionOpEvents,
|
|
87
|
+
type ISummaryAckMessage,
|
|
88
|
+
type ISummaryMetadataMessage,
|
|
89
|
+
type ISummaryNackMessage,
|
|
90
|
+
type ISummaryOpMessage,
|
|
91
|
+
type OpActionEventListener,
|
|
92
|
+
type OpActionEventName,
|
|
93
|
+
type ICancellableSummarizerController,
|
|
94
|
+
type SubmitSummaryFailureData,
|
|
95
|
+
type SummaryStage,
|
|
96
|
+
type IRetriableFailureError,
|
|
97
|
+
type IdCompressorMode,
|
|
98
|
+
type IDocumentSchema,
|
|
99
|
+
type IDocumentSchemaInfo,
|
|
100
|
+
type DocumentSchemaValueType,
|
|
101
|
+
type IDocumentSchemaCurrent,
|
|
102
102
|
currentDocumentVersionSchema,
|
|
103
103
|
DocumentsSchemaController,
|
|
104
|
-
IDocumentSchemaChangeMessageIncoming,
|
|
105
|
-
IDocumentSchemaChangeMessageOutgoing,
|
|
106
|
-
IDocumentSchemaFeatures,
|
|
107
|
-
ReadFluidDataStoreAttributes,
|
|
108
|
-
IFluidDataStoreAttributes0,
|
|
109
|
-
IFluidDataStoreAttributes1,
|
|
110
|
-
IFluidDataStoreAttributes2,
|
|
111
|
-
OmitAttributesVersions,
|
|
112
|
-
ISummaryBaseConfiguration,
|
|
113
|
-
ISummaryConfigurationHeuristics,
|
|
114
|
-
ISummaryConfigurationDisableSummarizer,
|
|
115
|
-
ISummaryConfigurationDisableHeuristics,
|
|
116
|
-
ISummaryConfiguration,
|
|
104
|
+
type IDocumentSchemaChangeMessageIncoming,
|
|
105
|
+
type IDocumentSchemaChangeMessageOutgoing,
|
|
106
|
+
type IDocumentSchemaFeatures,
|
|
107
|
+
type ReadFluidDataStoreAttributes,
|
|
108
|
+
type IFluidDataStoreAttributes0,
|
|
109
|
+
type IFluidDataStoreAttributes1,
|
|
110
|
+
type IFluidDataStoreAttributes2,
|
|
111
|
+
type OmitAttributesVersions,
|
|
112
|
+
type ISummaryBaseConfiguration,
|
|
113
|
+
type ISummaryConfigurationHeuristics,
|
|
114
|
+
type ISummaryConfigurationDisableSummarizer,
|
|
115
|
+
type ISummaryConfigurationDisableHeuristics,
|
|
116
|
+
type ISummaryConfiguration,
|
|
117
117
|
DefaultSummaryConfiguration,
|
|
118
118
|
} from "./summary/index.js";
|
|
119
|
-
export { IChunkedOp, unpackRuntimeMessage } from "./opLifecycle/index.js";
|
|
119
|
+
export { type IChunkedOp, unpackRuntimeMessage } from "./opLifecycle/index.js";
|
|
120
120
|
export {
|
|
121
121
|
runtimeCoreCompatDetails,
|
|
122
122
|
runtimeCompatDetailsForLoader,
|
package/src/messageTypes.ts
CHANGED
|
@@ -3,25 +3,24 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
6
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
7
7
|
import type { IdCreationRange } from "@fluidframework/id-compressor/internal";
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
9
|
IAttachMessage,
|
|
10
10
|
IEnvelope,
|
|
11
11
|
InboundAttachMessage,
|
|
12
12
|
} from "@fluidframework/runtime-definitions/internal";
|
|
13
13
|
|
|
14
|
-
import { IDataStoreAliasMessage } from "./dataStore.js";
|
|
15
|
-
import { GarbageCollectionMessage } from "./gc/index.js";
|
|
16
|
-
import { IChunkedOp } from "./opLifecycle/index.js";
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
import type { IDataStoreAliasMessage } from "./dataStore.js";
|
|
15
|
+
import type { GarbageCollectionMessage } from "./gc/index.js";
|
|
16
|
+
import type { IChunkedOp } from "./opLifecycle/index.js";
|
|
17
|
+
import type {
|
|
18
|
+
IDocumentSchemaChangeMessageIncoming,
|
|
19
|
+
IDocumentSchemaChangeMessageOutgoing,
|
|
20
20
|
} from "./summary/index.js";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @legacy
|
|
24
|
-
* @alpha
|
|
23
|
+
* @legacy @beta
|
|
25
24
|
*/
|
|
26
25
|
export enum ContainerMessageType {
|
|
27
26
|
// An op to be delivered to store
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
TelemetryDataTag,
|
|
11
11
|
} from "@fluidframework/telemetry-utils/internal";
|
|
12
12
|
|
|
13
|
-
import { ICompressionRuntimeOptions } from "../compressionDefinitions.js";
|
|
13
|
+
import type { ICompressionRuntimeOptions } from "../compressionDefinitions.js";
|
|
14
14
|
import { isContainerMessageDirtyable } from "../containerRuntime.js";
|
|
15
15
|
import { asBatchMetadata, type IBatchMetadata } from "../metadata.js";
|
|
16
16
|
import type { IPendingMessage } from "../pendingStateManager.js";
|
|
17
17
|
|
|
18
|
-
import { LocalBatchMessage, IBatchCheckpoint,
|
|
18
|
+
import type { LocalBatchMessage, IBatchCheckpoint, LocalBatch } from "./definitions.js";
|
|
19
19
|
import { serializeOp } from "./opSerialization.js";
|
|
20
20
|
import type { BatchStartInfo } from "./remoteMessageProcessor.js";
|
|
21
21
|
|