@fluidframework/driver-utils 2.0.0-dev-rc.1.0.0.232845 → 2.0.0-dev-rc.2.0.0.246488

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 (287) hide show
  1. package/.eslintrc.cjs +5 -2
  2. package/{.mocharc.js → .mocharc.cjs} +1 -1
  3. package/CHANGELOG.md +32 -0
  4. package/{api-extractor-esm.json → api-extractor-cjs.json} +5 -1
  5. package/api-extractor-lint.json +1 -1
  6. package/api-extractor.json +1 -1
  7. package/api-report/driver-utils.api.md +7 -10
  8. package/dist/adapters/compression/documentServiceCompressionAdapter.d.ts +2 -2
  9. package/dist/adapters/compression/documentServiceCompressionAdapter.d.ts.map +1 -1
  10. package/dist/adapters/compression/documentServiceCompressionAdapter.js +4 -4
  11. package/dist/adapters/compression/documentServiceCompressionAdapter.js.map +1 -1
  12. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.d.ts +2 -2
  13. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.d.ts.map +1 -1
  14. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.js +7 -7
  15. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.js.map +1 -1
  16. package/dist/adapters/compression/index.d.ts +3 -3
  17. package/dist/adapters/compression/index.d.ts.map +1 -1
  18. package/dist/adapters/compression/index.js +7 -7
  19. package/dist/adapters/compression/index.js.map +1 -1
  20. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.ts +2 -2
  21. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.ts.map +1 -1
  22. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.js +11 -11
  23. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.js.map +1 -1
  24. package/dist/adapters/compression/summaryblob/index.d.ts +1 -1
  25. package/dist/adapters/compression/summaryblob/index.d.ts.map +1 -1
  26. package/dist/adapters/compression/summaryblob/index.js +3 -3
  27. package/dist/adapters/compression/summaryblob/index.js.map +1 -1
  28. package/dist/adapters/index.d.ts +2 -2
  29. package/dist/adapters/index.d.ts.map +1 -1
  30. package/dist/adapters/index.js +6 -6
  31. package/dist/adapters/index.js.map +1 -1
  32. package/dist/adapters/predefinedAdapters.d.ts +1 -1
  33. package/dist/adapters/predefinedAdapters.d.ts.map +1 -1
  34. package/dist/adapters/predefinedAdapters.js +4 -4
  35. package/dist/adapters/predefinedAdapters.js.map +1 -1
  36. package/dist/documentStorageServiceProxy.d.ts +0 -1
  37. package/dist/documentStorageServiceProxy.d.ts.map +1 -1
  38. package/dist/documentStorageServiceProxy.js +0 -3
  39. package/dist/documentStorageServiceProxy.js.map +1 -1
  40. package/dist/driver-utils-alpha.d.ts +2 -2
  41. package/dist/driver-utils-beta.d.ts +2 -2
  42. package/dist/driver-utils-public.d.ts +2 -2
  43. package/dist/driver-utils-untrimmed.d.ts +9 -9
  44. package/dist/index.d.ts +17 -17
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +63 -63
  47. package/dist/index.js.map +1 -1
  48. package/dist/insecureUrlResolver.d.ts +3 -2
  49. package/dist/insecureUrlResolver.d.ts.map +1 -1
  50. package/dist/insecureUrlResolver.js +8 -6
  51. package/dist/insecureUrlResolver.js.map +1 -1
  52. package/dist/messageRecognition.d.ts.map +1 -1
  53. package/dist/messageRecognition.js +2 -2
  54. package/dist/messageRecognition.js.map +1 -1
  55. package/dist/network.d.ts +2 -2
  56. package/dist/network.d.ts.map +1 -1
  57. package/dist/network.js.map +1 -1
  58. package/dist/networkUtils.d.ts +2 -3
  59. package/dist/networkUtils.d.ts.map +1 -1
  60. package/dist/networkUtils.js +3 -3
  61. package/dist/networkUtils.js.map +1 -1
  62. package/dist/package.json +3 -0
  63. package/dist/packageVersion.d.ts +1 -1
  64. package/dist/packageVersion.js +1 -1
  65. package/dist/packageVersion.js.map +1 -1
  66. package/dist/parallelRequests.d.ts +7 -3
  67. package/dist/parallelRequests.d.ts.map +1 -1
  68. package/dist/parallelRequests.js +12 -12
  69. package/dist/parallelRequests.js.map +1 -1
  70. package/dist/prefetchDocumentStorageService.d.ts +1 -1
  71. package/dist/prefetchDocumentStorageService.d.ts.map +1 -1
  72. package/dist/prefetchDocumentStorageService.js +6 -6
  73. package/dist/prefetchDocumentStorageService.js.map +1 -1
  74. package/dist/runWithRetry.js +6 -6
  75. package/dist/runWithRetry.js.map +1 -1
  76. package/dist/treeConversions.d.ts.map +1 -1
  77. package/dist/treeConversions.js +7 -6
  78. package/dist/treeConversions.js.map +1 -1
  79. package/dist/tsdoc-metadata.json +1 -1
  80. package/lib/adapters/compression/{compressionTypes.d.mts → compressionTypes.d.ts} +1 -1
  81. package/lib/adapters/compression/compressionTypes.d.ts.map +1 -0
  82. package/lib/adapters/compression/{compressionTypes.mjs → compressionTypes.js} +1 -1
  83. package/lib/adapters/compression/compressionTypes.js.map +1 -0
  84. package/lib/adapters/compression/{documentServiceCompressionAdapter.d.mts → documentServiceCompressionAdapter.d.ts} +3 -3
  85. package/lib/adapters/compression/documentServiceCompressionAdapter.d.ts.map +1 -0
  86. package/lib/adapters/compression/{documentServiceCompressionAdapter.mjs → documentServiceCompressionAdapter.js} +3 -3
  87. package/lib/adapters/compression/documentServiceCompressionAdapter.js.map +1 -0
  88. package/lib/adapters/compression/{documentServiceFactoryCompressionAdapter.d.mts → documentServiceFactoryCompressionAdapter.d.ts} +3 -3
  89. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.d.ts.map +1 -0
  90. package/lib/adapters/compression/{documentServiceFactoryCompressionAdapter.mjs → documentServiceFactoryCompressionAdapter.js} +4 -4
  91. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.js.map +1 -0
  92. package/lib/adapters/compression/{index.d.mts → index.d.ts} +4 -4
  93. package/lib/adapters/compression/index.d.ts.map +1 -0
  94. package/lib/adapters/compression/{index.mjs → index.js} +4 -4
  95. package/lib/adapters/compression/index.js.map +1 -0
  96. package/lib/adapters/compression/summaryblob/{documentStorageServiceSummaryBlobCompressionAdapter.d.mts → documentStorageServiceSummaryBlobCompressionAdapter.d.ts} +3 -3
  97. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.ts.map +1 -0
  98. package/lib/adapters/compression/summaryblob/{documentStorageServiceSummaryBlobCompressionAdapter.mjs → documentStorageServiceSummaryBlobCompressionAdapter.js} +3 -3
  99. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.js.map +1 -0
  100. package/lib/adapters/compression/summaryblob/{index.mjs → index.d.ts} +2 -2
  101. package/lib/adapters/compression/summaryblob/index.d.ts.map +1 -0
  102. package/lib/adapters/compression/summaryblob/{index.d.mts → index.js} +2 -2
  103. package/lib/adapters/compression/summaryblob/index.js.map +1 -0
  104. package/lib/adapters/{index.d.mts → index.d.ts} +3 -3
  105. package/lib/adapters/index.d.ts.map +1 -0
  106. package/lib/adapters/{index.mjs → index.js} +3 -3
  107. package/lib/adapters/index.js.map +1 -0
  108. package/lib/adapters/{predefinedAdapters.d.mts → predefinedAdapters.d.ts} +2 -2
  109. package/lib/adapters/predefinedAdapters.d.ts.map +1 -0
  110. package/lib/adapters/{predefinedAdapters.mjs → predefinedAdapters.js} +2 -2
  111. package/lib/adapters/predefinedAdapters.js.map +1 -0
  112. package/lib/{blob.d.mts → blob.d.ts} +1 -1
  113. package/lib/blob.d.ts.map +1 -0
  114. package/lib/{blob.mjs → blob.js} +1 -1
  115. package/lib/blob.js.map +1 -0
  116. package/lib/{buildSnapshotTree.d.mts → buildSnapshotTree.d.ts} +1 -1
  117. package/lib/buildSnapshotTree.d.ts.map +1 -0
  118. package/lib/{buildSnapshotTree.mjs → buildSnapshotTree.js} +1 -1
  119. package/lib/buildSnapshotTree.js.map +1 -0
  120. package/lib/{documentServiceFactoryProxy.d.mts → documentServiceFactoryProxy.d.ts} +1 -1
  121. package/lib/documentServiceFactoryProxy.d.ts.map +1 -0
  122. package/lib/{documentServiceFactoryProxy.mjs → documentServiceFactoryProxy.js} +1 -1
  123. package/lib/documentServiceFactoryProxy.js.map +1 -0
  124. package/lib/{documentServiceProxy.d.mts → documentServiceProxy.d.ts} +1 -1
  125. package/lib/documentServiceProxy.d.ts.map +1 -0
  126. package/lib/{documentServiceProxy.mjs → documentServiceProxy.js} +1 -1
  127. package/lib/documentServiceProxy.js.map +1 -0
  128. package/lib/{documentStorageServiceProxy.d.mts → documentStorageServiceProxy.d.ts} +1 -2
  129. package/lib/documentStorageServiceProxy.d.ts.map +1 -0
  130. package/lib/{documentStorageServiceProxy.mjs → documentStorageServiceProxy.js} +1 -4
  131. package/lib/documentStorageServiceProxy.js.map +1 -0
  132. package/lib/{driver-utils-alpha.d.mts → driver-utils-alpha.d.ts} +2 -2
  133. package/lib/{driver-utils-public.d.mts → driver-utils-beta.d.ts} +2 -2
  134. package/lib/{driver-utils-beta.d.mts → driver-utils-public.d.ts} +2 -2
  135. package/lib/{driver-utils-untrimmed.d.mts → driver-utils-untrimmed.d.ts} +9 -9
  136. package/lib/{error.d.mts → error.d.ts} +1 -1
  137. package/lib/error.d.ts.map +1 -0
  138. package/lib/{error.mjs → error.js} +1 -1
  139. package/lib/error.js.map +1 -0
  140. package/lib/{index.d.mts → index.d.ts} +18 -18
  141. package/lib/index.d.ts.map +1 -0
  142. package/lib/{index.mjs → index.js} +18 -18
  143. package/lib/index.js.map +1 -0
  144. package/lib/{insecureUrlResolver.d.mts → insecureUrlResolver.d.ts} +4 -3
  145. package/lib/insecureUrlResolver.d.ts.map +1 -0
  146. package/lib/{insecureUrlResolver.mjs → insecureUrlResolver.js} +9 -7
  147. package/lib/insecureUrlResolver.js.map +1 -0
  148. package/lib/{messageRecognition.d.mts → messageRecognition.d.ts} +5 -1
  149. package/lib/messageRecognition.d.ts.map +1 -0
  150. package/lib/{messageRecognition.mjs → messageRecognition.js} +5 -1
  151. package/lib/messageRecognition.js.map +1 -0
  152. package/lib/{network.d.mts → network.d.ts} +3 -3
  153. package/lib/network.d.ts.map +1 -0
  154. package/lib/{network.mjs → network.js} +1 -1
  155. package/lib/network.js.map +1 -0
  156. package/lib/networkUtils.d.ts +10 -0
  157. package/lib/networkUtils.d.ts.map +1 -0
  158. package/lib/{networkUtils.mjs → networkUtils.js} +2 -2
  159. package/lib/networkUtils.js.map +1 -0
  160. package/lib/{packageVersion.d.mts → packageVersion.d.ts} +2 -2
  161. package/lib/packageVersion.d.ts.map +1 -0
  162. package/lib/{packageVersion.mjs → packageVersion.js} +2 -2
  163. package/lib/packageVersion.js.map +1 -0
  164. package/lib/{parallelRequests.d.mts → parallelRequests.d.ts} +8 -4
  165. package/lib/parallelRequests.d.ts.map +1 -0
  166. package/lib/{parallelRequests.mjs → parallelRequests.js} +10 -5
  167. package/lib/parallelRequests.js.map +1 -0
  168. package/lib/{prefetchDocumentStorageService.d.mts → prefetchDocumentStorageService.d.ts} +6 -2
  169. package/lib/prefetchDocumentStorageService.d.ts.map +1 -0
  170. package/lib/{prefetchDocumentStorageService.mjs → prefetchDocumentStorageService.js} +7 -3
  171. package/lib/prefetchDocumentStorageService.js.map +1 -0
  172. package/lib/{rateLimiter.d.mts → rateLimiter.d.ts} +1 -1
  173. package/lib/rateLimiter.d.ts.map +1 -0
  174. package/lib/{rateLimiter.mjs → rateLimiter.js} +1 -1
  175. package/lib/rateLimiter.js.map +1 -0
  176. package/lib/{readAndParse.d.mts → readAndParse.d.ts} +1 -1
  177. package/lib/readAndParse.d.ts.map +1 -0
  178. package/lib/{readAndParse.mjs → readAndParse.js} +1 -1
  179. package/lib/readAndParse.js.map +1 -0
  180. package/lib/{runWithRetry.d.mts → runWithRetry.d.ts} +1 -1
  181. package/lib/runWithRetry.d.ts.map +1 -0
  182. package/lib/{runWithRetry.mjs → runWithRetry.js} +3 -3
  183. package/lib/runWithRetry.js.map +1 -0
  184. package/lib/{storageUtils.d.mts → storageUtils.d.ts} +1 -1
  185. package/lib/storageUtils.d.ts.map +1 -0
  186. package/lib/{storageUtils.mjs → storageUtils.js} +1 -1
  187. package/lib/storageUtils.js.map +1 -0
  188. package/lib/{summaryForCreateNew.d.mts → summaryForCreateNew.d.ts} +1 -1
  189. package/lib/summaryForCreateNew.d.ts.map +1 -0
  190. package/lib/{summaryForCreateNew.mjs → summaryForCreateNew.js} +1 -1
  191. package/lib/summaryForCreateNew.js.map +1 -0
  192. package/lib/test/insecureUrlResolverTest.spec.js +101 -0
  193. package/lib/test/insecureUrlResolverTest.spec.js.map +1 -0
  194. package/lib/test/parallelRequests.spec.js +186 -0
  195. package/lib/test/parallelRequests.spec.js.map +1 -0
  196. package/lib/test/rateLimiter.spec.js +85 -0
  197. package/lib/test/rateLimiter.spec.js.map +1 -0
  198. package/lib/test/runWithRetry.spec.js +180 -0
  199. package/lib/test/runWithRetry.spec.js.map +1 -0
  200. package/lib/test/summaryCompressionData.js +170 -0
  201. package/lib/test/summaryCompressionData.js.map +1 -0
  202. package/lib/test/summaryCompresssionTester.spec.js +429 -0
  203. package/lib/test/summaryCompresssionTester.spec.js.map +1 -0
  204. package/lib/test/types/validateDriverUtilsPrevious.generated.js +108 -0
  205. package/lib/test/types/validateDriverUtilsPrevious.generated.js.map +1 -0
  206. package/lib/{treeConversions.d.mts → treeConversions.d.ts} +1 -1
  207. package/lib/treeConversions.d.ts.map +1 -0
  208. package/lib/{treeConversions.mjs → treeConversions.js} +4 -3
  209. package/lib/treeConversions.js.map +1 -0
  210. package/package.json +74 -27
  211. package/src/adapters/compression/documentServiceCompressionAdapter.ts +3 -3
  212. package/src/adapters/compression/documentServiceFactoryCompressionAdapter.ts +4 -4
  213. package/src/adapters/compression/index.ts +3 -3
  214. package/src/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.ts +2 -2
  215. package/src/adapters/compression/summaryblob/index.ts +1 -1
  216. package/src/adapters/index.ts +2 -2
  217. package/src/adapters/predefinedAdapters.ts +1 -1
  218. package/src/documentStorageServiceProxy.ts +0 -4
  219. package/src/index.ts +17 -17
  220. package/src/insecureUrlResolver.ts +7 -5
  221. package/src/messageRecognition.ts +1 -0
  222. package/src/network.ts +2 -2
  223. package/src/networkUtils.ts +3 -4
  224. package/src/packageVersion.ts +1 -1
  225. package/src/parallelRequests.ts +12 -11
  226. package/src/prefetchDocumentStorageService.ts +3 -2
  227. package/src/runWithRetry.ts +2 -2
  228. package/src/treeConversions.ts +3 -2
  229. package/tsconfig.cjs.json +7 -0
  230. package/tsconfig.json +2 -5
  231. package/lib/adapters/compression/compressionTypes.d.mts.map +0 -1
  232. package/lib/adapters/compression/compressionTypes.mjs.map +0 -1
  233. package/lib/adapters/compression/documentServiceCompressionAdapter.d.mts.map +0 -1
  234. package/lib/adapters/compression/documentServiceCompressionAdapter.mjs.map +0 -1
  235. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.d.mts.map +0 -1
  236. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.mjs.map +0 -1
  237. package/lib/adapters/compression/index.d.mts.map +0 -1
  238. package/lib/adapters/compression/index.mjs.map +0 -1
  239. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.mts.map +0 -1
  240. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.mjs.map +0 -1
  241. package/lib/adapters/compression/summaryblob/index.d.mts.map +0 -1
  242. package/lib/adapters/compression/summaryblob/index.mjs.map +0 -1
  243. package/lib/adapters/index.d.mts.map +0 -1
  244. package/lib/adapters/index.mjs.map +0 -1
  245. package/lib/adapters/predefinedAdapters.d.mts.map +0 -1
  246. package/lib/adapters/predefinedAdapters.mjs.map +0 -1
  247. package/lib/blob.d.mts.map +0 -1
  248. package/lib/blob.mjs.map +0 -1
  249. package/lib/buildSnapshotTree.d.mts.map +0 -1
  250. package/lib/buildSnapshotTree.mjs.map +0 -1
  251. package/lib/documentServiceFactoryProxy.d.mts.map +0 -1
  252. package/lib/documentServiceFactoryProxy.mjs.map +0 -1
  253. package/lib/documentServiceProxy.d.mts.map +0 -1
  254. package/lib/documentServiceProxy.mjs.map +0 -1
  255. package/lib/documentStorageServiceProxy.d.mts.map +0 -1
  256. package/lib/documentStorageServiceProxy.mjs.map +0 -1
  257. package/lib/error.d.mts.map +0 -1
  258. package/lib/error.mjs.map +0 -1
  259. package/lib/index.d.mts.map +0 -1
  260. package/lib/index.mjs.map +0 -1
  261. package/lib/insecureUrlResolver.d.mts.map +0 -1
  262. package/lib/insecureUrlResolver.mjs.map +0 -1
  263. package/lib/messageRecognition.d.mts.map +0 -1
  264. package/lib/messageRecognition.mjs.map +0 -1
  265. package/lib/network.d.mts.map +0 -1
  266. package/lib/network.mjs.map +0 -1
  267. package/lib/networkUtils.d.mts +0 -11
  268. package/lib/networkUtils.d.mts.map +0 -1
  269. package/lib/networkUtils.mjs.map +0 -1
  270. package/lib/packageVersion.d.mts.map +0 -1
  271. package/lib/packageVersion.mjs.map +0 -1
  272. package/lib/parallelRequests.d.mts.map +0 -1
  273. package/lib/parallelRequests.mjs.map +0 -1
  274. package/lib/prefetchDocumentStorageService.d.mts.map +0 -1
  275. package/lib/prefetchDocumentStorageService.mjs.map +0 -1
  276. package/lib/rateLimiter.d.mts.map +0 -1
  277. package/lib/rateLimiter.mjs.map +0 -1
  278. package/lib/readAndParse.d.mts.map +0 -1
  279. package/lib/readAndParse.mjs.map +0 -1
  280. package/lib/runWithRetry.d.mts.map +0 -1
  281. package/lib/runWithRetry.mjs.map +0 -1
  282. package/lib/storageUtils.d.mts.map +0 -1
  283. package/lib/storageUtils.mjs.map +0 -1
  284. package/lib/summaryForCreateNew.d.mts.map +0 -1
  285. package/lib/summaryForCreateNew.mjs.map +0 -1
  286. package/lib/treeConversions.d.mts.map +0 -1
  287. package/lib/treeConversions.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateDriverUtilsPrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateDriverUtilsPrevious.generated.ts"],"names":[],"mappings":"AAgCA,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,0CAA0C,CACtC,sCAAsC,EAAE,CAAC,CAAC;AAW9C,sCAAsC,CAClC,0CAA0C,EAAE,CAAC,CAAC;AAWlD,8DAA8D,CAC1D,0DAA0D,EAAE,CAAC,CAAC;AAWlE,0DAA0D,CACtD,8DAA8D,EAAE,CAAC,CAAC;AAWtE,gEAAgE,CAC5D,4DAA4D,EAAE,CAAC,CAAC;AAWpE,4DAA4D,CACxD,gEAAgE,EAAE,CAAC,CAAC;AAWxE,wDAAwD;AACpD,uDAAuD;AACvD,oDAAoD,EAAE,CAAC,CAAC;AAW5D,oDAAoD;AAChD,uDAAuD;AACvD,wDAAwD,EAAE,CAAC,CAAC;AAWhE,0DAA0D,CACtD,sDAAsD,EAAE,CAAC,CAAC;AAW9D,sDAAsD,CAClD,0DAA0D,EAAE,CAAC,CAAC;AAWlE,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,0DAA0D,CACtD,sDAAsD,EAAE,CAAC,CAAC;AAW9D,sDAAsD,CAClD,0DAA0D,EAAE,CAAC,CAAC;AAWlE,0CAA0C,CACtC,sCAAsC,EAAE,CAAC,CAAC;AAW9C,sCAAsC,CAClC,0CAA0C,EAAE,CAAC,CAAC;AAWlD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,qDAAqD,CACjD,iDAAiD,EAAE,CAAC,CAAC;AAWzD,iDAAiD,CAC7C,qDAAqD,EAAE,CAAC,CAAC;AAW7D,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC;AAWtD,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,6CAA6C,CACzC,yCAAyC,EAAE,CAAC,CAAC;AAWjD,yCAAyC,CACrC,6CAA6C,EAAE,CAAC,CAAC;AAWrD,2DAA2D;AACvD,uDAAuD;AACvD,uDAAuD,EAAE,CAAC,CAAC;AAW/D,uDAAuD;AACnD,uDAAuD;AACvD,2DAA2D,EAAE,CAAC,CAAC;AAWnE,kCAAkC,CAC9B,8BAA8B,EAAE,CAAC,CAAC;AAWtC,8BAA8B,CAC1B,kCAAkC,EAAE,CAAC,CAAC;AAW1C,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,2CAA2C,CACvC,uCAAuC,EAAE,CAAC,CAAC;AAW/C,uCAAuC,CACnC,2CAA2C,EAAE,CAAC,CAAC;AAWnD,uDAAuD,CACnD,mDAAmD,EAAE,CAAC,CAAC;AAW3D,mDAAmD,CAC/C,uDAAuD,EAAE,CAAC,CAAC;AAW/D,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,0CAA0C,CACtC,sCAAsC,EAAE,CAAC,CAAC;AAW9C,sCAAsC,CAClC,0CAA0C,EAAE,CAAC,CAAC;AAWlD,uCAAuC,CACnC,mCAAmC,EAAE,CAAC,CAAC;AAW3C,mCAAmC,CAC/B,uCAAuC,EAAE,CAAC,CAAC;AAW/C,uDAAuD,CACnD,mDAAmD,EAAE,CAAC,CAAC;AAW3D,mDAAmD,CAC/C,uDAAuD,EAAE,CAAC,CAAC;AAW/D,mDAAmD,CAC/C,+CAA+C,EAAE,CAAC,CAAC;AAWvD,+CAA+C,CAC3C,mDAAmD,EAAE,CAAC,CAAC;AAW3D,iDAAiD,CAC7C,6CAA6C,EAAE,CAAC,CAAC;AAWrD,6CAA6C,CACzC,iDAAiD,EAAE,CAAC,CAAC;AAWzD,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,uDAAuD,CACnD,mDAAmD,EAAE,CAAC,CAAC;AAW3D,mDAAmD,CAC/C,uDAAuD,EAAE,CAAC,CAAC;AAW/D,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,iEAAiE,CAC7D,6DAA6D,EAAE,CAAC,CAAC;AAWrE,6DAA6D,CACzD,iEAAiE,EAAE,CAAC,CAAC;AAWzE,yDAAyD,CACrD,qDAAqD,EAAE,CAAC,CAAC;AAW7D,qDAAqD,CACjD,yDAAyD,EAAE,CAAC,CAAC;AAWjE,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,kDAAkD,CAC9C,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,kDAAkD,EAAE,CAAC,CAAC;AAW1D,mEAAmE,CAC/D,+DAA+D,EAAE,CAAC,CAAC;AAWvE,+DAA+D,CAC3D,mEAAmE,EAAE,CAAC,CAAC;AAW3E,kEAAkE,CAC9D,8DAA8D,EAAE,CAAC,CAAC;AAWtE,8DAA8D,CAC1D,kEAAkE,EAAE,CAAC,CAAC;AAW1E,sDAAsD,CAClD,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,sDAAsD,EAAE,CAAC,CAAC;AAW9D,6DAA6D,CACzD,yDAAyD,EAAE,CAAC,CAAC;AAWjE,yDAAyD,CACrD,6DAA6D,EAAE,CAAC,CAAC;AAWrE,+DAA+D,CAC3D,2DAA2D,EAAE,CAAC,CAAC;AAWnE,2DAA2D,CACvD,+DAA+D,EAAE,CAAC,CAAC;AAWvE,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,iDAAiD,CAC7C,6CAA6C,EAAE,CAAC,CAAC;AAWrD,6CAA6C,CACzC,iDAAiD,EAAE,CAAC,CAAC;AAWzD,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,0CAA0C,CACtC,sCAAsC,EAAE,CAAC,CAAC;AAW9C,sCAAsC,CAClC,0CAA0C,EAAE,CAAC,CAAC;AAWlD,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,kDAAkD,CAC9C,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,kDAAkD,EAAE,CAAC,CAAC;AAW1D,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-test-generator in @fluidframework/build-tools.\n */\nimport type * as old from \"@fluidframework/driver-utils-previous\";\nimport type * as current from \"../../index.js\";\n\n\n// See 'build-tools/src/type-test-generator/compatibility.ts' for more information.\ntype TypeOnly<T> = T extends number\n\t? number\n\t: T extends string\n\t? string\n\t: T extends boolean | bigint | symbol\n\t? T\n\t: {\n\t\t\t[P in keyof T]: TypeOnly<T[P]>;\n\t };\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_AttachmentTreeEntry\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_AttachmentTreeEntry():\n TypeOnly<old.AttachmentTreeEntry>;\ndeclare function use_current_ClassDeclaration_AttachmentTreeEntry(\n use: TypeOnly<current.AttachmentTreeEntry>): void;\nuse_current_ClassDeclaration_AttachmentTreeEntry(\n get_old_ClassDeclaration_AttachmentTreeEntry());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_AttachmentTreeEntry\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_AttachmentTreeEntry():\n TypeOnly<current.AttachmentTreeEntry>;\ndeclare function use_old_ClassDeclaration_AttachmentTreeEntry(\n use: TypeOnly<old.AttachmentTreeEntry>): void;\nuse_old_ClassDeclaration_AttachmentTreeEntry(\n get_current_ClassDeclaration_AttachmentTreeEntry());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_AuthorizationError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_AuthorizationError():\n TypeOnly<old.AuthorizationError>;\ndeclare function use_current_ClassDeclaration_AuthorizationError(\n use: TypeOnly<current.AuthorizationError>): void;\nuse_current_ClassDeclaration_AuthorizationError(\n get_old_ClassDeclaration_AuthorizationError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_AuthorizationError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_AuthorizationError():\n TypeOnly<current.AuthorizationError>;\ndeclare function use_old_ClassDeclaration_AuthorizationError(\n use: TypeOnly<old.AuthorizationError>): void;\nuse_old_ClassDeclaration_AuthorizationError(\n get_current_ClassDeclaration_AuthorizationError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_BlobTreeEntry\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_BlobTreeEntry():\n TypeOnly<old.BlobTreeEntry>;\ndeclare function use_current_ClassDeclaration_BlobTreeEntry(\n use: TypeOnly<current.BlobTreeEntry>): void;\nuse_current_ClassDeclaration_BlobTreeEntry(\n get_old_ClassDeclaration_BlobTreeEntry());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_BlobTreeEntry\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_BlobTreeEntry():\n TypeOnly<current.BlobTreeEntry>;\ndeclare function use_old_ClassDeclaration_BlobTreeEntry(\n use: TypeOnly<old.BlobTreeEntry>): void;\nuse_old_ClassDeclaration_BlobTreeEntry(\n get_current_ClassDeclaration_BlobTreeEntry());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_CombinedAppAndProtocolSummary\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_CombinedAppAndProtocolSummary():\n TypeOnly<old.CombinedAppAndProtocolSummary>;\ndeclare function use_current_InterfaceDeclaration_CombinedAppAndProtocolSummary(\n use: TypeOnly<current.CombinedAppAndProtocolSummary>): void;\nuse_current_InterfaceDeclaration_CombinedAppAndProtocolSummary(\n get_old_InterfaceDeclaration_CombinedAppAndProtocolSummary());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_CombinedAppAndProtocolSummary\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_CombinedAppAndProtocolSummary():\n TypeOnly<current.CombinedAppAndProtocolSummary>;\ndeclare function use_old_InterfaceDeclaration_CombinedAppAndProtocolSummary(\n use: TypeOnly<old.CombinedAppAndProtocolSummary>): void;\nuse_old_InterfaceDeclaration_CombinedAppAndProtocolSummary(\n get_current_InterfaceDeclaration_CombinedAppAndProtocolSummary());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DeltaStreamConnectionForbiddenError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_DeltaStreamConnectionForbiddenError():\n TypeOnly<old.DeltaStreamConnectionForbiddenError>;\ndeclare function use_current_ClassDeclaration_DeltaStreamConnectionForbiddenError(\n use: TypeOnly<current.DeltaStreamConnectionForbiddenError>): void;\nuse_current_ClassDeclaration_DeltaStreamConnectionForbiddenError(\n get_old_ClassDeclaration_DeltaStreamConnectionForbiddenError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DeltaStreamConnectionForbiddenError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_DeltaStreamConnectionForbiddenError():\n TypeOnly<current.DeltaStreamConnectionForbiddenError>;\ndeclare function use_old_ClassDeclaration_DeltaStreamConnectionForbiddenError(\n use: TypeOnly<old.DeltaStreamConnectionForbiddenError>): void;\nuse_old_ClassDeclaration_DeltaStreamConnectionForbiddenError(\n get_current_ClassDeclaration_DeltaStreamConnectionForbiddenError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DocumentStorageServiceProxy\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_DocumentStorageServiceProxy():\n TypeOnly<old.DocumentStorageServiceProxy>;\ndeclare function use_current_ClassDeclaration_DocumentStorageServiceProxy(\n use: TypeOnly<current.DocumentStorageServiceProxy>): void;\nuse_current_ClassDeclaration_DocumentStorageServiceProxy(\n // @ts-expect-error compatibility expected to be broken\n get_old_ClassDeclaration_DocumentStorageServiceProxy());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DocumentStorageServiceProxy\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_DocumentStorageServiceProxy():\n TypeOnly<current.DocumentStorageServiceProxy>;\ndeclare function use_old_ClassDeclaration_DocumentStorageServiceProxy(\n use: TypeOnly<old.DocumentStorageServiceProxy>): void;\nuse_old_ClassDeclaration_DocumentStorageServiceProxy(\n // @ts-expect-error compatibility expected to be broken\n get_current_ClassDeclaration_DocumentStorageServiceProxy());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DriverErrorTelemetryProps\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_DriverErrorTelemetryProps():\n TypeOnly<old.DriverErrorTelemetryProps>;\ndeclare function use_current_TypeAliasDeclaration_DriverErrorTelemetryProps(\n use: TypeOnly<current.DriverErrorTelemetryProps>): void;\nuse_current_TypeAliasDeclaration_DriverErrorTelemetryProps(\n get_old_TypeAliasDeclaration_DriverErrorTelemetryProps());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DriverErrorTelemetryProps\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_DriverErrorTelemetryProps():\n TypeOnly<current.DriverErrorTelemetryProps>;\ndeclare function use_old_TypeAliasDeclaration_DriverErrorTelemetryProps(\n use: TypeOnly<old.DriverErrorTelemetryProps>): void;\nuse_old_TypeAliasDeclaration_DriverErrorTelemetryProps(\n get_current_TypeAliasDeclaration_DriverErrorTelemetryProps());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_FluidInvalidSchemaError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_FluidInvalidSchemaError():\n TypeOnly<old.FluidInvalidSchemaError>;\ndeclare function use_current_ClassDeclaration_FluidInvalidSchemaError(\n use: TypeOnly<current.FluidInvalidSchemaError>): void;\nuse_current_ClassDeclaration_FluidInvalidSchemaError(\n get_old_ClassDeclaration_FluidInvalidSchemaError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_FluidInvalidSchemaError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_FluidInvalidSchemaError():\n TypeOnly<current.FluidInvalidSchemaError>;\ndeclare function use_old_ClassDeclaration_FluidInvalidSchemaError(\n use: TypeOnly<old.FluidInvalidSchemaError>): void;\nuse_old_ClassDeclaration_FluidInvalidSchemaError(\n get_current_ClassDeclaration_FluidInvalidSchemaError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_GenericNetworkError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_GenericNetworkError():\n TypeOnly<old.GenericNetworkError>;\ndeclare function use_current_ClassDeclaration_GenericNetworkError(\n use: TypeOnly<current.GenericNetworkError>): void;\nuse_current_ClassDeclaration_GenericNetworkError(\n get_old_ClassDeclaration_GenericNetworkError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_GenericNetworkError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_GenericNetworkError():\n TypeOnly<current.GenericNetworkError>;\ndeclare function use_old_ClassDeclaration_GenericNetworkError(\n use: TypeOnly<old.GenericNetworkError>): void;\nuse_old_ClassDeclaration_GenericNetworkError(\n get_current_ClassDeclaration_GenericNetworkError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ICompressionStorageConfig\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ICompressionStorageConfig():\n TypeOnly<old.ICompressionStorageConfig>;\ndeclare function use_current_InterfaceDeclaration_ICompressionStorageConfig(\n use: TypeOnly<current.ICompressionStorageConfig>): void;\nuse_current_InterfaceDeclaration_ICompressionStorageConfig(\n get_old_InterfaceDeclaration_ICompressionStorageConfig());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ICompressionStorageConfig\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ICompressionStorageConfig():\n TypeOnly<current.ICompressionStorageConfig>;\ndeclare function use_old_InterfaceDeclaration_ICompressionStorageConfig(\n use: TypeOnly<old.ICompressionStorageConfig>): void;\nuse_old_InterfaceDeclaration_ICompressionStorageConfig(\n get_current_InterfaceDeclaration_ICompressionStorageConfig());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProgress\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProgress():\n TypeOnly<old.IProgress>;\ndeclare function use_current_InterfaceDeclaration_IProgress(\n use: TypeOnly<current.IProgress>): void;\nuse_current_InterfaceDeclaration_IProgress(\n get_old_InterfaceDeclaration_IProgress());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProgress\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProgress():\n TypeOnly<current.IProgress>;\ndeclare function use_old_InterfaceDeclaration_IProgress(\n use: TypeOnly<old.IProgress>): void;\nuse_old_InterfaceDeclaration_IProgress(\n get_current_InterfaceDeclaration_IProgress());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_InsecureUrlResolver\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_InsecureUrlResolver():\n TypeOnly<old.InsecureUrlResolver>;\ndeclare function use_current_ClassDeclaration_InsecureUrlResolver(\n use: TypeOnly<current.InsecureUrlResolver>): void;\nuse_current_ClassDeclaration_InsecureUrlResolver(\n get_old_ClassDeclaration_InsecureUrlResolver());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_InsecureUrlResolver\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_InsecureUrlResolver():\n TypeOnly<current.InsecureUrlResolver>;\ndeclare function use_old_ClassDeclaration_InsecureUrlResolver(\n use: TypeOnly<old.InsecureUrlResolver>): void;\nuse_old_ClassDeclaration_InsecureUrlResolver(\n get_current_ClassDeclaration_InsecureUrlResolver());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_LocationRedirectionError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_LocationRedirectionError():\n TypeOnly<old.LocationRedirectionError>;\ndeclare function use_current_ClassDeclaration_LocationRedirectionError(\n use: TypeOnly<current.LocationRedirectionError>): void;\nuse_current_ClassDeclaration_LocationRedirectionError(\n get_old_ClassDeclaration_LocationRedirectionError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_LocationRedirectionError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_LocationRedirectionError():\n TypeOnly<current.LocationRedirectionError>;\ndeclare function use_old_ClassDeclaration_LocationRedirectionError(\n use: TypeOnly<old.LocationRedirectionError>): void;\nuse_old_ClassDeclaration_LocationRedirectionError(\n get_current_ClassDeclaration_LocationRedirectionError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_MessageType2\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_MessageType2():\n TypeOnly<old.MessageType2>;\ndeclare function use_current_EnumDeclaration_MessageType2(\n use: TypeOnly<current.MessageType2>): void;\nuse_current_EnumDeclaration_MessageType2(\n get_old_EnumDeclaration_MessageType2());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_MessageType2\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_MessageType2():\n TypeOnly<current.MessageType2>;\ndeclare function use_old_EnumDeclaration_MessageType2(\n use: TypeOnly<old.MessageType2>): void;\nuse_old_EnumDeclaration_MessageType2(\n get_current_EnumDeclaration_MessageType2());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_NetworkErrorBasic\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_NetworkErrorBasic():\n TypeOnly<old.NetworkErrorBasic<any>>;\ndeclare function use_current_ClassDeclaration_NetworkErrorBasic(\n use: TypeOnly<current.NetworkErrorBasic<any>>): void;\nuse_current_ClassDeclaration_NetworkErrorBasic(\n get_old_ClassDeclaration_NetworkErrorBasic());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_NetworkErrorBasic\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_NetworkErrorBasic():\n TypeOnly<current.NetworkErrorBasic<any>>;\ndeclare function use_old_ClassDeclaration_NetworkErrorBasic(\n use: TypeOnly<old.NetworkErrorBasic<any>>): void;\nuse_old_ClassDeclaration_NetworkErrorBasic(\n get_current_ClassDeclaration_NetworkErrorBasic());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_NonRetryableError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_NonRetryableError():\n TypeOnly<old.NonRetryableError<any>>;\ndeclare function use_current_ClassDeclaration_NonRetryableError(\n use: TypeOnly<current.NonRetryableError<any>>): void;\nuse_current_ClassDeclaration_NonRetryableError(\n get_old_ClassDeclaration_NonRetryableError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_NonRetryableError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_NonRetryableError():\n TypeOnly<current.NonRetryableError<any>>;\ndeclare function use_old_ClassDeclaration_NonRetryableError(\n use: TypeOnly<old.NonRetryableError<any>>): void;\nuse_old_ClassDeclaration_NonRetryableError(\n get_current_ClassDeclaration_NonRetryableError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_OnlineStatus\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_OnlineStatus():\n TypeOnly<old.OnlineStatus>;\ndeclare function use_current_EnumDeclaration_OnlineStatus(\n use: TypeOnly<current.OnlineStatus>): void;\nuse_current_EnumDeclaration_OnlineStatus(\n get_old_EnumDeclaration_OnlineStatus());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_OnlineStatus\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_OnlineStatus():\n TypeOnly<current.OnlineStatus>;\ndeclare function use_old_EnumDeclaration_OnlineStatus(\n use: TypeOnly<old.OnlineStatus>): void;\nuse_old_EnumDeclaration_OnlineStatus(\n get_current_EnumDeclaration_OnlineStatus());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_ParallelRequests\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_ParallelRequests():\n TypeOnly<old.ParallelRequests<any>>;\ndeclare function use_current_ClassDeclaration_ParallelRequests(\n use: TypeOnly<current.ParallelRequests<any>>): void;\nuse_current_ClassDeclaration_ParallelRequests(\n get_old_ClassDeclaration_ParallelRequests());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_ParallelRequests\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_ParallelRequests():\n TypeOnly<current.ParallelRequests<any>>;\ndeclare function use_old_ClassDeclaration_ParallelRequests(\n use: TypeOnly<old.ParallelRequests<any>>): void;\nuse_old_ClassDeclaration_ParallelRequests(\n get_current_ClassDeclaration_ParallelRequests());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_PrefetchDocumentStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_PrefetchDocumentStorageService():\n TypeOnly<old.PrefetchDocumentStorageService>;\ndeclare function use_current_ClassDeclaration_PrefetchDocumentStorageService(\n use: TypeOnly<current.PrefetchDocumentStorageService>): void;\nuse_current_ClassDeclaration_PrefetchDocumentStorageService(\n // @ts-expect-error compatibility expected to be broken\n get_old_ClassDeclaration_PrefetchDocumentStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_PrefetchDocumentStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_PrefetchDocumentStorageService():\n TypeOnly<current.PrefetchDocumentStorageService>;\ndeclare function use_old_ClassDeclaration_PrefetchDocumentStorageService(\n use: TypeOnly<old.PrefetchDocumentStorageService>): void;\nuse_old_ClassDeclaration_PrefetchDocumentStorageService(\n // @ts-expect-error compatibility expected to be broken\n get_current_ClassDeclaration_PrefetchDocumentStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_Queue\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_Queue():\n TypeOnly<old.Queue<any>>;\ndeclare function use_current_ClassDeclaration_Queue(\n use: TypeOnly<current.Queue<any>>): void;\nuse_current_ClassDeclaration_Queue(\n get_old_ClassDeclaration_Queue());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_Queue\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_Queue():\n TypeOnly<current.Queue<any>>;\ndeclare function use_old_ClassDeclaration_Queue(\n use: TypeOnly<old.Queue<any>>): void;\nuse_old_ClassDeclaration_Queue(\n get_current_ClassDeclaration_Queue());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_RateLimiter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_RateLimiter():\n TypeOnly<old.RateLimiter>;\ndeclare function use_current_ClassDeclaration_RateLimiter(\n use: TypeOnly<current.RateLimiter>): void;\nuse_current_ClassDeclaration_RateLimiter(\n get_old_ClassDeclaration_RateLimiter());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_RateLimiter\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_RateLimiter():\n TypeOnly<current.RateLimiter>;\ndeclare function use_old_ClassDeclaration_RateLimiter(\n use: TypeOnly<old.RateLimiter>): void;\nuse_old_ClassDeclaration_RateLimiter(\n get_current_ClassDeclaration_RateLimiter());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_RetryableError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_RetryableError():\n TypeOnly<old.RetryableError<any>>;\ndeclare function use_current_ClassDeclaration_RetryableError(\n use: TypeOnly<current.RetryableError<any>>): void;\nuse_current_ClassDeclaration_RetryableError(\n get_old_ClassDeclaration_RetryableError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_RetryableError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_RetryableError():\n TypeOnly<current.RetryableError<any>>;\ndeclare function use_old_ClassDeclaration_RetryableError(\n use: TypeOnly<old.RetryableError<any>>): void;\nuse_old_ClassDeclaration_RetryableError(\n get_current_ClassDeclaration_RetryableError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_SummaryCompressionAlgorithm\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_SummaryCompressionAlgorithm():\n TypeOnly<old.SummaryCompressionAlgorithm>;\ndeclare function use_current_EnumDeclaration_SummaryCompressionAlgorithm(\n use: TypeOnly<current.SummaryCompressionAlgorithm>): void;\nuse_current_EnumDeclaration_SummaryCompressionAlgorithm(\n get_old_EnumDeclaration_SummaryCompressionAlgorithm());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_SummaryCompressionAlgorithm\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_SummaryCompressionAlgorithm():\n TypeOnly<current.SummaryCompressionAlgorithm>;\ndeclare function use_old_EnumDeclaration_SummaryCompressionAlgorithm(\n use: TypeOnly<old.SummaryCompressionAlgorithm>): void;\nuse_old_EnumDeclaration_SummaryCompressionAlgorithm(\n get_current_EnumDeclaration_SummaryCompressionAlgorithm());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_ThrottlingError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_ThrottlingError():\n TypeOnly<old.ThrottlingError>;\ndeclare function use_current_ClassDeclaration_ThrottlingError(\n use: TypeOnly<current.ThrottlingError>): void;\nuse_current_ClassDeclaration_ThrottlingError(\n get_old_ClassDeclaration_ThrottlingError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_ThrottlingError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_ThrottlingError():\n TypeOnly<current.ThrottlingError>;\ndeclare function use_old_ClassDeclaration_ThrottlingError(\n use: TypeOnly<old.ThrottlingError>): void;\nuse_old_ClassDeclaration_ThrottlingError(\n get_current_ClassDeclaration_ThrottlingError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_TreeTreeEntry\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_TreeTreeEntry():\n TypeOnly<old.TreeTreeEntry>;\ndeclare function use_current_ClassDeclaration_TreeTreeEntry(\n use: TypeOnly<current.TreeTreeEntry>): void;\nuse_current_ClassDeclaration_TreeTreeEntry(\n get_old_ClassDeclaration_TreeTreeEntry());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_TreeTreeEntry\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_TreeTreeEntry():\n TypeOnly<current.TreeTreeEntry>;\ndeclare function use_old_ClassDeclaration_TreeTreeEntry(\n use: TypeOnly<old.TreeTreeEntry>): void;\nuse_old_ClassDeclaration_TreeTreeEntry(\n get_current_ClassDeclaration_TreeTreeEntry());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_UsageError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_UsageError():\n TypeOnly<old.UsageError>;\ndeclare function use_current_ClassDeclaration_UsageError(\n use: TypeOnly<current.UsageError>): void;\nuse_current_ClassDeclaration_UsageError(\n get_old_ClassDeclaration_UsageError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_UsageError\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_UsageError():\n TypeOnly<current.UsageError>;\ndeclare function use_old_ClassDeclaration_UsageError(\n use: TypeOnly<old.UsageError>): void;\nuse_old_ClassDeclaration_UsageError(\n get_current_ClassDeclaration_UsageError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_applyStorageCompression\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_applyStorageCompression():\n TypeOnly<typeof old.applyStorageCompression>;\ndeclare function use_current_FunctionDeclaration_applyStorageCompression(\n use: TypeOnly<typeof current.applyStorageCompression>): void;\nuse_current_FunctionDeclaration_applyStorageCompression(\n get_old_FunctionDeclaration_applyStorageCompression());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_applyStorageCompression\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_applyStorageCompression():\n TypeOnly<typeof current.applyStorageCompression>;\ndeclare function use_old_FunctionDeclaration_applyStorageCompression(\n use: TypeOnly<typeof old.applyStorageCompression>): void;\nuse_old_FunctionDeclaration_applyStorageCompression(\n get_current_FunctionDeclaration_applyStorageCompression());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_blobHeadersBlobName\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_blobHeadersBlobName():\n TypeOnly<typeof old.blobHeadersBlobName>;\ndeclare function use_current_VariableDeclaration_blobHeadersBlobName(\n use: TypeOnly<typeof current.blobHeadersBlobName>): void;\nuse_current_VariableDeclaration_blobHeadersBlobName(\n get_old_VariableDeclaration_blobHeadersBlobName());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_blobHeadersBlobName\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_blobHeadersBlobName():\n TypeOnly<typeof current.blobHeadersBlobName>;\ndeclare function use_old_VariableDeclaration_blobHeadersBlobName(\n use: TypeOnly<typeof old.blobHeadersBlobName>): void;\nuse_old_VariableDeclaration_blobHeadersBlobName(\n get_current_VariableDeclaration_blobHeadersBlobName());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_buildSnapshotTree\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_buildSnapshotTree():\n TypeOnly<typeof old.buildSnapshotTree>;\ndeclare function use_current_FunctionDeclaration_buildSnapshotTree(\n use: TypeOnly<typeof current.buildSnapshotTree>): void;\nuse_current_FunctionDeclaration_buildSnapshotTree(\n get_old_FunctionDeclaration_buildSnapshotTree());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_buildSnapshotTree\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_buildSnapshotTree():\n TypeOnly<typeof current.buildSnapshotTree>;\ndeclare function use_old_FunctionDeclaration_buildSnapshotTree(\n use: TypeOnly<typeof old.buildSnapshotTree>): void;\nuse_old_FunctionDeclaration_buildSnapshotTree(\n get_current_FunctionDeclaration_buildSnapshotTree());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_calculateMaxWaitTime\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_calculateMaxWaitTime():\n TypeOnly<typeof old.calculateMaxWaitTime>;\ndeclare function use_current_FunctionDeclaration_calculateMaxWaitTime(\n use: TypeOnly<typeof current.calculateMaxWaitTime>): void;\nuse_current_FunctionDeclaration_calculateMaxWaitTime(\n get_old_FunctionDeclaration_calculateMaxWaitTime());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_calculateMaxWaitTime\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_calculateMaxWaitTime():\n TypeOnly<typeof current.calculateMaxWaitTime>;\ndeclare function use_old_FunctionDeclaration_calculateMaxWaitTime(\n use: TypeOnly<typeof old.calculateMaxWaitTime>): void;\nuse_old_FunctionDeclaration_calculateMaxWaitTime(\n get_current_FunctionDeclaration_calculateMaxWaitTime());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_canBeCoalescedByService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_canBeCoalescedByService():\n TypeOnly<typeof old.canBeCoalescedByService>;\ndeclare function use_current_FunctionDeclaration_canBeCoalescedByService(\n use: TypeOnly<typeof current.canBeCoalescedByService>): void;\nuse_current_FunctionDeclaration_canBeCoalescedByService(\n get_old_FunctionDeclaration_canBeCoalescedByService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_canBeCoalescedByService\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_canBeCoalescedByService():\n TypeOnly<typeof current.canBeCoalescedByService>;\ndeclare function use_old_FunctionDeclaration_canBeCoalescedByService(\n use: TypeOnly<typeof old.canBeCoalescedByService>): void;\nuse_old_FunctionDeclaration_canBeCoalescedByService(\n get_current_FunctionDeclaration_canBeCoalescedByService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_canRetryOnError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_canRetryOnError():\n TypeOnly<typeof old.canRetryOnError>;\ndeclare function use_current_VariableDeclaration_canRetryOnError(\n use: TypeOnly<typeof current.canRetryOnError>): void;\nuse_current_VariableDeclaration_canRetryOnError(\n get_old_VariableDeclaration_canRetryOnError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_canRetryOnError\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_canRetryOnError():\n TypeOnly<typeof current.canRetryOnError>;\ndeclare function use_old_VariableDeclaration_canRetryOnError(\n use: TypeOnly<typeof old.canRetryOnError>): void;\nuse_old_VariableDeclaration_canRetryOnError(\n get_current_VariableDeclaration_canRetryOnError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_convertSummaryTreeToSnapshotITree\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree():\n TypeOnly<typeof old.convertSummaryTreeToSnapshotITree>;\ndeclare function use_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree(\n use: TypeOnly<typeof current.convertSummaryTreeToSnapshotITree>): void;\nuse_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree(\n get_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_convertSummaryTreeToSnapshotITree\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree():\n TypeOnly<typeof current.convertSummaryTreeToSnapshotITree>;\ndeclare function use_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree(\n use: TypeOnly<typeof old.convertSummaryTreeToSnapshotITree>): void;\nuse_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree(\n get_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createGenericNetworkError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_createGenericNetworkError():\n TypeOnly<typeof old.createGenericNetworkError>;\ndeclare function use_current_FunctionDeclaration_createGenericNetworkError(\n use: TypeOnly<typeof current.createGenericNetworkError>): void;\nuse_current_FunctionDeclaration_createGenericNetworkError(\n get_old_FunctionDeclaration_createGenericNetworkError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createGenericNetworkError\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_createGenericNetworkError():\n TypeOnly<typeof current.createGenericNetworkError>;\ndeclare function use_old_FunctionDeclaration_createGenericNetworkError(\n use: TypeOnly<typeof old.createGenericNetworkError>): void;\nuse_old_FunctionDeclaration_createGenericNetworkError(\n get_current_FunctionDeclaration_createGenericNetworkError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_createWriteError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_createWriteError():\n TypeOnly<typeof old.createWriteError>;\ndeclare function use_current_VariableDeclaration_createWriteError(\n use: TypeOnly<typeof current.createWriteError>): void;\nuse_current_VariableDeclaration_createWriteError(\n get_old_VariableDeclaration_createWriteError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_createWriteError\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_createWriteError():\n TypeOnly<typeof current.createWriteError>;\ndeclare function use_old_VariableDeclaration_createWriteError(\n use: TypeOnly<typeof old.createWriteError>): void;\nuse_old_VariableDeclaration_createWriteError(\n get_current_VariableDeclaration_createWriteError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_emptyMessageStream\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_emptyMessageStream():\n TypeOnly<typeof old.emptyMessageStream>;\ndeclare function use_current_VariableDeclaration_emptyMessageStream(\n use: TypeOnly<typeof current.emptyMessageStream>): void;\nuse_current_VariableDeclaration_emptyMessageStream(\n get_old_VariableDeclaration_emptyMessageStream());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_emptyMessageStream\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_emptyMessageStream():\n TypeOnly<typeof current.emptyMessageStream>;\ndeclare function use_old_VariableDeclaration_emptyMessageStream(\n use: TypeOnly<typeof old.emptyMessageStream>): void;\nuse_old_VariableDeclaration_emptyMessageStream(\n get_current_VariableDeclaration_emptyMessageStream());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_getDocAttributesFromProtocolSummary\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_getDocAttributesFromProtocolSummary():\n TypeOnly<typeof old.getDocAttributesFromProtocolSummary>;\ndeclare function use_current_FunctionDeclaration_getDocAttributesFromProtocolSummary(\n use: TypeOnly<typeof current.getDocAttributesFromProtocolSummary>): void;\nuse_current_FunctionDeclaration_getDocAttributesFromProtocolSummary(\n get_old_FunctionDeclaration_getDocAttributesFromProtocolSummary());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_getDocAttributesFromProtocolSummary\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_getDocAttributesFromProtocolSummary():\n TypeOnly<typeof current.getDocAttributesFromProtocolSummary>;\ndeclare function use_old_FunctionDeclaration_getDocAttributesFromProtocolSummary(\n use: TypeOnly<typeof old.getDocAttributesFromProtocolSummary>): void;\nuse_old_FunctionDeclaration_getDocAttributesFromProtocolSummary(\n get_current_FunctionDeclaration_getDocAttributesFromProtocolSummary());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_getQuorumValuesFromProtocolSummary\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary():\n TypeOnly<typeof old.getQuorumValuesFromProtocolSummary>;\ndeclare function use_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary(\n use: TypeOnly<typeof current.getQuorumValuesFromProtocolSummary>): void;\nuse_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary(\n get_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_getQuorumValuesFromProtocolSummary\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary():\n TypeOnly<typeof current.getQuorumValuesFromProtocolSummary>;\ndeclare function use_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary(\n use: TypeOnly<typeof old.getQuorumValuesFromProtocolSummary>): void;\nuse_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary(\n get_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_getRetryDelayFromError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_getRetryDelayFromError():\n TypeOnly<typeof old.getRetryDelayFromError>;\ndeclare function use_current_VariableDeclaration_getRetryDelayFromError(\n use: TypeOnly<typeof current.getRetryDelayFromError>): void;\nuse_current_VariableDeclaration_getRetryDelayFromError(\n get_old_VariableDeclaration_getRetryDelayFromError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_getRetryDelayFromError\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_getRetryDelayFromError():\n TypeOnly<typeof current.getRetryDelayFromError>;\ndeclare function use_old_VariableDeclaration_getRetryDelayFromError(\n use: TypeOnly<typeof old.getRetryDelayFromError>): void;\nuse_old_VariableDeclaration_getRetryDelayFromError(\n get_current_VariableDeclaration_getRetryDelayFromError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_getRetryDelaySecondsFromError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_getRetryDelaySecondsFromError():\n TypeOnly<typeof old.getRetryDelaySecondsFromError>;\ndeclare function use_current_VariableDeclaration_getRetryDelaySecondsFromError(\n use: TypeOnly<typeof current.getRetryDelaySecondsFromError>): void;\nuse_current_VariableDeclaration_getRetryDelaySecondsFromError(\n get_old_VariableDeclaration_getRetryDelaySecondsFromError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_getRetryDelaySecondsFromError\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_getRetryDelaySecondsFromError():\n TypeOnly<typeof current.getRetryDelaySecondsFromError>;\ndeclare function use_old_VariableDeclaration_getRetryDelaySecondsFromError(\n use: TypeOnly<typeof old.getRetryDelaySecondsFromError>): void;\nuse_old_VariableDeclaration_getRetryDelaySecondsFromError(\n get_current_VariableDeclaration_getRetryDelaySecondsFromError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_isCombinedAppAndProtocolSummary\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_isCombinedAppAndProtocolSummary():\n TypeOnly<typeof old.isCombinedAppAndProtocolSummary>;\ndeclare function use_current_FunctionDeclaration_isCombinedAppAndProtocolSummary(\n use: TypeOnly<typeof current.isCombinedAppAndProtocolSummary>): void;\nuse_current_FunctionDeclaration_isCombinedAppAndProtocolSummary(\n get_old_FunctionDeclaration_isCombinedAppAndProtocolSummary());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_isCombinedAppAndProtocolSummary\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_isCombinedAppAndProtocolSummary():\n TypeOnly<typeof current.isCombinedAppAndProtocolSummary>;\ndeclare function use_old_FunctionDeclaration_isCombinedAppAndProtocolSummary(\n use: TypeOnly<typeof old.isCombinedAppAndProtocolSummary>): void;\nuse_old_FunctionDeclaration_isCombinedAppAndProtocolSummary(\n get_current_FunctionDeclaration_isCombinedAppAndProtocolSummary());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_isOnline\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_isOnline():\n TypeOnly<typeof old.isOnline>;\ndeclare function use_current_FunctionDeclaration_isOnline(\n use: TypeOnly<typeof current.isOnline>): void;\nuse_current_FunctionDeclaration_isOnline(\n get_old_FunctionDeclaration_isOnline());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_isOnline\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_isOnline():\n TypeOnly<typeof current.isOnline>;\ndeclare function use_old_FunctionDeclaration_isOnline(\n use: TypeOnly<typeof old.isOnline>): void;\nuse_old_FunctionDeclaration_isOnline(\n get_current_FunctionDeclaration_isOnline());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_isRuntimeMessage\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_isRuntimeMessage():\n TypeOnly<typeof old.isRuntimeMessage>;\ndeclare function use_current_FunctionDeclaration_isRuntimeMessage(\n use: TypeOnly<typeof current.isRuntimeMessage>): void;\nuse_current_FunctionDeclaration_isRuntimeMessage(\n get_old_FunctionDeclaration_isRuntimeMessage());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_isRuntimeMessage\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_isRuntimeMessage():\n TypeOnly<typeof current.isRuntimeMessage>;\ndeclare function use_old_FunctionDeclaration_isRuntimeMessage(\n use: TypeOnly<typeof old.isRuntimeMessage>): void;\nuse_old_FunctionDeclaration_isRuntimeMessage(\n get_current_FunctionDeclaration_isRuntimeMessage());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_logNetworkFailure\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_logNetworkFailure():\n TypeOnly<typeof old.logNetworkFailure>;\ndeclare function use_current_FunctionDeclaration_logNetworkFailure(\n use: TypeOnly<typeof current.logNetworkFailure>): void;\nuse_current_FunctionDeclaration_logNetworkFailure(\n get_old_FunctionDeclaration_logNetworkFailure());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_logNetworkFailure\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_logNetworkFailure():\n TypeOnly<typeof current.logNetworkFailure>;\ndeclare function use_old_FunctionDeclaration_logNetworkFailure(\n use: TypeOnly<typeof old.logNetworkFailure>): void;\nuse_old_FunctionDeclaration_logNetworkFailure(\n get_current_FunctionDeclaration_logNetworkFailure());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_readAndParse\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_readAndParse():\n TypeOnly<typeof old.readAndParse>;\ndeclare function use_current_FunctionDeclaration_readAndParse(\n use: TypeOnly<typeof current.readAndParse>): void;\nuse_current_FunctionDeclaration_readAndParse(\n get_old_FunctionDeclaration_readAndParse());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_readAndParse\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_readAndParse():\n TypeOnly<typeof current.readAndParse>;\ndeclare function use_old_FunctionDeclaration_readAndParse(\n use: TypeOnly<typeof old.readAndParse>): void;\nuse_old_FunctionDeclaration_readAndParse(\n get_current_FunctionDeclaration_readAndParse());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_requestOps\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_requestOps():\n TypeOnly<typeof old.requestOps>;\ndeclare function use_current_FunctionDeclaration_requestOps(\n use: TypeOnly<typeof current.requestOps>): void;\nuse_current_FunctionDeclaration_requestOps(\n get_old_FunctionDeclaration_requestOps());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_requestOps\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_requestOps():\n TypeOnly<typeof current.requestOps>;\ndeclare function use_old_FunctionDeclaration_requestOps(\n use: TypeOnly<typeof old.requestOps>): void;\nuse_old_FunctionDeclaration_requestOps(\n get_current_FunctionDeclaration_requestOps());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_runWithRetry\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_runWithRetry():\n TypeOnly<typeof old.runWithRetry>;\ndeclare function use_current_FunctionDeclaration_runWithRetry(\n use: TypeOnly<typeof current.runWithRetry>): void;\nuse_current_FunctionDeclaration_runWithRetry(\n get_old_FunctionDeclaration_runWithRetry());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_runWithRetry\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_runWithRetry():\n TypeOnly<typeof current.runWithRetry>;\ndeclare function use_old_FunctionDeclaration_runWithRetry(\n use: TypeOnly<typeof old.runWithRetry>): void;\nuse_old_FunctionDeclaration_runWithRetry(\n get_current_FunctionDeclaration_runWithRetry());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_streamFromMessages\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_streamFromMessages():\n TypeOnly<typeof old.streamFromMessages>;\ndeclare function use_current_FunctionDeclaration_streamFromMessages(\n use: TypeOnly<typeof current.streamFromMessages>): void;\nuse_current_FunctionDeclaration_streamFromMessages(\n get_old_FunctionDeclaration_streamFromMessages());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_streamFromMessages\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_streamFromMessages():\n TypeOnly<typeof current.streamFromMessages>;\ndeclare function use_old_FunctionDeclaration_streamFromMessages(\n use: TypeOnly<typeof old.streamFromMessages>): void;\nuse_old_FunctionDeclaration_streamFromMessages(\n get_current_FunctionDeclaration_streamFromMessages());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_streamObserver\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_streamObserver():\n TypeOnly<typeof old.streamObserver>;\ndeclare function use_current_FunctionDeclaration_streamObserver(\n use: TypeOnly<typeof current.streamObserver>): void;\nuse_current_FunctionDeclaration_streamObserver(\n get_old_FunctionDeclaration_streamObserver());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_streamObserver\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_streamObserver():\n TypeOnly<typeof current.streamObserver>;\ndeclare function use_old_FunctionDeclaration_streamObserver(\n use: TypeOnly<typeof old.streamObserver>): void;\nuse_old_FunctionDeclaration_streamObserver(\n get_current_FunctionDeclaration_streamObserver());\n"]}
@@ -9,4 +9,4 @@ import { ISummaryTree, ITree } from "@fluidframework/protocol-definitions";
9
9
  * @internal
10
10
  */
11
11
  export declare function convertSummaryTreeToSnapshotITree(summaryTree: ISummaryTree): ITree;
12
- //# sourceMappingURL=treeConversions.d.mts.map
12
+ //# sourceMappingURL=treeConversions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treeConversions.d.ts","sourceRoot":"","sources":["../src/treeConversions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,YAAY,EAAE,KAAK,EAA2B,MAAM,sCAAsC,CAAC;AAIpG;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,YAAY,GAAG,KAAK,CAiDlF"}
@@ -5,8 +5,8 @@
5
5
  import { Uint8ArrayToString } from "@fluid-internal/client-utils";
6
6
  import { unreachableCase } from "@fluidframework/core-utils";
7
7
  import { SummaryType } from "@fluidframework/protocol-definitions";
8
- import { AttachmentTreeEntry, BlobTreeEntry, TreeTreeEntry } from "./blob.mjs";
9
- import { isCombinedAppAndProtocolSummary } from "./summaryForCreateNew.mjs";
8
+ import { AttachmentTreeEntry, BlobTreeEntry, TreeTreeEntry } from "./blob.js";
9
+ import { isCombinedAppAndProtocolSummary } from "./summaryForCreateNew.js";
10
10
  /**
11
11
  * Converts ISummaryTree to ITree format.
12
12
  * @param summaryTree - summary tree in ISummaryTree format
@@ -55,6 +55,7 @@ export function convertSummaryTreeToSnapshotITree(summaryTree) {
55
55
  return {
56
56
  entries,
57
57
  unreferenced: summaryTree.unreferenced,
58
+ groupId: summaryTree.groupId,
58
59
  };
59
60
  }
60
- //# sourceMappingURL=treeConversions.mjs.map
61
+ //# sourceMappingURL=treeConversions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treeConversions.js","sourceRoot":"","sources":["../src/treeConversions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAmC,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACpG,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAE3E;;;;GAIG;AACH,MAAM,UAAU,iCAAiC,CAAC,WAAyB;IAC1E,MAAM,OAAO,GAAiB,EAAE,CAAC;IACjC,MAAM,gBAAgB,GAAG,+BAA+B,CAAC,WAAW,CAAC,CAAC;IACtE,MAAM,iBAAiB,GAAG,gBAAgB;QACzC,CAAC,CAAC;YACA,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;YACrD,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;SAC/C;QACH,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAEpC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,iBAAiB,EAAE;QAC7C,MAAM,CAAC,GAAG,gBAAgB,IAAI,GAAG,KAAK,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;QACzE,QAAQ,KAAK,CAAC,IAAI,EAAE;YACnB,KAAK,WAAW,CAAC,IAAI,CAAC,CAAC;gBACtB,IAAI,aAAqB,CAAC;gBAC1B,IAAI,QAAQ,GAAuB,OAAO,CAAC;gBAC3C,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,EAAE;oBACtC,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC;iBAC9B;qBAAM;oBACN,aAAa,GAAG,kBAAkB,CAAC,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;oBAC5D,QAAQ,GAAG,QAAQ,CAAC;iBACpB;gBACD,OAAO,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAC;gBAC5D,MAAM;aACN;YAED,KAAK,WAAW,CAAC,IAAI,CAAC,CAAC;gBACtB,OAAO,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,CAAC,EAAE,iCAAiC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC7E,MAAM;aACN;YAED,KAAK,WAAW,CAAC,UAAU,CAAC,CAAC;gBAC5B,OAAO,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;gBACnD,MAAM;aACN;YAED,KAAK,WAAW,CAAC,MAAM,CAAC,CAAC;gBACxB,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAC/D;YAED;gBACC,eAAe,CAAC,KAAK,EAAE,8BAA8B,CAAC,CAAC;SACxD;KACD;IACD,OAAO;QACN,OAAO;QACP,YAAY,EAAE,WAAW,CAAC,YAAY;QACtC,OAAO,EAAE,WAAW,CAAC,OAAO;KAC5B,CAAC;AACH,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { Uint8ArrayToString } from \"@fluid-internal/client-utils\";\nimport { unreachableCase } from \"@fluidframework/core-utils\";\nimport { ISummaryTree, ITree, ITreeEntry, SummaryType } from \"@fluidframework/protocol-definitions\";\nimport { AttachmentTreeEntry, BlobTreeEntry, TreeTreeEntry } from \"./blob.js\";\nimport { isCombinedAppAndProtocolSummary } from \"./summaryForCreateNew.js\";\n\n/**\n * Converts ISummaryTree to ITree format.\n * @param summaryTree - summary tree in ISummaryTree format\n * @internal\n */\nexport function convertSummaryTreeToSnapshotITree(summaryTree: ISummaryTree): ITree {\n\tconst entries: ITreeEntry[] = [];\n\tconst adaptSummaryTree = isCombinedAppAndProtocolSummary(summaryTree);\n\tconst allSummaryEntries = adaptSummaryTree\n\t\t? [\n\t\t\t\t...Object.entries(summaryTree.tree[\".protocol\"].tree),\n\t\t\t\t...Object.entries(summaryTree.tree[\".app\"].tree),\n\t\t ]\n\t\t: Object.entries(summaryTree.tree);\n\n\tfor (const [key, value] of allSummaryEntries) {\n\t\tconst k = adaptSummaryTree && key === \"attributes\" ? \".attributes\" : key;\n\t\tswitch (value.type) {\n\t\t\tcase SummaryType.Blob: {\n\t\t\t\tlet parsedContent: string;\n\t\t\t\tlet encoding: \"utf-8\" | \"base64\" = \"utf-8\";\n\t\t\t\tif (typeof value.content === \"string\") {\n\t\t\t\t\tparsedContent = value.content;\n\t\t\t\t} else {\n\t\t\t\t\tparsedContent = Uint8ArrayToString(value.content, \"base64\");\n\t\t\t\t\tencoding = \"base64\";\n\t\t\t\t}\n\t\t\t\tentries.push(new BlobTreeEntry(k, parsedContent, encoding));\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tcase SummaryType.Tree: {\n\t\t\t\tentries.push(new TreeTreeEntry(k, convertSummaryTreeToSnapshotITree(value)));\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tcase SummaryType.Attachment: {\n\t\t\t\tentries.push(new AttachmentTreeEntry(k, value.id));\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tcase SummaryType.Handle: {\n\t\t\t\tthrow new Error(\"Should not have Handle type in summary tree\");\n\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\tunreachableCase(value, \"Unexpected summary tree type\");\n\t\t}\n\t}\n\treturn {\n\t\tentries,\n\t\tunreferenced: summaryTree.unreferenced,\n\t\tgroupId: summaryTree.groupId,\n\t};\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/driver-utils",
3
- "version": "2.0.0-dev-rc.1.0.0.232845",
3
+ "version": "2.0.0-dev-rc.2.0.0.246488",
4
4
  "description": "Collection of utility functions for Fluid drivers",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -11,8 +11,50 @@
11
11
  "license": "MIT",
12
12
  "author": "Microsoft and contributors",
13
13
  "sideEffects": false,
14
+ "type": "module",
15
+ "exports": {
16
+ ".": {
17
+ "import": {
18
+ "types": "./lib/index.d.ts",
19
+ "default": "./lib/index.js"
20
+ },
21
+ "require": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ }
25
+ },
26
+ "./public": {
27
+ "import": {
28
+ "types": "./lib/driver-utils-public.d.ts",
29
+ "default": "./lib/index.js"
30
+ },
31
+ "require": {
32
+ "types": "./dist/driver-utils-public.d.ts",
33
+ "default": "./dist/index.js"
34
+ }
35
+ },
36
+ "./alpha": {
37
+ "import": {
38
+ "types": "./lib/driver-utils-alpha.d.ts",
39
+ "default": "./lib/index.js"
40
+ },
41
+ "require": {
42
+ "types": "./dist/driver-utils-alpha.d.ts",
43
+ "default": "./dist/index.js"
44
+ }
45
+ },
46
+ "./internal": {
47
+ "import": {
48
+ "types": "./lib/index.d.ts",
49
+ "default": "./lib/index.js"
50
+ },
51
+ "require": {
52
+ "types": "./dist/index.d.ts",
53
+ "default": "./dist/index.js"
54
+ }
55
+ }
56
+ },
14
57
  "main": "dist/index.js",
15
- "module": "lib/index.mjs",
16
58
  "types": "dist/index.d.ts",
17
59
  "c8": {
18
60
  "all": true,
@@ -35,43 +77,42 @@
35
77
  "temp-directory": "nyc/.nyc_output"
36
78
  },
37
79
  "dependencies": {
38
- "@fluid-internal/client-utils": "2.0.0-dev-rc.1.0.0.232845",
39
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.1.0.0.232845",
40
- "@fluidframework/core-utils": "2.0.0-dev-rc.1.0.0.232845",
41
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.1.0.0.232845",
42
- "@fluidframework/gitresources": "^3.1.0-231702",
43
- "@fluidframework/protocol-base": "^3.1.0-231702",
44
- "@fluidframework/protocol-definitions": "^3.2.0-231454",
45
- "@fluidframework/telemetry-utils": "2.0.0-dev-rc.1.0.0.232845",
80
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.2.0.0.246488",
81
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.2.0.0.246488",
82
+ "@fluidframework/core-utils": "2.0.0-dev-rc.2.0.0.246488",
83
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.2.0.0.246488",
84
+ "@fluidframework/gitresources": "^4.0.0",
85
+ "@fluidframework/protocol-base": "^4.0.0",
86
+ "@fluidframework/protocol-definitions": "^3.2.0",
87
+ "@fluidframework/telemetry-utils": "2.0.0-dev-rc.2.0.0.246488",
46
88
  "axios": "^1.6.2",
47
89
  "lz4js": "^0.2.0",
48
- "url": "^0.11.0",
49
90
  "uuid": "^9.0.0"
50
91
  },
51
92
  "devDependencies": {
52
93
  "@arethetypeswrong/cli": "^0.13.3",
53
- "@fluid-tools/build-cli": "^0.29.0",
94
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.2.0.0.246488",
95
+ "@fluid-tools/build-cli": "^0.34.0",
54
96
  "@fluidframework/build-common": "^2.0.3",
55
- "@fluidframework/build-tools": "^0.29.0",
97
+ "@fluidframework/build-tools": "^0.34.0",
56
98
  "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.0.0-internal.8.0.0",
57
- "@fluidframework/eslint-config-fluid": "^3.3.0",
58
- "@fluidframework/mocha-test-setup": "2.0.0-dev-rc.1.0.0.232845",
59
- "@microsoft/api-extractor": "^7.39.1",
99
+ "@fluidframework/eslint-config-fluid": "^5.1.0",
100
+ "@microsoft/api-extractor": "^7.42.3",
60
101
  "@types/mocha": "^9.1.1",
61
102
  "@types/node": "^18.19.0",
62
- "@types/sinon": "^7.0.13",
103
+ "@types/sinon": "^17.0.3",
104
+ "@types/uuid": "^9.0.2",
63
105
  "c8": "^8.0.1",
64
106
  "copyfiles": "^2.4.1",
65
107
  "cross-env": "^7.0.3",
66
- "eslint": "~8.50.0",
108
+ "eslint": "~8.55.0",
67
109
  "mocha": "^10.2.0",
68
110
  "mocha-json-output-reporter": "^2.0.1",
69
111
  "mocha-multi-reporters": "^1.5.1",
70
112
  "moment": "^2.21.0",
71
113
  "prettier": "~3.0.3",
72
114
  "rimraf": "^4.4.0",
73
- "sinon": "^7.4.2",
74
- "tsc-multi": "^1.1.0",
115
+ "sinon": "^17.0.1",
75
116
  "typescript": "~5.1.6"
76
117
  },
77
118
  "fluidBuild": {
@@ -89,25 +130,29 @@
89
130
  "typeValidation": {
90
131
  "broken": {
91
132
  "ClassDeclaration_DocumentStorageServiceProxy": {
133
+ "backCompat": false,
92
134
  "forwardCompat": false
93
135
  },
94
136
  "ClassDeclaration_PrefetchDocumentStorageService": {
137
+ "backCompat": false,
95
138
  "forwardCompat": false
96
139
  }
97
140
  }
98
141
  },
99
142
  "scripts": {
100
143
  "api": "fluid-build . --task api",
101
- "api-extractor:commonjs": "api-extractor run --local",
102
- "api-extractor:esnext": "api-extractor run --config ./api-extractor-esm.json",
144
+ "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
145
+ "api-extractor:esnext": "api-extractor run --local",
103
146
  "build": "fluid-build . --task build",
104
147
  "build:commonjs": "fluid-build . --task commonjs",
105
148
  "build:compile": "fluid-build . --task compile",
106
149
  "build:docs": "fluid-build . --task api",
107
- "build:esnext": "tsc-multi --config ../../../common/build/build-common/tsc-multi.esm.json",
150
+ "build:esnext": "tsc --project ./tsconfig.json",
108
151
  "build:genver": "gen-version",
109
- "build:test": "tsc --project ./src/test/tsconfig.json",
110
- "check:are-the-types-wrong": "attw --pack",
152
+ "build:test": "npm run build:test:esm && npm run build:test:cjs",
153
+ "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
154
+ "build:test:esm": "tsc --project ./src/test/tsconfig.json",
155
+ "check:are-the-types-wrong": "attw --pack . --entrypoints .",
111
156
  "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
112
157
  "ci:build:docs": "api-extractor run",
113
158
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
@@ -120,9 +165,11 @@
120
165
  "prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
121
166
  "test": "npm run test:mocha",
122
167
  "test:coverage": "c8 npm test",
123
- "test:mocha": "mocha --ignore \"dist/test/types/*\" --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup",
168
+ "test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
169
+ "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\" --exit",
170
+ "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit",
124
171
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
125
- "tsc": "tsc",
172
+ "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
126
173
  "typetests:gen": "fluid-type-test-generator",
127
174
  "typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
128
175
  }
@@ -4,9 +4,9 @@
4
4
  */
5
5
 
6
6
  import { IDocumentService, IDocumentStorageService } from "@fluidframework/driver-definitions";
7
- import { DocumentServiceProxy } from "../../documentServiceProxy";
8
- import { DocumentStorageServiceCompressionAdapter as DocumentStorageServiceSummaryBlobCompressionAdapter } from "./summaryblob";
9
- import { ICompressionStorageConfig } from "./compressionTypes";
7
+ import { DocumentServiceProxy } from "../../documentServiceProxy.js";
8
+ import { DocumentStorageServiceCompressionAdapter as DocumentStorageServiceSummaryBlobCompressionAdapter } from "./summaryblob/index.js";
9
+ import { ICompressionStorageConfig } from "./compressionTypes.js";
10
10
 
11
11
  export class DocumentServiceCompressionAdapter extends DocumentServiceProxy {
12
12
  constructor(
@@ -10,10 +10,10 @@ import {
10
10
  IResolvedUrl,
11
11
  } from "@fluidframework/driver-definitions";
12
12
  import { ISummaryTree } from "@fluidframework/protocol-definitions";
13
- import { DocumentServiceFactoryProxy } from "../../documentServiceFactoryProxy";
14
- import { ICompressionStorageConfig } from "./compressionTypes";
15
- import { DocumentStorageServiceCompressionAdapter as DocumentStorageServiceSummaryBlobCompressionAdapter } from "./summaryblob";
16
- import { DocumentServiceCompressionAdapter } from "./documentServiceCompressionAdapter";
13
+ import { DocumentServiceFactoryProxy } from "../../documentServiceFactoryProxy.js";
14
+ import { ICompressionStorageConfig } from "./compressionTypes.js";
15
+ import { DocumentStorageServiceCompressionAdapter as DocumentStorageServiceSummaryBlobCompressionAdapter } from "./summaryblob/index.js";
16
+ import { DocumentServiceCompressionAdapter } from "./documentServiceCompressionAdapter.js";
17
17
 
18
18
  export class DocumentServiceFactoryCompressionAdapter extends DocumentServiceFactoryProxy {
19
19
  constructor(
@@ -7,6 +7,6 @@ export {
7
7
  SummaryCompressionAlgorithm,
8
8
  ICompressionStorageConfig,
9
9
  DefaultCompressionStorageConfig,
10
- } from "./compressionTypes";
11
- export { DocumentServiceFactoryCompressionAdapter } from "./documentServiceFactoryCompressionAdapter";
12
- export { blobHeadersBlobName } from "./summaryblob";
10
+ } from "./compressionTypes.js";
11
+ export { DocumentServiceFactoryCompressionAdapter } from "./documentServiceFactoryCompressionAdapter.js";
12
+ export { blobHeadersBlobName } from "./summaryblob/index.js";
@@ -16,8 +16,8 @@ import {
16
16
  SummaryType,
17
17
  } from "@fluidframework/protocol-definitions";
18
18
  import { compress, decompress } from "lz4js";
19
- import { DocumentStorageServiceProxy } from "../../../documentStorageServiceProxy";
20
- import { ICompressionStorageConfig, SummaryCompressionAlgorithm } from "../";
19
+ import { DocumentStorageServiceProxy } from "../../../documentStorageServiceProxy.js";
20
+ import { ICompressionStorageConfig, SummaryCompressionAlgorithm } from "..//index.js";
21
21
 
22
22
  /**
23
23
  * @internal
@@ -6,4 +6,4 @@
6
6
  export {
7
7
  DocumentStorageServiceCompressionAdapter,
8
8
  blobHeadersBlobName,
9
- } from "./documentStorageServiceSummaryBlobCompressionAdapter";
9
+ } from "./documentStorageServiceSummaryBlobCompressionAdapter.js";
@@ -8,6 +8,6 @@ export {
8
8
  ICompressionStorageConfig,
9
9
  DefaultCompressionStorageConfig,
10
10
  blobHeadersBlobName,
11
- } from "./compression";
11
+ } from "./compression/index.js";
12
12
 
13
- export { applyStorageCompression } from "./predefinedAdapters";
13
+ export { applyStorageCompression } from "./predefinedAdapters.js";
@@ -9,7 +9,7 @@ import {
9
9
  DocumentServiceFactoryCompressionAdapter,
10
10
  ICompressionStorageConfig,
11
11
  DefaultCompressionStorageConfig,
12
- } from "./compression";
12
+ } from "./compression/index.js";
13
13
 
14
14
  /**
15
15
  * This method optionally applies compression to the given document service factory. The compression
@@ -34,10 +34,6 @@ export class DocumentStorageServiceProxy implements IDocumentStorageService {
34
34
  return this._policies ?? this.internalStorageService.policies;
35
35
  }
36
36
 
37
- public get repositoryUrl(): string {
38
- return this.internalStorageService.repositoryUrl;
39
- }
40
-
41
37
  constructor(protected readonly internalStorageService: IDocumentStorageService) {}
42
38
 
43
39
  public async getSnapshotTree(
package/src/index.ts CHANGED
@@ -3,12 +3,12 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- export { buildSnapshotTree } from "./buildSnapshotTree";
7
- export { BlobTreeEntry, TreeTreeEntry, AttachmentTreeEntry } from "./blob";
8
- export { DocumentStorageServiceProxy } from "./documentStorageServiceProxy";
9
- export { UsageError } from "./error";
10
- export { InsecureUrlResolver } from "./insecureUrlResolver";
11
- export { canBeCoalescedByService, isRuntimeMessage, MessageType2 } from "./messageRecognition";
6
+ export { buildSnapshotTree } from "./buildSnapshotTree.js";
7
+ export { BlobTreeEntry, TreeTreeEntry, AttachmentTreeEntry } from "./blob.js";
8
+ export { DocumentStorageServiceProxy } from "./documentStorageServiceProxy.js";
9
+ export { UsageError } from "./error.js";
10
+ export { InsecureUrlResolver } from "./insecureUrlResolver.js";
11
+ export { canBeCoalescedByService, isRuntimeMessage, MessageType2 } from "./messageRecognition.js";
12
12
  export {
13
13
  AuthorizationError,
14
14
  canRetryOnError,
@@ -27,8 +27,8 @@ export {
27
27
  OnlineStatus,
28
28
  RetryableError,
29
29
  ThrottlingError,
30
- } from "./network";
31
- export { logNetworkFailure } from "./networkUtils";
30
+ } from "./network.js";
31
+ export { logNetworkFailure } from "./networkUtils.js";
32
32
  export {
33
33
  emptyMessageStream,
34
34
  ParallelRequests,
@@ -36,22 +36,22 @@ export {
36
36
  requestOps,
37
37
  streamFromMessages,
38
38
  streamObserver,
39
- } from "./parallelRequests";
40
- export { PrefetchDocumentStorageService } from "./prefetchDocumentStorageService";
41
- export { RateLimiter } from "./rateLimiter";
42
- export { readAndParse } from "./readAndParse";
43
- export { calculateMaxWaitTime, IProgress, runWithRetry } from "./runWithRetry";
39
+ } from "./parallelRequests.js";
40
+ export { PrefetchDocumentStorageService } from "./prefetchDocumentStorageService.js";
41
+ export { RateLimiter } from "./rateLimiter.js";
42
+ export { readAndParse } from "./readAndParse.js";
43
+ export { calculateMaxWaitTime, IProgress, runWithRetry } from "./runWithRetry.js";
44
44
  export {
45
45
  CombinedAppAndProtocolSummary,
46
46
  getDocAttributesFromProtocolSummary,
47
47
  getQuorumValuesFromProtocolSummary,
48
48
  isCombinedAppAndProtocolSummary,
49
- } from "./summaryForCreateNew";
50
- export { convertSummaryTreeToSnapshotITree } from "./treeConversions";
49
+ } from "./summaryForCreateNew.js";
50
+ export { convertSummaryTreeToSnapshotITree } from "./treeConversions.js";
51
51
  export {
52
52
  applyStorageCompression,
53
53
  ICompressionStorageConfig,
54
54
  SummaryCompressionAlgorithm,
55
55
  blobHeadersBlobName,
56
- } from "./adapters";
57
- export { isInstanceOfISnapshot } from "./storageUtils";
56
+ } from "./adapters/index.js";
57
+ export { isInstanceOfISnapshot } from "./storageUtils.js";
@@ -3,7 +3,6 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { parse } from "url";
7
6
  import { assert } from "@fluidframework/core-utils";
8
7
  import { IRequest } from "@fluidframework/core-interfaces";
9
8
  import { IResolvedUrl, IUrlResolver, DriverHeader } from "@fluidframework/driver-definitions";
@@ -17,7 +16,7 @@ import Axios from "axios";
17
16
  * http://localhost:8080/<documentId>/<path>.
18
17
  *
19
18
  * We then need to map that to a Fluid based URL. These are of the form
20
- * fluid://orderingUrl/<tenantId>/<documentId>/<path>.
19
+ * https://orderingUrl/<tenantId>/<documentId>/<path>.
21
20
  *
22
21
  * The tenantId/documentId pair defines the 'full' document ID the service makes use of. The path is then an optional
23
22
  * part of the URL that the document interprets and maps to a data store. It's exactly similar to how a web service
@@ -31,6 +30,7 @@ export class InsecureUrlResolver implements IUrlResolver {
31
30
  private readonly hostUrl: string,
32
31
  private readonly ordererUrl: string,
33
32
  private readonly storageUrl: string,
33
+ private readonly deltaStreamUrl: string,
34
34
  private readonly tenantId: string,
35
35
  private readonly bearer: string,
36
36
  private readonly isForNodeTest: boolean = false,
@@ -97,6 +97,7 @@ export class InsecureUrlResolver implements IUrlResolver {
97
97
  const createNewResponse: IResolvedUrl = {
98
98
  endpoints: {
99
99
  deltaStorageUrl: `${this.ordererUrl}/deltas/${encodedTenantId}/new`,
100
+ deltaStreamUrl: this.deltaStreamUrl,
100
101
  ordererUrl: this.ordererUrl,
101
102
  storageUrl: `${this.storageUrl}/repos/${encodedTenantId}`,
102
103
  },
@@ -104,7 +105,7 @@ export class InsecureUrlResolver implements IUrlResolver {
104
105
  id: "",
105
106
  tokens: {},
106
107
  type: "fluid",
107
- url: `fluid://${host}/${encodedTenantId}/new`,
108
+ url: `https://${host}/${encodedTenantId}/new`,
108
109
  };
109
110
  return createNewResponse;
110
111
  }
@@ -113,7 +114,7 @@ export class InsecureUrlResolver implements IUrlResolver {
113
114
  !documentRelativePath || documentRelativePath.startsWith("/")
114
115
  ? documentRelativePath
115
116
  : `/${documentRelativePath}`;
116
- const documentUrl = `fluid://${host}/${encodedTenantId}/${encodedDocId}${relativePath}${queryParams}`;
117
+ const documentUrl = `https://${host}/${encodedTenantId}/${encodedDocId}${relativePath}${queryParams}`;
117
118
 
118
119
  const deltaStorageUrl = `${this.ordererUrl}/deltas/${encodedTenantId}/${encodedDocId}`;
119
120
  const storageUrl = `${this.storageUrl}/repos/${encodedTenantId}`;
@@ -121,6 +122,7 @@ export class InsecureUrlResolver implements IUrlResolver {
121
122
  const response: IResolvedUrl = {
122
123
  endpoints: {
123
124
  deltaStorageUrl,
125
+ deltaStreamUrl: this.deltaStreamUrl,
124
126
  ordererUrl: this.ordererUrl,
125
127
  storageUrl,
126
128
  },
@@ -133,7 +135,7 @@ export class InsecureUrlResolver implements IUrlResolver {
133
135
  }
134
136
 
135
137
  public async getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string): Promise<string> {
136
- const parsedUrl = parse(resolvedUrl.url);
138
+ const parsedUrl = new URL(resolvedUrl.url);
137
139
  const [, , documentId] = parsedUrl.pathname?.split("/") ?? [];
138
140
  // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
139
141
  assert(!!documentId, 0x273 /* "Invalid document id from parsed URL" */);
@@ -2,6 +2,7 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
+
5
6
  import {
6
7
  IDocumentMessage,
7
8
  ISequencedDocumentMessage,
package/src/network.ts CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  IResolvedUrl,
12
12
  DriverErrorTypes,
13
13
  } from "@fluidframework/driver-definitions";
14
- import { ITelemetryProperties } from "@fluidframework/core-interfaces";
14
+ import { ITelemetryBaseProperties } from "@fluidframework/core-interfaces";
15
15
  import { IFluidErrorBase, LoggingError } from "@fluidframework/telemetry-utils";
16
16
 
17
17
  /**
@@ -44,7 +44,7 @@ export function isOnline(): OnlineStatus {
44
44
  * Telemetry props with driver-specific required properties
45
45
  * @internal
46
46
  */
47
- export type DriverErrorTelemetryProps = ITelemetryProperties & {
47
+ export type DriverErrorTelemetryProps = ITelemetryBaseProperties & {
48
48
  driverVersion: string | undefined;
49
49
  };
50
50