@fluidframework/container-runtime 2.0.0-dev.7.4.0.217212 → 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 (52) hide show
  1. package/api-report/container-runtime.api.md +55 -55
  2. package/dist/blobManager.d.ts +1 -1
  3. package/dist/blobManager.js.map +1 -1
  4. package/dist/container-runtime-alpha.d.ts +1340 -132
  5. package/dist/container-runtime-untrimmed.d.ts +55 -55
  6. package/dist/containerRuntime.d.ts +10 -10
  7. package/dist/containerRuntime.js +2 -2
  8. package/dist/containerRuntime.js.map +1 -1
  9. package/dist/gc/gcDefinitions.d.ts +9 -9
  10. package/dist/gc/gcDefinitions.js +1 -1
  11. package/dist/gc/gcDefinitions.js.map +1 -1
  12. package/dist/packageVersion.d.ts +1 -1
  13. package/dist/packageVersion.js +1 -1
  14. package/dist/packageVersion.js.map +1 -1
  15. package/dist/summary/orderedClientElection.d.ts +1 -1
  16. package/dist/summary/orderedClientElection.js.map +1 -1
  17. package/dist/summary/summarizerTypes.d.ts +28 -28
  18. package/dist/summary/summarizerTypes.js.map +1 -1
  19. package/dist/summary/summaryCollection.d.ts +3 -3
  20. package/dist/summary/summaryCollection.js.map +1 -1
  21. package/dist/summary/summaryFormat.d.ts +3 -3
  22. package/dist/summary/summaryFormat.js.map +1 -1
  23. package/lib/blobManager.d.ts +1 -1
  24. package/lib/blobManager.js.map +1 -1
  25. package/lib/container-runtime-alpha.d.ts +1340 -132
  26. package/lib/container-runtime-untrimmed.d.ts +55 -55
  27. package/lib/containerRuntime.d.ts +10 -10
  28. package/lib/containerRuntime.js +2 -2
  29. package/lib/containerRuntime.js.map +1 -1
  30. package/lib/gc/gcDefinitions.d.ts +9 -9
  31. package/lib/gc/gcDefinitions.js +1 -1
  32. package/lib/gc/gcDefinitions.js.map +1 -1
  33. package/lib/packageVersion.d.ts +1 -1
  34. package/lib/packageVersion.js +1 -1
  35. package/lib/packageVersion.js.map +1 -1
  36. package/lib/summary/orderedClientElection.d.ts +1 -1
  37. package/lib/summary/orderedClientElection.js.map +1 -1
  38. package/lib/summary/summarizerTypes.d.ts +28 -28
  39. package/lib/summary/summarizerTypes.js.map +1 -1
  40. package/lib/summary/summaryCollection.d.ts +3 -3
  41. package/lib/summary/summaryCollection.js.map +1 -1
  42. package/lib/summary/summaryFormat.d.ts +3 -3
  43. package/lib/summary/summaryFormat.js.map +1 -1
  44. package/package.json +15 -15
  45. package/src/blobManager.ts +1 -1
  46. package/src/containerRuntime.ts +10 -10
  47. package/src/gc/gcDefinitions.ts +9 -9
  48. package/src/packageVersion.ts +1 -1
  49. package/src/summary/orderedClientElection.ts +1 -1
  50. package/src/summary/summarizerTypes.ts +28 -28
  51. package/src/summary/summaryCollection.ts +3 -3
  52. package/src/summary/summaryFormat.ts +3 -3
@@ -19,7 +19,7 @@ import { SummarizeReason } from "./summaryGenerator";
19
19
  /**
20
20
  * Similar to AbortSignal, but using promise instead of events
21
21
  * @param T - cancellation reason type
22
- * @internal
22
+ * @alpha
23
23
  */
24
24
  export interface ICancellationToken<T> {
25
25
  /** Tells if this cancellable token is cancelled */
@@ -33,13 +33,13 @@ export interface ICancellationToken<T> {
33
33
 
34
34
  /**
35
35
  * Similar to AbortSignal, but using promise instead of events
36
- * @internal
36
+ * @alpha
37
37
  */
38
38
  export type ISummaryCancellationToken = ICancellationToken<SummarizerStopReason>;
39
39
 
40
40
  /**
41
41
  * Data required to update internal tracking state after receiving a Summary Ack.
42
- * @internal
42
+ * @alpha
43
43
  */
44
44
  export interface IRefreshSummaryAckOptions {
45
45
  /** Handle from the ack's summary op. */
@@ -53,7 +53,7 @@ export interface IRefreshSummaryAckOptions {
53
53
  }
54
54
 
55
55
  /**
56
- * @internal
56
+ * @alpha
57
57
  */
58
58
  export interface ISummarizerInternalsProvider {
59
59
  /** Encapsulates the work to walk the internals of the running container to generate a summary */
@@ -86,7 +86,7 @@ export interface ISummarizingWarning extends ContainerWarning {
86
86
  }
87
87
 
88
88
  /**
89
- * @internal
89
+ * @alpha
90
90
  */
91
91
  export interface IConnectableRuntime {
92
92
  readonly disposed: boolean;
@@ -96,7 +96,7 @@ export interface IConnectableRuntime {
96
96
  }
97
97
 
98
98
  /**
99
- * @internal
99
+ * @alpha
100
100
  */
101
101
  export interface ISummarizerRuntime extends IConnectableRuntime {
102
102
  readonly logger: ITelemetryLoggerExt;
@@ -117,7 +117,7 @@ export interface ISummarizerRuntime extends IConnectableRuntime {
117
117
 
118
118
  /**
119
119
  * Options affecting summarize behavior.
120
- * @internal
120
+ * @alpha
121
121
  */
122
122
  export interface ISummarizeOptions {
123
123
  /** True to generate the full tree with no handle reuse optimizations; defaults to false */
@@ -132,7 +132,7 @@ export interface ISummarizeOptions {
132
132
  }
133
133
 
134
134
  /**
135
- * @internal
135
+ * @alpha
136
136
  */
137
137
  export interface ISubmitSummaryOptions extends ISummarizeOptions {
138
138
  /** Logger to use for correlated summary events */
@@ -144,7 +144,7 @@ export interface ISubmitSummaryOptions extends ISummarizeOptions {
144
144
  }
145
145
 
146
146
  /**
147
- * @internal
147
+ * @alpha
148
148
  */
149
149
  export interface IOnDemandSummarizeOptions extends ISummarizeOptions {
150
150
  /** Reason for generating summary. */
@@ -153,7 +153,7 @@ export interface IOnDemandSummarizeOptions extends ISummarizeOptions {
153
153
 
154
154
  /**
155
155
  * Options to use when enqueueing a summarize attempt.
156
- * @internal
156
+ * @alpha
157
157
  */
158
158
  export interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOptions {
159
159
  /** If specified, The summarize attempt will not occur until after this sequence number. */
@@ -171,7 +171,7 @@ export interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOptions {
171
171
  /**
172
172
  * In addition to the normal summary tree + stats, this contains additional stats
173
173
  * only relevant at the root of the tree.
174
- * @internal
174
+ * @alpha
175
175
  */
176
176
  export interface IGeneratedSummaryStats extends ISummaryStats {
177
177
  /** The total number of data stores in the container. */
@@ -190,7 +190,7 @@ export interface IGeneratedSummaryStats extends ISummaryStats {
190
190
 
191
191
  /**
192
192
  * Base results for all submitSummary attempts.
193
- * @internal
193
+ * @alpha
194
194
  */
195
195
  export interface IBaseSummarizeResult {
196
196
  readonly stage: "base";
@@ -203,7 +203,7 @@ export interface IBaseSummarizeResult {
203
203
 
204
204
  /**
205
205
  * Results of submitSummary after generating the summary tree.
206
- * @internal
206
+ * @alpha
207
207
  */
208
208
  export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "stage"> {
209
209
  readonly stage: "generate";
@@ -219,7 +219,7 @@ export interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "
219
219
 
220
220
  /**
221
221
  * Results of submitSummary after uploading the tree to storage.
222
- * @internal
222
+ * @alpha
223
223
  */
224
224
  export interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "stage"> {
225
225
  readonly stage: "upload";
@@ -231,7 +231,7 @@ export interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "
231
231
 
232
232
  /**
233
233
  * Results of submitSummary after submitting the summarize op.
234
- * @internal
234
+ * @alpha
235
235
  */
236
236
  export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stage" | "error"> {
237
237
  readonly stage: "submit";
@@ -256,7 +256,7 @@ export interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stag
256
256
  * 3. "upload" - the summary was uploaded to storage, and the result contains the server-provided handle
257
257
  *
258
258
  * 4. "submit" - the summarize op was submitted, and the result contains the op client sequence number.
259
- * @internal
259
+ * @alpha
260
260
  */
261
261
  export type SubmitSummaryResult =
262
262
  | IBaseSummarizeResult
@@ -266,13 +266,13 @@ export type SubmitSummaryResult =
266
266
 
267
267
  /**
268
268
  * The stages of Summarize, used to describe how far progress succeeded in case of a failure at a later stage.
269
- * @internal
269
+ * @alpha
270
270
  */
271
271
  export type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
272
272
 
273
273
  /**
274
274
  * Type for summarization failures that are retriable.
275
- * @internal
275
+ * @alpha
276
276
  */
277
277
  export interface IRetriableFailureResult {
278
278
  readonly retryAfterSeconds?: number;
@@ -280,14 +280,14 @@ export interface IRetriableFailureResult {
280
280
 
281
281
  /**
282
282
  * The data in summarizer result when submit summary stage fails.
283
- * @internal
283
+ * @alpha
284
284
  */
285
285
  export interface SubmitSummaryFailureData extends IRetriableFailureResult {
286
286
  stage: SummaryStage;
287
287
  }
288
288
 
289
289
  /**
290
- * @internal
290
+ * @alpha
291
291
  */
292
292
  export interface IBroadcastSummaryResult {
293
293
  readonly summarizeOp: ISummaryOpMessage;
@@ -295,7 +295,7 @@ export interface IBroadcastSummaryResult {
295
295
  }
296
296
 
297
297
  /**
298
- * @internal
298
+ * @alpha
299
299
  */
300
300
  export interface IAckSummaryResult {
301
301
  readonly summaryAckOp: ISummaryAckMessage;
@@ -303,7 +303,7 @@ export interface IAckSummaryResult {
303
303
  }
304
304
 
305
305
  /**
306
- * @internal
306
+ * @alpha
307
307
  */
308
308
  export interface INackSummaryResult extends IRetriableFailureResult {
309
309
  readonly summaryNackOp: ISummaryNackMessage;
@@ -311,7 +311,7 @@ export interface INackSummaryResult extends IRetriableFailureResult {
311
311
  }
312
312
 
313
313
  /**
314
- * @internal
314
+ * @alpha
315
315
  */
316
316
  export type SummarizeResultPart<TSuccess, TFailure = undefined> =
317
317
  | {
@@ -326,7 +326,7 @@ export type SummarizeResultPart<TSuccess, TFailure = undefined> =
326
326
  };
327
327
 
328
328
  /**
329
- * @internal
329
+ * @alpha
330
330
  */
331
331
  export interface ISummarizeResults {
332
332
  /** Resolves when we generate, upload, and submit the summary. */
@@ -342,7 +342,7 @@ export interface ISummarizeResults {
342
342
  }
343
343
 
344
344
  /**
345
- * @internal
345
+ * @alpha
346
346
  */
347
347
  export type EnqueueSummarizeResult =
348
348
  | (ISummarizeResults & {
@@ -372,7 +372,7 @@ export type EnqueueSummarizeResult =
372
372
  };
373
373
 
374
374
  /**
375
- * @internal
375
+ * @alpha
376
376
  */
377
377
  export type SummarizerStopReason =
378
378
  /** Summarizer client failed to summarize in all 3 consecutive attempts. */
@@ -401,7 +401,7 @@ export type SummarizerStopReason =
401
401
  | "latestSummaryStateStale";
402
402
 
403
403
  /**
404
- * @internal
404
+ * @alpha
405
405
  */
406
406
  export interface ISummarizeEventProps {
407
407
  result: "success" | "failure" | "canceled";
@@ -411,7 +411,7 @@ export interface ISummarizeEventProps {
411
411
  }
412
412
 
413
413
  /**
414
- * @internal
414
+ * @alpha
415
415
  */
416
416
  export interface ISummarizerEvents extends IEvent {
417
417
  (event: "summarize", listener: (props: ISummarizeEventProps) => void);
@@ -19,7 +19,7 @@ import {
19
19
 
20
20
  /**
21
21
  * Interface for summary op messages with typed contents.
22
- * @internal
22
+ * @alpha
23
23
  */
24
24
  export interface ISummaryOpMessage extends ISequencedDocumentMessage {
25
25
  type: MessageType.Summarize;
@@ -28,7 +28,7 @@ export interface ISummaryOpMessage extends ISequencedDocumentMessage {
28
28
 
29
29
  /**
30
30
  * Interface for summary ack messages with typed contents.
31
- * @internal
31
+ * @alpha
32
32
  */
33
33
  export interface ISummaryAckMessage extends ISequencedDocumentMessage {
34
34
  type: MessageType.SummaryAck;
@@ -37,7 +37,7 @@ export interface ISummaryAckMessage extends ISequencedDocumentMessage {
37
37
 
38
38
  /**
39
39
  * Interface for summary nack messages with typed contents.
40
- * @internal
40
+ * @alpha
41
41
  */
42
42
  export interface ISummaryNackMessage extends ISequencedDocumentMessage {
43
43
  type: MessageType.SummaryNack;
@@ -86,7 +86,7 @@ export function hasIsolatedChannels(attributes: ReadFluidDataStoreAttributes): b
86
86
  }
87
87
 
88
88
  /**
89
- * @internal
89
+ * @alpha
90
90
  */
91
91
  export interface IContainerRuntimeMetadata extends ICreateContainerMetadata, IGCMetadata {
92
92
  readonly summaryFormatVersion: 1;
@@ -103,7 +103,7 @@ export interface IContainerRuntimeMetadata extends ICreateContainerMetadata, IGC
103
103
  }
104
104
 
105
105
  /**
106
- * @internal
106
+ * @alpha
107
107
  */
108
108
  export interface ICreateContainerMetadata {
109
109
  /** Runtime version of the container when it was first created */
@@ -114,7 +114,7 @@ export interface ICreateContainerMetadata {
114
114
 
115
115
  /**
116
116
  * The properties of an ISequencedDocumentMessage to be stored in the metadata blob in summary.
117
- * @internal
117
+ * @alpha
118
118
  */
119
119
  export type ISummaryMetadataMessage = Pick<
120
120
  ISequencedDocumentMessage,