azure-kusto-ingest 6.0.2 → 7.0.0-alpha.1
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/dist-esm/src/abstractKustoClient.js +8 -15
- package/dist-esm/src/abstractKustoClient.js.map +1 -1
- package/dist-esm/src/columnMappings.js +22 -34
- package/dist-esm/src/columnMappings.js.map +1 -1
- package/dist-esm/src/descriptors.js +15 -27
- package/dist-esm/src/descriptors.js.map +1 -1
- package/dist-esm/src/errors.js +1 -5
- package/dist-esm/src/errors.js.map +1 -1
- package/dist-esm/src/fileDescriptor.browser.js +9 -16
- package/dist-esm/src/fileDescriptor.browser.js.map +1 -1
- package/dist-esm/src/fileDescriptor.js +20 -28
- package/dist-esm/src/fileDescriptor.js.map +1 -1
- package/dist-esm/src/index.js +38 -73
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/ingestClient.browser.js +11 -15
- package/dist-esm/src/ingestClient.browser.js.map +1 -1
- package/dist-esm/src/ingestClient.js +11 -15
- package/dist-esm/src/ingestClient.js.map +1 -1
- package/dist-esm/src/ingestClientBase.js +25 -32
- package/dist-esm/src/ingestClientBase.js.map +1 -1
- package/dist-esm/src/ingestionBlobInfo.js +4 -8
- package/dist-esm/src/ingestionBlobInfo.js.map +1 -1
- package/dist-esm/src/ingestionProperties.js +29 -36
- package/dist-esm/src/ingestionProperties.js.map +1 -1
- package/dist-esm/src/ingestionResult.js +10 -17
- package/dist-esm/src/ingestionResult.js.map +1 -1
- package/dist-esm/src/managedStreamingIngestClient.js +29 -34
- package/dist-esm/src/managedStreamingIngestClient.js.map +1 -1
- package/dist-esm/src/rankedStorageAccount.js +1 -5
- package/dist-esm/src/rankedStorageAccount.js.map +1 -1
- package/dist-esm/src/rankedStorageAccountSet.js +3 -7
- package/dist-esm/src/rankedStorageAccountSet.js.map +1 -1
- package/dist-esm/src/resourceManager.js +24 -31
- package/dist-esm/src/resourceManager.js.map +1 -1
- package/dist-esm/src/retry.js +3 -8
- package/dist-esm/src/retry.js.map +1 -1
- package/dist-esm/src/status.js +6 -11
- package/dist-esm/src/status.js.map +1 -1
- package/dist-esm/src/statusQ.js +3 -7
- package/dist-esm/src/statusQ.js.map +1 -1
- package/dist-esm/src/streamUtils.browser.js +8 -15
- package/dist-esm/src/streamUtils.browser.js.map +1 -1
- package/dist-esm/src/streamUtils.js +18 -28
- package/dist-esm/src/streamUtils.js.map +1 -1
- package/dist-esm/src/streamingIngestClient.browser.js +9 -11
- package/dist-esm/src/streamingIngestClient.browser.js.map +1 -1
- package/dist-esm/src/streamingIngestClient.js +12 -17
- package/dist-esm/src/streamingIngestClient.js.map +1 -1
- package/dist-esm/src/streamingIngestClientBase.js +7 -11
- package/dist-esm/src/streamingIngestClientBase.js.map +1 -1
- package/package.json +11 -6
- package/types/src/abstractKustoClient.d.ts +2 -2
- package/types/src/columnMappings.d.ts +1 -1
- package/types/src/descriptors.d.ts +1 -2
- package/types/src/fileDescriptor.browser.d.ts +2 -2
- package/types/src/fileDescriptor.d.ts +2 -2
- package/types/src/index.d.ts +13 -13
- package/types/src/ingestClient.browser.d.ts +5 -5
- package/types/src/ingestClient.d.ts +5 -6
- package/types/src/ingestClientBase.d.ts +5 -5
- package/types/src/ingestionBlobInfo.d.ts +3 -3
- package/types/src/ingestionProperties.d.ts +1 -1
- package/types/src/managedStreamingIngestClient.d.ts +5 -6
- package/types/src/rankedStorageAccountSet.d.ts +1 -1
- package/types/src/status.d.ts +2 -2
- package/types/src/statusQ.d.ts +2 -2
- package/types/src/streamUtils.browser.d.ts +2 -3
- package/types/src/streamUtils.d.ts +2 -3
- package/types/src/streamingIngestClient.browser.d.ts +4 -4
- package/types/src/streamingIngestClient.d.ts +4 -5
- package/types/src/streamingIngestClientBase.d.ts +3 -3
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import { IngestionPropertiesInput } from "./ingestionProperties";
|
|
1
|
+
import { IngestionPropertiesInput } from "./ingestionProperties.js";
|
|
3
2
|
import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data";
|
|
4
3
|
import { Readable } from "stream";
|
|
5
|
-
import { AbstractKustoClient } from "./abstractKustoClient";
|
|
6
|
-
import { AbstractDescriptor, BlobDescriptor, StreamDescriptor } from "./descriptors";
|
|
7
|
-
import { FileDescriptor } from "./fileDescriptor";
|
|
8
|
-
import { IngestionResult } from "./ingestionResult";
|
|
4
|
+
import { AbstractKustoClient } from "./abstractKustoClient.js";
|
|
5
|
+
import { AbstractDescriptor, BlobDescriptor, StreamDescriptor } from "./descriptors.js";
|
|
6
|
+
import { FileDescriptor } from "./fileDescriptor.js";
|
|
7
|
+
import { IngestionResult } from "./ingestionResult.js";
|
|
9
8
|
declare class KustoManagedStreamingIngestClient extends AbstractKustoClient {
|
|
10
9
|
private streamingIngestClient;
|
|
11
10
|
private queuedIngestClient;
|
package/types/src/status.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StatusQueue } from "./statusQ";
|
|
2
|
-
import KustoIngestClient from "./ingestClient";
|
|
1
|
+
import { StatusQueue } from "./statusQ.js";
|
|
2
|
+
import KustoIngestClient from "./ingestClient.js";
|
|
3
3
|
export declare class StatusMessage {
|
|
4
4
|
OperationId?: string;
|
|
5
5
|
Database?: string;
|
package/types/src/statusQ.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PeekedMessageItem, QueueClient } from "@azure/storage-queue";
|
|
2
|
-
import { ResourceURI } from "./resourceManager";
|
|
3
|
-
import { StatusMessage } from "./status";
|
|
2
|
+
import { ResourceURI } from "./resourceManager.js";
|
|
3
|
+
import { StatusMessage } from "./status.js";
|
|
4
4
|
declare class QueueDetails {
|
|
5
5
|
readonly name: string;
|
|
6
6
|
readonly service: QueueClient;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { FileDescriptor } from "./fileDescriptor.browser";
|
|
1
|
+
import { StreamDescriptor } from "./descriptors.js";
|
|
2
|
+
import { FileDescriptor } from "./fileDescriptor.browser.js";
|
|
4
3
|
export declare const fileToStream: (file: FileDescriptor) => Promise<StreamDescriptor>;
|
|
5
4
|
export declare const tryFileToBuffer: (file: FileDescriptor) => Promise<StreamDescriptor>;
|
|
6
5
|
export declare const tryStreamToArray: (stream: any) => Promise<Buffer>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Readable } from "stream";
|
|
3
|
-
import { StreamDescriptor } from "./descriptors";
|
|
4
|
-
import { FileDescriptor } from "./fileDescriptor";
|
|
2
|
+
import { StreamDescriptor } from "./descriptors.js";
|
|
3
|
+
import { FileDescriptor } from "./fileDescriptor.js";
|
|
5
4
|
export declare const fileToStream: (fileDescriptor: FileDescriptor) => Promise<StreamDescriptor>;
|
|
6
5
|
export declare const tryFileToBuffer: (fileDescriptor: FileDescriptor) => Promise<StreamDescriptor>;
|
|
7
6
|
export declare const tryStreamToArray: (stream: Readable, maxBufferSize: number) => Promise<Buffer | Readable>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IngestionPropertiesInput } from "./ingestionProperties";
|
|
1
|
+
import { IngestionPropertiesInput } from "./ingestionProperties.js";
|
|
2
2
|
import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data";
|
|
3
|
-
import { StreamDescriptor } from "./descriptors";
|
|
4
|
-
import { FileDescriptor } from "./fileDescriptor.browser";
|
|
5
|
-
import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase";
|
|
3
|
+
import { StreamDescriptor } from "./descriptors.js";
|
|
4
|
+
import { FileDescriptor } from "./fileDescriptor.browser.js";
|
|
5
|
+
import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase.js";
|
|
6
6
|
declare class KustoStreamingIngestClient extends KustoStreamingIngestClientBase {
|
|
7
7
|
constructor(kcsb: string | KustoConnectionStringBuilder, defaultProps?: IngestionPropertiesInput, autoCorrectEndpoint?: boolean);
|
|
8
8
|
/**
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import { IngestionPropertiesInput } from "./ingestionProperties";
|
|
1
|
+
import { IngestionPropertiesInput } from "./ingestionProperties.js";
|
|
3
2
|
import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data";
|
|
4
3
|
import { Readable } from "stream";
|
|
5
|
-
import { StreamDescriptor } from "./descriptors";
|
|
6
|
-
import { FileDescriptor } from "./fileDescriptor";
|
|
7
|
-
import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase";
|
|
4
|
+
import { StreamDescriptor } from "./descriptors.js";
|
|
5
|
+
import { FileDescriptor } from "./fileDescriptor.js";
|
|
6
|
+
import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase.js";
|
|
8
7
|
declare class KustoStreamingIngestClient extends KustoStreamingIngestClientBase {
|
|
9
8
|
constructor(kcsb: string | KustoConnectionStringBuilder, defaultProps?: IngestionPropertiesInput, autoCorrectEndpoint?: boolean);
|
|
10
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IngestionPropertiesInput } from "./ingestionProperties";
|
|
2
|
-
import { BlobDescriptor } from "./descriptors";
|
|
3
|
-
import { AbstractKustoClient } from "./abstractKustoClient";
|
|
1
|
+
import { IngestionPropertiesInput } from "./ingestionProperties.js";
|
|
2
|
+
import { BlobDescriptor } from "./descriptors.js";
|
|
3
|
+
import { AbstractKustoClient } from "./abstractKustoClient.js";
|
|
4
4
|
import { Client as KustoClient, KustoConnectionStringBuilder } from "azure-kusto-data";
|
|
5
5
|
export declare abstract class KustoStreamingIngestClientBase extends AbstractKustoClient {
|
|
6
6
|
protected kustoClient: KustoClient;
|