@fluidframework/container-runtime 2.0.0-dev.7.4.0.217212 → 2.0.0-dev.7.4.0.221926
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/api-extractor.json +0 -3
- package/api-report/container-runtime.api.md +77 -73
- package/dist/blobManager.d.ts +4 -4
- package/dist/blobManager.d.ts.map +1 -1
- package/dist/blobManager.js.map +1 -1
- package/dist/container-runtime-alpha.d.ts +1361 -132
- package/dist/container-runtime-beta.d.ts +40 -2
- package/dist/container-runtime-public.d.ts +40 -2
- package/dist/container-runtime-untrimmed.d.ts +106 -93
- package/dist/containerRuntime.d.ts +19 -17
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +44 -24
- package/dist/containerRuntime.js.map +1 -1
- package/dist/dataStores.d.ts +10 -15
- package/dist/dataStores.d.ts.map +1 -1
- package/dist/dataStores.js +63 -36
- package/dist/dataStores.js.map +1 -1
- package/dist/gc/garbageCollection.d.ts +29 -10
- package/dist/gc/garbageCollection.d.ts.map +1 -1
- package/dist/gc/garbageCollection.js +149 -67
- package/dist/gc/garbageCollection.js.map +1 -1
- package/dist/gc/gcConfigs.d.ts.map +1 -1
- package/dist/gc/gcConfigs.js +34 -37
- package/dist/gc/gcConfigs.js.map +1 -1
- package/dist/gc/gcDefinitions.d.ts +97 -44
- package/dist/gc/gcDefinitions.d.ts.map +1 -1
- package/dist/gc/gcDefinitions.js +26 -16
- package/dist/gc/gcDefinitions.js.map +1 -1
- package/dist/gc/gcHelpers.d.ts +18 -25
- package/dist/gc/gcHelpers.d.ts.map +1 -1
- package/dist/gc/gcHelpers.js +29 -45
- package/dist/gc/gcHelpers.js.map +1 -1
- package/dist/gc/gcTelemetry.d.ts.map +1 -1
- package/dist/gc/gcTelemetry.js +14 -3
- package/dist/gc/gcTelemetry.js.map +1 -1
- package/dist/gc/gcUnreferencedStateTracker.d.ts +11 -5
- package/dist/gc/gcUnreferencedStateTracker.d.ts.map +1 -1
- package/dist/gc/gcUnreferencedStateTracker.js +43 -19
- package/dist/gc/gcUnreferencedStateTracker.js.map +1 -1
- package/dist/gc/index.d.ts +1 -1
- package/dist/gc/index.d.ts.map +1 -1
- package/dist/gc/index.js +4 -4
- package/dist/gc/index.js.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -5
- package/dist/index.js.map +1 -1
- package/dist/messageTypes.d.ts +13 -5
- package/dist/messageTypes.d.ts.map +1 -1
- package/dist/messageTypes.js +5 -0
- package/dist/messageTypes.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/pendingStateManager.d.ts +1 -0
- package/dist/pendingStateManager.d.ts.map +1 -1
- package/dist/pendingStateManager.js +1 -0
- package/dist/pendingStateManager.js.map +1 -1
- package/dist/summary/orderedClientElection.d.ts +1 -1
- package/dist/summary/orderedClientElection.js.map +1 -1
- package/dist/summary/summarizerTypes.d.ts +28 -28
- package/dist/summary/summarizerTypes.js.map +1 -1
- package/dist/summary/summaryCollection.d.ts +3 -3
- package/dist/summary/summaryCollection.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +3 -3
- package/dist/summary/summaryFormat.js.map +1 -1
- package/lib/blobManager.d.ts +4 -4
- package/lib/blobManager.d.ts.map +1 -1
- package/lib/blobManager.js.map +1 -1
- package/lib/container-runtime-alpha.d.ts +1361 -132
- package/lib/container-runtime-beta.d.ts +40 -2
- package/lib/container-runtime-public.d.ts +40 -2
- package/lib/container-runtime-untrimmed.d.ts +106 -93
- package/lib/containerRuntime.d.ts +19 -17
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +46 -26
- package/lib/containerRuntime.js.map +1 -1
- package/lib/dataStores.d.ts +10 -15
- package/lib/dataStores.d.ts.map +1 -1
- package/lib/dataStores.js +65 -38
- package/lib/dataStores.js.map +1 -1
- package/lib/gc/garbageCollection.d.ts +29 -10
- package/lib/gc/garbageCollection.d.ts.map +1 -1
- package/lib/gc/garbageCollection.js +151 -69
- package/lib/gc/garbageCollection.js.map +1 -1
- package/lib/gc/gcConfigs.d.ts.map +1 -1
- package/lib/gc/gcConfigs.js +37 -40
- package/lib/gc/gcConfigs.js.map +1 -1
- package/lib/gc/gcDefinitions.d.ts +97 -44
- package/lib/gc/gcDefinitions.d.ts.map +1 -1
- package/lib/gc/gcDefinitions.js +25 -15
- package/lib/gc/gcDefinitions.js.map +1 -1
- package/lib/gc/gcHelpers.d.ts +18 -25
- package/lib/gc/gcHelpers.d.ts.map +1 -1
- package/lib/gc/gcHelpers.js +27 -43
- package/lib/gc/gcHelpers.js.map +1 -1
- package/lib/gc/gcTelemetry.d.ts.map +1 -1
- package/lib/gc/gcTelemetry.js +14 -3
- package/lib/gc/gcTelemetry.js.map +1 -1
- package/lib/gc/gcUnreferencedStateTracker.d.ts +11 -5
- package/lib/gc/gcUnreferencedStateTracker.d.ts.map +1 -1
- package/lib/gc/gcUnreferencedStateTracker.js +43 -19
- package/lib/gc/gcUnreferencedStateTracker.js.map +1 -1
- package/lib/gc/index.d.ts +1 -1
- package/lib/gc/index.d.ts.map +1 -1
- package/lib/gc/index.js +1 -1
- package/lib/gc/index.js.map +1 -1
- package/lib/index.d.ts +13 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +15 -1
- package/lib/index.js.map +1 -1
- package/lib/messageTypes.d.ts +13 -5
- package/lib/messageTypes.d.ts.map +1 -1
- package/lib/messageTypes.js +5 -0
- package/lib/messageTypes.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/pendingStateManager.d.ts +1 -0
- package/lib/pendingStateManager.d.ts.map +1 -1
- package/lib/pendingStateManager.js +1 -0
- package/lib/pendingStateManager.js.map +1 -1
- package/lib/summary/orderedClientElection.d.ts +1 -1
- package/lib/summary/orderedClientElection.js.map +1 -1
- package/lib/summary/summarizerTypes.d.ts +28 -28
- package/lib/summary/summarizerTypes.js.map +1 -1
- package/lib/summary/summaryCollection.d.ts +3 -3
- package/lib/summary/summaryCollection.js.map +1 -1
- package/lib/summary/summaryFormat.d.ts +3 -3
- package/lib/summary/summaryFormat.js.map +1 -1
- package/package.json +18 -15
- package/src/blobManager.ts +5 -5
- package/src/containerRuntime.ts +66 -40
- package/src/dataStores.ts +118 -59
- package/src/gc/garbageCollection.md +14 -15
- package/src/gc/garbageCollection.ts +182 -75
- package/src/gc/gcConfigs.ts +50 -52
- package/src/gc/gcDefinitions.ts +112 -50
- package/src/gc/gcHelpers.ts +31 -52
- package/src/gc/gcTelemetry.ts +16 -4
- package/src/gc/gcUnreferencedStateTracker.ts +61 -22
- package/src/gc/index.ts +4 -3
- package/src/index.ts +17 -1
- package/src/messageTypes.ts +16 -2
- package/src/packageVersion.ts +1 -1
- package/src/pendingStateManager.ts +1 -0
- package/src/summary/orderedClientElection.ts +1 -1
- package/src/summary/summarizerTypes.ts +28 -28
- package/src/summary/summaryCollection.ts +3 -3
- package/src/summary/summaryFormat.ts +3 -3
- package/dist/id-compressor/appendOnlySortedMap.d.ts +0 -124
- package/dist/id-compressor/appendOnlySortedMap.d.ts.map +0 -1
- package/dist/id-compressor/appendOnlySortedMap.js +0 -318
- package/dist/id-compressor/appendOnlySortedMap.js.map +0 -1
- package/dist/id-compressor/finalSpace.d.ts +0 -29
- package/dist/id-compressor/finalSpace.d.ts.map +0 -1
- package/dist/id-compressor/finalSpace.js +0 -62
- package/dist/id-compressor/finalSpace.js.map +0 -1
- package/dist/id-compressor/idCompressor.d.ts +0 -54
- package/dist/id-compressor/idCompressor.d.ts.map +0 -1
- package/dist/id-compressor/idCompressor.js +0 -495
- package/dist/id-compressor/idCompressor.js.map +0 -1
- package/dist/id-compressor/identifiers.d.ts +0 -32
- package/dist/id-compressor/identifiers.d.ts.map +0 -1
- package/dist/id-compressor/identifiers.js +0 -15
- package/dist/id-compressor/identifiers.js.map +0 -1
- package/dist/id-compressor/index.d.ts +0 -13
- package/dist/id-compressor/index.d.ts.map +0 -1
- package/dist/id-compressor/index.js +0 -32
- package/dist/id-compressor/index.js.map +0 -1
- package/dist/id-compressor/persistanceUtilities.d.ts +0 -22
- package/dist/id-compressor/persistanceUtilities.d.ts.map +0 -1
- package/dist/id-compressor/persistanceUtilities.js +0 -43
- package/dist/id-compressor/persistanceUtilities.js.map +0 -1
- package/dist/id-compressor/sessionSpaceNormalizer.d.ts +0 -46
- package/dist/id-compressor/sessionSpaceNormalizer.d.ts.map +0 -1
- package/dist/id-compressor/sessionSpaceNormalizer.js +0 -80
- package/dist/id-compressor/sessionSpaceNormalizer.js.map +0 -1
- package/dist/id-compressor/sessions.d.ts +0 -115
- package/dist/id-compressor/sessions.d.ts.map +0 -1
- package/dist/id-compressor/sessions.js +0 -305
- package/dist/id-compressor/sessions.js.map +0 -1
- package/dist/id-compressor/utilities.d.ts +0 -52
- package/dist/id-compressor/utilities.d.ts.map +0 -1
- package/dist/id-compressor/utilities.js +0 -169
- package/dist/id-compressor/utilities.js.map +0 -1
- package/lib/id-compressor/appendOnlySortedMap.d.ts +0 -124
- package/lib/id-compressor/appendOnlySortedMap.d.ts.map +0 -1
- package/lib/id-compressor/appendOnlySortedMap.js +0 -314
- package/lib/id-compressor/appendOnlySortedMap.js.map +0 -1
- package/lib/id-compressor/finalSpace.d.ts +0 -29
- package/lib/id-compressor/finalSpace.d.ts.map +0 -1
- package/lib/id-compressor/finalSpace.js +0 -58
- package/lib/id-compressor/finalSpace.js.map +0 -1
- package/lib/id-compressor/idCompressor.d.ts +0 -54
- package/lib/id-compressor/idCompressor.d.ts.map +0 -1
- package/lib/id-compressor/idCompressor.js +0 -491
- package/lib/id-compressor/idCompressor.js.map +0 -1
- package/lib/id-compressor/identifiers.d.ts +0 -32
- package/lib/id-compressor/identifiers.d.ts.map +0 -1
- package/lib/id-compressor/identifiers.js +0 -11
- package/lib/id-compressor/identifiers.js.map +0 -1
- package/lib/id-compressor/index.d.ts +0 -13
- package/lib/id-compressor/index.d.ts.map +0 -1
- package/lib/id-compressor/index.js +0 -13
- package/lib/id-compressor/index.js.map +0 -1
- package/lib/id-compressor/persistanceUtilities.d.ts +0 -22
- package/lib/id-compressor/persistanceUtilities.d.ts.map +0 -1
- package/lib/id-compressor/persistanceUtilities.js +0 -34
- package/lib/id-compressor/persistanceUtilities.js.map +0 -1
- package/lib/id-compressor/sessionSpaceNormalizer.d.ts +0 -46
- package/lib/id-compressor/sessionSpaceNormalizer.d.ts.map +0 -1
- package/lib/id-compressor/sessionSpaceNormalizer.js +0 -76
- package/lib/id-compressor/sessionSpaceNormalizer.js.map +0 -1
- package/lib/id-compressor/sessions.d.ts +0 -115
- package/lib/id-compressor/sessions.d.ts.map +0 -1
- package/lib/id-compressor/sessions.js +0 -290
- package/lib/id-compressor/sessions.js.map +0 -1
- package/lib/id-compressor/utilities.d.ts +0 -52
- package/lib/id-compressor/utilities.d.ts.map +0 -1
- package/lib/id-compressor/utilities.js +0 -151
- package/lib/id-compressor/utilities.js.map +0 -1
- package/src/id-compressor/README.md +0 -69
- package/src/id-compressor/appendOnlySortedMap.ts +0 -366
- package/src/id-compressor/finalSpace.ts +0 -67
- package/src/id-compressor/idCompressor.ts +0 -630
- package/src/id-compressor/identifiers.ts +0 -42
- package/src/id-compressor/index.ts +0 -26
- package/src/id-compressor/persistanceUtilities.ts +0 -58
- package/src/id-compressor/sessionSpaceNormalizer.ts +0 -83
- package/src/id-compressor/sessions.ts +0 -405
- package/src/id-compressor/utilities.ts +0 -190
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @fluidframework/container-runtime
|
|
2
2
|
|
|
3
|
+
## 2.0.0-internal.7.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- container-runtime: (GC) Tombstoned objects will fail to load by default ([#18651](https://github.com/microsoft/FluidFramework/issues/18651)) [2245c0578e](https://github.com/microsoft/FluidFramework/commits/2245c0578e756c944caa5c22311eaafbb73452bb)
|
|
8
|
+
|
|
9
|
+
Previously, Tombstoned objects would only trigger informational logs by default, with an option via config to also cause
|
|
10
|
+
errors to be thrown on load. Now, failure to load is the default with an option to disable it if necessary. This
|
|
11
|
+
reflects the purpose of the Tombstone stage which is to mimic the user experience of objects being deleted.
|
|
12
|
+
|
|
13
|
+
- container-runtime/runtime-definitions: `IdCompressor` and related types deprecated ([#18749](https://github.com/microsoft/FluidFramework/issues/18749)) [6f070179de](https://github.com/microsoft/FluidFramework/commits/6f070179ded7c2f4398252f75485e85b39725419)
|
|
14
|
+
|
|
15
|
+
`IdCompressor` and related types from the @fluidframework/container-runtime and @fluidframework/runtime-definitions
|
|
16
|
+
packages have been deprecated. They can now be found in a new package, @fluidframework/id-compressor.
|
|
17
|
+
|
|
18
|
+
The `IdCompressor` class is deprecated even in the new package. Consumers should use the interfaces, `IIdCompressor` and
|
|
19
|
+
`IIdCompressorCore`, in conjunction with the factory function `createIdCompressor` instead.
|
|
20
|
+
|
|
3
21
|
## 2.0.0-internal.7.3.0
|
|
4
22
|
|
|
5
23
|
Dependency updates only.
|
package/api-extractor.json
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
3
|
"extends": "../../../common/build/build-common/api-extractor-base.json",
|
|
4
|
-
"dtsRollup": {
|
|
5
|
-
"enabled": true
|
|
6
|
-
},
|
|
7
4
|
"messages": {
|
|
8
5
|
"extractorMessageReporting": {
|
|
9
6
|
// TODO: Add missing documentation and remove this rule override
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
+
import { assertIsStableId } from '@fluidframework/id-compressor';
|
|
7
8
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
8
9
|
import { ContainerWarning } from '@fluidframework/container-definitions';
|
|
9
10
|
import { FluidDataStoreRegistryEntry } from '@fluidframework/runtime-definitions';
|
|
10
11
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
11
12
|
import { FlushMode } from '@fluidframework/runtime-definitions';
|
|
13
|
+
import { generateStableId } from '@fluidframework/id-compressor';
|
|
12
14
|
import { IAudience } from '@fluidframework/container-definitions';
|
|
13
15
|
import { IClientDetails } from '@fluidframework/protocol-definitions';
|
|
14
16
|
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
@@ -29,8 +31,8 @@ import { IFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
|
29
31
|
import { IFluidRouter } from '@fluidframework/core-interfaces';
|
|
30
32
|
import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
|
|
31
33
|
import { IGetPendingLocalStateProps } from '@fluidframework/container-definitions';
|
|
32
|
-
import { IIdCompressor } from '@fluidframework/
|
|
33
|
-
import { IIdCompressorCore } from '@fluidframework/
|
|
34
|
+
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
35
|
+
import type { IIdCompressorCore } from '@fluidframework/id-compressor';
|
|
34
36
|
import { ILoader } from '@fluidframework/container-definitions';
|
|
35
37
|
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
36
38
|
import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
@@ -40,6 +42,7 @@ import { IResponse } from '@fluidframework/core-interfaces';
|
|
|
40
42
|
import { IRuntime } from '@fluidframework/container-definitions';
|
|
41
43
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
42
44
|
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
45
|
+
import { isStableId } from '@fluidframework/id-compressor';
|
|
43
46
|
import { ISummaryAck } from '@fluidframework/protocol-definitions';
|
|
44
47
|
import { ISummaryContent } from '@fluidframework/protocol-definitions';
|
|
45
48
|
import { ISummaryNack } from '@fluidframework/protocol-definitions';
|
|
@@ -50,7 +53,6 @@ import { ITelemetryContext } from '@fluidframework/runtime-definitions';
|
|
|
50
53
|
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
51
54
|
import { MessageType } from '@fluidframework/protocol-definitions';
|
|
52
55
|
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
|
|
53
|
-
import { StableId } from '@fluidframework/runtime-definitions';
|
|
54
56
|
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
55
57
|
|
|
56
58
|
// @internal
|
|
@@ -62,8 +64,7 @@ export const AllowInactiveRequestHeaderKey = "allowInactive";
|
|
|
62
64
|
// @internal
|
|
63
65
|
export const AllowTombstoneRequestHeaderKey = "allowTombstone";
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
export function assertIsStableId(stableId: string): StableId;
|
|
67
|
+
export { assertIsStableId }
|
|
67
68
|
|
|
68
69
|
// @internal
|
|
69
70
|
export type CompatModeBehavior =
|
|
@@ -72,7 +73,7 @@ export type CompatModeBehavior =
|
|
|
72
73
|
/** Fail processing immediately. (The container will close) */
|
|
73
74
|
| "FailToProcess";
|
|
74
75
|
|
|
75
|
-
// @
|
|
76
|
+
// @alpha
|
|
76
77
|
export enum CompressionAlgorithms {
|
|
77
78
|
// (undocumented)
|
|
78
79
|
lz4 = "lz4"
|
|
@@ -90,12 +91,13 @@ export enum ContainerMessageType {
|
|
|
90
91
|
ChunkedOp = "chunkedOp",
|
|
91
92
|
// (undocumented)
|
|
92
93
|
FluidDataStoreOp = "component",
|
|
94
|
+
GC = "GC",
|
|
93
95
|
IdAllocation = "idAllocation",
|
|
94
96
|
// (undocumented)
|
|
95
97
|
Rejoin = "rejoin"
|
|
96
98
|
}
|
|
97
99
|
|
|
98
|
-
// @
|
|
100
|
+
// @alpha
|
|
99
101
|
export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents & ISummarizerEvents> implements IContainerRuntime, IRuntime, ISummarizerRuntime, ISummarizerInternalsProvider, IProvideFluidHandleContext {
|
|
100
102
|
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, idCompressor: (IIdCompressor & IIdCompressorCore) | undefined, provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>, requestHandler?: ((request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>) | undefined, summaryConfiguration?: ISummaryConfiguration);
|
|
101
103
|
// (undocumented)
|
|
@@ -125,9 +127,9 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents
|
|
|
125
127
|
// (undocumented)
|
|
126
128
|
createDetachedRootDataStore(pkg: Readonly<string[]>, rootDataStoreId: string): IFluidDataStoreContextDetached;
|
|
127
129
|
createSummary(blobRedirectTable?: Map<string, string>, telemetryContext?: ITelemetryContext): ISummaryTree;
|
|
128
|
-
deleteSweepReadyNodes(sweepReadyRoutes: string[]): string[];
|
|
130
|
+
deleteSweepReadyNodes(sweepReadyRoutes: readonly string[]): readonly string[];
|
|
129
131
|
// @deprecated (undocumented)
|
|
130
|
-
deleteUnusedNodes(unusedRoutes: string[]): string[];
|
|
132
|
+
deleteUnusedNodes(unusedRoutes: readonly string[]): string[];
|
|
131
133
|
readonly deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;
|
|
132
134
|
// (undocumented)
|
|
133
135
|
dispose(error?: Error): void;
|
|
@@ -225,9 +227,9 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents
|
|
|
225
227
|
summarizeOnDemand(options: IOnDemandSummarizeOptions): ISummarizeResults;
|
|
226
228
|
get summarizerClientId(): string | undefined;
|
|
227
229
|
updateStateBeforeGC(): Promise<void>;
|
|
228
|
-
updateTombstonedRoutes(tombstonedRoutes: string[]): void;
|
|
229
|
-
updateUnusedRoutes(unusedRoutes: string[]): void;
|
|
230
|
-
updateUsedRoutes(usedRoutes: string[]): void;
|
|
230
|
+
updateTombstonedRoutes(tombstonedRoutes: readonly string[]): void;
|
|
231
|
+
updateUnusedRoutes(unusedRoutes: readonly string[]): void;
|
|
232
|
+
updateUsedRoutes(usedRoutes: readonly string[]): void;
|
|
231
233
|
// (undocumented)
|
|
232
234
|
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandle<ArrayBufferLike>>;
|
|
233
235
|
}
|
|
@@ -242,7 +244,7 @@ export interface ContainerRuntimeMessage {
|
|
|
242
244
|
// @internal (undocumented)
|
|
243
245
|
export const DefaultSummaryConfiguration: ISummaryConfiguration;
|
|
244
246
|
|
|
245
|
-
// @
|
|
247
|
+
// @alpha (undocumented)
|
|
246
248
|
export type EnqueueSummarizeResult = (ISummarizeResults & {
|
|
247
249
|
readonly alreadyEnqueued?: undefined;
|
|
248
250
|
}) | (ISummarizeResults & {
|
|
@@ -262,13 +264,15 @@ export class FluidDataStoreRegistry implements IFluidDataStoreRegistry {
|
|
|
262
264
|
get IFluidDataStoreRegistry(): this;
|
|
263
265
|
}
|
|
264
266
|
|
|
265
|
-
// @
|
|
266
|
-
export
|
|
267
|
-
|
|
268
|
-
tombstoneGeneration?:
|
|
269
|
-
}
|
|
267
|
+
// @alpha (undocumented)
|
|
268
|
+
export type GCFeatureMatrix = {
|
|
269
|
+
gcGeneration?: number;
|
|
270
|
+
tombstoneGeneration?: undefined;
|
|
271
|
+
} | {
|
|
272
|
+
tombstoneGeneration: number;
|
|
273
|
+
};
|
|
270
274
|
|
|
271
|
-
// @
|
|
275
|
+
// @alpha
|
|
272
276
|
export const GCNodeType: {
|
|
273
277
|
DataStore: string;
|
|
274
278
|
SubDataStore: string;
|
|
@@ -276,14 +280,13 @@ export const GCNodeType: {
|
|
|
276
280
|
Other: string;
|
|
277
281
|
};
|
|
278
282
|
|
|
279
|
-
// @
|
|
283
|
+
// @alpha (undocumented)
|
|
280
284
|
export type GCNodeType = (typeof GCNodeType)[keyof typeof GCNodeType];
|
|
281
285
|
|
|
282
|
-
// @
|
|
286
|
+
// @alpha (undocumented)
|
|
283
287
|
export type GCVersion = number;
|
|
284
288
|
|
|
285
|
-
|
|
286
|
-
export function generateStableId(): StableId;
|
|
289
|
+
export { generateStableId }
|
|
287
290
|
|
|
288
291
|
// @internal
|
|
289
292
|
export interface IAckedSummary {
|
|
@@ -293,7 +296,7 @@ export interface IAckedSummary {
|
|
|
293
296
|
readonly summaryOp: ISummaryOpMessage;
|
|
294
297
|
}
|
|
295
298
|
|
|
296
|
-
// @
|
|
299
|
+
// @alpha (undocumented)
|
|
297
300
|
export interface IAckSummaryResult {
|
|
298
301
|
// (undocumented)
|
|
299
302
|
readonly ackNackDuration: number;
|
|
@@ -301,7 +304,7 @@ export interface IAckSummaryResult {
|
|
|
301
304
|
readonly summaryAckOp: ISummaryAckMessage;
|
|
302
305
|
}
|
|
303
306
|
|
|
304
|
-
// @
|
|
307
|
+
// @alpha
|
|
305
308
|
export interface IBaseSummarizeResult {
|
|
306
309
|
readonly error: any;
|
|
307
310
|
// (undocumented)
|
|
@@ -311,7 +314,7 @@ export interface IBaseSummarizeResult {
|
|
|
311
314
|
readonly stage: "base";
|
|
312
315
|
}
|
|
313
316
|
|
|
314
|
-
// @
|
|
317
|
+
// @alpha
|
|
315
318
|
export interface IBlobManagerLoadInfo {
|
|
316
319
|
// (undocumented)
|
|
317
320
|
ids?: string[];
|
|
@@ -319,7 +322,7 @@ export interface IBlobManagerLoadInfo {
|
|
|
319
322
|
redirectTable?: [string, string][];
|
|
320
323
|
}
|
|
321
324
|
|
|
322
|
-
// @
|
|
325
|
+
// @alpha (undocumented)
|
|
323
326
|
export interface IBroadcastSummaryResult {
|
|
324
327
|
// (undocumented)
|
|
325
328
|
readonly broadcastDuration: number;
|
|
@@ -333,7 +336,7 @@ export interface ICancellableSummarizerController extends ISummaryCancellationTo
|
|
|
333
336
|
stop(reason: SummarizerStopReason): void;
|
|
334
337
|
}
|
|
335
338
|
|
|
336
|
-
// @
|
|
339
|
+
// @alpha
|
|
337
340
|
export interface ICancellationToken<T> {
|
|
338
341
|
readonly cancelled: boolean;
|
|
339
342
|
readonly waitCancelled: Promise<T>;
|
|
@@ -363,13 +366,13 @@ export interface IClientSummaryWatcher extends IDisposable {
|
|
|
363
366
|
watchSummary(clientSequenceNumber: number): ISummary;
|
|
364
367
|
}
|
|
365
368
|
|
|
366
|
-
// @
|
|
369
|
+
// @alpha
|
|
367
370
|
export interface ICompressionRuntimeOptions {
|
|
368
371
|
readonly compressionAlgorithm: CompressionAlgorithms;
|
|
369
372
|
readonly minimumBatchSizeInBytes: number;
|
|
370
373
|
}
|
|
371
374
|
|
|
372
|
-
// @
|
|
375
|
+
// @alpha (undocumented)
|
|
373
376
|
export interface IConnectableRuntime {
|
|
374
377
|
// (undocumented)
|
|
375
378
|
readonly clientId: string | undefined;
|
|
@@ -386,7 +389,7 @@ export interface IContainerRuntimeMessageCompatDetails {
|
|
|
386
389
|
behavior: CompatModeBehavior;
|
|
387
390
|
}
|
|
388
391
|
|
|
389
|
-
// @
|
|
392
|
+
// @alpha (undocumented)
|
|
390
393
|
export interface IContainerRuntimeMetadata extends ICreateContainerMetadata, IGCMetadata {
|
|
391
394
|
readonly disableIsolatedChannels?: true;
|
|
392
395
|
readonly idCompressorEnabled?: boolean;
|
|
@@ -397,7 +400,7 @@ export interface IContainerRuntimeMetadata extends ICreateContainerMetadata, IGC
|
|
|
397
400
|
readonly telemetryDocumentId?: string;
|
|
398
401
|
}
|
|
399
402
|
|
|
400
|
-
// @
|
|
403
|
+
// @alpha
|
|
401
404
|
export interface IContainerRuntimeOptions {
|
|
402
405
|
readonly chunkSizeInBytes?: number;
|
|
403
406
|
readonly compressionOptions?: ICompressionRuntimeOptions;
|
|
@@ -413,19 +416,19 @@ export interface IContainerRuntimeOptions {
|
|
|
413
416
|
readonly summaryOptions?: ISummaryRuntimeOptions;
|
|
414
417
|
}
|
|
415
418
|
|
|
416
|
-
// @
|
|
419
|
+
// @alpha (undocumented)
|
|
417
420
|
export interface ICreateContainerMetadata {
|
|
418
421
|
createContainerRuntimeVersion?: string;
|
|
419
422
|
createContainerTimestamp?: number;
|
|
420
423
|
}
|
|
421
424
|
|
|
422
|
-
// @
|
|
425
|
+
// @alpha
|
|
423
426
|
export interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOptions {
|
|
424
427
|
readonly afterSequenceNumber?: number;
|
|
425
428
|
readonly override?: boolean;
|
|
426
429
|
}
|
|
427
430
|
|
|
428
|
-
// @
|
|
431
|
+
// @alpha (undocumented)
|
|
429
432
|
export interface IGCMetadata {
|
|
430
433
|
readonly gcFeature?: GCVersion;
|
|
431
434
|
readonly gcFeatureMatrix?: GCFeatureMatrix;
|
|
@@ -435,20 +438,22 @@ export interface IGCMetadata {
|
|
|
435
438
|
readonly sweepTimeoutMs?: number;
|
|
436
439
|
}
|
|
437
440
|
|
|
438
|
-
// @
|
|
441
|
+
// @alpha (undocumented)
|
|
439
442
|
export interface IGCRuntimeOptions {
|
|
440
443
|
[key: string]: any;
|
|
441
444
|
disableGC?: boolean;
|
|
445
|
+
enableGCSweep?: true;
|
|
442
446
|
gcAllowed?: boolean;
|
|
443
447
|
runFullGC?: boolean;
|
|
444
448
|
sessionExpiryTimeoutMs?: number;
|
|
449
|
+
sweepGracePeriodMs?: number;
|
|
445
450
|
}
|
|
446
451
|
|
|
447
|
-
// @
|
|
452
|
+
// @alpha
|
|
448
453
|
export interface IGCStats extends IMarkPhaseStats, ISweepPhaseStats {
|
|
449
454
|
}
|
|
450
455
|
|
|
451
|
-
// @
|
|
456
|
+
// @alpha
|
|
452
457
|
export interface IGeneratedSummaryStats extends ISummaryStats {
|
|
453
458
|
readonly dataStoreCount: number;
|
|
454
459
|
readonly gcBlobNodeCount?: number;
|
|
@@ -458,7 +463,7 @@ export interface IGeneratedSummaryStats extends ISummaryStats {
|
|
|
458
463
|
readonly summaryNumber: number;
|
|
459
464
|
}
|
|
460
465
|
|
|
461
|
-
// @
|
|
466
|
+
// @alpha
|
|
462
467
|
export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "stage"> {
|
|
463
468
|
readonly forcedFullTree: boolean;
|
|
464
469
|
readonly generateDuration: number;
|
|
@@ -468,7 +473,7 @@ export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "
|
|
|
468
473
|
readonly summaryTree: ISummaryTree;
|
|
469
474
|
}
|
|
470
475
|
|
|
471
|
-
// @
|
|
476
|
+
// @alpha
|
|
472
477
|
export interface IMarkPhaseStats {
|
|
473
478
|
attachmentBlobCount: number;
|
|
474
479
|
dataStoreCount: number;
|
|
@@ -481,7 +486,7 @@ export interface IMarkPhaseStats {
|
|
|
481
486
|
updatedNodeCount: number;
|
|
482
487
|
}
|
|
483
488
|
|
|
484
|
-
// @
|
|
489
|
+
// @alpha (undocumented)
|
|
485
490
|
export interface INackSummaryResult extends IRetriableFailureResult {
|
|
486
491
|
// (undocumented)
|
|
487
492
|
readonly ackNackDuration: number;
|
|
@@ -492,12 +497,12 @@ export interface INackSummaryResult extends IRetriableFailureResult {
|
|
|
492
497
|
// @internal
|
|
493
498
|
export const InactiveResponseHeaderKey = "isInactive";
|
|
494
499
|
|
|
495
|
-
// @
|
|
500
|
+
// @alpha (undocumented)
|
|
496
501
|
export interface IOnDemandSummarizeOptions extends ISummarizeOptions {
|
|
497
502
|
readonly reason: string;
|
|
498
503
|
}
|
|
499
504
|
|
|
500
|
-
// @
|
|
505
|
+
// @alpha
|
|
501
506
|
export interface IRefreshSummaryAckOptions {
|
|
502
507
|
readonly ackHandle: string;
|
|
503
508
|
readonly proposalHandle: string | undefined;
|
|
@@ -505,13 +510,13 @@ export interface IRefreshSummaryAckOptions {
|
|
|
505
510
|
readonly summaryRefSeq: number;
|
|
506
511
|
}
|
|
507
512
|
|
|
508
|
-
// @
|
|
513
|
+
// @alpha
|
|
509
514
|
export interface IRetriableFailureResult {
|
|
510
515
|
// (undocumented)
|
|
511
516
|
readonly retryAfterSeconds?: number;
|
|
512
517
|
}
|
|
513
518
|
|
|
514
|
-
// @
|
|
519
|
+
// @alpha
|
|
515
520
|
export interface ISerializedElection {
|
|
516
521
|
readonly electedClientId: string | undefined;
|
|
517
522
|
readonly electedParentId: string | undefined;
|
|
@@ -521,10 +526,9 @@ export interface ISerializedElection {
|
|
|
521
526
|
// @internal @deprecated (undocumented)
|
|
522
527
|
export function isRuntimeMessage(message: ISequencedDocumentMessage): boolean;
|
|
523
528
|
|
|
524
|
-
|
|
525
|
-
export function isStableId(str: string): str is StableId;
|
|
529
|
+
export { isStableId }
|
|
526
530
|
|
|
527
|
-
// @
|
|
531
|
+
// @alpha
|
|
528
532
|
export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stage" | "error"> {
|
|
529
533
|
readonly clientSequenceNumber: number;
|
|
530
534
|
// (undocumented)
|
|
@@ -532,14 +536,14 @@ export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stag
|
|
|
532
536
|
readonly submitOpDuration: number;
|
|
533
537
|
}
|
|
534
538
|
|
|
535
|
-
// @
|
|
539
|
+
// @alpha (undocumented)
|
|
536
540
|
export interface ISubmitSummaryOptions extends ISummarizeOptions {
|
|
537
541
|
readonly cancellationToken: ISummaryCancellationToken;
|
|
538
542
|
readonly finalAttempt?: boolean;
|
|
539
543
|
readonly summaryLogger: ITelemetryLoggerExt;
|
|
540
544
|
}
|
|
541
545
|
|
|
542
|
-
// @
|
|
546
|
+
// @alpha (undocumented)
|
|
543
547
|
export interface ISummarizeEventProps {
|
|
544
548
|
// (undocumented)
|
|
545
549
|
currentAttempt: number;
|
|
@@ -551,7 +555,7 @@ export interface ISummarizeEventProps {
|
|
|
551
555
|
result: "success" | "failure" | "canceled";
|
|
552
556
|
}
|
|
553
557
|
|
|
554
|
-
// @
|
|
558
|
+
// @alpha
|
|
555
559
|
export interface ISummarizeOptions {
|
|
556
560
|
readonly fullTree?: boolean;
|
|
557
561
|
// @deprecated
|
|
@@ -571,26 +575,26 @@ export interface ISummarizer extends IEventProvider<ISummarizerEvents> {
|
|
|
571
575
|
summarizeOnDemand(options: IOnDemandSummarizeOptions): ISummarizeResults;
|
|
572
576
|
}
|
|
573
577
|
|
|
574
|
-
// @
|
|
578
|
+
// @alpha (undocumented)
|
|
575
579
|
export interface ISummarizeResults {
|
|
576
580
|
readonly receivedSummaryAckOrNack: Promise<SummarizeResultPart<IAckSummaryResult, INackSummaryResult>>;
|
|
577
581
|
readonly summaryOpBroadcasted: Promise<SummarizeResultPart<IBroadcastSummaryResult>>;
|
|
578
582
|
readonly summarySubmitted: Promise<SummarizeResultPart<SubmitSummaryResult, SubmitSummaryFailureData>>;
|
|
579
583
|
}
|
|
580
584
|
|
|
581
|
-
// @
|
|
585
|
+
// @alpha (undocumented)
|
|
582
586
|
export interface ISummarizerEvents extends IEvent {
|
|
583
587
|
// (undocumented)
|
|
584
588
|
(event: "summarize", listener: (props: ISummarizeEventProps) => void): any;
|
|
585
589
|
}
|
|
586
590
|
|
|
587
|
-
// @
|
|
591
|
+
// @alpha (undocumented)
|
|
588
592
|
export interface ISummarizerInternalsProvider {
|
|
589
593
|
refreshLatestSummaryAck(options: IRefreshSummaryAckOptions): Promise<void>;
|
|
590
594
|
submitSummary(options: ISubmitSummaryOptions): Promise<SubmitSummaryResult>;
|
|
591
595
|
}
|
|
592
596
|
|
|
593
|
-
// @
|
|
597
|
+
// @alpha (undocumented)
|
|
594
598
|
export interface ISummarizerRuntime extends IConnectableRuntime {
|
|
595
599
|
// (undocumented)
|
|
596
600
|
closeFn(): void;
|
|
@@ -627,7 +631,7 @@ export interface ISummary {
|
|
|
627
631
|
waitBroadcast(): Promise<ISummaryOpMessage>;
|
|
628
632
|
}
|
|
629
633
|
|
|
630
|
-
// @
|
|
634
|
+
// @alpha
|
|
631
635
|
export interface ISummaryAckMessage extends ISequencedDocumentMessage {
|
|
632
636
|
// (undocumented)
|
|
633
637
|
contents: ISummaryAck;
|
|
@@ -635,14 +639,14 @@ export interface ISummaryAckMessage extends ISequencedDocumentMessage {
|
|
|
635
639
|
type: MessageType.SummaryAck;
|
|
636
640
|
}
|
|
637
641
|
|
|
638
|
-
// @
|
|
642
|
+
// @alpha (undocumented)
|
|
639
643
|
export interface ISummaryBaseConfiguration {
|
|
640
644
|
initialSummarizerDelayMs: number;
|
|
641
645
|
maxAckWaitTime: number;
|
|
642
646
|
maxOpsSinceLastSummary: number;
|
|
643
647
|
}
|
|
644
648
|
|
|
645
|
-
// @
|
|
649
|
+
// @alpha
|
|
646
650
|
export type ISummaryCancellationToken = ICancellationToken<SummarizerStopReason>;
|
|
647
651
|
|
|
648
652
|
// @internal (undocumented)
|
|
@@ -651,22 +655,22 @@ export interface ISummaryCollectionOpEvents extends IEvent {
|
|
|
651
655
|
(event: OpActionEventName, listener: OpActionEventListener): any;
|
|
652
656
|
}
|
|
653
657
|
|
|
654
|
-
// @
|
|
658
|
+
// @alpha (undocumented)
|
|
655
659
|
export type ISummaryConfiguration = ISummaryConfigurationDisableSummarizer | ISummaryConfigurationDisableHeuristics | ISummaryConfigurationHeuristics;
|
|
656
660
|
|
|
657
|
-
// @
|
|
661
|
+
// @alpha (undocumented)
|
|
658
662
|
export interface ISummaryConfigurationDisableHeuristics extends ISummaryBaseConfiguration {
|
|
659
663
|
// (undocumented)
|
|
660
664
|
state: "disableHeuristics";
|
|
661
665
|
}
|
|
662
666
|
|
|
663
|
-
// @
|
|
667
|
+
// @alpha (undocumented)
|
|
664
668
|
export interface ISummaryConfigurationDisableSummarizer {
|
|
665
669
|
// (undocumented)
|
|
666
670
|
state: "disabled";
|
|
667
671
|
}
|
|
668
672
|
|
|
669
|
-
// @
|
|
673
|
+
// @alpha (undocumented)
|
|
670
674
|
export interface ISummaryConfigurationHeuristics extends ISummaryBaseConfiguration {
|
|
671
675
|
maxIdleTime: number;
|
|
672
676
|
maxOps: number;
|
|
@@ -680,10 +684,10 @@ export interface ISummaryConfigurationHeuristics extends ISummaryBaseConfigurati
|
|
|
680
684
|
state: "enabled";
|
|
681
685
|
}
|
|
682
686
|
|
|
683
|
-
// @
|
|
687
|
+
// @alpha
|
|
684
688
|
export type ISummaryMetadataMessage = Pick<ISequencedDocumentMessage, "clientId" | "clientSequenceNumber" | "minimumSequenceNumber" | "referenceSequenceNumber" | "sequenceNumber" | "timestamp" | "type">;
|
|
685
689
|
|
|
686
|
-
// @
|
|
690
|
+
// @alpha
|
|
687
691
|
export interface ISummaryNackMessage extends ISequencedDocumentMessage {
|
|
688
692
|
// (undocumented)
|
|
689
693
|
contents: ISummaryNack;
|
|
@@ -691,7 +695,7 @@ export interface ISummaryNackMessage extends ISequencedDocumentMessage {
|
|
|
691
695
|
type: MessageType.SummaryNack;
|
|
692
696
|
}
|
|
693
697
|
|
|
694
|
-
// @
|
|
698
|
+
// @alpha
|
|
695
699
|
export interface ISummaryOpMessage extends ISequencedDocumentMessage {
|
|
696
700
|
// (undocumented)
|
|
697
701
|
contents: ISummaryContent;
|
|
@@ -699,14 +703,14 @@ export interface ISummaryOpMessage extends ISequencedDocumentMessage {
|
|
|
699
703
|
type: MessageType.Summarize;
|
|
700
704
|
}
|
|
701
705
|
|
|
702
|
-
// @
|
|
706
|
+
// @alpha (undocumented)
|
|
703
707
|
export interface ISummaryRuntimeOptions {
|
|
704
708
|
// @deprecated
|
|
705
709
|
initialSummarizerDelayMs?: number;
|
|
706
710
|
summaryConfigOverrides?: ISummaryConfiguration;
|
|
707
711
|
}
|
|
708
712
|
|
|
709
|
-
// @
|
|
713
|
+
// @alpha
|
|
710
714
|
export interface ISweepPhaseStats {
|
|
711
715
|
deletedAttachmentBlobCount: number;
|
|
712
716
|
deletedDataStoreCount: number;
|
|
@@ -716,7 +720,7 @@ export interface ISweepPhaseStats {
|
|
|
716
720
|
lifetimeNodeCount: number;
|
|
717
721
|
}
|
|
718
722
|
|
|
719
|
-
// @
|
|
723
|
+
// @alpha
|
|
720
724
|
export interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "stage"> {
|
|
721
725
|
readonly handle: string;
|
|
722
726
|
// (undocumented)
|
|
@@ -762,13 +766,13 @@ export enum RuntimeMessage {
|
|
|
762
766
|
Rejoin = "rejoin"
|
|
763
767
|
}
|
|
764
768
|
|
|
765
|
-
// @
|
|
769
|
+
// @alpha
|
|
766
770
|
export interface SubmitSummaryFailureData extends IRetriableFailureResult {
|
|
767
771
|
// (undocumented)
|
|
768
772
|
stage: SummaryStage;
|
|
769
773
|
}
|
|
770
774
|
|
|
771
|
-
// @
|
|
775
|
+
// @alpha
|
|
772
776
|
export type SubmitSummaryResult = IBaseSummarizeResult | IGenerateSummaryTreeResult | IUploadSummaryResult | ISubmitSummaryOpResult;
|
|
773
777
|
|
|
774
778
|
// @internal
|
|
@@ -797,7 +801,7 @@ export class Summarizer extends TypedEventEmitter<ISummarizerEvents> implements
|
|
|
797
801
|
readonly summaryCollection: SummaryCollection;
|
|
798
802
|
}
|
|
799
803
|
|
|
800
|
-
// @
|
|
804
|
+
// @alpha (undocumented)
|
|
801
805
|
export type SummarizeResultPart<TSuccess, TFailure = undefined> = {
|
|
802
806
|
success: true;
|
|
803
807
|
data: TSuccess;
|
|
@@ -808,7 +812,7 @@ export type SummarizeResultPart<TSuccess, TFailure = undefined> = {
|
|
|
808
812
|
error: any;
|
|
809
813
|
};
|
|
810
814
|
|
|
811
|
-
// @
|
|
815
|
+
// @alpha (undocumented)
|
|
812
816
|
export type SummarizerStopReason =
|
|
813
817
|
/** Summarizer client failed to summarize in all 3 consecutive attempts. */
|
|
814
818
|
"failToSummarize"
|
|
@@ -859,7 +863,7 @@ export class SummaryCollection extends TypedEventEmitter<ISummaryCollectionOpEve
|
|
|
859
863
|
waitSummaryAck(referenceSequenceNumber: number): Promise<IAckedSummary>;
|
|
860
864
|
}
|
|
861
865
|
|
|
862
|
-
// @
|
|
866
|
+
// @alpha
|
|
863
867
|
export type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
|
|
864
868
|
|
|
865
869
|
// @internal
|
package/dist/blobManager.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class BlobHandle implements IFluidHandle<ArrayBufferLike> {
|
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Information from a snapshot needed to load BlobManager
|
|
34
|
-
* @
|
|
34
|
+
* @alpha
|
|
35
35
|
*/
|
|
36
36
|
export interface IBlobManagerLoadInfo {
|
|
37
37
|
ids?: string[];
|
|
@@ -154,14 +154,14 @@ export declare class BlobManager extends TypedEventEmitter<IBlobManagerEvents> {
|
|
|
154
154
|
* This is called to update blobs whose routes are unused. The unused blobs are deleted.
|
|
155
155
|
* @param unusedRoutes - The routes of the blob nodes that are unused. These routes will be based off of local ids.
|
|
156
156
|
*/
|
|
157
|
-
updateUnusedRoutes(unusedRoutes: string[]): void;
|
|
157
|
+
updateUnusedRoutes(unusedRoutes: readonly string[]): void;
|
|
158
158
|
/**
|
|
159
159
|
* Delete attachment blobs that are sweep ready.
|
|
160
160
|
* @param sweepReadyBlobRoutes - The routes of blobs that are sweep ready and should be deleted. These routes will
|
|
161
161
|
* be based off of local ids.
|
|
162
162
|
* @returns The routes of blobs that were deleted.
|
|
163
163
|
*/
|
|
164
|
-
deleteSweepReadyNodes(sweepReadyBlobRoutes: string[]): string[];
|
|
164
|
+
deleteSweepReadyNodes(sweepReadyBlobRoutes: readonly string[]): readonly string[];
|
|
165
165
|
/**
|
|
166
166
|
* Delete blobs with the given routes from the redirect table.
|
|
167
167
|
* The routes are GC nodes paths of format -`/<BlobManager.basePath>/<blobId>`. The blob ids are all local ids.
|
|
@@ -179,7 +179,7 @@ export declare class BlobManager extends TypedEventEmitter<IBlobManagerEvents> {
|
|
|
179
179
|
* accessing deleted content without actually deleting content from summaries.
|
|
180
180
|
* @param tombstonedRoutes - The routes of blob nodes that are tombstones.
|
|
181
181
|
*/
|
|
182
|
-
updateTombstonedRoutes(tombstonedRoutes: string[]): void;
|
|
182
|
+
updateTombstonedRoutes(tombstonedRoutes: readonly string[]): void;
|
|
183
183
|
/**
|
|
184
184
|
* Verifies that the blob with given id is not deleted, i.e., it has not been garbage collected. If the blob is GC'd,
|
|
185
185
|
* log an error and throw if necessary.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobManager.d.ts","sourceRoot":"","sources":["../src/blobManager.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAEN,yBAAyB,EACzB,aAAa,EACb,MAAM,sCAAsC,CAAC;AAQ9C,OAAO,EAAkC,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,EACN,iBAAiB,EACjB,uBAAuB,EACvB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAe,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAS7F,OAAO,EACN,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,qCAAqC,CAAC;AAM7C;;;;;;GAMG;AACH,qBAAa,UAAW,YAAW,YAAY,CAAC,eAAe,CAAC;aAc9C,IAAI,EAAE,MAAM;aACZ,YAAY,EAAE,mBAAmB;IAC1C,GAAG,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC;IAhBhC,OAAO,CAAC,QAAQ,CAAkB;IAElC,IAAW,YAAY,IAAI,YAAY,CAEtC;IAED,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED,SAAgB,YAAY,EAAE,MAAM,CAAC;gBAGpB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB,EAC1C,GAAG,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,EACb,aAAa,CAAC,SAAQ,IAAI,aAAA;IAKrC,WAAW;IAOX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