@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
IDeltaManager,
|
|
8
8
|
ContainerWarning,
|
|
9
9
|
} from "@fluidframework/container-definitions/internal";
|
|
@@ -11,18 +11,18 @@ import type {
|
|
|
11
11
|
ISummarizerEvents,
|
|
12
12
|
SummarizerStopReason,
|
|
13
13
|
} from "@fluidframework/container-runtime-definitions/internal";
|
|
14
|
-
import {
|
|
14
|
+
import type {
|
|
15
15
|
IEventProvider,
|
|
16
16
|
ITelemetryBaseProperties,
|
|
17
17
|
ITelemetryBaseLogger,
|
|
18
18
|
} from "@fluidframework/core-interfaces";
|
|
19
|
-
import { ISummaryTree } from "@fluidframework/driver-definitions";
|
|
20
|
-
import {
|
|
19
|
+
import type { ISummaryTree } from "@fluidframework/driver-definitions";
|
|
20
|
+
import type {
|
|
21
21
|
IDocumentMessage,
|
|
22
22
|
ISequencedDocumentMessage,
|
|
23
23
|
} from "@fluidframework/driver-definitions/internal";
|
|
24
|
-
import { ISummaryStats } from "@fluidframework/runtime-definitions/internal";
|
|
25
|
-
import {
|
|
24
|
+
import type { ISummaryStats } from "@fluidframework/runtime-definitions/internal";
|
|
25
|
+
import type {
|
|
26
26
|
ITelemetryLoggerExt,
|
|
27
27
|
ITelemetryLoggerPropertyBag,
|
|
28
28
|
} from "@fluidframework/telemetry-utils/internal";
|
|
@@ -138,8 +138,7 @@ export interface ISummarizerRuntime extends IConnectableRuntime {
|
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Options affecting summarize behavior.
|
|
141
|
-
* @legacy
|
|
142
|
-
* @alpha
|
|
141
|
+
* @legacy @beta
|
|
143
142
|
*/
|
|
144
143
|
export interface ISummarizeOptions {
|
|
145
144
|
/**
|
|
@@ -171,8 +170,7 @@ export interface ISubmitSummaryOptions extends ISummarizeOptions {
|
|
|
171
170
|
}
|
|
172
171
|
|
|
173
172
|
/**
|
|
174
|
-
* @legacy
|
|
175
|
-
* @alpha
|
|
173
|
+
* @legacy @beta
|
|
176
174
|
*/
|
|
177
175
|
export interface IOnDemandSummarizeOptions extends ISummarizeOptions {
|
|
178
176
|
/**
|
|
@@ -187,8 +185,7 @@ export interface IOnDemandSummarizeOptions extends ISummarizeOptions {
|
|
|
187
185
|
|
|
188
186
|
/**
|
|
189
187
|
* Options to use when enqueueing a summarize attempt.
|
|
190
|
-
* @legacy
|
|
191
|
-
* @alpha
|
|
188
|
+
* @legacy @beta
|
|
192
189
|
*/
|
|
193
190
|
export interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOptions {
|
|
194
191
|
/**
|
|
@@ -208,8 +205,7 @@ export interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOptions {
|
|
|
208
205
|
/**
|
|
209
206
|
* In addition to the normal summary tree + stats, this contains additional stats
|
|
210
207
|
* only relevant at the root of the tree.
|
|
211
|
-
* @legacy
|
|
212
|
-
* @alpha
|
|
208
|
+
* @legacy @beta
|
|
213
209
|
*/
|
|
214
210
|
export interface IGeneratedSummaryStats extends ISummaryStats {
|
|
215
211
|
/**
|
|
@@ -240,8 +236,7 @@ export interface IGeneratedSummaryStats extends ISummaryStats {
|
|
|
240
236
|
|
|
241
237
|
/**
|
|
242
238
|
* Type for summarization failures that are retriable.
|
|
243
|
-
* @legacy
|
|
244
|
-
* @alpha
|
|
239
|
+
* @legacy @beta
|
|
245
240
|
*/
|
|
246
241
|
export interface IRetriableFailureError extends Error {
|
|
247
242
|
readonly retryAfterSeconds?: number;
|
|
@@ -249,8 +244,7 @@ export interface IRetriableFailureError extends Error {
|
|
|
249
244
|
|
|
250
245
|
/**
|
|
251
246
|
* Base results for all submitSummary attempts.
|
|
252
|
-
* @legacy
|
|
253
|
-
* @alpha
|
|
247
|
+
* @legacy @beta
|
|
254
248
|
*/
|
|
255
249
|
export interface IBaseSummarizeResult {
|
|
256
250
|
readonly stage: "base";
|
|
@@ -267,8 +261,7 @@ export interface IBaseSummarizeResult {
|
|
|
267
261
|
|
|
268
262
|
/**
|
|
269
263
|
* Results of submitSummary after generating the summary tree.
|
|
270
|
-
* @legacy
|
|
271
|
-
* @alpha
|
|
264
|
+
* @legacy @beta
|
|
272
265
|
*/
|
|
273
266
|
export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "stage"> {
|
|
274
267
|
readonly stage: "generate";
|
|
@@ -288,8 +281,7 @@ export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "
|
|
|
288
281
|
|
|
289
282
|
/**
|
|
290
283
|
* Results of submitSummary after uploading the tree to storage.
|
|
291
|
-
* @legacy
|
|
292
|
-
* @alpha
|
|
284
|
+
* @legacy @beta
|
|
293
285
|
*/
|
|
294
286
|
export interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "stage"> {
|
|
295
287
|
readonly stage: "upload";
|
|
@@ -305,8 +297,7 @@ export interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "
|
|
|
305
297
|
|
|
306
298
|
/**
|
|
307
299
|
* Results of submitSummary after submitting the summarize op.
|
|
308
|
-
* @legacy
|
|
309
|
-
* @alpha
|
|
300
|
+
* @legacy @beta
|
|
310
301
|
*/
|
|
311
302
|
export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stage" | "error"> {
|
|
312
303
|
readonly stage: "submit";
|
|
@@ -335,8 +326,7 @@ export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stag
|
|
|
335
326
|
* 3. "upload" - the summary was uploaded to storage, and the result contains the server-provided handle
|
|
336
327
|
*
|
|
337
328
|
* 4. "submit" - the summarize op was submitted, and the result contains the op client sequence number.
|
|
338
|
-
* @legacy
|
|
339
|
-
* @alpha
|
|
329
|
+
* @legacy @beta
|
|
340
330
|
*/
|
|
341
331
|
export type SubmitSummaryResult =
|
|
342
332
|
| IBaseSummarizeResult
|
|
@@ -346,23 +336,20 @@ export type SubmitSummaryResult =
|
|
|
346
336
|
|
|
347
337
|
/**
|
|
348
338
|
* The stages of Summarize, used to describe how far progress succeeded in case of a failure at a later stage.
|
|
349
|
-
* @legacy
|
|
350
|
-
* @alpha
|
|
339
|
+
* @legacy @beta
|
|
351
340
|
*/
|
|
352
341
|
export type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
|
|
353
342
|
|
|
354
343
|
/**
|
|
355
344
|
* The data in summarizer result when submit summary stage fails.
|
|
356
|
-
* @legacy
|
|
357
|
-
* @alpha
|
|
345
|
+
* @legacy @beta
|
|
358
346
|
*/
|
|
359
347
|
export interface SubmitSummaryFailureData {
|
|
360
348
|
stage: SummaryStage;
|
|
361
349
|
}
|
|
362
350
|
|
|
363
351
|
/**
|
|
364
|
-
* @legacy
|
|
365
|
-
* @alpha
|
|
352
|
+
* @legacy @beta
|
|
366
353
|
*/
|
|
367
354
|
export type SummarizeResultPart<TSuccess, TFailure = undefined> =
|
|
368
355
|
| {
|
|
@@ -377,8 +364,7 @@ export type SummarizeResultPart<TSuccess, TFailure = undefined> =
|
|
|
377
364
|
};
|
|
378
365
|
|
|
379
366
|
/**
|
|
380
|
-
* @legacy
|
|
381
|
-
* @alpha
|
|
367
|
+
* @legacy @beta
|
|
382
368
|
*/
|
|
383
369
|
export interface ISummarizer extends IEventProvider<ISummarizerEvents> {
|
|
384
370
|
/**
|
|
@@ -675,8 +661,7 @@ export interface ISummarizeRunnerTelemetry extends ITelemetryLoggerPropertyBag {
|
|
|
675
661
|
}
|
|
676
662
|
|
|
677
663
|
/**
|
|
678
|
-
* @legacy
|
|
679
|
-
* @alpha
|
|
664
|
+
* @legacy @beta
|
|
680
665
|
*/
|
|
681
666
|
export interface ISummaryBaseConfiguration {
|
|
682
667
|
/**
|
|
@@ -698,8 +683,7 @@ export interface ISummaryBaseConfiguration {
|
|
|
698
683
|
}
|
|
699
684
|
|
|
700
685
|
/**
|
|
701
|
-
* @legacy
|
|
702
|
-
* @alpha
|
|
686
|
+
* @legacy @beta
|
|
703
687
|
*/
|
|
704
688
|
export interface ISummaryConfigurationHeuristics extends ISummaryBaseConfiguration {
|
|
705
689
|
state: "enabled";
|
|
@@ -762,24 +746,21 @@ export interface ISummaryConfigurationHeuristics extends ISummaryBaseConfigurati
|
|
|
762
746
|
}
|
|
763
747
|
|
|
764
748
|
/**
|
|
765
|
-
* @legacy
|
|
766
|
-
* @alpha
|
|
749
|
+
* @legacy @beta
|
|
767
750
|
*/
|
|
768
751
|
export interface ISummaryConfigurationDisableSummarizer {
|
|
769
752
|
state: "disabled";
|
|
770
753
|
}
|
|
771
754
|
|
|
772
755
|
/**
|
|
773
|
-
* @legacy
|
|
774
|
-
* @alpha
|
|
756
|
+
* @legacy @beta
|
|
775
757
|
*/
|
|
776
758
|
export interface ISummaryConfigurationDisableHeuristics extends ISummaryBaseConfiguration {
|
|
777
759
|
state: "disableHeuristics";
|
|
778
760
|
}
|
|
779
761
|
|
|
780
762
|
/**
|
|
781
|
-
* @legacy
|
|
782
|
-
* @alpha
|
|
763
|
+
* @legacy @beta
|
|
783
764
|
*/
|
|
784
765
|
export type ISummaryConfiguration =
|
|
785
766
|
| ISummaryConfigurationDisableSummarizer
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { SummarizerStopReason } from "@fluidframework/container-runtime-definitions/internal";
|
|
7
|
-
import { ITelemetryBaseProperties } from "@fluidframework/core-interfaces";
|
|
8
|
-
import { IPromiseTimerResult } from "@fluidframework/core-utils/internal";
|
|
7
|
+
import type { ITelemetryBaseProperties } from "@fluidframework/core-interfaces";
|
|
8
|
+
import type { IPromiseTimerResult } from "@fluidframework/core-utils/internal";
|
|
9
9
|
import { LoggingError } from "@fluidframework/telemetry-utils/internal";
|
|
10
10
|
|
|
11
|
-
import { ISummaryCancellationToken,
|
|
11
|
+
import type { ISummaryCancellationToken, IRetriableFailureError } from "./summarizerTypes.js";
|
|
12
12
|
|
|
13
13
|
export type raceTimerResult<T> =
|
|
14
14
|
| { result: "done"; value: T }
|
|
@@ -4,30 +4,29 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
7
|
-
import { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
8
|
-
import {
|
|
7
|
+
import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
8
|
+
import type {
|
|
9
9
|
IDisposable,
|
|
10
10
|
IEvent,
|
|
11
|
-
|
|
11
|
+
ITelemetryBaseLogger,
|
|
12
12
|
} from "@fluidframework/core-interfaces";
|
|
13
13
|
import { assert, Deferred } from "@fluidframework/core-utils/internal";
|
|
14
14
|
import {
|
|
15
|
-
IDocumentMessage,
|
|
16
|
-
ISummaryAck,
|
|
17
|
-
ISummaryContent,
|
|
18
|
-
ISummaryNack,
|
|
15
|
+
type IDocumentMessage,
|
|
16
|
+
type ISummaryAck,
|
|
17
|
+
type ISummaryContent,
|
|
18
|
+
type ISummaryNack,
|
|
19
19
|
MessageType,
|
|
20
|
-
ISequencedDocumentMessage,
|
|
20
|
+
type ISequencedDocumentMessage,
|
|
21
21
|
} from "@fluidframework/driver-definitions/internal";
|
|
22
22
|
import {
|
|
23
23
|
createChildLogger,
|
|
24
|
-
ITelemetryLoggerExt,
|
|
24
|
+
type ITelemetryLoggerExt,
|
|
25
25
|
} from "@fluidframework/telemetry-utils/internal";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Interface for summary op messages with typed contents.
|
|
29
|
-
* @legacy
|
|
30
|
-
* @alpha
|
|
29
|
+
* @legacy @beta
|
|
31
30
|
*/
|
|
32
31
|
export interface ISummaryOpMessage extends ISequencedDocumentMessage {
|
|
33
32
|
type: MessageType.Summarize;
|
|
@@ -36,8 +35,7 @@ export interface ISummaryOpMessage extends ISequencedDocumentMessage {
|
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* Interface for summary ack messages with typed contents.
|
|
39
|
-
* @legacy
|
|
40
|
-
* @alpha
|
|
38
|
+
* @legacy @beta
|
|
41
39
|
*/
|
|
42
40
|
export interface ISummaryAckMessage extends ISequencedDocumentMessage {
|
|
43
41
|
type: MessageType.SummaryAck;
|
|
@@ -46,8 +44,7 @@ export interface ISummaryAckMessage extends ISequencedDocumentMessage {
|
|
|
46
44
|
|
|
47
45
|
/**
|
|
48
46
|
* Interface for summary nack messages with typed contents.
|
|
49
|
-
* @legacy
|
|
50
|
-
* @alpha
|
|
47
|
+
* @legacy @beta
|
|
51
48
|
*/
|
|
52
49
|
export interface ISummaryNackMessage extends ISequencedDocumentMessage {
|
|
53
50
|
type: MessageType.SummaryNack;
|
|
@@ -57,8 +54,7 @@ export interface ISummaryNackMessage extends ISequencedDocumentMessage {
|
|
|
57
54
|
/**
|
|
58
55
|
* A single summary which can be tracked as it goes through its life cycle.
|
|
59
56
|
* The life cycle is: Local to Broadcast to Acked/Nacked.
|
|
60
|
-
* @legacy
|
|
61
|
-
* @alpha
|
|
57
|
+
* @legacy @beta
|
|
62
58
|
*/
|
|
63
59
|
export interface ISummary {
|
|
64
60
|
readonly clientId: string;
|
|
@@ -69,8 +65,7 @@ export interface ISummary {
|
|
|
69
65
|
|
|
70
66
|
/**
|
|
71
67
|
* A single summary which has already been acked by the server.
|
|
72
|
-
* @legacy
|
|
73
|
-
* @alpha
|
|
68
|
+
* @legacy @beta
|
|
74
69
|
*/
|
|
75
70
|
export interface IAckedSummary {
|
|
76
71
|
readonly summaryOp: ISummaryOpMessage;
|
|
@@ -157,8 +152,7 @@ class Summary implements ISummary {
|
|
|
157
152
|
|
|
158
153
|
/**
|
|
159
154
|
* Watches summaries created by a specific client.
|
|
160
|
-
* @legacy
|
|
161
|
-
* @alpha
|
|
155
|
+
* @legacy @beta
|
|
162
156
|
*/
|
|
163
157
|
export interface IClientSummaryWatcher extends IDisposable {
|
|
164
158
|
watchSummary(clientSequenceNumber: number): ISummary;
|
|
@@ -226,8 +220,7 @@ class ClientSummaryWatcher implements IClientSummaryWatcher {
|
|
|
226
220
|
}
|
|
227
221
|
}
|
|
228
222
|
/**
|
|
229
|
-
* @legacy
|
|
230
|
-
* @alpha
|
|
223
|
+
* @legacy @beta
|
|
231
224
|
*/
|
|
232
225
|
export type OpActionEventName =
|
|
233
226
|
| MessageType.Summarize
|
|
@@ -236,14 +229,12 @@ export type OpActionEventName =
|
|
|
236
229
|
| "default";
|
|
237
230
|
|
|
238
231
|
/**
|
|
239
|
-
* @legacy
|
|
240
|
-
* @alpha
|
|
232
|
+
* @legacy @beta
|
|
241
233
|
*/
|
|
242
234
|
export type OpActionEventListener = (op: ISequencedDocumentMessage) => void;
|
|
243
235
|
|
|
244
236
|
/**
|
|
245
|
-
* @legacy
|
|
246
|
-
* @alpha
|
|
237
|
+
* @legacy @beta
|
|
247
238
|
*/
|
|
248
239
|
export interface ISummaryCollectionOpEvents extends IEvent {
|
|
249
240
|
(event: OpActionEventName, listener: OpActionEventListener);
|
|
@@ -253,8 +244,7 @@ export interface ISummaryCollectionOpEvents extends IEvent {
|
|
|
253
244
|
* Data structure that looks at the op stream to track summaries as they
|
|
254
245
|
* are broadcast, acked and nacked.
|
|
255
246
|
* It provides functionality for watching specific summaries.
|
|
256
|
-
* @legacy
|
|
257
|
-
* @alpha
|
|
247
|
+
* @legacy @beta
|
|
258
248
|
*/
|
|
259
249
|
export class SummaryCollection extends TypedEventEmitter<ISummaryCollectionOpEvents> {
|
|
260
250
|
// key: clientId
|
|
@@ -9,12 +9,12 @@ export {
|
|
|
9
9
|
Summarizer,
|
|
10
10
|
} from "./summarizer.js";
|
|
11
11
|
export {
|
|
12
|
-
ICancellableSummarizerController,
|
|
12
|
+
type ICancellableSummarizerController,
|
|
13
13
|
neverCancelledSummaryToken,
|
|
14
14
|
RunWhileConnectedCoordinator,
|
|
15
15
|
} from "./runWhileConnectedCoordinator.js";
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export type {
|
|
18
18
|
EnqueueSummarizeResult,
|
|
19
19
|
IAckSummaryResult,
|
|
20
20
|
INackSummaryResult,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { SummarizerStopReason } from "@fluidframework/container-runtime-definitions/internal";
|
|
7
7
|
import { assert, Deferred } from "@fluidframework/core-utils/internal";
|
|
8
8
|
|
|
9
|
-
import { IConnectableRuntime, ISummaryCancellationToken } from "../summarizerTypes.js";
|
|
9
|
+
import type { IConnectableRuntime, ISummaryCancellationToken } from "../summarizerTypes.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Similar to AbortController, but using promise instead of events
|
|
@@ -10,15 +10,15 @@ import type {
|
|
|
10
10
|
ISummarizerObservabilityProps,
|
|
11
11
|
SummarizerStopReason,
|
|
12
12
|
} from "@fluidframework/container-runtime-definitions/internal";
|
|
13
|
-
import { IDisposable, ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
13
|
+
import type { IDisposable, ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
14
14
|
import { assert, Deferred, PromiseTimer, delay } from "@fluidframework/core-utils/internal";
|
|
15
15
|
import {
|
|
16
16
|
DriverErrorTypes,
|
|
17
17
|
MessageType,
|
|
18
|
-
ISequencedDocumentMessage,
|
|
18
|
+
type ISequencedDocumentMessage,
|
|
19
19
|
} from "@fluidframework/driver-definitions/internal";
|
|
20
20
|
import {
|
|
21
|
-
MonitoringContext,
|
|
21
|
+
type MonitoringContext,
|
|
22
22
|
UsageError,
|
|
23
23
|
createChildLogger,
|
|
24
24
|
createChildMonitoringContext,
|
|
@@ -44,7 +44,7 @@ import type {
|
|
|
44
44
|
SubmitSummaryResult,
|
|
45
45
|
} from "../summarizerTypes.js";
|
|
46
46
|
import { raceTimer, RetriableSummaryError, type SummarizeReason } from "../summarizerUtils.js";
|
|
47
|
-
import {
|
|
47
|
+
import type {
|
|
48
48
|
IAckedSummary,
|
|
49
49
|
IClientSummaryWatcher,
|
|
50
50
|
SummaryCollection,
|
|
@@ -8,18 +8,18 @@ import type {
|
|
|
8
8
|
ISummarizerEvents,
|
|
9
9
|
SummarizerStopReason,
|
|
10
10
|
} from "@fluidframework/container-runtime-definitions/internal";
|
|
11
|
-
import { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
11
|
+
import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
12
12
|
import { Deferred } from "@fluidframework/core-utils/internal";
|
|
13
13
|
import {
|
|
14
|
-
IFluidErrorBase,
|
|
15
|
-
ITelemetryLoggerExt,
|
|
14
|
+
type IFluidErrorBase,
|
|
15
|
+
type ITelemetryLoggerExt,
|
|
16
16
|
LoggingError,
|
|
17
17
|
UsageError,
|
|
18
18
|
createChildLogger,
|
|
19
19
|
wrapErrorAndLog,
|
|
20
20
|
} from "@fluidframework/telemetry-utils/internal";
|
|
21
21
|
|
|
22
|
-
import {
|
|
22
|
+
import type {
|
|
23
23
|
IConnectableRuntime,
|
|
24
24
|
IEnqueueSummarizeOptions,
|
|
25
25
|
IOnDemandSummarizeOptions,
|
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
ISummarizerInternalsProvider,
|
|
29
29
|
ISummarizerRuntime,
|
|
30
30
|
ISummarizingWarning,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
IRetriableFailureError,
|
|
32
|
+
ISummaryConfiguration,
|
|
33
33
|
} from "../summarizerTypes.js";
|
|
34
|
-
import { SummaryCollection } from "../summaryCollection.js";
|
|
34
|
+
import type { SummaryCollection } from "../summaryCollection.js";
|
|
35
35
|
|
|
36
|
-
import { ICancellableSummarizerController } from "./runWhileConnectedCoordinator.js";
|
|
36
|
+
import type { ICancellableSummarizerController } from "./runWhileConnectedCoordinator.js";
|
|
37
37
|
import { RunningSummarizer } from "./runningSummarizer.js";
|
|
38
38
|
import { SummarizeHeuristicData } from "./summarizerHeuristics.js";
|
|
39
39
|
import { SummarizeResultBuilder } from "./summaryResultBuilder.js";
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { Timer } from "@fluidframework/core-utils/internal";
|
|
7
|
-
import { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils/internal";
|
|
7
|
+
import type { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils/internal";
|
|
8
8
|
|
|
9
|
-
import type {
|
|
10
|
-
|
|
9
|
+
import type {
|
|
10
|
+
ISummaryConfigurationHeuristics,
|
|
11
11
|
ISummarizeAttempt,
|
|
12
12
|
ISummarizeHeuristicData,
|
|
13
13
|
ISummarizeHeuristicRunner,
|
|
14
14
|
ISummaryHeuristicStrategy,
|
|
15
15
|
} from "../summarizerTypes.js";
|
|
16
|
-
import { SummarizeReason } from "../summarizerUtils.js";
|
|
16
|
+
import type { SummarizeReason } from "../summarizerUtils.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Simple implementation of class for tracking summarize heuristic data.
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { assert, IPromiseTimer, Timer } from "@fluidframework/core-utils/internal";
|
|
6
|
+
import { assert, type IPromiseTimer, Timer } from "@fluidframework/core-utils/internal";
|
|
7
7
|
import { DriverErrorTypes, MessageType } from "@fluidframework/driver-definitions/internal";
|
|
8
8
|
import { getRetryDelaySecondsFromError } from "@fluidframework/driver-utils/internal";
|
|
9
9
|
import {
|
|
10
10
|
isFluidError,
|
|
11
|
-
ITelemetryLoggerExt,
|
|
11
|
+
type ITelemetryLoggerExt,
|
|
12
12
|
PerformanceEvent,
|
|
13
13
|
wrapError,
|
|
14
14
|
} from "@fluidframework/telemetry-utils/internal";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import type { IClientSummaryWatcher } from "../summaryCollection.js";
|
|
32
32
|
|
|
33
33
|
import { SummarizeResultBuilder } from "./summaryResultBuilder.js";
|
|
34
|
-
import {
|
|
34
|
+
import type { INackSummaryResult, ISummarizeResults } from "./summaryResultTypes.js";
|
|
35
35
|
|
|
36
36
|
// Send some telemetry if generate summary takes too long
|
|
37
37
|
const maxSummarizeTimeoutTime = 20000; // 20 sec
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
import { assert, Deferred } from "@fluidframework/core-utils/internal";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
|
+
IRetriableFailureError,
|
|
9
10
|
SubmitSummaryFailureData,
|
|
10
11
|
SubmitSummaryResult,
|
|
11
12
|
SummarizeResultPart,
|
|
12
|
-
|
|
13
|
-
} from "../index.js";
|
|
13
|
+
} from "../summarizerTypes.js";
|
|
14
14
|
|
|
15
15
|
import type {
|
|
16
16
|
IAckSummaryResult,
|
|
@@ -15,8 +15,7 @@ import type {
|
|
|
15
15
|
} from "../summaryCollection.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* @legacy
|
|
19
|
-
* @alpha
|
|
18
|
+
* @legacy @beta
|
|
20
19
|
*/
|
|
21
20
|
export interface IBroadcastSummaryResult {
|
|
22
21
|
readonly summarizeOp: ISummaryOpMessage;
|
|
@@ -24,8 +23,7 @@ export interface IBroadcastSummaryResult {
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
|
-
* @legacy
|
|
28
|
-
* @alpha
|
|
26
|
+
* @legacy @beta
|
|
29
27
|
*/
|
|
30
28
|
export interface IAckSummaryResult {
|
|
31
29
|
readonly summaryAckOp: ISummaryAckMessage;
|
|
@@ -33,8 +31,7 @@ export interface IAckSummaryResult {
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
/**
|
|
36
|
-
* @legacy
|
|
37
|
-
* @alpha
|
|
34
|
+
* @legacy @beta
|
|
38
35
|
*/
|
|
39
36
|
export interface INackSummaryResult {
|
|
40
37
|
readonly summaryNackOp: ISummaryNackMessage;
|
|
@@ -42,8 +39,7 @@ export interface INackSummaryResult {
|
|
|
42
39
|
}
|
|
43
40
|
|
|
44
41
|
/**
|
|
45
|
-
* @legacy
|
|
46
|
-
* @alpha
|
|
42
|
+
* @legacy @beta
|
|
47
43
|
*/
|
|
48
44
|
export interface ISummarizeResults {
|
|
49
45
|
/**
|
|
@@ -65,8 +61,7 @@ export interface ISummarizeResults {
|
|
|
65
61
|
}
|
|
66
62
|
|
|
67
63
|
/**
|
|
68
|
-
* @legacy
|
|
69
|
-
* @alpha
|
|
64
|
+
* @legacy @beta
|
|
70
65
|
*/
|
|
71
66
|
export type EnqueueSummarizeResult =
|
|
72
67
|
| (ISummarizeResults & {
|
|
@@ -5,27 +5,26 @@
|
|
|
5
5
|
|
|
6
6
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
7
7
|
import { SummaryType } from "@fluidframework/driver-definitions";
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
9
|
ISnapshotTree,
|
|
10
10
|
ISequencedDocumentMessage,
|
|
11
11
|
} from "@fluidframework/driver-definitions/internal";
|
|
12
12
|
import { readAndParse } from "@fluidframework/driver-utils/internal";
|
|
13
13
|
import {
|
|
14
|
-
ISummaryTreeWithStats,
|
|
14
|
+
type ISummaryTreeWithStats,
|
|
15
15
|
channelsTreeName,
|
|
16
16
|
gcTreeKey,
|
|
17
17
|
type IRuntimeStorageService,
|
|
18
18
|
} from "@fluidframework/runtime-definitions/internal";
|
|
19
19
|
|
|
20
20
|
import { blobsTreeName } from "../blobManager/index.js";
|
|
21
|
-
import { IGCMetadata } from "../gc/index.js";
|
|
21
|
+
import type { IGCMetadata } from "../gc/index.js";
|
|
22
22
|
|
|
23
|
-
import { IDocumentSchema } from "./documentSchema.js";
|
|
23
|
+
import type { IDocumentSchema } from "./documentSchema.js";
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @deprecated - This interface will no longer be exported in the future(AB#8004).
|
|
27
|
-
* @legacy
|
|
28
|
-
* @alpha
|
|
27
|
+
* @legacy @beta
|
|
29
28
|
*/
|
|
30
29
|
export type OmitAttributesVersions<T> = Omit<
|
|
31
30
|
T,
|
|
@@ -34,8 +33,7 @@ export type OmitAttributesVersions<T> = Omit<
|
|
|
34
33
|
|
|
35
34
|
/**
|
|
36
35
|
* @deprecated - This interface will no longer be exported in the future(AB#8004).
|
|
37
|
-
* @legacy
|
|
38
|
-
* @alpha
|
|
36
|
+
* @legacy @beta
|
|
39
37
|
*/
|
|
40
38
|
export interface IFluidDataStoreAttributes0 {
|
|
41
39
|
readonly snapshotFormatVersion?: undefined;
|
|
@@ -51,8 +49,7 @@ export interface IFluidDataStoreAttributes0 {
|
|
|
51
49
|
|
|
52
50
|
/**
|
|
53
51
|
* @deprecated - This interface will no longer be exported in the future(AB#8004).
|
|
54
|
-
* @legacy
|
|
55
|
-
* @alpha
|
|
52
|
+
* @legacy @beta
|
|
56
53
|
*/
|
|
57
54
|
export interface IFluidDataStoreAttributes1
|
|
58
55
|
extends OmitAttributesVersions<IFluidDataStoreAttributes0> {
|
|
@@ -62,8 +59,7 @@ export interface IFluidDataStoreAttributes1
|
|
|
62
59
|
|
|
63
60
|
/**
|
|
64
61
|
* @deprecated - This interface will no longer be exported in the future(AB#8004).
|
|
65
|
-
* @legacy
|
|
66
|
-
* @alpha
|
|
62
|
+
* @legacy @beta
|
|
67
63
|
*/
|
|
68
64
|
export interface IFluidDataStoreAttributes2
|
|
69
65
|
extends OmitAttributesVersions<IFluidDataStoreAttributes1> {
|
|
@@ -87,8 +83,7 @@ export interface IFluidDataStoreAttributes2
|
|
|
87
83
|
*
|
|
88
84
|
* @deprecated - This interface will no longer be exported in the future(AB#8004).
|
|
89
85
|
*
|
|
90
|
-
* @legacy
|
|
91
|
-
* @alpha
|
|
86
|
+
* @legacy @beta
|
|
92
87
|
*
|
|
93
88
|
*/
|
|
94
89
|
export type ReadFluidDataStoreAttributes =
|
|
@@ -8,7 +8,7 @@ import type {
|
|
|
8
8
|
ISummarizerEvents,
|
|
9
9
|
SummarizerStopReason,
|
|
10
10
|
} from "@fluidframework/container-runtime-definitions/internal";
|
|
11
|
-
import {
|
|
11
|
+
import type {
|
|
12
12
|
IDisposable,
|
|
13
13
|
IEvent,
|
|
14
14
|
IEventProvider,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
18
18
|
import { DriverErrorTypes } from "@fluidframework/driver-definitions/internal";
|
|
19
19
|
import {
|
|
20
|
-
ITelemetryLoggerExt,
|
|
20
|
+
type ITelemetryLoggerExt,
|
|
21
21
|
PerformanceEvent,
|
|
22
22
|
createChildLogger,
|
|
23
23
|
} from "@fluidframework/telemetry-utils/internal";
|
|
24
24
|
|
|
25
|
-
import { IThrottler } from "../throttler.js";
|
|
25
|
+
import type { IThrottler } from "../throttler.js";
|
|
26
26
|
|
|
27
27
|
import type { ISummarizerClientElection } from "./summarizerClientElection.js";
|
|
28
|
-
import {
|
|
28
|
+
import type {
|
|
29
29
|
IEnqueueSummarizeOptions,
|
|
30
30
|
IOnDemandSummarizeOptions,
|
|
31
31
|
ISummarizer,
|