@fluidframework/container-loader 2.53.1 → 2.61.0-355054

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 (234) hide show
  1. package/.mocharc.cjs +1 -2
  2. package/CHANGELOG.md +4 -0
  3. package/api-report/{container-loader.legacy.alpha.api.md → container-loader.legacy.beta.api.md} +24 -24
  4. package/dist/attachment.d.ts +3 -3
  5. package/dist/attachment.d.ts.map +1 -1
  6. package/dist/attachment.js.map +1 -1
  7. package/dist/audience.d.ts +3 -3
  8. package/dist/audience.d.ts.map +1 -1
  9. package/dist/audience.js.map +1 -1
  10. package/dist/catchUpMonitor.d.ts +2 -2
  11. package/dist/catchUpMonitor.d.ts.map +1 -1
  12. package/dist/catchUpMonitor.js.map +1 -1
  13. package/dist/connectionManager.d.ts +7 -7
  14. package/dist/connectionManager.d.ts.map +1 -1
  15. package/dist/connectionManager.js.map +1 -1
  16. package/dist/connectionStateHandler.d.ts +7 -7
  17. package/dist/connectionStateHandler.d.ts.map +1 -1
  18. package/dist/connectionStateHandler.js.map +1 -1
  19. package/dist/container.d.ts +7 -8
  20. package/dist/container.d.ts.map +1 -1
  21. package/dist/container.js +1 -2
  22. package/dist/container.js.map +1 -1
  23. package/dist/containerContext.d.ts +7 -7
  24. package/dist/containerContext.d.ts.map +1 -1
  25. package/dist/containerContext.js.map +1 -1
  26. package/dist/containerStorageAdapter.d.ts +5 -5
  27. package/dist/containerStorageAdapter.d.ts.map +1 -1
  28. package/dist/containerStorageAdapter.js.map +1 -1
  29. package/dist/contracts.d.ts +5 -5
  30. package/dist/contracts.d.ts.map +1 -1
  31. package/dist/contracts.js.map +1 -1
  32. package/dist/createAndLoadContainerUtils.d.ts +12 -19
  33. package/dist/createAndLoadContainerUtils.d.ts.map +1 -1
  34. package/dist/createAndLoadContainerUtils.js +3 -6
  35. package/dist/createAndLoadContainerUtils.js.map +1 -1
  36. package/dist/debugLogger.d.ts +2 -2
  37. package/dist/debugLogger.d.ts.map +1 -1
  38. package/dist/debugLogger.js.map +1 -1
  39. package/dist/deltaManager.d.ts +8 -8
  40. package/dist/deltaManager.d.ts.map +1 -1
  41. package/dist/deltaManager.js.map +1 -1
  42. package/dist/deltaQueue.d.ts +1 -1
  43. package/dist/deltaQueue.d.ts.map +1 -1
  44. package/dist/deltaQueue.js.map +1 -1
  45. package/dist/disposal.d.ts +1 -1
  46. package/dist/disposal.d.ts.map +1 -1
  47. package/dist/disposal.js.map +1 -1
  48. package/dist/error.d.ts +2 -2
  49. package/dist/error.d.ts.map +1 -1
  50. package/dist/error.js.map +1 -1
  51. package/dist/index.d.ts +6 -6
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js.map +1 -1
  54. package/dist/legacy.d.ts +4 -2
  55. package/dist/loadPaused.d.ts +2 -2
  56. package/dist/loadPaused.d.ts.map +1 -1
  57. package/dist/loadPaused.js.map +1 -1
  58. package/dist/loader.d.ts +11 -16
  59. package/dist/loader.d.ts.map +1 -1
  60. package/dist/loader.js +1 -2
  61. package/dist/loader.js.map +1 -1
  62. package/dist/location-redirection-utilities/resolveWithLocationRedirection.d.ts +3 -3
  63. package/dist/location-redirection-utilities/resolveWithLocationRedirection.d.ts.map +1 -1
  64. package/dist/location-redirection-utilities/resolveWithLocationRedirection.js +1 -1
  65. package/dist/location-redirection-utilities/resolveWithLocationRedirection.js.map +1 -1
  66. package/dist/noopHeuristic.d.ts +2 -2
  67. package/dist/noopHeuristic.d.ts.map +1 -1
  68. package/dist/noopHeuristic.js.map +1 -1
  69. package/dist/packageVersion.d.ts +1 -1
  70. package/dist/packageVersion.d.ts.map +1 -1
  71. package/dist/packageVersion.js +1 -1
  72. package/dist/packageVersion.js.map +1 -1
  73. package/dist/protocol/index.d.ts +2 -2
  74. package/dist/protocol/index.d.ts.map +1 -1
  75. package/dist/protocol/index.js.map +1 -1
  76. package/dist/protocol/protocol.d.ts +5 -7
  77. package/dist/protocol/protocol.d.ts.map +1 -1
  78. package/dist/protocol/protocol.js.map +1 -1
  79. package/dist/protocol/quorum.d.ts +5 -8
  80. package/dist/protocol/quorum.d.ts.map +1 -1
  81. package/dist/protocol/quorum.js.map +1 -1
  82. package/dist/protocol.d.ts +5 -7
  83. package/dist/protocol.d.ts.map +1 -1
  84. package/dist/protocol.js.map +1 -1
  85. package/dist/protocolTreeDocumentStorageService.d.ts +3 -3
  86. package/dist/protocolTreeDocumentStorageService.d.ts.map +1 -1
  87. package/dist/protocolTreeDocumentStorageService.js.map +1 -1
  88. package/dist/public.d.ts +2 -1
  89. package/dist/quorum.d.ts +2 -2
  90. package/dist/quorum.d.ts.map +1 -1
  91. package/dist/quorum.js.map +1 -1
  92. package/dist/retriableDocumentStorageService.d.ts +4 -4
  93. package/dist/retriableDocumentStorageService.d.ts.map +1 -1
  94. package/dist/retriableDocumentStorageService.js.map +1 -1
  95. package/dist/serializedStateManager.d.ts +4 -4
  96. package/dist/serializedStateManager.d.ts.map +1 -1
  97. package/dist/serializedStateManager.js.map +1 -1
  98. package/dist/utils.d.ts +6 -9
  99. package/dist/utils.d.ts.map +1 -1
  100. package/dist/utils.js +1 -2
  101. package/dist/utils.js.map +1 -1
  102. package/internal.d.ts +1 -1
  103. package/legacy.d.ts +1 -1
  104. package/lib/attachment.d.ts +3 -3
  105. package/lib/attachment.d.ts.map +1 -1
  106. package/lib/attachment.js.map +1 -1
  107. package/lib/audience.d.ts +3 -3
  108. package/lib/audience.d.ts.map +1 -1
  109. package/lib/audience.js.map +1 -1
  110. package/lib/catchUpMonitor.d.ts +2 -2
  111. package/lib/catchUpMonitor.d.ts.map +1 -1
  112. package/lib/catchUpMonitor.js.map +1 -1
  113. package/lib/connectionManager.d.ts +7 -7
  114. package/lib/connectionManager.d.ts.map +1 -1
  115. package/lib/connectionManager.js.map +1 -1
  116. package/lib/connectionStateHandler.d.ts +7 -7
  117. package/lib/connectionStateHandler.d.ts.map +1 -1
  118. package/lib/connectionStateHandler.js.map +1 -1
  119. package/lib/container.d.ts +7 -8
  120. package/lib/container.d.ts.map +1 -1
  121. package/lib/container.js +1 -2
  122. package/lib/container.js.map +1 -1
  123. package/lib/containerContext.d.ts +7 -7
  124. package/lib/containerContext.d.ts.map +1 -1
  125. package/lib/containerContext.js.map +1 -1
  126. package/lib/containerStorageAdapter.d.ts +5 -5
  127. package/lib/containerStorageAdapter.d.ts.map +1 -1
  128. package/lib/containerStorageAdapter.js.map +1 -1
  129. package/lib/contracts.d.ts +5 -5
  130. package/lib/contracts.d.ts.map +1 -1
  131. package/lib/contracts.js.map +1 -1
  132. package/lib/createAndLoadContainerUtils.d.ts +12 -19
  133. package/lib/createAndLoadContainerUtils.d.ts.map +1 -1
  134. package/lib/createAndLoadContainerUtils.js +3 -6
  135. package/lib/createAndLoadContainerUtils.js.map +1 -1
  136. package/lib/debugLogger.d.ts +2 -2
  137. package/lib/debugLogger.d.ts.map +1 -1
  138. package/lib/debugLogger.js.map +1 -1
  139. package/lib/deltaManager.d.ts +8 -8
  140. package/lib/deltaManager.d.ts.map +1 -1
  141. package/lib/deltaManager.js.map +1 -1
  142. package/lib/deltaQueue.d.ts +1 -1
  143. package/lib/deltaQueue.d.ts.map +1 -1
  144. package/lib/deltaQueue.js.map +1 -1
  145. package/lib/disposal.d.ts +1 -1
  146. package/lib/disposal.d.ts.map +1 -1
  147. package/lib/disposal.js.map +1 -1
  148. package/lib/error.d.ts +2 -2
  149. package/lib/error.d.ts.map +1 -1
  150. package/lib/error.js.map +1 -1
  151. package/lib/index.d.ts +6 -6
  152. package/lib/index.d.ts.map +1 -1
  153. package/lib/index.js.map +1 -1
  154. package/lib/legacy.d.ts +4 -2
  155. package/lib/loadPaused.d.ts +2 -2
  156. package/lib/loadPaused.d.ts.map +1 -1
  157. package/lib/loadPaused.js.map +1 -1
  158. package/lib/loader.d.ts +11 -16
  159. package/lib/loader.d.ts.map +1 -1
  160. package/lib/loader.js +1 -2
  161. package/lib/loader.js.map +1 -1
  162. package/lib/location-redirection-utilities/resolveWithLocationRedirection.d.ts +3 -3
  163. package/lib/location-redirection-utilities/resolveWithLocationRedirection.d.ts.map +1 -1
  164. package/lib/location-redirection-utilities/resolveWithLocationRedirection.js +1 -1
  165. package/lib/location-redirection-utilities/resolveWithLocationRedirection.js.map +1 -1
  166. package/lib/noopHeuristic.d.ts +2 -2
  167. package/lib/noopHeuristic.d.ts.map +1 -1
  168. package/lib/noopHeuristic.js.map +1 -1
  169. package/lib/packageVersion.d.ts +1 -1
  170. package/lib/packageVersion.d.ts.map +1 -1
  171. package/lib/packageVersion.js +1 -1
  172. package/lib/packageVersion.js.map +1 -1
  173. package/lib/protocol/index.d.ts +2 -2
  174. package/lib/protocol/index.d.ts.map +1 -1
  175. package/lib/protocol/index.js.map +1 -1
  176. package/lib/protocol/protocol.d.ts +5 -7
  177. package/lib/protocol/protocol.d.ts.map +1 -1
  178. package/lib/protocol/protocol.js.map +1 -1
  179. package/lib/protocol/quorum.d.ts +5 -8
  180. package/lib/protocol/quorum.d.ts.map +1 -1
  181. package/lib/protocol/quorum.js.map +1 -1
  182. package/lib/protocol.d.ts +5 -7
  183. package/lib/protocol.d.ts.map +1 -1
  184. package/lib/protocol.js +1 -1
  185. package/lib/protocol.js.map +1 -1
  186. package/lib/protocolTreeDocumentStorageService.d.ts +3 -3
  187. package/lib/protocolTreeDocumentStorageService.d.ts.map +1 -1
  188. package/lib/protocolTreeDocumentStorageService.js.map +1 -1
  189. package/lib/public.d.ts +2 -1
  190. package/lib/quorum.d.ts +2 -2
  191. package/lib/quorum.d.ts.map +1 -1
  192. package/lib/quorum.js.map +1 -1
  193. package/lib/retriableDocumentStorageService.d.ts +4 -4
  194. package/lib/retriableDocumentStorageService.d.ts.map +1 -1
  195. package/lib/retriableDocumentStorageService.js.map +1 -1
  196. package/lib/serializedStateManager.d.ts +4 -4
  197. package/lib/serializedStateManager.d.ts.map +1 -1
  198. package/lib/serializedStateManager.js.map +1 -1
  199. package/lib/tsdoc-metadata.json +1 -1
  200. package/lib/utils.d.ts +6 -9
  201. package/lib/utils.d.ts.map +1 -1
  202. package/lib/utils.js +1 -2
  203. package/lib/utils.js.map +1 -1
  204. package/package.json +21 -21
  205. package/src/attachment.ts +3 -3
  206. package/src/audience.ts +3 -3
  207. package/src/catchUpMonitor.ts +3 -3
  208. package/src/connectionManager.ts +30 -23
  209. package/src/connectionStateHandler.ts +9 -9
  210. package/src/container.ts +44 -45
  211. package/src/containerContext.ts +8 -8
  212. package/src/containerStorageAdapter.ts +6 -6
  213. package/src/contracts.ts +8 -8
  214. package/src/createAndLoadContainerUtils.ts +13 -20
  215. package/src/debugLogger.ts +3 -3
  216. package/src/deltaManager.ts +15 -15
  217. package/src/deltaQueue.ts +1 -1
  218. package/src/disposal.ts +1 -1
  219. package/src/error.ts +4 -4
  220. package/src/index.ts +12 -12
  221. package/src/loadPaused.ts +2 -3
  222. package/src/loader.ts +18 -23
  223. package/src/location-redirection-utilities/resolveWithLocationRedirection.ts +4 -4
  224. package/src/noopHeuristic.ts +2 -2
  225. package/src/packageVersion.ts +1 -1
  226. package/src/protocol/index.ts +5 -5
  227. package/src/protocol/protocol.ts +13 -15
  228. package/src/protocol/quorum.ts +5 -8
  229. package/src/protocol.ts +13 -11
  230. package/src/protocolTreeDocumentStorageService.ts +4 -4
  231. package/src/quorum.ts +2 -2
  232. package/src/retriableDocumentStorageService.ts +4 -4
  233. package/src/serializedStateManager.ts +9 -9
  234. package/src/utils.ts +9 -13
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-loader";
9
- export const pkgVersion = "2.53.1";
9
+ export const pkgVersion = "2.61.0-355054";
@@ -4,13 +4,13 @@
4
4
  */
5
5
 
6
6
  export {
7
- IProtocolHandler as IBaseProtocolHandler,
7
+ type IProtocolHandler as IBaseProtocolHandler,
8
8
  ProtocolOpHandler,
9
- IScribeProtocolState,
9
+ type IScribeProtocolState,
10
10
  } from "./protocol.js";
11
11
  export {
12
- IQuorumSnapshot,
12
+ type IQuorumSnapshot,
13
13
  Quorum,
14
- QuorumClientsSnapshot,
15
- QuorumProposalsSnapshot,
14
+ type QuorumClientsSnapshot,
15
+ type QuorumProposalsSnapshot,
16
16
  } from "./quorum.js";
@@ -3,25 +3,24 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { ISequencedClient } from "@fluidframework/driver-definitions";
6
+ import type { ISequencedClient } from "@fluidframework/driver-definitions";
7
7
  import {
8
- ISequencedDocumentMessage,
9
- IDocumentAttributes,
10
- IClientJoin,
11
- ICommittedProposal,
12
- IProcessMessageResult,
13
- IProposal,
14
- IQuorum,
15
- ISequencedDocumentSystemMessage,
16
- ISequencedProposal,
8
+ type ISequencedDocumentMessage,
9
+ type IDocumentAttributes,
10
+ type IClientJoin,
11
+ type ICommittedProposal,
12
+ type IProcessMessageResult,
13
+ type IProposal,
14
+ type IQuorum,
15
+ type ISequencedDocumentSystemMessage,
16
+ type ISequencedProposal,
17
17
  MessageType,
18
18
  } from "@fluidframework/driver-definitions/internal";
19
19
 
20
- import { IQuorumSnapshot, Quorum } from "./quorum.js";
20
+ import { type IQuorumSnapshot, Quorum } from "./quorum.js";
21
21
 
22
22
  /**
23
- * @legacy
24
- * @alpha
23
+ * @legacy @beta
25
24
  */
26
25
  export interface IScribeProtocolState {
27
26
  sequenceNumber: number;
@@ -32,8 +31,7 @@ export interface IScribeProtocolState {
32
31
  }
33
32
 
34
33
  /**
35
- * @legacy
36
- * @alpha
34
+ * @legacy @beta
37
35
  */
38
36
  export interface IProtocolHandler {
39
37
  readonly quorum: IQuorum;
@@ -5,8 +5,8 @@
5
5
 
6
6
  import { TypedEventEmitter } from "@fluid-internal/client-utils";
7
7
  import { assert } from "@fluidframework/core-utils/internal";
8
- import { IQuorumClients, ISequencedClient } from "@fluidframework/driver-definitions";
9
- import {
8
+ import type { IQuorumClients, ISequencedClient } from "@fluidframework/driver-definitions";
9
+ import type {
10
10
  ISequencedDocumentMessage,
11
11
  ICommittedProposal,
12
12
  IQuorum,
@@ -30,15 +30,13 @@ class PendingProposal implements ISequencedProposal {
30
30
 
31
31
  /**
32
32
  * Snapshot format for a QuorumClients
33
- * @legacy
34
- * @alpha
33
+ * @legacy @beta
35
34
  */
36
35
  export type QuorumClientsSnapshot = [string, ISequencedClient][];
37
36
 
38
37
  /**
39
38
  * Snapshot format for a QuorumProposals
40
- * @legacy
41
- * @alpha
39
+ * @legacy @beta
42
40
  */
43
41
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
44
42
  export type QuorumProposalsSnapshot = {
@@ -48,8 +46,7 @@ export type QuorumProposalsSnapshot = {
48
46
 
49
47
  /**
50
48
  * Snapshot format for a Quorum
51
- * @legacy
52
- * @alpha
49
+ * @legacy @beta
53
50
  */
54
51
  export interface IQuorumSnapshot {
55
52
  members: QuorumClientsSnapshot;
package/src/protocol.ts CHANGED
@@ -3,18 +3,22 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { IAudienceOwner } from "@fluidframework/container-definitions/internal";
6
+ import type { IAudienceOwner } from "@fluidframework/container-definitions/internal";
7
7
  import {
8
- IDocumentAttributes,
9
- IProcessMessageResult,
10
- ISignalClient,
8
+ type IDocumentAttributes,
9
+ type IProcessMessageResult,
10
+ type ISignalClient,
11
11
  MessageType,
12
- ISequencedDocumentMessage,
13
- ISignalMessage,
12
+ type ISequencedDocumentMessage,
13
+ type ISignalMessage,
14
14
  } from "@fluidframework/driver-definitions/internal";
15
15
  import { canBeCoalescedByService } from "@fluidframework/driver-utils/internal";
16
16
 
17
- import { IBaseProtocolHandler, IQuorumSnapshot, ProtocolOpHandler } from "./protocol/index.js";
17
+ import {
18
+ type IBaseProtocolHandler,
19
+ type IQuorumSnapshot,
20
+ ProtocolOpHandler,
21
+ } from "./protocol/index.js";
18
22
 
19
23
  // ADO: #1986: Start using enum from protocol-base.
20
24
  export enum SignalType {
@@ -25,8 +29,7 @@ export enum SignalType {
25
29
 
26
30
  /**
27
31
  * Function to be used for creating a protocol handler.
28
- * @legacy
29
- * @alpha
32
+ * @legacy @beta
30
33
  */
31
34
  export type ProtocolHandlerBuilder = (
32
35
  attributes: IDocumentAttributes,
@@ -37,8 +40,7 @@ export type ProtocolHandlerBuilder = (
37
40
  ) => IProtocolHandler;
38
41
 
39
42
  /**
40
- * @legacy
41
- * @alpha
43
+ * @legacy @beta
42
44
  */
43
45
  export interface IProtocolHandler extends IBaseProtocolHandler {
44
46
  readonly audience: IAudienceOwner;
@@ -3,12 +3,12 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { IDisposable } from "@fluidframework/core-interfaces";
7
- import { ISummaryTree } from "@fluidframework/driver-definitions";
8
- import {
6
+ import type { IDisposable } from "@fluidframework/core-interfaces";
7
+ import type { ISummaryTree } from "@fluidframework/driver-definitions";
8
+ import type {
9
9
  IDocumentStorageService,
10
10
  ISummaryContext,
11
- type IDocumentStorageServicePolicies,
11
+ IDocumentStorageServicePolicies,
12
12
  } from "@fluidframework/driver-definitions/internal";
13
13
 
14
14
  /**
package/src/quorum.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { IFluidCodeDetails } from "@fluidframework/container-definitions/internal";
7
- import { ICommittedProposal } from "@fluidframework/driver-definitions/internal";
6
+ import type { IFluidCodeDetails } from "@fluidframework/container-definitions/internal";
7
+ import type { ICommittedProposal } from "@fluidframework/driver-definitions/internal";
8
8
 
9
9
  export function initQuorumValuesFromCodeDetails(
10
10
  source: IFluidCodeDetails,
@@ -3,10 +3,10 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { IDisposable } from "@fluidframework/core-interfaces";
6
+ import type { IDisposable } from "@fluidframework/core-interfaces";
7
7
  import { assert } from "@fluidframework/core-utils/internal";
8
- import { ISummaryHandle, ISummaryTree } from "@fluidframework/driver-definitions";
9
- import {
8
+ import type { ISummaryHandle, ISummaryTree } from "@fluidframework/driver-definitions";
9
+ import type {
10
10
  FetchSource,
11
11
  IDocumentStorageService,
12
12
  IDocumentStorageServicePolicies,
@@ -19,7 +19,7 @@ import {
19
19
  } from "@fluidframework/driver-definitions/internal";
20
20
  import { runWithRetry } from "@fluidframework/driver-utils/internal";
21
21
  import {
22
- ITelemetryLoggerExt,
22
+ type ITelemetryLoggerExt,
23
23
  GenericError,
24
24
  UsageError,
25
25
  } from "@fluidframework/telemetry-utils/internal";
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { stringToBuffer } from "@fluid-internal/client-utils";
7
- import { IRuntime } from "@fluidframework/container-definitions/internal";
7
+ import type { IRuntime } from "@fluidframework/container-definitions/internal";
8
8
  import type {
9
9
  IEventProvider,
10
10
  IEvent,
@@ -14,17 +14,17 @@ import type {
14
14
  import { Timer, assert } from "@fluidframework/core-utils/internal";
15
15
  import {
16
16
  FetchSource,
17
- IDocumentStorageService,
18
- IResolvedUrl,
19
- ISnapshot,
17
+ type IDocumentStorageService,
18
+ type IResolvedUrl,
19
+ type ISnapshot,
20
20
  type IDocumentAttributes,
21
- ISnapshotTree,
22
- IVersion,
23
- ISequencedDocumentMessage,
21
+ type ISnapshotTree,
22
+ type IVersion,
23
+ type ISequencedDocumentMessage,
24
24
  } from "@fluidframework/driver-definitions/internal";
25
25
  import { getSnapshotTree } from "@fluidframework/driver-utils/internal";
26
26
  import {
27
- MonitoringContext,
27
+ type MonitoringContext,
28
28
  PerformanceEvent,
29
29
  UsageError,
30
30
  createChildMonitoringContext,
@@ -32,7 +32,7 @@ import {
32
32
  } from "@fluidframework/telemetry-utils/internal";
33
33
 
34
34
  import {
35
- ISerializableBlobContents,
35
+ type ISerializableBlobContents,
36
36
  getBlobContentsFromTree,
37
37
  } from "./containerStorageAdapter.js";
38
38
  import { convertSnapshotToSnapshotInfo, getDocumentAttributes } from "./utils.js";
package/src/utils.ts CHANGED
@@ -9,19 +9,17 @@ import {
9
9
  stringToBuffer,
10
10
  } from "@fluid-internal/client-utils";
11
11
  import { assert, compareArrays, unreachableCase } from "@fluidframework/core-utils/internal";
12
- import { ISummaryTree, SummaryType } from "@fluidframework/driver-definitions";
12
+ import { type ISummaryTree, SummaryType } from "@fluidframework/driver-definitions";
13
13
  import {
14
14
  DriverErrorTypes,
15
- IDocumentAttributes,
16
- ISnapshotTree,
17
- } from "@fluidframework/driver-definitions/internal";
18
- import {
19
- IDocumentStorageService,
15
+ type IDocumentAttributes,
16
+ type ISnapshotTree,
17
+ type IDocumentStorageService,
20
18
  type ISnapshot,
21
19
  } from "@fluidframework/driver-definitions/internal";
22
20
  import {
23
- CombinedAppAndProtocolSummary,
24
- DeltaStreamConnectionForbiddenError,
21
+ type CombinedAppAndProtocolSummary,
22
+ type DeltaStreamConnectionForbiddenError,
25
23
  isCombinedAppAndProtocolSummary,
26
24
  readAndParse,
27
25
  } from "@fluidframework/driver-utils/internal";
@@ -32,7 +30,7 @@ import {
32
30
  } from "@fluidframework/telemetry-utils/internal";
33
31
  import { v4 as uuid } from "uuid";
34
32
 
35
- import { ISerializableBlobContents } from "./containerStorageAdapter.js";
33
+ import type { ISerializableBlobContents } from "./containerStorageAdapter.js";
36
34
  import type {
37
35
  IPendingContainerState,
38
36
  IPendingDetachedContainerState,
@@ -51,8 +49,7 @@ export interface ISnapshotTreeWithBlobContents extends ISnapshotTree {
51
49
  * Interface to represent the parsed parts of IResolvedUrl.url to help
52
50
  * in getting info about different parts of the url.
53
51
  * May not be compatible or relevant for any Url Resolver
54
- * @legacy
55
- * @alpha
52
+ * @legacy @beta
56
53
  */
57
54
  export interface IParsedUrl {
58
55
  /**
@@ -81,8 +78,7 @@ export interface IParsedUrl {
81
78
  * with urls of type: protocol://<string>/.../..?<querystring>
82
79
  * @param url - This is the IResolvedUrl.url part of the resolved url.
83
80
  * @returns The IParsedUrl representing the input URL, or undefined if the format was not supported
84
- * @legacy
85
- * @alpha
81
+ * @legacy @beta
86
82
  */
87
83
  export function tryParseCompatibleResolvedUrl(url: string): IParsedUrl | undefined {
88
84
  const parsed = new URL(url);