@fluidframework/driver-utils 1.4.0-121020 → 2.0.0-dev-rc.1.0.0.225277

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 (392) hide show
  1. package/.eslintrc.js +17 -7
  2. package/.mocharc.js +12 -0
  3. package/CHANGELOG.md +141 -0
  4. package/README.md +68 -1
  5. package/api-extractor-esm.json +4 -0
  6. package/api-extractor-lint.json +4 -0
  7. package/api-extractor.json +2 -2
  8. package/api-report/driver-utils.api.md +401 -0
  9. package/dist/adapters/compression/compressionTypes.cjs +20 -0
  10. package/dist/adapters/compression/compressionTypes.cjs.map +1 -0
  11. package/dist/adapters/compression/compressionTypes.d.ts +23 -0
  12. package/dist/adapters/compression/compressionTypes.d.ts.map +1 -0
  13. package/dist/adapters/compression/documentServiceCompressionAdapter.cjs +23 -0
  14. package/dist/adapters/compression/documentServiceCompressionAdapter.cjs.map +1 -0
  15. package/dist/adapters/compression/documentServiceCompressionAdapter.d.ts +13 -0
  16. package/dist/adapters/compression/documentServiceCompressionAdapter.d.ts.map +1 -0
  17. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.cjs +31 -0
  18. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.cjs.map +1 -0
  19. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.d.ts +16 -0
  20. package/dist/adapters/compression/documentServiceFactoryCompressionAdapter.d.ts.map +1 -0
  21. package/dist/adapters/compression/index.cjs +15 -0
  22. package/dist/adapters/compression/index.cjs.map +1 -0
  23. package/dist/adapters/compression/index.d.ts +8 -0
  24. package/dist/adapters/compression/index.d.ts.map +1 -0
  25. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.cjs +370 -0
  26. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.cjs.map +1 -0
  27. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.ts +165 -0
  28. package/dist/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.ts.map +1 -0
  29. package/dist/adapters/compression/summaryblob/index.cjs +11 -0
  30. package/dist/adapters/compression/summaryblob/index.cjs.map +1 -0
  31. package/dist/adapters/compression/summaryblob/index.d.ts +6 -0
  32. package/dist/adapters/compression/summaryblob/index.d.ts.map +1 -0
  33. package/dist/adapters/index.cjs +14 -0
  34. package/dist/adapters/index.cjs.map +1 -0
  35. package/dist/adapters/index.d.ts +7 -0
  36. package/dist/adapters/index.d.ts.map +1 -0
  37. package/dist/adapters/predefinedAdapters.cjs +52 -0
  38. package/dist/adapters/predefinedAdapters.cjs.map +1 -0
  39. package/dist/adapters/predefinedAdapters.d.ts +21 -0
  40. package/dist/adapters/predefinedAdapters.d.ts.map +1 -0
  41. package/dist/blob.cjs +65 -0
  42. package/dist/blob.cjs.map +1 -0
  43. package/dist/blob.d.ts +56 -0
  44. package/dist/blob.d.ts.map +1 -0
  45. package/dist/{buildSnapshotTree.js → buildSnapshotTree.cjs} +7 -5
  46. package/dist/buildSnapshotTree.cjs.map +1 -0
  47. package/dist/buildSnapshotTree.d.ts +1 -0
  48. package/dist/buildSnapshotTree.d.ts.map +1 -1
  49. package/dist/documentServiceFactoryProxy.cjs +27 -0
  50. package/dist/documentServiceFactoryProxy.cjs.map +1 -0
  51. package/dist/documentServiceFactoryProxy.d.ts +19 -0
  52. package/dist/documentServiceFactoryProxy.d.ts.map +1 -0
  53. package/dist/documentServiceProxy.cjs +36 -0
  54. package/dist/documentServiceProxy.cjs.map +1 -0
  55. package/dist/documentServiceProxy.d.ts +21 -0
  56. package/dist/documentServiceProxy.d.ts.map +1 -0
  57. package/dist/{documentStorageServiceProxy.js → documentStorageServiceProxy.cjs} +10 -8
  58. package/dist/documentStorageServiceProxy.cjs.map +1 -0
  59. package/dist/documentStorageServiceProxy.d.ts +5 -2
  60. package/dist/documentStorageServiceProxy.d.ts.map +1 -1
  61. package/dist/driver-utils-alpha.d.ts +163 -0
  62. package/dist/driver-utils-beta.d.ts +178 -0
  63. package/dist/driver-utils-public.d.ts +178 -0
  64. package/dist/driver-utils-untrimmed.d.ts +590 -0
  65. package/dist/{error.js → error.cjs} +10 -3
  66. package/dist/error.cjs.map +1 -0
  67. package/dist/error.d.ts +8 -3
  68. package/dist/error.d.ts.map +1 -1
  69. package/dist/index.cjs +69 -0
  70. package/dist/index.cjs.map +1 -0
  71. package/dist/index.d.ts +16 -21
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/{insecureUrlResolver.js → insecureUrlResolver.cjs} +10 -11
  74. package/dist/insecureUrlResolver.cjs.map +1 -0
  75. package/dist/insecureUrlResolver.d.ts +1 -0
  76. package/dist/insecureUrlResolver.d.ts.map +1 -1
  77. package/dist/messageRecognition.cjs +38 -0
  78. package/dist/messageRecognition.cjs.map +1 -0
  79. package/dist/messageRecognition.d.ts +16 -26
  80. package/dist/messageRecognition.d.ts.map +1 -1
  81. package/dist/{network.js → network.cjs} +86 -24
  82. package/dist/network.cjs.map +1 -0
  83. package/dist/network.d.ts +69 -20
  84. package/dist/network.d.ts.map +1 -1
  85. package/dist/networkUtils.cjs +29 -0
  86. package/dist/networkUtils.cjs.map +1 -0
  87. package/dist/networkUtils.d.ts +4 -10
  88. package/dist/networkUtils.d.ts.map +1 -1
  89. package/dist/{packageVersion.js → packageVersion.cjs} +2 -2
  90. package/dist/packageVersion.cjs.map +1 -0
  91. package/dist/packageVersion.d.ts +1 -1
  92. package/dist/packageVersion.d.ts.map +1 -1
  93. package/dist/{parallelRequests.js → parallelRequests.cjs} +146 -74
  94. package/dist/parallelRequests.cjs.map +1 -0
  95. package/dist/parallelRequests.d.ts +19 -6
  96. package/dist/parallelRequests.d.ts.map +1 -1
  97. package/dist/{prefetchDocumentStorageService.js → prefetchDocumentStorageService.cjs} +7 -4
  98. package/dist/prefetchDocumentStorageService.cjs.map +1 -0
  99. package/dist/prefetchDocumentStorageService.d.ts +4 -2
  100. package/dist/prefetchDocumentStorageService.d.ts.map +1 -1
  101. package/dist/{rateLimiter.js → rateLimiter.cjs} +6 -3
  102. package/dist/rateLimiter.cjs.map +1 -0
  103. package/dist/rateLimiter.d.ts +3 -0
  104. package/dist/rateLimiter.d.ts.map +1 -1
  105. package/dist/readAndParse.cjs +28 -0
  106. package/dist/readAndParse.cjs.map +1 -0
  107. package/dist/readAndParse.d.ts +10 -4
  108. package/dist/readAndParse.d.ts.map +1 -1
  109. package/dist/runWithRetry.cjs +108 -0
  110. package/dist/runWithRetry.cjs.map +1 -0
  111. package/dist/runWithRetry.d.ts +26 -7
  112. package/dist/runWithRetry.d.ts.map +1 -1
  113. package/dist/{summaryForCreateNew.js → summaryForCreateNew.cjs} +20 -19
  114. package/dist/summaryForCreateNew.cjs.map +1 -0
  115. package/dist/summaryForCreateNew.d.ts +17 -4
  116. package/dist/summaryForCreateNew.d.ts.map +1 -1
  117. package/dist/{treeConversions.js → treeConversions.cjs} +16 -18
  118. package/dist/treeConversions.cjs.map +1 -0
  119. package/dist/treeConversions.d.ts +1 -0
  120. package/dist/treeConversions.d.ts.map +1 -1
  121. package/dist/tsdoc-metadata.json +11 -0
  122. package/lib/adapters/compression/compressionTypes.d.mts +23 -0
  123. package/lib/adapters/compression/compressionTypes.d.mts.map +1 -0
  124. package/lib/adapters/compression/compressionTypes.mjs +17 -0
  125. package/lib/adapters/compression/compressionTypes.mjs.map +1 -0
  126. package/lib/adapters/compression/documentServiceCompressionAdapter.d.mts +13 -0
  127. package/lib/adapters/compression/documentServiceCompressionAdapter.d.mts.map +1 -0
  128. package/lib/adapters/compression/documentServiceCompressionAdapter.mjs +19 -0
  129. package/lib/adapters/compression/documentServiceCompressionAdapter.mjs.map +1 -0
  130. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.d.mts +16 -0
  131. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.d.mts.map +1 -0
  132. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.mjs +27 -0
  133. package/lib/adapters/compression/documentServiceFactoryCompressionAdapter.mjs.map +1 -0
  134. package/lib/adapters/compression/index.d.mts +8 -0
  135. package/lib/adapters/compression/index.d.mts.map +1 -0
  136. package/lib/adapters/compression/index.mjs +8 -0
  137. package/lib/adapters/compression/index.mjs.map +1 -0
  138. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.mts +165 -0
  139. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.d.mts.map +1 -0
  140. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.mjs +366 -0
  141. package/lib/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.mjs.map +1 -0
  142. package/lib/adapters/compression/summaryblob/index.d.mts +6 -0
  143. package/lib/adapters/compression/summaryblob/index.d.mts.map +1 -0
  144. package/lib/adapters/compression/summaryblob/index.mjs +6 -0
  145. package/lib/adapters/compression/summaryblob/index.mjs.map +1 -0
  146. package/lib/adapters/index.d.mts +7 -0
  147. package/lib/adapters/index.d.mts.map +1 -0
  148. package/lib/adapters/index.mjs +7 -0
  149. package/lib/adapters/index.mjs.map +1 -0
  150. package/lib/adapters/predefinedAdapters.d.mts +21 -0
  151. package/lib/adapters/predefinedAdapters.d.mts.map +1 -0
  152. package/lib/adapters/predefinedAdapters.mjs +47 -0
  153. package/lib/adapters/predefinedAdapters.mjs.map +1 -0
  154. package/lib/blob.d.mts +56 -0
  155. package/lib/blob.d.mts.map +1 -0
  156. package/lib/blob.mjs +59 -0
  157. package/lib/blob.mjs.map +1 -0
  158. package/lib/{buildSnapshotTree.d.ts → buildSnapshotTree.d.mts} +2 -1
  159. package/lib/buildSnapshotTree.d.mts.map +1 -0
  160. package/lib/{buildSnapshotTree.js → buildSnapshotTree.mjs} +6 -4
  161. package/lib/buildSnapshotTree.mjs.map +1 -0
  162. package/lib/documentServiceFactoryProxy.d.mts +19 -0
  163. package/lib/documentServiceFactoryProxy.d.mts.map +1 -0
  164. package/lib/documentServiceFactoryProxy.mjs +23 -0
  165. package/lib/documentServiceFactoryProxy.mjs.map +1 -0
  166. package/lib/documentServiceProxy.d.mts +21 -0
  167. package/lib/documentServiceProxy.d.mts.map +1 -0
  168. package/lib/documentServiceProxy.mjs +32 -0
  169. package/lib/documentServiceProxy.mjs.map +1 -0
  170. package/lib/{documentStorageServiceProxy.d.ts → documentStorageServiceProxy.d.mts} +6 -3
  171. package/lib/documentStorageServiceProxy.d.mts.map +1 -0
  172. package/lib/{documentStorageServiceProxy.js → documentStorageServiceProxy.mjs} +10 -8
  173. package/lib/documentStorageServiceProxy.mjs.map +1 -0
  174. package/lib/driver-utils-alpha.d.mts +163 -0
  175. package/lib/driver-utils-beta.d.mts +178 -0
  176. package/lib/driver-utils-public.d.mts +178 -0
  177. package/lib/driver-utils-untrimmed.d.mts +590 -0
  178. package/lib/error.d.mts +16 -0
  179. package/lib/error.d.mts.map +1 -0
  180. package/lib/error.mjs +19 -0
  181. package/lib/error.mjs.map +1 -0
  182. package/lib/index.d.mts +21 -0
  183. package/lib/index.d.mts.map +1 -0
  184. package/lib/index.mjs +21 -0
  185. package/lib/index.mjs.map +1 -0
  186. package/lib/{insecureUrlResolver.d.ts → insecureUrlResolver.d.mts} +2 -1
  187. package/lib/insecureUrlResolver.d.mts.map +1 -0
  188. package/lib/{insecureUrlResolver.js → insecureUrlResolver.mjs} +10 -11
  189. package/lib/insecureUrlResolver.mjs.map +1 -0
  190. package/lib/messageRecognition.d.mts +24 -0
  191. package/lib/messageRecognition.d.mts.map +1 -0
  192. package/lib/messageRecognition.mjs +29 -0
  193. package/lib/messageRecognition.mjs.map +1 -0
  194. package/lib/{network.d.ts → network.d.mts} +70 -21
  195. package/lib/network.d.mts.map +1 -0
  196. package/lib/{network.js → network.mjs} +85 -23
  197. package/lib/network.mjs.map +1 -0
  198. package/lib/networkUtils.d.mts +11 -0
  199. package/lib/networkUtils.d.mts.map +1 -0
  200. package/lib/networkUtils.mjs +25 -0
  201. package/lib/networkUtils.mjs.map +1 -0
  202. package/lib/{packageVersion.d.ts → packageVersion.d.mts} +2 -2
  203. package/lib/packageVersion.d.mts.map +1 -0
  204. package/lib/{packageVersion.js → packageVersion.mjs} +2 -2
  205. package/lib/packageVersion.mjs.map +1 -0
  206. package/lib/{parallelRequests.d.ts → parallelRequests.d.mts} +20 -7
  207. package/lib/parallelRequests.d.mts.map +1 -0
  208. package/lib/{parallelRequests.js → parallelRequests.mjs} +119 -52
  209. package/lib/parallelRequests.mjs.map +1 -0
  210. package/lib/{prefetchDocumentStorageService.d.ts → prefetchDocumentStorageService.d.mts} +6 -8
  211. package/lib/prefetchDocumentStorageService.d.mts.map +1 -0
  212. package/lib/{prefetchDocumentStorageService.js → prefetchDocumentStorageService.mjs} +7 -8
  213. package/lib/prefetchDocumentStorageService.mjs.map +1 -0
  214. package/lib/{rateLimiter.d.ts → rateLimiter.d.mts} +4 -1
  215. package/lib/rateLimiter.d.mts.map +1 -0
  216. package/lib/{rateLimiter.js → rateLimiter.mjs} +5 -2
  217. package/lib/rateLimiter.mjs.map +1 -0
  218. package/lib/readAndParse.d.mts +20 -0
  219. package/lib/readAndParse.d.mts.map +1 -0
  220. package/lib/readAndParse.mjs +24 -0
  221. package/lib/readAndParse.mjs.map +1 -0
  222. package/lib/{runWithRetry.d.ts → runWithRetry.d.mts} +27 -8
  223. package/lib/runWithRetry.d.mts.map +1 -0
  224. package/lib/runWithRetry.mjs +103 -0
  225. package/lib/runWithRetry.mjs.map +1 -0
  226. package/lib/{summaryForCreateNew.d.ts → summaryForCreateNew.d.mts} +18 -5
  227. package/lib/summaryForCreateNew.d.mts.map +1 -0
  228. package/lib/{summaryForCreateNew.js → summaryForCreateNew.mjs} +18 -17
  229. package/lib/summaryForCreateNew.mjs.map +1 -0
  230. package/lib/{treeConversions.d.ts → treeConversions.d.mts} +2 -1
  231. package/lib/treeConversions.d.mts.map +1 -0
  232. package/lib/{treeConversions.js → treeConversions.mjs} +12 -14
  233. package/lib/treeConversions.mjs.map +1 -0
  234. package/package.json +86 -64
  235. package/prettier.config.cjs +8 -0
  236. package/src/adapters/compression/compressionTypes.ts +25 -0
  237. package/src/adapters/compression/documentServiceCompressionAdapter.ts +28 -0
  238. package/src/adapters/compression/documentServiceFactoryCompressionAdapter.ts +54 -0
  239. package/src/adapters/compression/index.ts +12 -0
  240. package/src/adapters/compression/summaryblob/documentStorageServiceSummaryBlobCompressionAdapter.ts +451 -0
  241. package/src/adapters/compression/summaryblob/index.ts +9 -0
  242. package/src/adapters/index.ts +13 -0
  243. package/src/adapters/predefinedAdapters.ts +74 -0
  244. package/src/blob.ts +77 -0
  245. package/src/buildSnapshotTree.ts +58 -53
  246. package/src/documentServiceFactoryProxy.ts +47 -0
  247. package/src/documentServiceProxy.ts +46 -0
  248. package/src/documentStorageServiceProxy.ts +52 -37
  249. package/src/error.ts +13 -8
  250. package/src/index.ts +51 -21
  251. package/src/insecureUrlResolver.ts +125 -120
  252. package/src/messageRecognition.ts +24 -53
  253. package/src/network.ts +189 -111
  254. package/src/networkUtils.ts +24 -49
  255. package/src/packageVersion.ts +1 -1
  256. package/src/parallelRequests.ts +630 -519
  257. package/src/prefetchDocumentStorageService.ts +79 -74
  258. package/src/rateLimiter.ts +33 -30
  259. package/src/readAndParse.ts +18 -9
  260. package/src/runWithRetry.ts +145 -85
  261. package/src/summaryForCreateNew.ts +48 -29
  262. package/src/treeConversions.ts +49 -70
  263. package/tsc-multi.test.json +4 -0
  264. package/tsconfig.json +10 -12
  265. package/dist/blobAggregationStorage.d.ts +0 -43
  266. package/dist/blobAggregationStorage.d.ts.map +0 -1
  267. package/dist/blobAggregationStorage.js +0 -318
  268. package/dist/blobAggregationStorage.js.map +0 -1
  269. package/dist/blobCacheStorageService.d.ts +0 -16
  270. package/dist/blobCacheStorageService.d.ts.map +0 -1
  271. package/dist/blobCacheStorageService.js +0 -29
  272. package/dist/blobCacheStorageService.js.map +0 -1
  273. package/dist/buildSnapshotTree.js.map +0 -1
  274. package/dist/documentStorageServiceProxy.js.map +0 -1
  275. package/dist/emptyDocumentDeltaStorageService.d.ts +0 -13
  276. package/dist/emptyDocumentDeltaStorageService.d.ts.map +0 -1
  277. package/dist/emptyDocumentDeltaStorageService.js +0 -20
  278. package/dist/emptyDocumentDeltaStorageService.js.map +0 -1
  279. package/dist/error.js.map +0 -1
  280. package/dist/fluidResolvedUrl.d.ts +0 -8
  281. package/dist/fluidResolvedUrl.d.ts.map +0 -1
  282. package/dist/fluidResolvedUrl.js +0 -16
  283. package/dist/fluidResolvedUrl.js.map +0 -1
  284. package/dist/index.js +0 -38
  285. package/dist/index.js.map +0 -1
  286. package/dist/insecureUrlResolver.js.map +0 -1
  287. package/dist/messageRecognition.js +0 -73
  288. package/dist/messageRecognition.js.map +0 -1
  289. package/dist/multiDocumentServiceFactory.d.ts +0 -16
  290. package/dist/multiDocumentServiceFactory.d.ts.map +0 -1
  291. package/dist/multiDocumentServiceFactory.js +0 -63
  292. package/dist/multiDocumentServiceFactory.js.map +0 -1
  293. package/dist/multiUrlResolver.d.ts +0 -20
  294. package/dist/multiUrlResolver.d.ts.map +0 -1
  295. package/dist/multiUrlResolver.js +0 -45
  296. package/dist/multiUrlResolver.js.map +0 -1
  297. package/dist/network.js.map +0 -1
  298. package/dist/networkUtils.js +0 -59
  299. package/dist/networkUtils.js.map +0 -1
  300. package/dist/packageVersion.js.map +0 -1
  301. package/dist/parallelRequests.js.map +0 -1
  302. package/dist/prefetchDocumentStorageService.js.map +0 -1
  303. package/dist/rateLimiter.js.map +0 -1
  304. package/dist/readAndParse.js +0 -22
  305. package/dist/readAndParse.js.map +0 -1
  306. package/dist/runWithRetry.js +0 -69
  307. package/dist/runWithRetry.js.map +0 -1
  308. package/dist/summaryForCreateNew.js.map +0 -1
  309. package/dist/treeConversions.js.map +0 -1
  310. package/dist/treeUtils.d.ts +0 -51
  311. package/dist/treeUtils.d.ts.map +0 -1
  312. package/dist/treeUtils.js +0 -85
  313. package/dist/treeUtils.js.map +0 -1
  314. package/lib/blobAggregationStorage.d.ts +0 -43
  315. package/lib/blobAggregationStorage.d.ts.map +0 -1
  316. package/lib/blobAggregationStorage.js +0 -313
  317. package/lib/blobAggregationStorage.js.map +0 -1
  318. package/lib/blobCacheStorageService.d.ts +0 -16
  319. package/lib/blobCacheStorageService.d.ts.map +0 -1
  320. package/lib/blobCacheStorageService.js +0 -25
  321. package/lib/blobCacheStorageService.js.map +0 -1
  322. package/lib/buildSnapshotTree.d.ts.map +0 -1
  323. package/lib/buildSnapshotTree.js.map +0 -1
  324. package/lib/documentStorageServiceProxy.d.ts.map +0 -1
  325. package/lib/documentStorageServiceProxy.js.map +0 -1
  326. package/lib/emptyDocumentDeltaStorageService.d.ts +0 -13
  327. package/lib/emptyDocumentDeltaStorageService.d.ts.map +0 -1
  328. package/lib/emptyDocumentDeltaStorageService.js +0 -16
  329. package/lib/emptyDocumentDeltaStorageService.js.map +0 -1
  330. package/lib/error.d.ts +0 -11
  331. package/lib/error.d.ts.map +0 -1
  332. package/lib/error.js +0 -13
  333. package/lib/error.js.map +0 -1
  334. package/lib/fluidResolvedUrl.d.ts +0 -8
  335. package/lib/fluidResolvedUrl.d.ts.map +0 -1
  336. package/lib/fluidResolvedUrl.js +0 -11
  337. package/lib/fluidResolvedUrl.js.map +0 -1
  338. package/lib/index.d.ts +0 -26
  339. package/lib/index.d.ts.map +0 -1
  340. package/lib/index.js +0 -26
  341. package/lib/index.js.map +0 -1
  342. package/lib/insecureUrlResolver.d.ts.map +0 -1
  343. package/lib/insecureUrlResolver.js.map +0 -1
  344. package/lib/messageRecognition.d.ts +0 -38
  345. package/lib/messageRecognition.d.ts.map +0 -1
  346. package/lib/messageRecognition.js +0 -67
  347. package/lib/messageRecognition.js.map +0 -1
  348. package/lib/multiDocumentServiceFactory.d.ts +0 -16
  349. package/lib/multiDocumentServiceFactory.d.ts.map +0 -1
  350. package/lib/multiDocumentServiceFactory.js +0 -59
  351. package/lib/multiDocumentServiceFactory.js.map +0 -1
  352. package/lib/multiUrlResolver.d.ts +0 -20
  353. package/lib/multiUrlResolver.d.ts.map +0 -1
  354. package/lib/multiUrlResolver.js +0 -40
  355. package/lib/multiUrlResolver.js.map +0 -1
  356. package/lib/network.d.ts.map +0 -1
  357. package/lib/network.js.map +0 -1
  358. package/lib/networkUtils.d.ts +0 -17
  359. package/lib/networkUtils.d.ts.map +0 -1
  360. package/lib/networkUtils.js +0 -54
  361. package/lib/networkUtils.js.map +0 -1
  362. package/lib/packageVersion.d.ts.map +0 -1
  363. package/lib/packageVersion.js.map +0 -1
  364. package/lib/parallelRequests.d.ts.map +0 -1
  365. package/lib/parallelRequests.js.map +0 -1
  366. package/lib/prefetchDocumentStorageService.d.ts.map +0 -1
  367. package/lib/prefetchDocumentStorageService.js.map +0 -1
  368. package/lib/rateLimiter.d.ts.map +0 -1
  369. package/lib/rateLimiter.js.map +0 -1
  370. package/lib/readAndParse.d.ts +0 -14
  371. package/lib/readAndParse.d.ts.map +0 -1
  372. package/lib/readAndParse.js +0 -18
  373. package/lib/readAndParse.js.map +0 -1
  374. package/lib/runWithRetry.d.ts.map +0 -1
  375. package/lib/runWithRetry.js +0 -65
  376. package/lib/runWithRetry.js.map +0 -1
  377. package/lib/summaryForCreateNew.d.ts.map +0 -1
  378. package/lib/summaryForCreateNew.js.map +0 -1
  379. package/lib/treeConversions.d.ts.map +0 -1
  380. package/lib/treeConversions.js.map +0 -1
  381. package/lib/treeUtils.d.ts +0 -51
  382. package/lib/treeUtils.d.ts.map +0 -1
  383. package/lib/treeUtils.js +0 -80
  384. package/lib/treeUtils.js.map +0 -1
  385. package/src/blobAggregationStorage.ts +0 -374
  386. package/src/blobCacheStorageService.ts +0 -32
  387. package/src/emptyDocumentDeltaStorageService.ts +0 -24
  388. package/src/fluidResolvedUrl.ts +0 -15
  389. package/src/multiDocumentServiceFactory.ts +0 -80
  390. package/src/multiUrlResolver.ts +0 -51
  391. package/src/treeUtils.ts +0 -111
  392. package/tsconfig.esnext.json +0 -7
@@ -0,0 +1,178 @@
1
+ import { FetchSource } from '@fluidframework/driver-definitions';
2
+ import { IAttachment } from '@fluidframework/protocol-definitions';
3
+ import { IAuthorizationError } from '@fluidframework/driver-definitions';
4
+ import { IBlob } from '@fluidframework/protocol-definitions';
5
+ import { ICommittedProposal } from '@fluidframework/protocol-definitions';
6
+ import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
7
+ import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
8
+ import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
9
+ import { IDocumentMessage } from '@fluidframework/protocol-definitions';
10
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
11
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions';
12
+ import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
13
+ import { IDriverErrorBase } from '@fluidframework/driver-definitions';
14
+ import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
15
+ import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
16
+ import { IRequest } from '@fluidframework/core-interfaces';
17
+ import { IResolvedUrl } from '@fluidframework/driver-definitions';
18
+ import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
19
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
20
+ import { IStream } from '@fluidframework/driver-definitions';
21
+ import { IStreamResult } from '@fluidframework/driver-definitions';
22
+ import { ISummaryContext } from '@fluidframework/driver-definitions';
23
+ import { ISummaryHandle } from '@fluidframework/protocol-definitions';
24
+ import { ISummaryTree } from '@fluidframework/protocol-definitions';
25
+ import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
26
+ import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
27
+ import { ITelemetryProperties } from '@fluidframework/core-interfaces';
28
+ import { IThrottlingWarning } from '@fluidframework/driver-definitions';
29
+ import { ITree } from '@fluidframework/protocol-definitions';
30
+ import { ITreeEntry } from '@fluidframework/protocol-definitions';
31
+ import { IUrlResolver } from '@fluidframework/driver-definitions';
32
+ import { IVersion } from '@fluidframework/protocol-definitions';
33
+ import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
34
+ import { LoggingError } from '@fluidframework/telemetry-utils';
35
+
36
+ /* Excluded from this release type: applyStorageCompression */
37
+
38
+ /* Excluded from this release type: AttachmentTreeEntry */
39
+
40
+ /* Excluded from this release type: AuthorizationError */
41
+
42
+ /* Excluded from this release type: blobHeadersBlobName */
43
+
44
+ /* Excluded from this release type: BlobTreeEntry */
45
+
46
+ /* Excluded from this release type: buildSnapshotTree */
47
+
48
+ /* Excluded from this release type: calculateMaxWaitTime */
49
+
50
+ /* Excluded from this release type: canBeCoalescedByService */
51
+
52
+ /* Excluded from this release type: canRetryOnError */
53
+
54
+ /* Excluded from this release type: CombinedAppAndProtocolSummary */
55
+
56
+ /* Excluded from this release type: convertSummaryTreeToSnapshotITree */
57
+
58
+ /* Excluded from this release type: createGenericNetworkError */
59
+
60
+ /* Excluded from this release type: createWriteError */
61
+
62
+ /* Excluded from this release type: DeltaStreamConnectionForbiddenError */
63
+
64
+ /* Excluded from this release type: DocumentStorageServiceProxy */
65
+
66
+ /* Excluded from this release type: DriverErrorTelemetryProps */
67
+
68
+ /* Excluded from this release type: emptyMessageStream */
69
+
70
+ /* Excluded from this release type: FetchSource */
71
+
72
+ /* Excluded from this release type: FluidInvalidSchemaError */
73
+
74
+ /* Excluded from this release type: GenericNetworkError */
75
+
76
+ /* Excluded from this release type: getDocAttributesFromProtocolSummary */
77
+
78
+ /* Excluded from this release type: getQuorumValuesFromProtocolSummary */
79
+
80
+ /* Excluded from this release type: getRetryDelayFromError */
81
+
82
+ /* Excluded from this release type: getRetryDelaySecondsFromError */
83
+
84
+ /* Excluded from this release type: IAuthorizationError */
85
+
86
+ /**
87
+ * @public
88
+ */
89
+ export declare interface ICompressionStorageConfig {
90
+ algorithm: SummaryCompressionAlgorithm;
91
+ minSizeToCompress: number;
92
+ }
93
+
94
+ /* Excluded from this release type: IDeltasFetchResult */
95
+
96
+ /* Excluded from this release type: IDocumentServiceFactory */
97
+
98
+ /* Excluded from this release type: IDocumentStorageService */
99
+
100
+ /* Excluded from this release type: IDocumentStorageServicePolicies */
101
+
102
+ /* Excluded from this release type: IFluidErrorBase */
103
+
104
+ /* Excluded from this release type: ILocationRedirectionError */
105
+
106
+ /* Excluded from this release type: InsecureUrlResolver */
107
+
108
+ /* Excluded from this release type: IProgress */
109
+
110
+ /* Excluded from this release type: IResolvedUrl */
111
+
112
+ /* Excluded from this release type: isCombinedAppAndProtocolSummary */
113
+
114
+ /* Excluded from this release type: isOnline */
115
+
116
+ /* Excluded from this release type: isRuntimeMessage */
117
+
118
+ /* Excluded from this release type: IStream */
119
+
120
+ /* Excluded from this release type: IStreamResult */
121
+
122
+ /* Excluded from this release type: ISummaryContext */
123
+
124
+ /* Excluded from this release type: IThrottlingWarning */
125
+
126
+ /* Excluded from this release type: IUrlResolver */
127
+
128
+ /* Excluded from this release type: LoaderCachingPolicy */
129
+
130
+ /* Excluded from this release type: LocationRedirectionError */
131
+
132
+ /* Excluded from this release type: LoggingError */
133
+
134
+ /* Excluded from this release type: logNetworkFailure */
135
+
136
+ /* Excluded from this release type: MessageType2 */
137
+
138
+ /* Excluded from this release type: NetworkErrorBasic */
139
+
140
+ /* Excluded from this release type: NonRetryableError */
141
+
142
+ /* Excluded from this release type: OnlineStatus */
143
+
144
+ /* Excluded from this release type: ParallelRequests */
145
+
146
+ /* Excluded from this release type: PrefetchDocumentStorageService */
147
+
148
+ /* Excluded from this release type: Queue */
149
+
150
+ /* Excluded from this release type: RateLimiter */
151
+
152
+ /* Excluded from this release type: readAndParse */
153
+
154
+ /* Excluded from this release type: requestOps */
155
+
156
+ /* Excluded from this release type: RetryableError */
157
+
158
+ /* Excluded from this release type: runWithRetry */
159
+
160
+ /* Excluded from this release type: streamFromMessages */
161
+
162
+ /* Excluded from this release type: streamObserver */
163
+
164
+ /**
165
+ * @public
166
+ */
167
+ export declare enum SummaryCompressionAlgorithm {
168
+ None = 0,
169
+ LZ4 = 1
170
+ }
171
+
172
+ /* Excluded from this release type: ThrottlingError */
173
+
174
+ /* Excluded from this release type: TreeTreeEntry */
175
+
176
+ /* Excluded from this release type: UsageError */
177
+
178
+ export { }
@@ -0,0 +1,178 @@
1
+ import { FetchSource } from '@fluidframework/driver-definitions';
2
+ import { IAttachment } from '@fluidframework/protocol-definitions';
3
+ import { IAuthorizationError } from '@fluidframework/driver-definitions';
4
+ import { IBlob } from '@fluidframework/protocol-definitions';
5
+ import { ICommittedProposal } from '@fluidframework/protocol-definitions';
6
+ import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
7
+ import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
8
+ import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
9
+ import { IDocumentMessage } from '@fluidframework/protocol-definitions';
10
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
11
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions';
12
+ import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
13
+ import { IDriverErrorBase } from '@fluidframework/driver-definitions';
14
+ import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
15
+ import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
16
+ import { IRequest } from '@fluidframework/core-interfaces';
17
+ import { IResolvedUrl } from '@fluidframework/driver-definitions';
18
+ import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
19
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
20
+ import { IStream } from '@fluidframework/driver-definitions';
21
+ import { IStreamResult } from '@fluidframework/driver-definitions';
22
+ import { ISummaryContext } from '@fluidframework/driver-definitions';
23
+ import { ISummaryHandle } from '@fluidframework/protocol-definitions';
24
+ import { ISummaryTree } from '@fluidframework/protocol-definitions';
25
+ import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
26
+ import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
27
+ import { ITelemetryProperties } from '@fluidframework/core-interfaces';
28
+ import { IThrottlingWarning } from '@fluidframework/driver-definitions';
29
+ import { ITree } from '@fluidframework/protocol-definitions';
30
+ import { ITreeEntry } from '@fluidframework/protocol-definitions';
31
+ import { IUrlResolver } from '@fluidframework/driver-definitions';
32
+ import { IVersion } from '@fluidframework/protocol-definitions';
33
+ import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
34
+ import { LoggingError } from '@fluidframework/telemetry-utils';
35
+
36
+ /* Excluded from this release type: applyStorageCompression */
37
+
38
+ /* Excluded from this release type: AttachmentTreeEntry */
39
+
40
+ /* Excluded from this release type: AuthorizationError */
41
+
42
+ /* Excluded from this release type: blobHeadersBlobName */
43
+
44
+ /* Excluded from this release type: BlobTreeEntry */
45
+
46
+ /* Excluded from this release type: buildSnapshotTree */
47
+
48
+ /* Excluded from this release type: calculateMaxWaitTime */
49
+
50
+ /* Excluded from this release type: canBeCoalescedByService */
51
+
52
+ /* Excluded from this release type: canRetryOnError */
53
+
54
+ /* Excluded from this release type: CombinedAppAndProtocolSummary */
55
+
56
+ /* Excluded from this release type: convertSummaryTreeToSnapshotITree */
57
+
58
+ /* Excluded from this release type: createGenericNetworkError */
59
+
60
+ /* Excluded from this release type: createWriteError */
61
+
62
+ /* Excluded from this release type: DeltaStreamConnectionForbiddenError */
63
+
64
+ /* Excluded from this release type: DocumentStorageServiceProxy */
65
+
66
+ /* Excluded from this release type: DriverErrorTelemetryProps */
67
+
68
+ /* Excluded from this release type: emptyMessageStream */
69
+
70
+ /* Excluded from this release type: FetchSource */
71
+
72
+ /* Excluded from this release type: FluidInvalidSchemaError */
73
+
74
+ /* Excluded from this release type: GenericNetworkError */
75
+
76
+ /* Excluded from this release type: getDocAttributesFromProtocolSummary */
77
+
78
+ /* Excluded from this release type: getQuorumValuesFromProtocolSummary */
79
+
80
+ /* Excluded from this release type: getRetryDelayFromError */
81
+
82
+ /* Excluded from this release type: getRetryDelaySecondsFromError */
83
+
84
+ /* Excluded from this release type: IAuthorizationError */
85
+
86
+ /**
87
+ * @public
88
+ */
89
+ export declare interface ICompressionStorageConfig {
90
+ algorithm: SummaryCompressionAlgorithm;
91
+ minSizeToCompress: number;
92
+ }
93
+
94
+ /* Excluded from this release type: IDeltasFetchResult */
95
+
96
+ /* Excluded from this release type: IDocumentServiceFactory */
97
+
98
+ /* Excluded from this release type: IDocumentStorageService */
99
+
100
+ /* Excluded from this release type: IDocumentStorageServicePolicies */
101
+
102
+ /* Excluded from this release type: IFluidErrorBase */
103
+
104
+ /* Excluded from this release type: ILocationRedirectionError */
105
+
106
+ /* Excluded from this release type: InsecureUrlResolver */
107
+
108
+ /* Excluded from this release type: IProgress */
109
+
110
+ /* Excluded from this release type: IResolvedUrl */
111
+
112
+ /* Excluded from this release type: isCombinedAppAndProtocolSummary */
113
+
114
+ /* Excluded from this release type: isOnline */
115
+
116
+ /* Excluded from this release type: isRuntimeMessage */
117
+
118
+ /* Excluded from this release type: IStream */
119
+
120
+ /* Excluded from this release type: IStreamResult */
121
+
122
+ /* Excluded from this release type: ISummaryContext */
123
+
124
+ /* Excluded from this release type: IThrottlingWarning */
125
+
126
+ /* Excluded from this release type: IUrlResolver */
127
+
128
+ /* Excluded from this release type: LoaderCachingPolicy */
129
+
130
+ /* Excluded from this release type: LocationRedirectionError */
131
+
132
+ /* Excluded from this release type: LoggingError */
133
+
134
+ /* Excluded from this release type: logNetworkFailure */
135
+
136
+ /* Excluded from this release type: MessageType2 */
137
+
138
+ /* Excluded from this release type: NetworkErrorBasic */
139
+
140
+ /* Excluded from this release type: NonRetryableError */
141
+
142
+ /* Excluded from this release type: OnlineStatus */
143
+
144
+ /* Excluded from this release type: ParallelRequests */
145
+
146
+ /* Excluded from this release type: PrefetchDocumentStorageService */
147
+
148
+ /* Excluded from this release type: Queue */
149
+
150
+ /* Excluded from this release type: RateLimiter */
151
+
152
+ /* Excluded from this release type: readAndParse */
153
+
154
+ /* Excluded from this release type: requestOps */
155
+
156
+ /* Excluded from this release type: RetryableError */
157
+
158
+ /* Excluded from this release type: runWithRetry */
159
+
160
+ /* Excluded from this release type: streamFromMessages */
161
+
162
+ /* Excluded from this release type: streamObserver */
163
+
164
+ /**
165
+ * @public
166
+ */
167
+ export declare enum SummaryCompressionAlgorithm {
168
+ None = 0,
169
+ LZ4 = 1
170
+ }
171
+
172
+ /* Excluded from this release type: ThrottlingError */
173
+
174
+ /* Excluded from this release type: TreeTreeEntry */
175
+
176
+ /* Excluded from this release type: UsageError */
177
+
178
+ export { }