@fluidframework/container-runtime 2.0.0-internal.7.2.2 → 2.0.0-internal.7.4.0

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 (302) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -2
  3. package/api-extractor-lint.json +13 -0
  4. package/api-extractor.json +9 -1
  5. package/api-report/container-runtime.api.md +124 -107
  6. package/dist/batchTracker.d.ts +1 -0
  7. package/dist/batchTracker.d.ts.map +1 -1
  8. package/dist/blobManager.d.ts +4 -4
  9. package/dist/blobManager.d.ts.map +1 -1
  10. package/dist/blobManager.js.map +1 -1
  11. package/dist/connectionTelemetry.js +1 -1
  12. package/dist/connectionTelemetry.js.map +1 -1
  13. package/dist/container-runtime-alpha.d.ts +1473 -0
  14. package/dist/container-runtime-beta.d.ts +300 -0
  15. package/dist/container-runtime-public.d.ts +300 -0
  16. package/dist/container-runtime-untrimmed.d.ts +1836 -0
  17. package/dist/containerRuntime.d.ts +34 -40
  18. package/dist/containerRuntime.d.ts.map +1 -1
  19. package/dist/containerRuntime.js +79 -67
  20. package/dist/containerRuntime.js.map +1 -1
  21. package/dist/dataStoreRegistry.d.ts +1 -1
  22. package/dist/dataStoreRegistry.js +1 -1
  23. package/dist/dataStoreRegistry.js.map +1 -1
  24. package/dist/dataStores.d.ts +10 -15
  25. package/dist/dataStores.d.ts.map +1 -1
  26. package/dist/dataStores.js +77 -40
  27. package/dist/dataStores.js.map +1 -1
  28. package/dist/gc/garbageCollection.d.ts +41 -13
  29. package/dist/gc/garbageCollection.d.ts.map +1 -1
  30. package/dist/gc/garbageCollection.js +215 -78
  31. package/dist/gc/garbageCollection.js.map +1 -1
  32. package/dist/gc/gcConfigs.d.ts.map +1 -1
  33. package/dist/gc/gcConfigs.js +34 -37
  34. package/dist/gc/gcConfigs.js.map +1 -1
  35. package/dist/gc/gcDefinitions.d.ts +121 -46
  36. package/dist/gc/gcDefinitions.d.ts.map +1 -1
  37. package/dist/gc/gcDefinitions.js +26 -18
  38. package/dist/gc/gcDefinitions.js.map +1 -1
  39. package/dist/gc/gcHelpers.d.ts +18 -25
  40. package/dist/gc/gcHelpers.d.ts.map +1 -1
  41. package/dist/gc/gcHelpers.js +29 -45
  42. package/dist/gc/gcHelpers.js.map +1 -1
  43. package/dist/gc/gcTelemetry.d.ts +0 -5
  44. package/dist/gc/gcTelemetry.d.ts.map +1 -1
  45. package/dist/gc/gcTelemetry.js +14 -42
  46. package/dist/gc/gcTelemetry.js.map +1 -1
  47. package/dist/gc/gcUnreferencedStateTracker.d.ts +11 -5
  48. package/dist/gc/gcUnreferencedStateTracker.d.ts.map +1 -1
  49. package/dist/gc/gcUnreferencedStateTracker.js +43 -19
  50. package/dist/gc/gcUnreferencedStateTracker.js.map +1 -1
  51. package/dist/gc/index.d.ts +1 -1
  52. package/dist/gc/index.d.ts.map +1 -1
  53. package/dist/gc/index.js +4 -5
  54. package/dist/gc/index.js.map +1 -1
  55. package/dist/index.d.ts +14 -2
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +16 -5
  58. package/dist/index.js.map +1 -1
  59. package/dist/messageTypes.d.ts +16 -11
  60. package/dist/messageTypes.d.ts.map +1 -1
  61. package/dist/messageTypes.js +6 -1
  62. package/dist/messageTypes.js.map +1 -1
  63. package/dist/metadata.d.ts +6 -0
  64. package/dist/metadata.d.ts.map +1 -1
  65. package/dist/metadata.js.map +1 -1
  66. package/dist/opLifecycle/definitions.d.ts +1 -1
  67. package/dist/opLifecycle/definitions.js.map +1 -1
  68. package/dist/opLifecycle/opGroupingManager.d.ts.map +1 -1
  69. package/dist/opLifecycle/opGroupingManager.js +10 -1
  70. package/dist/opLifecycle/opGroupingManager.js.map +1 -1
  71. package/dist/opLifecycle/outbox.d.ts +2 -0
  72. package/dist/opLifecycle/outbox.d.ts.map +1 -1
  73. package/dist/opLifecycle/outbox.js +21 -0
  74. package/dist/opLifecycle/outbox.js.map +1 -1
  75. package/dist/packageVersion.d.ts +1 -1
  76. package/dist/packageVersion.js +1 -1
  77. package/dist/packageVersion.js.map +1 -1
  78. package/dist/pendingStateManager.d.ts +1 -1
  79. package/dist/pendingStateManager.d.ts.map +1 -1
  80. package/dist/pendingStateManager.js +2 -11
  81. package/dist/pendingStateManager.js.map +1 -1
  82. package/dist/scheduleManager.d.ts +1 -0
  83. package/dist/scheduleManager.d.ts.map +1 -1
  84. package/dist/summary/orderedClientElection.d.ts +1 -1
  85. package/dist/summary/orderedClientElection.js.map +1 -1
  86. package/dist/summary/runWhileConnectedCoordinator.d.ts +2 -2
  87. package/dist/summary/runWhileConnectedCoordinator.js +1 -1
  88. package/dist/summary/runWhileConnectedCoordinator.js.map +1 -1
  89. package/dist/summary/summarizer.d.ts +1 -1
  90. package/dist/summary/summarizer.js +1 -1
  91. package/dist/summary/summarizer.js.map +1 -1
  92. package/dist/summary/summarizerTypes.d.ts +30 -30
  93. package/dist/summary/summarizerTypes.js.map +1 -1
  94. package/dist/summary/summaryCollection.d.ts +10 -10
  95. package/dist/summary/summaryCollection.js +1 -1
  96. package/dist/summary/summaryCollection.js.map +1 -1
  97. package/dist/summary/summaryFormat.d.ts +3 -3
  98. package/dist/summary/summaryFormat.js.map +1 -1
  99. package/dist/tsdoc-metadata.json +1 -1
  100. package/lib/batchTracker.d.ts +1 -0
  101. package/lib/batchTracker.d.ts.map +1 -1
  102. package/lib/blobManager.d.ts +4 -4
  103. package/lib/blobManager.d.ts.map +1 -1
  104. package/lib/blobManager.js.map +1 -1
  105. package/lib/connectionTelemetry.js +1 -1
  106. package/lib/connectionTelemetry.js.map +1 -1
  107. package/lib/container-runtime-alpha.d.ts +1473 -0
  108. package/lib/container-runtime-beta.d.ts +300 -0
  109. package/lib/container-runtime-public.d.ts +300 -0
  110. package/lib/container-runtime-untrimmed.d.ts +1836 -0
  111. package/lib/containerRuntime.d.ts +34 -40
  112. package/lib/containerRuntime.d.ts.map +1 -1
  113. package/lib/containerRuntime.js +81 -69
  114. package/lib/containerRuntime.js.map +1 -1
  115. package/lib/dataStoreRegistry.d.ts +1 -1
  116. package/lib/dataStoreRegistry.js +1 -1
  117. package/lib/dataStoreRegistry.js.map +1 -1
  118. package/lib/dataStores.d.ts +10 -15
  119. package/lib/dataStores.d.ts.map +1 -1
  120. package/lib/dataStores.js +80 -43
  121. package/lib/dataStores.js.map +1 -1
  122. package/lib/gc/garbageCollection.d.ts +41 -13
  123. package/lib/gc/garbageCollection.d.ts.map +1 -1
  124. package/lib/gc/garbageCollection.js +217 -80
  125. package/lib/gc/garbageCollection.js.map +1 -1
  126. package/lib/gc/gcConfigs.d.ts.map +1 -1
  127. package/lib/gc/gcConfigs.js +37 -40
  128. package/lib/gc/gcConfigs.js.map +1 -1
  129. package/lib/gc/gcDefinitions.d.ts +121 -46
  130. package/lib/gc/gcDefinitions.d.ts.map +1 -1
  131. package/lib/gc/gcDefinitions.js +25 -17
  132. package/lib/gc/gcDefinitions.js.map +1 -1
  133. package/lib/gc/gcHelpers.d.ts +18 -25
  134. package/lib/gc/gcHelpers.d.ts.map +1 -1
  135. package/lib/gc/gcHelpers.js +27 -43
  136. package/lib/gc/gcHelpers.js.map +1 -1
  137. package/lib/gc/gcTelemetry.d.ts +0 -5
  138. package/lib/gc/gcTelemetry.d.ts.map +1 -1
  139. package/lib/gc/gcTelemetry.js +15 -43
  140. package/lib/gc/gcTelemetry.js.map +1 -1
  141. package/lib/gc/gcUnreferencedStateTracker.d.ts +11 -5
  142. package/lib/gc/gcUnreferencedStateTracker.d.ts.map +1 -1
  143. package/lib/gc/gcUnreferencedStateTracker.js +43 -19
  144. package/lib/gc/gcUnreferencedStateTracker.js.map +1 -1
  145. package/lib/gc/index.d.ts +1 -1
  146. package/lib/gc/index.d.ts.map +1 -1
  147. package/lib/gc/index.js +1 -1
  148. package/lib/gc/index.js.map +1 -1
  149. package/lib/index.d.ts +14 -2
  150. package/lib/index.d.ts.map +1 -1
  151. package/lib/index.js +15 -1
  152. package/lib/index.js.map +1 -1
  153. package/lib/messageTypes.d.ts +16 -11
  154. package/lib/messageTypes.d.ts.map +1 -1
  155. package/lib/messageTypes.js +6 -1
  156. package/lib/messageTypes.js.map +1 -1
  157. package/lib/metadata.d.ts +6 -0
  158. package/lib/metadata.d.ts.map +1 -1
  159. package/lib/metadata.js.map +1 -1
  160. package/lib/opLifecycle/definitions.d.ts +1 -1
  161. package/lib/opLifecycle/definitions.js.map +1 -1
  162. package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -1
  163. package/lib/opLifecycle/opGroupingManager.js +10 -1
  164. package/lib/opLifecycle/opGroupingManager.js.map +1 -1
  165. package/lib/opLifecycle/outbox.d.ts +2 -0
  166. package/lib/opLifecycle/outbox.d.ts.map +1 -1
  167. package/lib/opLifecycle/outbox.js +21 -0
  168. package/lib/opLifecycle/outbox.js.map +1 -1
  169. package/lib/packageVersion.d.ts +1 -1
  170. package/lib/packageVersion.js +1 -1
  171. package/lib/packageVersion.js.map +1 -1
  172. package/lib/pendingStateManager.d.ts +1 -1
  173. package/lib/pendingStateManager.d.ts.map +1 -1
  174. package/lib/pendingStateManager.js +2 -11
  175. package/lib/pendingStateManager.js.map +1 -1
  176. package/lib/scheduleManager.d.ts +1 -0
  177. package/lib/scheduleManager.d.ts.map +1 -1
  178. package/lib/summary/orderedClientElection.d.ts +1 -1
  179. package/lib/summary/orderedClientElection.js.map +1 -1
  180. package/lib/summary/runWhileConnectedCoordinator.d.ts +2 -2
  181. package/lib/summary/runWhileConnectedCoordinator.js +1 -1
  182. package/lib/summary/runWhileConnectedCoordinator.js.map +1 -1
  183. package/lib/summary/summarizer.d.ts +1 -1
  184. package/lib/summary/summarizer.js +1 -1
  185. package/lib/summary/summarizer.js.map +1 -1
  186. package/lib/summary/summarizerTypes.d.ts +30 -30
  187. package/lib/summary/summarizerTypes.js.map +1 -1
  188. package/lib/summary/summaryCollection.d.ts +10 -10
  189. package/lib/summary/summaryCollection.js +1 -1
  190. package/lib/summary/summaryCollection.js.map +1 -1
  191. package/lib/summary/summaryFormat.d.ts +3 -3
  192. package/lib/summary/summaryFormat.js.map +1 -1
  193. package/package.json +56 -29
  194. package/src/blobManager.ts +5 -5
  195. package/src/connectionTelemetry.ts +1 -1
  196. package/src/containerRuntime.ts +113 -90
  197. package/src/dataStoreRegistry.ts +1 -1
  198. package/src/dataStores.ts +140 -69
  199. package/src/gc/garbageCollection.md +14 -15
  200. package/src/gc/garbageCollection.ts +256 -96
  201. package/src/gc/gcConfigs.ts +50 -52
  202. package/src/gc/gcDefinitions.ts +137 -52
  203. package/src/gc/gcHelpers.ts +31 -52
  204. package/src/gc/gcTelemetry.ts +16 -57
  205. package/src/gc/gcUnreferencedStateTracker.ts +61 -22
  206. package/src/gc/index.ts +6 -4
  207. package/src/index.ts +19 -1
  208. package/src/messageTypes.ts +21 -11
  209. package/src/metadata.ts +7 -0
  210. package/src/opLifecycle/definitions.ts +1 -1
  211. package/src/opLifecycle/opGroupingManager.ts +10 -1
  212. package/src/opLifecycle/outbox.ts +34 -0
  213. package/src/packageVersion.ts +1 -1
  214. package/src/pendingStateManager.ts +3 -13
  215. package/src/summary/orderedClientElection.ts +1 -1
  216. package/src/summary/runWhileConnectedCoordinator.ts +2 -2
  217. package/src/summary/summarizer.ts +1 -1
  218. package/src/summary/summarizerTypes.ts +30 -30
  219. package/src/summary/summaryCollection.ts +10 -10
  220. package/src/summary/summaryFormat.ts +3 -3
  221. package/dist/id-compressor/appendOnlySortedMap.d.ts +0 -124
  222. package/dist/id-compressor/appendOnlySortedMap.d.ts.map +0 -1
  223. package/dist/id-compressor/appendOnlySortedMap.js +0 -318
  224. package/dist/id-compressor/appendOnlySortedMap.js.map +0 -1
  225. package/dist/id-compressor/finalSpace.d.ts +0 -29
  226. package/dist/id-compressor/finalSpace.d.ts.map +0 -1
  227. package/dist/id-compressor/finalSpace.js +0 -62
  228. package/dist/id-compressor/finalSpace.js.map +0 -1
  229. package/dist/id-compressor/idCompressor.d.ts +0 -54
  230. package/dist/id-compressor/idCompressor.d.ts.map +0 -1
  231. package/dist/id-compressor/idCompressor.js +0 -495
  232. package/dist/id-compressor/idCompressor.js.map +0 -1
  233. package/dist/id-compressor/identifiers.d.ts +0 -32
  234. package/dist/id-compressor/identifiers.d.ts.map +0 -1
  235. package/dist/id-compressor/identifiers.js +0 -15
  236. package/dist/id-compressor/identifiers.js.map +0 -1
  237. package/dist/id-compressor/index.d.ts +0 -13
  238. package/dist/id-compressor/index.d.ts.map +0 -1
  239. package/dist/id-compressor/index.js +0 -32
  240. package/dist/id-compressor/index.js.map +0 -1
  241. package/dist/id-compressor/persistanceUtilities.d.ts +0 -22
  242. package/dist/id-compressor/persistanceUtilities.d.ts.map +0 -1
  243. package/dist/id-compressor/persistanceUtilities.js +0 -43
  244. package/dist/id-compressor/persistanceUtilities.js.map +0 -1
  245. package/dist/id-compressor/sessionSpaceNormalizer.d.ts +0 -46
  246. package/dist/id-compressor/sessionSpaceNormalizer.d.ts.map +0 -1
  247. package/dist/id-compressor/sessionSpaceNormalizer.js +0 -80
  248. package/dist/id-compressor/sessionSpaceNormalizer.js.map +0 -1
  249. package/dist/id-compressor/sessions.d.ts +0 -115
  250. package/dist/id-compressor/sessions.d.ts.map +0 -1
  251. package/dist/id-compressor/sessions.js +0 -305
  252. package/dist/id-compressor/sessions.js.map +0 -1
  253. package/dist/id-compressor/utilities.d.ts +0 -52
  254. package/dist/id-compressor/utilities.d.ts.map +0 -1
  255. package/dist/id-compressor/utilities.js +0 -169
  256. package/dist/id-compressor/utilities.js.map +0 -1
  257. package/lib/id-compressor/appendOnlySortedMap.d.ts +0 -124
  258. package/lib/id-compressor/appendOnlySortedMap.d.ts.map +0 -1
  259. package/lib/id-compressor/appendOnlySortedMap.js +0 -314
  260. package/lib/id-compressor/appendOnlySortedMap.js.map +0 -1
  261. package/lib/id-compressor/finalSpace.d.ts +0 -29
  262. package/lib/id-compressor/finalSpace.d.ts.map +0 -1
  263. package/lib/id-compressor/finalSpace.js +0 -58
  264. package/lib/id-compressor/finalSpace.js.map +0 -1
  265. package/lib/id-compressor/idCompressor.d.ts +0 -54
  266. package/lib/id-compressor/idCompressor.d.ts.map +0 -1
  267. package/lib/id-compressor/idCompressor.js +0 -491
  268. package/lib/id-compressor/idCompressor.js.map +0 -1
  269. package/lib/id-compressor/identifiers.d.ts +0 -32
  270. package/lib/id-compressor/identifiers.d.ts.map +0 -1
  271. package/lib/id-compressor/identifiers.js +0 -11
  272. package/lib/id-compressor/identifiers.js.map +0 -1
  273. package/lib/id-compressor/index.d.ts +0 -13
  274. package/lib/id-compressor/index.d.ts.map +0 -1
  275. package/lib/id-compressor/index.js +0 -13
  276. package/lib/id-compressor/index.js.map +0 -1
  277. package/lib/id-compressor/persistanceUtilities.d.ts +0 -22
  278. package/lib/id-compressor/persistanceUtilities.d.ts.map +0 -1
  279. package/lib/id-compressor/persistanceUtilities.js +0 -34
  280. package/lib/id-compressor/persistanceUtilities.js.map +0 -1
  281. package/lib/id-compressor/sessionSpaceNormalizer.d.ts +0 -46
  282. package/lib/id-compressor/sessionSpaceNormalizer.d.ts.map +0 -1
  283. package/lib/id-compressor/sessionSpaceNormalizer.js +0 -76
  284. package/lib/id-compressor/sessionSpaceNormalizer.js.map +0 -1
  285. package/lib/id-compressor/sessions.d.ts +0 -115
  286. package/lib/id-compressor/sessions.d.ts.map +0 -1
  287. package/lib/id-compressor/sessions.js +0 -290
  288. package/lib/id-compressor/sessions.js.map +0 -1
  289. package/lib/id-compressor/utilities.d.ts +0 -52
  290. package/lib/id-compressor/utilities.d.ts.map +0 -1
  291. package/lib/id-compressor/utilities.js +0 -151
  292. package/lib/id-compressor/utilities.js.map +0 -1
  293. package/src/id-compressor/README.md +0 -3
  294. package/src/id-compressor/appendOnlySortedMap.ts +0 -366
  295. package/src/id-compressor/finalSpace.ts +0 -67
  296. package/src/id-compressor/idCompressor.ts +0 -630
  297. package/src/id-compressor/identifiers.ts +0 -42
  298. package/src/id-compressor/index.ts +0 -26
  299. package/src/id-compressor/persistanceUtilities.ts +0 -58
  300. package/src/id-compressor/sessionSpaceNormalizer.ts +0 -83
  301. package/src/id-compressor/sessions.ts +0 -405
  302. package/src/id-compressor/utilities.ts +0 -190
@@ -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
- * @public
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
- * @public
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
- * @public
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
- * @public
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 */
@@ -78,7 +78,7 @@ export interface ISummarizerOptions {
78
78
  }
79
79
 
80
80
  /**
81
- * @public
81
+ * @internal
82
82
  */
83
83
  export interface ISummarizingWarning extends ContainerWarning {
84
84
  readonly errorType: "summarizingError";
@@ -86,7 +86,7 @@ export interface ISummarizingWarning extends ContainerWarning {
86
86
  }
87
87
 
88
88
  /**
89
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
283
+ * @alpha
284
284
  */
285
285
  export interface SubmitSummaryFailureData extends IRetriableFailureResult {
286
286
  stage: SummaryStage;
287
287
  }
288
288
 
289
289
  /**
290
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
404
+ * @alpha
405
405
  */
406
406
  export interface ISummarizeEventProps {
407
407
  result: "success" | "failure" | "canceled";
@@ -411,14 +411,14 @@ export interface ISummarizeEventProps {
411
411
  }
412
412
 
413
413
  /**
414
- * @public
414
+ * @alpha
415
415
  */
416
416
  export interface ISummarizerEvents extends IEvent {
417
417
  (event: "summarize", listener: (props: ISummarizeEventProps) => void);
418
418
  }
419
419
 
420
420
  /**
421
- * @public
421
+ * @internal
422
422
  */
423
423
  export interface ISummarizer extends IEventProvider<ISummarizerEvents> {
424
424
  /**
@@ -19,7 +19,7 @@ import {
19
19
 
20
20
  /**
21
21
  * Interface for summary op messages with typed contents.
22
- * @public
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
- * @public
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
- * @public
40
+ * @alpha
41
41
  */
42
42
  export interface ISummaryNackMessage extends ISequencedDocumentMessage {
43
43
  type: MessageType.SummaryNack;
@@ -47,7 +47,7 @@ export interface ISummaryNackMessage extends ISequencedDocumentMessage {
47
47
  /**
48
48
  * A single summary which can be tracked as it goes through its life cycle.
49
49
  * The life cycle is: Local to Broadcast to Acked/Nacked.
50
- * @public
50
+ * @internal
51
51
  */
52
52
  export interface ISummary {
53
53
  readonly clientId: string;
@@ -58,7 +58,7 @@ export interface ISummary {
58
58
 
59
59
  /**
60
60
  * A single summary which has already been acked by the server.
61
- * @public
61
+ * @internal
62
62
  */
63
63
  export interface IAckedSummary {
64
64
  readonly summaryOp: ISummaryOpMessage;
@@ -145,7 +145,7 @@ class Summary implements ISummary {
145
145
 
146
146
  /**
147
147
  * Watches summaries created by a specific client.
148
- * @public
148
+ * @internal
149
149
  */
150
150
  export interface IClientSummaryWatcher extends IDisposable {
151
151
  watchSummary(clientSequenceNumber: number): ISummary;
@@ -214,7 +214,7 @@ class ClientSummaryWatcher implements IClientSummaryWatcher {
214
214
  }
215
215
  }
216
216
  /**
217
- * @public
217
+ * @internal
218
218
  */
219
219
  export type OpActionEventName =
220
220
  | MessageType.Summarize
@@ -223,12 +223,12 @@ export type OpActionEventName =
223
223
  | "default";
224
224
 
225
225
  /**
226
- * @public
226
+ * @internal
227
227
  */
228
228
  export type OpActionEventListener = (op: ISequencedDocumentMessage) => void;
229
229
 
230
230
  /**
231
- * @public
231
+ * @internal
232
232
  */
233
233
  export interface ISummaryCollectionOpEvents extends IEvent {
234
234
  (event: OpActionEventName, listener: OpActionEventListener);
@@ -238,7 +238,7 @@ export interface ISummaryCollectionOpEvents extends IEvent {
238
238
  * Data structure that looks at the op stream to track summaries as they
239
239
  * are broadcast, acked and nacked.
240
240
  * It provides functionality for watching specific summaries.
241
- * @public
241
+ * @internal
242
242
  */
243
243
  export class SummaryCollection extends TypedEventEmitter<ISummaryCollectionOpEvents> {
244
244
  // key: clientId
@@ -86,7 +86,7 @@ export function hasIsolatedChannels(attributes: ReadFluidDataStoreAttributes): b
86
86
  }
87
87
 
88
88
  /**
89
- * @public
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
- * @public
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
- * @public
117
+ * @alpha
118
118
  */
119
119
  export type ISummaryMetadataMessage = Pick<
120
120
  ISequencedDocumentMessage,
@@ -1,124 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
- /**
6
- * A map in which entries are always added in key-sorted order.
7
- * Supports appending and searching.
8
- */
9
- export declare class AppendOnlySortedMap<K, V> {
10
- protected readonly comparator: (a: K, b: K) => number;
11
- protected readonly elements: (K | V)[];
12
- /**
13
- * @param comparator - a comparator for keys
14
- */
15
- constructor(comparator: (a: K, b: K) => number);
16
- /**
17
- * @returns the number of entries in this map
18
- */
19
- get size(): number;
20
- /**
21
- * @returns the min key in the map.
22
- */
23
- minKey(): K | undefined;
24
- /**
25
- * @returns the max key in the map.
26
- */
27
- maxKey(): K | undefined;
28
- /**
29
- * @returns the min value in the map.
30
- */
31
- minValue(): V | undefined;
32
- /**
33
- * @returns the min value in the map.
34
- */
35
- maxValue(): V | undefined;
36
- /**
37
- * @returns the min key in the map.
38
- */
39
- first(): [K, V] | undefined;
40
- /**
41
- * @returns the max key in the map.
42
- */
43
- last(): [K, V] | undefined;
44
- /**
45
- * Returns the element at the insertion index.
46
- */
47
- getAtIndex(index: number): [K, V] | undefined;
48
- /**
49
- * @returns an iterable of the entries in the map.
50
- */
51
- entries(): IterableIterator<readonly [K, V]>;
52
- /**
53
- * @returns an iterable of the keys in the map.
54
- */
55
- keys(): IterableIterator<K>;
56
- /**
57
- * @returns an iterable of the values in the map.
58
- */
59
- values(): IterableIterator<V>;
60
- /**
61
- * @returns an iterable of the entries in the map, reversed.
62
- */
63
- entriesReversed(): IterableIterator<readonly [K, V]>;
64
- /**
65
- * Adds a new key/value pair to the map. `key` must be > to all keys in the map.
66
- * @param key - the key to add.
67
- * @param value - the value to add.
68
- */
69
- append(key: K, value: V): void;
70
- /**
71
- * Replaces the last key/value pair with the given one. If the map is empty, it simply appends.
72
- * `key` must be > to all keys in the map prior to the one replaced.
73
- * @param key - the key to add.
74
- * @param value - the value to add.
75
- */
76
- replaceLast(key: K, value: V): void;
77
- /**
78
- * @param key - the key to lookup.
79
- * @returns the value associated with `key` if such an entry exists, and undefined otherwise.
80
- */
81
- get(key: K): V | undefined;
82
- /**
83
- * @param key - the key to lookup.
84
- * @returns the entry associated with `key` if such an entry exists, the entry associated with the next lower key if such an entry
85
- * exists, and undefined otherwise.
86
- */
87
- getPairOrNextLower(key: K): readonly [K, V] | undefined;
88
- /**
89
- * @param key - the key to lookup.
90
- * @returns the entry associated with `key` if such an entry exists, the entry associated with the next higher key if such an entry
91
- * exists, and undefined otherwise.
92
- */
93
- getPairOrNextHigher(key: K): readonly [K, V] | undefined;
94
- /**
95
- * Compares two `AppendOnlySortedMap`s.
96
- */
97
- equals(other: AppendOnlySortedMap<K, V>, compareValues: (a: V, b: V) => boolean): boolean;
98
- /**
99
- * Test-only expensive assertions to check the internal validity of the data structure.
100
- */
101
- assertValid(): void;
102
- /**
103
- * Queries a range of entries.
104
- * @param from - the key to start the range query at, inclusive.
105
- * @param to - the key to end the range query at, inclusive.
106
- * @returns the range of entries.
107
- */
108
- getRange(from: K, to: K): IterableIterator<readonly [K, V]>;
109
- protected getPairOrNextLowerBy<T>(search: T, comparator: (search: T, key: K, value: V) => number): readonly [K, V] | undefined;
110
- private getKeyIndexOfOrNextLower;
111
- protected getPairOrNextHigherBy<T>(search: T, comparator: (search: T, key: K, value: V) => number): readonly [K, V] | undefined;
112
- private getKeyIndexOfOrNextHigher;
113
- /**
114
- * The value xor'd with the result index when a search fails.
115
- */
116
- static readonly failureXor = -1;
117
- /**
118
- * Performs a binary search on the sorted array.
119
- * @returns the index of the key for `search`, or (if not present) the index it would have been inserted into xor'd
120
- * with `failureXor`. Note that negating is not an adequate solution as that could result in -0.
121
- */
122
- static keyIndexOf<T, K, V>(elements: readonly (K | V)[], search: T, comparator: (search: T, key: K, value: V) => number): number;
123
- }
124
- //# sourceMappingURL=appendOnlySortedMap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appendOnlySortedMap.d.ts","sourceRoot":"","sources":["../../src/id-compressor/appendOnlySortedMap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;;GAGG;AACH,qBA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