Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
783 B
Text
22 lines
783 B
Text
import type { ChecksumConstructor } from "./checksum";
|
|
import type { HashConstructor, StreamHasher } from "./crypto";
|
|
import type { BodyLengthCalculator, Encoder } from "./util";
|
|
/**
|
|
* @public
|
|
*/
|
|
export interface GetAwsChunkedEncodingStreamOptions {
|
|
base64Encoder?: Encoder;
|
|
bodyLengthChecker: BodyLengthCalculator;
|
|
checksumAlgorithmFn?: ChecksumConstructor | HashConstructor;
|
|
checksumLocationName?: string;
|
|
streamHasher?: StreamHasher;
|
|
}
|
|
/**
|
|
* @public
|
|
*
|
|
* A function that returns Readable Stream which follows aws-chunked encoding stream.
|
|
* It optionally adds checksum if options are provided.
|
|
*/
|
|
export interface GetAwsChunkedEncodingStream<StreamType = any> {
|
|
(readableStream: StreamType, options: GetAwsChunkedEncodingStreamOptions): StreamType;
|
|
}
|