@fluidframework/shared-object-base 2.0.0-dev.7.4.0.216897 → 2.0.0-dev.7.4.0.217884

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.
Files changed (39) hide show
  1. package/api-report/shared-object-base.api.md +7 -7
  2. package/dist/packageVersion.cjs +1 -1
  3. package/dist/packageVersion.cjs.map +1 -1
  4. package/dist/packageVersion.d.ts +1 -1
  5. package/dist/serializer.cjs +1 -1
  6. package/dist/serializer.cjs.map +1 -1
  7. package/dist/serializer.d.ts +2 -2
  8. package/dist/shared-object-base-alpha.d.ts +423 -45
  9. package/dist/shared-object-base-untrimmed.d.ts +7 -7
  10. package/dist/sharedObject.cjs +2 -2
  11. package/dist/sharedObject.cjs.map +1 -1
  12. package/dist/sharedObject.d.ts +2 -2
  13. package/dist/summarySerializer.cjs +1 -1
  14. package/dist/summarySerializer.cjs.map +1 -1
  15. package/dist/summarySerializer.d.ts +1 -1
  16. package/dist/types.cjs.map +1 -1
  17. package/dist/types.d.ts +2 -2
  18. package/lib/packageVersion.d.ts +1 -1
  19. package/lib/packageVersion.mjs +1 -1
  20. package/lib/packageVersion.mjs.map +1 -1
  21. package/lib/serializer.d.ts +2 -2
  22. package/lib/serializer.mjs +1 -1
  23. package/lib/serializer.mjs.map +1 -1
  24. package/lib/shared-object-base-alpha.d.ts +423 -45
  25. package/lib/shared-object-base-untrimmed.d.ts +7 -7
  26. package/lib/sharedObject.d.ts +2 -2
  27. package/lib/sharedObject.mjs +2 -2
  28. package/lib/sharedObject.mjs.map +1 -1
  29. package/lib/summarySerializer.d.ts +1 -1
  30. package/lib/summarySerializer.mjs +1 -1
  31. package/lib/summarySerializer.mjs.map +1 -1
  32. package/lib/types.d.ts +2 -2
  33. package/lib/types.mjs.map +1 -1
  34. package/package.json +14 -14
  35. package/src/packageVersion.ts +1 -1
  36. package/src/serializer.ts +2 -2
  37. package/src/sharedObject.ts +2 -2
  38. package/src/summarySerializer.ts +1 -1
  39. package/src/types.ts +2 -2
@@ -1,64 +1,442 @@
1
+ import { EventEmitterEventType } from '@fluid-internal/client-utils';
2
+ import { EventEmitterWithErrorHandling } from '@fluidframework/telemetry-utils';
3
+ import { IChannel } from '@fluidframework/datastore-definitions';
4
+ import { IChannelAttributes } from '@fluidframework/datastore-definitions';
5
+ import { IChannelServices } from '@fluidframework/datastore-definitions';
6
+ import { IChannelStorageService } from '@fluidframework/datastore-definitions';
7
+ import { IErrorEvent } from '@fluidframework/core-interfaces';
8
+ import { IEventProvider } from '@fluidframework/core-interfaces';
9
+ import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
10
+ import { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions';
11
+ import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
12
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
13
+ import { IFluidHandleContext } from '@fluidframework/core-interfaces';
14
+ import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
1
15
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
16
+ import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
17
+ import { ITelemetryContext } from '@fluidframework/runtime-definitions';
18
+ import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
2
19
 
3
20
  /* Excluded from this release type: createSingleBlobSummary */
4
21
 
5
- /* Excluded from this release type: EventEmitterEventType */
6
-
7
- /* Excluded from this release type: EventEmitterWithErrorHandling */
8
-
9
- /* Excluded from this release type: FluidSerializer */
10
-
11
- /* Excluded from this release type: IChannel */
12
-
13
- /* Excluded from this release type: IChannelAttributes */
14
-
15
- /* Excluded from this release type: IChannelServices */
16
-
17
- /* Excluded from this release type: IChannelStorageService */
18
-
19
- /* Excluded from this release type: IErrorEvent */
20
-
21
- /* Excluded from this release type: IEventProvider */
22
-
23
- /* Excluded from this release type: IEventThisPlaceHolder */
24
-
25
- /* Excluded from this release type: IExperimentalIncrementalSummaryContext */
26
-
27
- /* Excluded from this release type: IFluidDataStoreRuntime */
28
-
29
- /* Excluded from this release type: IFluidHandle */
30
-
31
- /* Excluded from this release type: IFluidHandleContext */
32
-
33
- /* Excluded from this release type: IFluidSerializer */
34
-
35
- /* Excluded from this release type: IGarbageCollectionData */
22
+ /**
23
+ * Data Store serializer implementation
24
+ * @alpha
25
+ */
26
+ export declare class FluidSerializer implements IFluidSerializer {
27
+ private readonly context;
28
+ private readonly handleParsedCb;
29
+ private readonly root;
30
+ constructor(context: IFluidHandleContext, handleParsedCb: (handle: IFluidHandle) => void);
31
+ get IFluidSerializer(): this;
32
+ /**
33
+ * Given a mostly-jsonable object tree that may have handle objects embedded within, will return a
34
+ * fully-jsonable object tree where any embedded IFluidHandles have been replaced with a serializable form.
35
+ *
36
+ * The original `input` object is not mutated. This method will shallowly clone all objects in the path from
37
+ * the root to any replaced handles. (If no handles are found, returns the original object.)
38
+ *
39
+ * Any unbound handles encountered are bound to the provided IFluidHandle.
40
+ */
41
+ encode(input: any, bind: IFluidHandle): any;
42
+ /**
43
+ * Given a fully-jsonable object tree that may have encoded handle objects embedded within, will return an
44
+ * equivalent object tree where any encoded IFluidHandles have been replaced with their decoded form.
45
+ *
46
+ * The original `input` object is not mutated. This method will shallowly clone all objects in the path from
47
+ * the root to any replaced handles. (If no handles are found, returns the original object.)
48
+ *
49
+ * The decoded handles are implicitly bound to the handle context of this serializer.
50
+ */
51
+ decode(input: any): any;
52
+ stringify(input: any, bind: IFluidHandle): string;
53
+ parse(input: string): any;
54
+ private readonly encodeValue;
55
+ private readonly decodeValue;
56
+ private recursivelyReplace;
57
+ protected serializeHandle(handle: IFluidHandle, bind: IFluidHandle): {
58
+ type: string;
59
+ url: string;
60
+ };
61
+ }
62
+
63
+ /**
64
+ * @alpha
65
+ */
66
+ export declare interface IFluidSerializer {
67
+ /**
68
+ * Given a mostly-plain object that may have handle objects embedded within, will return a fully-plain object
69
+ * where any embedded IFluidHandles have been replaced with a serializable form.
70
+ *
71
+ * The original `input` object is not mutated. This method will shallowly clones all objects in the path from
72
+ * the root to any replaced handles. (If no handles are found, returns the original object.)
73
+ */
74
+ encode(value: any, bind: IFluidHandle): any;
75
+ /**
76
+ * Given a fully-jsonable object tree that may have encoded handle objects embedded within, will return an
77
+ * equivalent object tree where any encoded IFluidHandles have been replaced with their decoded form.
78
+ *
79
+ * The original `input` object is not mutated. This method will shallowly clone all objects in the path from
80
+ * the root to any replaced handles. (If no handles are found, returns the original object.)
81
+ *
82
+ * The decoded handles are implicitly bound to the handle context of this serializer.
83
+ */
84
+ decode(input: any): any;
85
+ /**
86
+ * Stringifies a given value. Converts any IFluidHandle to its stringified equivalent.
87
+ */
88
+ stringify(value: any, bind: IFluidHandle): string;
89
+ /**
90
+ * Parses the given JSON input string and returns the JavaScript object defined by it. Any Fluid
91
+ * handles will be realized as part of the parse
92
+ */
93
+ parse(value: string): any;
94
+ }
36
95
 
37
96
  /* Excluded from this release type: ISerializedHandle */
38
97
 
39
- /* Excluded from this release type: ISharedObject */
40
-
41
- /* Excluded from this release type: ISharedObjectEvents */
98
+ /**
99
+ * Base interface for shared objects from which other interfaces derive. Implemented by SharedObject
100
+ * @alpha
101
+ */
102
+ export declare interface ISharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends IChannel, IEventProvider<TEvent> {
103
+ /**
104
+ * Binds the given shared object to its containing data store runtime, causing it to attach once
105
+ * the runtime attaches.
106
+ */
107
+ bindToContext(): void;
108
+ /**
109
+ * Returns the GC data for this shared object. It contains a list of GC nodes that contains references to
110
+ * other GC nodes.
111
+ * @param fullGC - true to bypass optimizations and force full generation of GC data.
112
+ */
113
+ getGCData(fullGC?: boolean): IGarbageCollectionData;
114
+ }
115
+
116
+ /**
117
+ * Events emitted by {@link ISharedObject}.
118
+ * @alpha
119
+ */
120
+ export declare interface ISharedObjectEvents extends IErrorEvent {
121
+ /**
122
+ * Fires before an incoming operation (op) is applied to the shared object.
123
+ *
124
+ * @remarks Note: this should be considered an internal implementation detail. It is not recommended for external
125
+ * use.
126
+ *
127
+ * @eventProperty
128
+ */
129
+ (event: "pre-op", listener: (op: ISequencedDocumentMessage, local: boolean, target: IEventThisPlaceHolder) => void): any;
130
+ /**
131
+ * Fires after an incoming op is applied to the shared object.
132
+ *
133
+ * @remarks Note: this should be considered an internal implementation detail. It is not recommended for external
134
+ * use.
135
+ *
136
+ * @eventProperty
137
+ */
138
+ (event: "op", listener: (op: ISequencedDocumentMessage, local: boolean, target: IEventThisPlaceHolder) => void): any;
139
+ }
42
140
 
43
141
  /* Excluded from this release type: isSerializedHandle */
44
142
 
45
- /* Excluded from this release type: ISummaryTreeWithStats */
46
-
47
- /* Excluded from this release type: ITelemetryContext */
48
-
49
- /* Excluded from this release type: ITelemetryLoggerExt */
50
-
51
143
  /* Excluded from this release type: makeHandlesSerializable */
52
144
 
53
145
  /* Excluded from this release type: parseHandles */
54
146
 
55
147
  /* Excluded from this release type: serializeHandles */
56
148
 
57
- /* Excluded from this release type: SharedObject */
58
-
59
- /* Excluded from this release type: SharedObjectCore */
60
-
61
- /* Excluded from this release type: SummarySerializer */
149
+ /**
150
+ * SharedObject with simplified, synchronous summarization and GC.
151
+ * DDS implementations with async and incremental summarization should extend SharedObjectCore directly instead.
152
+ * @alpha
153
+ */
154
+ export declare abstract class SharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends SharedObjectCore<TEvent> {
155
+ private readonly telemetryContextPrefix;
156
+ /**
157
+ * True while we are garbage collecting this object's data.
158
+ */
159
+ private _isGCing;
160
+ /**
161
+ * The serializer to use to serialize / parse handles, if any.
162
+ */
163
+ private readonly _serializer;
164
+ protected get serializer(): IFluidSerializer;
165
+ /**
166
+ * @param id - The id of the shared object
167
+ * @param runtime - The IFluidDataStoreRuntime which contains the shared object
168
+ * @param attributes - Attributes of the shared object
169
+ */
170
+ constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, telemetryContextPrefix: string);
171
+ /**
172
+ * {@inheritDoc @fluidframework/datastore-definitions#(IChannel:interface).getAttachSummary}
173
+ */
174
+ getAttachSummary(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext): ISummaryTreeWithStats;
175
+ /**
176
+ * {@inheritDoc @fluidframework/datastore-definitions#(IChannel:interface).summarize}
177
+ */
178
+ summarize(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext, incrementalSummaryContext?: IExperimentalIncrementalSummaryContext): Promise<ISummaryTreeWithStats>;
179
+ /**
180
+ * {@inheritDoc (ISharedObject:interface).getGCData}
181
+ */
182
+ getGCData(fullGC?: boolean): IGarbageCollectionData;
183
+ /**
184
+ * Calls the serializer over all data in this object that reference other GC nodes.
185
+ * Derived classes must override this to provide custom list of references to other GC nodes.
186
+ */
187
+ protected processGCDataCore(serializer: SummarySerializer): void;
188
+ /**
189
+ * Gets a form of the object that can be serialized.
190
+ * @returns A tree representing the snapshot of the shared object.
191
+ */
192
+ protected abstract summarizeCore(serializer: IFluidSerializer, telemetryContext?: ITelemetryContext, incrementalSummaryContext?: IExperimentalIncrementalSummaryContext): ISummaryTreeWithStats;
193
+ private incrementTelemetryMetric;
194
+ }
195
+
196
+ /**
197
+ * Base class from which all shared objects derive.
198
+ * @alpha
199
+ */
200
+ export declare abstract class SharedObjectCore<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends EventEmitterWithErrorHandling<TEvent> implements ISharedObject<TEvent> {
201
+ id: string;
202
+ protected runtime: IFluidDataStoreRuntime;
203
+ readonly attributes: IChannelAttributes;
204
+ get IFluidLoadable(): this;
205
+ private readonly opProcessingHelper;
206
+ private readonly callbacksHelper;
207
+ /**
208
+ * The handle referring to this SharedObject
209
+ */
210
+ readonly handle: IFluidHandle;
211
+ /**
212
+ * Telemetry logger for the shared object
213
+ */
214
+ protected readonly logger: ITelemetryLoggerExt;
215
+ private readonly mc;
216
+ /**
217
+ * Connection state
218
+ */
219
+ private _connected;
220
+ /**
221
+ * Services used by the shared object
222
+ */
223
+ private services;
224
+ /**
225
+ * True if the dds is bound to its parent.
226
+ */
227
+ private _isBoundToContext;
228
+ /**
229
+ * Tracks error that closed this object.
230
+ */
231
+ private closeError?;
232
+ /**
233
+ * Gets the connection state
234
+ * @returns The state of the connection
235
+ */
236
+ get connected(): boolean;
237
+ /**
238
+ * @param id - The id of the shared object
239
+ * @param runtime - The IFluidDataStoreRuntime which contains the shared object
240
+ * @param attributes - Attributes of the shared object
241
+ */
242
+ constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);
243
+ /**
244
+ * This function is only supposed to be called from SharedObjectCore's constructor and
245
+ * depends on a few things being set already. assert() calls make sure of it.
246
+ * @returns The telemetry sampling helpers, so the constructor can be the one to assign them
247
+ * to variables to avoid complaints from TypeScript.
248
+ */
249
+ private setUpSampledTelemetryHelpers;
250
+ /**
251
+ * Marks this objects as closed. Any attempt to change it (local changes or processing remote ops)
252
+ * would result in same error thrown. If called multiple times, only first error is remembered.
253
+ * @param error - error object that is thrown whenever an attempt is made to modify this object
254
+ */
255
+ private closeWithError;
256
+ /**
257
+ * Verifies that this object is not closed via closeWithError(). If it is, throws an error used to close it.
258
+ */
259
+ private verifyNotClosed;
260
+ /**
261
+ * Event listener handler helper that can be used to react to exceptions thrown from event listeners
262
+ * It wraps error with DataProcessingError, closes this object and throws resulting error.
263
+ * See closeWithError() for more details
264
+ * Ideally such situation never happens, as consumers of DDS should never throw exceptions
265
+ * in event listeners (i.e. catch any of the issues and make determination on how to handle it).
266
+ * When such exceptions propagate through, most likely data model is no longer consistent, i.e.
267
+ * DDS state does not match what user sees. Because of it DDS moves to "corrupted state" and does not
268
+ * allow processing of ops or local changes, which very quickly results in container closure.
269
+ */
270
+ private eventListenerErrorHandler;
271
+ private attachListeners;
272
+ /**
273
+ * A shared object, after construction, can either be loaded in the case that it is already part of
274
+ * a shared document. Or later attached if it is being newly added.
275
+ * @param services - Services used by the shared object
276
+ */
277
+ load(services: IChannelServices): Promise<void>;
278
+ /**
279
+ * Initializes the object as a local, non-shared object. This object can become shared after
280
+ * it is attached to the document.
281
+ */
282
+ initializeLocal(): void;
283
+ /**
284
+ * {@inheritDoc (ISharedObject:interface).bindToContext}
285
+ */
286
+ bindToContext(): void;
287
+ /**
288
+ * {@inheritDoc @fluidframework/datastore-definitions#(IChannel:interface).connect}
289
+ */
290
+ connect(services: IChannelServices): void;
291
+ /**
292
+ * {@inheritDoc @fluidframework/datastore-definitions#(IChannel:interface).isAttached}
293
+ */
294
+ isAttached(): boolean;
295
+ /**
296
+ * {@inheritDoc @fluidframework/datastore-definitions#(IChannel:interface).getAttachSummary}
297
+ */
298
+ abstract getAttachSummary(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext): ISummaryTreeWithStats;
299
+ /**
300
+ * {@inheritDoc @fluidframework/datastore-definitions#(IChannel:interface).summarize}
301
+ */
302
+ abstract summarize(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext): Promise<ISummaryTreeWithStats>;
303
+ /**
304
+ * {@inheritDoc (ISharedObject:interface).getGCData}
305
+ */
306
+ abstract getGCData(fullGC?: boolean): IGarbageCollectionData;
307
+ /**
308
+ * Called when a handle is decoded by this object. A handle in the object's data represents an outbound reference
309
+ * to another object in the container.
310
+ * @param decodedHandle - The handle of the Fluid object that is decoded.
311
+ */
312
+ protected handleDecoded(decodedHandle: IFluidHandle): void;
313
+ /**
314
+ * Allows the distributed data type to perform custom loading
315
+ * @param services - Storage used by the shared object
316
+ */
317
+ protected abstract loadCore(services: IChannelStorageService): Promise<void>;
318
+ /**
319
+ * Allows the distributed data type to perform custom local loading.
320
+ */
321
+ protected initializeLocalCore(): void;
322
+ /**
323
+ * Allows the distributive data type the ability to perform custom processing once an attach has happened.
324
+ * Also called after non-local data type get loaded.
325
+ */
326
+ protected didAttach(): void;
327
+ /**
328
+ * Derived classes must override this to do custom processing on a remote message.
329
+ * @param message - The message to process
330
+ * @param local - True if the shared object is local
331
+ * @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
332
+ * For messages from a remote client, this will be undefined.
333
+ */
334
+ protected abstract processCore(message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown): any;
335
+ /**
336
+ * Called when the object has disconnected from the delta stream.
337
+ */
338
+ protected abstract onDisconnect(): any;
339
+ /**
340
+ * Submits a message by the local client to the runtime.
341
+ * @param content - Content of the message
342
+ * @param localOpMetadata - The local metadata associated with the message. This is kept locally by the runtime
343
+ * and not sent to the server. This will be sent back when this message is received back from the server. This is
344
+ * also sent if we are asked to resubmit the message.
345
+ */
346
+ protected submitLocalMessage(content: any, localOpMetadata?: unknown): void;
347
+ /**
348
+ * Marks this object as dirty so that it is part of the next summary. It is called by a SharedSummaryBlock
349
+ * that want to be part of summary but does not generate ops.
350
+ */
351
+ protected dirty(): void;
352
+ /**
353
+ * Called when the object has fully connected to the delta stream
354
+ * Default implementation for DDS, override if different behavior is required.
355
+ */
356
+ protected onConnect(): void;
357
+ /**
358
+ * Called when a message has to be resubmitted. This typically happens after a reconnection for unacked messages.
359
+ * The default implementation here is to resubmit the same message. The client can override if different behavior
360
+ * is required. It can choose to resubmit the same message, submit different / multiple messages or not submit
361
+ * anything at all.
362
+ * @param content - The content of the original message.
363
+ * @param localOpMetadata - The local metadata associated with the original message.
364
+ */
365
+ protected reSubmitCore(content: any, localOpMetadata: unknown): void;
366
+ /**
367
+ * Promises that are waiting for an ack from the server before resolving should use this instead of new Promise.
368
+ * It ensures that if something changes that will interrupt that ack (e.g. the FluidDataStoreRuntime disposes),
369
+ * the Promise will reject.
370
+ * If runtime is disposed when this call is made, executor is not run and promise is rejected right away.
371
+ */
372
+ protected newAckBasedPromise<T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
373
+ private attachDeltaHandler;
374
+ /**
375
+ * Set the state of connection to services.
376
+ * @param connected - true if connected, false otherwise.
377
+ */
378
+ private setConnectionState;
379
+ /**
380
+ * Handles a message being received from the remote delta server.
381
+ * @param message - The message to process
382
+ * @param local - Whether the message originated from the local client
383
+ * @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
384
+ * For messages from a remote client, this will be undefined.
385
+ */
386
+ private process;
387
+ /**
388
+ * Called when a message has to be resubmitted. This typically happens for unacked messages after a
389
+ * reconnection.
390
+ * @param content - The content of the original message.
391
+ * @param localOpMetadata - The local metadata associated with the original message.
392
+ */
393
+ private reSubmit;
394
+ /**
395
+ * Revert an op
396
+ */
397
+ protected rollback(content: any, localOpMetadata: unknown): void;
398
+ /**
399
+ * Apply changes from an op. Used when rehydrating an attached container
400
+ * with pending changes. This prepares the SharedObject for seeing an ACK
401
+ * for the op or resubmitting the op upon reconnection.
402
+ * @param content - Contents of a stashed op.
403
+ * @returns localMetadata of the op, to be passed to process() or resubmit()
404
+ * when the op is ACKed or resubmitted, respectively
405
+ */
406
+ protected abstract applyStashedOp(content: any): unknown;
407
+ /**
408
+ * Emit an event. This function is only intended for use by DDS classes that extend SharedObject/SharedObjectCore,
409
+ * specifically to emit events that are part of the public interface of the DDS (i.e. those that can have listeners
410
+ * attached to them by the consumers of the DDS). It should not be called from outside the class or to emit events
411
+ * which are only internal to the DDS. Support for calling it from outside the DDS instance might be removed in the
412
+ * future.
413
+ * @param event - The event to emit.
414
+ * @param args - Arguments to pass to the event listeners.
415
+ * @returns `true` if the event had listeners, `false` otherwise.
416
+ */
417
+ emit(event: EventEmitterEventType, ...args: any[]): boolean;
418
+ /**
419
+ * Use to emit events inside {@link SharedObjectCore}, with no telemetry measurement
420
+ * done on the duration of the callbacks. Simply calls `super.emit()`.
421
+ * @param event - Event to emit
422
+ * @param args - Arguments for the event
423
+ * @returns Whatever `super.emit()` returns.
424
+ */
425
+ private emitInternal;
426
+ }
427
+
428
+ /**
429
+ * Serializer implementation for serializing handles during summary.
430
+ * @alpha
431
+ */
432
+ export declare class SummarySerializer extends FluidSerializer {
433
+ private readonly serializedRoutes;
434
+ getSerializedRoutes(): string[];
435
+ protected serializeHandle(handle: IFluidHandle, bind: IFluidHandle): {
436
+ type: string;
437
+ url: string;
438
+ };
439
+ }
62
440
 
63
441
  /* Excluded from this release type: ValueType */
64
442
 
@@ -28,7 +28,7 @@ export declare function createSingleBlobSummary(key: string, content: string | U
28
28
 
29
29
  /**
30
30
  * Data Store serializer implementation
31
- * @internal
31
+ * @alpha
32
32
  */
33
33
  export declare class FluidSerializer implements IFluidSerializer {
34
34
  private readonly context;
@@ -68,7 +68,7 @@ export declare class FluidSerializer implements IFluidSerializer {
68
68
  }
69
69
 
70
70
  /**
71
- * @internal
71
+ * @alpha
72
72
  */
73
73
  export declare interface IFluidSerializer {
74
74
  /**
@@ -111,7 +111,7 @@ export declare interface ISerializedHandle {
111
111
 
112
112
  /**
113
113
  * Base interface for shared objects from which other interfaces derive. Implemented by SharedObject
114
- * @internal
114
+ * @alpha
115
115
  */
116
116
  export declare interface ISharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends IChannel, IEventProvider<TEvent> {
117
117
  /**
@@ -129,7 +129,7 @@ export declare interface ISharedObject<TEvent extends ISharedObjectEvents = ISha
129
129
 
130
130
  /**
131
131
  * Events emitted by {@link ISharedObject}.
132
- * @internal
132
+ * @alpha
133
133
  */
134
134
  export declare interface ISharedObjectEvents extends IErrorEvent {
135
135
  /**
@@ -198,7 +198,7 @@ export declare function serializeHandles(value: any, serializer: IFluidSerialize
198
198
  /**
199
199
  * SharedObject with simplified, synchronous summarization and GC.
200
200
  * DDS implementations with async and incremental summarization should extend SharedObjectCore directly instead.
201
- * @internal
201
+ * @alpha
202
202
  */
203
203
  export declare abstract class SharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends SharedObjectCore<TEvent> {
204
204
  private readonly telemetryContextPrefix;
@@ -244,7 +244,7 @@ export declare abstract class SharedObject<TEvent extends ISharedObjectEvents =
244
244
 
245
245
  /**
246
246
  * Base class from which all shared objects derive.
247
- * @internal
247
+ * @alpha
248
248
  */
249
249
  export declare abstract class SharedObjectCore<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends EventEmitterWithErrorHandling<TEvent> implements ISharedObject<TEvent> {
250
250
  id: string;
@@ -476,7 +476,7 @@ export declare abstract class SharedObjectCore<TEvent extends ISharedObjectEvent
476
476
 
477
477
  /**
478
478
  * Serializer implementation for serializing handles during summary.
479
- * @internal
479
+ * @alpha
480
480
  */
481
481
  export declare class SummarySerializer extends FluidSerializer {
482
482
  private readonly serializedRoutes;
@@ -13,7 +13,7 @@ import { SummarySerializer } from "./summarySerializer";
13
13
  import { ISharedObject, ISharedObjectEvents } from "./types";
14
14
  /**
15
15
  * Base class from which all shared objects derive.
16
- * @internal
16
+ * @alpha
17
17
  */
18
18
  export declare abstract class SharedObjectCore<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends EventEmitterWithErrorHandling<TEvent> implements ISharedObject<TEvent> {
19
19
  id: string;
@@ -245,7 +245,7 @@ export declare abstract class SharedObjectCore<TEvent extends ISharedObjectEvent
245
245
  /**
246
246
  * SharedObject with simplified, synchronous summarization and GC.
247
247
  * DDS implementations with async and incremental summarization should extend SharedObjectCore directly instead.
248
- * @internal
248
+ * @alpha
249
249
  */
250
250
  export declare abstract class SharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends SharedObjectCore<TEvent> {
251
251
  private readonly telemetryContextPrefix;
@@ -12,7 +12,7 @@ import { SharedObjectHandle } from "./handle.mjs";
12
12
  import { SummarySerializer } from "./summarySerializer.mjs";
13
13
  /**
14
14
  * Base class from which all shared objects derive.
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export class SharedObjectCore extends EventEmitterWithErrorHandling {
18
18
  get IFluidLoadable() {
@@ -383,7 +383,7 @@ export class SharedObjectCore extends EventEmitterWithErrorHandling {
383
383
  /**
384
384
  * SharedObject with simplified, synchronous summarization and GC.
385
385
  * DDS implementations with async and incremental summarization should extend SharedObjectCore directly instead.
386
- * @internal
386
+ * @alpha
387
387
  */
388
388
  export class SharedObject extends SharedObjectCore {
389
389
  get serializer() {