@aws-sdk/types
Advanced tools
Comparing version 3.186.0 to 3.188.0
@@ -78,1 +78,24 @@ import { Endpoint } from "./http"; | ||
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin; | ||
/** | ||
* Indicates that any members of type T | ||
* that were of type T[StreamKey] have been extended | ||
* with the SdkStreamMixin helper methods. | ||
*/ | ||
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = { | ||
[key in keyof T]: T[key] extends T[StreamKey] ? SdkStream<T[StreamKey]> : T[key]; | ||
}; | ||
/** | ||
* Interface for internal function to inject stream utility functions | ||
* implementation | ||
* | ||
* @internal | ||
*/ | ||
export interface SdkStreamMixinInjector { | ||
(stream: unknown): SdkStreamMixin; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export interface SdkStreamSerdeContext { | ||
sdkStreamMixin: SdkStreamMixinInjector; | ||
} |
@@ -41,1 +41,12 @@ import { Endpoint } from "./http"; | ||
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin; | ||
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = { | ||
[key in keyof T]: T[key] extends T[StreamKey] | ||
? SdkStream<T[StreamKey]> | ||
: T[key]; | ||
}; | ||
export interface SdkStreamMixinInjector { | ||
(stream: unknown): SdkStreamMixin; | ||
} | ||
export interface SdkStreamSerdeContext { | ||
sdkStreamMixin: SdkStreamMixinInjector; | ||
} |
{ | ||
"name": "@aws-sdk/types", | ||
"version": "3.186.0", | ||
"version": "3.188.0", | ||
"main": "./dist-cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist-es/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
174739
2224