@fluidframework/container-runtime 2.53.1 → 2.61.0-355054
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.cjs +1 -2
- package/CHANGELOG.md +4 -0
- package/api-report/{container-runtime.legacy.alpha.api.md → container-runtime.legacy.beta.api.md} +55 -55
- package/container-runtime.test-files.tar +0 -0
- package/dist/batchTracker.d.ts +1 -1
- package/dist/batchTracker.d.ts.map +1 -1
- package/dist/batchTracker.js.map +1 -1
- package/dist/blobManager/blobManager.d.ts +29 -17
- package/dist/blobManager/blobManager.d.ts.map +1 -1
- package/dist/blobManager/blobManager.js +150 -135
- package/dist/blobManager/blobManager.js.map +1 -1
- package/dist/blobManager/blobManagerSnapSum.d.ts +4 -4
- package/dist/blobManager/blobManagerSnapSum.d.ts.map +1 -1
- package/dist/blobManager/blobManagerSnapSum.js +30 -33
- package/dist/blobManager/blobManagerSnapSum.js.map +1 -1
- package/dist/blobManager/index.d.ts +2 -2
- package/dist/blobManager/index.d.ts.map +1 -1
- package/dist/blobManager/index.js.map +1 -1
- package/dist/channelCollection.d.ts +9 -11
- package/dist/channelCollection.d.ts.map +1 -1
- package/dist/channelCollection.js +2 -3
- package/dist/channelCollection.js.map +1 -1
- package/dist/compressionDefinitions.d.ts +3 -6
- package/dist/compressionDefinitions.d.ts.map +1 -1
- package/dist/compressionDefinitions.js +2 -4
- package/dist/compressionDefinitions.js.map +1 -1
- package/dist/connectionTelemetry.d.ts +3 -4
- package/dist/connectionTelemetry.d.ts.map +1 -1
- package/dist/connectionTelemetry.js.map +1 -1
- package/dist/containerHandleContext.d.ts +2 -2
- package/dist/containerHandleContext.d.ts.map +1 -1
- package/dist/containerHandleContext.js.map +1 -1
- package/dist/containerRuntime.d.ts +13 -20
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +4 -7
- package/dist/containerRuntime.js.map +1 -1
- package/dist/dataStore.d.ts +3 -3
- package/dist/dataStore.d.ts.map +1 -1
- package/dist/dataStore.js.map +1 -1
- package/dist/dataStoreContext.d.ts +8 -8
- package/dist/dataStoreContext.d.ts.map +1 -1
- package/dist/dataStoreContext.js.map +1 -1
- package/dist/dataStoreContexts.d.ts +2 -2
- package/dist/dataStoreContexts.d.ts.map +1 -1
- package/dist/dataStoreContexts.js.map +1 -1
- package/dist/dataStoreRegistry.d.ts +1 -1
- package/dist/dataStoreRegistry.d.ts.map +1 -1
- package/dist/dataStoreRegistry.js.map +1 -1
- package/dist/deltaManagerProxies.d.ts +2 -3
- package/dist/deltaManagerProxies.d.ts.map +1 -1
- package/dist/deltaManagerProxies.js.map +1 -1
- package/dist/deltaScheduler.d.ts +2 -2
- package/dist/deltaScheduler.d.ts.map +1 -1
- package/dist/deltaScheduler.js.map +1 -1
- package/dist/error.d.ts +1 -1
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js.map +1 -1
- package/dist/gc/garbageCollection.d.ts +4 -4
- package/dist/gc/garbageCollection.d.ts.map +1 -1
- package/dist/gc/garbageCollection.js.map +1 -1
- package/dist/gc/gcConfigs.d.ts +3 -3
- package/dist/gc/gcConfigs.d.ts.map +1 -1
- package/dist/gc/gcConfigs.js.map +1 -1
- package/dist/gc/gcDefinitions.d.ts +10 -11
- package/dist/gc/gcDefinitions.d.ts.map +1 -1
- package/dist/gc/gcDefinitions.js.map +1 -1
- package/dist/gc/gcHelpers.d.ts +4 -4
- package/dist/gc/gcHelpers.d.ts.map +1 -1
- package/dist/gc/gcHelpers.js.map +1 -1
- package/dist/gc/gcReferenceGraphAlgorithm.d.ts +1 -1
- package/dist/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -1
- package/dist/gc/gcReferenceGraphAlgorithm.js.map +1 -1
- package/dist/gc/gcSummaryDefinitions.d.ts +1 -1
- package/dist/gc/gcSummaryDefinitions.d.ts.map +1 -1
- package/dist/gc/gcSummaryDefinitions.js.map +1 -1
- package/dist/gc/gcSummaryStateTracker.d.ts +4 -4
- package/dist/gc/gcSummaryStateTracker.d.ts.map +1 -1
- package/dist/gc/gcSummaryStateTracker.js.map +1 -1
- package/dist/gc/gcTelemetry.d.ts +6 -6
- package/dist/gc/gcTelemetry.d.ts.map +1 -1
- package/dist/gc/gcTelemetry.js.map +1 -1
- package/dist/gc/index.d.ts +3 -3
- package/dist/gc/index.d.ts.map +1 -1
- package/dist/gc/index.js.map +1 -1
- package/dist/inboundBatchAggregator.d.ts +2 -2
- package/dist/inboundBatchAggregator.d.ts.map +1 -1
- package/dist/inboundBatchAggregator.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +2 -1
- package/dist/messageTypes.d.ts +7 -8
- package/dist/messageTypes.d.ts.map +1 -1
- package/dist/messageTypes.js +1 -2
- package/dist/messageTypes.js.map +1 -1
- package/dist/opLifecycle/batchManager.d.ts +2 -2
- package/dist/opLifecycle/batchManager.d.ts.map +1 -1
- package/dist/opLifecycle/batchManager.js.map +1 -1
- package/dist/opLifecycle/definitions.d.ts +1 -1
- package/dist/opLifecycle/definitions.d.ts.map +1 -1
- package/dist/opLifecycle/definitions.js.map +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.d.ts +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.d.ts.map +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.js.map +1 -1
- package/dist/opLifecycle/index.d.ts +5 -5
- package/dist/opLifecycle/index.d.ts.map +1 -1
- package/dist/opLifecycle/index.js.map +1 -1
- package/dist/opLifecycle/opCompressor.d.ts +2 -2
- package/dist/opLifecycle/opCompressor.d.ts.map +1 -1
- package/dist/opLifecycle/opCompressor.js.map +1 -1
- package/dist/opLifecycle/opDecompressor.d.ts +2 -2
- package/dist/opLifecycle/opDecompressor.d.ts.map +1 -1
- package/dist/opLifecycle/opDecompressor.js.map +1 -1
- package/dist/opLifecycle/opGroupingManager.d.ts +3 -3
- package/dist/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/dist/opLifecycle/opGroupingManager.js.map +1 -1
- package/dist/opLifecycle/opSplitter.d.ts +4 -4
- package/dist/opLifecycle/opSplitter.d.ts.map +1 -1
- package/dist/opLifecycle/opSplitter.js.map +1 -1
- package/dist/opLifecycle/outbox.d.ts +9 -9
- package/dist/opLifecycle/outbox.d.ts.map +1 -1
- package/dist/opLifecycle/outbox.js.map +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.d.ts +4 -4
- package/dist/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/dist/opProperties.d.ts +1 -1
- package/dist/opProperties.d.ts.map +1 -1
- package/dist/opProperties.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/pendingStateManager.d.ts +3 -3
- package/dist/pendingStateManager.d.ts.map +1 -1
- package/dist/pendingStateManager.js.map +1 -1
- package/dist/storageServiceWithAttachBlobs.d.ts +1 -1
- package/dist/storageServiceWithAttachBlobs.d.ts.map +1 -1
- package/dist/storageServiceWithAttachBlobs.js.map +1 -1
- package/dist/summary/documentSchema.d.ts +1 -2
- package/dist/summary/documentSchema.d.ts.map +1 -1
- package/dist/summary/documentSchema.js.map +1 -1
- package/dist/summary/index.d.ts +10 -10
- package/dist/summary/index.d.ts.map +1 -1
- package/dist/summary/index.js.map +1 -1
- package/dist/summary/orderedClientElection.d.ts +4 -4
- package/dist/summary/orderedClientElection.d.ts.map +1 -1
- package/dist/summary/orderedClientElection.js.map +1 -1
- package/dist/summary/summarizerClientElection.d.ts +5 -5
- package/dist/summary/summarizerClientElection.d.ts.map +1 -1
- package/dist/summary/summarizerClientElection.js.map +1 -1
- package/dist/summary/summarizerNode/index.d.ts +3 -3
- package/dist/summary/summarizerNode/index.d.ts.map +1 -1
- package/dist/summary/summarizerNode/index.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.d.ts +5 -6
- package/dist/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts +3 -3
- package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts +3 -3
- package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/dist/summary/summarizerTypes.d.ts +25 -44
- package/dist/summary/summarizerTypes.d.ts.map +1 -1
- package/dist/summary/summarizerTypes.js.map +1 -1
- package/dist/summary/summarizerUtils.d.ts +3 -3
- package/dist/summary/summarizerUtils.d.ts.map +1 -1
- package/dist/summary/summarizerUtils.js.map +1 -1
- package/dist/summary/summaryCollection.d.ts +13 -23
- package/dist/summary/summaryCollection.d.ts.map +1 -1
- package/dist/summary/summaryCollection.js +1 -2
- package/dist/summary/summaryCollection.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/index.d.ts +2 -2
- package/dist/summary/summaryDelayLoadedModule/index.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/index.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts +1 -1
- package/dist/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runningSummarizer.d.ts +3 -3
- package/dist/summary/summaryDelayLoadedModule/runningSummarizer.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/runningSummarizer.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizer.d.ts +5 -5
- package/dist/summary/summaryDelayLoadedModule/summarizer.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizer.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts +3 -4
- package/dist/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summarizerHeuristics.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryGenerator.d.ts +3 -3
- package/dist/summary/summaryDelayLoadedModule/summaryGenerator.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryGenerator.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultBuilder.js.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts +5 -10
- package/dist/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts.map +1 -1
- package/dist/summary/summaryDelayLoadedModule/summaryResultTypes.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +9 -14
- package/dist/summary/summaryFormat.d.ts.map +1 -1
- package/dist/summary/summaryFormat.js.map +1 -1
- package/dist/summary/summaryHelpers.d.ts +1 -2
- package/dist/summary/summaryHelpers.d.ts.map +1 -1
- package/dist/summary/summaryHelpers.js +1 -2
- package/dist/summary/summaryHelpers.js.map +1 -1
- package/dist/summary/summaryManager.d.ts +3 -3
- package/dist/summary/summaryManager.d.ts.map +1 -1
- package/dist/summary/summaryManager.js.map +1 -1
- package/internal.d.ts +1 -1
- package/legacy.d.ts +1 -1
- package/lib/batchTracker.d.ts +1 -1
- package/lib/batchTracker.d.ts.map +1 -1
- package/lib/batchTracker.js.map +1 -1
- package/lib/blobManager/blobManager.d.ts +29 -17
- package/lib/blobManager/blobManager.d.ts.map +1 -1
- package/lib/blobManager/blobManager.js +142 -127
- package/lib/blobManager/blobManager.js.map +1 -1
- package/lib/blobManager/blobManagerSnapSum.d.ts +4 -4
- package/lib/blobManager/blobManagerSnapSum.d.ts.map +1 -1
- package/lib/blobManager/blobManagerSnapSum.js +26 -29
- package/lib/blobManager/blobManagerSnapSum.js.map +1 -1
- package/lib/blobManager/index.d.ts +2 -2
- package/lib/blobManager/index.d.ts.map +1 -1
- package/lib/blobManager/index.js.map +1 -1
- package/lib/channelCollection.d.ts +9 -11
- package/lib/channelCollection.d.ts.map +1 -1
- package/lib/channelCollection.js +2 -3
- package/lib/channelCollection.js.map +1 -1
- package/lib/compressionDefinitions.d.ts +3 -6
- package/lib/compressionDefinitions.d.ts.map +1 -1
- package/lib/compressionDefinitions.js +2 -4
- package/lib/compressionDefinitions.js.map +1 -1
- package/lib/connectionTelemetry.d.ts +3 -4
- package/lib/connectionTelemetry.d.ts.map +1 -1
- package/lib/connectionTelemetry.js.map +1 -1
- package/lib/containerHandleContext.d.ts +2 -2
- package/lib/containerHandleContext.d.ts.map +1 -1
- package/lib/containerHandleContext.js.map +1 -1
- package/lib/containerRuntime.d.ts +13 -20
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +4 -7
- package/lib/containerRuntime.js.map +1 -1
- package/lib/dataStore.d.ts +3 -3
- package/lib/dataStore.d.ts.map +1 -1
- package/lib/dataStore.js.map +1 -1
- package/lib/dataStoreContext.d.ts +8 -8
- package/lib/dataStoreContext.d.ts.map +1 -1
- package/lib/dataStoreContext.js.map +1 -1
- package/lib/dataStoreContexts.d.ts +2 -2
- package/lib/dataStoreContexts.d.ts.map +1 -1
- package/lib/dataStoreContexts.js.map +1 -1
- package/lib/dataStoreRegistry.d.ts +1 -1
- package/lib/dataStoreRegistry.d.ts.map +1 -1
- package/lib/dataStoreRegistry.js.map +1 -1
- package/lib/deltaManagerProxies.d.ts +2 -3
- package/lib/deltaManagerProxies.d.ts.map +1 -1
- package/lib/deltaManagerProxies.js.map +1 -1
- package/lib/deltaScheduler.d.ts +2 -2
- package/lib/deltaScheduler.d.ts.map +1 -1
- package/lib/deltaScheduler.js +1 -1
- package/lib/deltaScheduler.js.map +1 -1
- package/lib/error.d.ts +1 -1
- package/lib/error.d.ts.map +1 -1
- package/lib/error.js.map +1 -1
- package/lib/gc/garbageCollection.d.ts +4 -4
- package/lib/gc/garbageCollection.d.ts.map +1 -1
- package/lib/gc/garbageCollection.js.map +1 -1
- package/lib/gc/gcConfigs.d.ts +3 -3
- package/lib/gc/gcConfigs.d.ts.map +1 -1
- package/lib/gc/gcConfigs.js.map +1 -1
- package/lib/gc/gcDefinitions.d.ts +10 -11
- package/lib/gc/gcDefinitions.d.ts.map +1 -1
- package/lib/gc/gcDefinitions.js.map +1 -1
- package/lib/gc/gcHelpers.d.ts +4 -4
- package/lib/gc/gcHelpers.d.ts.map +1 -1
- package/lib/gc/gcHelpers.js.map +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.d.ts +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.js.map +1 -1
- package/lib/gc/gcSummaryDefinitions.d.ts +1 -1
- package/lib/gc/gcSummaryDefinitions.d.ts.map +1 -1
- package/lib/gc/gcSummaryDefinitions.js.map +1 -1
- package/lib/gc/gcSummaryStateTracker.d.ts +4 -4
- package/lib/gc/gcSummaryStateTracker.d.ts.map +1 -1
- package/lib/gc/gcSummaryStateTracker.js.map +1 -1
- package/lib/gc/gcTelemetry.d.ts +6 -6
- package/lib/gc/gcTelemetry.d.ts.map +1 -1
- package/lib/gc/gcTelemetry.js.map +1 -1
- package/lib/gc/index.d.ts +3 -3
- package/lib/gc/index.d.ts.map +1 -1
- package/lib/gc/index.js.map +1 -1
- package/lib/inboundBatchAggregator.d.ts +2 -2
- package/lib/inboundBatchAggregator.d.ts.map +1 -1
- package/lib/inboundBatchAggregator.js.map +1 -1
- package/lib/index.d.ts +7 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +2 -1
- package/lib/messageTypes.d.ts +7 -8
- package/lib/messageTypes.d.ts.map +1 -1
- package/lib/messageTypes.js +1 -2
- package/lib/messageTypes.js.map +1 -1
- package/lib/opLifecycle/batchManager.d.ts +2 -2
- package/lib/opLifecycle/batchManager.d.ts.map +1 -1
- package/lib/opLifecycle/batchManager.js.map +1 -1
- package/lib/opLifecycle/definitions.d.ts +1 -1
- package/lib/opLifecycle/definitions.d.ts.map +1 -1
- package/lib/opLifecycle/definitions.js.map +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.d.ts +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.d.ts.map +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.js.map +1 -1
- package/lib/opLifecycle/index.d.ts +5 -5
- package/lib/opLifecycle/index.d.ts.map +1 -1
- package/lib/opLifecycle/index.js.map +1 -1
- package/lib/opLifecycle/opCompressor.d.ts +2 -2
- package/lib/opLifecycle/opCompressor.d.ts.map +1 -1
- package/lib/opLifecycle/opCompressor.js.map +1 -1
- package/lib/opLifecycle/opDecompressor.d.ts +2 -2
- package/lib/opLifecycle/opDecompressor.d.ts.map +1 -1
- package/lib/opLifecycle/opDecompressor.js.map +1 -1
- package/lib/opLifecycle/opGroupingManager.d.ts +3 -3
- package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/lib/opLifecycle/opGroupingManager.js.map +1 -1
- package/lib/opLifecycle/opSplitter.d.ts +4 -4
- package/lib/opLifecycle/opSplitter.d.ts.map +1 -1
- package/lib/opLifecycle/opSplitter.js +1 -1
- package/lib/opLifecycle/opSplitter.js.map +1 -1
- package/lib/opLifecycle/outbox.d.ts +9 -9
- package/lib/opLifecycle/outbox.d.ts.map +1 -1
- package/lib/opLifecycle/outbox.js.map +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.d.ts +4 -4
- package/lib/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/lib/opProperties.d.ts +1 -1
- package/lib/opProperties.d.ts.map +1 -1
- package/lib/opProperties.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/pendingStateManager.d.ts +3 -3
- package/lib/pendingStateManager.d.ts.map +1 -1
- package/lib/pendingStateManager.js.map +1 -1
- package/lib/storageServiceWithAttachBlobs.d.ts +1 -1
- package/lib/storageServiceWithAttachBlobs.d.ts.map +1 -1
- package/lib/storageServiceWithAttachBlobs.js.map +1 -1
- package/lib/summary/documentSchema.d.ts +1 -2
- package/lib/summary/documentSchema.d.ts.map +1 -1
- package/lib/summary/documentSchema.js.map +1 -1
- package/lib/summary/index.d.ts +10 -10
- package/lib/summary/index.d.ts.map +1 -1
- package/lib/summary/index.js.map +1 -1
- package/lib/summary/orderedClientElection.d.ts +4 -4
- package/lib/summary/orderedClientElection.d.ts.map +1 -1
- package/lib/summary/orderedClientElection.js.map +1 -1
- package/lib/summary/summarizerClientElection.d.ts +5 -5
- package/lib/summary/summarizerClientElection.d.ts.map +1 -1
- package/lib/summary/summarizerClientElection.js.map +1 -1
- package/lib/summary/summarizerNode/index.d.ts +3 -3
- package/lib/summary/summarizerNode/index.d.ts.map +1 -1
- package/lib/summary/summarizerNode/index.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNode.d.ts +5 -6
- package/lib/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.d.ts +3 -3
- package/lib/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.d.ts +3 -3
- package/lib/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/lib/summary/summarizerTypes.d.ts +25 -44
- package/lib/summary/summarizerTypes.d.ts.map +1 -1
- package/lib/summary/summarizerTypes.js.map +1 -1
- package/lib/summary/summarizerUtils.d.ts +3 -3
- package/lib/summary/summarizerUtils.d.ts.map +1 -1
- package/lib/summary/summarizerUtils.js.map +1 -1
- package/lib/summary/summaryCollection.d.ts +13 -23
- package/lib/summary/summaryCollection.d.ts.map +1 -1
- package/lib/summary/summaryCollection.js +1 -2
- package/lib/summary/summaryCollection.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/index.d.ts +2 -2
- package/lib/summary/summaryDelayLoadedModule/index.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/index.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts +1 -1
- package/lib/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runningSummarizer.d.ts +3 -3
- package/lib/summary/summaryDelayLoadedModule/runningSummarizer.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/runningSummarizer.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizer.d.ts +5 -5
- package/lib/summary/summaryDelayLoadedModule/summarizer.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizer.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts +3 -4
- package/lib/summary/summaryDelayLoadedModule/summarizerHeuristics.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summarizerHeuristics.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryGenerator.d.ts +3 -3
- package/lib/summary/summaryDelayLoadedModule/summaryGenerator.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryGenerator.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultBuilder.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultBuilder.js.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts +5 -10
- package/lib/summary/summaryDelayLoadedModule/summaryResultTypes.d.ts.map +1 -1
- package/lib/summary/summaryDelayLoadedModule/summaryResultTypes.js.map +1 -1
- package/lib/summary/summaryFormat.d.ts +9 -14
- package/lib/summary/summaryFormat.d.ts.map +1 -1
- package/lib/summary/summaryFormat.js.map +1 -1
- package/lib/summary/summaryHelpers.d.ts +1 -2
- package/lib/summary/summaryHelpers.d.ts.map +1 -1
- package/lib/summary/summaryHelpers.js +1 -2
- package/lib/summary/summaryHelpers.js.map +1 -1
- package/lib/summary/summaryManager.d.ts +3 -3
- package/lib/summary/summaryManager.d.ts.map +1 -1
- package/lib/summary/summaryManager.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +27 -27
- package/src/batchTracker.ts +3 -3
- package/src/blobManager/blobManager.ts +165 -174
- package/src/blobManager/blobManagerSnapSum.ts +31 -53
- package/src/blobManager/index.ts +4 -4
- package/src/channelCollection.ts +28 -29
- package/src/compressionDefinitions.ts +3 -6
- package/src/connectionTelemetry.ts +8 -9
- package/src/containerHandleContext.ts +2 -2
- package/src/containerRuntime.ts +43 -50
- package/src/dataStore.ts +6 -6
- package/src/dataStoreContext.ts +33 -33
- package/src/dataStoreContexts.ts +3 -3
- package/src/dataStoreRegistry.ts +1 -1
- package/src/deltaManagerProxies.ts +3 -3
- package/src/deltaScheduler.ts +6 -3
- package/src/error.ts +1 -1
- package/src/gc/garbageCollection.ts +18 -18
- package/src/gc/gcConfigs.ts +7 -7
- package/src/gc/gcDefinitions.ts +11 -12
- package/src/gc/gcHelpers.ts +7 -7
- package/src/gc/gcReferenceGraphAlgorithm.ts +1 -1
- package/src/gc/gcSummaryDefinitions.ts +1 -1
- package/src/gc/gcSummaryStateTracker.ts +5 -5
- package/src/gc/gcTelemetry.ts +8 -8
- package/src/gc/index.ts +18 -18
- package/src/inboundBatchAggregator.ts +4 -4
- package/src/index.ts +79 -79
- package/src/messageTypes.ts +9 -10
- package/src/opLifecycle/batchManager.ts +2 -2
- package/src/opLifecycle/definitions.ts +1 -1
- package/src/opLifecycle/duplicateBatchDetector.ts +1 -1
- package/src/opLifecycle/index.ts +9 -9
- package/src/opLifecycle/opCompressor.ts +2 -2
- package/src/opLifecycle/opDecompressor.ts +3 -3
- package/src/opLifecycle/opGroupingManager.ts +6 -6
- package/src/opLifecycle/opSplitter.ts +10 -7
- package/src/opLifecycle/outbox.ts +17 -14
- package/src/opLifecycle/remoteMessageProcessor.ts +4 -4
- package/src/opProperties.ts +1 -1
- package/src/packageVersion.ts +1 -1
- package/src/pendingStateManager.ts +10 -10
- package/src/storageServiceWithAttachBlobs.ts +11 -11
- package/src/summary/documentSchema.ts +1 -2
- package/src/summary/index.ts +69 -69
- package/src/summary/orderedClientElection.ts +12 -4
- package/src/summary/summarizerClientElection.ts +5 -5
- package/src/summary/summarizerNode/index.ts +3 -3
- package/src/summary/summarizerNode/summarizerNode.ts +14 -12
- package/src/summary/summarizerNode/summarizerNodeUtils.ts +3 -3
- package/src/summary/summarizerNode/summarizerNodeWithGc.ts +3 -3
- package/src/summary/summarizerTypes.ts +25 -44
- package/src/summary/summarizerUtils.ts +3 -3
- package/src/summary/summaryCollection.ts +19 -29
- package/src/summary/summaryDelayLoadedModule/index.ts +2 -2
- package/src/summary/summaryDelayLoadedModule/runWhileConnectedCoordinator.ts +1 -1
- package/src/summary/summaryDelayLoadedModule/runningSummarizer.ts +4 -4
- package/src/summary/summaryDelayLoadedModule/summarizer.ts +8 -8
- package/src/summary/summaryDelayLoadedModule/summarizerHeuristics.ts +4 -4
- package/src/summary/summaryDelayLoadedModule/summaryGenerator.ts +3 -3
- package/src/summary/summaryDelayLoadedModule/summaryResultBuilder.ts +3 -3
- package/src/summary/summaryDelayLoadedModule/summaryResultTypes.ts +5 -10
- package/src/summary/summaryFormat.ts +9 -14
- package/src/summary/summaryHelpers.ts +1 -2
- package/src/summary/summaryManager.ts +4 -4
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { IBatchMessage } from "@fluidframework/container-definitions/internal";
|
|
7
7
|
|
|
8
|
-
import { CompressionAlgorithms } from "../compressionDefinitions.js";
|
|
8
|
+
import type { CompressionAlgorithms } from "../compressionDefinitions.js";
|
|
9
9
|
import type { LocalContainerRuntimeMessage } from "../messageTypes.js";
|
|
10
10
|
import type { IEmptyBatchMetadata } from "../metadata.js";
|
|
11
11
|
|
|
@@ -7,7 +7,7 @@ import { assert } from "@fluidframework/core-utils/internal";
|
|
|
7
7
|
import type { ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
|
|
8
8
|
|
|
9
9
|
import { getEffectiveBatchId } from "./batchManager.js";
|
|
10
|
-
import {
|
|
10
|
+
import type { BatchStartInfo } from "./remoteMessageProcessor.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* This class tracks recent batchIds we've seen, and checks incoming batches for duplicates.
|
package/src/opLifecycle/index.ts
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
addBatchMetadata,
|
|
8
|
-
BatchId,
|
|
8
|
+
type BatchId,
|
|
9
9
|
BatchManager,
|
|
10
|
-
BatchSequenceNumbers,
|
|
10
|
+
type BatchSequenceNumbers,
|
|
11
11
|
getEffectiveBatchId,
|
|
12
12
|
generateBatchId,
|
|
13
|
-
IBatchManagerOptions,
|
|
13
|
+
type IBatchManagerOptions,
|
|
14
14
|
} from "./batchManager.js";
|
|
15
|
-
export {
|
|
15
|
+
export type {
|
|
16
16
|
LocalBatch,
|
|
17
17
|
LocalBatchMessage,
|
|
18
18
|
LocalEmptyBatchPlaceholder,
|
|
@@ -28,7 +28,7 @@ export {
|
|
|
28
28
|
ensureContentsDeserialized,
|
|
29
29
|
} from "./opSerialization.js";
|
|
30
30
|
export {
|
|
31
|
-
BatchResubmitInfo,
|
|
31
|
+
type BatchResubmitInfo,
|
|
32
32
|
estimateSocketSize,
|
|
33
33
|
localBatchToOutboundBatch,
|
|
34
34
|
Outbox,
|
|
@@ -38,14 +38,14 @@ export { OpCompressor } from "./opCompressor.js";
|
|
|
38
38
|
export { OpDecompressor } from "./opDecompressor.js";
|
|
39
39
|
export { OpSplitter, splitOp, isChunkedMessage } from "./opSplitter.js";
|
|
40
40
|
export {
|
|
41
|
-
InboundMessageResult,
|
|
42
|
-
BatchStartInfo,
|
|
41
|
+
type InboundMessageResult,
|
|
42
|
+
type BatchStartInfo,
|
|
43
43
|
RemoteMessageProcessor,
|
|
44
44
|
unpackRuntimeMessage,
|
|
45
45
|
} from "./remoteMessageProcessor.js";
|
|
46
46
|
export {
|
|
47
|
-
EmptyGroupedBatch,
|
|
47
|
+
type EmptyGroupedBatch,
|
|
48
48
|
OpGroupingManager,
|
|
49
|
-
OpGroupingManagerConfig,
|
|
49
|
+
type OpGroupingManagerConfig,
|
|
50
50
|
isGroupedBatch,
|
|
51
51
|
} from "./opGroupingManager.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { IsoBuffer } from "@fluid-internal/client-utils";
|
|
7
|
-
import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
8
8
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
9
9
|
import {
|
|
10
10
|
DataProcessingError,
|
|
@@ -15,7 +15,7 @@ import { compress } from "lz4js";
|
|
|
15
15
|
|
|
16
16
|
import { CompressionAlgorithms } from "../compressionDefinitions.js";
|
|
17
17
|
|
|
18
|
-
import {
|
|
18
|
+
import type { OutboundBatchMessage, OutboundSingletonBatch } from "./definitions.js";
|
|
19
19
|
import { estimateSocketSize } from "./outbox.js";
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { IsoBuffer, Uint8ArrayToString } from "@fluid-internal/client-utils";
|
|
7
|
-
import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
8
8
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
9
|
-
import { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
9
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
10
10
|
import {
|
|
11
11
|
createChildLogger,
|
|
12
12
|
type ITelemetryLoggerExt,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { decompress } from "lz4js";
|
|
15
15
|
|
|
16
16
|
import { CompressionAlgorithms } from "../compressionDefinitions.js";
|
|
17
|
-
import { IBatchMetadata } from "../metadata.js";
|
|
17
|
+
import type { IBatchMetadata } from "../metadata.js";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Compression makes assumptions about the shape of message contents. This interface codifies those assumptions, but does not validate them.
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
7
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
8
|
-
import { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
8
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
9
9
|
import {
|
|
10
10
|
createChildLogger,
|
|
11
11
|
type ITelemetryLoggerExt,
|
|
12
12
|
} from "@fluidframework/telemetry-utils/internal";
|
|
13
13
|
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
import type {
|
|
15
|
+
LocalEmptyBatchPlaceholder,
|
|
16
|
+
OutboundBatch,
|
|
17
|
+
OutboundSingletonBatch,
|
|
18
18
|
} from "./definitions.js";
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IBatchMessage } from "@fluidframework/container-definitions/internal";
|
|
7
|
-
import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { IBatchMessage } from "@fluidframework/container-definitions/internal";
|
|
7
|
+
import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
8
8
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
9
|
-
import { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
9
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
10
10
|
import {
|
|
11
11
|
DataCorruptionError,
|
|
12
12
|
createChildLogger,
|
|
@@ -14,12 +14,15 @@ import {
|
|
|
14
14
|
type ITelemetryLoggerExt,
|
|
15
15
|
} from "@fluidframework/telemetry-utils/internal";
|
|
16
16
|
|
|
17
|
-
import { ContainerMessageType, ContainerRuntimeChunkedOpMessage } from "../messageTypes.js";
|
|
18
|
-
|
|
19
17
|
import {
|
|
18
|
+
ContainerMessageType,
|
|
19
|
+
type ContainerRuntimeChunkedOpMessage,
|
|
20
|
+
} from "../messageTypes.js";
|
|
21
|
+
|
|
22
|
+
import type {
|
|
20
23
|
IChunkedOp,
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
OutboundBatchMessage,
|
|
25
|
+
OutboundSingletonBatch,
|
|
23
26
|
} from "./definitions.js";
|
|
24
27
|
import { estimateSocketSize } from "./outbox.js";
|
|
25
28
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IBatchMessage } from "@fluidframework/container-definitions/internal";
|
|
7
|
-
import {
|
|
6
|
+
import type { IBatchMessage } from "@fluidframework/container-definitions/internal";
|
|
7
|
+
import type {
|
|
8
8
|
ITelemetryBaseLogger,
|
|
9
|
-
|
|
9
|
+
ITelemetryBaseProperties,
|
|
10
10
|
} from "@fluidframework/core-interfaces";
|
|
11
11
|
import { assert, Lazy } from "@fluidframework/core-utils/internal";
|
|
12
12
|
import {
|
|
@@ -17,27 +17,30 @@ import {
|
|
|
17
17
|
type ITelemetryLoggerExt,
|
|
18
18
|
} from "@fluidframework/telemetry-utils/internal";
|
|
19
19
|
|
|
20
|
-
import { ICompressionRuntimeOptions } from "../compressionDefinitions.js";
|
|
21
|
-
import {
|
|
20
|
+
import type { ICompressionRuntimeOptions } from "../compressionDefinitions.js";
|
|
21
|
+
import type {
|
|
22
|
+
PendingMessageResubmitData,
|
|
23
|
+
PendingStateManager,
|
|
24
|
+
} from "../pendingStateManager.js";
|
|
22
25
|
|
|
23
26
|
import {
|
|
24
27
|
BatchManager,
|
|
25
|
-
BatchSequenceNumbers,
|
|
28
|
+
type BatchSequenceNumbers,
|
|
26
29
|
sequenceNumbersMatch,
|
|
27
30
|
type BatchId,
|
|
28
31
|
} from "./batchManager.js";
|
|
29
|
-
import {
|
|
32
|
+
import type {
|
|
30
33
|
LocalBatchMessage,
|
|
31
34
|
IBatchCheckpoint,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
OutboundBatchMessage,
|
|
36
|
+
OutboundSingletonBatch,
|
|
37
|
+
LocalBatch,
|
|
38
|
+
OutboundBatch,
|
|
36
39
|
} from "./definitions.js";
|
|
37
|
-
import { OpCompressor } from "./opCompressor.js";
|
|
38
|
-
import { OpGroupingManager } from "./opGroupingManager.js";
|
|
40
|
+
import type { OpCompressor } from "./opCompressor.js";
|
|
41
|
+
import type { OpGroupingManager } from "./opGroupingManager.js";
|
|
39
42
|
import { serializeOp } from "./opSerialization.js";
|
|
40
|
-
import { OpSplitter } from "./opSplitter.js";
|
|
43
|
+
import type { OpSplitter } from "./opSplitter.js";
|
|
41
44
|
|
|
42
45
|
export interface IOutboxConfig {
|
|
43
46
|
readonly compressionOptions: ICompressionRuntimeOptions;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
7
7
|
import {
|
|
8
8
|
MessageType,
|
|
9
|
-
ISequencedDocumentMessage,
|
|
9
|
+
type ISequencedDocumentMessage,
|
|
10
10
|
} from "@fluidframework/driver-definitions/internal";
|
|
11
11
|
|
|
12
12
|
import {
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
} from "../messageTypes.js";
|
|
17
17
|
import { asBatchMetadata } from "../metadata.js";
|
|
18
18
|
|
|
19
|
-
import { OpDecompressor } from "./opDecompressor.js";
|
|
20
|
-
import { OpGroupingManager, isGroupedBatch } from "./opGroupingManager.js";
|
|
21
|
-
import { OpSplitter, isChunkedMessage } from "./opSplitter.js";
|
|
19
|
+
import type { OpDecompressor } from "./opDecompressor.js";
|
|
20
|
+
import { type OpGroupingManager, isGroupedBatch } from "./opGroupingManager.js";
|
|
21
|
+
import { type OpSplitter, isChunkedMessage } from "./opSplitter.js";
|
|
22
22
|
/**
|
|
23
23
|
* Info about the batch we learn when we process the first message
|
|
24
24
|
*/
|
package/src/opProperties.ts
CHANGED
package/src/packageVersion.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { IDisposable,
|
|
6
|
+
import type { IDisposable, ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
7
|
import { assert, Lazy } from "@fluidframework/core-utils/internal";
|
|
8
8
|
import {
|
|
9
|
-
ITelemetryLoggerExt,
|
|
9
|
+
type ITelemetryLoggerExt,
|
|
10
10
|
DataProcessingError,
|
|
11
11
|
LoggingError,
|
|
12
12
|
extractSafePropertiesFromMessage,
|
|
@@ -16,18 +16,18 @@ import Deque from "double-ended-queue";
|
|
|
16
16
|
import { v4 as uuid } from "uuid";
|
|
17
17
|
|
|
18
18
|
import { isContainerMessageDirtyable } from "./containerRuntime.js";
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
import type {
|
|
20
|
+
InboundContainerRuntimeMessage,
|
|
21
|
+
InboundSequencedContainerRuntimeMessage,
|
|
22
|
+
LocalContainerRuntimeMessage,
|
|
23
23
|
} from "./messageTypes.js";
|
|
24
24
|
import { asBatchMetadata, asEmptyBatchLocalOpMetadata } from "./metadata.js";
|
|
25
25
|
import {
|
|
26
|
-
EmptyGroupedBatch,
|
|
27
|
-
LocalBatchMessage,
|
|
26
|
+
type EmptyGroupedBatch,
|
|
27
|
+
type LocalBatchMessage,
|
|
28
28
|
getEffectiveBatchId,
|
|
29
|
-
BatchStartInfo,
|
|
30
|
-
InboundMessageResult,
|
|
29
|
+
type BatchStartInfo,
|
|
30
|
+
type InboundMessageResult,
|
|
31
31
|
serializeOp,
|
|
32
32
|
type LocalEmptyBatchPlaceholder,
|
|
33
33
|
type BatchResubmitInfo,
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
import type {
|
|
7
|
+
FetchSource,
|
|
8
|
+
ICreateBlobResponse,
|
|
9
|
+
IDocumentStorageServicePolicies,
|
|
10
|
+
ISnapshot,
|
|
11
|
+
ISnapshotFetchOptions,
|
|
12
|
+
ISnapshotTree,
|
|
13
|
+
ISummaryContext,
|
|
14
|
+
ISummaryHandle,
|
|
15
|
+
ISummaryTree,
|
|
16
|
+
IVersion,
|
|
17
17
|
} from "@fluidframework/driver-definitions/internal";
|
|
18
18
|
import type { IRuntimeStorageService } from "@fluidframework/runtime-definitions/internal";
|
|
19
19
|
import { UsageError } from "@fluidframework/telemetry-utils/internal";
|
|
@@ -30,8 +30,7 @@ export type DocumentSchemaValueType = string | string[] | true | number | undefi
|
|
|
30
30
|
* undefined - ID compressor is not loaded.
|
|
31
31
|
* While IContainerRuntime.generateDocumentUniqueId() is available, it will produce long IDs that are do not compress well.
|
|
32
32
|
*
|
|
33
|
-
* @legacy
|
|
34
|
-
* @alpha
|
|
33
|
+
* @legacy @beta
|
|
35
34
|
*/
|
|
36
35
|
export type IdCompressorMode = "on" | "delayed" | undefined;
|
|
37
36
|
|
package/src/summary/index.ts
CHANGED
|
@@ -6,36 +6,36 @@
|
|
|
6
6
|
export {
|
|
7
7
|
createRootSummarizerNode,
|
|
8
8
|
createRootSummarizerNodeWithGC,
|
|
9
|
-
IRefreshSummaryResult,
|
|
10
|
-
IRootSummarizerNode,
|
|
11
|
-
IRootSummarizerNodeWithGC,
|
|
9
|
+
type IRefreshSummaryResult,
|
|
10
|
+
type IRootSummarizerNode,
|
|
11
|
+
type IRootSummarizerNodeWithGC,
|
|
12
12
|
} from "./summarizerNode/index.js";
|
|
13
13
|
export {
|
|
14
14
|
summarizerClientType,
|
|
15
|
-
IConnectableRuntime,
|
|
16
|
-
IGeneratedSummaryStats,
|
|
17
|
-
IRefreshSummaryAckOptions,
|
|
18
|
-
ISubmitSummaryOptions,
|
|
19
|
-
ISummarizeAttempt,
|
|
20
|
-
ISummarizeHeuristicData,
|
|
21
|
-
ISummarizer,
|
|
22
|
-
ISummarizerInternalsProvider,
|
|
23
|
-
ISummarizerRuntime,
|
|
24
|
-
ISummaryCancellationToken,
|
|
25
|
-
SubmitSummaryResult,
|
|
26
|
-
IBaseSummarizeResult,
|
|
27
|
-
ICancellationToken,
|
|
28
|
-
IEnqueueSummarizeOptions,
|
|
29
|
-
IGenerateSummaryTreeResult,
|
|
30
|
-
IOnDemandSummarizeOptions,
|
|
31
|
-
ISubmitSummaryOpResult,
|
|
32
|
-
ISummarizeOptions,
|
|
33
|
-
ISummarizingWarning,
|
|
34
|
-
IUploadSummaryResult,
|
|
35
|
-
SummarizeResultPart,
|
|
36
|
-
SubmitSummaryFailureData,
|
|
37
|
-
SummaryStage,
|
|
38
|
-
IRetriableFailureError,
|
|
15
|
+
type IConnectableRuntime,
|
|
16
|
+
type IGeneratedSummaryStats,
|
|
17
|
+
type IRefreshSummaryAckOptions,
|
|
18
|
+
type ISubmitSummaryOptions,
|
|
19
|
+
type ISummarizeAttempt,
|
|
20
|
+
type ISummarizeHeuristicData,
|
|
21
|
+
type ISummarizer,
|
|
22
|
+
type ISummarizerInternalsProvider,
|
|
23
|
+
type ISummarizerRuntime,
|
|
24
|
+
type ISummaryCancellationToken,
|
|
25
|
+
type SubmitSummaryResult,
|
|
26
|
+
type IBaseSummarizeResult,
|
|
27
|
+
type ICancellationToken,
|
|
28
|
+
type IEnqueueSummarizeOptions,
|
|
29
|
+
type IGenerateSummaryTreeResult,
|
|
30
|
+
type IOnDemandSummarizeOptions,
|
|
31
|
+
type ISubmitSummaryOpResult,
|
|
32
|
+
type ISummarizeOptions,
|
|
33
|
+
type ISummarizingWarning,
|
|
34
|
+
type IUploadSummaryResult,
|
|
35
|
+
type SummarizeResultPart,
|
|
36
|
+
type SubmitSummaryFailureData,
|
|
37
|
+
type SummaryStage,
|
|
38
|
+
type IRetriableFailureError,
|
|
39
39
|
type ISummaryConfiguration,
|
|
40
40
|
type ISummaryConfigurationDisableHeuristics,
|
|
41
41
|
type ISummaryConfigurationDisableSummarizer,
|
|
@@ -43,28 +43,28 @@ export {
|
|
|
43
43
|
type ISummaryBaseConfiguration,
|
|
44
44
|
} from "./summarizerTypes.js";
|
|
45
45
|
export {
|
|
46
|
-
IOrderedClientCollection,
|
|
47
|
-
IOrderedClientElection,
|
|
48
|
-
ISerializedElection,
|
|
49
|
-
ITrackedClient,
|
|
46
|
+
type IOrderedClientCollection,
|
|
47
|
+
type IOrderedClientElection,
|
|
48
|
+
type ISerializedElection,
|
|
49
|
+
type ITrackedClient,
|
|
50
50
|
OrderedClientCollection,
|
|
51
51
|
OrderedClientElection,
|
|
52
52
|
} from "./orderedClientElection.js";
|
|
53
53
|
export {
|
|
54
|
-
IAckedSummary,
|
|
55
|
-
ISummaryCollectionOpEvents,
|
|
56
|
-
ISummaryOpMessage,
|
|
54
|
+
type IAckedSummary,
|
|
55
|
+
type ISummaryCollectionOpEvents,
|
|
56
|
+
type ISummaryOpMessage,
|
|
57
57
|
SummaryCollection,
|
|
58
|
-
IClientSummaryWatcher,
|
|
59
|
-
ISummary,
|
|
60
|
-
ISummaryAckMessage,
|
|
61
|
-
ISummaryNackMessage,
|
|
62
|
-
OpActionEventListener,
|
|
63
|
-
OpActionEventName,
|
|
58
|
+
type IClientSummaryWatcher,
|
|
59
|
+
type ISummary,
|
|
60
|
+
type ISummaryAckMessage,
|
|
61
|
+
type ISummaryNackMessage,
|
|
62
|
+
type OpActionEventListener,
|
|
63
|
+
type OpActionEventName,
|
|
64
64
|
} from "./summaryCollection.js";
|
|
65
65
|
export {
|
|
66
|
-
ISummarizerClientElection,
|
|
67
|
-
ISummarizerClientElectionEvents,
|
|
66
|
+
type ISummarizerClientElection,
|
|
67
|
+
type ISummarizerClientElectionEvents,
|
|
68
68
|
SummarizerClientElection,
|
|
69
69
|
} from "./summarizerClientElection.js";
|
|
70
70
|
export {
|
|
@@ -77,20 +77,20 @@ export {
|
|
|
77
77
|
getAttributesFormatVersion,
|
|
78
78
|
getFluidDataStoreAttributes,
|
|
79
79
|
hasIsolatedChannels,
|
|
80
|
-
IContainerRuntimeMetadata,
|
|
81
|
-
ICreateContainerMetadata,
|
|
82
|
-
ISummaryMetadataMessage,
|
|
80
|
+
type IContainerRuntimeMetadata,
|
|
81
|
+
type ICreateContainerMetadata,
|
|
82
|
+
type ISummaryMetadataMessage,
|
|
83
83
|
metadataBlobName,
|
|
84
84
|
nonDataStorePaths,
|
|
85
|
-
ReadFluidDataStoreAttributes,
|
|
85
|
+
type ReadFluidDataStoreAttributes,
|
|
86
86
|
rootHasIsolatedChannels,
|
|
87
|
-
WriteFluidDataStoreAttributes,
|
|
87
|
+
type WriteFluidDataStoreAttributes,
|
|
88
88
|
wrapSummaryInChannelsTree,
|
|
89
89
|
idCompressorBlobName,
|
|
90
|
-
IFluidDataStoreAttributes0,
|
|
91
|
-
IFluidDataStoreAttributes1,
|
|
92
|
-
IFluidDataStoreAttributes2,
|
|
93
|
-
OmitAttributesVersions,
|
|
90
|
+
type IFluidDataStoreAttributes0,
|
|
91
|
+
type IFluidDataStoreAttributes1,
|
|
92
|
+
type IFluidDataStoreAttributes2,
|
|
93
|
+
type OmitAttributesVersions,
|
|
94
94
|
} from "./summaryFormat.js";
|
|
95
95
|
export {
|
|
96
96
|
formCreateSummarizerFn,
|
|
@@ -100,41 +100,41 @@ export {
|
|
|
100
100
|
isSummariesDisabled,
|
|
101
101
|
} from "./summaryHelpers.js";
|
|
102
102
|
export {
|
|
103
|
-
IdCompressorMode,
|
|
104
|
-
IDocumentSchemaCurrent,
|
|
105
|
-
IDocumentSchema,
|
|
106
|
-
IDocumentSchemaInfo,
|
|
103
|
+
type IdCompressorMode,
|
|
104
|
+
type IDocumentSchemaCurrent,
|
|
105
|
+
type IDocumentSchema,
|
|
106
|
+
type IDocumentSchemaInfo,
|
|
107
107
|
currentDocumentVersionSchema,
|
|
108
|
-
DocumentSchemaValueType,
|
|
108
|
+
type DocumentSchemaValueType,
|
|
109
109
|
DocumentsSchemaController,
|
|
110
|
-
IDocumentSchemaChangeMessageIncoming,
|
|
111
|
-
IDocumentSchemaChangeMessageOutgoing,
|
|
112
|
-
IDocumentSchemaFeatures,
|
|
110
|
+
type IDocumentSchemaChangeMessageIncoming,
|
|
111
|
+
type IDocumentSchemaChangeMessageOutgoing,
|
|
112
|
+
type IDocumentSchemaFeatures,
|
|
113
113
|
} from "./documentSchema.js";
|
|
114
114
|
export {
|
|
115
115
|
getFailMessage,
|
|
116
116
|
RetriableSummaryError,
|
|
117
|
-
SummarizeReason,
|
|
117
|
+
type SummarizeReason,
|
|
118
118
|
} from "./summarizerUtils.js";
|
|
119
119
|
export {
|
|
120
|
-
IConnectedEvents,
|
|
121
|
-
IConnectedState,
|
|
122
|
-
ISummaryManagerConfig,
|
|
120
|
+
type IConnectedEvents,
|
|
121
|
+
type IConnectedState,
|
|
122
|
+
type ISummaryManagerConfig,
|
|
123
123
|
SummaryManager,
|
|
124
124
|
SummaryManagerState,
|
|
125
125
|
} from "./summaryManager.js";
|
|
126
126
|
export {
|
|
127
127
|
defaultMaxAttempts,
|
|
128
128
|
defaultMaxAttemptsForSubmitFailures,
|
|
129
|
-
ICancellableSummarizerController,
|
|
129
|
+
type ICancellableSummarizerController,
|
|
130
130
|
neverCancelledSummaryToken,
|
|
131
131
|
RunWhileConnectedCoordinator,
|
|
132
132
|
Summarizer,
|
|
133
|
-
IBroadcastSummaryResult,
|
|
134
|
-
ISummarizeResults,
|
|
135
|
-
EnqueueSummarizeResult,
|
|
136
|
-
IAckSummaryResult,
|
|
137
|
-
INackSummaryResult,
|
|
133
|
+
type IBroadcastSummaryResult,
|
|
134
|
+
type ISummarizeResults,
|
|
135
|
+
type EnqueueSummarizeResult,
|
|
136
|
+
type IAckSummaryResult,
|
|
137
|
+
type INackSummaryResult,
|
|
138
138
|
RunningSummarizer,
|
|
139
139
|
SummarizeHeuristicData,
|
|
140
140
|
SummarizeHeuristicRunner,
|
|
@@ -6,12 +6,20 @@
|
|
|
6
6
|
/* eslint-disable @rushstack/no-new-null */
|
|
7
7
|
|
|
8
8
|
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
9
|
-
import { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
10
|
-
import {
|
|
9
|
+
import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
|
|
10
|
+
import type {
|
|
11
|
+
IEvent,
|
|
12
|
+
IEventProvider,
|
|
13
|
+
ITelemetryBaseLogger,
|
|
14
|
+
} from "@fluidframework/core-interfaces";
|
|
11
15
|
import { assert } from "@fluidframework/core-utils/internal";
|
|
12
|
-
import {
|
|
16
|
+
import type {
|
|
17
|
+
IClient,
|
|
18
|
+
IQuorumClients,
|
|
19
|
+
ISequencedClient,
|
|
20
|
+
} from "@fluidframework/driver-definitions";
|
|
13
21
|
import {
|
|
14
|
-
ITelemetryLoggerExt,
|
|
22
|
+
type ITelemetryLoggerExt,
|
|
15
23
|
UsageError,
|
|
16
24
|
createChildLogger,
|
|
17
25
|
} from "@fluidframework/telemetry-utils/internal";
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
7
|
-
import { IEvent, IEventProvider } from "@fluidframework/core-interfaces";
|
|
8
|
-
import { IClientDetails } from "@fluidframework/driver-definitions";
|
|
7
|
+
import type { IEvent, IEventProvider } from "@fluidframework/core-interfaces";
|
|
8
|
+
import type { IClientDetails } from "@fluidframework/driver-definitions";
|
|
9
9
|
import { MessageType } from "@fluidframework/driver-definitions/internal";
|
|
10
|
-
import { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils/internal";
|
|
10
|
+
import type { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils/internal";
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import type {
|
|
13
13
|
IOrderedClientElection,
|
|
14
14
|
ISerializedElection,
|
|
15
15
|
ITrackedClient,
|
|
16
16
|
} from "./orderedClientElection.js";
|
|
17
17
|
import { summarizerClientType } from "./summarizerTypes.js";
|
|
18
|
-
import { ISummaryCollectionOpEvents } from "./summaryCollection.js";
|
|
18
|
+
import type { ISummaryCollectionOpEvents } from "./summaryCollection.js";
|
|
19
19
|
|
|
20
20
|
export interface ISummarizerClientElectionEvents extends IEvent {
|
|
21
21
|
(event: "electedSummarizerChanged", handler: () => void): void;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export type {
|
|
7
7
|
IRefreshSummaryResult,
|
|
8
8
|
ISummarizerNodeRootContract,
|
|
9
9
|
ValidateSummaryResult,
|
|
10
10
|
} from "./summarizerNodeUtils.js";
|
|
11
11
|
|
|
12
|
-
export { IRootSummarizerNode, createRootSummarizerNode } from "./summarizerNode.js";
|
|
12
|
+
export { type IRootSummarizerNode, createRootSummarizerNode } from "./summarizerNode.js";
|
|
13
13
|
export {
|
|
14
|
-
IRootSummarizerNodeWithGC,
|
|
14
|
+
type IRootSummarizerNodeWithGC,
|
|
15
15
|
createRootSummarizerNodeWithGC,
|
|
16
16
|
} from "./summarizerNodeWithGc.js";
|
|
@@ -3,36 +3,38 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
7
|
import { assert, unreachableCase } from "@fluidframework/core-utils/internal";
|
|
8
8
|
import { SummaryType } from "@fluidframework/driver-definitions";
|
|
9
|
-
import {
|
|
9
|
+
import type {
|
|
10
10
|
ISnapshotTree,
|
|
11
11
|
ISequencedDocumentMessage,
|
|
12
12
|
} from "@fluidframework/driver-definitions/internal";
|
|
13
13
|
import {
|
|
14
14
|
channelsTreeName,
|
|
15
|
-
IExperimentalIncrementalSummaryContext,
|
|
16
|
-
ITelemetryContext,
|
|
17
|
-
CreateChildSummarizerNodeParam,
|
|
15
|
+
type IExperimentalIncrementalSummaryContext,
|
|
16
|
+
type ITelemetryContext,
|
|
17
|
+
type CreateChildSummarizerNodeParam,
|
|
18
18
|
CreateSummarizerNodeSource,
|
|
19
|
-
ISummarizeResult,
|
|
20
|
-
ISummarizerNode,
|
|
21
|
-
ISummarizerNodeConfig,
|
|
22
|
-
SummarizeInternalFn,
|
|
19
|
+
type ISummarizeResult,
|
|
20
|
+
type ISummarizerNode,
|
|
21
|
+
type ISummarizerNodeConfig,
|
|
22
|
+
type SummarizeInternalFn,
|
|
23
23
|
} from "@fluidframework/runtime-definitions/internal";
|
|
24
24
|
import { mergeStats } from "@fluidframework/runtime-utils/internal";
|
|
25
|
-
import { type ITelemetryErrorEventExt } from "@fluidframework/telemetry-utils/internal";
|
|
26
25
|
import {
|
|
27
|
-
ITelemetryLoggerExt,
|
|
28
26
|
LoggingError,
|
|
29
27
|
PerformanceEvent,
|
|
30
28
|
TelemetryDataTag,
|
|
31
29
|
createChildLogger,
|
|
32
30
|
tagCodeArtifacts,
|
|
33
31
|
} from "@fluidframework/telemetry-utils/internal";
|
|
32
|
+
import type {
|
|
33
|
+
ITelemetryErrorEventExt,
|
|
34
|
+
ITelemetryLoggerExt,
|
|
35
|
+
} from "@fluidframework/telemetry-utils/internal";
|
|
34
36
|
|
|
35
|
-
import {
|
|
37
|
+
import type {
|
|
36
38
|
ICreateChildDetails,
|
|
37
39
|
IRefreshSummaryResult,
|
|
38
40
|
IStartSummaryResult,
|