@azure/storage-blob-changefeed 12.0.0-preview.4 → 12.0.0-preview.5

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 (501) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +87 -47
  3. package/{types/3.1/storage-blob-changefeed/src → dist/browser}/AvroReaderFactory.d.ts +10 -9
  4. package/dist/browser/AvroReaderFactory.d.ts.map +1 -0
  5. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/AvroReaderFactory.js +2 -2
  6. package/dist/browser/AvroReaderFactory.js.map +1 -0
  7. package/{types/3.1/storage-blob-changefeed/src → dist/browser}/BlobChangeFeedClient.d.ts +201 -182
  8. package/dist/browser/BlobChangeFeedClient.d.ts.map +1 -0
  9. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/BlobChangeFeedClient.js +117 -100
  10. package/dist/browser/BlobChangeFeedClient.js.map +1 -0
  11. package/{types/latest/storage-blob-changefeed/src → dist/browser}/ChangeFeed.d.ts +6 -6
  12. package/dist/browser/ChangeFeed.d.ts.map +1 -0
  13. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/ChangeFeed.js +20 -32
  14. package/dist/browser/ChangeFeed.js.map +1 -0
  15. package/{types/3.1/storage-blob-changefeed/src → dist/browser}/ChangeFeedFactory.d.ts +13 -13
  16. package/dist/browser/ChangeFeedFactory.d.ts.map +1 -0
  17. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/ChangeFeedFactory.js +20 -27
  18. package/dist/browser/ChangeFeedFactory.js.map +1 -0
  19. package/{types/latest/storage-blob-changefeed/src → dist/browser}/Chunk.d.ts +4 -5
  20. package/dist/browser/Chunk.d.ts.map +1 -0
  21. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/Chunk.js +13 -8
  22. package/dist/browser/Chunk.js.map +1 -0
  23. package/{types/latest/storage-blob-changefeed/src → dist/browser}/ChunkFactory.d.ts +5 -5
  24. package/dist/browser/ChunkFactory.d.ts.map +1 -0
  25. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/ChunkFactory.js +7 -4
  26. package/dist/browser/ChunkFactory.js.map +1 -0
  27. package/{types/latest/storage-blob-changefeed/src → dist/browser}/LazyLoadingBlobStream.d.ts +4 -4
  28. package/dist/browser/LazyLoadingBlobStream.d.ts.map +1 -0
  29. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/LazyLoadingBlobStream.js +25 -36
  30. package/dist/browser/LazyLoadingBlobStream.js.map +1 -0
  31. package/dist/browser/LazyLoadingBlobStreamFactory.d.ts +7 -0
  32. package/dist/browser/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
  33. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/LazyLoadingBlobStreamFactory.js +2 -2
  34. package/dist/browser/LazyLoadingBlobStreamFactory.js.map +1 -0
  35. package/{types/latest/storage-blob-changefeed/src → dist/browser}/Segment.d.ts +5 -5
  36. package/dist/browser/Segment.d.ts.map +1 -0
  37. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/Segment.js +16 -19
  38. package/dist/browser/Segment.js.map +1 -0
  39. package/{types/3.1/storage-blob-changefeed/src → dist/browser}/SegmentFactory.d.ts +29 -29
  40. package/dist/browser/SegmentFactory.d.ts.map +1 -0
  41. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/SegmentFactory.js +12 -23
  42. package/dist/browser/SegmentFactory.js.map +1 -0
  43. package/{types/3.1/storage-blob-changefeed/src → dist/browser}/Shard.d.ts +28 -28
  44. package/dist/browser/Shard.d.ts.map +1 -0
  45. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/Shard.js +9 -16
  46. package/dist/browser/Shard.js.map +1 -0
  47. package/{types/latest/storage-blob-changefeed/src → dist/browser}/ShardFactory.d.ts +5 -5
  48. package/dist/browser/ShardFactory.d.ts.map +1 -0
  49. package/dist/browser/ShardFactory.js +55 -0
  50. package/dist/browser/ShardFactory.js.map +1 -0
  51. package/dist/browser/index.d.ts +4 -0
  52. package/dist/browser/index.d.ts.map +1 -0
  53. package/dist/browser/index.js +6 -0
  54. package/dist/browser/index.js.map +1 -0
  55. package/dist/browser/log.d.ts.map +1 -0
  56. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/log.js +1 -1
  57. package/dist/browser/log.js.map +1 -0
  58. package/{types/latest/storage-blob-changefeed/src → dist/browser}/models/BlobChangeFeedEvent.d.ts +5 -5
  59. package/dist/browser/models/BlobChangeFeedEvent.d.ts.map +1 -0
  60. package/dist/browser/models/BlobChangeFeedEvent.js +4 -0
  61. package/dist/browser/models/BlobChangeFeedEvent.js.map +1 -0
  62. package/dist/browser/models/ChangeFeedCursor.d.ts.map +1 -0
  63. package/dist/browser/models/ChangeFeedCursor.js +4 -0
  64. package/dist/browser/models/ChangeFeedCursor.js.map +1 -0
  65. package/{types/latest/storage-blob-changefeed/src → dist/browser}/models/models.d.ts +2 -2
  66. package/dist/browser/models/models.d.ts.map +1 -0
  67. package/dist/browser/models/models.js +4 -0
  68. package/dist/browser/models/models.js.map +1 -0
  69. package/dist/browser/package.json +3 -0
  70. package/dist/browser/utils/constants.d.ts.map +1 -0
  71. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/constants.js +2 -2
  72. package/dist/browser/utils/constants.js.map +1 -0
  73. package/dist/browser/utils/tracing.d.ts +6 -0
  74. package/dist/browser/utils/tracing.d.ts.map +1 -0
  75. package/dist/browser/utils/tracing.js +14 -0
  76. package/dist/browser/utils/tracing.js.map +1 -0
  77. package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/utils.browser.d.ts +0 -1
  78. package/dist/browser/utils/utils.browser.d.ts.map +1 -0
  79. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/utils.browser.js +1 -1
  80. package/dist/browser/utils/utils.browser.js.map +1 -0
  81. package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/utils.common.d.ts +3 -10
  82. package/dist/browser/utils/utils.common.d.ts.map +1 -0
  83. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/utils.common.js +26 -91
  84. package/dist/browser/utils/utils.common.js.map +1 -0
  85. package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/utils.node.d.ts +1 -2
  86. package/dist/browser/utils/utils.node.d.ts.map +1 -0
  87. package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/utils.node.js +2 -2
  88. package/dist/browser/utils/utils.node.js.map +1 -0
  89. package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/AvroReaderFactory.d.ts +2 -1
  90. package/dist/commonjs/AvroReaderFactory.d.ts.map +1 -0
  91. package/dist/commonjs/AvroReaderFactory.js +21 -0
  92. package/dist/commonjs/AvroReaderFactory.js.map +1 -0
  93. package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/BlobChangeFeedClient.d.ts +79 -60
  94. package/dist/commonjs/BlobChangeFeedClient.d.ts.map +1 -0
  95. package/dist/commonjs/BlobChangeFeedClient.js +248 -0
  96. package/dist/commonjs/BlobChangeFeedClient.js.map +1 -0
  97. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/ChangeFeed.d.ts +37 -37
  98. package/dist/commonjs/ChangeFeed.d.ts.map +1 -0
  99. package/dist/commonjs/ChangeFeed.js +108 -0
  100. package/dist/commonjs/ChangeFeed.js.map +1 -0
  101. package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/ChangeFeedFactory.d.ts +4 -4
  102. package/dist/commonjs/ChangeFeedFactory.d.ts.map +1 -0
  103. package/dist/commonjs/ChangeFeedFactory.js +126 -0
  104. package/dist/commonjs/ChangeFeedFactory.js.map +1 -0
  105. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/Chunk.d.ts +27 -28
  106. package/dist/commonjs/Chunk.d.ts.map +1 -0
  107. package/dist/commonjs/Chunk.js +49 -0
  108. package/dist/commonjs/Chunk.js.map +1 -0
  109. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/ChunkFactory.d.ts +23 -23
  110. package/dist/commonjs/ChunkFactory.d.ts.map +1 -0
  111. package/dist/commonjs/ChunkFactory.js +37 -0
  112. package/dist/commonjs/ChunkFactory.js.map +1 -0
  113. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/LazyLoadingBlobStream.d.ts +46 -46
  114. package/dist/commonjs/LazyLoadingBlobStream.d.ts.map +1 -0
  115. package/dist/commonjs/LazyLoadingBlobStream.js +96 -0
  116. package/dist/commonjs/LazyLoadingBlobStream.js.map +1 -0
  117. package/dist/commonjs/LazyLoadingBlobStreamFactory.d.ts +7 -0
  118. package/dist/commonjs/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
  119. package/dist/commonjs/LazyLoadingBlobStreamFactory.js +13 -0
  120. package/dist/commonjs/LazyLoadingBlobStreamFactory.js.map +1 -0
  121. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/Segment.d.ts +29 -29
  122. package/dist/commonjs/Segment.d.ts.map +1 -0
  123. package/dist/commonjs/Segment.js +73 -0
  124. package/dist/commonjs/Segment.js.map +1 -0
  125. package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/SegmentFactory.d.ts +5 -5
  126. package/dist/commonjs/SegmentFactory.d.ts.map +1 -0
  127. package/dist/commonjs/SegmentFactory.js +51 -0
  128. package/dist/commonjs/SegmentFactory.js.map +1 -0
  129. package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/Shard.d.ts +6 -6
  130. package/dist/commonjs/Shard.d.ts.map +1 -0
  131. package/dist/commonjs/Shard.js +50 -0
  132. package/dist/commonjs/Shard.js.map +1 -0
  133. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/ShardFactory.d.ts +21 -21
  134. package/dist/commonjs/ShardFactory.d.ts.map +1 -0
  135. package/dist/commonjs/ShardFactory.js +59 -0
  136. package/dist/commonjs/ShardFactory.js.map +1 -0
  137. package/dist/commonjs/index.d.ts +4 -0
  138. package/dist/commonjs/index.d.ts.map +1 -0
  139. package/dist/commonjs/index.js +9 -0
  140. package/dist/commonjs/index.js.map +1 -0
  141. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/log.d.ts +5 -5
  142. package/dist/commonjs/log.d.ts.map +1 -0
  143. package/dist/commonjs/log.js +11 -0
  144. package/dist/commonjs/log.js.map +1 -0
  145. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/models/BlobChangeFeedEvent.d.ts +233 -233
  146. package/dist/commonjs/models/BlobChangeFeedEvent.d.ts.map +1 -0
  147. package/dist/commonjs/models/BlobChangeFeedEvent.js +5 -0
  148. package/dist/commonjs/models/BlobChangeFeedEvent.js.map +1 -0
  149. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/models/ChangeFeedCursor.d.ts +17 -17
  150. package/dist/commonjs/models/ChangeFeedCursor.d.ts.map +1 -0
  151. package/dist/commonjs/models/ChangeFeedCursor.js +5 -0
  152. package/dist/commonjs/models/ChangeFeedCursor.js.map +1 -0
  153. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/models/models.d.ts +23 -23
  154. package/dist/commonjs/models/models.d.ts.map +1 -0
  155. package/dist/commonjs/models/models.js +5 -0
  156. package/dist/commonjs/models/models.js.map +1 -0
  157. package/dist/commonjs/package.json +3 -0
  158. package/{types/latest → dist/commonjs}/tsdoc-metadata.json +11 -11
  159. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/constants.d.ts +9 -9
  160. package/dist/commonjs/utils/constants.d.ts.map +1 -0
  161. package/dist/commonjs/utils/constants.js +14 -0
  162. package/dist/commonjs/utils/constants.js.map +1 -0
  163. package/dist/commonjs/utils/tracing.d.ts +6 -0
  164. package/dist/commonjs/utils/tracing.d.ts.map +1 -0
  165. package/dist/commonjs/utils/tracing.js +17 -0
  166. package/dist/commonjs/utils/tracing.js.map +1 -0
  167. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/utils.browser.d.ts +14 -15
  168. package/dist/commonjs/utils/utils.browser.d.ts.map +1 -0
  169. package/dist/commonjs/utils/utils.browser.js +34 -0
  170. package/dist/commonjs/utils/utils.browser.js.map +1 -0
  171. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/utils.common.d.ts +37 -44
  172. package/dist/commonjs/utils/utils.common.d.ts.map +1 -0
  173. package/dist/commonjs/utils/utils.common.js +180 -0
  174. package/dist/commonjs/utils/utils.common.js.map +1 -0
  175. package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/utils.node.d.ts +14 -15
  176. package/dist/commonjs/utils/utils.node.d.ts.map +1 -0
  177. package/dist/commonjs/utils/utils.node.js +32 -0
  178. package/dist/commonjs/utils/utils.node.js.map +1 -0
  179. package/dist/esm/AvroReaderFactory.d.ts +10 -0
  180. package/dist/esm/AvroReaderFactory.d.ts.map +1 -0
  181. package/dist/esm/AvroReaderFactory.js +17 -0
  182. package/dist/esm/AvroReaderFactory.js.map +1 -0
  183. package/dist/esm/BlobChangeFeedClient.d.ts +201 -0
  184. package/dist/esm/BlobChangeFeedClient.d.ts.map +1 -0
  185. package/dist/esm/BlobChangeFeedClient.js +242 -0
  186. package/dist/esm/BlobChangeFeedClient.js.map +1 -0
  187. package/dist/esm/ChangeFeed.d.ts +37 -0
  188. package/dist/esm/ChangeFeed.d.ts.map +1 -0
  189. package/dist/esm/ChangeFeed.js +104 -0
  190. package/dist/esm/ChangeFeed.js.map +1 -0
  191. package/dist/esm/ChangeFeedFactory.d.ts +13 -0
  192. package/dist/esm/ChangeFeedFactory.d.ts.map +1 -0
  193. package/dist/esm/ChangeFeedFactory.js +122 -0
  194. package/dist/esm/ChangeFeedFactory.js.map +1 -0
  195. package/dist/esm/Chunk.d.ts +27 -0
  196. package/dist/esm/Chunk.d.ts.map +1 -0
  197. package/dist/esm/Chunk.js +45 -0
  198. package/dist/esm/Chunk.js.map +1 -0
  199. package/dist/esm/ChunkFactory.d.ts +23 -0
  200. package/dist/esm/ChunkFactory.d.ts.map +1 -0
  201. package/dist/esm/ChunkFactory.js +33 -0
  202. package/dist/esm/ChunkFactory.js.map +1 -0
  203. package/dist/esm/LazyLoadingBlobStream.d.ts +46 -0
  204. package/dist/esm/LazyLoadingBlobStream.d.ts.map +1 -0
  205. package/dist/esm/LazyLoadingBlobStream.js +92 -0
  206. package/dist/esm/LazyLoadingBlobStream.js.map +1 -0
  207. package/dist/esm/LazyLoadingBlobStreamFactory.d.ts +7 -0
  208. package/dist/esm/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
  209. package/dist/esm/LazyLoadingBlobStreamFactory.js +9 -0
  210. package/dist/esm/LazyLoadingBlobStreamFactory.js.map +1 -0
  211. package/dist/esm/Segment.d.ts +29 -0
  212. package/dist/esm/Segment.d.ts.map +1 -0
  213. package/dist/esm/Segment.js +69 -0
  214. package/dist/esm/Segment.js.map +1 -0
  215. package/dist/esm/SegmentFactory.d.ts +29 -0
  216. package/dist/esm/SegmentFactory.d.ts.map +1 -0
  217. package/dist/esm/SegmentFactory.js +47 -0
  218. package/dist/esm/SegmentFactory.js.map +1 -0
  219. package/dist/esm/Shard.d.ts +28 -0
  220. package/dist/esm/Shard.d.ts.map +1 -0
  221. package/dist/esm/Shard.js +46 -0
  222. package/dist/esm/Shard.js.map +1 -0
  223. package/dist/esm/ShardFactory.d.ts +21 -0
  224. package/dist/esm/ShardFactory.d.ts.map +1 -0
  225. package/dist/esm/ShardFactory.js +55 -0
  226. package/dist/esm/ShardFactory.js.map +1 -0
  227. package/dist/esm/index.d.ts +4 -0
  228. package/dist/esm/index.d.ts.map +1 -0
  229. package/dist/esm/index.js +6 -0
  230. package/dist/esm/index.js.map +1 -0
  231. package/dist/esm/log.d.ts +5 -0
  232. package/dist/esm/log.d.ts.map +1 -0
  233. package/dist/esm/log.js +8 -0
  234. package/dist/esm/log.js.map +1 -0
  235. package/dist/esm/models/BlobChangeFeedEvent.d.ts +233 -0
  236. package/dist/esm/models/BlobChangeFeedEvent.d.ts.map +1 -0
  237. package/dist/esm/models/BlobChangeFeedEvent.js +4 -0
  238. package/dist/esm/models/BlobChangeFeedEvent.js.map +1 -0
  239. package/dist/esm/models/ChangeFeedCursor.d.ts +17 -0
  240. package/dist/esm/models/ChangeFeedCursor.d.ts.map +1 -0
  241. package/dist/esm/models/ChangeFeedCursor.js +4 -0
  242. package/dist/esm/models/ChangeFeedCursor.js.map +1 -0
  243. package/dist/esm/models/models.d.ts +23 -0
  244. package/dist/esm/models/models.d.ts.map +1 -0
  245. package/dist/esm/models/models.js +4 -0
  246. package/dist/esm/models/models.js.map +1 -0
  247. package/dist/esm/package.json +3 -0
  248. package/dist/esm/utils/constants.d.ts +9 -0
  249. package/dist/esm/utils/constants.d.ts.map +1 -0
  250. package/dist/esm/utils/constants.js +11 -0
  251. package/dist/esm/utils/constants.js.map +1 -0
  252. package/dist/esm/utils/tracing.d.ts +6 -0
  253. package/dist/esm/utils/tracing.d.ts.map +1 -0
  254. package/dist/esm/utils/tracing.js +14 -0
  255. package/dist/esm/utils/tracing.js.map +1 -0
  256. package/dist/esm/utils/utils.browser.d.ts +14 -0
  257. package/dist/esm/utils/utils.browser.d.ts.map +1 -0
  258. package/dist/esm/utils/utils.browser.js +29 -0
  259. package/dist/esm/utils/utils.browser.js.map +1 -0
  260. package/dist/esm/utils/utils.common.d.ts +37 -0
  261. package/dist/esm/utils/utils.common.d.ts.map +1 -0
  262. package/dist/esm/utils/utils.common.js +170 -0
  263. package/dist/esm/utils/utils.common.js.map +1 -0
  264. package/dist/esm/utils/utils.node.d.ts +14 -0
  265. package/dist/esm/utils/utils.node.d.ts.map +1 -0
  266. package/dist/esm/utils/utils.node.js +28 -0
  267. package/dist/esm/utils/utils.node.js.map +1 -0
  268. package/dist/react-native/AvroReaderFactory.d.ts +10 -0
  269. package/dist/react-native/AvroReaderFactory.d.ts.map +1 -0
  270. package/dist/react-native/AvroReaderFactory.js +17 -0
  271. package/dist/react-native/AvroReaderFactory.js.map +1 -0
  272. package/dist/react-native/BlobChangeFeedClient.d.ts +201 -0
  273. package/dist/react-native/BlobChangeFeedClient.d.ts.map +1 -0
  274. package/dist/react-native/BlobChangeFeedClient.js +242 -0
  275. package/dist/react-native/BlobChangeFeedClient.js.map +1 -0
  276. package/dist/react-native/ChangeFeed.d.ts +37 -0
  277. package/dist/react-native/ChangeFeed.d.ts.map +1 -0
  278. package/dist/react-native/ChangeFeed.js +104 -0
  279. package/dist/react-native/ChangeFeed.js.map +1 -0
  280. package/dist/react-native/ChangeFeedFactory.d.ts +13 -0
  281. package/dist/react-native/ChangeFeedFactory.d.ts.map +1 -0
  282. package/dist/react-native/ChangeFeedFactory.js +122 -0
  283. package/dist/react-native/ChangeFeedFactory.js.map +1 -0
  284. package/dist/react-native/Chunk.d.ts +27 -0
  285. package/dist/react-native/Chunk.d.ts.map +1 -0
  286. package/dist/react-native/Chunk.js +45 -0
  287. package/dist/react-native/Chunk.js.map +1 -0
  288. package/dist/react-native/ChunkFactory.d.ts +23 -0
  289. package/dist/react-native/ChunkFactory.d.ts.map +1 -0
  290. package/dist/react-native/ChunkFactory.js +33 -0
  291. package/dist/react-native/ChunkFactory.js.map +1 -0
  292. package/dist/react-native/LazyLoadingBlobStream.d.ts +46 -0
  293. package/dist/react-native/LazyLoadingBlobStream.d.ts.map +1 -0
  294. package/dist/react-native/LazyLoadingBlobStream.js +92 -0
  295. package/dist/react-native/LazyLoadingBlobStream.js.map +1 -0
  296. package/dist/react-native/LazyLoadingBlobStreamFactory.d.ts +7 -0
  297. package/dist/react-native/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
  298. package/dist/react-native/LazyLoadingBlobStreamFactory.js +9 -0
  299. package/dist/react-native/LazyLoadingBlobStreamFactory.js.map +1 -0
  300. package/dist/react-native/Segment.d.ts +29 -0
  301. package/dist/react-native/Segment.d.ts.map +1 -0
  302. package/dist/react-native/Segment.js +69 -0
  303. package/dist/react-native/Segment.js.map +1 -0
  304. package/dist/react-native/SegmentFactory.d.ts +29 -0
  305. package/dist/react-native/SegmentFactory.d.ts.map +1 -0
  306. package/dist/react-native/SegmentFactory.js +47 -0
  307. package/dist/react-native/SegmentFactory.js.map +1 -0
  308. package/dist/react-native/Shard.d.ts +28 -0
  309. package/dist/react-native/Shard.d.ts.map +1 -0
  310. package/dist/react-native/Shard.js +46 -0
  311. package/dist/react-native/Shard.js.map +1 -0
  312. package/dist/react-native/ShardFactory.d.ts +21 -0
  313. package/dist/react-native/ShardFactory.d.ts.map +1 -0
  314. package/dist/react-native/ShardFactory.js +55 -0
  315. package/dist/react-native/ShardFactory.js.map +1 -0
  316. package/dist/react-native/index.d.ts +4 -0
  317. package/dist/react-native/index.d.ts.map +1 -0
  318. package/dist/react-native/index.js +6 -0
  319. package/dist/react-native/index.js.map +1 -0
  320. package/dist/react-native/log.d.ts +5 -0
  321. package/dist/react-native/log.d.ts.map +1 -0
  322. package/dist/react-native/log.js +8 -0
  323. package/dist/react-native/log.js.map +1 -0
  324. package/dist/react-native/models/BlobChangeFeedEvent.d.ts +233 -0
  325. package/dist/react-native/models/BlobChangeFeedEvent.d.ts.map +1 -0
  326. package/dist/react-native/models/BlobChangeFeedEvent.js +4 -0
  327. package/dist/react-native/models/BlobChangeFeedEvent.js.map +1 -0
  328. package/dist/react-native/models/ChangeFeedCursor.d.ts +17 -0
  329. package/dist/react-native/models/ChangeFeedCursor.d.ts.map +1 -0
  330. package/dist/react-native/models/ChangeFeedCursor.js +4 -0
  331. package/dist/react-native/models/ChangeFeedCursor.js.map +1 -0
  332. package/dist/react-native/models/models.d.ts +23 -0
  333. package/dist/react-native/models/models.d.ts.map +1 -0
  334. package/dist/react-native/models/models.js +4 -0
  335. package/dist/react-native/models/models.js.map +1 -0
  336. package/dist/react-native/package.json +3 -0
  337. package/dist/react-native/utils/constants.d.ts +9 -0
  338. package/dist/react-native/utils/constants.d.ts.map +1 -0
  339. package/dist/react-native/utils/constants.js +11 -0
  340. package/dist/react-native/utils/constants.js.map +1 -0
  341. package/dist/react-native/utils/tracing.d.ts +6 -0
  342. package/dist/react-native/utils/tracing.d.ts.map +1 -0
  343. package/dist/react-native/utils/tracing.js +14 -0
  344. package/dist/react-native/utils/tracing.js.map +1 -0
  345. package/dist/react-native/utils/utils.browser.d.ts +14 -0
  346. package/dist/react-native/utils/utils.browser.d.ts.map +1 -0
  347. package/dist/react-native/utils/utils.browser.js +29 -0
  348. package/dist/react-native/utils/utils.browser.js.map +1 -0
  349. package/dist/react-native/utils/utils.common.d.ts +37 -0
  350. package/dist/react-native/utils/utils.common.d.ts.map +1 -0
  351. package/dist/react-native/utils/utils.common.js +170 -0
  352. package/dist/react-native/utils/utils.common.js.map +1 -0
  353. package/dist/react-native/utils/utils.node.d.ts +14 -0
  354. package/dist/react-native/utils/utils.node.d.ts.map +1 -0
  355. package/dist/react-native/utils/utils.node.js +28 -0
  356. package/dist/react-native/utils/utils.node.js.map +1 -0
  357. package/package.json +89 -104
  358. package/dist/index.js +0 -1670
  359. package/dist/index.js.map +0 -1
  360. package/dist-esm/storage-blob-changefeed/src/AvroReaderFactory.js.map +0 -1
  361. package/dist-esm/storage-blob-changefeed/src/BlobChangeFeedClient.js.map +0 -1
  362. package/dist-esm/storage-blob-changefeed/src/ChangeFeed.js.map +0 -1
  363. package/dist-esm/storage-blob-changefeed/src/ChangeFeedFactory.js.map +0 -1
  364. package/dist-esm/storage-blob-changefeed/src/Chunk.js.map +0 -1
  365. package/dist-esm/storage-blob-changefeed/src/ChunkFactory.js.map +0 -1
  366. package/dist-esm/storage-blob-changefeed/src/LazyLoadingBlobStream.js.map +0 -1
  367. package/dist-esm/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.js.map +0 -1
  368. package/dist-esm/storage-blob-changefeed/src/Segment.js.map +0 -1
  369. package/dist-esm/storage-blob-changefeed/src/SegmentFactory.js.map +0 -1
  370. package/dist-esm/storage-blob-changefeed/src/Shard.js.map +0 -1
  371. package/dist-esm/storage-blob-changefeed/src/ShardFactory.js +0 -78
  372. package/dist-esm/storage-blob-changefeed/src/ShardFactory.js.map +0 -1
  373. package/dist-esm/storage-blob-changefeed/src/index.js +0 -6
  374. package/dist-esm/storage-blob-changefeed/src/index.js.map +0 -1
  375. package/dist-esm/storage-blob-changefeed/src/log.js.map +0 -1
  376. package/dist-esm/storage-blob-changefeed/src/models/BlobChangeFeedEvent.js +0 -4
  377. package/dist-esm/storage-blob-changefeed/src/models/BlobChangeFeedEvent.js.map +0 -1
  378. package/dist-esm/storage-blob-changefeed/src/models/ChangeFeedCursor.js +0 -4
  379. package/dist-esm/storage-blob-changefeed/src/models/ChangeFeedCursor.js.map +0 -1
  380. package/dist-esm/storage-blob-changefeed/src/models/models.js +0 -4
  381. package/dist-esm/storage-blob-changefeed/src/models/models.js.map +0 -1
  382. package/dist-esm/storage-blob-changefeed/src/utils/constants.js.map +0 -1
  383. package/dist-esm/storage-blob-changefeed/src/utils/tracing.js +0 -12
  384. package/dist-esm/storage-blob-changefeed/src/utils/tracing.js.map +0 -1
  385. package/dist-esm/storage-blob-changefeed/src/utils/utils.browser.js.map +0 -1
  386. package/dist-esm/storage-blob-changefeed/src/utils/utils.common.js.map +0 -1
  387. package/dist-esm/storage-blob-changefeed/src/utils/utils.node.js.map +0 -1
  388. package/dist-esm/storage-internal-avro/src/AvroConstants.js +0 -7
  389. package/dist-esm/storage-internal-avro/src/AvroConstants.js.map +0 -1
  390. package/dist-esm/storage-internal-avro/src/AvroParser.js +0 -311
  391. package/dist-esm/storage-internal-avro/src/AvroParser.js.map +0 -1
  392. package/dist-esm/storage-internal-avro/src/AvroReadable.js +0 -5
  393. package/dist-esm/storage-internal-avro/src/AvroReadable.js.map +0 -1
  394. package/dist-esm/storage-internal-avro/src/AvroReadableFromBlob.js +0 -47
  395. package/dist-esm/storage-internal-avro/src/AvroReadableFromBlob.js.map +0 -1
  396. package/dist-esm/storage-internal-avro/src/AvroReadableFromStream.js +0 -84
  397. package/dist-esm/storage-internal-avro/src/AvroReadableFromStream.js.map +0 -1
  398. package/dist-esm/storage-internal-avro/src/AvroReader.js +0 -107
  399. package/dist-esm/storage-internal-avro/src/AvroReader.js.map +0 -1
  400. package/dist-esm/storage-internal-avro/src/index.browser.js +0 -6
  401. package/dist-esm/storage-internal-avro/src/index.browser.js.map +0 -1
  402. package/dist-esm/storage-internal-avro/src/index.js +0 -6
  403. package/dist-esm/storage-internal-avro/src/index.js.map +0 -1
  404. package/dist-esm/storage-internal-avro/src/utils/utils.common.js +0 -17
  405. package/dist-esm/storage-internal-avro/src/utils/utils.common.js.map +0 -1
  406. package/types/3.1/storage-blob-changefeed/samples-dev/blobChangeFeedClient.d.ts +0 -2
  407. package/types/3.1/storage-blob-changefeed/samples-dev/resumeListChanges.d.ts +0 -2
  408. package/types/3.1/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.d.ts +0 -6
  409. package/types/3.1/storage-blob-changefeed/src/index.d.ts +0 -4
  410. package/types/3.1/storage-blob-changefeed/src/utils/tracing.d.ts +0 -11
  411. package/types/3.1/storage-blob-changefeed/test/blobchangefeedclient.spec.d.ts +0 -2
  412. package/types/3.1/storage-blob-changefeed/test/changefeed.spec.d.ts +0 -2
  413. package/types/3.1/storage-blob-changefeed/test/chunk.spec.d.ts +0 -2
  414. package/types/3.1/storage-blob-changefeed/test/segment.spec.d.ts +0 -2
  415. package/types/3.1/storage-blob-changefeed/test/shard.spec.d.ts +0 -2
  416. package/types/3.1/storage-blob-changefeed/test/utils/index.d.ts +0 -13
  417. package/types/3.1/storage-blob-changefeed/test/utils/testutils.common.d.ts +0 -64
  418. package/types/3.1/storage-blob-changefeed.d.ts +0 -437
  419. package/types/3.1/storage-internal-avro/src/AvroConstants.d.ts +0 -5
  420. package/types/3.1/storage-internal-avro/src/AvroParser.d.ts +0 -57
  421. package/types/3.1/storage-internal-avro/src/AvroReadable.d.ts +0 -16
  422. package/types/3.1/storage-internal-avro/src/AvroReadableFromBlob.d.ts +0 -9
  423. package/types/3.1/storage-internal-avro/src/AvroReadableFromStream.d.ts +0 -11
  424. package/types/3.1/storage-internal-avro/src/AvroReader.d.ts +0 -33
  425. package/types/3.1/storage-internal-avro/src/index.browser.d.ts +0 -4
  426. package/types/3.1/storage-internal-avro/src/index.d.ts +0 -4
  427. package/types/3.1/storage-internal-avro/src/utils/utils.common.d.ts +0 -6
  428. package/types/3.1/storage-internal-avro/test/browser/avroreadable.spec.d.ts +0 -2
  429. package/types/3.1/storage-internal-avro/test/node/avroreadable.spec.d.ts +0 -2
  430. package/types/3.1/storage-internal-avro/test/node/avroreader.spec.d.ts +0 -2
  431. package/types/latest/storage-blob-changefeed/samples-dev/blobChangeFeedClient.d.ts +0 -2
  432. package/types/latest/storage-blob-changefeed/samples-dev/blobChangeFeedClient.d.ts.map +0 -1
  433. package/types/latest/storage-blob-changefeed/samples-dev/resumeListChanges.d.ts +0 -2
  434. package/types/latest/storage-blob-changefeed/samples-dev/resumeListChanges.d.ts.map +0 -1
  435. package/types/latest/storage-blob-changefeed/src/AvroReaderFactory.d.ts.map +0 -1
  436. package/types/latest/storage-blob-changefeed/src/BlobChangeFeedClient.d.ts.map +0 -1
  437. package/types/latest/storage-blob-changefeed/src/ChangeFeed.d.ts.map +0 -1
  438. package/types/latest/storage-blob-changefeed/src/ChangeFeedFactory.d.ts.map +0 -1
  439. package/types/latest/storage-blob-changefeed/src/Chunk.d.ts.map +0 -1
  440. package/types/latest/storage-blob-changefeed/src/ChunkFactory.d.ts.map +0 -1
  441. package/types/latest/storage-blob-changefeed/src/LazyLoadingBlobStream.d.ts.map +0 -1
  442. package/types/latest/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.d.ts +0 -6
  443. package/types/latest/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.d.ts.map +0 -1
  444. package/types/latest/storage-blob-changefeed/src/Segment.d.ts.map +0 -1
  445. package/types/latest/storage-blob-changefeed/src/SegmentFactory.d.ts.map +0 -1
  446. package/types/latest/storage-blob-changefeed/src/Shard.d.ts.map +0 -1
  447. package/types/latest/storage-blob-changefeed/src/ShardFactory.d.ts.map +0 -1
  448. package/types/latest/storage-blob-changefeed/src/index.d.ts +0 -4
  449. package/types/latest/storage-blob-changefeed/src/index.d.ts.map +0 -1
  450. package/types/latest/storage-blob-changefeed/src/log.d.ts.map +0 -1
  451. package/types/latest/storage-blob-changefeed/src/models/BlobChangeFeedEvent.d.ts.map +0 -1
  452. package/types/latest/storage-blob-changefeed/src/models/ChangeFeedCursor.d.ts.map +0 -1
  453. package/types/latest/storage-blob-changefeed/src/models/models.d.ts.map +0 -1
  454. package/types/latest/storage-blob-changefeed/src/utils/constants.d.ts.map +0 -1
  455. package/types/latest/storage-blob-changefeed/src/utils/tracing.d.ts +0 -11
  456. package/types/latest/storage-blob-changefeed/src/utils/tracing.d.ts.map +0 -1
  457. package/types/latest/storage-blob-changefeed/src/utils/utils.browser.d.ts.map +0 -1
  458. package/types/latest/storage-blob-changefeed/src/utils/utils.common.d.ts.map +0 -1
  459. package/types/latest/storage-blob-changefeed/src/utils/utils.node.d.ts.map +0 -1
  460. package/types/latest/storage-blob-changefeed/test/blobchangefeedclient.spec.d.ts +0 -2
  461. package/types/latest/storage-blob-changefeed/test/blobchangefeedclient.spec.d.ts.map +0 -1
  462. package/types/latest/storage-blob-changefeed/test/changefeed.spec.d.ts +0 -2
  463. package/types/latest/storage-blob-changefeed/test/changefeed.spec.d.ts.map +0 -1
  464. package/types/latest/storage-blob-changefeed/test/chunk.spec.d.ts +0 -2
  465. package/types/latest/storage-blob-changefeed/test/chunk.spec.d.ts.map +0 -1
  466. package/types/latest/storage-blob-changefeed/test/segment.spec.d.ts +0 -2
  467. package/types/latest/storage-blob-changefeed/test/segment.spec.d.ts.map +0 -1
  468. package/types/latest/storage-blob-changefeed/test/shard.spec.d.ts +0 -2
  469. package/types/latest/storage-blob-changefeed/test/shard.spec.d.ts.map +0 -1
  470. package/types/latest/storage-blob-changefeed/test/utils/index.d.ts +0 -13
  471. package/types/latest/storage-blob-changefeed/test/utils/index.d.ts.map +0 -1
  472. package/types/latest/storage-blob-changefeed/test/utils/testutils.common.d.ts +0 -64
  473. package/types/latest/storage-blob-changefeed/test/utils/testutils.common.d.ts.map +0 -1
  474. package/types/latest/storage-blob-changefeed.d.ts +0 -453
  475. package/types/latest/storage-internal-avro/src/AvroConstants.d.ts +0 -5
  476. package/types/latest/storage-internal-avro/src/AvroConstants.d.ts.map +0 -1
  477. package/types/latest/storage-internal-avro/src/AvroParser.d.ts +0 -57
  478. package/types/latest/storage-internal-avro/src/AvroParser.d.ts.map +0 -1
  479. package/types/latest/storage-internal-avro/src/AvroReadable.d.ts +0 -16
  480. package/types/latest/storage-internal-avro/src/AvroReadable.d.ts.map +0 -1
  481. package/types/latest/storage-internal-avro/src/AvroReadableFromBlob.d.ts +0 -9
  482. package/types/latest/storage-internal-avro/src/AvroReadableFromBlob.d.ts.map +0 -1
  483. package/types/latest/storage-internal-avro/src/AvroReadableFromStream.d.ts +0 -11
  484. package/types/latest/storage-internal-avro/src/AvroReadableFromStream.d.ts.map +0 -1
  485. package/types/latest/storage-internal-avro/src/AvroReader.d.ts +0 -33
  486. package/types/latest/storage-internal-avro/src/AvroReader.d.ts.map +0 -1
  487. package/types/latest/storage-internal-avro/src/index.browser.d.ts +0 -4
  488. package/types/latest/storage-internal-avro/src/index.browser.d.ts.map +0 -1
  489. package/types/latest/storage-internal-avro/src/index.d.ts +0 -4
  490. package/types/latest/storage-internal-avro/src/index.d.ts.map +0 -1
  491. package/types/latest/storage-internal-avro/src/utils/utils.common.d.ts +0 -6
  492. package/types/latest/storage-internal-avro/src/utils/utils.common.d.ts.map +0 -1
  493. package/types/latest/storage-internal-avro/test/browser/avroreadable.spec.d.ts +0 -2
  494. package/types/latest/storage-internal-avro/test/browser/avroreadable.spec.d.ts.map +0 -1
  495. package/types/latest/storage-internal-avro/test/node/avroreadable.spec.d.ts +0 -2
  496. package/types/latest/storage-internal-avro/test/node/avroreadable.spec.d.ts.map +0 -1
  497. package/types/latest/storage-internal-avro/test/node/avroreader.spec.d.ts +0 -2
  498. package/types/latest/storage-internal-avro/test/node/avroreader.spec.d.ts.map +0 -1
  499. /package/{types/latest/storage-blob-changefeed/src → dist/browser}/log.d.ts +0 -0
  500. /package/{types/latest/storage-blob-changefeed/src → dist/browser}/models/ChangeFeedCursor.d.ts +0 -0
  501. /package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/constants.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/log.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM,qCAAgD,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.logger = void 0;
6
+ const logger_1 = require("@azure/logger");
7
+ /**
8
+ * The `@azure/logger` configuration for this package.
9
+ */
10
+ exports.logger = (0, logger_1.createClientLogger)("storage-blob-changefeed");
11
+ //# sourceMappingURL=log.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.js","sourceRoot":"","sources":["../../src/log.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,0CAAmD;AAEnD;;GAEG;AACU,QAAA,MAAM,GAAG,IAAA,2BAAkB,EAAC,yBAAyB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The `@azure/logger` configuration for this package.\n */\nexport const logger = createClientLogger(\"storage-blob-changefeed\");\n"]}
@@ -1,233 +1,233 @@
1
- /**
2
- * Change feed event record types.
3
- */
4
- export declare type BlobChangeFeedEventType = "UnspecifiedEventType" | "BlobCreated" | "BlobDeleted" | "BlobPropertiesUpdated" | "BlobSnapshotCreated" | "Control" | "BlobTierChanged" | "BlobAsyncOperationInitiated" | "BlobMetadataUpdated" | "RestorePointMarkerCreated";
5
- /**
6
- * Change feed event record. Contains response data for the {@link BlobChangeFeedClient.listChanges} operation.
7
- * @see https://docs.microsoft.com/en-us/azure/event-grid/event-schema-blob-storage?toc=/azure/storage/blobs/toc.json#event-properties
8
- */
9
- export interface BlobChangeFeedEvent {
10
- /**
11
- * Full resource path to the event source. This field is not writeable. Event Grid provides this value.
12
- */
13
- topic: string;
14
- /**
15
- * Publisher-defined path to the event subject.
16
- */
17
- subject: string;
18
- /**
19
- * One of the registered event types for this event source.
20
- */
21
- eventType: BlobChangeFeedEventType;
22
- /**
23
- * The time the event is generated based on the provider's UTC time.
24
- */
25
- eventTime: Date;
26
- /**
27
- * Unique identifier for the event.
28
- */
29
- id: string;
30
- /**
31
- * Blob storage event data.
32
- */
33
- data: BlobChangeFeedEventData;
34
- /**
35
- * The schema version of the data object. The publisher defines the schema version.
36
- */
37
- dataVersion?: string;
38
- /**
39
- * The schema version of the data object. The publisher defines the schema version.
40
- */
41
- schemaVersion?: number;
42
- /**
43
- * The schema version of the event metadata. Event Grid defines the schema of the top-level properties. Event Grid provides this value.
44
- */
45
- metadataVersion: string;
46
- }
47
- /**
48
- * The type of blob.
49
- */
50
- export declare type BlobType = "BlockBlob" | "AppendBlob" | "PageBlob";
51
- /**
52
- * The AccessTier.
53
- */
54
- export declare type AccessTier = "P4" | "P6" | "P10" | "P15" | "P20" | "P30" | "P40" | "P50" | "P60" | "P70" | "P80" | "Hot" | "Cool" | "Archive";
55
- /**
56
- * A blob property that was updated.
57
- */
58
- export interface BlobPropertyChange {
59
- /**
60
- * The name of the property that was updated.
61
- */
62
- propertyName: string;
63
- /**
64
- * The previous value of the property.
65
- */
66
- oldValue: string;
67
- /**
68
- * The new value of the property.
69
- */
70
- newValue: string;
71
- }
72
- /**
73
- * Blob properties that were updated during an event.
74
- */
75
- export declare type UpdatedBlobProperties = Record<string, BlobPropertyChange>;
76
- /**
77
- * Previous info for Change Feed Event.
78
- */
79
- export interface ChangeFeedEventPreviousInfo {
80
- /**
81
- * Soft delete snapshot.
82
- */
83
- softDeleteSnapshot?: string;
84
- /**
85
- * If the blob was soft deleted.
86
- */
87
- isBlobSoftDeleted: boolean;
88
- /**
89
- * Blob version.
90
- */
91
- newBlobVersion?: string;
92
- /**
93
- * Last version.
94
- */
95
- oldBlobVersion?: string;
96
- /**
97
- * Previous Access Tier
98
- */
99
- previousTier?: AccessTier;
100
- }
101
- /**
102
- * ChangeFeedEvent AsyncOperationInfo
103
- */
104
- export interface BlobOperationResult {
105
- /**
106
- * Destination access tier.
107
- */
108
- destinationAccessTier?: AccessTier;
109
- /**
110
- * If the operation was async.
111
- */
112
- isAsync: boolean;
113
- /**
114
- * Copy Id.
115
- */
116
- copyId?: string;
117
- }
118
- /**
119
- * Blob tags that were updated as part of the change feed event.
120
- */
121
- export interface BlobTagsChange {
122
- /**
123
- * Previous Tags.
124
- */
125
- oldTags: Record<string, string>;
126
- /**
127
- * New Tags.
128
- */
129
- newTags: Record<string, string>;
130
- }
131
- /**
132
- * Change feed Blob storage event data.
133
- */
134
- export interface BlobChangeFeedEventData {
135
- /**
136
- * The operation that triggered the event.
137
- */
138
- api: string;
139
- /**
140
- * A client-provided request id for the storage API operation. This id can be used to
141
- * correlate to Azure Storage diagnostic logs using the "client-request-id" field in the logs,
142
- * and can be provided in client requests using the "x-ms-client-request-id" header.
143
- */
144
- clientRequestId: string;
145
- /**
146
- * Service-generated request id for the storage API operation. Can be used to correlate to Azure Storage
147
- * diagnostic logs using the "request-id-header" field in the logs and is returned from initiating API call
148
- * in the 'x-ms-request-id' header.
149
- */
150
- requestId: string;
151
- /**
152
- * The value that you can use to perform operations conditionally.
153
- */
154
- etag: string;
155
- /**
156
- * The content type specified for the blob.
157
- */
158
- contentType: string;
159
- /**
160
- * The size of the blob in bytes.
161
- */
162
- contentLength: number;
163
- /**
164
- * The offset in bytes of a write operation taken at the point where the event-triggering application completed
165
- * writing to the file.
166
- * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
167
- */
168
- contentOffset?: number;
169
- /**
170
- * The type of blob.
171
- */
172
- blobType: BlobType;
173
- /**
174
- * The path to the blob. If the client uses a Blob REST API, then the url has this structure:
175
- * <storage-account-name>.blob.core.windows.net/<container-name>/<file-name>.
176
- */
177
- url: string;
178
- /**
179
- * The url of the file that will exist after the operation completes. For example, if a file is renamed,
180
- * the destinationUrl property contains the url of the new file name.
181
- * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
182
- */
183
- destinationUrl?: string;
184
- /**
185
- * The url of the file that exists prior to the operation. For example, if a file is renamed, the sourceUrl
186
- * contains the url of the original file name prior to the rename operation.
187
- * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
188
- */
189
- sourceUrl?: string;
190
- /**
191
- * True to perform the operation on all child directories; otherwise False.
192
- * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
193
- */
194
- isRecursive?: boolean;
195
- /**
196
- * An opaque string value representing the logical sequence of events for any particular blob name.
197
- * Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
198
- */
199
- sequencer: string;
200
- /**
201
- * Previous info for the blob.
202
- */
203
- previousInfo?: ChangeFeedEventPreviousInfo;
204
- /**
205
- * Blob properties that were updated during this event.
206
- */
207
- updatedBlobProperties?: UpdatedBlobProperties;
208
- /**
209
- * Blob tags that were updated during this event.
210
- */
211
- updatedBlobTags?: BlobTagsChange;
212
- /**
213
- * The Snapshot associated with the event.
214
- */
215
- snapshot?: string;
216
- /**
217
- * Version of the blob.
218
- */
219
- blobVersion?: string;
220
- /**
221
- * Version of the container the blob is in.
222
- */
223
- containerVersion?: string;
224
- /**
225
- * Access Tier of the blob.
226
- */
227
- blobAccessTier?: AccessTier;
228
- /**
229
- * AsyncOperationInfo
230
- */
231
- longRunningOperationInfo?: BlobOperationResult;
232
- }
233
- //# sourceMappingURL=BlobChangeFeedEvent.d.ts.map
1
+ /**
2
+ * Change feed event record types.
3
+ */
4
+ export type BlobChangeFeedEventType = "UnspecifiedEventType" | "BlobCreated" | "BlobDeleted" | "BlobPropertiesUpdated" | "BlobSnapshotCreated" | "Control" | "BlobTierChanged" | "BlobAsyncOperationInitiated" | "BlobMetadataUpdated" | "RestorePointMarkerCreated";
5
+ /**
6
+ * Change feed event record. Contains response data for the {@link BlobChangeFeedClient.listChanges} operation.
7
+ * @see https://learn.microsoft.com/azure/event-grid/event-schema-blob-storage?toc=/azure/storage/blobs/toc.json#event-properties
8
+ */
9
+ export interface BlobChangeFeedEvent {
10
+ /**
11
+ * Full resource path to the event source. This field is not writeable. Event Grid provides this value.
12
+ */
13
+ topic: string;
14
+ /**
15
+ * Publisher-defined path to the event subject.
16
+ */
17
+ subject: string;
18
+ /**
19
+ * One of the registered event types for this event source.
20
+ */
21
+ eventType: BlobChangeFeedEventType;
22
+ /**
23
+ * The time the event is generated based on the provider's UTC time.
24
+ */
25
+ eventTime: Date;
26
+ /**
27
+ * Unique identifier for the event.
28
+ */
29
+ id: string;
30
+ /**
31
+ * Blob storage event data.
32
+ */
33
+ data: BlobChangeFeedEventData;
34
+ /**
35
+ * The schema version of the data object. The publisher defines the schema version.
36
+ */
37
+ dataVersion?: string;
38
+ /**
39
+ * The schema version of the data object. The publisher defines the schema version.
40
+ */
41
+ schemaVersion?: number;
42
+ /**
43
+ * The schema version of the event metadata. Event Grid defines the schema of the top-level properties. Event Grid provides this value.
44
+ */
45
+ metadataVersion: string;
46
+ }
47
+ /**
48
+ * The type of blob.
49
+ */
50
+ export type BlobType = "BlockBlob" | "AppendBlob" | "PageBlob";
51
+ /**
52
+ * The AccessTier.
53
+ */
54
+ export type AccessTier = "P4" | "P6" | "P10" | "P15" | "P20" | "P30" | "P40" | "P50" | "P60" | "P70" | "P80" | "Hot" | "Cool" | "Archive";
55
+ /**
56
+ * A blob property that was updated.
57
+ */
58
+ export interface BlobPropertyChange {
59
+ /**
60
+ * The name of the property that was updated.
61
+ */
62
+ propertyName: string;
63
+ /**
64
+ * The previous value of the property.
65
+ */
66
+ oldValue: string;
67
+ /**
68
+ * The new value of the property.
69
+ */
70
+ newValue: string;
71
+ }
72
+ /**
73
+ * Blob properties that were updated during an event.
74
+ */
75
+ export type UpdatedBlobProperties = Record<string, BlobPropertyChange>;
76
+ /**
77
+ * Previous info for Change Feed Event.
78
+ */
79
+ export interface ChangeFeedEventPreviousInfo {
80
+ /**
81
+ * Soft delete snapshot.
82
+ */
83
+ softDeleteSnapshot?: string;
84
+ /**
85
+ * If the blob was soft deleted.
86
+ */
87
+ isBlobSoftDeleted: boolean;
88
+ /**
89
+ * Blob version.
90
+ */
91
+ newBlobVersion?: string;
92
+ /**
93
+ * Last version.
94
+ */
95
+ oldBlobVersion?: string;
96
+ /**
97
+ * Previous Access Tier
98
+ */
99
+ previousTier?: AccessTier;
100
+ }
101
+ /**
102
+ * ChangeFeedEvent AsyncOperationInfo
103
+ */
104
+ export interface BlobOperationResult {
105
+ /**
106
+ * Destination access tier.
107
+ */
108
+ destinationAccessTier?: AccessTier;
109
+ /**
110
+ * If the operation was async.
111
+ */
112
+ isAsync: boolean;
113
+ /**
114
+ * Copy Id.
115
+ */
116
+ copyId?: string;
117
+ }
118
+ /**
119
+ * Blob tags that were updated as part of the change feed event.
120
+ */
121
+ export interface BlobTagsChange {
122
+ /**
123
+ * Previous Tags.
124
+ */
125
+ oldTags: Record<string, string>;
126
+ /**
127
+ * New Tags.
128
+ */
129
+ newTags: Record<string, string>;
130
+ }
131
+ /**
132
+ * Change feed Blob storage event data.
133
+ */
134
+ export interface BlobChangeFeedEventData {
135
+ /**
136
+ * The operation that triggered the event.
137
+ */
138
+ api: string;
139
+ /**
140
+ * A client-provided request id for the storage API operation. This id can be used to
141
+ * correlate to Azure Storage diagnostic logs using the "client-request-id" field in the logs,
142
+ * and can be provided in client requests using the "x-ms-client-request-id" header.
143
+ */
144
+ clientRequestId: string;
145
+ /**
146
+ * Service-generated request id for the storage API operation. Can be used to correlate to Azure Storage
147
+ * diagnostic logs using the "request-id-header" field in the logs and is returned from initiating API call
148
+ * in the 'x-ms-request-id' header.
149
+ */
150
+ requestId: string;
151
+ /**
152
+ * The value that you can use to perform operations conditionally.
153
+ */
154
+ etag: string;
155
+ /**
156
+ * The content type specified for the blob.
157
+ */
158
+ contentType: string;
159
+ /**
160
+ * The size of the blob in bytes.
161
+ */
162
+ contentLength: number;
163
+ /**
164
+ * The offset in bytes of a write operation taken at the point where the event-triggering application completed
165
+ * writing to the file.
166
+ * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
167
+ */
168
+ contentOffset?: number;
169
+ /**
170
+ * The type of blob.
171
+ */
172
+ blobType: BlobType;
173
+ /**
174
+ * The path to the blob. If the client uses a Blob REST API, then the url has this structure:
175
+ * <storage-account-name>.blob.core.windows.net/<container-name>/<file-name>.
176
+ */
177
+ url: string;
178
+ /**
179
+ * The url of the file that will exist after the operation completes. For example, if a file is renamed,
180
+ * the destinationUrl property contains the url of the new file name.
181
+ * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
182
+ */
183
+ destinationUrl?: string;
184
+ /**
185
+ * The url of the file that exists prior to the operation. For example, if a file is renamed, the sourceUrl
186
+ * contains the url of the original file name prior to the rename operation.
187
+ * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
188
+ */
189
+ sourceUrl?: string;
190
+ /**
191
+ * True to perform the operation on all child directories; otherwise False.
192
+ * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
193
+ */
194
+ isRecursive?: boolean;
195
+ /**
196
+ * An opaque string value representing the logical sequence of events for any particular blob name.
197
+ * Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
198
+ */
199
+ sequencer: string;
200
+ /**
201
+ * Previous info for the blob.
202
+ */
203
+ previousInfo?: ChangeFeedEventPreviousInfo;
204
+ /**
205
+ * Blob properties that were updated during this event.
206
+ */
207
+ updatedBlobProperties?: UpdatedBlobProperties;
208
+ /**
209
+ * Blob tags that were updated during this event.
210
+ */
211
+ updatedBlobTags?: BlobTagsChange;
212
+ /**
213
+ * The Snapshot associated with the event.
214
+ */
215
+ snapshot?: string;
216
+ /**
217
+ * Version of the blob.
218
+ */
219
+ blobVersion?: string;
220
+ /**
221
+ * Version of the container the blob is in.
222
+ */
223
+ containerVersion?: string;
224
+ /**
225
+ * Access Tier of the blob.
226
+ */
227
+ blobAccessTier?: AccessTier;
228
+ /**
229
+ * AsyncOperationInfo
230
+ */
231
+ longRunningOperationInfo?: BlobOperationResult;
232
+ }
233
+ //# sourceMappingURL=BlobChangeFeedEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlobChangeFeedEvent.d.ts","sourceRoot":"","sources":["../../../src/models/BlobChangeFeedEvent.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAC/B,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,uBAAuB,GACvB,qBAAqB,GACrB,SAAS,GACT,iBAAiB,GACjB,6BAA6B,GAC7B,qBAAqB,GACrB,2BAA2B,CAAC;AAEhC;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,uBAAuB,CAAC;IAEnC;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAEhB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;AACvE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,UAAU,CAAC;IACnC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IAEnB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAE3C;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAE9C;;OAEG;IACH,eAAe,CAAC,EAAE,cAAc,CAAC;IAEjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B;;OAEG;IACH,wBAAwB,CAAC,EAAE,mBAAmB,CAAC;CAChD"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=BlobChangeFeedEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlobChangeFeedEvent.js","sourceRoot":"","sources":["../../../src/models/BlobChangeFeedEvent.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// https://msazure.visualstudio.com/One/_git/Storage-XStore?path=%2Fsrc%2FXTable%2FNotifications%2Flib%2FBlobChangeEventv4.json&version=GBmaster\n\n/**\n * Change feed event record types.\n */\nexport type BlobChangeFeedEventType =\n | \"UnspecifiedEventType\"\n | \"BlobCreated\"\n | \"BlobDeleted\"\n | \"BlobPropertiesUpdated\"\n | \"BlobSnapshotCreated\"\n | \"Control\"\n | \"BlobTierChanged\"\n | \"BlobAsyncOperationInitiated\"\n | \"BlobMetadataUpdated\"\n | \"RestorePointMarkerCreated\";\n\n/**\n * Change feed event record. Contains response data for the {@link BlobChangeFeedClient.listChanges} operation.\n * @see https://learn.microsoft.com/azure/event-grid/event-schema-blob-storage?toc=/azure/storage/blobs/toc.json#event-properties\n */\nexport interface BlobChangeFeedEvent {\n /**\n * Full resource path to the event source. This field is not writeable. Event Grid provides this value.\n */\n topic: string;\n\n /**\n * Publisher-defined path to the event subject.\n */\n subject: string;\n\n /**\n * One of the registered event types for this event source.\n */\n eventType: BlobChangeFeedEventType;\n\n /**\n * The time the event is generated based on the provider's UTC time.\n */\n eventTime: Date;\n\n /**\n * Unique identifier for the event.\n */\n id: string; // GUID\n\n /**\n * Blob storage event data.\n */\n data: BlobChangeFeedEventData;\n\n /**\n * The schema version of the data object. The publisher defines the schema version.\n */\n dataVersion?: string;\n\n /**\n * The schema version of the data object. The publisher defines the schema version.\n */\n schemaVersion?: number;\n\n /**\n * The schema version of the event metadata. Event Grid defines the schema of the top-level properties. Event Grid provides this value.\n */\n metadataVersion: string;\n}\n\n/**\n * The type of blob.\n */\nexport type BlobType = \"BlockBlob\" | \"AppendBlob\" | \"PageBlob\";\n\n/**\n * The AccessTier.\n */\nexport type AccessTier =\n | \"P4\"\n | \"P6\"\n | \"P10\"\n | \"P15\"\n | \"P20\"\n | \"P30\"\n | \"P40\"\n | \"P50\"\n | \"P60\"\n | \"P70\"\n | \"P80\"\n | \"Hot\"\n | \"Cool\"\n | \"Archive\";\n\n/**\n * A blob property that was updated.\n */\nexport interface BlobPropertyChange {\n /**\n * The name of the property that was updated.\n */\n propertyName: string;\n /**\n * The previous value of the property.\n */\n oldValue: string;\n /**\n * The new value of the property.\n */\n newValue: string;\n}\n/**\n * Blob properties that were updated during an event.\n */\nexport type UpdatedBlobProperties = Record<string, BlobPropertyChange>;\n/**\n * Previous info for Change Feed Event.\n */\nexport interface ChangeFeedEventPreviousInfo {\n /**\n * Soft delete snapshot.\n */\n softDeleteSnapshot?: string;\n /**\n * If the blob was soft deleted.\n */\n isBlobSoftDeleted: boolean;\n /**\n * Blob version.\n */\n newBlobVersion?: string;\n /**\n * Last version.\n */\n oldBlobVersion?: string;\n /**\n * Previous Access Tier\n */\n previousTier?: AccessTier;\n}\n\n/**\n * ChangeFeedEvent AsyncOperationInfo\n */\nexport interface BlobOperationResult {\n /**\n * Destination access tier.\n */\n destinationAccessTier?: AccessTier;\n /**\n * If the operation was async.\n */\n isAsync: boolean;\n /**\n * Copy Id.\n */\n copyId?: string;\n}\n\n/**\n * Blob tags that were updated as part of the change feed event.\n */\nexport interface BlobTagsChange {\n /**\n * Previous Tags.\n */\n oldTags: Record<string, string>;\n /**\n * New Tags.\n */\n newTags: Record<string, string>;\n}\n\n/**\n * Change feed Blob storage event data.\n */\nexport interface BlobChangeFeedEventData {\n /**\n * The operation that triggered the event.\n */\n api: string;\n\n /**\n * A client-provided request id for the storage API operation. This id can be used to\n * correlate to Azure Storage diagnostic logs using the \"client-request-id\" field in the logs,\n * and can be provided in client requests using the \"x-ms-client-request-id\" header.\n */\n clientRequestId: string; // GUID\n\n /**\n * Service-generated request id for the storage API operation. Can be used to correlate to Azure Storage\n * diagnostic logs using the \"request-id-header\" field in the logs and is returned from initiating API call\n * in the 'x-ms-request-id' header.\n */\n requestId: string; // GUID\n\n /**\n * The value that you can use to perform operations conditionally.\n */\n etag: string;\n\n /**\n * The content type specified for the blob.\n */\n contentType: string;\n\n /**\n * The size of the blob in bytes.\n */\n contentLength: number;\n\n /**\n * The offset in bytes of a write operation taken at the point where the event-triggering application completed\n * writing to the file.\n * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.\n */\n contentOffset?: number;\n\n /**\n * The type of blob.\n */\n blobType: BlobType;\n\n /**\n * The path to the blob. If the client uses a Blob REST API, then the url has this structure:\n * <storage-account-name>.blob.core.windows.net/<container-name>/<file-name>.\n */\n url: string;\n\n /**\n * The url of the file that will exist after the operation completes. For example, if a file is renamed,\n * the destinationUrl property contains the url of the new file name.\n * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.\n */\n destinationUrl?: string;\n\n /**\n * The url of the file that exists prior to the operation. For example, if a file is renamed, the sourceUrl\n * contains the url of the original file name prior to the rename operation.\n * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.\n */\n sourceUrl?: string;\n\n /**\n * True to perform the operation on all child directories; otherwise False.\n * Appears only for events triggered on blob storage accounts that have a hierarchical namespace.\n */\n isRecursive?: boolean;\n\n /**\n * An opaque string value representing the logical sequence of events for any particular blob name.\n * Users can use standard string comparison to understand the relative sequence of two events on the same blob name.\n */\n sequencer: string;\n\n /**\n * Previous info for the blob.\n */\n previousInfo?: ChangeFeedEventPreviousInfo;\n\n /**\n * Blob properties that were updated during this event.\n */\n updatedBlobProperties?: UpdatedBlobProperties;\n\n /**\n * Blob tags that were updated during this event.\n */\n updatedBlobTags?: BlobTagsChange;\n\n /**\n * The Snapshot associated with the event.\n */\n snapshot?: string;\n\n /**\n * Version of the blob.\n */\n blobVersion?: string;\n\n /**\n * Version of the container the blob is in.\n */\n containerVersion?: string;\n\n /**\n * Access Tier of the blob.\n */\n blobAccessTier?: AccessTier;\n /**\n * AsyncOperationInfo\n */\n longRunningOperationInfo?: BlobOperationResult;\n}\n"]}
@@ -1,17 +1,17 @@
1
- export interface ChangeFeedCursor {
2
- CursorVersion: number;
3
- UrlHost: string;
4
- EndTime?: string;
5
- CurrentSegmentCursor: SegmentCursor;
6
- }
7
- export interface SegmentCursor {
8
- ShardCursors: ShardCursor[];
9
- CurrentShardPath: string;
10
- SegmentPath: string;
11
- }
12
- export interface ShardCursor {
13
- CurrentChunkPath: string;
14
- BlockOffset: number;
15
- EventIndex: number;
16
- }
17
- //# sourceMappingURL=ChangeFeedCursor.d.ts.map
1
+ export interface ChangeFeedCursor {
2
+ CursorVersion: number;
3
+ UrlHost: string;
4
+ EndTime?: string;
5
+ CurrentSegmentCursor: SegmentCursor;
6
+ }
7
+ export interface SegmentCursor {
8
+ ShardCursors: ShardCursor[];
9
+ CurrentShardPath: string;
10
+ SegmentPath: string;
11
+ }
12
+ export interface ShardCursor {
13
+ CurrentChunkPath: string;
14
+ BlockOffset: number;
15
+ EventIndex: number;
16
+ }
17
+ //# sourceMappingURL=ChangeFeedCursor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeFeedCursor.d.ts","sourceRoot":"","sources":["../../../src/models/ChangeFeedCursor.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,aAAa,CAAC;CACrC;AAED,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=ChangeFeedCursor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeFeedCursor.js","sourceRoot":"","sources":["../../../src/models/ChangeFeedCursor.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport interface ChangeFeedCursor {\n CursorVersion: number;\n // The host component of the container URL.\n UrlHost: string;\n EndTime?: string;\n CurrentSegmentCursor: SegmentCursor;\n}\n\nexport interface SegmentCursor {\n ShardCursors: ShardCursor[];\n CurrentShardPath: string;\n SegmentPath: string;\n}\n\nexport interface ShardCursor {\n CurrentChunkPath: string;\n BlockOffset: number;\n EventIndex: number;\n}\n"]}
@@ -1,23 +1,23 @@
1
- import { CommonOptions } from "@azure/storage-blob";
2
- import { AbortSignalLike } from "@azure/core-http";
3
- /**
4
- * Options to configure {@link BlobChangeFeedClient.listChanges} operation.
5
- */
6
- export interface BlobChangeFeedListChangesOptions extends CommonOptions {
7
- /**
8
- * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
9
- * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
10
- */
11
- abortSignal?: AbortSignalLike;
12
- /**
13
- * Specify the start of the time range during which the change feed records will be fetched.
14
- * Note that for now the change feed client will round start time down to the nearest hour.
15
- */
16
- start?: Date;
17
- /**
18
- * Specify the end of the time range during which the change feed records will be fetched.
19
- * Note that for now the change feed client will round end time up to the nearest hour.
20
- */
21
- end?: Date;
22
- }
23
- //# sourceMappingURL=models.d.ts.map
1
+ import type { CommonOptions } from "@azure/storage-blob";
2
+ import type { AbortSignalLike } from "@azure/abort-controller";
3
+ /**
4
+ * Options to configure {@link BlobChangeFeedClient.listChanges} operation.
5
+ */
6
+ export interface BlobChangeFeedListChangesOptions extends CommonOptions {
7
+ /**
8
+ * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
9
+ * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.
10
+ */
11
+ abortSignal?: AbortSignalLike;
12
+ /**
13
+ * Specify the start of the time range during which the change feed records will be fetched.
14
+ * Note that for now the change feed client will round start time down to the nearest hour.
15
+ */
16
+ start?: Date;
17
+ /**
18
+ * Specify the end of the time range during which the change feed records will be fetched.
19
+ * Note that for now the change feed client will round end time up to the nearest hour.
20
+ */
21
+ end?: Date;
22
+ }
23
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,aAAa;IACrE;;;OAGG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IAEb;;;OAGG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommonOptions } from \"@azure/storage-blob\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\n\n/**\n * Options to configure {@link BlobChangeFeedClient.listChanges} operation.\n */\nexport interface BlobChangeFeedListChangesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the &commat;azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Specify the start of the time range during which the change feed records will be fetched.\n * Note that for now the change feed client will round start time down to the nearest hour.\n */\n start?: Date;\n\n /**\n * Specify the end of the time range during which the change feed records will be fetched.\n * Note that for now the change feed client will round end time up to the nearest hour.\n */\n end?: Date;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }