@fluidframework/container-runtime 2.0.0-dev-rc.1.0.0.228517 → 2.0.0-dev-rc.2.0.0.245554
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{.eslintrc.js → .eslintrc.cjs} +5 -5
- package/{.mocharc.js → .mocharc.cjs} +1 -1
- package/CHANGELOG.md +54 -0
- package/README.md +46 -1
- package/{api-extractor-esm.json → api-extractor-cjs.json} +5 -1
- package/api-extractor-lint.json +1 -1
- package/api-extractor.json +1 -1
- package/api-report/container-runtime.api.md +435 -33
- package/dist/batchTracker.d.ts +1 -2
- package/dist/batchTracker.d.ts.map +1 -1
- package/dist/batchTracker.js.map +1 -1
- package/dist/blobManager.d.ts +0 -5
- package/dist/blobManager.d.ts.map +1 -1
- package/dist/blobManager.js +0 -12
- package/dist/blobManager.js.map +1 -1
- package/dist/channelCollection.d.ts +225 -0
- package/dist/channelCollection.d.ts.map +1 -0
- package/dist/{dataStores.js → channelCollection.js} +449 -143
- package/dist/channelCollection.js.map +1 -0
- package/dist/connectionTelemetry.d.ts +11 -1
- package/dist/connectionTelemetry.d.ts.map +1 -1
- package/dist/connectionTelemetry.js +42 -4
- package/dist/connectionTelemetry.js.map +1 -1
- package/dist/container-runtime-alpha.d.ts +138 -49
- package/dist/container-runtime-beta.d.ts +75 -9
- package/dist/container-runtime-public.d.ts +75 -9
- package/dist/container-runtime-untrimmed.d.ts +717 -49
- package/dist/containerHandleContext.d.ts +1 -1
- package/dist/containerHandleContext.d.ts.map +1 -1
- package/dist/containerHandleContext.js.map +1 -1
- package/dist/containerRuntime.d.ts +84 -64
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +550 -427
- package/dist/containerRuntime.js.map +1 -1
- package/dist/dataStore.d.ts +2 -3
- package/dist/dataStore.d.ts.map +1 -1
- package/dist/dataStore.js +12 -11
- package/dist/dataStore.js.map +1 -1
- package/dist/dataStoreContext.d.ts +118 -38
- package/dist/dataStoreContext.d.ts.map +1 -1
- package/dist/dataStoreContext.js +249 -161
- package/dist/dataStoreContext.js.map +1 -1
- package/dist/dataStoreContexts.d.ts +2 -1
- package/dist/dataStoreContexts.d.ts.map +1 -1
- package/dist/dataStoreContexts.js +1 -0
- package/dist/dataStoreContexts.js.map +1 -1
- package/dist/deltaManagerSummarizerProxy.d.ts +29 -4
- package/dist/deltaManagerSummarizerProxy.d.ts.map +1 -1
- package/dist/deltaManagerSummarizerProxy.js +91 -5
- package/dist/deltaManagerSummarizerProxy.js.map +1 -1
- package/dist/gc/garbageCollection.d.ts +29 -7
- package/dist/gc/garbageCollection.d.ts.map +1 -1
- package/dist/gc/garbageCollection.js +179 -98
- package/dist/gc/garbageCollection.js.map +1 -1
- package/dist/gc/gcConfigs.d.ts +2 -2
- package/dist/gc/gcConfigs.d.ts.map +1 -1
- package/dist/gc/gcConfigs.js +30 -23
- package/dist/gc/gcConfigs.js.map +1 -1
- package/dist/gc/gcDefinitions.d.ts +40 -15
- package/dist/gc/gcDefinitions.d.ts.map +1 -1
- package/dist/gc/gcDefinitions.js +11 -4
- package/dist/gc/gcDefinitions.js.map +1 -1
- package/dist/gc/gcHelpers.d.ts +2 -2
- 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/gcSummaryStateTracker.d.ts +12 -5
- package/dist/gc/gcSummaryStateTracker.d.ts.map +1 -1
- package/dist/gc/gcSummaryStateTracker.js +18 -6
- package/dist/gc/gcSummaryStateTracker.js.map +1 -1
- package/dist/gc/gcTelemetry.d.ts +7 -7
- package/dist/gc/gcTelemetry.d.ts.map +1 -1
- package/dist/gc/gcTelemetry.js +20 -20
- package/dist/gc/gcTelemetry.js.map +1 -1
- package/dist/gc/gcUnreferencedStateTracker.d.ts +6 -1
- package/dist/gc/gcUnreferencedStateTracker.d.ts.map +1 -1
- package/dist/gc/gcUnreferencedStateTracker.js +22 -11
- package/dist/gc/gcUnreferencedStateTracker.js.map +1 -1
- package/dist/gc/index.d.ts +8 -8
- package/dist/gc/index.d.ts.map +1 -1
- package/dist/gc/index.js +40 -38
- package/dist/gc/index.js.map +1 -1
- package/dist/index.d.ts +11 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -40
- package/dist/index.js.map +1 -1
- package/dist/messageTypes.d.ts +4 -4
- package/dist/messageTypes.d.ts.map +1 -1
- 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 +2 -2
- package/dist/opLifecycle/definitions.d.ts.map +1 -1
- package/dist/opLifecycle/definitions.js.map +1 -1
- package/dist/opLifecycle/index.d.ts +8 -8
- package/dist/opLifecycle/index.d.ts.map +1 -1
- package/dist/opLifecycle/index.js +18 -18
- package/dist/opLifecycle/index.js.map +1 -1
- package/dist/opLifecycle/opCompressor.d.ts +1 -1
- package/dist/opLifecycle/opCompressor.d.ts.map +1 -1
- package/dist/opLifecycle/opCompressor.js +4 -4
- package/dist/opLifecycle/opCompressor.js.map +1 -1
- package/dist/opLifecycle/opDecompressor.d.ts +1 -1
- package/dist/opLifecycle/opDecompressor.d.ts.map +1 -1
- package/dist/opLifecycle/opDecompressor.js +3 -3
- package/dist/opLifecycle/opDecompressor.js.map +1 -1
- package/dist/opLifecycle/opGroupingManager.d.ts +1 -1
- package/dist/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/dist/opLifecycle/opGroupingManager.js +1 -10
- package/dist/opLifecycle/opGroupingManager.js.map +1 -1
- package/dist/opLifecycle/opSplitter.d.ts +1 -1
- package/dist/opLifecycle/opSplitter.d.ts.map +1 -1
- package/dist/opLifecycle/opSplitter.js +5 -5
- package/dist/opLifecycle/opSplitter.js.map +1 -1
- package/dist/opLifecycle/outbox.d.ts +7 -7
- package/dist/opLifecycle/outbox.d.ts.map +1 -1
- package/dist/opLifecycle/outbox.js +20 -12
- 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 +2 -2
- package/dist/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/dist/package.json +3 -0
- 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 +2 -1
- package/dist/pendingStateManager.d.ts.map +1 -1
- package/dist/pendingStateManager.js +18 -10
- package/dist/pendingStateManager.js.map +1 -1
- package/dist/scheduleManager.d.ts +1 -2
- package/dist/scheduleManager.d.ts.map +1 -1
- package/dist/scheduleManager.js +5 -5
- package/dist/scheduleManager.js.map +1 -1
- package/dist/summary/index.d.ts +12 -12
- package/dist/summary/index.d.ts.map +1 -1
- package/dist/summary/index.js +43 -43
- package/dist/summary/index.js.map +1 -1
- package/dist/summary/orderedClientElection.js +8 -8
- package/dist/summary/orderedClientElection.js.map +1 -1
- package/dist/summary/runWhileConnectedCoordinator.d.ts +1 -1
- package/dist/summary/runWhileConnectedCoordinator.d.ts.map +1 -1
- package/dist/summary/runWhileConnectedCoordinator.js.map +1 -1
- package/dist/summary/runningSummarizer.d.ts +11 -10
- package/dist/summary/runningSummarizer.d.ts.map +1 -1
- package/dist/summary/runningSummarizer.js +114 -81
- package/dist/summary/runningSummarizer.js.map +1 -1
- package/dist/summary/summarizer.d.ts +4 -4
- package/dist/summary/summarizer.d.ts.map +1 -1
- package/dist/summary/summarizer.js +6 -6
- package/dist/summary/summarizer.js.map +1 -1
- package/dist/summary/summarizerClientElection.d.ts +2 -2
- package/dist/summary/summarizerClientElection.d.ts.map +1 -1
- package/dist/summary/summarizerClientElection.js.map +1 -1
- package/dist/summary/summarizerHeuristics.d.ts +3 -3
- package/dist/summary/summarizerHeuristics.d.ts.map +1 -1
- package/dist/summary/summarizerHeuristics.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 +4 -4
- package/dist/summary/summarizerNode/index.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.d.ts +17 -7
- package/dist/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.js +45 -57
- package/dist/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts +10 -19
- package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.js +1 -21
- package/dist/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts +5 -6
- package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.js +16 -16
- package/dist/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/dist/summary/summarizerTypes.d.ts +10 -21
- package/dist/summary/summarizerTypes.d.ts.map +1 -1
- package/dist/summary/summarizerTypes.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +15 -2
- package/dist/summary/summaryFormat.d.ts.map +1 -1
- package/dist/summary/summaryFormat.js.map +1 -1
- package/dist/summary/summaryGenerator.d.ts +6 -5
- package/dist/summary/summaryGenerator.d.ts.map +1 -1
- package/dist/summary/summaryGenerator.js +10 -1
- package/dist/summary/summaryGenerator.js.map +1 -1
- package/dist/summary/summaryManager.d.ts +5 -6
- package/dist/summary/summaryManager.d.ts.map +1 -1
- package/dist/summary/summaryManager.js +4 -5
- package/dist/summary/summaryManager.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/{batchTracker.d.mts → batchTracker.d.ts} +2 -3
- package/lib/batchTracker.d.ts.map +1 -0
- package/lib/{batchTracker.mjs → batchTracker.js} +1 -1
- package/lib/batchTracker.js.map +1 -0
- package/lib/{blobManager.d.mts → blobManager.d.ts} +1 -6
- package/lib/blobManager.d.ts.map +1 -0
- package/lib/{blobManager.mjs → blobManager.js} +1 -13
- package/lib/blobManager.js.map +1 -0
- package/lib/channelCollection.d.ts +225 -0
- package/lib/channelCollection.d.ts.map +1 -0
- package/lib/{dataStores.mjs → channelCollection.js} +436 -133
- package/lib/channelCollection.js.map +1 -0
- package/lib/{connectionTelemetry.d.mts → connectionTelemetry.d.ts} +12 -2
- package/lib/connectionTelemetry.d.ts.map +1 -0
- package/lib/{connectionTelemetry.mjs → connectionTelemetry.js} +43 -5
- package/lib/connectionTelemetry.js.map +1 -0
- package/lib/{container-runtime-alpha.d.mts → container-runtime-alpha.d.ts} +138 -49
- package/lib/{container-runtime-beta.d.mts → container-runtime-beta.d.ts} +75 -9
- package/lib/{container-runtime-public.d.mts → container-runtime-public.d.ts} +75 -9
- package/lib/{container-runtime-untrimmed.d.mts → container-runtime-untrimmed.d.ts} +717 -49
- package/lib/{containerHandleContext.d.mts → containerHandleContext.d.ts} +2 -2
- package/lib/containerHandleContext.d.ts.map +1 -0
- package/lib/{containerHandleContext.mjs → containerHandleContext.js} +1 -1
- package/lib/containerHandleContext.js.map +1 -0
- package/lib/{containerRuntime.d.mts → containerRuntime.d.ts} +89 -65
- package/lib/containerRuntime.d.ts.map +1 -0
- package/lib/{containerRuntime.mjs → containerRuntime.js} +469 -348
- package/lib/containerRuntime.js.map +1 -0
- package/lib/{dataStore.d.mts → dataStore.d.ts} +3 -4
- package/lib/dataStore.d.ts.map +1 -0
- package/lib/{dataStore.mjs → dataStore.js} +13 -12
- package/lib/dataStore.js.map +1 -0
- package/lib/{dataStoreContext.d.mts → dataStoreContext.d.ts} +119 -39
- package/lib/dataStoreContext.d.ts.map +1 -0
- package/lib/{dataStoreContext.mjs → dataStoreContext.js} +241 -153
- package/lib/dataStoreContext.js.map +1 -0
- package/lib/{dataStoreContexts.d.mts → dataStoreContexts.d.ts} +3 -2
- package/lib/dataStoreContexts.d.ts.map +1 -0
- package/lib/{dataStoreContexts.mjs → dataStoreContexts.js} +2 -1
- package/lib/dataStoreContexts.js.map +1 -0
- package/lib/{dataStoreRegistry.d.mts → dataStoreRegistry.d.ts} +1 -1
- package/lib/dataStoreRegistry.d.ts.map +1 -0
- package/lib/{dataStoreRegistry.mjs → dataStoreRegistry.js} +5 -1
- package/lib/dataStoreRegistry.js.map +1 -0
- package/{dist/deltaManagerProxyBase.d.ts → lib/deltaManagerSummarizerProxy.d.ts} +16 -7
- package/lib/deltaManagerSummarizerProxy.d.ts.map +1 -0
- package/lib/deltaManagerSummarizerProxy.js +124 -0
- package/lib/deltaManagerSummarizerProxy.js.map +1 -0
- package/lib/{deltaScheduler.d.mts → deltaScheduler.d.ts} +1 -1
- package/lib/deltaScheduler.d.ts.map +1 -0
- package/lib/{deltaScheduler.mjs → deltaScheduler.js} +1 -1
- package/lib/deltaScheduler.js.map +1 -0
- package/lib/{error.d.mts → error.d.ts} +1 -1
- package/lib/error.d.ts.map +1 -0
- package/lib/{error.mjs → error.js} +1 -1
- package/lib/error.js.map +1 -0
- package/lib/gc/{garbageCollection.d.mts → garbageCollection.d.ts} +30 -8
- package/lib/gc/garbageCollection.d.ts.map +1 -0
- package/lib/gc/{garbageCollection.mjs → garbageCollection.js} +149 -68
- package/lib/gc/garbageCollection.js.map +1 -0
- package/lib/gc/{gcConfigs.d.mts → gcConfigs.d.ts} +3 -3
- package/lib/gc/gcConfigs.d.ts.map +1 -0
- package/lib/gc/{gcConfigs.mjs → gcConfigs.js} +14 -7
- package/lib/gc/gcConfigs.js.map +1 -0
- package/lib/gc/{gcDefinitions.d.mts → gcDefinitions.d.ts} +41 -16
- package/lib/gc/gcDefinitions.d.ts.map +1 -0
- package/lib/gc/{gcDefinitions.mjs → gcDefinitions.js} +11 -4
- package/lib/gc/gcDefinitions.js.map +1 -0
- package/lib/gc/{gcHelpers.d.mts → gcHelpers.d.ts} +3 -3
- package/lib/gc/{gcHelpers.d.mts.map → gcHelpers.d.ts.map} +1 -1
- package/lib/gc/{gcHelpers.mjs → gcHelpers.js} +1 -1
- package/lib/gc/gcHelpers.js.map +1 -0
- package/lib/gc/{gcReferenceGraphAlgorithm.d.mts → gcReferenceGraphAlgorithm.d.ts} +2 -2
- package/lib/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -0
- package/lib/gc/{gcReferenceGraphAlgorithm.mjs → gcReferenceGraphAlgorithm.js} +1 -1
- package/lib/gc/gcReferenceGraphAlgorithm.js.map +1 -0
- package/lib/gc/{gcSummaryDefinitions.d.mts → gcSummaryDefinitions.d.ts} +1 -1
- package/lib/gc/gcSummaryDefinitions.d.ts.map +1 -0
- package/lib/gc/{gcSummaryDefinitions.mjs → gcSummaryDefinitions.js} +1 -1
- package/lib/gc/gcSummaryDefinitions.js.map +1 -0
- package/lib/gc/{gcSummaryStateTracker.d.mts → gcSummaryStateTracker.d.ts} +13 -6
- package/lib/gc/gcSummaryStateTracker.d.ts.map +1 -0
- package/lib/gc/{gcSummaryStateTracker.mjs → gcSummaryStateTracker.js} +17 -5
- package/lib/gc/gcSummaryStateTracker.js.map +1 -0
- package/lib/gc/{gcTelemetry.d.mts → gcTelemetry.d.ts} +8 -8
- package/lib/gc/gcTelemetry.d.ts.map +1 -0
- package/lib/gc/{gcTelemetry.mjs → gcTelemetry.js} +5 -5
- package/lib/gc/gcTelemetry.js.map +1 -0
- package/lib/gc/{gcUnreferencedStateTracker.d.mts → gcUnreferencedStateTracker.d.ts} +7 -2
- package/lib/gc/gcUnreferencedStateTracker.d.ts.map +1 -0
- package/lib/gc/{gcUnreferencedStateTracker.mjs → gcUnreferencedStateTracker.js} +12 -2
- package/lib/gc/gcUnreferencedStateTracker.js.map +1 -0
- package/lib/gc/index.d.ts +13 -0
- package/lib/gc/index.d.ts.map +1 -0
- package/lib/gc/{index.mjs → index.js} +8 -8
- package/lib/gc/index.js.map +1 -0
- package/lib/{index.d.mts → index.d.ts} +12 -21
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/lib/{messageTypes.d.mts → messageTypes.d.ts} +5 -5
- package/lib/messageTypes.d.ts.map +1 -0
- package/lib/{messageTypes.mjs → messageTypes.js} +1 -1
- package/lib/messageTypes.js.map +1 -0
- package/lib/{metadata.d.mts → metadata.d.ts} +1 -1
- package/lib/metadata.d.ts.map +1 -0
- package/lib/{metadata.mjs → metadata.js} +1 -1
- package/lib/metadata.js.map +1 -0
- package/lib/opLifecycle/{batchManager.d.mts → batchManager.d.ts} +3 -3
- package/lib/opLifecycle/batchManager.d.ts.map +1 -0
- package/lib/opLifecycle/{batchManager.mjs → batchManager.js} +1 -1
- package/lib/opLifecycle/batchManager.js.map +1 -0
- package/lib/opLifecycle/{definitions.d.mts → definitions.d.ts} +3 -3
- package/lib/opLifecycle/definitions.d.ts.map +1 -0
- package/lib/opLifecycle/{definitions.mjs → definitions.js} +1 -1
- package/lib/opLifecycle/definitions.js.map +1 -0
- package/lib/opLifecycle/index.d.ts +13 -0
- package/lib/opLifecycle/index.d.ts.map +1 -0
- package/lib/opLifecycle/index.js +12 -0
- package/lib/opLifecycle/index.js.map +1 -0
- package/lib/opLifecycle/{opCompressor.d.mts → opCompressor.d.ts} +2 -2
- package/lib/opLifecycle/opCompressor.d.ts.map +1 -0
- package/lib/opLifecycle/{opCompressor.mjs → opCompressor.js} +3 -3
- package/lib/opLifecycle/opCompressor.js.map +1 -0
- package/lib/opLifecycle/{opDecompressor.d.mts → opDecompressor.d.ts} +2 -2
- package/lib/opLifecycle/opDecompressor.d.ts.map +1 -0
- package/lib/opLifecycle/{opDecompressor.mjs → opDecompressor.js} +2 -2
- package/lib/opLifecycle/opDecompressor.js.map +1 -0
- package/lib/opLifecycle/{opGroupingManager.d.mts → opGroupingManager.d.ts} +2 -2
- package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -0
- package/lib/opLifecycle/{opGroupingManager.mjs → opGroupingManager.js} +2 -11
- package/lib/opLifecycle/opGroupingManager.js.map +1 -0
- package/lib/opLifecycle/{opSplitter.d.mts → opSplitter.d.ts} +2 -2
- package/lib/opLifecycle/opSplitter.d.ts.map +1 -0
- package/lib/opLifecycle/{opSplitter.mjs → opSplitter.js} +3 -3
- package/lib/opLifecycle/opSplitter.js.map +1 -0
- package/lib/opLifecycle/{outbox.d.mts → outbox.d.ts} +8 -8
- package/lib/opLifecycle/outbox.d.ts.map +1 -0
- package/lib/opLifecycle/{outbox.mjs → outbox.js} +12 -4
- package/lib/opLifecycle/outbox.js.map +1 -0
- package/lib/opLifecycle/{remoteMessageProcessor.d.mts → remoteMessageProcessor.d.ts} +5 -5
- package/lib/opLifecycle/remoteMessageProcessor.d.ts.map +1 -0
- package/lib/opLifecycle/{remoteMessageProcessor.mjs → remoteMessageProcessor.js} +2 -2
- package/lib/opLifecycle/remoteMessageProcessor.js.map +1 -0
- package/lib/{opProperties.d.mts → opProperties.d.ts} +1 -1
- package/lib/opProperties.d.ts.map +1 -0
- package/lib/{opProperties.mjs → opProperties.js} +1 -1
- package/lib/opProperties.js.map +1 -0
- package/lib/{packageVersion.d.mts → packageVersion.d.ts} +2 -2
- package/lib/packageVersion.d.ts.map +1 -0
- package/lib/{packageVersion.mjs → packageVersion.js} +2 -2
- package/lib/packageVersion.js.map +1 -0
- package/lib/{pendingStateManager.d.mts → pendingStateManager.d.ts} +3 -2
- package/lib/pendingStateManager.d.ts.map +1 -0
- package/lib/{pendingStateManager.mjs → pendingStateManager.js} +18 -10
- package/lib/pendingStateManager.js.map +1 -0
- package/lib/{scheduleManager.d.mts → scheduleManager.d.ts} +6 -3
- package/lib/scheduleManager.d.ts.map +1 -0
- package/lib/{scheduleManager.mjs → scheduleManager.js} +3 -3
- package/lib/scheduleManager.js.map +1 -0
- package/lib/{storageServiceWithAttachBlobs.d.mts → storageServiceWithAttachBlobs.d.ts} +1 -1
- package/lib/storageServiceWithAttachBlobs.d.ts.map +1 -0
- package/lib/{storageServiceWithAttachBlobs.mjs → storageServiceWithAttachBlobs.js} +1 -1
- package/lib/storageServiceWithAttachBlobs.js.map +1 -0
- package/lib/summary/{index.d.mts → index.d.ts} +13 -13
- package/lib/summary/index.d.ts.map +1 -0
- package/lib/summary/{index.mjs → index.js} +12 -12
- package/lib/summary/index.js.map +1 -0
- package/lib/summary/{orderedClientElection.d.mts → orderedClientElection.d.ts} +5 -1
- package/lib/summary/orderedClientElection.d.ts.map +1 -0
- package/lib/summary/{orderedClientElection.mjs → orderedClientElection.js} +2 -2
- package/lib/summary/orderedClientElection.js.map +1 -0
- package/lib/summary/{runWhileConnectedCoordinator.d.mts → runWhileConnectedCoordinator.d.ts} +2 -2
- package/lib/summary/runWhileConnectedCoordinator.d.ts.map +1 -0
- package/lib/summary/{runWhileConnectedCoordinator.mjs → runWhileConnectedCoordinator.js} +1 -1
- package/lib/summary/runWhileConnectedCoordinator.js.map +1 -0
- package/lib/summary/{runningSummarizer.d.mts → runningSummarizer.d.ts} +12 -11
- package/lib/summary/runningSummarizer.d.ts.map +1 -0
- package/lib/summary/{runningSummarizer.mjs → runningSummarizer.js} +108 -75
- package/lib/summary/runningSummarizer.js.map +1 -0
- package/lib/summary/{summarizer.d.mts → summarizer.d.ts} +5 -5
- package/lib/summary/summarizer.d.ts.map +1 -0
- package/lib/summary/{summarizer.mjs → summarizer.js} +4 -4
- package/lib/summary/summarizer.js.map +1 -0
- package/lib/summary/{summarizerClientElection.d.mts → summarizerClientElection.d.ts} +3 -3
- package/lib/summary/summarizerClientElection.d.ts.map +1 -0
- package/lib/summary/{summarizerClientElection.mjs → summarizerClientElection.js} +1 -1
- package/lib/summary/summarizerClientElection.js.map +1 -0
- package/lib/summary/{summarizerHeuristics.d.mts → summarizerHeuristics.d.ts} +4 -4
- package/lib/summary/summarizerHeuristics.d.ts.map +1 -0
- package/lib/summary/{summarizerHeuristics.mjs → summarizerHeuristics.js} +1 -1
- package/lib/summary/summarizerHeuristics.js.map +1 -0
- package/lib/summary/summarizerNode/{index.d.mts → index.d.ts} +4 -4
- package/lib/summary/summarizerNode/index.d.ts.map +1 -0
- package/lib/summary/summarizerNode/index.js +7 -0
- package/lib/summary/summarizerNode/index.js.map +1 -0
- package/lib/summary/summarizerNode/{summarizerNode.d.mts → summarizerNode.d.ts} +18 -8
- package/lib/summary/summarizerNode/summarizerNode.d.ts.map +1 -0
- package/lib/summary/summarizerNode/{summarizerNode.mjs → summarizerNode.js} +41 -53
- package/lib/summary/summarizerNode/summarizerNode.js.map +1 -0
- package/lib/summary/summarizerNode/{summarizerNodeUtils.d.mts → summarizerNodeUtils.d.ts} +11 -20
- package/lib/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -0
- package/lib/summary/summarizerNode/{summarizerNodeUtils.mjs → summarizerNodeUtils.js} +1 -20
- package/lib/summary/summarizerNode/summarizerNodeUtils.js.map +1 -0
- package/lib/summary/summarizerNode/{summarizerNodeWithGc.d.mts → summarizerNodeWithGc.d.ts} +6 -7
- package/lib/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -0
- package/lib/summary/summarizerNode/{summarizerNodeWithGc.mjs → summarizerNodeWithGc.js} +12 -12
- package/lib/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -0
- package/lib/summary/{summarizerTypes.d.mts → summarizerTypes.d.ts} +11 -22
- package/lib/summary/summarizerTypes.d.ts.map +1 -0
- package/lib/summary/{summarizerTypes.mjs → summarizerTypes.js} +1 -1
- package/lib/summary/summarizerTypes.js.map +1 -0
- package/lib/summary/{summaryCollection.d.mts → summaryCollection.d.ts} +1 -1
- package/lib/summary/summaryCollection.d.ts.map +1 -0
- package/lib/summary/{summaryCollection.mjs → summaryCollection.js} +1 -1
- package/lib/summary/summaryCollection.js.map +1 -0
- package/lib/summary/{summaryFormat.d.mts → summaryFormat.d.ts} +16 -3
- package/lib/summary/summaryFormat.d.ts.map +1 -0
- package/lib/summary/{summaryFormat.mjs → summaryFormat.js} +1 -1
- package/lib/summary/summaryFormat.js.map +1 -0
- package/lib/summary/{summaryGenerator.d.mts → summaryGenerator.d.ts} +7 -6
- package/lib/summary/summaryGenerator.d.ts.map +1 -0
- package/lib/summary/{summaryGenerator.mjs → summaryGenerator.js} +11 -2
- package/lib/summary/summaryGenerator.js.map +1 -0
- package/lib/summary/{summaryManager.d.mts → summaryManager.d.ts} +6 -7
- package/lib/summary/summaryManager.d.ts.map +1 -0
- package/lib/summary/{summaryManager.mjs → summaryManager.js} +4 -5
- package/lib/summary/summaryManager.js.map +1 -0
- package/lib/test/batchTracker.spec.js +88 -0
- package/lib/test/batchTracker.spec.js.map +1 -0
- package/lib/test/blobManager.spec.js +835 -0
- package/lib/test/blobManager.spec.js.map +1 -0
- package/lib/test/channelCollection.spec.js +138 -0
- package/lib/test/channelCollection.spec.js.map +1 -0
- package/lib/test/containerRuntime.spec.js +1748 -0
- package/lib/test/containerRuntime.spec.js.map +1 -0
- package/lib/test/dataStoreContext.spec.js +771 -0
- package/lib/test/dataStoreContext.spec.js.map +1 -0
- package/lib/test/dataStoreCreation.spec.js +303 -0
- package/lib/test/dataStoreCreation.spec.js.map +1 -0
- package/lib/test/dataStoreRegistry.spec.js +26 -0
- package/lib/test/dataStoreRegistry.spec.js.map +1 -0
- package/lib/test/fuzz/fuzzUtils.js +66 -0
- package/lib/test/fuzz/fuzzUtils.js.map +1 -0
- package/lib/test/fuzz/summarizer.fuzz.spec.js +31 -0
- package/lib/test/fuzz/summarizer.fuzz.spec.js.map +1 -0
- package/lib/test/fuzz/summarizerFuzzMocks.js +162 -0
- package/lib/test/fuzz/summarizerFuzzMocks.js.map +1 -0
- package/lib/test/fuzz/summarizerFuzzSuite.js +106 -0
- package/lib/test/fuzz/summarizerFuzzSuite.js.map +1 -0
- package/lib/test/gc/garbageCollection.spec.js +1464 -0
- package/lib/test/gc/garbageCollection.spec.js.map +1 -0
- package/lib/test/gc/gcConfigs.spec.js +689 -0
- package/lib/test/gc/gcConfigs.spec.js.map +1 -0
- package/lib/test/gc/gcHelpers.spec.js +110 -0
- package/lib/test/gc/gcHelpers.spec.js.map +1 -0
- package/lib/test/gc/gcReferenceGraphAlgorithm.spec.js +68 -0
- package/lib/test/gc/gcReferenceGraphAlgorithm.spec.js.map +1 -0
- package/lib/test/gc/gcStats.spec.js +390 -0
- package/lib/test/gc/gcStats.spec.js.map +1 -0
- package/lib/test/gc/gcSummaryStateTracker.spec.js +228 -0
- package/lib/test/gc/gcSummaryStateTracker.spec.js.map +1 -0
- package/lib/test/gc/gcTelemetry.spec.js +530 -0
- package/lib/test/gc/gcTelemetry.spec.js.map +1 -0
- package/lib/test/gc/gcUnitTestHelpers.js +29 -0
- package/lib/test/gc/gcUnitTestHelpers.js.map +1 -0
- package/lib/test/gc/gcUnreferencedStateTracker.spec.js +192 -0
- package/lib/test/gc/gcUnreferencedStateTracker.spec.js.map +1 -0
- package/lib/test/getPendingBlobs.spec.js +193 -0
- package/lib/test/getPendingBlobs.spec.js.map +1 -0
- package/lib/test/hardwareStats.spec.js +93 -0
- package/lib/test/hardwareStats.spec.js.map +1 -0
- package/lib/test/index.js +6 -0
- package/lib/test/index.js.map +1 -0
- package/lib/test/opLifecycle/OpGroupingManager.spec.js +225 -0
- package/lib/test/opLifecycle/OpGroupingManager.spec.js.map +1 -0
- package/lib/test/opLifecycle/batchManager.spec.js +189 -0
- package/lib/test/opLifecycle/batchManager.spec.js.map +1 -0
- package/lib/test/opLifecycle/opCompressor.spec.js +74 -0
- package/lib/test/opLifecycle/opCompressor.spec.js.map +1 -0
- package/lib/test/opLifecycle/opDecompressor.spec.js +218 -0
- package/lib/test/opLifecycle/opDecompressor.spec.js.map +1 -0
- package/lib/test/opLifecycle/opSplitter.spec.js +272 -0
- package/lib/test/opLifecycle/opSplitter.spec.js.map +1 -0
- package/lib/test/opLifecycle/outbox.spec.js +675 -0
- package/lib/test/opLifecycle/outbox.spec.js.map +1 -0
- package/lib/test/opLifecycle/remoteMessageProcessor.spec.js +196 -0
- package/lib/test/opLifecycle/remoteMessageProcessor.spec.js.map +1 -0
- package/lib/test/pendingStateManager.spec.js +329 -0
- package/lib/test/pendingStateManager.spec.js.map +1 -0
- package/lib/test/scheduleManager.spec.js +270 -0
- package/lib/test/scheduleManager.spec.js.map +1 -0
- package/lib/test/summarizerNode.spec.js +326 -0
- package/lib/test/summarizerNode.spec.js.map +1 -0
- package/lib/test/summarizerNodeWithGc.spec.js +318 -0
- package/lib/test/summarizerNodeWithGc.spec.js.map +1 -0
- package/lib/test/summary/orderedClientElection.spec.js +535 -0
- package/lib/test/summary/orderedClientElection.spec.js.map +1 -0
- package/lib/test/summary/runningSummarizer.spec.js +1349 -0
- package/lib/test/summary/runningSummarizer.spec.js.map +1 -0
- package/lib/test/summary/summarizer.spec.js +29 -0
- package/lib/test/summary/summarizer.spec.js.map +1 -0
- package/lib/test/summary/summarizerClientElection.spec.js +436 -0
- package/lib/test/summary/summarizerClientElection.spec.js.map +1 -0
- package/lib/test/summary/summarizerHeuristics.spec.js +289 -0
- package/lib/test/summary/summarizerHeuristics.spec.js.map +1 -0
- package/lib/test/summary/summaryCollection.spec.js +200 -0
- package/lib/test/summary/summaryCollection.spec.js.map +1 -0
- package/lib/test/summary/summaryManager.spec.js +430 -0
- package/lib/test/summary/summaryManager.spec.js.map +1 -0
- package/lib/test/summary/testQuorumClients.js +34 -0
- package/lib/test/summary/testQuorumClients.js.map +1 -0
- package/lib/test/throttler.spec.js +175 -0
- package/lib/test/throttler.spec.js.map +1 -0
- package/lib/test/types/validateContainerRuntimePrevious.generated.js +180 -0
- package/lib/test/types/validateContainerRuntimePrevious.generated.js.map +1 -0
- package/lib/{throttler.d.mts → throttler.d.ts} +1 -1
- package/lib/throttler.d.ts.map +1 -0
- package/lib/{throttler.mjs → throttler.js} +1 -1
- package/lib/throttler.js.map +1 -0
- package/package.json +106 -87
- package/src/batchTracker.ts +1 -1
- package/src/blobManager.ts +1 -15
- package/src/{dataStores.ts → channelCollection.ts} +622 -170
- package/src/connectionTelemetry.ts +42 -3
- package/src/containerHandleContext.ts +1 -1
- package/src/containerRuntime.ts +683 -483
- package/src/dataStore.ts +16 -15
- package/src/dataStoreContext.ts +378 -216
- package/src/dataStoreContexts.ts +2 -1
- package/src/deltaManagerSummarizerProxy.ts +132 -7
- package/src/gc/garbageCollection.ts +167 -71
- package/src/gc/gcConfigs.ts +17 -7
- package/src/gc/gcDefinitions.ts +42 -16
- package/src/gc/gcHelpers.ts +2 -2
- package/src/gc/gcReferenceGraphAlgorithm.ts +1 -1
- package/src/gc/gcSummaryStateTracker.ts +19 -7
- package/src/gc/gcTelemetry.ts +10 -9
- package/src/gc/gcUnreferencedStateTracker.ts +12 -1
- package/src/gc/index.ts +11 -9
- package/src/index.ts +29 -26
- package/src/messageTypes.ts +4 -4
- package/src/opLifecycle/README.md +2 -4
- package/src/opLifecycle/batchManager.ts +2 -2
- package/src/opLifecycle/definitions.ts +2 -2
- package/src/opLifecycle/index.ts +8 -8
- package/src/opLifecycle/opCompressor.ts +3 -3
- package/src/opLifecycle/opDecompressor.ts +3 -3
- package/src/opLifecycle/opGroupingManager.ts +3 -12
- package/src/opLifecycle/opSplitter.ts +3 -3
- package/src/opLifecycle/outbox.ts +29 -9
- package/src/opLifecycle/remoteMessageProcessor.ts +4 -4
- package/src/packageVersion.ts +1 -1
- package/src/pendingStateManager.ts +19 -13
- package/src/scheduleManager.ts +4 -4
- package/src/summary/index.ts +13 -12
- package/src/summary/orderedClientElection.ts +1 -1
- package/src/summary/runWhileConnectedCoordinator.ts +1 -1
- package/src/summary/runningSummarizer.ts +141 -93
- package/src/summary/summarizer.ts +7 -7
- package/src/summary/summarizerClientElection.ts +2 -2
- package/src/summary/summarizerHeuristics.ts +3 -3
- package/src/summary/summarizerNode/index.ts +6 -3
- package/src/summary/summarizerNode/summarizerNode.ts +54 -69
- package/src/summary/summarizerNode/summarizerNodeUtils.ts +16 -34
- package/src/summary/summarizerNode/summarizerNodeWithGc.ts +11 -17
- package/src/summary/summarizerTypes.ts +12 -24
- package/src/summary/summaryFormat.ts +16 -2
- package/src/summary/summaryGenerator.ts +16 -4
- package/src/summary/summaryManager.ts +6 -7
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +2 -5
- package/dist/dataStores.d.ts +0 -149
- package/dist/dataStores.d.ts.map +0 -1
- package/dist/dataStores.js.map +0 -1
- package/dist/deltaManagerProxyBase.d.ts.map +0 -1
- package/dist/deltaManagerProxyBase.js +0 -77
- package/dist/deltaManagerProxyBase.js.map +0 -1
- package/lib/batchTracker.d.mts.map +0 -1
- package/lib/batchTracker.mjs.map +0 -1
- package/lib/blobManager.d.mts.map +0 -1
- package/lib/blobManager.mjs.map +0 -1
- package/lib/connectionTelemetry.d.mts.map +0 -1
- package/lib/connectionTelemetry.mjs.map +0 -1
- package/lib/containerHandleContext.d.mts.map +0 -1
- package/lib/containerHandleContext.mjs.map +0 -1
- package/lib/containerRuntime.d.mts.map +0 -1
- package/lib/containerRuntime.mjs.map +0 -1
- package/lib/dataStore.d.mts.map +0 -1
- package/lib/dataStore.mjs.map +0 -1
- package/lib/dataStoreContext.d.mts.map +0 -1
- package/lib/dataStoreContext.mjs.map +0 -1
- package/lib/dataStoreContexts.d.mts.map +0 -1
- package/lib/dataStoreContexts.mjs.map +0 -1
- package/lib/dataStoreRegistry.d.mts.map +0 -1
- package/lib/dataStoreRegistry.mjs.map +0 -1
- package/lib/dataStores.d.mts +0 -149
- package/lib/dataStores.d.mts.map +0 -1
- package/lib/dataStores.mjs.map +0 -1
- package/lib/deltaManagerProxyBase.d.mts +0 -35
- package/lib/deltaManagerProxyBase.d.mts.map +0 -1
- package/lib/deltaManagerProxyBase.mjs +0 -73
- package/lib/deltaManagerProxyBase.mjs.map +0 -1
- package/lib/deltaManagerSummarizerProxy.d.mts +0 -19
- package/lib/deltaManagerSummarizerProxy.d.mts.map +0 -1
- package/lib/deltaManagerSummarizerProxy.mjs +0 -38
- package/lib/deltaManagerSummarizerProxy.mjs.map +0 -1
- package/lib/deltaScheduler.d.mts.map +0 -1
- package/lib/deltaScheduler.mjs.map +0 -1
- package/lib/error.d.mts.map +0 -1
- package/lib/error.mjs.map +0 -1
- package/lib/gc/garbageCollection.d.mts.map +0 -1
- package/lib/gc/garbageCollection.mjs.map +0 -1
- package/lib/gc/gcConfigs.d.mts.map +0 -1
- package/lib/gc/gcConfigs.mjs.map +0 -1
- package/lib/gc/gcDefinitions.d.mts.map +0 -1
- package/lib/gc/gcDefinitions.mjs.map +0 -1
- package/lib/gc/gcHelpers.mjs.map +0 -1
- package/lib/gc/gcReferenceGraphAlgorithm.d.mts.map +0 -1
- package/lib/gc/gcReferenceGraphAlgorithm.mjs.map +0 -1
- package/lib/gc/gcSummaryDefinitions.d.mts.map +0 -1
- package/lib/gc/gcSummaryDefinitions.mjs.map +0 -1
- package/lib/gc/gcSummaryStateTracker.d.mts.map +0 -1
- package/lib/gc/gcSummaryStateTracker.mjs.map +0 -1
- package/lib/gc/gcTelemetry.d.mts.map +0 -1
- package/lib/gc/gcTelemetry.mjs.map +0 -1
- package/lib/gc/gcUnreferencedStateTracker.d.mts.map +0 -1
- package/lib/gc/gcUnreferencedStateTracker.mjs.map +0 -1
- package/lib/gc/index.d.mts +0 -13
- package/lib/gc/index.d.mts.map +0 -1
- package/lib/gc/index.mjs.map +0 -1
- package/lib/index.d.mts.map +0 -1
- package/lib/index.mjs +0 -24
- package/lib/index.mjs.map +0 -1
- package/lib/messageTypes.d.mts.map +0 -1
- package/lib/messageTypes.mjs.map +0 -1
- package/lib/metadata.d.mts.map +0 -1
- package/lib/metadata.mjs.map +0 -1
- package/lib/opLifecycle/batchManager.d.mts.map +0 -1
- package/lib/opLifecycle/batchManager.mjs.map +0 -1
- package/lib/opLifecycle/definitions.d.mts.map +0 -1
- package/lib/opLifecycle/definitions.mjs.map +0 -1
- package/lib/opLifecycle/index.d.mts +0 -13
- package/lib/opLifecycle/index.d.mts.map +0 -1
- package/lib/opLifecycle/index.mjs +0 -12
- package/lib/opLifecycle/index.mjs.map +0 -1
- package/lib/opLifecycle/opCompressor.d.mts.map +0 -1
- package/lib/opLifecycle/opCompressor.mjs.map +0 -1
- package/lib/opLifecycle/opDecompressor.d.mts.map +0 -1
- package/lib/opLifecycle/opDecompressor.mjs.map +0 -1
- package/lib/opLifecycle/opGroupingManager.d.mts.map +0 -1
- package/lib/opLifecycle/opGroupingManager.mjs.map +0 -1
- package/lib/opLifecycle/opSplitter.d.mts.map +0 -1
- package/lib/opLifecycle/opSplitter.mjs.map +0 -1
- package/lib/opLifecycle/outbox.d.mts.map +0 -1
- package/lib/opLifecycle/outbox.mjs.map +0 -1
- package/lib/opLifecycle/remoteMessageProcessor.d.mts.map +0 -1
- package/lib/opLifecycle/remoteMessageProcessor.mjs.map +0 -1
- package/lib/opProperties.d.mts.map +0 -1
- package/lib/opProperties.mjs.map +0 -1
- package/lib/packageVersion.d.mts.map +0 -1
- package/lib/packageVersion.mjs.map +0 -1
- package/lib/pendingStateManager.d.mts.map +0 -1
- package/lib/pendingStateManager.mjs.map +0 -1
- package/lib/scheduleManager.d.mts.map +0 -1
- package/lib/scheduleManager.mjs.map +0 -1
- package/lib/storageServiceWithAttachBlobs.d.mts.map +0 -1
- package/lib/storageServiceWithAttachBlobs.mjs.map +0 -1
- package/lib/summary/index.d.mts.map +0 -1
- package/lib/summary/index.mjs.map +0 -1
- package/lib/summary/orderedClientElection.d.mts.map +0 -1
- package/lib/summary/orderedClientElection.mjs.map +0 -1
- package/lib/summary/runWhileConnectedCoordinator.d.mts.map +0 -1
- package/lib/summary/runWhileConnectedCoordinator.mjs.map +0 -1
- package/lib/summary/runningSummarizer.d.mts.map +0 -1
- package/lib/summary/runningSummarizer.mjs.map +0 -1
- package/lib/summary/summarizer.d.mts.map +0 -1
- package/lib/summary/summarizer.mjs.map +0 -1
- package/lib/summary/summarizerClientElection.d.mts.map +0 -1
- package/lib/summary/summarizerClientElection.mjs.map +0 -1
- package/lib/summary/summarizerHeuristics.d.mts.map +0 -1
- package/lib/summary/summarizerHeuristics.mjs.map +0 -1
- package/lib/summary/summarizerNode/index.d.mts.map +0 -1
- package/lib/summary/summarizerNode/index.mjs +0 -7
- package/lib/summary/summarizerNode/index.mjs.map +0 -1
- package/lib/summary/summarizerNode/summarizerNode.d.mts.map +0 -1
- package/lib/summary/summarizerNode/summarizerNode.mjs.map +0 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.d.mts.map +0 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.mjs.map +0 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.d.mts.map +0 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.mjs.map +0 -1
- package/lib/summary/summarizerTypes.d.mts.map +0 -1
- package/lib/summary/summarizerTypes.mjs.map +0 -1
- package/lib/summary/summaryCollection.d.mts.map +0 -1
- package/lib/summary/summaryCollection.mjs.map +0 -1
- package/lib/summary/summaryFormat.d.mts.map +0 -1
- package/lib/summary/summaryFormat.mjs.map +0 -1
- package/lib/summary/summaryGenerator.d.mts.map +0 -1
- package/lib/summary/summaryGenerator.mjs.map +0 -1
- package/lib/summary/summaryManager.d.mts.map +0 -1
- package/lib/summary/summaryManager.mjs.map +0 -1
- package/lib/throttler.d.mts.map +0 -1
- package/lib/throttler.mjs.map +0 -1
- package/src/deltaManagerProxyBase.ts +0 -111
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AliasResult } from '@fluidframework/runtime-definitions';
|
|
2
2
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
3
3
|
import { ContainerWarning } from '@fluidframework/container-definitions';
|
|
4
|
+
import { CreateChildSummarizerNodeFn } from '@fluidframework/runtime-definitions';
|
|
5
|
+
import { CreateChildSummarizerNodeParam } from '@fluidframework/runtime-definitions';
|
|
4
6
|
import { FluidDataStoreRegistryEntry } from '@fluidframework/runtime-definitions';
|
|
5
7
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
8
|
import { FlushMode } from '@fluidframework/runtime-definitions';
|
|
7
|
-
import { generateStableId } from '@fluidframework/id-compressor';
|
|
8
9
|
import { IAudience } from '@fluidframework/container-definitions';
|
|
9
10
|
import { IClientDetails } from '@fluidframework/protocol-definitions';
|
|
10
11
|
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
12
|
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
13
|
+
import { IContainerRuntimeBase } from '@fluidframework/runtime-definitions';
|
|
12
14
|
import { IContainerRuntimeEvents } from '@fluidframework/container-runtime-definitions';
|
|
13
15
|
import { ICriticalContainerError } from '@fluidframework/container-definitions';
|
|
14
16
|
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
@@ -16,17 +18,24 @@ import { IDeltaManager } from '@fluidframework/container-definitions';
|
|
|
16
18
|
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
17
19
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
18
20
|
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
21
|
+
import { IEnvelope } from '@fluidframework/runtime-definitions';
|
|
19
22
|
import { IEvent } from '@fluidframework/core-interfaces';
|
|
23
|
+
import { IEvent as IEvent_2 } from '@fluidframework/common-definitions';
|
|
20
24
|
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
25
|
+
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
26
|
+
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
21
27
|
import { IFluidDataStoreContextDetached } from '@fluidframework/runtime-definitions';
|
|
28
|
+
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
22
29
|
import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
23
30
|
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
24
31
|
import { IFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
32
|
+
import { IFluidParentContext } from '@fluidframework/runtime-definitions';
|
|
25
33
|
import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
|
|
34
|
+
import { IGarbageCollectionDetailsBase } from '@fluidframework/runtime-definitions';
|
|
26
35
|
import { IGetPendingLocalStateProps } from '@fluidframework/container-definitions';
|
|
27
36
|
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
28
37
|
import type { IIdCompressorCore } from '@fluidframework/id-compressor';
|
|
29
|
-
import {
|
|
38
|
+
import { IInboundSignalMessage } from '@fluidframework/runtime-definitions';
|
|
30
39
|
import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
31
40
|
import { IQuorumClients } from '@fluidframework/protocol-definitions';
|
|
32
41
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
@@ -34,17 +43,22 @@ import { IResponse } from '@fluidframework/core-interfaces';
|
|
|
34
43
|
import { IRuntime } from '@fluidframework/container-definitions';
|
|
35
44
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
36
45
|
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
37
|
-
import {
|
|
46
|
+
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
47
|
+
import { ISummarizeResult } from '@fluidframework/runtime-definitions';
|
|
48
|
+
import { ISummarizerNodeWithGC } from '@fluidframework/runtime-definitions';
|
|
38
49
|
import { ISummaryAck } from '@fluidframework/protocol-definitions';
|
|
39
50
|
import { ISummaryContent } from '@fluidframework/protocol-definitions';
|
|
40
51
|
import { ISummaryNack } from '@fluidframework/protocol-definitions';
|
|
41
52
|
import { ISummaryStats } from '@fluidframework/runtime-definitions';
|
|
42
53
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
54
|
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
|
|
55
|
+
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
44
56
|
import { ITelemetryContext } from '@fluidframework/runtime-definitions';
|
|
45
57
|
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
46
58
|
import { MessageType } from '@fluidframework/protocol-definitions';
|
|
59
|
+
import { MonitoringContext } from '@fluidframework/telemetry-utils';
|
|
47
60
|
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
|
|
61
|
+
import { SummarizeInternalFn } from '@fluidframework/runtime-definitions';
|
|
48
62
|
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
49
63
|
|
|
50
64
|
/* Excluded from this release type: agentSchedulerId */
|
|
@@ -56,7 +70,9 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
|
56
70
|
*/
|
|
57
71
|
export declare const AllowTombstoneRequestHeaderKey = "allowTombstone";
|
|
58
72
|
|
|
59
|
-
/* Excluded from this release type:
|
|
73
|
+
/* Excluded from this release type: ChannelCollection */
|
|
74
|
+
|
|
75
|
+
/* Excluded from this release type: ChannelCollectionFactory */
|
|
60
76
|
|
|
61
77
|
/* Excluded from this release type: CompatModeBehavior */
|
|
62
78
|
|
|
@@ -98,10 +114,13 @@ export declare enum ContainerMessageType {
|
|
|
98
114
|
*/
|
|
99
115
|
export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents & ISummarizerEvents> implements IContainerRuntime, IRuntime, ISummarizerRuntime, ISummarizerInternalsProvider, IProvideFluidHandleContext {
|
|
100
116
|
private readonly registry;
|
|
117
|
+
private readonly metadata;
|
|
101
118
|
private readonly runtimeOptions;
|
|
102
119
|
private readonly containerScope;
|
|
103
120
|
readonly logger: ITelemetryLoggerExt;
|
|
104
121
|
private readonly _storage;
|
|
122
|
+
private readonly createIdCompressor;
|
|
123
|
+
private readonly idCompressorMode;
|
|
105
124
|
private readonly requestHandler?;
|
|
106
125
|
private readonly summaryConfiguration;
|
|
107
126
|
/**
|
|
@@ -130,12 +149,13 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
130
149
|
requestHandler?: (request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>;
|
|
131
150
|
provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>;
|
|
132
151
|
}): Promise<ContainerRuntime>;
|
|
133
|
-
readonly options:
|
|
152
|
+
readonly options: Record<string | number, any>;
|
|
134
153
|
private imminentClosure;
|
|
135
154
|
private readonly _getClientId;
|
|
136
155
|
get clientId(): string | undefined;
|
|
137
156
|
readonly clientDetails: IClientDetails;
|
|
138
157
|
get storage(): IDocumentStorageService;
|
|
158
|
+
get containerRuntime(): this;
|
|
139
159
|
private readonly submitFn;
|
|
140
160
|
/**
|
|
141
161
|
* Although current IContainerContext guarantees submitBatchFn, it is not available on older loaders.
|
|
@@ -150,7 +170,26 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
150
170
|
get IFluidDataStoreRegistry(): IFluidDataStoreRegistry;
|
|
151
171
|
private readonly _getAttachState;
|
|
152
172
|
get attachState(): AttachState;
|
|
153
|
-
|
|
173
|
+
private _idCompressor;
|
|
174
|
+
private pendingIdCompressorOps;
|
|
175
|
+
private readonly skipSavedCompressorOps;
|
|
176
|
+
/**
|
|
177
|
+
* See IContainerRuntimeBase.idCompressor() for details.
|
|
178
|
+
*/
|
|
179
|
+
get idCompressor(): (IIdCompressor & IIdCompressorCore) | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* True if we have ID compressor loading in-flight (async operation). Useful only for
|
|
182
|
+
* this.idCompressorMode === "delayed" mode
|
|
183
|
+
*/
|
|
184
|
+
protected compressorLoadInitiated: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* See IContainerRuntimeBase.generateDocumentUniqueId() for details.
|
|
187
|
+
*/
|
|
188
|
+
generateDocumentUniqueId(): string | (number & {
|
|
189
|
+
readonly SessionUnique: "cea55054-6b82-4cbf-ad19-1fa645ea3b3e";
|
|
190
|
+
} & {
|
|
191
|
+
readonly OpNormalized: "9209432d-a959-4df7-b2ad-767ead4dbcae";
|
|
192
|
+
});
|
|
154
193
|
get IFluidHandleContext(): IFluidHandleContext;
|
|
155
194
|
private readonly handleContext;
|
|
156
195
|
/**
|
|
@@ -233,15 +272,13 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
233
272
|
private readonly pendingStateManager;
|
|
234
273
|
private readonly outbox;
|
|
235
274
|
private readonly garbageCollector;
|
|
236
|
-
private readonly
|
|
275
|
+
private readonly channelCollection;
|
|
237
276
|
private readonly remoteMessageProcessor;
|
|
238
277
|
/** The last message processed at the time of the last summary. */
|
|
239
278
|
private messageAtLastSummary;
|
|
240
279
|
private get summarizer();
|
|
241
280
|
private readonly summariesDisabled;
|
|
242
281
|
private isSummariesDisabled;
|
|
243
|
-
private readonly heuristicsDisabled;
|
|
244
|
-
private isHeuristicsDisabled;
|
|
245
282
|
private readonly maxOpsSinceLastSummary;
|
|
246
283
|
private getMaxOpsSinceLastSummary;
|
|
247
284
|
private readonly initialSummarizerDelayMs;
|
|
@@ -261,10 +298,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
261
298
|
* ! Note: should not be used for anything other than telemetry and is not considered a stable GUID
|
|
262
299
|
*/
|
|
263
300
|
private readonly telemetryDocumentId;
|
|
264
|
-
/**
|
|
265
|
-
* If true, the runtime has access to an IdCompressor
|
|
266
|
-
*/
|
|
267
|
-
private readonly idCompressorEnabled;
|
|
268
301
|
/**
|
|
269
302
|
* Whether this client is the summarizer client itself (type is summarizerClientType)
|
|
270
303
|
*/
|
|
@@ -273,13 +306,41 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
273
306
|
* The id of the version used to initially load this runtime, or undefined if it's newly created.
|
|
274
307
|
*/
|
|
275
308
|
private readonly loadedFromVersionId;
|
|
309
|
+
/**
|
|
310
|
+
* It a cache for holding mapping for loading groupIds with its snapshot from the service. Add expiry policy of 1 minute.
|
|
311
|
+
* Starting with 1 min and based on recorded usage we can tweak it later on.
|
|
312
|
+
*/
|
|
313
|
+
private readonly snapshotCacheForLoadingGroupIds;
|
|
276
314
|
/***/
|
|
277
|
-
protected constructor(context: IContainerContext, registry: IFluidDataStoreRegistry, metadata: IContainerRuntimeMetadata | undefined, electedSummarizerData: ISerializedElection | undefined, chunks: [string, string[]][], dataStoreAliasMap: [string, string][], runtimeOptions: Readonly<Required<IContainerRuntimeOptions>>, containerScope: FluidObject, logger: ITelemetryLoggerExt, existing: boolean, blobManagerSnapshot: IBlobManagerLoadInfo, _storage: IDocumentStorageService,
|
|
315
|
+
protected constructor(context: IContainerContext, registry: IFluidDataStoreRegistry, metadata: IContainerRuntimeMetadata | undefined, electedSummarizerData: ISerializedElection | undefined, chunks: [string, string[]][], dataStoreAliasMap: [string, string][], runtimeOptions: Readonly<Required<IContainerRuntimeOptions>>, containerScope: FluidObject, logger: ITelemetryLoggerExt, existing: boolean, blobManagerSnapshot: IBlobManagerLoadInfo, _storage: IDocumentStorageService, createIdCompressor: () => Promise<IIdCompressor & IIdCompressorCore>, idCompressorMode: IdCompressorMode, provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>, requestHandler?: ((request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>) | undefined, summaryConfiguration?: ISummaryConfiguration);
|
|
316
|
+
getCreateChildSummarizerNodeFn(id: string, createParam: CreateChildSummarizerNodeParam): (summarizeInternal: SummarizeInternalFn, getGCDataFn: (fullGC?: boolean) => Promise<IGarbageCollectionData>) => ISummarizerNodeWithGC;
|
|
317
|
+
deleteChildSummarizerNode(id: string): void;
|
|
318
|
+
makeLocallyVisible(): void;
|
|
319
|
+
setChannelDirty(address: string): void;
|
|
278
320
|
/**
|
|
279
321
|
* Initializes the state from the base snapshot this container runtime loaded from.
|
|
280
322
|
*/
|
|
281
323
|
private initializeBaseState;
|
|
282
324
|
dispose(error?: Error): void;
|
|
325
|
+
/**
|
|
326
|
+
* Api to fetch the snapshot from the service for a loadingGroupIds.
|
|
327
|
+
* @param loadingGroupIds - LoadingGroupId for which the snapshot is asked for.
|
|
328
|
+
* @param pathParts - Parts of the path, which we want to extract from the snapshot tree.
|
|
329
|
+
* @returns - snapshotTree and the sequence number of the snapshot.
|
|
330
|
+
*/
|
|
331
|
+
getSnapshotForLoadingGroupId(loadingGroupIds: string[], pathParts: string[]): Promise<{
|
|
332
|
+
snapshotTree: ISnapshotTree;
|
|
333
|
+
sequenceNumber: number;
|
|
334
|
+
}>;
|
|
335
|
+
/**
|
|
336
|
+
* Api to find a snapshot tree inside a bigger snapshot tree based on the path in the pathParts array.
|
|
337
|
+
* @param snapshotTree - snapshot tree to look into.
|
|
338
|
+
* @param pathParts - Part of the path, which we want to extract from the snapshot tree.
|
|
339
|
+
* @param hasIsolatedChannels - whether the channels are present inside ".channels" subtree. Older
|
|
340
|
+
* snapshots will not have trees inside ".channels", so check that.
|
|
341
|
+
* @returns - requested snapshot tree based on the path parts.
|
|
342
|
+
*/
|
|
343
|
+
private getSnapshotTreeForPath;
|
|
283
344
|
/**
|
|
284
345
|
* Notifies this object about the request made to the container.
|
|
285
346
|
* @param request - Request made to the handler.
|
|
@@ -297,7 +358,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
297
358
|
getEntryPoint(): Promise<FluidObject>;
|
|
298
359
|
private readonly entryPoint;
|
|
299
360
|
private internalId;
|
|
300
|
-
private getDataStoreFromRequest;
|
|
301
361
|
/** Adds the container's metadata to the given summary tree. */
|
|
302
362
|
private addMetadataToSummary;
|
|
303
363
|
protected addContainerStateToSummary(summaryTree: ISummaryTreeWithStats, fullTree: boolean, trackState: boolean, telemetryContext?: ITelemetryContext): void;
|
|
@@ -336,6 +396,9 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
336
396
|
* This method is expected to be called at the end of a batch.
|
|
337
397
|
*/
|
|
338
398
|
private flush;
|
|
399
|
+
/**
|
|
400
|
+
* {@inheritDoc @fluidframework/runtime-definitions#IContainerRuntimeBase.orderSequentially}
|
|
401
|
+
*/
|
|
339
402
|
orderSequentially<T>(callback: () => T): T;
|
|
340
403
|
/**
|
|
341
404
|
* Returns the aliased data store's entryPoint, given the alias.
|
|
@@ -344,13 +407,12 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
344
407
|
* Returns undefined if no data store has been assigned the given alias.
|
|
345
408
|
*/
|
|
346
409
|
getAliasedDataStoreEntryPoint(alias: string): Promise<IFluidHandle<FluidObject> | undefined>;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
createDataStore(pkg: string | string[]): Promise<IDataStore>;
|
|
410
|
+
createDetachedDataStore(pkg: Readonly<string[]>, loadingGroupId?: string): IFluidDataStoreContextDetached;
|
|
411
|
+
createDataStore(pkg: Readonly<string | string[]>, loadingGroupId?: string): Promise<IDataStore>;
|
|
350
412
|
/**
|
|
351
413
|
* @deprecated 0.16 Issue #1537, #3631
|
|
352
414
|
*/
|
|
353
|
-
_createDataStoreWithProps(pkg: string | string[]
|
|
415
|
+
_createDataStoreWithProps(pkg: Readonly<string | string[]>, props?: any): Promise<IDataStore>;
|
|
354
416
|
private canSendOps;
|
|
355
417
|
/**
|
|
356
418
|
* Are we in the middle of batching ops together?
|
|
@@ -374,13 +436,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
374
436
|
* @param targetClientId - When specified, the signal is only sent to the provided client id.
|
|
375
437
|
*/
|
|
376
438
|
submitSignal(type: string, content: any, targetClientId?: string): void;
|
|
377
|
-
/**
|
|
378
|
-
* Submits the signal to be sent to other clients.
|
|
379
|
-
* @param type - Type of the signal.
|
|
380
|
-
* @param content - Content of the signal.
|
|
381
|
-
* @param targetClientId - When specified, the signal is only sent to the provided client id.
|
|
382
|
-
*/
|
|
383
|
-
submitDataStoreSignal(address: string, type: string, content: any, targetClientId?: string): void;
|
|
384
439
|
setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
385
440
|
/**
|
|
386
441
|
* Create a summary. Used when attaching or serializing a detached container.
|
|
@@ -430,15 +485,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
430
485
|
* @see IGarbageCollectionRuntime.updateUsedRoutes
|
|
431
486
|
*/
|
|
432
487
|
updateUsedRoutes(usedRoutes: readonly string[]): void;
|
|
433
|
-
/**
|
|
434
|
-
* This is called to update objects whose routes are unused.
|
|
435
|
-
* @param unusedRoutes - Data store and attachment blob routes that are unused in this Container.
|
|
436
|
-
*/
|
|
437
|
-
updateUnusedRoutes(unusedRoutes: readonly string[]): void;
|
|
438
|
-
/**
|
|
439
|
-
* @deprecated Replaced by deleteSweepReadyNodes.
|
|
440
|
-
*/
|
|
441
|
-
deleteUnusedNodes(unusedRoutes: readonly string[]): string[];
|
|
442
488
|
/**
|
|
443
489
|
* After GC has run and identified nodes that are sweep ready, this is called to delete the sweep ready nodes.
|
|
444
490
|
* @param sweepReadyRoutes - The routes of nodes that are sweep ready and should be deleted.
|
|
@@ -497,7 +543,11 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
497
543
|
* @param srcHandle - The handle of the node that added the reference.
|
|
498
544
|
* @param outboundHandle - The handle of the outbound node that is referenced.
|
|
499
545
|
*/
|
|
500
|
-
addedGCOutboundReference(srcHandle:
|
|
546
|
+
addedGCOutboundReference(srcHandle: {
|
|
547
|
+
absolutePath: string;
|
|
548
|
+
}, outboundHandle: {
|
|
549
|
+
absolutePath: string;
|
|
550
|
+
}): void;
|
|
501
551
|
/**
|
|
502
552
|
* Generates the summary tree, uploads it to storage, and then submits the summarize op.
|
|
503
553
|
* This is intended to be called by the summarizer, since it is the implementation of
|
|
@@ -521,10 +571,9 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
521
571
|
private get pendingMessagesCount();
|
|
522
572
|
private hasPendingMessages;
|
|
523
573
|
private updateDocumentDirtyState;
|
|
524
|
-
|
|
525
|
-
submitDataStoreAliasOp(contents: any, localOpMetadata: unknown): void;
|
|
574
|
+
submitMessage(type: ContainerMessageType.FluidDataStoreOp | ContainerMessageType.Alias | ContainerMessageType.Attach, contents: any, localOpMetadata?: unknown): void;
|
|
526
575
|
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandle<ArrayBufferLike>>;
|
|
527
|
-
private
|
|
576
|
+
private submitIdAllocationOpIfNeeded;
|
|
528
577
|
private submit;
|
|
529
578
|
private scheduleFlush;
|
|
530
579
|
private submitSummaryMessage;
|
|
@@ -561,7 +610,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
561
610
|
* overridden via options.
|
|
562
611
|
*/
|
|
563
612
|
private fetchLatestSnapshotFromStorage;
|
|
564
|
-
getPendingLocalState(props?: IGetPendingLocalStateProps):
|
|
613
|
+
getPendingLocalState(props?: IGetPendingLocalStateProps): unknown;
|
|
565
614
|
summarizeOnDemand(options: IOnDemandSummarizeOptions): ISummarizeResults;
|
|
566
615
|
enqueueSummarize(options: IEnqueueSummarizeOptions): EnqueueSummarizeResult;
|
|
567
616
|
/**
|
|
@@ -574,11 +623,15 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
574
623
|
|
|
575
624
|
/* Excluded from this release type: ContainerRuntimeMessage */
|
|
576
625
|
|
|
626
|
+
/* Excluded from this release type: DataStoreContexts */
|
|
627
|
+
|
|
577
628
|
/**
|
|
578
629
|
* @alpha
|
|
579
630
|
*/
|
|
580
631
|
export declare const DefaultSummaryConfiguration: ISummaryConfiguration;
|
|
581
632
|
|
|
633
|
+
/* Excluded from this release type: detectOutboundReferences */
|
|
634
|
+
|
|
582
635
|
/**
|
|
583
636
|
* @alpha
|
|
584
637
|
*/
|
|
@@ -606,6 +659,8 @@ export declare type EnqueueSummarizeResult = (ISummarizeResults & {
|
|
|
606
659
|
readonly overridden?: undefined;
|
|
607
660
|
};
|
|
608
661
|
|
|
662
|
+
/* Excluded from this release type: FluidDataStoreContext */
|
|
663
|
+
|
|
609
664
|
/* Excluded from this release type: FluidDataStoreRegistry */
|
|
610
665
|
|
|
611
666
|
/**
|
|
@@ -650,8 +705,6 @@ export declare type GCNodeType = (typeof GCNodeType)[keyof typeof GCNodeType];
|
|
|
650
705
|
*/
|
|
651
706
|
export declare type GCVersion = number;
|
|
652
707
|
|
|
653
|
-
/* Excluded from this release type: generateStableId */
|
|
654
|
-
|
|
655
708
|
/**
|
|
656
709
|
* A single summary which has already been acked by the server.
|
|
657
710
|
* @alpha
|
|
@@ -776,7 +829,7 @@ export declare interface IContainerRuntimeMetadata extends ICreateContainerMetad
|
|
|
776
829
|
/** GUID to identify a document in telemetry */
|
|
777
830
|
readonly telemetryDocumentId?: string;
|
|
778
831
|
/** True if the runtime IdCompressor is enabled */
|
|
779
|
-
readonly
|
|
832
|
+
readonly idCompressorMode?: IdCompressorMode;
|
|
780
833
|
}
|
|
781
834
|
|
|
782
835
|
/**
|
|
@@ -835,7 +888,7 @@ export declare interface IContainerRuntimeOptions {
|
|
|
835
888
|
* Enable the IdCompressor in the runtime.
|
|
836
889
|
* @experimental Not ready for use.
|
|
837
890
|
*/
|
|
838
|
-
readonly enableRuntimeIdCompressor?:
|
|
891
|
+
readonly enableRuntimeIdCompressor?: IdCompressorMode;
|
|
839
892
|
/**
|
|
840
893
|
* If enabled, the runtime will block all attempts to send an op inside the
|
|
841
894
|
* {@link ContainerRuntime#ensureNoDataModelChanges} callback. The callback is used by
|
|
@@ -869,6 +922,20 @@ export declare interface ICreateContainerMetadata {
|
|
|
869
922
|
createContainerTimestamp?: number;
|
|
870
923
|
}
|
|
871
924
|
|
|
925
|
+
/**
|
|
926
|
+
* ID Compressor mode.
|
|
927
|
+
* "on" - compressor is On. It's loaded as part of container load. This mode is sticky - once on, compressor is On for all
|
|
928
|
+
* sessions for a given document. This results in IContainerRuntime.idCompressor to be always available.
|
|
929
|
+
* "delayed" - ID compressor bundle is loaded only on establishing of first delta connection, i.e. it does not impact boot of cotnainer.
|
|
930
|
+
* In such mode IContainerRuntime.idCompressor is not made available (unless previous sessions of same document had it "On").
|
|
931
|
+
* The only thing that is available is IContainerRuntime.generateDocumentUniqueId() that provides opportunistically short IDs.
|
|
932
|
+
* "off" - ID compressor is not laoded (unless it is "on" due to previous session for same document having it "on").
|
|
933
|
+
* While IContainerRuntime.generateDocumentUniqueId() is available, it will produce long IDs that are do not compress well.
|
|
934
|
+
*
|
|
935
|
+
* @alpha
|
|
936
|
+
*/
|
|
937
|
+
export declare type IdCompressorMode = "on" | "delayed" | "off";
|
|
938
|
+
|
|
872
939
|
/**
|
|
873
940
|
* Options to use when enqueueing a summarize attempt.
|
|
874
941
|
* @alpha
|
|
@@ -885,6 +952,12 @@ export declare interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOpti
|
|
|
885
952
|
readonly override?: boolean;
|
|
886
953
|
}
|
|
887
954
|
|
|
955
|
+
/* Excluded from this release type: IFluidDataStoreContextEvents */
|
|
956
|
+
|
|
957
|
+
/* Excluded from this release type: IFluidDataStoreContextInternal */
|
|
958
|
+
|
|
959
|
+
/* Excluded from this release type: IFluidDataStoreContextProps */
|
|
960
|
+
|
|
888
961
|
/**
|
|
889
962
|
* GC-specific metadata to be written into the summary.
|
|
890
963
|
*
|
|
@@ -1028,6 +1101,10 @@ export declare interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeR
|
|
|
1028
1101
|
readonly forcedFullTree: boolean;
|
|
1029
1102
|
}
|
|
1030
1103
|
|
|
1104
|
+
/* Excluded from this release type: ILocalDetachedFluidDataStoreContextProps */
|
|
1105
|
+
|
|
1106
|
+
/* Excluded from this release type: ILocalFluidDataStoreContextProps */
|
|
1107
|
+
|
|
1031
1108
|
/**
|
|
1032
1109
|
* The statistics of the system state after a garbage collection mark phase run.
|
|
1033
1110
|
* @alpha
|
|
@@ -1120,9 +1197,9 @@ export declare interface ISerializedElection {
|
|
|
1120
1197
|
readonly electedParentId: string | undefined;
|
|
1121
1198
|
}
|
|
1122
1199
|
|
|
1123
|
-
/* Excluded from this release type:
|
|
1200
|
+
/* Excluded from this release type: ISnapshotDetails */
|
|
1124
1201
|
|
|
1125
|
-
/* Excluded from this release type:
|
|
1202
|
+
/* Excluded from this release type: isRuntimeMessage */
|
|
1126
1203
|
|
|
1127
1204
|
/**
|
|
1128
1205
|
* Results of submitSummary after submitting the summarize op.
|
|
@@ -1146,6 +1223,8 @@ export declare interface ISubmitSummaryOptions extends ISummarizeOptions {
|
|
|
1146
1223
|
readonly cancellationToken: ISummaryCancellationToken;
|
|
1147
1224
|
/** Summarization may be attempted multiple times. This tells whether this is the final summarization attempt. */
|
|
1148
1225
|
readonly finalAttempt?: boolean;
|
|
1226
|
+
/** The sequence number of the latest summary used to validate if summary state is correct before summarizing */
|
|
1227
|
+
readonly latestSummaryRefSeqNum: number;
|
|
1149
1228
|
}
|
|
1150
1229
|
|
|
1151
1230
|
/**
|
|
@@ -1184,7 +1263,7 @@ export declare interface ISummarizer extends IEventProvider<ISummarizerEvents> {
|
|
|
1184
1263
|
readonly ISummarizer?: ISummarizer;
|
|
1185
1264
|
stop(reason: SummarizerStopReason): void;
|
|
1186
1265
|
close(): void;
|
|
1187
|
-
run(onBehalfOf: string
|
|
1266
|
+
run(onBehalfOf: string): Promise<SummarizerStopReason>;
|
|
1188
1267
|
/**
|
|
1189
1268
|
* Attempts to generate a summary on demand. If already running, takes no action.
|
|
1190
1269
|
* @param options - options controlling the summarize attempt
|
|
@@ -1461,6 +1540,12 @@ export declare interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeR
|
|
|
1461
1540
|
readonly uploadDuration: number;
|
|
1462
1541
|
}
|
|
1463
1542
|
|
|
1543
|
+
/* Excluded from this release type: LocalFluidDataStoreContext */
|
|
1544
|
+
|
|
1545
|
+
/* Excluded from this release type: LocalFluidDataStoreContextBase */
|
|
1546
|
+
|
|
1547
|
+
/* Excluded from this release type: MonitoringContext */
|
|
1548
|
+
|
|
1464
1549
|
/* Excluded from this release type: neverCancelledSummaryToken */
|
|
1465
1550
|
|
|
1466
1551
|
/**
|
|
@@ -1475,6 +1560,8 @@ export declare type OpActionEventName = MessageType.Summarize | MessageType.Summ
|
|
|
1475
1560
|
|
|
1476
1561
|
/* Excluded from this release type: RecentlyAddedContainerRuntimeMessageDetails */
|
|
1477
1562
|
|
|
1563
|
+
/* Excluded from this release type: RuntimeHeaderData */
|
|
1564
|
+
|
|
1478
1565
|
/* Excluded from this release type: RuntimeHeaders */
|
|
1479
1566
|
|
|
1480
1567
|
/* Excluded from this release type: RuntimeMessage */
|
|
@@ -1596,7 +1683,7 @@ export declare type SummarizeResultPart<TSuccess, TFailure = undefined> = {
|
|
|
1596
1683
|
* @alpha
|
|
1597
1684
|
*/
|
|
1598
1685
|
export declare type SummarizerStopReason =
|
|
1599
|
-
/** Summarizer client failed to summarize in all
|
|
1686
|
+
/** Summarizer client failed to summarize in all attempts. */
|
|
1600
1687
|
"failToSummarize"
|
|
1601
1688
|
/** Parent client reported that it is no longer connected. */
|
|
1602
1689
|
| "parentNotConnected"
|
|
@@ -1687,6 +1774,8 @@ export declare type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
|
|
|
1687
1774
|
*/
|
|
1688
1775
|
export declare const TombstoneResponseHeaderKey = "isTombstoned";
|
|
1689
1776
|
|
|
1777
|
+
/* Excluded from this release type: UnknownContainerRuntimeMessage */
|
|
1778
|
+
|
|
1690
1779
|
/* Excluded from this release type: unpackRuntimeMessage */
|
|
1691
1780
|
|
|
1692
1781
|
export { }
|