@fluidframework/container-runtime 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.270401
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/api-report/{container-runtime.api.md → container-runtime.alpha.api.md} +4 -477
- package/api-report/container-runtime.beta.api.md +73 -0
- package/api-report/container-runtime.public.api.md +73 -0
- package/container-runtime.test-files.tar +0 -0
- package/dist/batchTracker.js +5 -1
- package/dist/batchTracker.js.map +1 -1
- package/dist/blobManager.d.ts +1 -18
- package/dist/blobManager.d.ts.map +1 -1
- package/dist/blobManager.js +39 -48
- package/dist/blobManager.js.map +1 -1
- package/dist/channelCollection.d.ts +2 -11
- package/dist/channelCollection.d.ts.map +1 -1
- package/dist/channelCollection.js +33 -48
- package/dist/channelCollection.js.map +1 -1
- package/dist/connectionTelemetry.d.ts +1 -2
- package/dist/connectionTelemetry.d.ts.map +1 -1
- package/dist/connectionTelemetry.js +32 -14
- package/dist/connectionTelemetry.js.map +1 -1
- package/dist/containerHandleContext.js +4 -0
- package/dist/containerHandleContext.js.map +1 -1
- package/dist/containerRuntime.d.ts +7 -18
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +145 -43
- package/dist/containerRuntime.js.map +1 -1
- package/dist/dataStore.js +9 -1
- package/dist/dataStore.js.map +1 -1
- package/dist/dataStoreContext.d.ts +2 -16
- package/dist/dataStoreContext.d.ts.map +1 -1
- package/dist/dataStoreContext.js +142 -120
- package/dist/dataStoreContext.js.map +1 -1
- package/dist/dataStoreContexts.js +29 -28
- package/dist/dataStoreContexts.js.map +1 -1
- package/dist/dataStoreRegistry.js +1 -0
- package/dist/dataStoreRegistry.js.map +1 -1
- package/dist/deltaManagerProxies.d.ts +4 -4
- package/dist/deltaManagerProxies.d.ts.map +1 -1
- package/dist/deltaManagerProxies.js +33 -28
- package/dist/deltaManagerProxies.js.map +1 -1
- package/dist/deltaScheduler.d.ts +1 -2
- package/dist/deltaScheduler.d.ts.map +1 -1
- package/dist/deltaScheduler.js +13 -9
- package/dist/deltaScheduler.js.map +1 -1
- package/dist/error.js +2 -1
- package/dist/error.js.map +1 -1
- package/dist/gc/garbageCollection.d.ts.map +1 -1
- package/dist/gc/garbageCollection.js +37 -17
- package/dist/gc/garbageCollection.js.map +1 -1
- package/dist/gc/gcDefinitions.d.ts +0 -4
- package/dist/gc/gcDefinitions.d.ts.map +1 -1
- package/dist/gc/gcDefinitions.js +1 -3
- package/dist/gc/gcDefinitions.js.map +1 -1
- package/dist/gc/gcSummaryStateTracker.js +19 -14
- package/dist/gc/gcSummaryStateTracker.js.map +1 -1
- package/dist/gc/gcTelemetry.js +12 -5
- package/dist/gc/gcTelemetry.js.map +1 -1
- package/dist/gc/gcUnreferencedStateTracker.js +12 -1
- 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 +1 -2
- package/dist/gc/index.js.map +1 -1
- package/dist/messageTypes.d.ts +1 -1
- package/dist/messageTypes.d.ts.map +1 -1
- package/dist/messageTypes.js.map +1 -1
- package/dist/opLifecycle/batchManager.js +5 -3
- package/dist/opLifecycle/batchManager.js.map +1 -1
- package/dist/opLifecycle/opCompressor.js +1 -0
- 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 +6 -4
- 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 +3 -1
- 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 +6 -0
- package/dist/opLifecycle/opSplitter.js.map +1 -1
- package/dist/opLifecycle/outbox.js +15 -10
- package/dist/opLifecycle/outbox.js.map +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.d.ts +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
- package/dist/opLifecycle/remoteMessageProcessor.js +3 -0
- package/dist/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/dist/opProperties.d.ts +1 -1
- package/dist/opProperties.d.ts.map +1 -1
- package/dist/opProperties.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/pendingStateManager.d.ts.map +1 -1
- package/dist/pendingStateManager.js +34 -18
- 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 +15 -4
- package/dist/scheduleManager.js.map +1 -1
- package/dist/storageServiceWithAttachBlobs.js +1 -0
- package/dist/storageServiceWithAttachBlobs.js.map +1 -1
- package/dist/summary/documentSchema.js +17 -1
- package/dist/summary/documentSchema.js.map +1 -1
- package/dist/summary/orderedClientElection.js +19 -11
- package/dist/summary/orderedClientElection.js.map +1 -1
- package/dist/summary/runWhileConnectedCoordinator.js +4 -2
- package/dist/summary/runWhileConnectedCoordinator.js.map +1 -1
- package/dist/summary/runningSummarizer.d.ts +1 -1
- package/dist/summary/runningSummarizer.d.ts.map +1 -1
- package/dist/summary/runningSummarizer.js +56 -38
- package/dist/summary/runningSummarizer.js.map +1 -1
- package/dist/summary/summarizer.js +17 -8
- package/dist/summary/summarizer.js.map +1 -1
- package/dist/summary/summarizerClientElection.js +18 -7
- package/dist/summary/summarizerClientElection.js.map +1 -1
- package/dist/summary/summarizerHeuristics.js +30 -25
- package/dist/summary/summarizerHeuristics.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.d.ts +1 -2
- package/dist/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/dist/summary/summarizerNode/summarizerNode.js +12 -3
- package/dist/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeUtils.js +2 -0
- package/dist/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/dist/summary/summarizerNode/summarizerNodeWithGc.js +20 -6
- package/dist/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/dist/summary/summarizerTypes.d.ts +2 -2
- package/dist/summary/summarizerTypes.d.ts.map +1 -1
- package/dist/summary/summarizerTypes.js.map +1 -1
- package/dist/summary/summaryCollection.d.ts +1 -2
- package/dist/summary/summaryCollection.d.ts.map +1 -1
- package/dist/summary/summaryCollection.js +23 -11
- package/dist/summary/summaryCollection.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +1 -2
- package/dist/summary/summaryFormat.d.ts.map +1 -1
- package/dist/summary/summaryFormat.js.map +1 -1
- package/dist/summary/summaryGenerator.js +12 -5
- package/dist/summary/summaryGenerator.js.map +1 -1
- package/dist/summary/summaryManager.js +58 -48
- package/dist/summary/summaryManager.js.map +1 -1
- package/dist/throttler.js +4 -1
- package/dist/throttler.js.map +1 -1
- package/lib/batchTracker.js +5 -1
- package/lib/batchTracker.js.map +1 -1
- package/lib/blobManager.d.ts +1 -18
- package/lib/blobManager.d.ts.map +1 -1
- package/lib/blobManager.js +39 -48
- package/lib/blobManager.js.map +1 -1
- package/lib/channelCollection.d.ts +2 -11
- package/lib/channelCollection.d.ts.map +1 -1
- package/lib/channelCollection.js +34 -49
- package/lib/channelCollection.js.map +1 -1
- package/lib/connectionTelemetry.d.ts +1 -2
- package/lib/connectionTelemetry.d.ts.map +1 -1
- package/lib/connectionTelemetry.js +33 -15
- package/lib/connectionTelemetry.js.map +1 -1
- package/lib/containerHandleContext.js +4 -0
- package/lib/containerHandleContext.js.map +1 -1
- package/lib/containerRuntime.d.ts +7 -18
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +145 -43
- package/lib/containerRuntime.js.map +1 -1
- package/lib/dataStore.js +9 -1
- package/lib/dataStore.js.map +1 -1
- package/lib/dataStoreContext.d.ts +2 -16
- package/lib/dataStoreContext.d.ts.map +1 -1
- package/lib/dataStoreContext.js +144 -122
- package/lib/dataStoreContext.js.map +1 -1
- package/lib/dataStoreContexts.js +29 -28
- package/lib/dataStoreContexts.js.map +1 -1
- package/lib/dataStoreRegistry.js +1 -0
- package/lib/dataStoreRegistry.js.map +1 -1
- package/lib/deltaManagerProxies.d.ts +4 -4
- package/lib/deltaManagerProxies.d.ts.map +1 -1
- package/lib/deltaManagerProxies.js +33 -28
- package/lib/deltaManagerProxies.js.map +1 -1
- package/lib/deltaScheduler.d.ts +1 -2
- package/lib/deltaScheduler.d.ts.map +1 -1
- package/lib/deltaScheduler.js +13 -9
- package/lib/deltaScheduler.js.map +1 -1
- package/lib/error.js +2 -1
- package/lib/error.js.map +1 -1
- package/lib/gc/garbageCollection.d.ts.map +1 -1
- package/lib/gc/garbageCollection.js +37 -17
- package/lib/gc/garbageCollection.js.map +1 -1
- package/lib/gc/gcDefinitions.d.ts +0 -4
- package/lib/gc/gcDefinitions.d.ts.map +1 -1
- package/lib/gc/gcDefinitions.js +0 -2
- package/lib/gc/gcDefinitions.js.map +1 -1
- package/lib/gc/gcSummaryStateTracker.js +19 -14
- package/lib/gc/gcSummaryStateTracker.js.map +1 -1
- package/lib/gc/gcTelemetry.js +12 -5
- package/lib/gc/gcTelemetry.js.map +1 -1
- package/lib/gc/gcUnreferencedStateTracker.js +12 -1
- 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/messageTypes.d.ts +1 -1
- package/lib/messageTypes.d.ts.map +1 -1
- package/lib/messageTypes.js.map +1 -1
- package/lib/opLifecycle/batchManager.js +5 -3
- package/lib/opLifecycle/batchManager.js.map +1 -1
- package/lib/opLifecycle/opCompressor.js +1 -0
- package/lib/opLifecycle/opCompressor.js.map +1 -1
- package/lib/opLifecycle/opDecompressor.d.ts +1 -1
- package/lib/opLifecycle/opDecompressor.d.ts.map +1 -1
- package/lib/opLifecycle/opDecompressor.js +6 -4
- package/lib/opLifecycle/opDecompressor.js.map +1 -1
- package/lib/opLifecycle/opGroupingManager.d.ts +1 -1
- package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/lib/opLifecycle/opGroupingManager.js +3 -1
- package/lib/opLifecycle/opGroupingManager.js.map +1 -1
- package/lib/opLifecycle/opSplitter.d.ts +1 -1
- package/lib/opLifecycle/opSplitter.d.ts.map +1 -1
- package/lib/opLifecycle/opSplitter.js +6 -0
- package/lib/opLifecycle/opSplitter.js.map +1 -1
- package/lib/opLifecycle/outbox.js +15 -10
- package/lib/opLifecycle/outbox.js.map +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.d.ts +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
- package/lib/opLifecycle/remoteMessageProcessor.js +4 -1
- package/lib/opLifecycle/remoteMessageProcessor.js.map +1 -1
- package/lib/opProperties.d.ts +1 -1
- package/lib/opProperties.d.ts.map +1 -1
- package/lib/opProperties.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/pendingStateManager.d.ts.map +1 -1
- package/lib/pendingStateManager.js +34 -18
- package/lib/pendingStateManager.js.map +1 -1
- package/lib/scheduleManager.d.ts +1 -2
- package/lib/scheduleManager.d.ts.map +1 -1
- package/lib/scheduleManager.js +15 -4
- package/lib/scheduleManager.js.map +1 -1
- package/lib/storageServiceWithAttachBlobs.js +1 -0
- package/lib/storageServiceWithAttachBlobs.js.map +1 -1
- package/lib/summary/documentSchema.js +17 -1
- package/lib/summary/documentSchema.js.map +1 -1
- package/lib/summary/orderedClientElection.js +19 -11
- package/lib/summary/orderedClientElection.js.map +1 -1
- package/lib/summary/runWhileConnectedCoordinator.js +4 -2
- package/lib/summary/runWhileConnectedCoordinator.js.map +1 -1
- package/lib/summary/runningSummarizer.d.ts +1 -1
- package/lib/summary/runningSummarizer.d.ts.map +1 -1
- package/lib/summary/runningSummarizer.js +57 -39
- package/lib/summary/runningSummarizer.js.map +1 -1
- package/lib/summary/summarizer.js +17 -8
- package/lib/summary/summarizer.js.map +1 -1
- package/lib/summary/summarizerClientElection.js +18 -7
- package/lib/summary/summarizerClientElection.js.map +1 -1
- package/lib/summary/summarizerHeuristics.js +30 -25
- package/lib/summary/summarizerHeuristics.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNode.d.ts +1 -2
- package/lib/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
- package/lib/summary/summarizerNode/summarizerNode.js +12 -3
- package/lib/summary/summarizerNode/summarizerNode.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeUtils.js +2 -0
- package/lib/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
- package/lib/summary/summarizerNode/summarizerNodeWithGc.js +20 -6
- package/lib/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
- package/lib/summary/summarizerTypes.d.ts +2 -2
- package/lib/summary/summarizerTypes.d.ts.map +1 -1
- package/lib/summary/summarizerTypes.js.map +1 -1
- package/lib/summary/summaryCollection.d.ts +1 -2
- package/lib/summary/summaryCollection.d.ts.map +1 -1
- package/lib/summary/summaryCollection.js +23 -11
- package/lib/summary/summaryCollection.js.map +1 -1
- package/lib/summary/summaryFormat.d.ts +1 -2
- package/lib/summary/summaryFormat.d.ts.map +1 -1
- package/lib/summary/summaryFormat.js.map +1 -1
- package/lib/summary/summaryGenerator.js +12 -5
- package/lib/summary/summaryGenerator.js.map +1 -1
- package/lib/summary/summaryManager.js +58 -48
- package/lib/summary/summaryManager.js.map +1 -1
- package/lib/throttler.js +4 -1
- package/lib/throttler.js.map +1 -1
- package/package.json +19 -19
- package/src/batchTracker.ts +1 -1
- package/src/blobManager.ts +1 -39
- package/src/channelCollection.ts +19 -72
- package/src/connectionTelemetry.ts +5 -2
- package/src/containerRuntime.ts +9 -32
- package/src/dataStoreContext.ts +4 -38
- package/src/deltaManagerProxies.ts +3 -5
- package/src/deltaScheduler.ts +4 -2
- package/src/gc/garbageCollection.ts +0 -2
- package/src/gc/gcDefinitions.ts +0 -4
- package/src/gc/index.ts +0 -1
- package/src/messageTypes.ts +1 -1
- package/src/opLifecycle/opDecompressor.ts +1 -1
- package/src/opLifecycle/opGroupingManager.ts +1 -1
- package/src/opLifecycle/opSplitter.ts +1 -1
- package/src/opLifecycle/remoteMessageProcessor.ts +4 -2
- package/src/opProperties.ts +4 -2
- package/src/packageVersion.ts +1 -1
- package/src/pendingStateManager.ts +16 -5
- package/src/scheduleManager.ts +4 -2
- package/src/summary/images/appTree.png +0 -0
- package/src/summary/images/protocolAndAppTree.png +0 -0
- package/src/summary/images/summaryTree.png +0 -0
- package/src/summary/runningSummarizer.ts +5 -2
- package/src/summary/summarizerNode/summarizerNode.ts +5 -2
- package/src/summary/summarizerTypes.ts +5 -2
- package/src/summary/summaryCollection.ts +1 -1
- package/src/summary/summaryFormat.ts +2 -1
- package/src/summary/summaryFormats.md +160 -0
- package/tsconfig.json +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## API Report File for "@fluidframework/container-runtime"
|
|
1
|
+
## Alpha API Report File for "@fluidframework/container-runtime"
|
|
2
2
|
|
|
3
3
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
@@ -47,8 +47,8 @@ import { IQuorumClients } from '@fluidframework/driver-definitions';
|
|
|
47
47
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
48
48
|
import { IResponse } from '@fluidframework/core-interfaces';
|
|
49
49
|
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
50
|
-
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
|
|
51
|
-
import { ISignalMessage } from '@fluidframework/driver-definitions';
|
|
50
|
+
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
51
|
+
import { ISignalMessage } from '@fluidframework/driver-definitions/internal';
|
|
52
52
|
import type { ISnapshot } from '@fluidframework/driver-definitions/internal';
|
|
53
53
|
import { ISnapshotTree } from '@fluidframework/driver-definitions/internal';
|
|
54
54
|
import { ISummarizeResult } from '@fluidframework/runtime-definitions/internal';
|
|
@@ -68,120 +68,9 @@ import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-defi
|
|
|
68
68
|
import { SummarizeInternalFn } from '@fluidframework/runtime-definitions/internal';
|
|
69
69
|
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
70
70
|
|
|
71
|
-
// @internal
|
|
72
|
-
export const agentSchedulerId = "_scheduler";
|
|
73
|
-
|
|
74
|
-
// @internal
|
|
75
|
-
export const AllowInactiveRequestHeaderKey = "allowInactive";
|
|
76
|
-
|
|
77
71
|
// @alpha
|
|
78
72
|
export const AllowTombstoneRequestHeaderKey = "allowTombstone";
|
|
79
73
|
|
|
80
|
-
// @internal
|
|
81
|
-
export class ChannelCollection implements IFluidDataStoreChannel, IDisposable {
|
|
82
|
-
constructor(baseSnapshot: ISnapshotTree | ISnapshot | undefined, parentContext: IFluidParentContext, baseLogger: ITelemetryBaseLogger, gcNodeUpdated: (props: IGCNodeUpdatedProps) => void, isDataStoreDeleted: (nodePath: string) => boolean, aliasMap: Map<string, string>, provideEntryPoint: (runtime: ChannelCollection) => Promise<FluidObject>);
|
|
83
|
-
// (undocumented)
|
|
84
|
-
get aliases(): ReadonlyMap<string, string>;
|
|
85
|
-
// (undocumented)
|
|
86
|
-
protected applyStashedChannelChannelOp(envelope: IEnvelope): Promise<unknown>;
|
|
87
|
-
// (undocumented)
|
|
88
|
-
applyStashedOp(content: unknown): Promise<unknown>;
|
|
89
|
-
// (undocumented)
|
|
90
|
-
readonly attachOpFiredForDataStore: Set<string>;
|
|
91
|
-
// (undocumented)
|
|
92
|
-
protected readonly baseSnapshot: ISnapshotTree | ISnapshot | undefined;
|
|
93
|
-
// (undocumented)
|
|
94
|
-
readonly containerLoadStats: {
|
|
95
|
-
readonly containerLoadDataStoreCount: number;
|
|
96
|
-
readonly referencedDataStoreCount: number;
|
|
97
|
-
};
|
|
98
|
-
// (undocumented)
|
|
99
|
-
protected readonly contexts: DataStoreContexts;
|
|
100
|
-
// (undocumented)
|
|
101
|
-
protected createContext<T extends LocalFluidDataStoreContext>(id: string, pkg: Readonly<string[]>, contextCtor: new (props: ILocalDetachedFluidDataStoreContextProps) => T, createProps?: any, loadingGroupId?: string): T;
|
|
102
|
-
// (undocumented)
|
|
103
|
-
createDataStoreContext(pkg: Readonly<string[]>, props?: any, loadingGroupId?: string): IFluidDataStoreContextInternal;
|
|
104
|
-
protected createDataStoreId(): string;
|
|
105
|
-
// (undocumented)
|
|
106
|
-
createDetachedDataStore(pkg: Readonly<string[]>, loadingGroupId?: string): IFluidDataStoreContextDetached;
|
|
107
|
-
// (undocumented)
|
|
108
|
-
deleteChild(dataStoreId: string): void;
|
|
109
|
-
deleteSweepReadyNodes(sweepReadyDataStoreRoutes: readonly string[]): readonly string[];
|
|
110
|
-
// (undocumented)
|
|
111
|
-
readonly dispose: () => void;
|
|
112
|
-
// (undocumented)
|
|
113
|
-
get disposed(): boolean;
|
|
114
|
-
// (undocumented)
|
|
115
|
-
readonly entryPoint: IFluidHandleInternal<FluidObject>;
|
|
116
|
-
getAttachSummary(telemetryContext?: ITelemetryContext): ISummaryTreeWithStats;
|
|
117
|
-
getDataStoreIfAvailable(id: string, requestHeaderData: RuntimeHeaderData): Promise<IFluidDataStoreContextInternal | undefined>;
|
|
118
|
-
getDataStorePackagePath(nodePath: string): Promise<readonly string[] | undefined>;
|
|
119
|
-
getGCData(fullGC?: boolean): Promise<IGarbageCollectionData>;
|
|
120
|
-
getGCNodeType(nodePath: string): GCNodeType | undefined;
|
|
121
|
-
// (undocumented)
|
|
122
|
-
internalId(maybeAlias: string): string;
|
|
123
|
-
makeVisibleAndAttachGraph(): void;
|
|
124
|
-
// (undocumented)
|
|
125
|
-
protected readonly mc: MonitoringContext;
|
|
126
|
-
// (undocumented)
|
|
127
|
-
readonly parentContext: IFluidParentContext;
|
|
128
|
-
// (undocumented)
|
|
129
|
-
get pendingAliases(): Map<string, Promise<AliasResult>>;
|
|
130
|
-
// (undocumented)
|
|
131
|
-
process(message: ISequencedDocumentMessage, local: boolean, localMessageMetadata: unknown, addedOutboundReference?: (fromNodePath: string, toNodePath: string) => void): void;
|
|
132
|
-
// (undocumented)
|
|
133
|
-
processAliasMessageCore(internalId: string, alias: string): boolean;
|
|
134
|
-
// (undocumented)
|
|
135
|
-
protected processChannelOp(address: string, message: ISequencedDocumentMessage, local: boolean, localMessageMetadata: unknown): void;
|
|
136
|
-
// (undocumented)
|
|
137
|
-
processSignal(messageArg: IInboundSignalMessage, local: boolean): void;
|
|
138
|
-
// (undocumented)
|
|
139
|
-
request(request: IRequest): Promise<IResponse>;
|
|
140
|
-
// (undocumented)
|
|
141
|
-
reSubmit(type: string, content: any, localOpMetadata: unknown): void;
|
|
142
|
-
// (undocumented)
|
|
143
|
-
protected reSubmitChannelOp(type: string, content: any, localOpMetadata: unknown): void;
|
|
144
|
-
// (undocumented)
|
|
145
|
-
rollback(type: string, content: any, localOpMetadata: unknown): void;
|
|
146
|
-
// (undocumented)
|
|
147
|
-
setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
148
|
-
// (undocumented)
|
|
149
|
-
setConnectionState(connected: boolean, clientId?: string): void;
|
|
150
|
-
// (undocumented)
|
|
151
|
-
get size(): number;
|
|
152
|
-
// (undocumented)
|
|
153
|
-
protected submitAttachChannelOp(localContext: LocalFluidDataStoreContext): void;
|
|
154
|
-
// (undocumented)
|
|
155
|
-
summarize(fullTree: boolean, trackState: boolean, telemetryContext?: ITelemetryContext): Promise<ISummaryTreeWithStats>;
|
|
156
|
-
updateStateBeforeGC(): Promise<void>;
|
|
157
|
-
updateTombstonedRoutes(tombstonedRoutes: readonly string[]): void;
|
|
158
|
-
updateUsedRoutes(usedRoutes: readonly string[]): void;
|
|
159
|
-
// (undocumented)
|
|
160
|
-
waitIfPendingAlias(maybeAlias: string): Promise<AliasResult>;
|
|
161
|
-
// (undocumented)
|
|
162
|
-
protected wrapContextForInnerChannel(id: string): IFluidParentContext;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @internal (undocumented)
|
|
166
|
-
export class ChannelCollectionFactory<T extends ChannelCollection = ChannelCollection> implements IFluidDataStoreFactory {
|
|
167
|
-
constructor(registryEntries: NamedFluidDataStoreRegistryEntries, provideEntryPoint: (runtime: IFluidDataStoreChannel) => Promise<FluidObject>, ctor: (...args: ConstructorParameters<typeof ChannelCollection>) => T);
|
|
168
|
-
// (undocumented)
|
|
169
|
-
get IFluidDataStoreFactory(): this;
|
|
170
|
-
// (undocumented)
|
|
171
|
-
IFluidDataStoreRegistry: IFluidDataStoreRegistry;
|
|
172
|
-
// (undocumented)
|
|
173
|
-
instantiateDataStore(context: IFluidDataStoreContext, _existing: boolean): Promise<IFluidDataStoreChannel>;
|
|
174
|
-
// (undocumented)
|
|
175
|
-
readonly type = "ChannelCollectionChannel";
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// @internal
|
|
179
|
-
export type CompatModeBehavior =
|
|
180
|
-
/** Ignore the op. It won't be persisted if this client summarizes */
|
|
181
|
-
"Ignore"
|
|
182
|
-
/** Fail processing immediately. (The container will close) */
|
|
183
|
-
| "FailToProcess";
|
|
184
|
-
|
|
185
74
|
// @alpha
|
|
186
75
|
export enum CompressionAlgorithms {
|
|
187
76
|
// (undocumented)
|
|
@@ -212,11 +101,7 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents
|
|
|
212
101
|
protected constructor(context: IContainerContext, registry: IFluidDataStoreRegistry, metadata: IContainerRuntimeMetadata | undefined, electedSummarizerData: ISerializedElection | undefined, chunks: [string, string[]][], dataStoreAliasMap: [string, string][], runtimeOptions: Readonly<Required<IContainerRuntimeOptions>>, containerScope: FluidObject, baseLogger: ITelemetryBaseLogger, existing: boolean, blobManagerSnapshot: IBlobManagerLoadInfo, _storage: IDocumentStorageService, createIdCompressor: () => Promise<IIdCompressor & IIdCompressorCore>, documentsSchemaController: DocumentsSchemaController, featureGatesForTelemetry: Record<string, boolean | number | undefined>, provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>, requestHandler?: ((request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>) | undefined, summaryConfiguration?: ISummaryConfiguration);
|
|
213
102
|
// (undocumented)
|
|
214
103
|
protected addContainerStateToSummary(summaryTree: ISummaryTreeWithStats, fullTree: boolean, trackState: boolean, telemetryContext?: ITelemetryContext): void;
|
|
215
|
-
|
|
216
|
-
absolutePath: string;
|
|
217
|
-
}, outboundHandle: {
|
|
218
|
-
absolutePath: string;
|
|
219
|
-
}): void;
|
|
104
|
+
addedGCOutboundRoute(fromPath: string, toPath: string): void;
|
|
220
105
|
// (undocumented)
|
|
221
106
|
get attachState(): AttachState;
|
|
222
107
|
// (undocumented)
|
|
@@ -351,62 +236,21 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents
|
|
|
351
236
|
// (undocumented)
|
|
352
237
|
summarizeOnDemand(options: IOnDemandSummarizeOptions): ISummarizeResults;
|
|
353
238
|
get summarizerClientId(): string | undefined;
|
|
354
|
-
updateStateBeforeGC(): Promise<void>;
|
|
355
239
|
updateTombstonedRoutes(tombstonedRoutes: readonly string[]): void;
|
|
356
240
|
updateUsedRoutes(usedRoutes: readonly string[]): void;
|
|
357
241
|
// (undocumented)
|
|
358
242
|
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandleInternal<ArrayBufferLike>>;
|
|
359
243
|
}
|
|
360
244
|
|
|
361
|
-
// @internal @deprecated
|
|
362
|
-
export interface ContainerRuntimeMessage {
|
|
363
|
-
compatDetails?: IContainerRuntimeMessageCompatDetails;
|
|
364
|
-
contents: any;
|
|
365
|
-
type: ContainerMessageType;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
245
|
// @alpha
|
|
369
246
|
export const currentDocumentVersionSchema = 1;
|
|
370
247
|
|
|
371
|
-
// @internal (undocumented)
|
|
372
|
-
export class DataStoreContexts implements Iterable<[string, FluidDataStoreContext]>, IDisposable {
|
|
373
|
-
// (undocumented)
|
|
374
|
-
[Symbol.iterator](): Iterator<[string, FluidDataStoreContext]>;
|
|
375
|
-
constructor(baseLogger: ITelemetryBaseLogger);
|
|
376
|
-
addBoundOrRemoted(context: FluidDataStoreContext): void;
|
|
377
|
-
addUnbound(context: LocalFluidDataStoreContext): void;
|
|
378
|
-
bind(id: string): void;
|
|
379
|
-
// (undocumented)
|
|
380
|
-
delete(id: string): boolean;
|
|
381
|
-
// (undocumented)
|
|
382
|
-
readonly dispose: () => void;
|
|
383
|
-
// (undocumented)
|
|
384
|
-
get disposed(): boolean;
|
|
385
|
-
// (undocumented)
|
|
386
|
-
get(id: string): FluidDataStoreContext | undefined;
|
|
387
|
-
getBoundOrRemoted(id: string, wait: boolean): Promise<FluidDataStoreContext | undefined>;
|
|
388
|
-
// (undocumented)
|
|
389
|
-
getRecentlyDeletedContext(id: string): FluidDataStoreContext | undefined;
|
|
390
|
-
getUnbound(id: string): LocalFluidDataStoreContext | undefined;
|
|
391
|
-
// (undocumented)
|
|
392
|
-
has(id: string): boolean;
|
|
393
|
-
// (undocumented)
|
|
394
|
-
isNotBound(id: string): boolean;
|
|
395
|
-
// (undocumented)
|
|
396
|
-
notBoundLength(): number;
|
|
397
|
-
// (undocumented)
|
|
398
|
-
get size(): number;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
248
|
// @alpha (undocumented)
|
|
402
249
|
export const DefaultSummaryConfiguration: ISummaryConfiguration;
|
|
403
250
|
|
|
404
251
|
// @alpha
|
|
405
252
|
export const DeletedResponseHeaderKey = "wasDeleted";
|
|
406
253
|
|
|
407
|
-
// @internal
|
|
408
|
-
export function detectOutboundReferences(address: string, contents: unknown, addedOutboundReference: (fromNodePath: string, toNodePath: string) => void): void;
|
|
409
|
-
|
|
410
254
|
// @alpha (undocumented)
|
|
411
255
|
export const disabledCompressionConfig: ICompressionRuntimeOptions;
|
|
412
256
|
|
|
@@ -437,154 +281,6 @@ export type EnqueueSummarizeResult = (ISummarizeResults & {
|
|
|
437
281
|
readonly overridden?: undefined;
|
|
438
282
|
};
|
|
439
283
|
|
|
440
|
-
// @internal
|
|
441
|
-
export abstract class FluidDataStoreContext extends TypedEventEmitter<IFluidDataStoreContextEvents> implements IFluidDataStoreContextInternal, IFluidParentContext, IDisposable {
|
|
442
|
-
constructor(props: IFluidDataStoreContextProps, existing: boolean, isLocalDataStore: boolean, makeLocallyVisibleFn: () => void);
|
|
443
|
-
// @deprecated (undocumented)
|
|
444
|
-
addedGCOutboundReference(srcHandle: IFluidHandleInternal, outboundHandle: IFluidHandleInternal): void;
|
|
445
|
-
addedGCOutboundRoute(fromPath: string, toPath: string): void;
|
|
446
|
-
// (undocumented)
|
|
447
|
-
applyStashedOp(contents: any): Promise<unknown>;
|
|
448
|
-
// (undocumented)
|
|
449
|
-
get attachState(): AttachState;
|
|
450
|
-
// (undocumented)
|
|
451
|
-
protected _attachState: AttachState;
|
|
452
|
-
// (undocumented)
|
|
453
|
-
get baseLogger(): ITelemetryBaseLogger;
|
|
454
|
-
// (undocumented)
|
|
455
|
-
get baseSnapshot(): ISnapshotTree | undefined;
|
|
456
|
-
// (undocumented)
|
|
457
|
-
protected _baseSnapshot: ISnapshotTree | undefined;
|
|
458
|
-
// (undocumented)
|
|
459
|
-
protected bindRuntime(channel: IFluidDataStoreChannel, existing: boolean): Promise<void>;
|
|
460
|
-
// (undocumented)
|
|
461
|
-
protected channel: IFluidDataStoreChannel | undefined;
|
|
462
|
-
// (undocumented)
|
|
463
|
-
protected channelP: Promise<IFluidDataStoreChannel> | undefined;
|
|
464
|
-
// (undocumented)
|
|
465
|
-
get clientDetails(): IClientDetails;
|
|
466
|
-
// (undocumented)
|
|
467
|
-
get clientId(): string | undefined;
|
|
468
|
-
// (undocumented)
|
|
469
|
-
protected completeBindingRuntime(channel: IFluidDataStoreChannel): void;
|
|
470
|
-
// (undocumented)
|
|
471
|
-
get connected(): boolean;
|
|
472
|
-
// (undocumented)
|
|
473
|
-
get containerRuntime(): IContainerRuntimeBase;
|
|
474
|
-
delete(): void;
|
|
475
|
-
// (undocumented)
|
|
476
|
-
deleteChildSummarizerNode(id: string): void;
|
|
477
|
-
protected deleted: boolean;
|
|
478
|
-
// (undocumented)
|
|
479
|
-
get deltaManager(): IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;
|
|
480
|
-
// (undocumented)
|
|
481
|
-
protected detachedRuntimeCreation: boolean;
|
|
482
|
-
// (undocumented)
|
|
483
|
-
dispose(): void;
|
|
484
|
-
// (undocumented)
|
|
485
|
-
get disposed(): boolean;
|
|
486
|
-
// (undocumented)
|
|
487
|
-
ensureNoDataModelChanges<T>(callback: () => T): T;
|
|
488
|
-
// (undocumented)
|
|
489
|
-
protected factoryFromPackagePath(): Promise<IFluidDataStoreFactory>;
|
|
490
|
-
readonly gcThrowOnTombstoneUsage: boolean;
|
|
491
|
-
// (undocumented)
|
|
492
|
-
readonly gcTombstoneEnforcementAllowed: boolean;
|
|
493
|
-
// (undocumented)
|
|
494
|
-
getAbsoluteUrl(relativeUrl: string): Promise<string | undefined>;
|
|
495
|
-
abstract getAttachData(includeGCData: boolean, telemetryContext?: ITelemetryContext): {
|
|
496
|
-
attachSummary: ISummaryTreeWithStats;
|
|
497
|
-
type: string;
|
|
498
|
-
};
|
|
499
|
-
// (undocumented)
|
|
500
|
-
getAudience(): IAudience;
|
|
501
|
-
// @deprecated (undocumented)
|
|
502
|
-
getBaseGCDetails(): Promise<IGarbageCollectionDetailsBase>;
|
|
503
|
-
// (undocumented)
|
|
504
|
-
getCreateChildSummarizerNodeFn(id: string, createParam: CreateChildSummarizerNodeParam): (summarizeInternal: SummarizeInternalFn, getGCDataFn: (fullGC?: boolean) => Promise<IGarbageCollectionData>) => ISummarizerNodeWithGC;
|
|
505
|
-
getGCData(fullGC?: boolean): Promise<IGarbageCollectionData>;
|
|
506
|
-
// (undocumented)
|
|
507
|
-
abstract getInitialSnapshotDetails(): Promise<ISnapshotDetails>;
|
|
508
|
-
// (undocumented)
|
|
509
|
-
getQuorum(): IQuorumClients;
|
|
510
|
-
// (undocumented)
|
|
511
|
-
readonly id: string;
|
|
512
|
-
// (undocumented)
|
|
513
|
-
get idCompressor(): IIdCompressor | undefined;
|
|
514
|
-
protected identifyLocalChangeInSummarizer(eventName: string, type?: string): void;
|
|
515
|
-
// (undocumented)
|
|
516
|
-
get IFluidDataStoreRegistry(): IFluidDataStoreRegistry | undefined;
|
|
517
|
-
// (undocumented)
|
|
518
|
-
get IFluidHandleContext(): IFluidHandleContext;
|
|
519
|
-
protected isInMemoryRoot(): boolean;
|
|
520
|
-
// (undocumented)
|
|
521
|
-
get isLoaded(): boolean;
|
|
522
|
-
// (undocumented)
|
|
523
|
-
readonly isLocalDataStore: boolean;
|
|
524
|
-
isRoot(aliasedDataStores?: Set<string>): Promise<boolean>;
|
|
525
|
-
// (undocumented)
|
|
526
|
-
readonly loadingGroupId: string | undefined;
|
|
527
|
-
makeLocallyVisible(): void;
|
|
528
|
-
// (undocumented)
|
|
529
|
-
protected readonly mc: MonitoringContext;
|
|
530
|
-
// (undocumented)
|
|
531
|
-
get options(): Record<string | number, any>;
|
|
532
|
-
// (undocumented)
|
|
533
|
-
get packagePath(): readonly string[];
|
|
534
|
-
// (undocumented)
|
|
535
|
-
protected pending: ISequencedDocumentMessage[] | undefined;
|
|
536
|
-
// (undocumented)
|
|
537
|
-
protected pkg?: readonly string[];
|
|
538
|
-
// (undocumented)
|
|
539
|
-
process(message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown): void;
|
|
540
|
-
// (undocumented)
|
|
541
|
-
protected processPendingOps(channel: IFluidDataStoreChannel): void;
|
|
542
|
-
// (undocumented)
|
|
543
|
-
processSignal(message: IInboundSignalMessage, local: boolean): void;
|
|
544
|
-
// (undocumented)
|
|
545
|
-
realize(): Promise<IFluidDataStoreChannel>;
|
|
546
|
-
// (undocumented)
|
|
547
|
-
protected registry: IFluidDataStoreRegistry | undefined;
|
|
548
|
-
// @deprecated (undocumented)
|
|
549
|
-
request(request: IRequest): Promise<IResponse>;
|
|
550
|
-
// (undocumented)
|
|
551
|
-
reSubmit(type: string, contents: any, localOpMetadata: unknown): void;
|
|
552
|
-
// (undocumented)
|
|
553
|
-
rollback(type: string, contents: any, localOpMetadata: unknown): void;
|
|
554
|
-
// (undocumented)
|
|
555
|
-
readonly scope: FluidObject;
|
|
556
|
-
// (undocumented)
|
|
557
|
-
abstract setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
558
|
-
setChannelDirty(address: string): void;
|
|
559
|
-
setConnectionState(connected: boolean, clientId?: string): void;
|
|
560
|
-
// @deprecated (undocumented)
|
|
561
|
-
setInMemoryRoot(): void;
|
|
562
|
-
// (undocumented)
|
|
563
|
-
setTombstone(tombstone: boolean): void;
|
|
564
|
-
// (undocumented)
|
|
565
|
-
readonly storage: IDocumentStorageService;
|
|
566
|
-
// (undocumented)
|
|
567
|
-
submitMessage(type: string, content: any, localOpMetadata: unknown): void;
|
|
568
|
-
submitSignal(type: string, content: unknown, targetClientId?: string): void;
|
|
569
|
-
summarize(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext): Promise<ISummarizeResult>;
|
|
570
|
-
// (undocumented)
|
|
571
|
-
protected readonly summarizerNode: ISummarizerNodeWithGC;
|
|
572
|
-
// (undocumented)
|
|
573
|
-
get tombstoned(): boolean;
|
|
574
|
-
updateUsedRoutes(usedRoutes: string[]): void;
|
|
575
|
-
// (undocumented)
|
|
576
|
-
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandleInternal<ArrayBufferLike>>;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
// @internal (undocumented)
|
|
580
|
-
export class FluidDataStoreRegistry implements IFluidDataStoreRegistry {
|
|
581
|
-
constructor(namedEntries: NamedFluidDataStoreRegistryEntries);
|
|
582
|
-
// (undocumented)
|
|
583
|
-
get(name: string): Promise<FluidDataStoreRegistryEntry | undefined>;
|
|
584
|
-
// (undocumented)
|
|
585
|
-
get IFluidDataStoreRegistry(): this;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
284
|
// @alpha (undocumented)
|
|
589
285
|
export type GCFeatureMatrix = {
|
|
590
286
|
gcGeneration?: number;
|
|
@@ -661,20 +357,6 @@ export interface ICancellationToken<T> {
|
|
|
661
357
|
readonly waitCancelled: Promise<T>;
|
|
662
358
|
}
|
|
663
359
|
|
|
664
|
-
// @internal (undocumented)
|
|
665
|
-
export interface IChunkedOp {
|
|
666
|
-
// (undocumented)
|
|
667
|
-
chunkId: number;
|
|
668
|
-
// (undocumented)
|
|
669
|
-
contents: string;
|
|
670
|
-
// (undocumented)
|
|
671
|
-
originalCompression?: string;
|
|
672
|
-
// (undocumented)
|
|
673
|
-
originalMetadata?: Record<string, unknown>;
|
|
674
|
-
// (undocumented)
|
|
675
|
-
totalChunks: number;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
360
|
// @alpha
|
|
679
361
|
export interface IClientSummaryWatcher extends IDisposable {
|
|
680
362
|
// (undocumented)
|
|
@@ -701,11 +383,6 @@ export interface IConnectableRuntime {
|
|
|
701
383
|
once(event: "connected" | "disconnected" | "dispose", listener: () => void): this;
|
|
702
384
|
}
|
|
703
385
|
|
|
704
|
-
// @internal
|
|
705
|
-
export interface IContainerRuntimeMessageCompatDetails {
|
|
706
|
-
behavior: CompatModeBehavior;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
386
|
// @alpha (undocumented)
|
|
710
387
|
export interface IContainerRuntimeMetadata extends ICreateContainerMetadata, IGCMetadata {
|
|
711
388
|
readonly disableIsolatedChannels?: true;
|
|
@@ -813,45 +490,6 @@ export interface IFluidDataStoreAttributes2 extends OmitAttributesVersions<IFlui
|
|
|
813
490
|
readonly summaryFormatVersion: 2;
|
|
814
491
|
}
|
|
815
492
|
|
|
816
|
-
// @internal (undocumented)
|
|
817
|
-
export interface IFluidDataStoreContextEvents extends IEvent {
|
|
818
|
-
// (undocumented)
|
|
819
|
-
(event: "attaching" | "attached", listener: () => void): any;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
// @internal
|
|
823
|
-
export interface IFluidDataStoreContextInternal extends IFluidDataStoreContext {
|
|
824
|
-
// (undocumented)
|
|
825
|
-
getAttachData(includeGCData: boolean, telemetryContext?: ITelemetryContext): {
|
|
826
|
-
attachSummary: ISummaryTreeWithStats;
|
|
827
|
-
type: string;
|
|
828
|
-
};
|
|
829
|
-
// (undocumented)
|
|
830
|
-
getInitialSnapshotDetails(): Promise<ISnapshotDetails>;
|
|
831
|
-
// (undocumented)
|
|
832
|
-
isRoot(): Promise<boolean>;
|
|
833
|
-
// (undocumented)
|
|
834
|
-
realize(): Promise<IFluidDataStoreChannel>;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
// @internal
|
|
838
|
-
export interface IFluidDataStoreContextProps {
|
|
839
|
-
// (undocumented)
|
|
840
|
-
readonly createSummarizerNodeFn: CreateChildSummarizerNodeFn;
|
|
841
|
-
// (undocumented)
|
|
842
|
-
readonly id: string;
|
|
843
|
-
// (undocumented)
|
|
844
|
-
readonly loadingGroupId?: string;
|
|
845
|
-
// (undocumented)
|
|
846
|
-
readonly parentContext: IFluidParentContext;
|
|
847
|
-
// (undocumented)
|
|
848
|
-
readonly pkg?: Readonly<string[]>;
|
|
849
|
-
// (undocumented)
|
|
850
|
-
readonly scope: FluidObject;
|
|
851
|
-
// (undocumented)
|
|
852
|
-
readonly storage: IDocumentStorageService;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
493
|
// @alpha
|
|
856
494
|
export interface IGCMetadata {
|
|
857
495
|
readonly gcFeature?: GCVersion;
|
|
@@ -862,19 +500,6 @@ export interface IGCMetadata {
|
|
|
862
500
|
readonly tombstoneTimeoutMs?: number;
|
|
863
501
|
}
|
|
864
502
|
|
|
865
|
-
// @internal
|
|
866
|
-
export interface IGCNodeUpdatedProps {
|
|
867
|
-
headerData?: RuntimeHeaderData;
|
|
868
|
-
node: {
|
|
869
|
-
type: (typeof GCNodeType)["DataStore" | "Blob"];
|
|
870
|
-
path: string;
|
|
871
|
-
};
|
|
872
|
-
packagePath?: readonly string[];
|
|
873
|
-
reason: "Loaded" | "Changed";
|
|
874
|
-
request?: IRequest;
|
|
875
|
-
timestampMs?: number;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
503
|
// @alpha (undocumented)
|
|
879
504
|
export interface IGCRuntimeOptions {
|
|
880
505
|
[key: string]: any;
|
|
@@ -907,24 +532,6 @@ export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "
|
|
|
907
532
|
readonly summaryTree: ISummaryTree;
|
|
908
533
|
}
|
|
909
534
|
|
|
910
|
-
// @internal
|
|
911
|
-
export interface ILocalDetachedFluidDataStoreContextProps extends ILocalFluidDataStoreContextProps {
|
|
912
|
-
// (undocumented)
|
|
913
|
-
readonly channelToDataStoreFn: (channel: IFluidDataStoreChannel) => IDataStore;
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
// @internal
|
|
917
|
-
export interface ILocalFluidDataStoreContextProps extends IFluidDataStoreContextProps {
|
|
918
|
-
// @deprecated (undocumented)
|
|
919
|
-
readonly createProps?: any;
|
|
920
|
-
// (undocumented)
|
|
921
|
-
readonly makeLocallyVisibleFn: () => void;
|
|
922
|
-
// (undocumented)
|
|
923
|
-
readonly pkg: Readonly<string[]> | undefined;
|
|
924
|
-
// (undocumented)
|
|
925
|
-
readonly snapshotTree: ISnapshotTree | undefined;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
535
|
// @alpha
|
|
929
536
|
export interface IMarkPhaseStats {
|
|
930
537
|
attachmentBlobCount: number;
|
|
@@ -976,21 +583,6 @@ export interface ISerializedElection {
|
|
|
976
583
|
readonly electionSequenceNumber: number;
|
|
977
584
|
}
|
|
978
585
|
|
|
979
|
-
// @internal (undocumented)
|
|
980
|
-
export interface ISnapshotDetails {
|
|
981
|
-
// (undocumented)
|
|
982
|
-
isRootDataStore: boolean;
|
|
983
|
-
// (undocumented)
|
|
984
|
-
pkg: readonly string[];
|
|
985
|
-
// (undocumented)
|
|
986
|
-
sequenceNumber?: number;
|
|
987
|
-
// (undocumented)
|
|
988
|
-
snapshot?: ISnapshotTree;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
// @internal @deprecated (undocumented)
|
|
992
|
-
export function isRuntimeMessage(message: ISequencedDocumentMessage): boolean;
|
|
993
|
-
|
|
994
586
|
// @alpha
|
|
995
587
|
export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stage" | "error"> {
|
|
996
588
|
readonly clientSequenceNumber: number;
|
|
@@ -1073,14 +665,6 @@ export interface ISummarizerRuntime extends IConnectableRuntime {
|
|
|
1073
665
|
readonly summarizerClientId: string | undefined;
|
|
1074
666
|
}
|
|
1075
667
|
|
|
1076
|
-
// @internal (undocumented)
|
|
1077
|
-
export interface ISummarizingWarning extends ContainerWarning {
|
|
1078
|
-
// (undocumented)
|
|
1079
|
-
readonly errorType: "summarizingError";
|
|
1080
|
-
// (undocumented)
|
|
1081
|
-
readonly logged: boolean;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
668
|
// @alpha
|
|
1085
669
|
export interface ISummary {
|
|
1086
670
|
// (undocumented)
|
|
@@ -1190,31 +774,6 @@ export interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "
|
|
|
1190
774
|
readonly uploadDuration: number;
|
|
1191
775
|
}
|
|
1192
776
|
|
|
1193
|
-
// @internal
|
|
1194
|
-
export class LocalFluidDataStoreContext extends LocalFluidDataStoreContextBase {
|
|
1195
|
-
constructor(props: ILocalFluidDataStoreContextProps);
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
// @internal
|
|
1199
|
-
export class LocalFluidDataStoreContextBase extends FluidDataStoreContext {
|
|
1200
|
-
constructor(props: ILocalFluidDataStoreContextProps);
|
|
1201
|
-
// @deprecated (undocumented)
|
|
1202
|
-
readonly createProps?: any;
|
|
1203
|
-
delete(): void;
|
|
1204
|
-
// (undocumented)
|
|
1205
|
-
getAttachData(includeGCData: boolean, telemetryContext?: ITelemetryContext): {
|
|
1206
|
-
attachSummary: ISummaryTreeWithStats;
|
|
1207
|
-
type: string;
|
|
1208
|
-
};
|
|
1209
|
-
// (undocumented)
|
|
1210
|
-
getInitialSnapshotDetails(): Promise<ISnapshotDetails>;
|
|
1211
|
-
// (undocumented)
|
|
1212
|
-
setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
// @internal
|
|
1216
|
-
export const neverCancelledSummaryToken: ISummaryCancellationToken;
|
|
1217
|
-
|
|
1218
777
|
// @alpha @deprecated (undocumented)
|
|
1219
778
|
export type OmitAttributesVersions<T> = Omit<T, "snapshotFormatVersion" | "summaryFormatVersion">;
|
|
1220
779
|
|
|
@@ -1227,29 +786,6 @@ export type OpActionEventName = MessageType.Summarize | MessageType.SummaryAck |
|
|
|
1227
786
|
// @alpha @deprecated
|
|
1228
787
|
export type ReadFluidDataStoreAttributes = IFluidDataStoreAttributes0 | IFluidDataStoreAttributes1 | IFluidDataStoreAttributes2;
|
|
1229
788
|
|
|
1230
|
-
// @internal
|
|
1231
|
-
export interface RecentlyAddedContainerRuntimeMessageDetails {
|
|
1232
|
-
compatDetails: IContainerRuntimeMessageCompatDetails;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
// @internal
|
|
1236
|
-
export interface RuntimeHeaderData {
|
|
1237
|
-
// (undocumented)
|
|
1238
|
-
allowInactive?: boolean;
|
|
1239
|
-
// (undocumented)
|
|
1240
|
-
allowTombstone?: boolean;
|
|
1241
|
-
// (undocumented)
|
|
1242
|
-
viaHandle?: boolean;
|
|
1243
|
-
// (undocumented)
|
|
1244
|
-
wait?: boolean;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
// @internal
|
|
1248
|
-
export enum RuntimeHeaders {
|
|
1249
|
-
viaHandle = "viaHandle",
|
|
1250
|
-
wait = "wait"
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
789
|
// @alpha
|
|
1254
790
|
export interface SubmitSummaryFailureData {
|
|
1255
791
|
// (undocumented)
|
|
@@ -1351,15 +887,6 @@ export type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
|
|
|
1351
887
|
// @alpha
|
|
1352
888
|
export const TombstoneResponseHeaderKey = "isTombstoned";
|
|
1353
889
|
|
|
1354
|
-
// @internal
|
|
1355
|
-
export interface UnknownContainerRuntimeMessage extends Partial<RecentlyAddedContainerRuntimeMessageDetails> {
|
|
1356
|
-
contents: unknown;
|
|
1357
|
-
type: "__unknown_container_message_type__never_use_as_value__";
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
// @internal
|
|
1361
|
-
export function unpackRuntimeMessage(message: ISequencedDocumentMessage): boolean;
|
|
1362
|
-
|
|
1363
890
|
// (No @packageDocumentation comment for this package)
|
|
1364
891
|
|
|
1365
892
|
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
## Beta API Report File for "@fluidframework/container-runtime"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { AliasResult } from '@fluidframework/runtime-definitions/internal';
|
|
8
|
+
import { AttachState } from '@fluidframework/container-definitions';
|
|
9
|
+
import { ContainerWarning } from '@fluidframework/container-definitions/internal';
|
|
10
|
+
import { CreateChildSummarizerNodeFn } from '@fluidframework/runtime-definitions/internal';
|
|
11
|
+
import { CreateChildSummarizerNodeParam } from '@fluidframework/runtime-definitions/internal';
|
|
12
|
+
import { FluidDataStoreRegistryEntry } from '@fluidframework/runtime-definitions/internal';
|
|
13
|
+
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
14
|
+
import { FlushMode } from '@fluidframework/runtime-definitions/internal';
|
|
15
|
+
import { IAudience } from '@fluidframework/container-definitions';
|
|
16
|
+
import { IClientDetails } from '@fluidframework/driver-definitions';
|
|
17
|
+
import { IContainerContext } from '@fluidframework/container-definitions/internal';
|
|
18
|
+
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
|
|
19
|
+
import { IContainerRuntimeBase } from '@fluidframework/runtime-definitions/internal';
|
|
20
|
+
import { IContainerRuntimeEvents } from '@fluidframework/container-runtime-definitions/internal';
|
|
21
|
+
import { ICriticalContainerError } from '@fluidframework/container-definitions';
|
|
22
|
+
import { IDataStore } from '@fluidframework/runtime-definitions/internal';
|
|
23
|
+
import { IDeltaManager } from '@fluidframework/container-definitions/internal';
|
|
24
|
+
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
25
|
+
import { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
26
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
27
|
+
import { IEnvelope } from '@fluidframework/runtime-definitions/internal';
|
|
28
|
+
import { IEvent } from '@fluidframework/core-interfaces';
|
|
29
|
+
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
30
|
+
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
|
|
31
|
+
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
|
|
32
|
+
import { IFluidDataStoreContextDetached } from '@fluidframework/runtime-definitions/internal';
|
|
33
|
+
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
34
|
+
import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
|
|
35
|
+
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
36
|
+
import { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
|
|
37
|
+
import { IFluidHandleInternal } from '@fluidframework/core-interfaces/internal';
|
|
38
|
+
import { IFluidParentContext } from '@fluidframework/runtime-definitions/internal';
|
|
39
|
+
import { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
|
|
40
|
+
import { IGarbageCollectionDetailsBase } from '@fluidframework/runtime-definitions/internal';
|
|
41
|
+
import { IGetPendingLocalStateProps } from '@fluidframework/container-definitions/internal';
|
|
42
|
+
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
43
|
+
import type { IIdCompressorCore } from '@fluidframework/id-compressor/internal';
|
|
44
|
+
import { IInboundSignalMessage } from '@fluidframework/runtime-definitions/internal';
|
|
45
|
+
import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces/internal';
|
|
46
|
+
import { IQuorumClients } from '@fluidframework/driver-definitions';
|
|
47
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
48
|
+
import { IResponse } from '@fluidframework/core-interfaces';
|
|
49
|
+
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
50
|
+
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
51
|
+
import { ISignalMessage } from '@fluidframework/driver-definitions/internal';
|
|
52
|
+
import type { ISnapshot } from '@fluidframework/driver-definitions/internal';
|
|
53
|
+
import { ISnapshotTree } from '@fluidframework/driver-definitions/internal';
|
|
54
|
+
import { ISummarizeResult } from '@fluidframework/runtime-definitions/internal';
|
|
55
|
+
import { ISummarizerNodeWithGC } from '@fluidframework/runtime-definitions/internal';
|
|
56
|
+
import { ISummaryAck } from '@fluidframework/driver-definitions/internal';
|
|
57
|
+
import { ISummaryContent } from '@fluidframework/driver-definitions/internal';
|
|
58
|
+
import { ISummaryNack } from '@fluidframework/driver-definitions/internal';
|
|
59
|
+
import { ISummaryStats } from '@fluidframework/runtime-definitions/internal';
|
|
60
|
+
import { ISummaryTree } from '@fluidframework/driver-definitions';
|
|
61
|
+
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
62
|
+
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
63
|
+
import { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
|
|
64
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
|
|
65
|
+
import { MessageType } from '@fluidframework/driver-definitions/internal';
|
|
66
|
+
import { MonitoringContext } from '@fluidframework/telemetry-utils/internal';
|
|
67
|
+
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
|
|
68
|
+
import { SummarizeInternalFn } from '@fluidframework/runtime-definitions/internal';
|
|
69
|
+
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
70
|
+
|
|
71
|
+
// (No @packageDocumentation comment for this package)
|
|
72
|
+
|
|
73
|
+
```
|