create-leo-app 0.9.3 → 0.9.4
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/package.json +1 -1
- package/template-extension/package.json +1 -1
- package/template-nextjs-ts/node_modules/@types/node/LICENSE +21 -0
- package/template-nextjs-ts/node_modules/@types/node/README.md +15 -0
- package/template-nextjs-ts/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/template-nextjs-ts/node_modules/@types/node/assert.d.ts +1054 -0
- package/template-nextjs-ts/node_modules/@types/node/async_hooks.d.ts +603 -0
- package/template-nextjs-ts/node_modules/@types/node/buffer.buffer.d.ts +463 -0
- package/template-nextjs-ts/node_modules/@types/node/buffer.d.ts +1928 -0
- package/template-nextjs-ts/node_modules/@types/node/child_process.d.ts +1549 -0
- package/template-nextjs-ts/node_modules/@types/node/cluster.d.ts +579 -0
- package/template-nextjs-ts/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/template-nextjs-ts/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/template-nextjs-ts/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/template-nextjs-ts/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/template-nextjs-ts/node_modules/@types/node/console.d.ts +452 -0
- package/template-nextjs-ts/node_modules/@types/node/constants.d.ts +21 -0
- package/template-nextjs-ts/node_modules/@types/node/crypto.d.ts +4509 -0
- package/template-nextjs-ts/node_modules/@types/node/dgram.d.ts +599 -0
- package/template-nextjs-ts/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/template-nextjs-ts/node_modules/@types/node/dns/promises.d.ts +502 -0
- package/template-nextjs-ts/node_modules/@types/node/dns.d.ts +919 -0
- package/template-nextjs-ts/node_modules/@types/node/dom-events.d.ts +99 -0
- package/template-nextjs-ts/node_modules/@types/node/domain.d.ts +170 -0
- package/template-nextjs-ts/node_modules/@types/node/events.d.ts +930 -0
- package/template-nextjs-ts/node_modules/@types/node/fs/promises.d.ts +1273 -0
- package/template-nextjs-ts/node_modules/@types/node/fs.d.ts +4437 -0
- package/template-nextjs-ts/node_modules/@types/node/globals.d.ts +364 -0
- package/template-nextjs-ts/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/template-nextjs-ts/node_modules/@types/node/http.d.ts +2061 -0
- package/template-nextjs-ts/node_modules/@types/node/http2.d.ts +2625 -0
- package/template-nextjs-ts/node_modules/@types/node/https.d.ts +545 -0
- package/template-nextjs-ts/node_modules/@types/node/index.d.ts +92 -0
- package/template-nextjs-ts/node_modules/@types/node/inspector.d.ts +4002 -0
- package/template-nextjs-ts/node_modules/@types/node/module.d.ts +867 -0
- package/template-nextjs-ts/node_modules/@types/node/net.d.ts +1035 -0
- package/template-nextjs-ts/node_modules/@types/node/os.d.ts +495 -0
- package/template-nextjs-ts/node_modules/@types/node/package.json +225 -0
- package/template-nextjs-ts/node_modules/@types/node/path.d.ts +200 -0
- package/template-nextjs-ts/node_modules/@types/node/perf_hooks.d.ts +970 -0
- package/template-nextjs-ts/node_modules/@types/node/process.d.ts +2061 -0
- package/template-nextjs-ts/node_modules/@types/node/punycode.d.ts +117 -0
- package/template-nextjs-ts/node_modules/@types/node/querystring.d.ts +152 -0
- package/template-nextjs-ts/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/template-nextjs-ts/node_modules/@types/node/readline.d.ts +594 -0
- package/template-nextjs-ts/node_modules/@types/node/repl.d.ts +428 -0
- package/template-nextjs-ts/node_modules/@types/node/sea.d.ts +153 -0
- package/template-nextjs-ts/node_modules/@types/node/sqlite.d.ts +680 -0
- package/template-nextjs-ts/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/template-nextjs-ts/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/template-nextjs-ts/node_modules/@types/node/stream/web.d.ts +618 -0
- package/template-nextjs-ts/node_modules/@types/node/stream.d.ts +1668 -0
- package/template-nextjs-ts/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/template-nextjs-ts/node_modules/@types/node/test.d.ts +2175 -0
- package/template-nextjs-ts/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/template-nextjs-ts/node_modules/@types/node/timers.d.ts +287 -0
- package/template-nextjs-ts/node_modules/@types/node/tls.d.ts +1259 -0
- package/template-nextjs-ts/node_modules/@types/node/trace_events.d.ts +197 -0
- package/template-nextjs-ts/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
- package/template-nextjs-ts/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/template-nextjs-ts/node_modules/@types/node/ts5.6/index.d.ts +92 -0
- package/template-nextjs-ts/node_modules/@types/node/tty.d.ts +208 -0
- package/template-nextjs-ts/node_modules/@types/node/url.d.ts +972 -0
- package/template-nextjs-ts/node_modules/@types/node/util.d.ts +2596 -0
- package/template-nextjs-ts/node_modules/@types/node/v8.d.ts +922 -0
- package/template-nextjs-ts/node_modules/@types/node/vm.d.ts +1029 -0
- package/template-nextjs-ts/node_modules/@types/node/wasi.d.ts +181 -0
- package/template-nextjs-ts/node_modules/@types/node/worker_threads.d.ts +769 -0
- package/template-nextjs-ts/node_modules/@types/node/zlib.d.ts +670 -0
- package/template-nextjs-ts/node_modules/undici-types/LICENSE +21 -0
- package/template-nextjs-ts/node_modules/undici-types/README.md +6 -0
- package/template-nextjs-ts/node_modules/undici-types/agent.d.ts +31 -0
- package/template-nextjs-ts/node_modules/undici-types/api.d.ts +43 -0
- package/template-nextjs-ts/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/template-nextjs-ts/node_modules/undici-types/cache.d.ts +36 -0
- package/template-nextjs-ts/node_modules/undici-types/client.d.ts +108 -0
- package/template-nextjs-ts/node_modules/undici-types/connector.d.ts +34 -0
- package/template-nextjs-ts/node_modules/undici-types/content-type.d.ts +21 -0
- package/template-nextjs-ts/node_modules/undici-types/cookies.d.ts +28 -0
- package/template-nextjs-ts/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/template-nextjs-ts/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/template-nextjs-ts/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/template-nextjs-ts/node_modules/undici-types/errors.d.ts +149 -0
- package/template-nextjs-ts/node_modules/undici-types/eventsource.d.ts +61 -0
- package/template-nextjs-ts/node_modules/undici-types/fetch.d.ts +209 -0
- package/template-nextjs-ts/node_modules/undici-types/file.d.ts +39 -0
- package/template-nextjs-ts/node_modules/undici-types/filereader.d.ts +54 -0
- package/template-nextjs-ts/node_modules/undici-types/formdata.d.ts +108 -0
- package/template-nextjs-ts/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/template-nextjs-ts/node_modules/undici-types/global-origin.d.ts +7 -0
- package/template-nextjs-ts/node_modules/undici-types/handlers.d.ts +15 -0
- package/template-nextjs-ts/node_modules/undici-types/header.d.ts +4 -0
- package/template-nextjs-ts/node_modules/undici-types/index.d.ts +71 -0
- package/template-nextjs-ts/node_modules/undici-types/interceptors.d.ts +17 -0
- package/template-nextjs-ts/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/template-nextjs-ts/node_modules/undici-types/mock-client.d.ts +25 -0
- package/template-nextjs-ts/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/template-nextjs-ts/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/template-nextjs-ts/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/template-nextjs-ts/node_modules/undici-types/package.json +55 -0
- package/template-nextjs-ts/node_modules/undici-types/patch.d.ts +33 -0
- package/template-nextjs-ts/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/template-nextjs-ts/node_modules/undici-types/pool.d.ts +39 -0
- package/template-nextjs-ts/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/template-nextjs-ts/node_modules/undici-types/readable.d.ts +65 -0
- package/template-nextjs-ts/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/template-nextjs-ts/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/template-nextjs-ts/node_modules/undici-types/util.d.ts +18 -0
- package/template-nextjs-ts/node_modules/undici-types/webidl.d.ts +228 -0
- package/template-nextjs-ts/node_modules/undici-types/websocket.d.ts +150 -0
- package/template-nextjs-ts/package.json +1 -1
- package/template-node/index.js +1 -1
- package/template-node/package.json +1 -1
- package/template-node-ts/package.json +1 -1
- package/template-node-ts/src/index.ts +1 -1
- package/template-offline-public-transaction-ts/package.json +1 -1
- package/template-react-leo/package.json +1 -1
- package/template-react-managed-worker/package.json +1 -1
- package/template-react-ts/node_modules/@types/node/LICENSE +21 -0
- package/template-react-ts/node_modules/@types/node/README.md +15 -0
- package/template-react-ts/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/template-react-ts/node_modules/@types/node/assert.d.ts +1054 -0
- package/template-react-ts/node_modules/@types/node/async_hooks.d.ts +603 -0
- package/template-react-ts/node_modules/@types/node/buffer.buffer.d.ts +463 -0
- package/template-react-ts/node_modules/@types/node/buffer.d.ts +1928 -0
- package/template-react-ts/node_modules/@types/node/child_process.d.ts +1549 -0
- package/template-react-ts/node_modules/@types/node/cluster.d.ts +579 -0
- package/template-react-ts/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/template-react-ts/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/template-react-ts/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/template-react-ts/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/template-react-ts/node_modules/@types/node/console.d.ts +452 -0
- package/template-react-ts/node_modules/@types/node/constants.d.ts +21 -0
- package/template-react-ts/node_modules/@types/node/crypto.d.ts +4509 -0
- package/template-react-ts/node_modules/@types/node/dgram.d.ts +599 -0
- package/template-react-ts/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/template-react-ts/node_modules/@types/node/dns/promises.d.ts +502 -0
- package/template-react-ts/node_modules/@types/node/dns.d.ts +919 -0
- package/template-react-ts/node_modules/@types/node/dom-events.d.ts +99 -0
- package/template-react-ts/node_modules/@types/node/domain.d.ts +170 -0
- package/template-react-ts/node_modules/@types/node/events.d.ts +930 -0
- package/template-react-ts/node_modules/@types/node/fs/promises.d.ts +1273 -0
- package/template-react-ts/node_modules/@types/node/fs.d.ts +4437 -0
- package/template-react-ts/node_modules/@types/node/globals.d.ts +364 -0
- package/template-react-ts/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/template-react-ts/node_modules/@types/node/http.d.ts +2061 -0
- package/template-react-ts/node_modules/@types/node/http2.d.ts +2625 -0
- package/template-react-ts/node_modules/@types/node/https.d.ts +545 -0
- package/template-react-ts/node_modules/@types/node/index.d.ts +92 -0
- package/template-react-ts/node_modules/@types/node/inspector.d.ts +4002 -0
- package/template-react-ts/node_modules/@types/node/module.d.ts +867 -0
- package/template-react-ts/node_modules/@types/node/net.d.ts +1035 -0
- package/template-react-ts/node_modules/@types/node/os.d.ts +495 -0
- package/template-react-ts/node_modules/@types/node/package.json +225 -0
- package/template-react-ts/node_modules/@types/node/path.d.ts +200 -0
- package/template-react-ts/node_modules/@types/node/perf_hooks.d.ts +970 -0
- package/template-react-ts/node_modules/@types/node/process.d.ts +2061 -0
- package/template-react-ts/node_modules/@types/node/punycode.d.ts +117 -0
- package/template-react-ts/node_modules/@types/node/querystring.d.ts +152 -0
- package/template-react-ts/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/template-react-ts/node_modules/@types/node/readline.d.ts +594 -0
- package/template-react-ts/node_modules/@types/node/repl.d.ts +428 -0
- package/template-react-ts/node_modules/@types/node/sea.d.ts +153 -0
- package/template-react-ts/node_modules/@types/node/sqlite.d.ts +680 -0
- package/template-react-ts/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/template-react-ts/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/template-react-ts/node_modules/@types/node/stream/web.d.ts +618 -0
- package/template-react-ts/node_modules/@types/node/stream.d.ts +1668 -0
- package/template-react-ts/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/template-react-ts/node_modules/@types/node/test.d.ts +2175 -0
- package/template-react-ts/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/template-react-ts/node_modules/@types/node/timers.d.ts +287 -0
- package/template-react-ts/node_modules/@types/node/tls.d.ts +1259 -0
- package/template-react-ts/node_modules/@types/node/trace_events.d.ts +197 -0
- package/template-react-ts/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
- package/template-react-ts/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/template-react-ts/node_modules/@types/node/ts5.6/index.d.ts +92 -0
- package/template-react-ts/node_modules/@types/node/tty.d.ts +208 -0
- package/template-react-ts/node_modules/@types/node/url.d.ts +972 -0
- package/template-react-ts/node_modules/@types/node/util.d.ts +2596 -0
- package/template-react-ts/node_modules/@types/node/v8.d.ts +922 -0
- package/template-react-ts/node_modules/@types/node/vm.d.ts +1029 -0
- package/template-react-ts/node_modules/@types/node/wasi.d.ts +181 -0
- package/template-react-ts/node_modules/@types/node/worker_threads.d.ts +769 -0
- package/template-react-ts/node_modules/@types/node/zlib.d.ts +670 -0
- package/template-react-ts/node_modules/undici-types/LICENSE +21 -0
- package/template-react-ts/node_modules/undici-types/README.md +6 -0
- package/template-react-ts/node_modules/undici-types/agent.d.ts +31 -0
- package/template-react-ts/node_modules/undici-types/api.d.ts +43 -0
- package/template-react-ts/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/template-react-ts/node_modules/undici-types/cache.d.ts +36 -0
- package/template-react-ts/node_modules/undici-types/client.d.ts +108 -0
- package/template-react-ts/node_modules/undici-types/connector.d.ts +34 -0
- package/template-react-ts/node_modules/undici-types/content-type.d.ts +21 -0
- package/template-react-ts/node_modules/undici-types/cookies.d.ts +28 -0
- package/template-react-ts/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/template-react-ts/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/template-react-ts/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/template-react-ts/node_modules/undici-types/errors.d.ts +149 -0
- package/template-react-ts/node_modules/undici-types/eventsource.d.ts +61 -0
- package/template-react-ts/node_modules/undici-types/fetch.d.ts +209 -0
- package/template-react-ts/node_modules/undici-types/file.d.ts +39 -0
- package/template-react-ts/node_modules/undici-types/filereader.d.ts +54 -0
- package/template-react-ts/node_modules/undici-types/formdata.d.ts +108 -0
- package/template-react-ts/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/template-react-ts/node_modules/undici-types/global-origin.d.ts +7 -0
- package/template-react-ts/node_modules/undici-types/handlers.d.ts +15 -0
- package/template-react-ts/node_modules/undici-types/header.d.ts +4 -0
- package/template-react-ts/node_modules/undici-types/index.d.ts +71 -0
- package/template-react-ts/node_modules/undici-types/interceptors.d.ts +17 -0
- package/template-react-ts/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/template-react-ts/node_modules/undici-types/mock-client.d.ts +25 -0
- package/template-react-ts/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/template-react-ts/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/template-react-ts/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/template-react-ts/node_modules/undici-types/package.json +55 -0
- package/template-react-ts/node_modules/undici-types/patch.d.ts +33 -0
- package/template-react-ts/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/template-react-ts/node_modules/undici-types/pool.d.ts +39 -0
- package/template-react-ts/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/template-react-ts/node_modules/undici-types/readable.d.ts +65 -0
- package/template-react-ts/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/template-react-ts/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/template-react-ts/node_modules/undici-types/util.d.ts +18 -0
- package/template-react-ts/node_modules/undici-types/webidl.d.ts +228 -0
- package/template-react-ts/node_modules/undici-types/websocket.d.ts +150 -0
- package/template-react-ts/package.json +1 -1
- package/template-vanilla/package.json +1 -1
- package/template-offline-public-transaction-ts/dist/index.js +0 -195
- package/template-offline-public-transaction-ts/dist/index.js.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The utility consumer functions provide common options for consuming
|
|
3
|
+
* streams.
|
|
4
|
+
* @since v16.7.0
|
|
5
|
+
*/
|
|
6
|
+
declare module "stream/consumers" {
|
|
7
|
+
import { Blob as NodeBlob } from "node:buffer";
|
|
8
|
+
import { ReadableStream as WebReadableStream } from "node:stream/web";
|
|
9
|
+
/**
|
|
10
|
+
* @since v16.7.0
|
|
11
|
+
* @returns Fulfills with an `ArrayBuffer` containing the full contents of the stream.
|
|
12
|
+
*/
|
|
13
|
+
function arrayBuffer(stream: WebReadableStream | NodeJS.ReadableStream | AsyncIterable<any>): Promise<ArrayBuffer>;
|
|
14
|
+
/**
|
|
15
|
+
* @since v16.7.0
|
|
16
|
+
* @returns Fulfills with a `Blob` containing the full contents of the stream.
|
|
17
|
+
*/
|
|
18
|
+
function blob(stream: WebReadableStream | NodeJS.ReadableStream | AsyncIterable<any>): Promise<NodeBlob>;
|
|
19
|
+
/**
|
|
20
|
+
* @since v16.7.0
|
|
21
|
+
* @returns Fulfills with a `Buffer` containing the full contents of the stream.
|
|
22
|
+
*/
|
|
23
|
+
function buffer(stream: WebReadableStream | NodeJS.ReadableStream | AsyncIterable<any>): Promise<Buffer>;
|
|
24
|
+
/**
|
|
25
|
+
* @since v16.7.0
|
|
26
|
+
* @returns Fulfills with the contents of the stream parsed as a
|
|
27
|
+
* UTF-8 encoded string that is then passed through `JSON.parse()`.
|
|
28
|
+
*/
|
|
29
|
+
function json(stream: WebReadableStream | NodeJS.ReadableStream | AsyncIterable<any>): Promise<unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* @since v16.7.0
|
|
32
|
+
* @returns Fulfills with the contents of the stream parsed as a UTF-8 encoded string.
|
|
33
|
+
*/
|
|
34
|
+
function text(stream: WebReadableStream | NodeJS.ReadableStream | AsyncIterable<any>): Promise<string>;
|
|
35
|
+
}
|
|
36
|
+
declare module "node:stream/consumers" {
|
|
37
|
+
export * from "stream/consumers";
|
|
38
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare module "stream/promises" {
|
|
2
|
+
import {
|
|
3
|
+
FinishedOptions as _FinishedOptions,
|
|
4
|
+
PipelineDestination,
|
|
5
|
+
PipelineOptions,
|
|
6
|
+
PipelinePromise,
|
|
7
|
+
PipelineSource,
|
|
8
|
+
PipelineTransform,
|
|
9
|
+
} from "node:stream";
|
|
10
|
+
interface FinishedOptions extends _FinishedOptions {
|
|
11
|
+
/**
|
|
12
|
+
* If true, removes the listeners registered by this function before the promise is fulfilled.
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
cleanup?: boolean | undefined;
|
|
16
|
+
}
|
|
17
|
+
function finished(
|
|
18
|
+
stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
|
|
19
|
+
options?: FinishedOptions,
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
function pipeline<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(
|
|
22
|
+
source: A,
|
|
23
|
+
destination: B,
|
|
24
|
+
options?: PipelineOptions,
|
|
25
|
+
): PipelinePromise<B>;
|
|
26
|
+
function pipeline<
|
|
27
|
+
A extends PipelineSource<any>,
|
|
28
|
+
T1 extends PipelineTransform<A, any>,
|
|
29
|
+
B extends PipelineDestination<T1, any>,
|
|
30
|
+
>(
|
|
31
|
+
source: A,
|
|
32
|
+
transform1: T1,
|
|
33
|
+
destination: B,
|
|
34
|
+
options?: PipelineOptions,
|
|
35
|
+
): PipelinePromise<B>;
|
|
36
|
+
function pipeline<
|
|
37
|
+
A extends PipelineSource<any>,
|
|
38
|
+
T1 extends PipelineTransform<A, any>,
|
|
39
|
+
T2 extends PipelineTransform<T1, any>,
|
|
40
|
+
B extends PipelineDestination<T2, any>,
|
|
41
|
+
>(
|
|
42
|
+
source: A,
|
|
43
|
+
transform1: T1,
|
|
44
|
+
transform2: T2,
|
|
45
|
+
destination: B,
|
|
46
|
+
options?: PipelineOptions,
|
|
47
|
+
): PipelinePromise<B>;
|
|
48
|
+
function pipeline<
|
|
49
|
+
A extends PipelineSource<any>,
|
|
50
|
+
T1 extends PipelineTransform<A, any>,
|
|
51
|
+
T2 extends PipelineTransform<T1, any>,
|
|
52
|
+
T3 extends PipelineTransform<T2, any>,
|
|
53
|
+
B extends PipelineDestination<T3, any>,
|
|
54
|
+
>(
|
|
55
|
+
source: A,
|
|
56
|
+
transform1: T1,
|
|
57
|
+
transform2: T2,
|
|
58
|
+
transform3: T3,
|
|
59
|
+
destination: B,
|
|
60
|
+
options?: PipelineOptions,
|
|
61
|
+
): PipelinePromise<B>;
|
|
62
|
+
function pipeline<
|
|
63
|
+
A extends PipelineSource<any>,
|
|
64
|
+
T1 extends PipelineTransform<A, any>,
|
|
65
|
+
T2 extends PipelineTransform<T1, any>,
|
|
66
|
+
T3 extends PipelineTransform<T2, any>,
|
|
67
|
+
T4 extends PipelineTransform<T3, any>,
|
|
68
|
+
B extends PipelineDestination<T4, any>,
|
|
69
|
+
>(
|
|
70
|
+
source: A,
|
|
71
|
+
transform1: T1,
|
|
72
|
+
transform2: T2,
|
|
73
|
+
transform3: T3,
|
|
74
|
+
transform4: T4,
|
|
75
|
+
destination: B,
|
|
76
|
+
options?: PipelineOptions,
|
|
77
|
+
): PipelinePromise<B>;
|
|
78
|
+
function pipeline(
|
|
79
|
+
streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
|
|
80
|
+
options?: PipelineOptions,
|
|
81
|
+
): Promise<void>;
|
|
82
|
+
function pipeline(
|
|
83
|
+
stream1: NodeJS.ReadableStream,
|
|
84
|
+
stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
|
|
85
|
+
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | PipelineOptions>
|
|
86
|
+
): Promise<void>;
|
|
87
|
+
}
|
|
88
|
+
declare module "node:stream/promises" {
|
|
89
|
+
export * from "stream/promises";
|
|
90
|
+
}
|