@fluidframework/runtime-definitions 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 +12 -0
- package/api-extractor.json +0 -3
- package/api-report/runtime-definitions.api.md +66 -99
- package/dist/attribution.d.ts +4 -4
- package/dist/attribution.js.map +1 -1
- package/dist/dataStoreContext.d.ts +13 -13
- package/dist/dataStoreContext.d.ts.map +1 -1
- package/dist/dataStoreContext.js +2 -2
- package/dist/dataStoreContext.js.map +1 -1
- package/dist/dataStoreFactory.d.ts +3 -3
- package/dist/dataStoreFactory.js +1 -1
- package/dist/dataStoreFactory.js.map +1 -1
- package/dist/dataStoreRegistry.d.ts +6 -6
- package/dist/dataStoreRegistry.js +1 -1
- package/dist/dataStoreRegistry.js.map +1 -1
- package/dist/garbageCollection.d.ts +2 -2
- package/dist/garbageCollection.js.map +1 -1
- package/dist/index.d.ts +49 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/protocol.d.ts +1 -1
- package/dist/protocol.js.map +1 -1
- package/dist/runtime-definitions-alpha.d.ts +939 -93
- package/dist/runtime-definitions-beta.d.ts +31 -0
- package/dist/runtime-definitions-public.d.ts +31 -0
- package/dist/runtime-definitions-untrimmed.d.ts +66 -248
- package/dist/summary.d.ts +13 -13
- package/dist/summary.js +1 -1
- package/dist/summary.js.map +1 -1
- package/lib/runtime-definitions-alpha.d.ts +939 -93
- package/lib/runtime-definitions-beta.d.ts +31 -0
- package/lib/runtime-definitions-public.d.ts +31 -0
- package/lib/runtime-definitions-untrimmed.d.ts +66 -248
- package/package.json +7 -4
- package/src/attribution.ts +4 -4
- package/src/dataStoreContext.ts +13 -13
- package/src/dataStoreFactory.ts +3 -3
- package/src/dataStoreRegistry.ts +6 -6
- package/src/garbageCollection.ts +2 -2
- package/src/index.ts +46 -6
- package/src/protocol.ts +1 -1
- package/src/summary.ts +13 -13
- package/dist/id-compressor/idCompressor.d.ts +0 -139
- package/dist/id-compressor/idCompressor.d.ts.map +0 -1
- package/dist/id-compressor/idCompressor.js +0 -7
- package/dist/id-compressor/idCompressor.js.map +0 -1
- package/dist/id-compressor/identifiers.d.ts +0 -40
- package/dist/id-compressor/identifiers.d.ts.map +0 -1
- package/dist/id-compressor/identifiers.js +0 -7
- package/dist/id-compressor/identifiers.js.map +0 -1
- package/dist/id-compressor/index.d.ts +0 -8
- package/dist/id-compressor/index.d.ts.map +0 -1
- package/dist/id-compressor/index.js +0 -10
- package/dist/id-compressor/index.js.map +0 -1
- package/dist/id-compressor/persisted-types/0.0.1.d.ts +0 -46
- package/dist/id-compressor/persisted-types/0.0.1.d.ts.map +0 -1
- package/dist/id-compressor/persisted-types/0.0.1.js +0 -14
- package/dist/id-compressor/persisted-types/0.0.1.js.map +0 -1
- package/dist/id-compressor/persisted-types/index.d.ts +0 -6
- package/dist/id-compressor/persisted-types/index.d.ts.map +0 -1
- package/dist/id-compressor/persisted-types/index.js +0 -10
- package/dist/id-compressor/persisted-types/index.js.map +0 -1
- package/src/id-compressor/idCompressor.ts +0 -155
- package/src/id-compressor/identifiers.ts +0 -39
- package/src/id-compressor/index.ts +0 -16
- package/src/id-compressor/persisted-types/0.0.1.ts +0 -51
- package/src/id-compressor/persisted-types/README.md +0 -3
- package/src/id-compressor/persisted-types/index.ts +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @fluidframework/runtime-definitions
|
|
2
2
|
|
|
3
|
+
## 2.0.0-internal.7.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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)
|
|
8
|
+
|
|
9
|
+
`IdCompressor` and related types from the @fluidframework/container-runtime and @fluidframework/runtime-definitions
|
|
10
|
+
packages have been deprecated. They can now be found in a new package, @fluidframework/id-compressor.
|
|
11
|
+
|
|
12
|
+
The `IdCompressor` class is deprecated even in the new package. Consumers should use the interfaces, `IIdCompressor` and
|
|
13
|
+
`IIdCompressorCore`, in conjunction with the factory function `createIdCompressor` instead.
|
|
14
|
+
|
|
3
15
|
## 2.0.0-internal.7.3.0
|
|
4
16
|
|
|
5
17
|
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
|
|
@@ -8,6 +8,8 @@ import { AttachState } from '@fluidframework/container-definitions';
|
|
|
8
8
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
9
9
|
import { IAudience } from '@fluidframework/container-definitions';
|
|
10
10
|
import { IClientDetails } from '@fluidframework/protocol-definitions';
|
|
11
|
+
import { IdCompressor } from '@fluidframework/id-compressor';
|
|
12
|
+
import { IdCreationRange } from '@fluidframework/id-compressor';
|
|
11
13
|
import { IDeltaManager } from '@fluidframework/container-definitions';
|
|
12
14
|
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
13
15
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
@@ -17,7 +19,10 @@ import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
|
17
19
|
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
18
20
|
import { IFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
19
21
|
import { IFluidRouter } from '@fluidframework/core-interfaces';
|
|
22
|
+
import { IIdCompressor } from '@fluidframework/id-compressor';
|
|
23
|
+
import { IIdCompressorCore } from '@fluidframework/id-compressor';
|
|
20
24
|
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
25
|
+
import { initialClusterCapacity } from '@fluidframework/id-compressor';
|
|
21
26
|
import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
22
27
|
import { IQuorumClients } from '@fluidframework/protocol-definitions';
|
|
23
28
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
@@ -29,10 +34,17 @@ import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
|
29
34
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
30
35
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
31
36
|
import type { IUser } from '@fluidframework/protocol-definitions';
|
|
37
|
+
import { OpSpaceCompressedId } from '@fluidframework/id-compressor';
|
|
38
|
+
import { SerializedIdCompressor } from '@fluidframework/id-compressor';
|
|
39
|
+
import { SerializedIdCompressorWithNoSession } from '@fluidframework/id-compressor';
|
|
40
|
+
import { SerializedIdCompressorWithOngoingSession } from '@fluidframework/id-compressor';
|
|
41
|
+
import { SessionId } from '@fluidframework/id-compressor';
|
|
42
|
+
import { SessionSpaceCompressedId } from '@fluidframework/id-compressor';
|
|
43
|
+
import { StableId } from '@fluidframework/id-compressor';
|
|
32
44
|
import { SummaryTree } from '@fluidframework/protocol-definitions';
|
|
33
45
|
import { TelemetryEventPropertyType } from '@fluidframework/core-interfaces';
|
|
34
46
|
|
|
35
|
-
// @
|
|
47
|
+
// @alpha
|
|
36
48
|
export type AliasResult = "Success" | "Conflict" | "AlreadyAliased";
|
|
37
49
|
|
|
38
50
|
// @internal
|
|
@@ -41,7 +53,7 @@ export interface AttributionInfo {
|
|
|
41
53
|
user: IUser;
|
|
42
54
|
}
|
|
43
55
|
|
|
44
|
-
// @
|
|
56
|
+
// @alpha
|
|
45
57
|
export type AttributionKey = OpAttributionKey | DetachedAttributionKey | LocalAttributionKey;
|
|
46
58
|
|
|
47
59
|
// @internal (undocumented)
|
|
@@ -50,11 +62,11 @@ export const blobCountPropertyName = "BlobCount";
|
|
|
50
62
|
// @internal (undocumented)
|
|
51
63
|
export const channelsTreeName = ".channels";
|
|
52
64
|
|
|
53
|
-
// @
|
|
65
|
+
// @alpha (undocumented)
|
|
54
66
|
export type CreateChildSummarizerNodeFn = (summarizeInternal: SummarizeInternalFn, getGCDataFn: (fullGC?: boolean) => Promise<IGarbageCollectionData>,
|
|
55
67
|
getBaseGCDetailsFn?: () => Promise<IGarbageCollectionDetailsBase>) => ISummarizerNodeWithGC;
|
|
56
68
|
|
|
57
|
-
// @
|
|
69
|
+
// @alpha (undocumented)
|
|
58
70
|
export type CreateChildSummarizerNodeParam = {
|
|
59
71
|
type: CreateSummarizerNodeSource.FromSummary;
|
|
60
72
|
} | {
|
|
@@ -65,7 +77,7 @@ export type CreateChildSummarizerNodeParam = {
|
|
|
65
77
|
type: CreateSummarizerNodeSource.Local;
|
|
66
78
|
};
|
|
67
79
|
|
|
68
|
-
// @
|
|
80
|
+
// @alpha (undocumented)
|
|
69
81
|
export enum CreateSummarizerNodeSource {
|
|
70
82
|
// (undocumented)
|
|
71
83
|
FromAttach = 1,
|
|
@@ -75,17 +87,17 @@ export enum CreateSummarizerNodeSource {
|
|
|
75
87
|
Local = 2
|
|
76
88
|
}
|
|
77
89
|
|
|
78
|
-
// @
|
|
90
|
+
// @alpha
|
|
79
91
|
export interface DetachedAttributionKey {
|
|
80
92
|
id: 0;
|
|
81
93
|
// (undocumented)
|
|
82
94
|
type: "detached";
|
|
83
95
|
}
|
|
84
96
|
|
|
85
|
-
// @
|
|
97
|
+
// @alpha
|
|
86
98
|
export type FluidDataStoreRegistryEntry = Readonly<Partial<IProvideFluidDataStoreRegistry & IProvideFluidDataStoreFactory>>;
|
|
87
99
|
|
|
88
|
-
// @
|
|
100
|
+
// @alpha
|
|
89
101
|
export enum FlushMode {
|
|
90
102
|
Immediate = 0,
|
|
91
103
|
TurnBased = 1
|
|
@@ -115,7 +127,7 @@ export interface IAttachMessage {
|
|
|
115
127
|
type: string;
|
|
116
128
|
}
|
|
117
129
|
|
|
118
|
-
// @
|
|
130
|
+
// @alpha
|
|
119
131
|
export interface IContainerRuntimeBase extends IEventProvider<IContainerRuntimeBaseEvents> {
|
|
120
132
|
// (undocumented)
|
|
121
133
|
readonly clientDetails: IClientDetails;
|
|
@@ -138,7 +150,7 @@ export interface IContainerRuntimeBase extends IEventProvider<IContainerRuntimeB
|
|
|
138
150
|
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandle<ArrayBufferLike>>;
|
|
139
151
|
}
|
|
140
152
|
|
|
141
|
-
// @
|
|
153
|
+
// @alpha (undocumented)
|
|
142
154
|
export interface IContainerRuntimeBaseEvents extends IEvent {
|
|
143
155
|
// (undocumented)
|
|
144
156
|
(event: "batchBegin", listener: (op: ISequencedDocumentMessage) => void): any;
|
|
@@ -150,7 +162,7 @@ export interface IContainerRuntimeBaseEvents extends IEvent {
|
|
|
150
162
|
(event: "signal", listener: (message: IInboundSignalMessage, local: boolean) => void): any;
|
|
151
163
|
}
|
|
152
164
|
|
|
153
|
-
// @
|
|
165
|
+
// @alpha
|
|
154
166
|
export interface IDataStore {
|
|
155
167
|
readonly entryPoint: IFluidHandle<FluidObject>;
|
|
156
168
|
// @deprecated (undocumented)
|
|
@@ -165,16 +177,9 @@ export interface IDataStore {
|
|
|
165
177
|
trySetAlias(alias: string): Promise<AliasResult>;
|
|
166
178
|
}
|
|
167
179
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
readonly ids?: {
|
|
172
|
-
readonly firstGenCount: number;
|
|
173
|
-
readonly count: number;
|
|
174
|
-
};
|
|
175
|
-
// (undocumented)
|
|
176
|
-
readonly sessionId: SessionId;
|
|
177
|
-
}
|
|
180
|
+
export { IdCompressor }
|
|
181
|
+
|
|
182
|
+
export { IdCreationRange }
|
|
178
183
|
|
|
179
184
|
// @internal
|
|
180
185
|
export interface IEnvelope {
|
|
@@ -182,14 +187,14 @@ export interface IEnvelope {
|
|
|
182
187
|
contents: any;
|
|
183
188
|
}
|
|
184
189
|
|
|
185
|
-
// @
|
|
190
|
+
// @alpha
|
|
186
191
|
export interface IExperimentalIncrementalSummaryContext {
|
|
187
192
|
latestSummarySequenceNumber: number;
|
|
188
193
|
summaryPath: string;
|
|
189
194
|
summarySequenceNumber: number;
|
|
190
195
|
}
|
|
191
196
|
|
|
192
|
-
// @
|
|
197
|
+
// @alpha
|
|
193
198
|
export interface IFluidDataStoreChannel extends IDisposable {
|
|
194
199
|
// (undocumented)
|
|
195
200
|
applyStashedOp(content: any): Promise<unknown>;
|
|
@@ -217,7 +222,7 @@ export interface IFluidDataStoreChannel extends IDisposable {
|
|
|
217
222
|
readonly visibilityState: VisibilityState;
|
|
218
223
|
}
|
|
219
224
|
|
|
220
|
-
// @
|
|
225
|
+
// @alpha
|
|
221
226
|
export interface IFluidDataStoreContext extends IEventProvider<IFluidDataStoreContextEvents>, Partial<IProvideFluidDataStoreRegistry>, IProvideFluidHandleContext {
|
|
222
227
|
addedGCOutboundReference?(srcHandle: IFluidHandle, outboundHandle: IFluidHandle): void;
|
|
223
228
|
readonly attachState: AttachState;
|
|
@@ -266,69 +271,53 @@ export interface IFluidDataStoreContext extends IEventProvider<IFluidDataStoreCo
|
|
|
266
271
|
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandle<ArrayBufferLike>>;
|
|
267
272
|
}
|
|
268
273
|
|
|
269
|
-
// @
|
|
274
|
+
// @alpha (undocumented)
|
|
270
275
|
export interface IFluidDataStoreContextDetached extends IFluidDataStoreContext {
|
|
271
276
|
attachRuntime(factory: IProvideFluidDataStoreFactory, dataStoreRuntime: IFluidDataStoreChannel): Promise<void>;
|
|
272
277
|
}
|
|
273
278
|
|
|
274
|
-
// @
|
|
279
|
+
// @alpha (undocumented)
|
|
275
280
|
export interface IFluidDataStoreContextEvents extends IEvent {
|
|
276
281
|
// (undocumented)
|
|
277
282
|
(event: "attaching" | "attached", listener: () => void): any;
|
|
278
283
|
}
|
|
279
284
|
|
|
280
|
-
// @
|
|
285
|
+
// @alpha (undocumented)
|
|
281
286
|
export const IFluidDataStoreFactory: keyof IProvideFluidDataStoreFactory;
|
|
282
287
|
|
|
283
|
-
// @
|
|
288
|
+
// @alpha
|
|
284
289
|
export interface IFluidDataStoreFactory extends IProvideFluidDataStoreFactory {
|
|
285
290
|
instantiateDataStore(context: IFluidDataStoreContext, existing: boolean): Promise<IFluidDataStoreChannel>;
|
|
286
291
|
type: string;
|
|
287
292
|
}
|
|
288
293
|
|
|
289
|
-
// @
|
|
294
|
+
// @alpha (undocumented)
|
|
290
295
|
export const IFluidDataStoreRegistry: keyof IProvideFluidDataStoreRegistry;
|
|
291
296
|
|
|
292
|
-
// @
|
|
297
|
+
// @alpha
|
|
293
298
|
export interface IFluidDataStoreRegistry extends IProvideFluidDataStoreRegistry {
|
|
294
299
|
// (undocumented)
|
|
295
300
|
get(name: string): Promise<FluidDataStoreRegistryEntry | undefined>;
|
|
296
301
|
}
|
|
297
302
|
|
|
298
|
-
// @
|
|
303
|
+
// @alpha
|
|
299
304
|
export interface IGarbageCollectionData {
|
|
300
305
|
gcNodes: {
|
|
301
306
|
[id: string]: string[];
|
|
302
307
|
};
|
|
303
308
|
}
|
|
304
309
|
|
|
305
|
-
// @
|
|
310
|
+
// @alpha
|
|
306
311
|
export interface IGarbageCollectionDetailsBase {
|
|
307
312
|
gcData?: IGarbageCollectionData;
|
|
308
313
|
usedRoutes?: string[];
|
|
309
314
|
}
|
|
310
315
|
|
|
311
|
-
|
|
312
|
-
export interface IIdCompressor {
|
|
313
|
-
decompress(id: SessionSpaceCompressedId): StableId;
|
|
314
|
-
generateCompressedId(): SessionSpaceCompressedId;
|
|
315
|
-
// (undocumented)
|
|
316
|
-
localSessionId: SessionId;
|
|
317
|
-
normalizeToOpSpace(id: SessionSpaceCompressedId): OpSpaceCompressedId;
|
|
318
|
-
normalizeToSessionSpace(id: OpSpaceCompressedId, originSessionId: SessionId): SessionSpaceCompressedId;
|
|
319
|
-
recompress(uncompressed: StableId): SessionSpaceCompressedId;
|
|
320
|
-
tryRecompress(uncompressed: StableId): SessionSpaceCompressedId | undefined;
|
|
321
|
-
}
|
|
316
|
+
export { IIdCompressor }
|
|
322
317
|
|
|
323
|
-
|
|
324
|
-
export interface IIdCompressorCore {
|
|
325
|
-
finalizeCreationRange(range: IdCreationRange): void;
|
|
326
|
-
serialize(withSession: true): SerializedIdCompressorWithOngoingSession;
|
|
327
|
-
serialize(withSession: false): SerializedIdCompressorWithNoSession;
|
|
328
|
-
takeNextCreationRange(): IdCreationRange;
|
|
329
|
-
}
|
|
318
|
+
export { IIdCompressorCore }
|
|
330
319
|
|
|
331
|
-
// @
|
|
320
|
+
// @alpha
|
|
332
321
|
export interface IInboundSignalMessage extends ISignalMessage {
|
|
333
322
|
// (undocumented)
|
|
334
323
|
type: string;
|
|
@@ -339,16 +328,15 @@ export type InboundAttachMessage = Omit<IAttachMessage, "snapshot"> & {
|
|
|
339
328
|
snapshot: IAttachMessage["snapshot"] | null;
|
|
340
329
|
};
|
|
341
330
|
|
|
342
|
-
|
|
343
|
-
export const initialClusterCapacity = 512;
|
|
331
|
+
export { initialClusterCapacity }
|
|
344
332
|
|
|
345
|
-
// @
|
|
333
|
+
// @alpha (undocumented)
|
|
346
334
|
export interface IProvideFluidDataStoreFactory {
|
|
347
335
|
// (undocumented)
|
|
348
336
|
readonly IFluidDataStoreFactory: IFluidDataStoreFactory;
|
|
349
337
|
}
|
|
350
338
|
|
|
351
|
-
// @
|
|
339
|
+
// @alpha (undocumented)
|
|
352
340
|
export interface IProvideFluidDataStoreRegistry {
|
|
353
341
|
// (undocumented)
|
|
354
342
|
readonly IFluidDataStoreRegistry: IFluidDataStoreRegistry;
|
|
@@ -364,14 +352,14 @@ export interface ISignalEnvelope {
|
|
|
364
352
|
};
|
|
365
353
|
}
|
|
366
354
|
|
|
367
|
-
// @
|
|
355
|
+
// @alpha
|
|
368
356
|
export interface ISummarizeInternalResult extends ISummarizeResult {
|
|
369
357
|
// (undocumented)
|
|
370
358
|
id: string;
|
|
371
359
|
pathPartsForChildren?: string[];
|
|
372
360
|
}
|
|
373
361
|
|
|
374
|
-
// @
|
|
362
|
+
// @alpha
|
|
375
363
|
export interface ISummarizeResult {
|
|
376
364
|
// (undocumented)
|
|
377
365
|
stats: ISummaryStats;
|
|
@@ -379,7 +367,7 @@ export interface ISummarizeResult {
|
|
|
379
367
|
summary: SummaryTree;
|
|
380
368
|
}
|
|
381
369
|
|
|
382
|
-
// @
|
|
370
|
+
// @alpha (undocumented)
|
|
383
371
|
export interface ISummarizerNode {
|
|
384
372
|
// (undocumented)
|
|
385
373
|
createChild(
|
|
@@ -397,18 +385,18 @@ export interface ISummarizerNode {
|
|
|
397
385
|
updateBaseSummaryState(snapshot: ISnapshotTree): void;
|
|
398
386
|
}
|
|
399
387
|
|
|
400
|
-
// @
|
|
388
|
+
// @alpha (undocumented)
|
|
401
389
|
export interface ISummarizerNodeConfig {
|
|
402
390
|
readonly canReuseHandle?: boolean;
|
|
403
391
|
readonly throwOnFailure?: true;
|
|
404
392
|
}
|
|
405
393
|
|
|
406
|
-
// @
|
|
394
|
+
// @alpha (undocumented)
|
|
407
395
|
export interface ISummarizerNodeConfigWithGC extends ISummarizerNodeConfig {
|
|
408
396
|
readonly gcDisabled?: boolean;
|
|
409
397
|
}
|
|
410
398
|
|
|
411
|
-
// @
|
|
399
|
+
// @alpha
|
|
412
400
|
export interface ISummarizerNodeWithGC extends ISummarizerNode {
|
|
413
401
|
// (undocumented)
|
|
414
402
|
createChild(
|
|
@@ -425,7 +413,7 @@ export interface ISummarizerNodeWithGC extends ISummarizerNode {
|
|
|
425
413
|
updateUsedRoutes(usedRoutes: string[]): void;
|
|
426
414
|
}
|
|
427
415
|
|
|
428
|
-
// @
|
|
416
|
+
// @alpha
|
|
429
417
|
export interface ISummaryStats {
|
|
430
418
|
// (undocumented)
|
|
431
419
|
blobNodeCount: number;
|
|
@@ -439,13 +427,13 @@ export interface ISummaryStats {
|
|
|
439
427
|
unreferencedBlobSize: number;
|
|
440
428
|
}
|
|
441
429
|
|
|
442
|
-
// @
|
|
430
|
+
// @alpha
|
|
443
431
|
export interface ISummaryTreeWithStats {
|
|
444
432
|
stats: ISummaryStats;
|
|
445
433
|
summary: ISummaryTree;
|
|
446
434
|
}
|
|
447
435
|
|
|
448
|
-
// @
|
|
436
|
+
// @alpha
|
|
449
437
|
export interface ITelemetryContext {
|
|
450
438
|
get(prefix: string, property: string): TelemetryEventPropertyType;
|
|
451
439
|
serialize(): string;
|
|
@@ -453,73 +441,52 @@ export interface ITelemetryContext {
|
|
|
453
441
|
setMultiple(prefix: string, property: string, values: Record<string, TelemetryEventPropertyType>): void;
|
|
454
442
|
}
|
|
455
443
|
|
|
456
|
-
// @
|
|
444
|
+
// @alpha
|
|
457
445
|
export interface LocalAttributionKey {
|
|
458
446
|
// (undocumented)
|
|
459
447
|
type: "local";
|
|
460
448
|
}
|
|
461
449
|
|
|
462
|
-
// @
|
|
450
|
+
// @alpha
|
|
463
451
|
export type NamedFluidDataStoreRegistryEntries = Iterable<NamedFluidDataStoreRegistryEntry>;
|
|
464
452
|
|
|
465
|
-
// @
|
|
453
|
+
// @alpha
|
|
466
454
|
export type NamedFluidDataStoreRegistryEntry = [string, Promise<FluidDataStoreRegistryEntry>];
|
|
467
455
|
|
|
468
|
-
// @
|
|
456
|
+
// @alpha
|
|
469
457
|
export interface OpAttributionKey {
|
|
470
458
|
seq: number;
|
|
471
459
|
type: "op";
|
|
472
460
|
}
|
|
473
461
|
|
|
474
|
-
|
|
475
|
-
export type OpSpaceCompressedId = number & {
|
|
476
|
-
readonly OpNormalized: "9209432d-a959-4df7-b2ad-767ead4dbcae";
|
|
477
|
-
};
|
|
462
|
+
export { OpSpaceCompressedId }
|
|
478
463
|
|
|
479
|
-
|
|
480
|
-
export type SerializedIdCompressor = string & {
|
|
481
|
-
readonly _serializedIdCompressor: "8c73c57c-1cf4-4278-8915-6444cb4f6af5";
|
|
482
|
-
};
|
|
464
|
+
export { SerializedIdCompressor }
|
|
483
465
|
|
|
484
|
-
|
|
485
|
-
export type SerializedIdCompressorWithNoSession = SerializedIdCompressor & {
|
|
486
|
-
readonly _noLocalState: "3aa2e1e8-cc28-4ea7-bc1a-a11dc3f26dfb";
|
|
487
|
-
};
|
|
466
|
+
export { SerializedIdCompressorWithNoSession }
|
|
488
467
|
|
|
489
|
-
|
|
490
|
-
export type SerializedIdCompressorWithOngoingSession = SerializedIdCompressor & {
|
|
491
|
-
readonly _hasLocalState: "1281acae-6d14-47e7-bc92-71c8ee0819cb";
|
|
492
|
-
};
|
|
468
|
+
export { SerializedIdCompressorWithOngoingSession }
|
|
493
469
|
|
|
494
|
-
|
|
495
|
-
export type SessionId = StableId & {
|
|
496
|
-
readonly SessionId: "4498f850-e14e-4be9-8db0-89ec00997e58";
|
|
497
|
-
};
|
|
470
|
+
export { SessionId }
|
|
498
471
|
|
|
499
|
-
|
|
500
|
-
export type SessionSpaceCompressedId = number & {
|
|
501
|
-
readonly SessionUnique: "cea55054-6b82-4cbf-ad19-1fa645ea3b3e";
|
|
502
|
-
};
|
|
472
|
+
export { SessionSpaceCompressedId }
|
|
503
473
|
|
|
504
|
-
|
|
505
|
-
export type StableId = string & {
|
|
506
|
-
readonly StableId: "53172b0d-a3d5-41ea-bd75-b43839c97f5a";
|
|
507
|
-
};
|
|
474
|
+
export { StableId }
|
|
508
475
|
|
|
509
|
-
// @
|
|
476
|
+
// @alpha (undocumented)
|
|
510
477
|
export type SummarizeInternalFn = (fullTree: boolean, trackState: boolean, telemetryContext?: ITelemetryContext, incrementalSummaryContext?: IExperimentalIncrementalSummaryContext) => Promise<ISummarizeInternalResult>;
|
|
511
478
|
|
|
512
479
|
// @internal (undocumented)
|
|
513
480
|
export const totalBlobSizePropertyName = "TotalBlobSize";
|
|
514
481
|
|
|
515
|
-
// @
|
|
482
|
+
// @alpha
|
|
516
483
|
export const VisibilityState: {
|
|
517
484
|
NotVisible: string;
|
|
518
485
|
LocallyVisible: string;
|
|
519
486
|
GloballyVisible: string;
|
|
520
487
|
};
|
|
521
488
|
|
|
522
|
-
// @
|
|
489
|
+
// @alpha (undocumented)
|
|
523
490
|
export type VisibilityState = (typeof VisibilityState)[keyof typeof VisibilityState];
|
|
524
491
|
|
|
525
492
|
// (No @packageDocumentation comment for this package)
|
package/dist/attribution.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { IUser } from "@fluidframework/protocol-definitions";
|
|
|
6
6
|
/**
|
|
7
7
|
* AttributionKey representing a reference to some op in the op stream.
|
|
8
8
|
* Content associated with this key aligns with content modified by that op.
|
|
9
|
-
* @
|
|
9
|
+
* @alpha
|
|
10
10
|
*/
|
|
11
11
|
export interface OpAttributionKey {
|
|
12
12
|
/**
|
|
@@ -28,7 +28,7 @@ export interface OpAttributionKey {
|
|
|
28
28
|
* is currently unsupported, as applications can effectively modify content anonymously while detached.
|
|
29
29
|
* The runtime has no mechanism for reliably obtaining the user. It would be reasonable to start supporting
|
|
30
30
|
* this functionality if the host provided additional context to their attributor or attach calls.
|
|
31
|
-
* @
|
|
31
|
+
* @alpha
|
|
32
32
|
*/
|
|
33
33
|
export interface DetachedAttributionKey {
|
|
34
34
|
type: "detached";
|
|
@@ -44,14 +44,14 @@ export interface DetachedAttributionKey {
|
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* AttributionKey associated with content that has been made locally but not yet acked by the server.
|
|
47
|
-
* @
|
|
47
|
+
* @alpha
|
|
48
48
|
*/
|
|
49
49
|
export interface LocalAttributionKey {
|
|
50
50
|
type: "local";
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Can be indexed into the ContainerRuntime in order to retrieve {@link AttributionInfo}.
|
|
54
|
-
* @
|
|
54
|
+
* @alpha
|
|
55
55
|
*/
|
|
56
56
|
export type AttributionKey = OpAttributionKey | DetachedAttributionKey | LocalAttributionKey;
|
|
57
57
|
/**
|
package/dist/attribution.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribution.js","sourceRoot":"","sources":["../src/attribution.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IUser } from \"@fluidframework/protocol-definitions\";\n\n/**\n * AttributionKey representing a reference to some op in the op stream.\n * Content associated with this key aligns with content modified by that op.\n * @
|
|
1
|
+
{"version":3,"file":"attribution.js","sourceRoot":"","sources":["../src/attribution.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IUser } from \"@fluidframework/protocol-definitions\";\n\n/**\n * AttributionKey representing a reference to some op in the op stream.\n * Content associated with this key aligns with content modified by that op.\n * @alpha\n */\nexport interface OpAttributionKey {\n\t/**\n\t * The type of attribution this key corresponds to.\n\t *\n\t * Keys currently all represent op-based attribution, so have the form `{ type: \"op\", key: sequenceNumber }`.\n\t * Thus, they can be used with an `OpStreamAttributor` to recover timestamp/user information.\n\t */\n\ttype: \"op\";\n\n\t/**\n\t * The sequenceNumber of the op this attribution key is for.\n\t */\n\tseq: number;\n}\n\n/**\n * AttributionKey associated with content that was inserted while the container was in a detached state.\n *\n * @remarks Retrieving an {@link AttributionInfo} from content associated with detached attribution keys\n * is currently unsupported, as applications can effectively modify content anonymously while detached.\n * The runtime has no mechanism for reliably obtaining the user. It would be reasonable to start supporting\n * this functionality if the host provided additional context to their attributor or attach calls.\n * @alpha\n */\nexport interface DetachedAttributionKey {\n\ttype: \"detached\";\n\n\t/**\n\t * Arbitrary discriminator associated with content inserted while detached.\n\t *\n\t * @remarks For now, the runtime assumes all content created while detached is associated\n\t * with the same user/timestamp.\n\t * We could weaken this assumption in the future with further API support and\n\t * allow arbitrary strings or numbers as part of this key.\n\t */\n\tid: 0;\n}\n\n/**\n * AttributionKey associated with content that has been made locally but not yet acked by the server.\n * @alpha\n */\nexport interface LocalAttributionKey {\n\ttype: \"local\";\n}\n\n/**\n * Can be indexed into the ContainerRuntime in order to retrieve {@link AttributionInfo}.\n * @alpha\n */\nexport type AttributionKey = OpAttributionKey | DetachedAttributionKey | LocalAttributionKey;\n\n/**\n * Attribution information associated with a change.\n * @internal\n */\nexport interface AttributionInfo {\n\t/**\n\t * The user that performed the change.\n\t */\n\tuser: IUser;\n\t/**\n\t * When the change happened.\n\t */\n\ttimestamp: number;\n}\n"]}
|
|
@@ -6,15 +6,15 @@ import { IEvent, IEventProvider, ITelemetryBaseLogger, IDisposable, IFluidRouter
|
|
|
6
6
|
import { IAudience, IDeltaManager, AttachState, ILoaderOptions } from "@fluidframework/container-definitions";
|
|
7
7
|
import { IDocumentStorageService } from "@fluidframework/driver-definitions";
|
|
8
8
|
import { IClientDetails, IDocumentMessage, IQuorumClients, ISequencedDocumentMessage, ISnapshotTree } from "@fluidframework/protocol-definitions";
|
|
9
|
+
import { IIdCompressor } from "@fluidframework/id-compressor";
|
|
9
10
|
import { IProvideFluidDataStoreFactory } from "./dataStoreFactory";
|
|
10
11
|
import { IProvideFluidDataStoreRegistry } from "./dataStoreRegistry";
|
|
11
12
|
import { IGarbageCollectionData, IGarbageCollectionDetailsBase } from "./garbageCollection";
|
|
12
13
|
import { IInboundSignalMessage } from "./protocol";
|
|
13
14
|
import { CreateChildSummarizerNodeParam, ISummarizerNodeWithGC, ISummaryTreeWithStats, ITelemetryContext, SummarizeInternalFn } from "./summary";
|
|
14
|
-
import { IIdCompressor } from "./id-compressor";
|
|
15
15
|
/**
|
|
16
16
|
* Runtime flush mode handling
|
|
17
|
-
* @
|
|
17
|
+
* @alpha
|
|
18
18
|
*/
|
|
19
19
|
export declare enum FlushMode {
|
|
20
20
|
/**
|
|
@@ -45,7 +45,7 @@ export declare enum FlushModeExperimental {
|
|
|
45
45
|
/**
|
|
46
46
|
* This tells the visibility state of a Fluid object. It basically tracks whether the object is not visible, visible
|
|
47
47
|
* locally within the container only or visible globally to all clients.
|
|
48
|
-
* @
|
|
48
|
+
* @alpha
|
|
49
49
|
*/
|
|
50
50
|
export declare const VisibilityState: {
|
|
51
51
|
/**
|
|
@@ -70,11 +70,11 @@ export declare const VisibilityState: {
|
|
|
70
70
|
GloballyVisible: string;
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
|
-
* @
|
|
73
|
+
* @alpha
|
|
74
74
|
*/
|
|
75
75
|
export type VisibilityState = (typeof VisibilityState)[keyof typeof VisibilityState];
|
|
76
76
|
/**
|
|
77
|
-
* @
|
|
77
|
+
* @alpha
|
|
78
78
|
*/
|
|
79
79
|
export interface IContainerRuntimeBaseEvents extends IEvent {
|
|
80
80
|
(event: "batchBegin", listener: (op: ISequencedDocumentMessage) => void): any;
|
|
@@ -94,7 +94,7 @@ export interface IContainerRuntimeBaseEvents extends IEvent {
|
|
|
94
94
|
* the `IContainerRuntime.getAliasedDataStoreEntryPoint` function. The current datastore should be discarded
|
|
95
95
|
* and will be garbage collected. The current datastore cannot be aliased to a different value.
|
|
96
96
|
* 'AlreadyAliased' - the datastore has already been previously bound to another alias name.
|
|
97
|
-
* @
|
|
97
|
+
* @alpha
|
|
98
98
|
*/
|
|
99
99
|
export type AliasResult = "Success" | "Conflict" | "AlreadyAliased";
|
|
100
100
|
/**
|
|
@@ -102,7 +102,7 @@ export type AliasResult = "Success" | "Conflict" | "AlreadyAliased";
|
|
|
102
102
|
* - Handle to the data store's entryPoint
|
|
103
103
|
* - Fluid router for the data store
|
|
104
104
|
* - Can be assigned an alias
|
|
105
|
-
* @
|
|
105
|
+
* @alpha
|
|
106
106
|
*/
|
|
107
107
|
export interface IDataStore {
|
|
108
108
|
/**
|
|
@@ -154,7 +154,7 @@ export interface IDataStore {
|
|
|
154
154
|
/**
|
|
155
155
|
* A reduced set of functionality of IContainerRuntime that a data store context/data store runtime will need
|
|
156
156
|
* TODO: this should be merged into IFluidDataStoreContext
|
|
157
|
-
* @
|
|
157
|
+
* @alpha
|
|
158
158
|
*/
|
|
159
159
|
export interface IContainerRuntimeBase extends IEventProvider<IContainerRuntimeBaseEvents> {
|
|
160
160
|
readonly logger: ITelemetryBaseLogger;
|
|
@@ -218,7 +218,7 @@ export interface IContainerRuntimeBase extends IEventProvider<IContainerRuntimeB
|
|
|
218
218
|
*
|
|
219
219
|
* Functionality include attach, snapshot, op/signal processing, request routes, expose an entryPoint,
|
|
220
220
|
* and connection state notifications
|
|
221
|
-
* @
|
|
221
|
+
* @alpha
|
|
222
222
|
*/
|
|
223
223
|
export interface IFluidDataStoreChannel extends IDisposable {
|
|
224
224
|
readonly id: string;
|
|
@@ -302,7 +302,7 @@ export interface IFluidDataStoreChannel extends IDisposable {
|
|
|
302
302
|
readonly IFluidRouter: IFluidRouter;
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
|
-
* @
|
|
305
|
+
* @alpha
|
|
306
306
|
*/
|
|
307
307
|
export type CreateChildSummarizerNodeFn = (summarizeInternal: SummarizeInternalFn, getGCDataFn: (fullGC?: boolean) => Promise<IGarbageCollectionData>,
|
|
308
308
|
/**
|
|
@@ -310,7 +310,7 @@ export type CreateChildSummarizerNodeFn = (summarizeInternal: SummarizeInternalF
|
|
|
310
310
|
*/
|
|
311
311
|
getBaseGCDetailsFn?: () => Promise<IGarbageCollectionDetailsBase>) => ISummarizerNodeWithGC;
|
|
312
312
|
/**
|
|
313
|
-
* @
|
|
313
|
+
* @alpha
|
|
314
314
|
*/
|
|
315
315
|
export interface IFluidDataStoreContextEvents extends IEvent {
|
|
316
316
|
(event: "attaching" | "attached", listener: () => void): any;
|
|
@@ -318,7 +318,7 @@ export interface IFluidDataStoreContextEvents extends IEvent {
|
|
|
318
318
|
/**
|
|
319
319
|
* Represents the context for the data store. It is used by the data store runtime to
|
|
320
320
|
* get information and call functionality to the container.
|
|
321
|
-
* @
|
|
321
|
+
* @alpha
|
|
322
322
|
*/
|
|
323
323
|
export interface IFluidDataStoreContext extends IEventProvider<IFluidDataStoreContextEvents>, Partial<IProvideFluidDataStoreRegistry>, IProvideFluidHandleContext {
|
|
324
324
|
readonly id: string;
|
|
@@ -435,7 +435,7 @@ export interface IFluidDataStoreContext extends IEventProvider<IFluidDataStoreCo
|
|
|
435
435
|
addedGCOutboundReference?(srcHandle: IFluidHandle, outboundHandle: IFluidHandle): void;
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
|
-
* @
|
|
438
|
+
* @alpha
|
|
439
439
|
*/
|
|
440
440
|
export interface IFluidDataStoreContextDetached extends IFluidDataStoreContext {
|
|
441
441
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreContext.d.ts","sourceRoot":"","sources":["../src/dataStoreContext.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,WAAW,EAEX,YAAY,EACZ,0BAA0B,EAC1B,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EACN,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EACN,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"dataStoreContext.d.ts","sourceRoot":"","sources":["../src/dataStoreContext.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,WAAW,EAEX,YAAY,EACZ,0BAA0B,EAC1B,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EACN,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EACN,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,WAAW,CAAC;AAEnB;;;GAGG;AACH,oBAAY,SAAS;IACpB;;OAEG;IACH,SAAS,IAAA;IAET;;;OAGG;IACH,SAAS,IAAA;CACT;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAChC;;;;;;;;OAQG;IACH,KAAK,IAAI;CACT;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe;IAC3B;;OAEG;;IAGH;;;;OAIG;;IAGH;;;;;;;;OAQG;;CAEH,CAAC;A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C,eAAe,CAAC,CAAC,CAAC;IAEhG;;;;;OAKG;IACH,gBAAgB,IAAI,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAE3D;;;;;OAKG;IACH,wBAAwB,CAAC,CAAC,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,GAAG,IAAI,CAAC;CACvF;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,sBAAsB;IAC7E;;OAEG;IACH,aAAa,CACZ,OAAO,EAAE,6BAA6B,EACtC,gBAAgB,EAAE,sBAAsB,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;CACjB"}
|
package/dist/dataStoreContext.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.VisibilityState = exports.FlushModeExperimental = exports.FlushMode = void 0;
|
|
8
8
|
/**
|
|
9
9
|
* Runtime flush mode handling
|
|
10
|
-
* @
|
|
10
|
+
* @alpha
|
|
11
11
|
*/
|
|
12
12
|
var FlushMode;
|
|
13
13
|
(function (FlushMode) {
|
|
@@ -40,7 +40,7 @@ var FlushModeExperimental;
|
|
|
40
40
|
/**
|
|
41
41
|
* This tells the visibility state of a Fluid object. It basically tracks whether the object is not visible, visible
|
|
42
42
|
* locally within the container only or visible globally to all clients.
|
|
43
|
-
* @
|
|
43
|
+
* @alpha
|
|
44
44
|
*/
|
|
45
45
|
exports.VisibilityState = {
|
|
46
46
|
/**
|