@azure/storage-blob-changefeed 12.0.0-preview.3 → 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.
- package/LICENSE +3 -3
- package/README.md +87 -47
- package/{types/3.1/storage-blob-changefeed/src → dist/browser}/AvroReaderFactory.d.ts +10 -9
- package/dist/browser/AvroReaderFactory.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/AvroReaderFactory.js +2 -2
- package/dist/browser/AvroReaderFactory.js.map +1 -0
- package/dist/browser/BlobChangeFeedClient.d.ts +201 -0
- package/dist/browser/BlobChangeFeedClient.d.ts.map +1 -0
- package/dist/browser/BlobChangeFeedClient.js +242 -0
- package/dist/browser/BlobChangeFeedClient.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/browser}/ChangeFeed.d.ts +37 -37
- package/dist/browser/ChangeFeed.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/ChangeFeed.js +20 -32
- package/dist/browser/ChangeFeed.js.map +1 -0
- package/dist/browser/ChangeFeedFactory.d.ts +13 -0
- package/dist/browser/ChangeFeedFactory.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/ChangeFeedFactory.js +45 -32
- package/dist/browser/ChangeFeedFactory.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/Chunk.d.ts +4 -5
- package/dist/browser/Chunk.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/Chunk.js +13 -8
- package/dist/browser/Chunk.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/ChunkFactory.d.ts +7 -6
- package/dist/browser/ChunkFactory.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/ChunkFactory.js +11 -7
- package/dist/browser/ChunkFactory.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/LazyLoadingBlobStream.d.ts +4 -4
- package/dist/browser/LazyLoadingBlobStream.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/LazyLoadingBlobStream.js +25 -36
- package/dist/browser/LazyLoadingBlobStream.js.map +1 -0
- package/dist/browser/LazyLoadingBlobStreamFactory.d.ts +7 -0
- package/dist/browser/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/LazyLoadingBlobStreamFactory.js +2 -2
- package/dist/browser/LazyLoadingBlobStreamFactory.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/Segment.d.ts +5 -5
- package/dist/browser/Segment.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/Segment.js +16 -19
- package/dist/browser/Segment.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/browser}/SegmentFactory.d.ts +29 -29
- package/dist/browser/SegmentFactory.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/SegmentFactory.js +12 -23
- package/dist/browser/SegmentFactory.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/browser}/Shard.d.ts +28 -28
- package/dist/browser/Shard.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/Shard.js +9 -16
- package/dist/browser/Shard.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/ShardFactory.d.ts +5 -5
- package/dist/browser/ShardFactory.d.ts.map +1 -0
- package/dist/browser/ShardFactory.js +55 -0
- package/dist/browser/ShardFactory.js.map +1 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/log.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/log.js +1 -1
- package/dist/browser/log.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/models/BlobChangeFeedEvent.d.ts +5 -5
- package/dist/browser/models/BlobChangeFeedEvent.d.ts.map +1 -0
- package/dist/browser/models/BlobChangeFeedEvent.js +4 -0
- package/dist/browser/models/BlobChangeFeedEvent.js.map +1 -0
- package/dist/browser/models/ChangeFeedCursor.d.ts.map +1 -0
- package/dist/browser/models/ChangeFeedCursor.js +4 -0
- package/dist/browser/models/ChangeFeedCursor.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/models/models.d.ts +2 -2
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +4 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/utils/constants.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/constants.js +2 -2
- package/dist/browser/utils/constants.js.map +1 -0
- package/dist/browser/utils/tracing.d.ts +6 -0
- package/dist/browser/utils/tracing.d.ts.map +1 -0
- package/dist/browser/utils/tracing.js +14 -0
- package/dist/browser/utils/tracing.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/utils.browser.d.ts +0 -1
- package/dist/browser/utils/utils.browser.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/utils.browser.js +1 -1
- package/dist/browser/utils/utils.browser.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/utils.common.d.ts +3 -10
- package/dist/browser/utils/utils.common.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/utils.common.js +26 -91
- package/dist/browser/utils/utils.common.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/utils.node.d.ts +1 -2
- package/dist/browser/utils/utils.node.d.ts.map +1 -0
- package/{dist-esm/storage-blob-changefeed/src → dist/browser}/utils/utils.node.js +2 -2
- package/dist/browser/utils/utils.node.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/AvroReaderFactory.d.ts +2 -1
- package/dist/commonjs/AvroReaderFactory.d.ts.map +1 -0
- package/dist/commonjs/AvroReaderFactory.js +21 -0
- package/dist/commonjs/AvroReaderFactory.js.map +1 -0
- package/dist/commonjs/BlobChangeFeedClient.d.ts +201 -0
- package/dist/commonjs/BlobChangeFeedClient.d.ts.map +1 -0
- package/dist/commonjs/BlobChangeFeedClient.js +248 -0
- package/dist/commonjs/BlobChangeFeedClient.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/ChangeFeed.d.ts +6 -6
- package/dist/commonjs/ChangeFeed.d.ts.map +1 -0
- package/dist/commonjs/ChangeFeed.js +108 -0
- package/dist/commonjs/ChangeFeed.js.map +1 -0
- package/dist/commonjs/ChangeFeedFactory.d.ts +13 -0
- package/dist/commonjs/ChangeFeedFactory.d.ts.map +1 -0
- package/dist/commonjs/ChangeFeedFactory.js +126 -0
- package/dist/commonjs/ChangeFeedFactory.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/Chunk.d.ts +27 -28
- package/dist/commonjs/Chunk.d.ts.map +1 -0
- package/dist/commonjs/Chunk.js +49 -0
- package/dist/commonjs/Chunk.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/ChunkFactory.d.ts +23 -22
- package/dist/commonjs/ChunkFactory.d.ts.map +1 -0
- package/dist/commonjs/ChunkFactory.js +37 -0
- package/dist/commonjs/ChunkFactory.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/LazyLoadingBlobStream.d.ts +46 -46
- package/dist/commonjs/LazyLoadingBlobStream.d.ts.map +1 -0
- package/dist/commonjs/LazyLoadingBlobStream.js +96 -0
- package/dist/commonjs/LazyLoadingBlobStream.js.map +1 -0
- package/dist/commonjs/LazyLoadingBlobStreamFactory.d.ts +7 -0
- package/dist/commonjs/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
- package/dist/commonjs/LazyLoadingBlobStreamFactory.js +13 -0
- package/dist/commonjs/LazyLoadingBlobStreamFactory.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/Segment.d.ts +29 -29
- package/dist/commonjs/Segment.d.ts.map +1 -0
- package/dist/commonjs/Segment.js +73 -0
- package/dist/commonjs/Segment.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/SegmentFactory.d.ts +5 -5
- package/dist/commonjs/SegmentFactory.d.ts.map +1 -0
- package/dist/commonjs/SegmentFactory.js +51 -0
- package/dist/commonjs/SegmentFactory.js.map +1 -0
- package/{types/latest/storage-blob-changefeed/src → dist/commonjs}/Shard.d.ts +6 -6
- package/dist/commonjs/Shard.d.ts.map +1 -0
- package/dist/commonjs/Shard.js +50 -0
- package/dist/commonjs/Shard.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/ShardFactory.d.ts +21 -21
- package/dist/commonjs/ShardFactory.d.ts.map +1 -0
- package/dist/commonjs/ShardFactory.js +59 -0
- package/dist/commonjs/ShardFactory.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +9 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/log.d.ts +5 -5
- package/dist/commonjs/log.d.ts.map +1 -0
- package/dist/commonjs/log.js +11 -0
- package/dist/commonjs/log.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/models/BlobChangeFeedEvent.d.ts +233 -233
- package/dist/commonjs/models/BlobChangeFeedEvent.d.ts.map +1 -0
- package/dist/commonjs/models/BlobChangeFeedEvent.js +5 -0
- package/dist/commonjs/models/BlobChangeFeedEvent.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/models/ChangeFeedCursor.d.ts +17 -17
- package/dist/commonjs/models/ChangeFeedCursor.d.ts.map +1 -0
- package/dist/commonjs/models/ChangeFeedCursor.js +5 -0
- package/dist/commonjs/models/ChangeFeedCursor.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/models/models.d.ts +23 -23
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +5 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/{types/latest → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/constants.d.ts +9 -9
- package/dist/commonjs/utils/constants.d.ts.map +1 -0
- package/dist/commonjs/utils/constants.js +14 -0
- package/dist/commonjs/utils/constants.js.map +1 -0
- package/dist/commonjs/utils/tracing.d.ts +6 -0
- package/dist/commonjs/utils/tracing.d.ts.map +1 -0
- package/dist/commonjs/utils/tracing.js +17 -0
- package/dist/commonjs/utils/tracing.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/utils.browser.d.ts +14 -15
- package/dist/commonjs/utils/utils.browser.d.ts.map +1 -0
- package/dist/commonjs/utils/utils.browser.js +34 -0
- package/dist/commonjs/utils/utils.browser.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/utils.common.d.ts +37 -44
- package/dist/commonjs/utils/utils.common.d.ts.map +1 -0
- package/dist/commonjs/utils/utils.common.js +180 -0
- package/dist/commonjs/utils/utils.common.js.map +1 -0
- package/{types/3.1/storage-blob-changefeed/src → dist/commonjs}/utils/utils.node.d.ts +14 -15
- package/dist/commonjs/utils/utils.node.d.ts.map +1 -0
- package/dist/commonjs/utils/utils.node.js +32 -0
- package/dist/commonjs/utils/utils.node.js.map +1 -0
- package/dist/esm/AvroReaderFactory.d.ts +10 -0
- package/dist/esm/AvroReaderFactory.d.ts.map +1 -0
- package/dist/esm/AvroReaderFactory.js +17 -0
- package/dist/esm/AvroReaderFactory.js.map +1 -0
- package/dist/esm/BlobChangeFeedClient.d.ts +201 -0
- package/dist/esm/BlobChangeFeedClient.d.ts.map +1 -0
- package/dist/esm/BlobChangeFeedClient.js +242 -0
- package/dist/esm/BlobChangeFeedClient.js.map +1 -0
- package/dist/esm/ChangeFeed.d.ts +37 -0
- package/dist/esm/ChangeFeed.d.ts.map +1 -0
- package/dist/esm/ChangeFeed.js +104 -0
- package/dist/esm/ChangeFeed.js.map +1 -0
- package/dist/esm/ChangeFeedFactory.d.ts +13 -0
- package/dist/esm/ChangeFeedFactory.d.ts.map +1 -0
- package/dist/esm/ChangeFeedFactory.js +122 -0
- package/dist/esm/ChangeFeedFactory.js.map +1 -0
- package/dist/esm/Chunk.d.ts +27 -0
- package/dist/esm/Chunk.d.ts.map +1 -0
- package/dist/esm/Chunk.js +45 -0
- package/dist/esm/Chunk.js.map +1 -0
- package/dist/esm/ChunkFactory.d.ts +23 -0
- package/dist/esm/ChunkFactory.d.ts.map +1 -0
- package/dist/esm/ChunkFactory.js +33 -0
- package/dist/esm/ChunkFactory.js.map +1 -0
- package/dist/esm/LazyLoadingBlobStream.d.ts +46 -0
- package/dist/esm/LazyLoadingBlobStream.d.ts.map +1 -0
- package/dist/esm/LazyLoadingBlobStream.js +92 -0
- package/dist/esm/LazyLoadingBlobStream.js.map +1 -0
- package/dist/esm/LazyLoadingBlobStreamFactory.d.ts +7 -0
- package/dist/esm/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
- package/dist/esm/LazyLoadingBlobStreamFactory.js +9 -0
- package/dist/esm/LazyLoadingBlobStreamFactory.js.map +1 -0
- package/dist/esm/Segment.d.ts +29 -0
- package/dist/esm/Segment.d.ts.map +1 -0
- package/dist/esm/Segment.js +69 -0
- package/dist/esm/Segment.js.map +1 -0
- package/dist/esm/SegmentFactory.d.ts +29 -0
- package/dist/esm/SegmentFactory.d.ts.map +1 -0
- package/dist/esm/SegmentFactory.js +47 -0
- package/dist/esm/SegmentFactory.js.map +1 -0
- package/dist/esm/Shard.d.ts +28 -0
- package/dist/esm/Shard.d.ts.map +1 -0
- package/dist/esm/Shard.js +46 -0
- package/dist/esm/Shard.js.map +1 -0
- package/dist/esm/ShardFactory.d.ts +21 -0
- package/dist/esm/ShardFactory.d.ts.map +1 -0
- package/dist/esm/ShardFactory.js +55 -0
- package/dist/esm/ShardFactory.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/log.d.ts +5 -0
- package/dist/esm/log.d.ts.map +1 -0
- package/dist/esm/log.js +8 -0
- package/dist/esm/log.js.map +1 -0
- package/dist/esm/models/BlobChangeFeedEvent.d.ts +233 -0
- package/dist/esm/models/BlobChangeFeedEvent.d.ts.map +1 -0
- package/dist/esm/models/BlobChangeFeedEvent.js +4 -0
- package/dist/esm/models/BlobChangeFeedEvent.js.map +1 -0
- package/dist/esm/models/ChangeFeedCursor.d.ts +17 -0
- package/dist/esm/models/ChangeFeedCursor.d.ts.map +1 -0
- package/dist/esm/models/ChangeFeedCursor.js +4 -0
- package/dist/esm/models/ChangeFeedCursor.js.map +1 -0
- package/dist/esm/models/models.d.ts +23 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +4 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/utils/constants.d.ts +9 -0
- package/dist/esm/utils/constants.d.ts.map +1 -0
- package/dist/esm/utils/constants.js +11 -0
- package/dist/esm/utils/constants.js.map +1 -0
- package/dist/esm/utils/tracing.d.ts +6 -0
- package/dist/esm/utils/tracing.d.ts.map +1 -0
- package/dist/esm/utils/tracing.js +14 -0
- package/dist/esm/utils/tracing.js.map +1 -0
- package/dist/esm/utils/utils.browser.d.ts +14 -0
- package/dist/esm/utils/utils.browser.d.ts.map +1 -0
- package/dist/esm/utils/utils.browser.js +29 -0
- package/dist/esm/utils/utils.browser.js.map +1 -0
- package/dist/esm/utils/utils.common.d.ts +37 -0
- package/dist/esm/utils/utils.common.d.ts.map +1 -0
- package/dist/esm/utils/utils.common.js +170 -0
- package/dist/esm/utils/utils.common.js.map +1 -0
- package/dist/esm/utils/utils.node.d.ts +14 -0
- package/dist/esm/utils/utils.node.d.ts.map +1 -0
- package/dist/esm/utils/utils.node.js +28 -0
- package/dist/esm/utils/utils.node.js.map +1 -0
- package/dist/react-native/AvroReaderFactory.d.ts +10 -0
- package/dist/react-native/AvroReaderFactory.d.ts.map +1 -0
- package/dist/react-native/AvroReaderFactory.js +17 -0
- package/dist/react-native/AvroReaderFactory.js.map +1 -0
- package/dist/react-native/BlobChangeFeedClient.d.ts +201 -0
- package/dist/react-native/BlobChangeFeedClient.d.ts.map +1 -0
- package/dist/react-native/BlobChangeFeedClient.js +242 -0
- package/dist/react-native/BlobChangeFeedClient.js.map +1 -0
- package/dist/react-native/ChangeFeed.d.ts +37 -0
- package/dist/react-native/ChangeFeed.d.ts.map +1 -0
- package/dist/react-native/ChangeFeed.js +104 -0
- package/dist/react-native/ChangeFeed.js.map +1 -0
- package/dist/react-native/ChangeFeedFactory.d.ts +13 -0
- package/dist/react-native/ChangeFeedFactory.d.ts.map +1 -0
- package/dist/react-native/ChangeFeedFactory.js +122 -0
- package/dist/react-native/ChangeFeedFactory.js.map +1 -0
- package/dist/react-native/Chunk.d.ts +27 -0
- package/dist/react-native/Chunk.d.ts.map +1 -0
- package/dist/react-native/Chunk.js +45 -0
- package/dist/react-native/Chunk.js.map +1 -0
- package/dist/react-native/ChunkFactory.d.ts +23 -0
- package/dist/react-native/ChunkFactory.d.ts.map +1 -0
- package/dist/react-native/ChunkFactory.js +33 -0
- package/dist/react-native/ChunkFactory.js.map +1 -0
- package/dist/react-native/LazyLoadingBlobStream.d.ts +46 -0
- package/dist/react-native/LazyLoadingBlobStream.d.ts.map +1 -0
- package/dist/react-native/LazyLoadingBlobStream.js +92 -0
- package/dist/react-native/LazyLoadingBlobStream.js.map +1 -0
- package/dist/react-native/LazyLoadingBlobStreamFactory.d.ts +7 -0
- package/dist/react-native/LazyLoadingBlobStreamFactory.d.ts.map +1 -0
- package/dist/react-native/LazyLoadingBlobStreamFactory.js +9 -0
- package/dist/react-native/LazyLoadingBlobStreamFactory.js.map +1 -0
- package/dist/react-native/Segment.d.ts +29 -0
- package/dist/react-native/Segment.d.ts.map +1 -0
- package/dist/react-native/Segment.js +69 -0
- package/dist/react-native/Segment.js.map +1 -0
- package/dist/react-native/SegmentFactory.d.ts +29 -0
- package/dist/react-native/SegmentFactory.d.ts.map +1 -0
- package/dist/react-native/SegmentFactory.js +47 -0
- package/dist/react-native/SegmentFactory.js.map +1 -0
- package/dist/react-native/Shard.d.ts +28 -0
- package/dist/react-native/Shard.d.ts.map +1 -0
- package/dist/react-native/Shard.js +46 -0
- package/dist/react-native/Shard.js.map +1 -0
- package/dist/react-native/ShardFactory.d.ts +21 -0
- package/dist/react-native/ShardFactory.d.ts.map +1 -0
- package/dist/react-native/ShardFactory.js +55 -0
- package/dist/react-native/ShardFactory.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/log.d.ts +5 -0
- package/dist/react-native/log.d.ts.map +1 -0
- package/dist/react-native/log.js +8 -0
- package/dist/react-native/log.js.map +1 -0
- package/dist/react-native/models/BlobChangeFeedEvent.d.ts +233 -0
- package/dist/react-native/models/BlobChangeFeedEvent.d.ts.map +1 -0
- package/dist/react-native/models/BlobChangeFeedEvent.js +4 -0
- package/dist/react-native/models/BlobChangeFeedEvent.js.map +1 -0
- package/dist/react-native/models/ChangeFeedCursor.d.ts +17 -0
- package/dist/react-native/models/ChangeFeedCursor.d.ts.map +1 -0
- package/dist/react-native/models/ChangeFeedCursor.js +4 -0
- package/dist/react-native/models/ChangeFeedCursor.js.map +1 -0
- package/dist/react-native/models/models.d.ts +23 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +4 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/utils/constants.d.ts +9 -0
- package/dist/react-native/utils/constants.d.ts.map +1 -0
- package/dist/react-native/utils/constants.js +11 -0
- package/dist/react-native/utils/constants.js.map +1 -0
- package/dist/react-native/utils/tracing.d.ts +6 -0
- package/dist/react-native/utils/tracing.d.ts.map +1 -0
- package/dist/react-native/utils/tracing.js +14 -0
- package/dist/react-native/utils/tracing.js.map +1 -0
- package/dist/react-native/utils/utils.browser.d.ts +14 -0
- package/dist/react-native/utils/utils.browser.d.ts.map +1 -0
- package/dist/react-native/utils/utils.browser.js +29 -0
- package/dist/react-native/utils/utils.browser.js.map +1 -0
- package/dist/react-native/utils/utils.common.d.ts +37 -0
- package/dist/react-native/utils/utils.common.d.ts.map +1 -0
- package/dist/react-native/utils/utils.common.js +170 -0
- package/dist/react-native/utils/utils.common.js.map +1 -0
- package/dist/react-native/utils/utils.node.d.ts +14 -0
- package/dist/react-native/utils/utils.node.d.ts.map +1 -0
- package/dist/react-native/utils/utils.node.js +28 -0
- package/dist/react-native/utils/utils.node.js.map +1 -0
- package/package.json +89 -104
- package/CHANGELOG.md +0 -15
- package/dist/index.js +0 -1644
- package/dist/index.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/AvroReaderFactory.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/BlobChangeFeedClient.js +0 -221
- package/dist-esm/storage-blob-changefeed/src/BlobChangeFeedClient.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/ChangeFeed.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/ChangeFeedFactory.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/Chunk.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/ChunkFactory.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/LazyLoadingBlobStream.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/Segment.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/SegmentFactory.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/Shard.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/ShardFactory.js +0 -78
- package/dist-esm/storage-blob-changefeed/src/ShardFactory.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/index.js +0 -6
- package/dist-esm/storage-blob-changefeed/src/index.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/log.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/models/BlobChangeFeedEvent.js +0 -4
- package/dist-esm/storage-blob-changefeed/src/models/BlobChangeFeedEvent.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/models/ChangeFeedCursor.js +0 -4
- package/dist-esm/storage-blob-changefeed/src/models/ChangeFeedCursor.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/models/models.js +0 -4
- package/dist-esm/storage-blob-changefeed/src/models/models.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/utils/constants.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/utils/tracing.js +0 -12
- package/dist-esm/storage-blob-changefeed/src/utils/tracing.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/utils/utils.browser.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/utils/utils.common.js.map +0 -1
- package/dist-esm/storage-blob-changefeed/src/utils/utils.node.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/AvroConstants.js +0 -7
- package/dist-esm/storage-internal-avro/src/AvroConstants.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/AvroParser.js +0 -313
- package/dist-esm/storage-internal-avro/src/AvroParser.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/AvroReadable.js +0 -5
- package/dist-esm/storage-internal-avro/src/AvroReadable.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/AvroReadableFromBlob.js +0 -47
- package/dist-esm/storage-internal-avro/src/AvroReadableFromBlob.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/AvroReadableFromStream.js +0 -82
- package/dist-esm/storage-internal-avro/src/AvroReadableFromStream.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/AvroReader.js +0 -105
- package/dist-esm/storage-internal-avro/src/AvroReader.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/index.browser.js +0 -6
- package/dist-esm/storage-internal-avro/src/index.browser.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/index.js +0 -6
- package/dist-esm/storage-internal-avro/src/index.js.map +0 -1
- package/dist-esm/storage-internal-avro/src/utils/utils.common.js +0 -16
- package/dist-esm/storage-internal-avro/src/utils/utils.common.js.map +0 -1
- package/types/3.1/storage-blob-changefeed/samples-dev/blobChangeFeedClient.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/samples-dev/resumeListChanges.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/src/BlobChangeFeedClient.d.ts +0 -172
- package/types/3.1/storage-blob-changefeed/src/ChangeFeedFactory.d.ts +0 -12
- package/types/3.1/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.d.ts +0 -6
- package/types/3.1/storage-blob-changefeed/src/index.d.ts +0 -4
- package/types/3.1/storage-blob-changefeed/src/utils/tracing.d.ts +0 -11
- package/types/3.1/storage-blob-changefeed/test/blobchangefeedclient.spec.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/test/changefeed.spec.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/test/chunk.spec.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/test/segment.spec.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/test/shard.spec.d.ts +0 -2
- package/types/3.1/storage-blob-changefeed/test/utils/index.d.ts +0 -13
- package/types/3.1/storage-blob-changefeed/test/utils/testutils.common.d.ts +0 -64
- package/types/3.1/storage-blob-changefeed.d.ts +0 -427
- package/types/3.1/storage-internal-avro/src/AvroConstants.d.ts +0 -5
- package/types/3.1/storage-internal-avro/src/AvroParser.d.ts +0 -57
- package/types/3.1/storage-internal-avro/src/AvroReadable.d.ts +0 -16
- package/types/3.1/storage-internal-avro/src/AvroReadableFromBlob.d.ts +0 -9
- package/types/3.1/storage-internal-avro/src/AvroReadableFromStream.d.ts +0 -11
- package/types/3.1/storage-internal-avro/src/AvroReader.d.ts +0 -33
- package/types/3.1/storage-internal-avro/src/index.browser.d.ts +0 -4
- package/types/3.1/storage-internal-avro/src/index.d.ts +0 -4
- package/types/3.1/storage-internal-avro/src/utils/utils.common.d.ts +0 -6
- package/types/3.1/storage-internal-avro/test/browser/avroreadable.spec.d.ts +0 -2
- package/types/3.1/storage-internal-avro/test/node/avroreadable.spec.d.ts +0 -2
- package/types/3.1/storage-internal-avro/test/node/avroreader.spec.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/samples-dev/blobChangeFeedClient.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/samples-dev/blobChangeFeedClient.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/samples-dev/resumeListChanges.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/samples-dev/resumeListChanges.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/AvroReaderFactory.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/BlobChangeFeedClient.d.ts +0 -172
- package/types/latest/storage-blob-changefeed/src/BlobChangeFeedClient.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/ChangeFeed.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/ChangeFeedFactory.d.ts +0 -12
- package/types/latest/storage-blob-changefeed/src/ChangeFeedFactory.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/Chunk.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/ChunkFactory.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/LazyLoadingBlobStream.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.d.ts +0 -6
- package/types/latest/storage-blob-changefeed/src/LazyLoadingBlobStreamFactory.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/Segment.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/SegmentFactory.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/Shard.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/ShardFactory.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/index.d.ts +0 -4
- package/types/latest/storage-blob-changefeed/src/index.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/log.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/models/BlobChangeFeedEvent.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/models/ChangeFeedCursor.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/models/models.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/utils/constants.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/utils/tracing.d.ts +0 -11
- package/types/latest/storage-blob-changefeed/src/utils/tracing.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/utils/utils.browser.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/utils/utils.common.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/src/utils/utils.node.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/blobchangefeedclient.spec.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/test/blobchangefeedclient.spec.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/changefeed.spec.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/test/changefeed.spec.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/chunk.spec.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/test/chunk.spec.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/segment.spec.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/test/segment.spec.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/shard.spec.d.ts +0 -2
- package/types/latest/storage-blob-changefeed/test/shard.spec.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/utils/index.d.ts +0 -13
- package/types/latest/storage-blob-changefeed/test/utils/index.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed/test/utils/testutils.common.d.ts +0 -64
- package/types/latest/storage-blob-changefeed/test/utils/testutils.common.d.ts.map +0 -1
- package/types/latest/storage-blob-changefeed.d.ts +0 -442
- package/types/latest/storage-internal-avro/src/AvroConstants.d.ts +0 -5
- package/types/latest/storage-internal-avro/src/AvroConstants.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/AvroParser.d.ts +0 -57
- package/types/latest/storage-internal-avro/src/AvroParser.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/AvroReadable.d.ts +0 -16
- package/types/latest/storage-internal-avro/src/AvroReadable.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/AvroReadableFromBlob.d.ts +0 -9
- package/types/latest/storage-internal-avro/src/AvroReadableFromBlob.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/AvroReadableFromStream.d.ts +0 -11
- package/types/latest/storage-internal-avro/src/AvroReadableFromStream.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/AvroReader.d.ts +0 -33
- package/types/latest/storage-internal-avro/src/AvroReader.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/index.browser.d.ts +0 -4
- package/types/latest/storage-internal-avro/src/index.browser.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/index.d.ts +0 -4
- package/types/latest/storage-internal-avro/src/index.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/src/utils/utils.common.d.ts +0 -6
- package/types/latest/storage-internal-avro/src/utils/utils.common.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/test/browser/avroreadable.spec.d.ts +0 -2
- package/types/latest/storage-internal-avro/test/browser/avroreadable.spec.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/test/node/avroreadable.spec.d.ts +0 -2
- package/types/latest/storage-internal-avro/test/node/avroreadable.spec.d.ts.map +0 -1
- package/types/latest/storage-internal-avro/test/node/avroreader.spec.d.ts +0 -2
- package/types/latest/storage-internal-avro/test/node/avroreader.spec.d.ts.map +0 -1
- /package/{types/latest/storage-blob-changefeed/src → dist/browser}/log.d.ts +0 -0
- /package/{types/latest/storage-blob-changefeed/src → dist/browser}/models/ChangeFeedCursor.d.ts +0 -0
- /package/{types/latest/storage-blob-changefeed/src → dist/browser}/utils/constants.d.ts +0 -0
|
@@ -1,427 +0,0 @@
|
|
|
1
|
-
import { AbortSignalLike } from '@azure/core-http';
|
|
2
|
-
import { AnonymousCredential } from '@azure/storage-blob';
|
|
3
|
-
import { CommonOptions } from '@azure/storage-blob';
|
|
4
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
5
|
-
import { Pipeline } from '@azure/storage-blob';
|
|
6
|
-
import { StoragePipelineOptions } from '@azure/storage-blob';
|
|
7
|
-
import { StorageSharedKeyCredential } from '@azure/storage-blob';
|
|
8
|
-
import { TokenCredential } from '@azure/core-http';
|
|
9
|
-
/**
|
|
10
|
-
* The AccessTier.
|
|
11
|
-
*/
|
|
12
|
-
export declare type AccessTier = "P4" | "P6" | "P10" | "P15" | "P20" | "P30" | "P40" | "P50" | "P60" | "P70" | "P80" | "Hot" | "Cool" | "Archive";
|
|
13
|
-
/**
|
|
14
|
-
* BlobChangeFeedClient.
|
|
15
|
-
* @see https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed?tabs=azure-portal
|
|
16
|
-
*/
|
|
17
|
-
export declare class BlobChangeFeedClient {
|
|
18
|
-
/**
|
|
19
|
-
* blobServiceClient provided by `@azure/storage-blob` package.
|
|
20
|
-
*/
|
|
21
|
-
private blobServiceClient;
|
|
22
|
-
private changeFeedFactory;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* Creates an instance of BlobChangeFeedClient from connection string.
|
|
26
|
-
*
|
|
27
|
-
* @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
|
|
28
|
-
* [ Note - Account connection string can only be used in NODE.JS runtime. ]
|
|
29
|
-
* Account connection string example -
|
|
30
|
-
* `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
|
|
31
|
-
* SAS connection string example -
|
|
32
|
-
* `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
|
|
33
|
-
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
34
|
-
*/
|
|
35
|
-
static fromConnectionString(connectionString: string, options?: StoragePipelineOptions): BlobChangeFeedClient;
|
|
36
|
-
/**
|
|
37
|
-
* Creates an instance of BlobChangeFeedClient.
|
|
38
|
-
*
|
|
39
|
-
* @param url - A Client string pointing to Azure Storage blob service, such as
|
|
40
|
-
* "https://myaccount.blob.core.windows.net". You can append a SAS
|
|
41
|
-
* if using AnonymousCredential, such as "https://myaccount.blob.core.windows.net?sasString".
|
|
42
|
-
* @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
|
|
43
|
-
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
44
|
-
*
|
|
45
|
-
* Example using DefaultAzureCredential from `@azure/identity`:
|
|
46
|
-
*
|
|
47
|
-
* ```js
|
|
48
|
-
* const account = "<storage account name>";
|
|
49
|
-
*
|
|
50
|
-
* const defaultAzureCredential = new DefaultAzureCredential();
|
|
51
|
-
*
|
|
52
|
-
* const blobChangeFeedClient = new BlobChangeFeedClient(
|
|
53
|
-
* `https://${account}.blob.core.windows.net`,
|
|
54
|
-
* defaultAzureCredential
|
|
55
|
-
* );
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* Example using an account name/key:
|
|
59
|
-
*
|
|
60
|
-
* ```js
|
|
61
|
-
* const account = "<storage account name>"
|
|
62
|
-
* const sharedKeyCredential = new StorageSharedKeyCredential(account, "<account key>");
|
|
63
|
-
*
|
|
64
|
-
* const blobChangeFeedClient = new BlobChangeFeedClient(
|
|
65
|
-
* `https://${account}.blob.core.windows.net`,
|
|
66
|
-
* sharedKeyCredential
|
|
67
|
-
* );
|
|
68
|
-
* ```
|
|
69
|
-
*/
|
|
70
|
-
constructor(url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);
|
|
71
|
-
/**
|
|
72
|
-
* Creates an instance of BlobChangeFeedClient.
|
|
73
|
-
*
|
|
74
|
-
* @param url - A Client string pointing to Azure Storage blob service, such as
|
|
75
|
-
* "https://myaccount.blob.core.windows.net". You can append a SAS
|
|
76
|
-
* if using AnonymousCredential, such as "https://myaccount.blob.core.windows.net?sasString".
|
|
77
|
-
* @param pipeline - Call newPipeline() to create a default
|
|
78
|
-
* pipeline, or provide a customized pipeline.
|
|
79
|
-
*/
|
|
80
|
-
constructor(url: string, pipeline: Pipeline);
|
|
81
|
-
private getChange;
|
|
82
|
-
private getPage;
|
|
83
|
-
/**
|
|
84
|
-
* Returns an async iterable iterator to list all the change feed events
|
|
85
|
-
* in the specified account.
|
|
86
|
-
*
|
|
87
|
-
* .byPage() returns an async iterable iterator to list the change feed events in pages.
|
|
88
|
-
*
|
|
89
|
-
* Example using `for await` syntax:
|
|
90
|
-
*
|
|
91
|
-
* ```js
|
|
92
|
-
* let i = 1;
|
|
93
|
-
* for await (const event of blobChangeFeedClient.listChanges()) {
|
|
94
|
-
* console.log(`Event ${i++}, type: ${event.eventType}`);
|
|
95
|
-
* }
|
|
96
|
-
* ```
|
|
97
|
-
*
|
|
98
|
-
* Example using `iter.next()`:
|
|
99
|
-
*
|
|
100
|
-
* ```js
|
|
101
|
-
* let i = 1;
|
|
102
|
-
* const iter = blobChangeFeedClient.listChanges();
|
|
103
|
-
* let eventItem = await iter.next();
|
|
104
|
-
* while (!eventItem.done) {
|
|
105
|
-
* console.log(`Event ${i++}, type: ${eventItem.eventType}`);
|
|
106
|
-
* eventItem = await iter.next();
|
|
107
|
-
* }
|
|
108
|
-
* ```
|
|
109
|
-
*
|
|
110
|
-
* Example using `byPage()`:
|
|
111
|
-
*
|
|
112
|
-
* ```js
|
|
113
|
-
* // passing optional maxPageSize in the page settings
|
|
114
|
-
* let i = 1;
|
|
115
|
-
* for await (const eventPage of blobChangeFeedClient.listChanges().byPage({ maxPageSize: 20 })) {
|
|
116
|
-
* if (eventPage.events) {
|
|
117
|
-
* for (const event of eventPage.events) {
|
|
118
|
-
* console.log(`Event ${i++}, type: ${event.eventType}`);
|
|
119
|
-
* }
|
|
120
|
-
* }
|
|
121
|
-
* }
|
|
122
|
-
* ```
|
|
123
|
-
*
|
|
124
|
-
* Example using paging with a marker:
|
|
125
|
-
*
|
|
126
|
-
* ```js
|
|
127
|
-
* let i = 1;
|
|
128
|
-
* let iterator = blobChangeFeedClient.listChanges().byPage({ maxPageSize: 2 });
|
|
129
|
-
* let eventPage = (await iterator.next()).value;
|
|
130
|
-
*
|
|
131
|
-
* if (eventPage.events) {
|
|
132
|
-
* for (const container of eventPage.events) {
|
|
133
|
-
* console.log(`Event ${i++}, type: ${event.eventType}`);
|
|
134
|
-
* }
|
|
135
|
-
* }
|
|
136
|
-
*
|
|
137
|
-
* // Gets next marker
|
|
138
|
-
* let marker = eventPage.continuationToken;
|
|
139
|
-
* // Passing next marker as continuationToken
|
|
140
|
-
* iterator = blobChangeFeedClient
|
|
141
|
-
* .listChanges()
|
|
142
|
-
* .byPage({ continuationToken: marker, maxPageSize: 10 });
|
|
143
|
-
* eventPage = (await iterator.next()).value;
|
|
144
|
-
*
|
|
145
|
-
* if (eventPage.events) {
|
|
146
|
-
* for (const container of eventPage.events) {
|
|
147
|
-
* console.log(`Event ${i++}, type: ${event.eventType}`);
|
|
148
|
-
* }
|
|
149
|
-
* }
|
|
150
|
-
* ```
|
|
151
|
-
*
|
|
152
|
-
* @param options - Options to list change feed events.
|
|
153
|
-
* @returns An asyncIterableIterator that supports paging.
|
|
154
|
-
*/
|
|
155
|
-
listChanges(options?: BlobChangeFeedListChangesOptions): PagedAsyncIterableIterator<BlobChangeFeedEvent, BlobChangeFeedEventPage>;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Change feed event record. Contains response data for the {@link BlobChangeFeedClient.listChanges} operation.
|
|
159
|
-
* @see https://docs.microsoft.com/en-us/azure/event-grid/event-schema-blob-storage?toc=/azure/storage/blobs/toc.json#event-properties
|
|
160
|
-
*/
|
|
161
|
-
export declare interface BlobChangeFeedEvent {
|
|
162
|
-
/**
|
|
163
|
-
* Full resource path to the event source. This field is not writeable. Event Grid provides this value.
|
|
164
|
-
*/
|
|
165
|
-
topic: string;
|
|
166
|
-
/**
|
|
167
|
-
* Publisher-defined path to the event subject.
|
|
168
|
-
*/
|
|
169
|
-
subject: string;
|
|
170
|
-
/**
|
|
171
|
-
* One of the registered event types for this event source.
|
|
172
|
-
*/
|
|
173
|
-
eventType: BlobChangeFeedEventType;
|
|
174
|
-
/**
|
|
175
|
-
* The time the event is generated based on the provider's UTC time.
|
|
176
|
-
*/
|
|
177
|
-
eventTime: Date;
|
|
178
|
-
/**
|
|
179
|
-
* Unique identifier for the event.
|
|
180
|
-
*/
|
|
181
|
-
id: string;
|
|
182
|
-
/**
|
|
183
|
-
* Blob storage event data.
|
|
184
|
-
*/
|
|
185
|
-
data: BlobChangeFeedEventData;
|
|
186
|
-
/**
|
|
187
|
-
* The schema version of the data object. The publisher defines the schema version.
|
|
188
|
-
*/
|
|
189
|
-
dataVersion?: string;
|
|
190
|
-
/**
|
|
191
|
-
* The schema version of the data object. The publisher defines the schema version.
|
|
192
|
-
*/
|
|
193
|
-
schemaVersion?: number;
|
|
194
|
-
/**
|
|
195
|
-
* The schema version of the event metadata. Event Grid defines the schema of the top-level properties. Event Grid provides this value.
|
|
196
|
-
*/
|
|
197
|
-
metadataVersion: string;
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Change feed Blob storage event data.
|
|
201
|
-
*/
|
|
202
|
-
export declare interface BlobChangeFeedEventData {
|
|
203
|
-
/**
|
|
204
|
-
* The operation that triggered the event.
|
|
205
|
-
*/
|
|
206
|
-
api: string;
|
|
207
|
-
/**
|
|
208
|
-
* A client-provided request id for the storage API operation. This id can be used to
|
|
209
|
-
* correlate to Azure Storage diagnostic logs using the "client-request-id" field in the logs,
|
|
210
|
-
* and can be provided in client requests using the "x-ms-client-request-id" header.
|
|
211
|
-
*/
|
|
212
|
-
clientRequestId: string;
|
|
213
|
-
/**
|
|
214
|
-
* Service-generated request id for the storage API operation. Can be used to correlate to Azure Storage
|
|
215
|
-
* diagnostic logs using the "request-id-header" field in the logs and is returned from initiating API call
|
|
216
|
-
* in the 'x-ms-request-id' header.
|
|
217
|
-
*/
|
|
218
|
-
requestId: string;
|
|
219
|
-
/**
|
|
220
|
-
* The value that you can use to perform operations conditionally.
|
|
221
|
-
*/
|
|
222
|
-
etag: string;
|
|
223
|
-
/**
|
|
224
|
-
* The content type specified for the blob.
|
|
225
|
-
*/
|
|
226
|
-
contentType: string;
|
|
227
|
-
/**
|
|
228
|
-
* The size of the blob in bytes.
|
|
229
|
-
*/
|
|
230
|
-
contentLength: number;
|
|
231
|
-
/**
|
|
232
|
-
* The offset in bytes of a write operation taken at the point where the event-triggering application completed
|
|
233
|
-
* writing to the file.
|
|
234
|
-
* Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
|
|
235
|
-
*/
|
|
236
|
-
contentOffset?: number;
|
|
237
|
-
/**
|
|
238
|
-
* The type of blob.
|
|
239
|
-
*/
|
|
240
|
-
blobType: BlobType;
|
|
241
|
-
/**
|
|
242
|
-
* The path to the blob. If the client uses a Blob REST API, then the url has this structure:
|
|
243
|
-
* <storage-account-name>.blob.core.windows.net/<container-name>/<file-name>.
|
|
244
|
-
*/
|
|
245
|
-
url: string;
|
|
246
|
-
/**
|
|
247
|
-
* The url of the file that will exist after the operation completes. For example, if a file is renamed,
|
|
248
|
-
* the destinationUrl property contains the url of the new file name.
|
|
249
|
-
* Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
|
|
250
|
-
*/
|
|
251
|
-
destinationUrl?: string;
|
|
252
|
-
/**
|
|
253
|
-
* The url of the file that exists prior to the operation. For example, if a file is renamed, the sourceUrl
|
|
254
|
-
* contains the url of the original file name prior to the rename operation.
|
|
255
|
-
* Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
|
|
256
|
-
*/
|
|
257
|
-
sourceUrl?: string;
|
|
258
|
-
/**
|
|
259
|
-
* True to perform the operation on all child directories; otherwise False.
|
|
260
|
-
* Appears only for events triggered on blob storage accounts that have a hierarchical namespace.
|
|
261
|
-
*/
|
|
262
|
-
isRecursive?: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* An opaque string value representing the logical sequence of events for any particular blob name.
|
|
265
|
-
* Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
|
|
266
|
-
*/
|
|
267
|
-
sequencer: string;
|
|
268
|
-
/**
|
|
269
|
-
* Previous info for the blob.
|
|
270
|
-
*/
|
|
271
|
-
previousInfo?: ChangeFeedEventPreviousInfo;
|
|
272
|
-
/**
|
|
273
|
-
* Blob properties that were updated during this event.
|
|
274
|
-
*/
|
|
275
|
-
updatedBlobProperties?: UpdatedBlobProperties;
|
|
276
|
-
/**
|
|
277
|
-
* Blob tags that were updated during this event.
|
|
278
|
-
*/
|
|
279
|
-
updatedBlobTags?: BlobTagsChange;
|
|
280
|
-
/**
|
|
281
|
-
* The Snapshot associated with the event.
|
|
282
|
-
*/
|
|
283
|
-
snapshot?: string;
|
|
284
|
-
/**
|
|
285
|
-
* Version of the blob.
|
|
286
|
-
*/
|
|
287
|
-
blobVersion?: string;
|
|
288
|
-
/**
|
|
289
|
-
* Version of the container the blob is in.
|
|
290
|
-
*/
|
|
291
|
-
containerVersion?: string;
|
|
292
|
-
/**
|
|
293
|
-
* Access Tier of the blob.
|
|
294
|
-
*/
|
|
295
|
-
blobAccessTier?: AccessTier;
|
|
296
|
-
/**
|
|
297
|
-
* AsyncOperationInfo
|
|
298
|
-
*/
|
|
299
|
-
longRunningOperationInfo?: BlobOperationResult;
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* Contains paged response data for the {@link BlobChangeFeedClient.listChanges} operation.
|
|
303
|
-
*/
|
|
304
|
-
export declare class BlobChangeFeedEventPage {
|
|
305
|
-
/**
|
|
306
|
-
* Array of {@link BlobChangeFeedEvent}.
|
|
307
|
-
*/
|
|
308
|
-
events: BlobChangeFeedEvent[];
|
|
309
|
-
/**
|
|
310
|
-
* The token that keeps track of where to continue the iterator.
|
|
311
|
-
*/
|
|
312
|
-
continuationToken: string;
|
|
313
|
-
constructor();
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Change feed event record types.
|
|
317
|
-
*/
|
|
318
|
-
export declare type BlobChangeFeedEventType = "UnspecifiedEventType" | "BlobCreated" | "BlobDeleted" | "BlobPropertiesUpdated" | "BlobSnapshotCreated" | "Control" | "BlobTierChanged" | "BlobAsyncOperationInitiated" | "BlobMetadataUpdated" | "RestorePointMarkerCreated";
|
|
319
|
-
/**
|
|
320
|
-
* Options to configure {@link BlobChangeFeedClient.listChanges} operation.
|
|
321
|
-
*/
|
|
322
|
-
export declare interface BlobChangeFeedListChangesOptions extends CommonOptions {
|
|
323
|
-
/**
|
|
324
|
-
* An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
|
|
325
|
-
* For example, use the @azure/abort-controller to create an `AbortSignal`.
|
|
326
|
-
*/
|
|
327
|
-
abortSignal?: AbortSignalLike;
|
|
328
|
-
/**
|
|
329
|
-
* Specify the start of the time range during which the change feed records will be fetched.
|
|
330
|
-
* Note that for now the change feed client will round start time down to the nearest hour.
|
|
331
|
-
*/
|
|
332
|
-
start?: Date;
|
|
333
|
-
/**
|
|
334
|
-
* Specify the end of the time range during which the change feed records will be fetched.
|
|
335
|
-
* Note that for now the change feed client will round end time up to the nearest hour.
|
|
336
|
-
*/
|
|
337
|
-
end?: Date;
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* ChangeFeedEvent AsyncOperationInfo
|
|
341
|
-
*/
|
|
342
|
-
export declare interface BlobOperationResult {
|
|
343
|
-
/**
|
|
344
|
-
* Destination access tier.
|
|
345
|
-
*/
|
|
346
|
-
destinationAccessTier?: AccessTier;
|
|
347
|
-
/**
|
|
348
|
-
* If the operation was async.
|
|
349
|
-
*/
|
|
350
|
-
isAsync: boolean;
|
|
351
|
-
/**
|
|
352
|
-
* Copy Id.
|
|
353
|
-
*/
|
|
354
|
-
copyId?: string;
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* A blob property that was updated.
|
|
358
|
-
*/
|
|
359
|
-
export declare interface BlobPropertyChange {
|
|
360
|
-
/**
|
|
361
|
-
* The name of the property that was updated.
|
|
362
|
-
*/
|
|
363
|
-
propertyName: string;
|
|
364
|
-
/**
|
|
365
|
-
* The previous value of the property.
|
|
366
|
-
*/
|
|
367
|
-
oldValue: string;
|
|
368
|
-
/**
|
|
369
|
-
* The new value of the property.
|
|
370
|
-
*/
|
|
371
|
-
newValue: string;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Blob tags that were updated as part of the change feed event.
|
|
375
|
-
*/
|
|
376
|
-
export declare interface BlobTagsChange {
|
|
377
|
-
/**
|
|
378
|
-
* Previous Tags.
|
|
379
|
-
*/
|
|
380
|
-
oldTags: Record<string, string>;
|
|
381
|
-
/**
|
|
382
|
-
* New Tags.
|
|
383
|
-
*/
|
|
384
|
-
newTags: Record<string, string>;
|
|
385
|
-
}
|
|
386
|
-
/**
|
|
387
|
-
* The type of blob.
|
|
388
|
-
*/
|
|
389
|
-
export declare type BlobType = "BlockBlob" | "AppendBlob" | "PageBlob";
|
|
390
|
-
/**
|
|
391
|
-
* Previous info for Change Feed Event.
|
|
392
|
-
*/
|
|
393
|
-
export declare interface ChangeFeedEventPreviousInfo {
|
|
394
|
-
/**
|
|
395
|
-
* Soft delete snapshot.
|
|
396
|
-
*/
|
|
397
|
-
softDeleteSnapshot?: string;
|
|
398
|
-
/**
|
|
399
|
-
* If the blob was soft deleted.
|
|
400
|
-
*/
|
|
401
|
-
isBlobSoftDeleted: boolean;
|
|
402
|
-
/**
|
|
403
|
-
* Blob version.
|
|
404
|
-
*/
|
|
405
|
-
newBlobVersion?: string;
|
|
406
|
-
/**
|
|
407
|
-
* Last version.
|
|
408
|
-
*/
|
|
409
|
-
oldBlobVersion?: string;
|
|
410
|
-
/**
|
|
411
|
-
* Previous Access Tier
|
|
412
|
-
*/
|
|
413
|
-
previousTier?: AccessTier;
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* Creates a new Pipeline object with Credential provided.
|
|
417
|
-
*
|
|
418
|
-
* @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
|
|
419
|
-
* @param pipelineOptions - Optional. Options.
|
|
420
|
-
* @returns A new Pipeline object.
|
|
421
|
-
*/
|
|
422
|
-
export declare function newPipeline(credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, pipelineOptions?: StoragePipelineOptions): Pipeline;
|
|
423
|
-
/**
|
|
424
|
-
* Blob properties that were updated during an event.
|
|
425
|
-
*/
|
|
426
|
-
export declare type UpdatedBlobProperties = Record<string, BlobPropertyChange>;
|
|
427
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AvroReadable } from "./AvroReadable";
|
|
2
|
-
import { AbortSignalLike } from "@azure/abort-controller";
|
|
3
|
-
/**
|
|
4
|
-
* Options to configure the AvroParser read methods.
|
|
5
|
-
* See {@link AvroParser.readFixedBytes}, {@link AvroParser.readMap} and etc.
|
|
6
|
-
*/
|
|
7
|
-
interface AvroParserReadOptions {
|
|
8
|
-
/**
|
|
9
|
-
* An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
|
|
10
|
-
* For example, use the @azure/abort-controller to create an `AbortSignal`.
|
|
11
|
-
*/
|
|
12
|
-
abortSignal?: AbortSignalLike;
|
|
13
|
-
}
|
|
14
|
-
export declare class AvroParser {
|
|
15
|
-
/**
|
|
16
|
-
* Reads a fixed number of bytes from the stream.
|
|
17
|
-
*
|
|
18
|
-
* @param stream -
|
|
19
|
-
* @param length -
|
|
20
|
-
* @param options -
|
|
21
|
-
*/
|
|
22
|
-
static readFixedBytes(stream: AvroReadable, length: number, options?: AvroParserReadOptions): Promise<Uint8Array>;
|
|
23
|
-
/**
|
|
24
|
-
* Reads a single byte from the stream.
|
|
25
|
-
*
|
|
26
|
-
* @param stream -
|
|
27
|
-
* @param options -
|
|
28
|
-
*/
|
|
29
|
-
private static readByte;
|
|
30
|
-
private static readZigZagLong;
|
|
31
|
-
static readLong(stream: AvroReadable, options?: AvroParserReadOptions): Promise<number>;
|
|
32
|
-
static readInt(stream: AvroReadable, options?: AvroParserReadOptions): Promise<number>;
|
|
33
|
-
static readNull(): Promise<null>;
|
|
34
|
-
static readBoolean(stream: AvroReadable, options?: AvroParserReadOptions): Promise<boolean>;
|
|
35
|
-
static readFloat(stream: AvroReadable, options?: AvroParserReadOptions): Promise<number>;
|
|
36
|
-
static readDouble(stream: AvroReadable, options?: AvroParserReadOptions): Promise<number>;
|
|
37
|
-
static readBytes(stream: AvroReadable, options?: AvroParserReadOptions): Promise<Uint8Array>;
|
|
38
|
-
static readString(stream: AvroReadable, options?: AvroParserReadOptions): Promise<string>;
|
|
39
|
-
private static readMapPair;
|
|
40
|
-
static readMap<T>(stream: AvroReadable, readItemMethod: (s: AvroReadable, options?: AvroParserReadOptions) => Promise<T>, options?: AvroParserReadOptions): Promise<Record<string, T>>;
|
|
41
|
-
private static readArray;
|
|
42
|
-
}
|
|
43
|
-
export declare abstract class AvroType {
|
|
44
|
-
/**
|
|
45
|
-
* Reads an object from the stream.
|
|
46
|
-
*/
|
|
47
|
-
abstract read(stream: AvroReadable, options?: AvroParserReadOptions): Promise<Object | null>;
|
|
48
|
-
/**
|
|
49
|
-
* Determines the AvroType from the Avro Schema.
|
|
50
|
-
*/
|
|
51
|
-
static fromSchema(schema: string | Object): AvroType;
|
|
52
|
-
private static fromStringSchema;
|
|
53
|
-
private static fromArraySchema;
|
|
54
|
-
private static fromObjectSchema;
|
|
55
|
-
}
|
|
56
|
-
export {};
|
|
57
|
-
//# sourceMappingURL=AvroParser.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AbortSignalLike } from "@azure/abort-controller";
|
|
2
|
-
/**
|
|
3
|
-
* Options to configure the {@link AvroReadable.read} operation.
|
|
4
|
-
*/
|
|
5
|
-
export interface AvroReadableReadOptions {
|
|
6
|
-
/**
|
|
7
|
-
* An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
|
|
8
|
-
* For example, use the @azure/abort-controller to create an `AbortSignal`.
|
|
9
|
-
*/
|
|
10
|
-
abortSignal?: AbortSignalLike;
|
|
11
|
-
}
|
|
12
|
-
export declare abstract class AvroReadable {
|
|
13
|
-
abstract readonly position: number;
|
|
14
|
-
abstract read(size: number, options?: AvroReadableReadOptions): Promise<Uint8Array>;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=AvroReadable.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AvroReadable, AvroReadableReadOptions } from "./AvroReadable";
|
|
2
|
-
export declare class AvroReadableFromBlob extends AvroReadable {
|
|
3
|
-
private _position;
|
|
4
|
-
private _blob;
|
|
5
|
-
constructor(blob: Blob);
|
|
6
|
-
readonly position: number;
|
|
7
|
-
read(size: number, options?: AvroReadableReadOptions): Promise<Uint8Array>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=AvroReadableFromBlob.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { AvroReadable, AvroReadableReadOptions } from "./AvroReadable";
|
|
3
|
-
export declare class AvroReadableFromStream extends AvroReadable {
|
|
4
|
-
private _position;
|
|
5
|
-
private _readable;
|
|
6
|
-
private toUint8Array;
|
|
7
|
-
constructor(readable: NodeJS.ReadableStream);
|
|
8
|
-
readonly position: number;
|
|
9
|
-
read(size: number, options?: AvroReadableReadOptions): Promise<Uint8Array>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=AvroReadableFromStream.d.ts.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AvroReadable } from "./AvroReadable";
|
|
2
|
-
import "@azure/core-paging";
|
|
3
|
-
import { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
-
/**
|
|
5
|
-
* Options to configure the {@link AvroReader.parseObjects} operation.
|
|
6
|
-
*/
|
|
7
|
-
export interface AvroParseOptions {
|
|
8
|
-
/**
|
|
9
|
-
* An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.
|
|
10
|
-
* For example, use the @azure/abort-controller to create an `AbortSignal`.
|
|
11
|
-
*/
|
|
12
|
-
abortSignal?: AbortSignalLike;
|
|
13
|
-
}
|
|
14
|
-
export declare class AvroReader {
|
|
15
|
-
private readonly _dataStream;
|
|
16
|
-
private readonly _headerStream;
|
|
17
|
-
private _syncMarker?;
|
|
18
|
-
private _metadata?;
|
|
19
|
-
private _itemType?;
|
|
20
|
-
private _itemsRemainingInBlock?;
|
|
21
|
-
private readonly _initialBlockOffset;
|
|
22
|
-
private _blockOffset;
|
|
23
|
-
readonly blockOffset: number;
|
|
24
|
-
private _objectIndex;
|
|
25
|
-
readonly objectIndex: number;
|
|
26
|
-
private _initialized;
|
|
27
|
-
constructor(dataStream: AvroReadable);
|
|
28
|
-
constructor(dataStream: AvroReadable, headerStream: AvroReadable, currentBlockOffset: number, indexWithinCurrentBlock: number);
|
|
29
|
-
private initialize;
|
|
30
|
-
hasNext(): boolean;
|
|
31
|
-
parseObjects(options?: AvroParseOptions): AsyncIterableIterator<Record<string, any> | null>;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=AvroReader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blobChangeFeedClient.d.ts","sourceRoot":"","sources":["../../../../samples-dev/blobChangeFeedClient.ts"],"names":[],"mappings":"AAcA,wBAAsB,IAAI,kBAsBzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resumeListChanges.d.ts","sourceRoot":"","sources":["../../../../samples-dev/resumeListChanges.ts"],"names":[],"mappings":"AAcA,wBAAsB,IAAI,kBA4BzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AvroReaderFactory.d.ts","sourceRoot":"","sources":["../../../../src/AvroReaderFactory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE3E;;GAEG;AACH,qBAAa,iBAAiB;IACrB,MAAM,CAAC,mBAAmB,EAAE,YAAY,GAAG,UAAU;IAErD,MAAM,CACX,UAAU,EAAE,YAAY,EACxB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,UAAU;CAcd"}
|