@fluidframework/container-runtime 2.53.1 → 2.60.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/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 +8 -2
- package/dist/blobManager/blobManager.d.ts.map +1 -1
- package/dist/blobManager/blobManager.js +45 -33
- package/dist/blobManager/blobManager.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 +3 -6
- 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/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.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/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 +8 -2
- package/lib/blobManager/blobManager.d.ts.map +1 -1
- package/lib/blobManager/blobManager.js +37 -25
- package/lib/blobManager/blobManager.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 +3 -6
- 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/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.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/package.json +18 -18
- package/src/batchTracker.ts +3 -3
- package/src/blobManager/blobManager.ts +47 -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 +42 -49
- 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/channelCollection.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { AttachState } from "@fluidframework/container-definitions";
|
|
7
|
-
import {
|
|
7
|
+
import type {
|
|
8
8
|
FluidObject,
|
|
9
9
|
IDisposable,
|
|
10
10
|
IRequest,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
import type { IFluidHandleInternal } from "@fluidframework/core-interfaces/internal";
|
|
15
15
|
import { assert, Lazy, LazyPromise } from "@fluidframework/core-utils/internal";
|
|
16
16
|
import { FluidObjectHandle } from "@fluidframework/datastore/internal";
|
|
17
|
-
import type {
|
|
18
|
-
|
|
17
|
+
import type {
|
|
18
|
+
ISnapshot,
|
|
19
19
|
ISnapshotTree,
|
|
20
20
|
ISequencedDocumentMessage,
|
|
21
21
|
} from "@fluidframework/driver-definitions/internal";
|
|
@@ -25,23 +25,23 @@ import {
|
|
|
25
25
|
isInstanceOfISnapshot,
|
|
26
26
|
} from "@fluidframework/driver-utils/internal";
|
|
27
27
|
import {
|
|
28
|
-
ISummaryTreeWithStats,
|
|
29
|
-
ITelemetryContext,
|
|
30
|
-
IGarbageCollectionData,
|
|
31
|
-
AliasResult,
|
|
28
|
+
type ISummaryTreeWithStats,
|
|
29
|
+
type ITelemetryContext,
|
|
30
|
+
type IGarbageCollectionData,
|
|
31
|
+
type AliasResult,
|
|
32
32
|
CreateSummarizerNodeSource,
|
|
33
|
-
IAttachMessage,
|
|
34
|
-
IEnvelope,
|
|
35
|
-
IFluidDataStoreChannel,
|
|
36
|
-
IFluidDataStoreContext,
|
|
37
|
-
IFluidDataStoreContextDetached,
|
|
38
|
-
IFluidDataStoreFactory,
|
|
39
|
-
IFluidDataStoreRegistry,
|
|
40
|
-
IFluidParentContext,
|
|
41
|
-
ISummarizeResult,
|
|
42
|
-
NamedFluidDataStoreRegistryEntries,
|
|
33
|
+
type IAttachMessage,
|
|
34
|
+
type IEnvelope,
|
|
35
|
+
type IFluidDataStoreChannel,
|
|
36
|
+
type IFluidDataStoreContext,
|
|
37
|
+
type IFluidDataStoreContextDetached,
|
|
38
|
+
type IFluidDataStoreFactory,
|
|
39
|
+
type IFluidDataStoreRegistry,
|
|
40
|
+
type IFluidParentContext,
|
|
41
|
+
type ISummarizeResult,
|
|
42
|
+
type NamedFluidDataStoreRegistryEntries,
|
|
43
43
|
channelsTreeName,
|
|
44
|
-
IInboundSignalMessage,
|
|
44
|
+
type IInboundSignalMessage,
|
|
45
45
|
gcDataBlobKey,
|
|
46
46
|
type IRuntimeMessagesContent,
|
|
47
47
|
type InboundAttachMessage,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
DataCorruptionError,
|
|
68
68
|
DataProcessingError,
|
|
69
69
|
LoggingError,
|
|
70
|
-
MonitoringContext,
|
|
70
|
+
type MonitoringContext,
|
|
71
71
|
createChildLogger,
|
|
72
72
|
createChildMonitoringContext,
|
|
73
73
|
extractSafePropertiesFromMessage,
|
|
@@ -78,18 +78,18 @@ import { v4 as uuid } from "uuid";
|
|
|
78
78
|
|
|
79
79
|
import {
|
|
80
80
|
DeletedResponseHeaderKey,
|
|
81
|
-
RuntimeHeaderData,
|
|
81
|
+
type RuntimeHeaderData,
|
|
82
82
|
defaultRuntimeHeaderData,
|
|
83
83
|
} from "./containerRuntime.js";
|
|
84
84
|
import {
|
|
85
|
-
IDataStoreAliasMessage,
|
|
85
|
+
type IDataStoreAliasMessage,
|
|
86
86
|
channelToDataStore,
|
|
87
87
|
isDataStoreAliasMessage,
|
|
88
88
|
} from "./dataStore.js";
|
|
89
89
|
import {
|
|
90
90
|
FluidDataStoreContext,
|
|
91
|
-
IFluidDataStoreContextInternal,
|
|
92
|
-
ILocalDetachedFluidDataStoreContextProps,
|
|
91
|
+
type IFluidDataStoreContextInternal,
|
|
92
|
+
type ILocalDetachedFluidDataStoreContextProps,
|
|
93
93
|
LocalDetachedFluidDataStoreContext,
|
|
94
94
|
LocalFluidDataStoreContext,
|
|
95
95
|
RemoteFluidDataStoreContext,
|
|
@@ -97,19 +97,18 @@ import {
|
|
|
97
97
|
} from "./dataStoreContext.js";
|
|
98
98
|
import { DataStoreContexts } from "./dataStoreContexts.js";
|
|
99
99
|
import { FluidDataStoreRegistry } from "./dataStoreRegistry.js";
|
|
100
|
-
import { GCNodeType, IGCNodeUpdatedProps, urlToGCNodePath } from "./gc/index.js";
|
|
101
|
-
import { ContainerMessageType, LocalContainerRuntimeMessage } from "./messageTypes.js";
|
|
100
|
+
import { GCNodeType, type IGCNodeUpdatedProps, urlToGCNodePath } from "./gc/index.js";
|
|
101
|
+
import { ContainerMessageType, type LocalContainerRuntimeMessage } from "./messageTypes.js";
|
|
102
102
|
import { StorageServiceWithAttachBlobs } from "./storageServiceWithAttachBlobs.js";
|
|
103
103
|
import {
|
|
104
|
-
IContainerRuntimeMetadata,
|
|
104
|
+
type IContainerRuntimeMetadata,
|
|
105
105
|
nonDataStorePaths,
|
|
106
106
|
rootHasIsolatedChannels,
|
|
107
107
|
} from "./summary/index.js";
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* True if a tombstoned object should be returned without erroring
|
|
111
|
-
* @legacy
|
|
112
|
-
* @alpha
|
|
111
|
+
* @legacy @beta
|
|
113
112
|
*/
|
|
114
113
|
export const AllowTombstoneRequestHeaderKey = "allowTombstone"; // Belongs in the enum above, but avoiding the breaking change
|
|
115
114
|
|
|
@@ -402,7 +401,7 @@ export class ChannelCollection implements IFluidDataStoreChannel, IDisposable {
|
|
|
402
401
|
const attachMessage = contents as InboundAttachMessage;
|
|
403
402
|
// We need to process the GC Data for both local and remote attach messages
|
|
404
403
|
const foundGCData = processAttachMessageGCData(
|
|
405
|
-
attachMessage.snapshot,
|
|
404
|
+
attachMessage.snapshot ?? undefined,
|
|
406
405
|
(nodeId, toPath) => {
|
|
407
406
|
// nodeId is the relative path under the node being attached. Always starts with "/", but no trailing "/" after an id
|
|
408
407
|
const fromPath = `/${attachMessage.id}${nodeId === "/" ? "" : nodeId}`;
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Available compression algorithms for op compression.
|
|
8
|
-
* @legacy
|
|
9
|
-
* @alpha
|
|
8
|
+
* @legacy @beta
|
|
10
9
|
*/
|
|
11
10
|
export enum CompressionAlgorithms {
|
|
12
11
|
lz4 = "lz4",
|
|
@@ -14,8 +13,7 @@ export enum CompressionAlgorithms {
|
|
|
14
13
|
|
|
15
14
|
/**
|
|
16
15
|
* Options for op compression.
|
|
17
|
-
* @legacy
|
|
18
|
-
* @alpha
|
|
16
|
+
* @legacy @beta
|
|
19
17
|
*/
|
|
20
18
|
export interface ICompressionRuntimeOptions {
|
|
21
19
|
/**
|
|
@@ -32,8 +30,7 @@ export interface ICompressionRuntimeOptions {
|
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
/**
|
|
35
|
-
* @legacy
|
|
36
|
-
* @alpha
|
|
33
|
+
* @legacy @beta
|
|
37
34
|
*/
|
|
38
35
|
export const disabledCompressionConfig: ICompressionRuntimeOptions = {
|
|
39
36
|
minimumBatchSizeInBytes: Number.POSITIVE_INFINITY,
|
|
@@ -4,21 +4,20 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { performanceNow } from "@fluid-internal/client-utils";
|
|
7
|
-
import { IDeltaManagerFull } from "@fluidframework/container-definitions/internal";
|
|
8
|
-
import { IContainerRuntimeEvents } from "@fluidframework/container-runtime-definitions/internal";
|
|
9
|
-
import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
10
|
-
import { IEventProvider } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { IDeltaManagerFull } from "@fluidframework/container-definitions/internal";
|
|
8
|
+
import type { IContainerRuntimeEvents } from "@fluidframework/container-runtime-definitions/internal";
|
|
9
|
+
import type { ITelemetryBaseLogger, IEventProvider } from "@fluidframework/core-interfaces";
|
|
11
10
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
12
11
|
import {
|
|
13
|
-
IDocumentMessage,
|
|
12
|
+
type IDocumentMessage,
|
|
14
13
|
MessageType,
|
|
15
|
-
ISequencedDocumentMessage,
|
|
14
|
+
type ISequencedDocumentMessage,
|
|
16
15
|
} from "@fluidframework/driver-definitions/internal";
|
|
17
16
|
import { isRuntimeMessage } from "@fluidframework/driver-utils/internal";
|
|
18
17
|
import {
|
|
19
|
-
IEventSampler,
|
|
20
|
-
ITelemetryLoggerExt,
|
|
21
|
-
ISampledTelemetryLogger,
|
|
18
|
+
type IEventSampler,
|
|
19
|
+
type ITelemetryLoggerExt,
|
|
20
|
+
type ISampledTelemetryLogger,
|
|
22
21
|
createChildLogger,
|
|
23
22
|
createSampledLogger,
|
|
24
23
|
formatTick,
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { AttachState } from "@fluidframework/container-definitions";
|
|
7
|
-
import { IRequest, IResponse } from "@fluidframework/core-interfaces";
|
|
8
|
-
import { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
7
|
+
import type { IRequest, IResponse } from "@fluidframework/core-interfaces";
|
|
8
|
+
import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
9
9
|
import { generateHandleContextPath } from "@fluidframework/runtime-utils/internal";
|
|
10
10
|
|
|
11
11
|
export interface IContainerHandleContextRuntime {
|
package/src/containerRuntime.ts
CHANGED
|
@@ -98,6 +98,12 @@ import {
|
|
|
98
98
|
createSessionId,
|
|
99
99
|
deserializeIdCompressor,
|
|
100
100
|
} from "@fluidframework/id-compressor/internal";
|
|
101
|
+
import {
|
|
102
|
+
FlushMode,
|
|
103
|
+
FlushModeExperimental,
|
|
104
|
+
channelsTreeName,
|
|
105
|
+
gcTreeKey,
|
|
106
|
+
} from "@fluidframework/runtime-definitions/internal";
|
|
101
107
|
import type {
|
|
102
108
|
ISummaryTreeWithStats,
|
|
103
109
|
ITelemetryContext,
|
|
@@ -119,13 +125,7 @@ import type {
|
|
|
119
125
|
// eslint-disable-next-line import/no-deprecated
|
|
120
126
|
IContainerRuntimeBaseExperimental,
|
|
121
127
|
IFluidParentContext,
|
|
122
|
-
|
|
123
|
-
import {
|
|
124
|
-
FlushMode,
|
|
125
|
-
FlushModeExperimental,
|
|
126
|
-
channelsTreeName,
|
|
127
|
-
gcTreeKey,
|
|
128
|
-
type MinimumVersionForCollab,
|
|
128
|
+
MinimumVersionForCollab,
|
|
129
129
|
} from "@fluidframework/runtime-definitions/internal";
|
|
130
130
|
import {
|
|
131
131
|
defaultMinVersionForCollab,
|
|
@@ -176,7 +176,7 @@ import { v4 as uuid } from "uuid";
|
|
|
176
176
|
import { BindBatchTracker } from "./batchTracker.js";
|
|
177
177
|
import {
|
|
178
178
|
BlobManager,
|
|
179
|
-
IPendingBlobs,
|
|
179
|
+
type IPendingBlobs,
|
|
180
180
|
blobManagerBasePath,
|
|
181
181
|
blobsTreeName,
|
|
182
182
|
isBlobPath,
|
|
@@ -208,9 +208,9 @@ import { DeltaScheduler } from "./deltaScheduler.js";
|
|
|
208
208
|
import {
|
|
209
209
|
GCNodeType,
|
|
210
210
|
GarbageCollector,
|
|
211
|
-
IGCRuntimeOptions,
|
|
212
|
-
IGCStats,
|
|
213
|
-
IGarbageCollector,
|
|
211
|
+
type IGCRuntimeOptions,
|
|
212
|
+
type IGCStats,
|
|
213
|
+
type IGarbageCollector,
|
|
214
214
|
gcGenerationOptionName,
|
|
215
215
|
type GarbageCollectionMessage,
|
|
216
216
|
type IGarbageCollectionRuntime,
|
|
@@ -219,19 +219,19 @@ import { InboundBatchAggregator } from "./inboundBatchAggregator.js";
|
|
|
219
219
|
import {
|
|
220
220
|
ContainerMessageType,
|
|
221
221
|
type OutboundContainerRuntimeDocumentSchemaMessage,
|
|
222
|
-
ContainerRuntimeGCMessage,
|
|
222
|
+
type ContainerRuntimeGCMessage,
|
|
223
223
|
type ContainerRuntimeIdAllocationMessage,
|
|
224
224
|
type InboundSequencedContainerRuntimeMessage,
|
|
225
225
|
type LocalContainerRuntimeMessage,
|
|
226
226
|
type UnknownContainerRuntimeMessage,
|
|
227
227
|
} from "./messageTypes.js";
|
|
228
|
-
import { ISavedOpMetadata } from "./metadata.js";
|
|
228
|
+
import type { ISavedOpMetadata } from "./metadata.js";
|
|
229
229
|
import {
|
|
230
|
-
LocalBatchMessage,
|
|
231
|
-
BatchStartInfo,
|
|
230
|
+
type LocalBatchMessage,
|
|
231
|
+
type BatchStartInfo,
|
|
232
232
|
DuplicateBatchDetector,
|
|
233
233
|
ensureContentsDeserialized,
|
|
234
|
-
IBatchCheckpoint,
|
|
234
|
+
type IBatchCheckpoint,
|
|
235
235
|
OpCompressor,
|
|
236
236
|
OpDecompressor,
|
|
237
237
|
OpGroupingManager,
|
|
@@ -243,8 +243,8 @@ import {
|
|
|
243
243
|
} from "./opLifecycle/index.js";
|
|
244
244
|
import { pkgVersion } from "./packageVersion.js";
|
|
245
245
|
import {
|
|
246
|
-
PendingMessageResubmitData,
|
|
247
|
-
IPendingLocalState,
|
|
246
|
+
type PendingMessageResubmitData,
|
|
247
|
+
type IPendingLocalState,
|
|
248
248
|
PendingStateManager,
|
|
249
249
|
type PendingBatchResubmitMetadata,
|
|
250
250
|
} from "./pendingStateManager.js";
|
|
@@ -266,24 +266,24 @@ import type {
|
|
|
266
266
|
} from "./summary/index.js";
|
|
267
267
|
import {
|
|
268
268
|
DocumentsSchemaController,
|
|
269
|
-
IBaseSummarizeResult,
|
|
270
|
-
IConnectableRuntime,
|
|
271
|
-
IContainerRuntimeMetadata,
|
|
272
|
-
ICreateContainerMetadata,
|
|
273
|
-
IEnqueueSummarizeOptions,
|
|
274
|
-
IGenerateSummaryTreeResult,
|
|
275
|
-
IGeneratedSummaryStats,
|
|
276
|
-
IOnDemandSummarizeOptions,
|
|
277
|
-
IRefreshSummaryAckOptions,
|
|
278
|
-
IRootSummarizerNodeWithGC,
|
|
279
|
-
ISubmitSummaryOptions,
|
|
280
|
-
ISummarizerInternalsProvider,
|
|
281
|
-
ISummarizerRuntime,
|
|
282
|
-
ISummaryMetadataMessage,
|
|
283
|
-
IdCompressorMode,
|
|
269
|
+
type IBaseSummarizeResult,
|
|
270
|
+
type IConnectableRuntime,
|
|
271
|
+
type IContainerRuntimeMetadata,
|
|
272
|
+
type ICreateContainerMetadata,
|
|
273
|
+
type IEnqueueSummarizeOptions,
|
|
274
|
+
type IGenerateSummaryTreeResult,
|
|
275
|
+
type IGeneratedSummaryStats,
|
|
276
|
+
type IOnDemandSummarizeOptions,
|
|
277
|
+
type IRefreshSummaryAckOptions,
|
|
278
|
+
type IRootSummarizerNodeWithGC,
|
|
279
|
+
type ISubmitSummaryOptions,
|
|
280
|
+
type ISummarizerInternalsProvider,
|
|
281
|
+
type ISummarizerRuntime,
|
|
282
|
+
type ISummaryMetadataMessage,
|
|
283
|
+
type IdCompressorMode,
|
|
284
284
|
OrderedClientElection,
|
|
285
285
|
RetriableSummaryError,
|
|
286
|
-
SubmitSummaryResult,
|
|
286
|
+
type SubmitSummaryResult,
|
|
287
287
|
aliasBlobName,
|
|
288
288
|
chunksBlobName,
|
|
289
289
|
recentBatchInfoBlobName,
|
|
@@ -301,7 +301,7 @@ import {
|
|
|
301
301
|
SummaryCollection,
|
|
302
302
|
OrderedClientCollection,
|
|
303
303
|
validateSummaryHeuristicConfiguration,
|
|
304
|
-
ISummaryConfiguration,
|
|
304
|
+
type ISummaryConfiguration,
|
|
305
305
|
DefaultSummaryConfiguration,
|
|
306
306
|
isSummariesDisabled,
|
|
307
307
|
summarizerClientType,
|
|
@@ -348,8 +348,7 @@ function getUnknownMessageTypeError(
|
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
|
-
* @legacy
|
|
352
|
-
* @alpha
|
|
351
|
+
* @legacy @beta
|
|
353
352
|
*/
|
|
354
353
|
export interface ISummaryRuntimeOptions {
|
|
355
354
|
/**
|
|
@@ -382,8 +381,7 @@ export interface ISummaryRuntimeOptions {
|
|
|
382
381
|
* compat configuration info.
|
|
383
382
|
* If neither of the above is done, then the build will fail to compile.
|
|
384
383
|
*
|
|
385
|
-
* @legacy
|
|
386
|
-
* @alpha
|
|
384
|
+
* @legacy @beta
|
|
387
385
|
*/
|
|
388
386
|
export interface ContainerRuntimeOptions {
|
|
389
387
|
readonly summaryOptions: ISummaryRuntimeOptions;
|
|
@@ -463,8 +461,7 @@ export interface ContainerRuntimeOptions {
|
|
|
463
461
|
/**
|
|
464
462
|
* Options for container runtime.
|
|
465
463
|
*
|
|
466
|
-
* @legacy
|
|
467
|
-
* @alpha
|
|
464
|
+
* @legacy @beta
|
|
468
465
|
*/
|
|
469
466
|
export type IContainerRuntimeOptions = Partial<ContainerRuntimeOptions>;
|
|
470
467
|
|
|
@@ -512,14 +509,12 @@ export type IContainerRuntimeOptionsInternal = Partial<ContainerRuntimeOptionsIn
|
|
|
512
509
|
export const DeletedResponseHeaderKey = "wasDeleted";
|
|
513
510
|
/**
|
|
514
511
|
* Tombstone error responses will have this header set to true
|
|
515
|
-
* @legacy
|
|
516
|
-
* @alpha
|
|
512
|
+
* @legacy @beta
|
|
517
513
|
*/
|
|
518
514
|
export const TombstoneResponseHeaderKey = "isTombstoned";
|
|
519
515
|
/**
|
|
520
516
|
* Inactive error responses will have this header set to true
|
|
521
|
-
* @legacy
|
|
522
|
-
* @alpha
|
|
517
|
+
* @legacy @beta
|
|
523
518
|
*
|
|
524
519
|
* @deprecated this header is deprecated and will be removed in the future. The functionality corresponding
|
|
525
520
|
* to this was experimental and is no longer supported.
|
|
@@ -727,8 +722,7 @@ type UnsequencedSignalEnvelope = Omit<ISignalEnvelope, "clientBroadcastSignalSeq
|
|
|
727
722
|
|
|
728
723
|
/**
|
|
729
724
|
* This object holds the parameters necessary for the {@link loadContainerRuntime} function.
|
|
730
|
-
* @legacy
|
|
731
|
-
* @alpha
|
|
725
|
+
* @legacy @beta
|
|
732
726
|
*/
|
|
733
727
|
export interface LoadContainerRuntimeParams {
|
|
734
728
|
/**
|
|
@@ -788,8 +782,7 @@ export interface LoadContainerRuntimeParams {
|
|
|
788
782
|
* This is meant to be used by a {@link @fluidframework/container-definitions#IRuntimeFactory} to instantiate a container runtime.
|
|
789
783
|
* @param params - An object which specifies all required and optional params necessary to instantiate a runtime.
|
|
790
784
|
* @returns A runtime which provides all the functionality necessary to bind with the loader layer via the {@link @fluidframework/container-definitions#IRuntime} interface and provide a runtime environment via the {@link @fluidframework/container-runtime-definitions#IContainerRuntime} interface.
|
|
791
|
-
* @legacy
|
|
792
|
-
* @alpha
|
|
785
|
+
* @legacy @beta
|
|
793
786
|
*/
|
|
794
787
|
export async function loadContainerRuntime(
|
|
795
788
|
params: LoadContainerRuntimeParams,
|
package/src/dataStore.ts
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { AttachState } from "@fluidframework/container-definitions";
|
|
7
|
-
import { FluidObject } from "@fluidframework/core-interfaces";
|
|
8
|
-
import {
|
|
7
|
+
import type { FluidObject } from "@fluidframework/core-interfaces";
|
|
8
|
+
import type { IFluidHandleInternal } from "@fluidframework/core-interfaces/internal";
|
|
9
9
|
import { assert, unreachableCase } from "@fluidframework/core-utils/internal";
|
|
10
|
-
import {
|
|
10
|
+
import type {
|
|
11
11
|
AliasResult,
|
|
12
12
|
IDataStore,
|
|
13
13
|
IFluidDataStoreChannel,
|
|
14
14
|
// eslint-disable-next-line import/no-deprecated
|
|
15
|
-
|
|
15
|
+
IContainerRuntimeBaseExperimental,
|
|
16
16
|
} from "@fluidframework/runtime-definitions/internal";
|
|
17
17
|
import {
|
|
18
|
-
ITelemetryLoggerExt,
|
|
18
|
+
type ITelemetryLoggerExt,
|
|
19
19
|
TelemetryDataTag,
|
|
20
20
|
UsageError,
|
|
21
21
|
} from "@fluidframework/telemetry-utils/internal";
|
|
22
22
|
|
|
23
|
-
import { ChannelCollection } from "./channelCollection.js";
|
|
23
|
+
import type { ChannelCollection } from "./channelCollection.js";
|
|
24
24
|
import { ContainerMessageType } from "./messageTypes.js";
|
|
25
25
|
|
|
26
26
|
/**
|
package/src/dataStoreContext.ts
CHANGED
|
@@ -8,28 +8,28 @@ import {
|
|
|
8
8
|
type ILayerCompatDetails,
|
|
9
9
|
type IProvideLayerCompatDetails,
|
|
10
10
|
} from "@fluid-internal/client-utils";
|
|
11
|
-
import { AttachState, IAudience } from "@fluidframework/container-definitions";
|
|
11
|
+
import { AttachState, type IAudience } from "@fluidframework/container-definitions";
|
|
12
12
|
import {
|
|
13
|
-
IDeltaManager,
|
|
13
|
+
type IDeltaManager,
|
|
14
14
|
isIDeltaManagerFull,
|
|
15
15
|
type IDeltaManagerFull,
|
|
16
16
|
type ReadOnlyInfo,
|
|
17
17
|
} from "@fluidframework/container-definitions/internal";
|
|
18
|
-
import {
|
|
18
|
+
import type {
|
|
19
19
|
FluidObject,
|
|
20
20
|
IDisposable,
|
|
21
21
|
ITelemetryBaseProperties,
|
|
22
|
-
|
|
22
|
+
IEvent,
|
|
23
23
|
} from "@fluidframework/core-interfaces";
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
import type {
|
|
25
|
+
IFluidHandleContext,
|
|
26
|
+
IFluidHandleInternal,
|
|
27
|
+
ITelemetryBaseLogger,
|
|
28
28
|
} from "@fluidframework/core-interfaces/internal";
|
|
29
29
|
import { assert, LazyPromise, unreachableCase } from "@fluidframework/core-utils/internal";
|
|
30
|
-
import { IClientDetails, IQuorumClients } from "@fluidframework/driver-definitions";
|
|
31
|
-
import {
|
|
32
|
-
|
|
30
|
+
import type { IClientDetails, IQuorumClients } from "@fluidframework/driver-definitions";
|
|
31
|
+
import type {
|
|
32
|
+
ISnapshot,
|
|
33
33
|
IDocumentMessage,
|
|
34
34
|
ISnapshotTree,
|
|
35
35
|
ITreeEntry,
|
|
@@ -42,26 +42,26 @@ import {
|
|
|
42
42
|
} from "@fluidframework/driver-utils/internal";
|
|
43
43
|
import type { IIdCompressor } from "@fluidframework/id-compressor";
|
|
44
44
|
import {
|
|
45
|
-
ISummaryTreeWithStats,
|
|
46
|
-
ITelemetryContext,
|
|
47
|
-
IGarbageCollectionData,
|
|
48
|
-
CreateChildSummarizerNodeFn,
|
|
49
|
-
CreateChildSummarizerNodeParam,
|
|
50
|
-
FluidDataStoreRegistryEntry,
|
|
51
|
-
IContainerRuntimeBase,
|
|
52
|
-
IDataStore,
|
|
53
|
-
IFluidDataStoreChannel,
|
|
54
|
-
IFluidDataStoreContext,
|
|
55
|
-
IFluidDataStoreContextDetached,
|
|
56
|
-
IFluidDataStoreRegistry,
|
|
57
|
-
IGarbageCollectionDetailsBase,
|
|
58
|
-
IProvideFluidDataStoreFactory,
|
|
59
|
-
ISummarizeInternalResult,
|
|
60
|
-
ISummarizeResult,
|
|
61
|
-
ISummarizerNodeWithGC,
|
|
62
|
-
SummarizeInternalFn,
|
|
45
|
+
type ISummaryTreeWithStats,
|
|
46
|
+
type ITelemetryContext,
|
|
47
|
+
type IGarbageCollectionData,
|
|
48
|
+
type CreateChildSummarizerNodeFn,
|
|
49
|
+
type CreateChildSummarizerNodeParam,
|
|
50
|
+
type FluidDataStoreRegistryEntry,
|
|
51
|
+
type IContainerRuntimeBase,
|
|
52
|
+
type IDataStore,
|
|
53
|
+
type IFluidDataStoreChannel,
|
|
54
|
+
type IFluidDataStoreContext,
|
|
55
|
+
type IFluidDataStoreContextDetached,
|
|
56
|
+
type IFluidDataStoreRegistry,
|
|
57
|
+
type IGarbageCollectionDetailsBase,
|
|
58
|
+
type IProvideFluidDataStoreFactory,
|
|
59
|
+
type ISummarizeInternalResult,
|
|
60
|
+
type ISummarizeResult,
|
|
61
|
+
type ISummarizerNodeWithGC,
|
|
62
|
+
type SummarizeInternalFn,
|
|
63
63
|
channelsTreeName,
|
|
64
|
-
IInboundSignalMessage,
|
|
64
|
+
type IInboundSignalMessage,
|
|
65
65
|
type IPendingMessagesState,
|
|
66
66
|
type IRuntimeMessageCollection,
|
|
67
67
|
type IFluidDataStoreFactory,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
DataProcessingError,
|
|
77
77
|
LoggingError,
|
|
78
|
-
MonitoringContext,
|
|
78
|
+
type MonitoringContext,
|
|
79
79
|
ThresholdCounter,
|
|
80
80
|
UsageError,
|
|
81
81
|
createChildMonitoringContext,
|
|
@@ -92,8 +92,8 @@ import {
|
|
|
92
92
|
} from "./runtimeLayerCompatState.js";
|
|
93
93
|
import {
|
|
94
94
|
// eslint-disable-next-line import/no-deprecated
|
|
95
|
-
ReadFluidDataStoreAttributes,
|
|
96
|
-
WriteFluidDataStoreAttributes,
|
|
95
|
+
type ReadFluidDataStoreAttributes,
|
|
96
|
+
type WriteFluidDataStoreAttributes,
|
|
97
97
|
dataStoreAttributesBlobName,
|
|
98
98
|
getAttributesFormatVersion,
|
|
99
99
|
getFluidDataStoreAttributes,
|
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";
|