@dynatrace-sdk/client-query 1.11.0 → 1.11.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/CHANGELOG.md +6 -0
- package/README.md +50 -46
- package/cjs/index.js +441 -2
- package/docs/DOCS.md +7 -7
- package/esm/index.js +441 -2
- package/package.json +1 -1
- package/types/packages/client/query/src/lib/models/dql-node-node-type.transformation.d.ts +1 -1
- package/types/packages/client/query/src/lib/models/field-type-type.transformation.d.ts +1 -1
- package/types/packages/client/query/src/lib/models/query-state.transformation.d.ts +1 -1
- package/types/packages/client/query/src/lib/models/result-record-value.d.ts +1 -1
- package/types/packages/client/query/src/lib/models/result-record-value.transformation.d.ts +1 -1
- package/types/packages/client/query/src/lib/models/token-type.transformation.d.ts +1 -1
- package/types/packages/client/query/src/lib/utils/url-helpers.d.ts +1 -1
- package/types/packages/http-client/src/lib/platform/abort-controller.d.ts +1 -1
- package/types/packages/http-client/src/lib/platform/abort-signal.d.ts +1 -1
- package/types/packages/http-client/src/lib/platform/decode-form-data.d.ts +48 -0
- package/types/packages/http-client/src/lib/platform/http-client.d.ts +8 -0
- package/types/packages/http-client/src/lib/types/data-types.d.ts +1 -1
- package/types/packages/http-client/src/lib/types/form-data-request-body.d.ts +2 -2
- package/types/packages/http-client/src/lib/types/form-data-response-body.d.ts +2 -2
- package/types/packages/http-client/src/lib/types/request-body-types.d.ts +1 -1
- package/types/packages/http-client/src/lib/types/response-body-types.d.ts +1 -1
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +1 -1
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +1 -1
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +1 -1
|
@@ -76,8 +76,8 @@ export interface BinaryFormDataRequestField {
|
|
|
76
76
|
/**
|
|
77
77
|
* Represents a multipart/form-data field.
|
|
78
78
|
*/
|
|
79
|
-
export
|
|
79
|
+
export type FormDataRequestField = TextFormDataRequestField | JsonFormDataRequestField | BinaryFormDataRequestField;
|
|
80
80
|
/**
|
|
81
81
|
* Represents a multipart/form-data body.
|
|
82
82
|
*/
|
|
83
|
-
export
|
|
83
|
+
export type FormDataRequestBody = Array<FormDataRequestField>;
|
|
@@ -11,5 +11,5 @@ export interface BinaryFormDataResponseField {
|
|
|
11
11
|
filename: string;
|
|
12
12
|
value: Binary;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type FormDataResponseField = TextFormDataResponseField | BinaryFormDataResponseField;
|
|
15
|
+
export type FormDataResponseBody = Array<FormDataResponseField>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DtRuntimeErrorHandlers } from './dt-runtime-error-handlers';
|
|
2
2
|
/** @ignore */
|
|
3
|
-
export
|
|
3
|
+
export type GlobalDtRuntimeWithErrorHandlers = typeof globalThis & {
|
|
4
4
|
dtRuntime?: {
|
|
5
5
|
errorHandlers?: DtRuntimeErrorHandlers;
|
|
6
6
|
};
|
|
@@ -7,4 +7,4 @@ import { SerializedError } from './serialized-error';
|
|
|
7
7
|
* @param {any} error Error to be serialized
|
|
8
8
|
* @returns {TypedError | undefined} Serialized error or nothing
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type GlobalErrorSerializer = (error: any) => Promise<SerializedError | undefined>;
|
|
@@ -5,6 +5,6 @@ import { HttpSerializedError } from './http-serialized-error';
|
|
|
5
5
|
*
|
|
6
6
|
* @property {ErrorType} type error type
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type SerializedError = (HttpSerializedError | CommonSerializedError) & {
|
|
9
9
|
traceId?: string;
|
|
10
10
|
};
|