@graphrefly/graphrefly 0.24.0 → 0.26.0
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/README.md +8 -0
- package/dist/{chunk-QOWVNWOC.js → chunk-3ZWCKRHX.js} +27 -25
- package/dist/{chunk-QOWVNWOC.js.map → chunk-3ZWCKRHX.js.map} +1 -1
- package/dist/chunk-6LDQFTYS.js +102 -0
- package/dist/chunk-6LDQFTYS.js.map +1 -0
- package/dist/{chunk-5WGT55R4.js → chunk-AMCG74RZ.js} +195 -24
- package/dist/chunk-AMCG74RZ.js.map +1 -0
- package/dist/{chunk-AOCBDH4T.js → chunk-BVZYTZ5H.js} +76 -103
- package/dist/chunk-BVZYTZ5H.js.map +1 -0
- package/dist/chunk-FQMKGR6L.js +330 -0
- package/dist/chunk-FQMKGR6L.js.map +1 -0
- package/dist/chunk-HXZEYDUR.js +94 -0
- package/dist/chunk-HXZEYDUR.js.map +1 -0
- package/dist/{chunk-IPLKX3L2.js → chunk-IZYUSJC7.js} +16 -14
- package/dist/{chunk-IPLKX3L2.js.map → chunk-IZYUSJC7.js.map} +1 -1
- package/dist/chunk-J22W6HV3.js +107 -0
- package/dist/chunk-J22W6HV3.js.map +1 -0
- package/dist/{chunk-HWPIFSW2.js → chunk-JSCT3CR4.js} +6 -4
- package/dist/{chunk-HWPIFSW2.js.map → chunk-JSCT3CR4.js.map} +1 -1
- package/dist/chunk-JYXEWPH4.js +62 -0
- package/dist/chunk-JYXEWPH4.js.map +1 -0
- package/dist/chunk-LCE3GF5P.js +866 -0
- package/dist/chunk-LCE3GF5P.js.map +1 -0
- package/dist/chunk-MJ2NKQQL.js +119 -0
- package/dist/chunk-MJ2NKQQL.js.map +1 -0
- package/dist/chunk-N6UR7YVY.js +198 -0
- package/dist/chunk-N6UR7YVY.js.map +1 -0
- package/dist/chunk-OHISZPOJ.js +97 -0
- package/dist/chunk-OHISZPOJ.js.map +1 -0
- package/dist/{chunk-5DJTTKX3.js → chunk-PHOUUNK7.js} +74 -111
- package/dist/chunk-PHOUUNK7.js.map +1 -0
- package/dist/{chunk-PY4XCDLR.js → chunk-RB6QPHJ7.js} +8 -6
- package/dist/{chunk-PY4XCDLR.js.map → chunk-RB6QPHJ7.js.map} +1 -1
- package/dist/chunk-SN4YWWYO.js +171 -0
- package/dist/chunk-SN4YWWYO.js.map +1 -0
- package/dist/chunk-SX52TAR4.js +110 -0
- package/dist/chunk-SX52TAR4.js.map +1 -0
- package/dist/{chunk-XOFWRC73.js → chunk-THTWHNU4.js} +319 -24
- package/dist/chunk-THTWHNU4.js.map +1 -0
- package/dist/{chunk-H4RVA4VE.js → chunk-VYPWMZ6H.js} +2 -2
- package/dist/chunk-XGPU467M.js +136 -0
- package/dist/chunk-XGPU467M.js.map +1 -0
- package/dist/{chunk-TDEXAMGO.js → chunk-ZQMEI34O.js} +206 -574
- package/dist/chunk-ZQMEI34O.js.map +1 -0
- package/dist/compat/index.cjs +7656 -0
- package/dist/compat/index.cjs.map +1 -0
- package/dist/compat/index.d.cts +18 -0
- package/dist/compat/index.d.ts +18 -0
- package/dist/compat/index.js +49 -0
- package/dist/compat/index.js.map +1 -0
- package/dist/compat/jotai/index.cjs +2048 -0
- package/dist/compat/jotai/index.cjs.map +1 -0
- package/dist/compat/jotai/index.d.cts +2 -0
- package/dist/compat/jotai/index.d.ts +2 -0
- package/dist/compat/jotai/index.js +9 -0
- package/dist/compat/jotai/index.js.map +1 -0
- package/dist/compat/nanostores/index.cjs +2175 -0
- package/dist/compat/nanostores/index.cjs.map +1 -0
- package/dist/compat/nanostores/index.d.cts +2 -0
- package/dist/compat/nanostores/index.d.ts +2 -0
- package/dist/compat/nanostores/index.js +23 -0
- package/dist/compat/nanostores/index.js.map +1 -0
- package/dist/compat/nestjs/index.cjs +350 -16
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +6 -6
- package/dist/compat/nestjs/index.d.ts +6 -6
- package/dist/compat/nestjs/index.js +10 -9
- package/dist/compat/react/index.cjs +141 -0
- package/dist/compat/react/index.cjs.map +1 -0
- package/dist/compat/react/index.d.cts +2 -0
- package/dist/compat/react/index.d.ts +2 -0
- package/dist/compat/react/index.js +12 -0
- package/dist/compat/react/index.js.map +1 -0
- package/dist/compat/solid/index.cjs +128 -0
- package/dist/compat/solid/index.cjs.map +1 -0
- package/dist/compat/solid/index.d.cts +2 -0
- package/dist/compat/solid/index.d.ts +2 -0
- package/dist/compat/solid/index.js +12 -0
- package/dist/compat/solid/index.js.map +1 -0
- package/dist/compat/svelte/index.cjs +131 -0
- package/dist/compat/svelte/index.cjs.map +1 -0
- package/dist/compat/svelte/index.d.cts +2 -0
- package/dist/compat/svelte/index.d.ts +2 -0
- package/dist/compat/svelte/index.js +12 -0
- package/dist/compat/svelte/index.js.map +1 -0
- package/dist/compat/vue/index.cjs +146 -0
- package/dist/compat/vue/index.cjs.map +1 -0
- package/dist/compat/vue/index.d.cts +3 -0
- package/dist/compat/vue/index.d.ts +3 -0
- package/dist/compat/vue/index.js +12 -0
- package/dist/compat/vue/index.js.map +1 -0
- package/dist/compat/zustand/index.cjs +4931 -0
- package/dist/compat/zustand/index.cjs.map +1 -0
- package/dist/compat/zustand/index.d.cts +5 -0
- package/dist/compat/zustand/index.d.ts +5 -0
- package/dist/compat/zustand/index.js +12 -0
- package/dist/compat/zustand/index.js.map +1 -0
- package/dist/core/index.cjs +53 -4
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +26 -24
- package/dist/demo-shell-26p5fVxn.d.cts +102 -0
- package/dist/demo-shell-DEp-nMTl.d.ts +102 -0
- package/dist/extra/index.cjs +290 -110
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +5 -4
- package/dist/extra/index.d.ts +5 -4
- package/dist/extra/index.js +8 -5
- package/dist/extra/sources.cjs +2486 -0
- package/dist/extra/sources.cjs.map +1 -0
- package/dist/extra/sources.d.cts +465 -0
- package/dist/extra/sources.d.ts +465 -0
- package/dist/extra/sources.js +57 -0
- package/dist/extra/sources.js.map +1 -0
- package/dist/graph/index.cjs +408 -14
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +5 -5
- package/dist/graph/index.d.ts +5 -5
- package/dist/graph/index.js +13 -5
- package/dist/{graph-D-3JIQme.d.cts → graph-6tZ5jEzr.d.cts} +195 -4
- package/dist/{graph-B6NFqv3z.d.ts → graph-DQ69XU0g.d.ts} +195 -4
- package/dist/index-B4MP_8V_.d.cts +37 -0
- package/dist/index-BEfE8H_G.d.cts +121 -0
- package/dist/{index-D7XgsUt7.d.ts → index-BW1z3BN9.d.ts} +169 -127
- package/dist/index-BYOHF0zP.d.ts +34 -0
- package/dist/index-B_IP40nB.d.cts +36 -0
- package/dist/index-Bd_fwmLf.d.cts +45 -0
- package/dist/{index-BysCTzJz.d.ts → index-BeIdBfcb.d.cts} +121 -547
- package/dist/index-BjI6ty9z.d.ts +121 -0
- package/dist/index-Bxb5ZYc9.d.cts +34 -0
- package/dist/{index-BJB7t9gg.d.cts → index-C0ZXMaXO.d.cts} +2 -2
- package/dist/{index-b5BYtczN.d.cts → index-C8mdwMXc.d.cts} +169 -127
- package/dist/index-CDAjUFIv.d.ts +36 -0
- package/dist/index-CPgZ5wRl.d.ts +44 -0
- package/dist/{index-AMWewNDe.d.cts → index-CUwyr1Kk.d.cts} +33 -4
- package/dist/index-CUyrtuOf.d.cts +127 -0
- package/dist/{index-C-TXEa7C.d.ts → index-CY2TljO4.d.ts} +2 -2
- package/dist/index-CmnuOibw.d.ts +37 -0
- package/dist/{index-DiobMNwE.d.ts → index-CuYwdKO-.d.ts} +3 -3
- package/dist/index-DFhjO4Gg.d.cts +44 -0
- package/dist/{index-1z8vRTCt.d.cts → index-DdD5MVDL.d.ts} +121 -547
- package/dist/index-DrISNAOm.d.ts +45 -0
- package/dist/index-QBpffFW-.d.cts +86 -0
- package/dist/{index-J7Kc0oIQ.d.cts → index-_oMEWlDq.d.cts} +3 -3
- package/dist/{index-CYkjxu3s.d.ts → index-eJ6T_qGM.d.ts} +33 -4
- package/dist/index-qldRdbQw.d.ts +86 -0
- package/dist/index-xdGjv0nO.d.ts +127 -0
- package/dist/index.cjs +2334 -195
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1007 -648
- package/dist/index.d.ts +1007 -648
- package/dist/index.js +1204 -1172
- package/dist/index.js.map +1 -1
- package/dist/{meta-CnkLA_43.d.ts → meta-BGqSZ7mt.d.ts} +1 -1
- package/dist/{meta-DWbkoq1s.d.cts → meta-C0-8XW6Q.d.cts} +1 -1
- package/dist/{node-B-f-Lu-k.d.cts → node-C_IBuvX2.d.cts} +26 -1
- package/dist/{node-B-f-Lu-k.d.ts → node-C_IBuvX2.d.ts} +26 -1
- package/dist/{observable-DBnrwcar.d.cts → observable-Crr1jgzx.d.cts} +1 -1
- package/dist/{observable-uP-wy_uK.d.ts → observable-DCk45RH5.d.ts} +1 -1
- package/dist/patterns/demo-shell.cjs +5604 -0
- package/dist/patterns/demo-shell.cjs.map +1 -0
- package/dist/patterns/demo-shell.d.cts +6 -0
- package/dist/patterns/demo-shell.d.ts +6 -0
- package/dist/patterns/demo-shell.js +15 -0
- package/dist/patterns/demo-shell.js.map +1 -0
- package/dist/patterns/reactive-layout/index.cjs +843 -29
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +6 -5
- package/dist/patterns/reactive-layout/index.d.ts +6 -5
- package/dist/patterns/reactive-layout/index.js +25 -10
- package/dist/reactive-layout-BaOQefHu.d.cts +183 -0
- package/dist/reactive-layout-D9gejYXE.d.ts +183 -0
- package/dist/{storage-BuTdpCI1.d.cts → storage-BMycWEh2.d.ts} +9 -1
- package/dist/{storage-F2X1U1x0.d.ts → storage-DiqWHzVI.d.cts} +9 -1
- package/package.json +32 -2
- package/dist/chunk-5DJTTKX3.js.map +0 -1
- package/dist/chunk-5WGT55R4.js.map +0 -1
- package/dist/chunk-AOCBDH4T.js.map +0 -1
- package/dist/chunk-MW4VAKAO.js +0 -47
- package/dist/chunk-MW4VAKAO.js.map +0 -1
- package/dist/chunk-TDEXAMGO.js.map +0 -1
- package/dist/chunk-XOFWRC73.js.map +0 -1
- /package/dist/{chunk-H4RVA4VE.js.map → chunk-VYPWMZ6H.js.map} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { a as NodeOptions, N as Node, M as Message, t as Messages, a6 as VersioningLevel } from './node-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { a as NodeOptions, N as Node, M as Message, t as Messages, a6 as VersioningLevel } from './node-C_IBuvX2.cjs';
|
|
2
|
+
import { AsyncSourceOpts, NodeInput, EventTargetLike, FromCronOptions, ReactiveCounterBundle, cached, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './extra/sources.cjs';
|
|
3
|
+
import { a as StorageTier, I as IndexedDbStorageSpec, S as StorageHandle, d as dictStorage, f as fileStorage, b as fromIDBRequest, c as fromIDBTransaction, i as indexedDbStorage, m as memoryStorage, s as sqliteStorage } from './storage-DiqWHzVI.cjs';
|
|
4
|
+
import { T as ToObservableOptions, t as toObservable } from './observable-Crr1jgzx.cjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* External-register helpers — the common `register({emit, error, complete})`
|
|
@@ -800,466 +801,6 @@ declare function fallback<T>(source: Node<T>, fb: FallbackInput<T>): Node<T>;
|
|
|
800
801
|
*/
|
|
801
802
|
declare function timeout<T>(source: Node<T>, timeoutNs: number): Node<T>;
|
|
802
803
|
|
|
803
|
-
/**
|
|
804
|
-
* Core reactive sources, sinks, and utilities (roadmap §2.3).
|
|
805
|
-
*
|
|
806
|
-
* Each API returns a {@link Node} built with {@link node}, {@link producer},
|
|
807
|
-
* {@link derived}, or {@link effect} — no second protocol.
|
|
808
|
-
*
|
|
809
|
-
* Protocol/system/ingest adapters (fromHTTP, fromWebSocket, fromKafka, etc.)
|
|
810
|
-
* live in {@link ./adapters.ts}.
|
|
811
|
-
*/
|
|
812
|
-
|
|
813
|
-
type ExtraOpts$2 = Omit<NodeOptions<unknown>, "describeKind">;
|
|
814
|
-
/** Options for {@link fromTimer} / {@link fromPromise} / {@link fromAsyncIter}. */
|
|
815
|
-
type AsyncSourceOpts = ExtraOpts$2 & {
|
|
816
|
-
signal?: AbortSignal;
|
|
817
|
-
};
|
|
818
|
-
/**
|
|
819
|
-
* Values accepted by {@link fromAny}.
|
|
820
|
-
*
|
|
821
|
-
* @category extra
|
|
822
|
-
*/
|
|
823
|
-
type NodeInput<T> = Node<T> | PromiseLike<T> | AsyncIterable<T> | Iterable<T> | T;
|
|
824
|
-
/** Options for {@link fromCron}. */
|
|
825
|
-
type FromCronOptions = ExtraOpts$2 & {
|
|
826
|
-
/** Polling interval in ms. Default `60_000`. */
|
|
827
|
-
tickMs?: number;
|
|
828
|
-
/** Output format: `"timestamp_ns"` (default) emits wall-clock nanoseconds; `"date"` emits a `Date` object. */
|
|
829
|
-
output?: "timestamp_ns" | "date";
|
|
830
|
-
};
|
|
831
|
-
/** DOM-style event target (browser or `node:events`). */
|
|
832
|
-
type EventTargetLike = {
|
|
833
|
-
addEventListener(type: string, listener: (ev: unknown) => void, options?: boolean | {
|
|
834
|
-
capture?: boolean;
|
|
835
|
-
passive?: boolean;
|
|
836
|
-
once?: boolean;
|
|
837
|
-
}): void;
|
|
838
|
-
removeEventListener(type: string, listener: (ev: unknown) => void, options?: boolean | {
|
|
839
|
-
capture?: boolean;
|
|
840
|
-
passive?: boolean;
|
|
841
|
-
once?: boolean;
|
|
842
|
-
}): void;
|
|
843
|
-
};
|
|
844
|
-
type FSEventType = "change" | "rename" | "create" | "delete";
|
|
845
|
-
type FSEvent = {
|
|
846
|
-
type: FSEventType;
|
|
847
|
-
path: string;
|
|
848
|
-
root: string;
|
|
849
|
-
relative_path: string;
|
|
850
|
-
src_path?: string;
|
|
851
|
-
dest_path?: string;
|
|
852
|
-
timestamp_ns: number;
|
|
853
|
-
};
|
|
854
|
-
type FromFSWatchOptions = ExtraOpts$2 & {
|
|
855
|
-
recursive?: boolean;
|
|
856
|
-
debounce?: number;
|
|
857
|
-
include?: string[];
|
|
858
|
-
exclude?: string[];
|
|
859
|
-
};
|
|
860
|
-
/** @internal Shared with adapters.ts for glob matching in fromFSWatch / fromGitHook. */
|
|
861
|
-
declare function escapeRegexChar(ch: string): string;
|
|
862
|
-
/** @internal */
|
|
863
|
-
declare function globToRegExp(glob: string): RegExp;
|
|
864
|
-
/** @internal */
|
|
865
|
-
declare function matchesAnyPattern(path: string, patterns: RegExp[]): boolean;
|
|
866
|
-
/**
|
|
867
|
-
* Builds a timer-driven source: one-shot (first tick then `COMPLETE`) or periodic (`0`, `1`, `2`, …).
|
|
868
|
-
*
|
|
869
|
-
* @param ms - Milliseconds before the first emission.
|
|
870
|
-
* @param opts - Producer options plus optional `period` for repeating ticks and optional `signal` (`AbortSignal`) to cancel with `ERROR`.
|
|
871
|
-
* @returns `Node<number>` — tick counter from `0`; teardown clears timers.
|
|
872
|
-
*
|
|
873
|
-
* @example
|
|
874
|
-
* ```ts
|
|
875
|
-
* import { fromTimer } from "@graphrefly/graphrefly-ts";
|
|
876
|
-
*
|
|
877
|
-
* fromTimer(250, { period: 1_000 });
|
|
878
|
-
* ```
|
|
879
|
-
*
|
|
880
|
-
* @category extra
|
|
881
|
-
*/
|
|
882
|
-
declare function fromTimer(ms: number, opts?: AsyncSourceOpts & {
|
|
883
|
-
period?: number;
|
|
884
|
-
}): Node<number>;
|
|
885
|
-
/**
|
|
886
|
-
* Polls on an interval; when the current minute matches a 5-field cron expression, emits once (see {@link parseCron}).
|
|
887
|
-
*
|
|
888
|
-
* @param expr - Cron string (`min hour dom month dow`).
|
|
889
|
-
* @param opts - Producer options plus `tickMs` (default `60_000`) and `output` (`timestamp_ns` default, or `date` for `Date` values).
|
|
890
|
-
* @returns `Node<number>` (nanosecond timestamp) or `Node<Date>` when `output: "date"`.
|
|
891
|
-
*
|
|
892
|
-
* @example
|
|
893
|
-
* ```ts
|
|
894
|
-
* import { fromCron } from "@graphrefly/graphrefly-ts";
|
|
895
|
-
*
|
|
896
|
-
* fromCron("0 9 * * 1");
|
|
897
|
-
* ```
|
|
898
|
-
*
|
|
899
|
-
* @category extra
|
|
900
|
-
*/
|
|
901
|
-
declare function fromCron(expr: string, opts?: FromCronOptions & {
|
|
902
|
-
output: "date";
|
|
903
|
-
}): Node<Date>;
|
|
904
|
-
declare function fromCron(expr: string, opts?: FromCronOptions): Node<number>;
|
|
905
|
-
/**
|
|
906
|
-
* Wraps a DOM-style `addEventListener` target; each event becomes a `DATA` emission.
|
|
907
|
-
*
|
|
908
|
-
* @param target - Object with `addEventListener` / `removeEventListener`.
|
|
909
|
-
* @param type - Event name (e.g. `"click"`).
|
|
910
|
-
* @param opts - Producer options plus listener options (`capture`, `passive`, `once`).
|
|
911
|
-
* @returns `Node<T>` — event payloads; teardown removes the listener.
|
|
912
|
-
*
|
|
913
|
-
* @example
|
|
914
|
-
* ```ts
|
|
915
|
-
* import { fromEvent } from "@graphrefly/graphrefly-ts";
|
|
916
|
-
*
|
|
917
|
-
* fromEvent(document.body, "click");
|
|
918
|
-
* ```
|
|
919
|
-
*
|
|
920
|
-
* @category extra
|
|
921
|
-
*/
|
|
922
|
-
declare function fromEvent<T = unknown>(target: EventTargetLike, type: string, opts?: ExtraOpts$2 & {
|
|
923
|
-
capture?: boolean;
|
|
924
|
-
passive?: boolean;
|
|
925
|
-
once?: boolean;
|
|
926
|
-
}): Node<T>;
|
|
927
|
-
/**
|
|
928
|
-
* Watches filesystem paths and emits debounced change events.
|
|
929
|
-
*
|
|
930
|
-
* Uses `fs.watch` only (no polling fallback). Teardown closes all watchers.
|
|
931
|
-
*
|
|
932
|
-
* @category extra
|
|
933
|
-
*/
|
|
934
|
-
declare function fromFSWatch(paths: string | string[], opts?: FromFSWatchOptions): Node<FSEvent>;
|
|
935
|
-
/**
|
|
936
|
-
* Drains a synchronous iterable; each item is `DATA`, then `COMPLETE`, or `ERROR` if iteration throws.
|
|
937
|
-
*
|
|
938
|
-
* @param iterable - Values to emit in order.
|
|
939
|
-
* @param opts - Optional producer options.
|
|
940
|
-
* @returns `Node<T>` — one emission per element.
|
|
941
|
-
*
|
|
942
|
-
* @example
|
|
943
|
-
* ```ts
|
|
944
|
-
* import { fromIter } from "@graphrefly/graphrefly-ts";
|
|
945
|
-
*
|
|
946
|
-
* fromIter([1, 2, 3]);
|
|
947
|
-
* ```
|
|
948
|
-
*
|
|
949
|
-
* @category extra
|
|
950
|
-
*/
|
|
951
|
-
declare function fromIter<T>(iterable: Iterable<T>, opts?: ExtraOpts$2): Node<T>;
|
|
952
|
-
/**
|
|
953
|
-
* Lifts a Promise (or thenable) to a single-value stream: one `DATA` then `COMPLETE`, or `ERROR` on rejection.
|
|
954
|
-
*
|
|
955
|
-
* @param p - Promise to await.
|
|
956
|
-
* @param opts - Producer options plus optional `signal` for abort → `ERROR` with reason.
|
|
957
|
-
* @returns `Node<T>` — settles once.
|
|
958
|
-
*
|
|
959
|
-
* @example
|
|
960
|
-
* ```ts
|
|
961
|
-
* import { fromPromise } from "@graphrefly/graphrefly-ts";
|
|
962
|
-
*
|
|
963
|
-
* fromPromise(Promise.resolve(42));
|
|
964
|
-
* ```
|
|
965
|
-
*
|
|
966
|
-
* @category extra
|
|
967
|
-
*/
|
|
968
|
-
declare function fromPromise<T>(p: Promise<T> | PromiseLike<T>, opts?: AsyncSourceOpts): Node<T>;
|
|
969
|
-
/**
|
|
970
|
-
* Reads an async iterable; each `next()` value becomes `DATA`; `COMPLETE` when done; `ERROR` on failure.
|
|
971
|
-
*
|
|
972
|
-
* @param iterable - Async source (`for await` shape).
|
|
973
|
-
* @param opts - Producer options plus optional `signal` to abort the pump.
|
|
974
|
-
* @returns `Node<T>` — async pull stream.
|
|
975
|
-
*
|
|
976
|
-
* @example
|
|
977
|
-
* ```ts
|
|
978
|
-
* import { fromAsyncIter } from "@graphrefly/graphrefly-ts";
|
|
979
|
-
*
|
|
980
|
-
* async function* gen() {
|
|
981
|
-
* yield 1;
|
|
982
|
-
* }
|
|
983
|
-
* fromAsyncIter(gen());
|
|
984
|
-
* ```
|
|
985
|
-
*
|
|
986
|
-
* @category extra
|
|
987
|
-
*/
|
|
988
|
-
declare function fromAsyncIter<T>(iterable: AsyncIterable<T>, opts?: AsyncSourceOpts): Node<T>;
|
|
989
|
-
/**
|
|
990
|
-
* Coerces a value to a `Node` by shape: existing `Node` passthrough, thenable → {@link fromPromise},
|
|
991
|
-
* async iterable → {@link fromAsyncIter}, sync iterable → {@link fromIter}, else scalar → {@link of}.
|
|
992
|
-
*
|
|
993
|
-
* @param input - Any value to wrap.
|
|
994
|
-
* @param opts - Passed through when a Promise/async path is chosen.
|
|
995
|
-
* @returns `Node` of the inferred element type.
|
|
996
|
-
*
|
|
997
|
-
* @example
|
|
998
|
-
* ```ts
|
|
999
|
-
* import { fromAny, state } from "@graphrefly/graphrefly-ts";
|
|
1000
|
-
*
|
|
1001
|
-
* fromAny(state(1));
|
|
1002
|
-
* fromAny(Promise.resolve(2));
|
|
1003
|
-
* ```
|
|
1004
|
-
*
|
|
1005
|
-
* @category extra
|
|
1006
|
-
*/
|
|
1007
|
-
declare function fromAny<T>(input: NodeInput<T>, opts?: AsyncSourceOpts): Node<T>;
|
|
1008
|
-
/**
|
|
1009
|
-
* Emits each argument as `DATA` in order, then `COMPLETE` (implemented via {@link fromIter}).
|
|
1010
|
-
*
|
|
1011
|
-
* @param values - Values to emit.
|
|
1012
|
-
* @returns `Node<T>` — finite sequence.
|
|
1013
|
-
*
|
|
1014
|
-
* @example
|
|
1015
|
-
* ```ts
|
|
1016
|
-
* import { of } from "@graphrefly/graphrefly-ts";
|
|
1017
|
-
*
|
|
1018
|
-
* of(1, 2, 3);
|
|
1019
|
-
* ```
|
|
1020
|
-
*
|
|
1021
|
-
* @category extra
|
|
1022
|
-
*/
|
|
1023
|
-
declare function of<T>(...values: T[]): Node<T>;
|
|
1024
|
-
/**
|
|
1025
|
-
* Completes immediately with no `DATA` (cold `EMPTY` analogue).
|
|
1026
|
-
*
|
|
1027
|
-
* @param opts - Optional producer options.
|
|
1028
|
-
* @returns `Node<T>` — terminal `COMPLETE` only.
|
|
1029
|
-
*
|
|
1030
|
-
* @example
|
|
1031
|
-
* ```ts
|
|
1032
|
-
* import { empty } from "@graphrefly/graphrefly-ts";
|
|
1033
|
-
*
|
|
1034
|
-
* empty();
|
|
1035
|
-
* ```
|
|
1036
|
-
*
|
|
1037
|
-
* @category extra
|
|
1038
|
-
*/
|
|
1039
|
-
declare function empty<T = never>(opts?: ExtraOpts$2): Node<T>;
|
|
1040
|
-
/**
|
|
1041
|
-
* Never emits and never completes until teardown (cold `NEVER` analogue).
|
|
1042
|
-
*
|
|
1043
|
-
* @param opts - Optional producer options.
|
|
1044
|
-
* @returns `Node<T>` — silent until unsubscribed.
|
|
1045
|
-
*
|
|
1046
|
-
* @example
|
|
1047
|
-
* ```ts
|
|
1048
|
-
* import { never } from "@graphrefly/graphrefly-ts";
|
|
1049
|
-
*
|
|
1050
|
-
* never();
|
|
1051
|
-
* ```
|
|
1052
|
-
*
|
|
1053
|
-
* @category extra
|
|
1054
|
-
*/
|
|
1055
|
-
declare function never<T = never>(opts?: ExtraOpts$2): Node<T>;
|
|
1056
|
-
/**
|
|
1057
|
-
* Emits `ERROR` as soon as the producer starts (cold error source).
|
|
1058
|
-
*
|
|
1059
|
-
* @param err - Error payload forwarded as `ERROR` data.
|
|
1060
|
-
* @param opts - Optional producer options.
|
|
1061
|
-
* @returns `Node<never>` — terminates with `ERROR`.
|
|
1062
|
-
*
|
|
1063
|
-
* @example
|
|
1064
|
-
* ```ts
|
|
1065
|
-
* import { throwError } from "@graphrefly/graphrefly-ts";
|
|
1066
|
-
*
|
|
1067
|
-
* throwError(new Error("fail"));
|
|
1068
|
-
* ```
|
|
1069
|
-
*
|
|
1070
|
-
* @category extra
|
|
1071
|
-
*/
|
|
1072
|
-
declare function throwError(err: unknown, opts?: ExtraOpts$2): Node<never>;
|
|
1073
|
-
/**
|
|
1074
|
-
* Subscribes immediately and runs `fn` for each upstream `DATA`; returns unsubscribe.
|
|
1075
|
-
*
|
|
1076
|
-
* @param source - Upstream node.
|
|
1077
|
-
* @param fn - Side effect per value.
|
|
1078
|
-
* @param opts - Effect node options.
|
|
1079
|
-
* @returns Unsubscribe function (idempotent).
|
|
1080
|
-
*
|
|
1081
|
-
* @example
|
|
1082
|
-
* ```ts
|
|
1083
|
-
* import { forEach, state } from "@graphrefly/graphrefly-ts";
|
|
1084
|
-
*
|
|
1085
|
-
* const u = forEach(state(1), (v) => console.log(v));
|
|
1086
|
-
* u();
|
|
1087
|
-
* ```
|
|
1088
|
-
*
|
|
1089
|
-
* @category extra
|
|
1090
|
-
*/
|
|
1091
|
-
declare function forEach<T>(source: Node<T>, fn: (value: T) => void, opts?: ExtraOpts$2): () => void;
|
|
1092
|
-
/**
|
|
1093
|
-
* Buffers every `DATA`; on upstream `COMPLETE` emits one `DATA` with the full array then `COMPLETE`.
|
|
1094
|
-
*
|
|
1095
|
-
* @param source - Upstream node.
|
|
1096
|
-
* @param opts - Optional node options (derived describe kind).
|
|
1097
|
-
* @returns `Node<T[]>` — single array emission before completion.
|
|
1098
|
-
*
|
|
1099
|
-
* @example
|
|
1100
|
-
* ```ts
|
|
1101
|
-
* import { of, toArray } from "@graphrefly/graphrefly-ts";
|
|
1102
|
-
*
|
|
1103
|
-
* toArray(of(1, 2, 3));
|
|
1104
|
-
* ```
|
|
1105
|
-
*
|
|
1106
|
-
* @category extra
|
|
1107
|
-
*/
|
|
1108
|
-
declare function toArray<T>(source: Node<T>, opts?: ExtraOpts$2): Node<T[]>;
|
|
1109
|
-
/**
|
|
1110
|
-
* Multicasts upstream: one subscription to `source` while this wrapper has subscribers (via {@link producer}).
|
|
1111
|
-
*
|
|
1112
|
-
* @param source - Upstream node to share.
|
|
1113
|
-
* @param opts - Producer options; `initial` seeds from `source.cache` when set by factory.
|
|
1114
|
-
* @returns `Node<T>` — hot ref-counted bridge.
|
|
1115
|
-
*
|
|
1116
|
-
* @example
|
|
1117
|
-
* ```ts
|
|
1118
|
-
* import { share, state } from "@graphrefly/graphrefly-ts";
|
|
1119
|
-
*
|
|
1120
|
-
* share(state(0));
|
|
1121
|
-
* ```
|
|
1122
|
-
*
|
|
1123
|
-
* @category extra
|
|
1124
|
-
*/
|
|
1125
|
-
declare function share<T>(source: Node<T>, opts?: ExtraOpts$2): Node<T>;
|
|
1126
|
-
/**
|
|
1127
|
-
* Like {@link share} with a bounded replay buffer: new subscribers receive the last `bufferSize`
|
|
1128
|
-
* `DATA` payloads (as separate batches) before live updates.
|
|
1129
|
-
*
|
|
1130
|
-
* @param source - Upstream node.
|
|
1131
|
-
* @param bufferSize - Maximum past values to replay (≥ 1).
|
|
1132
|
-
* @param opts - Producer options.
|
|
1133
|
-
* @returns `Node<T>` — multicast with replay on subscribe.
|
|
1134
|
-
*
|
|
1135
|
-
* @example
|
|
1136
|
-
* ```ts
|
|
1137
|
-
* import { replay, state } from "@graphrefly/graphrefly-ts";
|
|
1138
|
-
*
|
|
1139
|
-
* replay(state(0), 3);
|
|
1140
|
-
* ```
|
|
1141
|
-
*
|
|
1142
|
-
* @category extra
|
|
1143
|
-
*/
|
|
1144
|
-
declare function replay<T>(source: Node<T>, bufferSize: number, opts?: ExtraOpts$2): Node<T>;
|
|
1145
|
-
/**
|
|
1146
|
-
* {@link replay} with `bufferSize === 1` — replays the latest `DATA` to new subscribers.
|
|
1147
|
-
*
|
|
1148
|
-
* @param source - Upstream node.
|
|
1149
|
-
* @param opts - Producer options.
|
|
1150
|
-
* @returns `Node<T>` — share + last-value replay.
|
|
1151
|
-
*
|
|
1152
|
-
* @example
|
|
1153
|
-
* ```ts
|
|
1154
|
-
* import { cached, state } from "@graphrefly/graphrefly-ts";
|
|
1155
|
-
*
|
|
1156
|
-
* cached(state(0));
|
|
1157
|
-
* ```
|
|
1158
|
-
*
|
|
1159
|
-
* @category extra
|
|
1160
|
-
*/
|
|
1161
|
-
declare function cached<T>(source: Node<T>, opts?: ExtraOpts$2): Node<T>;
|
|
1162
|
-
/**
|
|
1163
|
-
* Converts the first `DATA` on `source` into a Promise; rejects on `ERROR` or `COMPLETE` without data.
|
|
1164
|
-
*
|
|
1165
|
-
* **Important:** This subscribes and waits for a **future** emission. Data that
|
|
1166
|
-
* has already flowed is gone and will not be seen. Call this *before* the upstream
|
|
1167
|
-
* emits, or use `source.cache` / `source.status` for already-cached state.
|
|
1168
|
-
* See COMPOSITION-GUIDE §2 (subscription ordering).
|
|
1169
|
-
*
|
|
1170
|
-
* @param source - Node to read once.
|
|
1171
|
-
* @returns Promise of the first value.
|
|
1172
|
-
*
|
|
1173
|
-
* @example
|
|
1174
|
-
* ```ts
|
|
1175
|
-
* import { firstValueFrom, of } from "@graphrefly/graphrefly-ts";
|
|
1176
|
-
*
|
|
1177
|
-
* await firstValueFrom(of(42));
|
|
1178
|
-
* ```
|
|
1179
|
-
*
|
|
1180
|
-
* @category extra
|
|
1181
|
-
*/
|
|
1182
|
-
declare function firstValueFrom<T>(source: Node<T>): Promise<T>;
|
|
1183
|
-
/**
|
|
1184
|
-
* Wait for the first DATA value from `source` that satisfies `predicate`.
|
|
1185
|
-
*
|
|
1186
|
-
* Subscribes directly and resolves on the first DATA value where
|
|
1187
|
-
* `predicate` returns true. Reactive, no polling. Use in tests and
|
|
1188
|
-
* bridging code where you need a single matching value as a Promise.
|
|
1189
|
-
*
|
|
1190
|
-
* **Important:** This only captures **future** emissions — data that has
|
|
1191
|
-
* already flowed through the node is gone. Call this *before* the upstream
|
|
1192
|
-
* emits. For already-cached values, use `source.cache` / `source.status`.
|
|
1193
|
-
* See COMPOSITION-GUIDE §2 (subscription ordering).
|
|
1194
|
-
*
|
|
1195
|
-
* ```ts
|
|
1196
|
-
* const val = await firstWhere(strategy.node, snap => snap.size > 0);
|
|
1197
|
-
* ```
|
|
1198
|
-
*
|
|
1199
|
-
* @category extra
|
|
1200
|
-
*/
|
|
1201
|
-
declare function firstWhere<T>(source: Node<T>, predicate: (value: T) => boolean): Promise<T>;
|
|
1202
|
-
/**
|
|
1203
|
-
* RxJS-named alias for {@link replay} — multicast with a replay buffer of size `bufferSize`.
|
|
1204
|
-
*
|
|
1205
|
-
* @param source - Upstream node.
|
|
1206
|
-
* @param bufferSize - Replay depth (≥ 1).
|
|
1207
|
-
* @param opts - Producer options.
|
|
1208
|
-
* @returns Same behavior as `replay`.
|
|
1209
|
-
*
|
|
1210
|
-
* @example
|
|
1211
|
-
* ```ts
|
|
1212
|
-
* import { shareReplay, state } from "@graphrefly/graphrefly-ts";
|
|
1213
|
-
*
|
|
1214
|
-
* shareReplay(state(0), 5);
|
|
1215
|
-
* ```
|
|
1216
|
-
*
|
|
1217
|
-
* @category extra
|
|
1218
|
-
*/
|
|
1219
|
-
declare const shareReplay: typeof replay;
|
|
1220
|
-
/**
|
|
1221
|
-
* Activate a compute node's upstream wiring without a real sink.
|
|
1222
|
-
*
|
|
1223
|
-
* Derived/effect nodes are lazy — they don't compute until at least one
|
|
1224
|
-
* subscriber exists (COMPOSITION-GUIDE §5). `keepalive` subscribes with an
|
|
1225
|
-
* empty sink so the node stays wired for `.cache` and upstream propagation.
|
|
1226
|
-
*
|
|
1227
|
-
* Returns the unsubscribe handle. Common usage:
|
|
1228
|
-
* `graph.addDisposer(keepalive(node))`.
|
|
1229
|
-
*
|
|
1230
|
-
* @category extra
|
|
1231
|
-
*/
|
|
1232
|
-
declare function keepalive(n: Node<unknown>): () => void;
|
|
1233
|
-
/** Bundle returned by {@link reactiveCounter}. */
|
|
1234
|
-
type ReactiveCounterBundle = {
|
|
1235
|
-
/** Reactive node holding the current count. */
|
|
1236
|
-
readonly node: Node<number>;
|
|
1237
|
-
/** Increment by 1. Returns `false` if cap would be exceeded. */
|
|
1238
|
-
increment(): boolean;
|
|
1239
|
-
/** Current count (synchronous read). */
|
|
1240
|
-
get(): number;
|
|
1241
|
-
/** Whether the counter has reached its cap. */
|
|
1242
|
-
atCap(): boolean;
|
|
1243
|
-
};
|
|
1244
|
-
/**
|
|
1245
|
-
* Reactive counter with a cap — the building block for circuit breakers.
|
|
1246
|
-
*
|
|
1247
|
-
* Wraps a `state(0)` node with `increment()` that respects a maximum.
|
|
1248
|
-
* The `node` is subscribable and composable like any reactive node. When
|
|
1249
|
-
* the cap is reached, `increment()` returns `false`.
|
|
1250
|
-
*
|
|
1251
|
-
* ```ts
|
|
1252
|
-
* const retries = reactiveCounter(10);
|
|
1253
|
-
* retries.increment(); // true — count is now 1
|
|
1254
|
-
* retries.node.subscribe(...); // reactive updates
|
|
1255
|
-
* retries.atCap(); // false
|
|
1256
|
-
* ```
|
|
1257
|
-
*
|
|
1258
|
-
* @param cap - Maximum value (inclusive). 0 = no increments allowed.
|
|
1259
|
-
* @category extra
|
|
1260
|
-
*/
|
|
1261
|
-
declare function reactiveCounter(cap: number): ReactiveCounterBundle;
|
|
1262
|
-
|
|
1263
804
|
/**
|
|
1264
805
|
* Protocol, system, and ingest adapters (roadmap §5.2, §5.2c).
|
|
1265
806
|
*
|
|
@@ -1284,7 +825,7 @@ type SinkHandle = {
|
|
|
1284
825
|
/** Manually drain the internal buffer (buffered sinks only). */
|
|
1285
826
|
flush?: () => Promise<void>;
|
|
1286
827
|
};
|
|
1287
|
-
type ExtraOpts$
|
|
828
|
+
type ExtraOpts$2 = Omit<NodeOptions, "describeKind">;
|
|
1288
829
|
/** WebSocket-like transport accepted by {@link fromWebSocket} / {@link toWebSocket}. */
|
|
1289
830
|
type WebSocketLike = {
|
|
1290
831
|
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
|
|
@@ -1304,11 +845,11 @@ type WebSocketRegister<T> = (emit: (payload: T) => void, error: (err: unknown) =
|
|
|
1304
845
|
*
|
|
1305
846
|
* @category extra
|
|
1306
847
|
*/
|
|
1307
|
-
declare function fromWebSocket<T = unknown>(socket: WebSocketLike, opts?: ExtraOpts$
|
|
848
|
+
declare function fromWebSocket<T = unknown>(socket: WebSocketLike, opts?: ExtraOpts$2 & {
|
|
1308
849
|
parse?: (payload: unknown, event: unknown) => T;
|
|
1309
850
|
closeOnTeardown?: boolean;
|
|
1310
851
|
}): Node<T>;
|
|
1311
|
-
declare function fromWebSocket<T = unknown>(register: WebSocketRegister<T>, opts?: ExtraOpts$
|
|
852
|
+
declare function fromWebSocket<T = unknown>(register: WebSocketRegister<T>, opts?: ExtraOpts$2 & {
|
|
1312
853
|
parse?: (payload: unknown, event: unknown) => T;
|
|
1313
854
|
closeOnTeardown?: boolean;
|
|
1314
855
|
}): Node<T>;
|
|
@@ -1374,7 +915,7 @@ type WebhookRegister<T> = ExternalRegister<EmitTriad<T>>;
|
|
|
1374
915
|
*
|
|
1375
916
|
* @category extra
|
|
1376
917
|
*/
|
|
1377
|
-
declare function fromWebhook<T = unknown>(register: WebhookRegister<T>, opts?: ExtraOpts$
|
|
918
|
+
declare function fromWebhook<T = unknown>(register: WebhookRegister<T>, opts?: ExtraOpts$2): Node<T>;
|
|
1378
919
|
/**
|
|
1379
920
|
* Options for {@link fromHTTP}.
|
|
1380
921
|
*
|
|
@@ -1431,7 +972,7 @@ type HTTPBundle<T> = WithStatusBundle<T> & {
|
|
|
1431
972
|
*/
|
|
1432
973
|
declare function fromHTTP<T = any>(url: string, opts?: FromHTTPOptions): HTTPBundle<T>;
|
|
1433
974
|
/** Options for {@link toHTTP}. */
|
|
1434
|
-
type ToHTTPOptions<T> = ExtraOpts$
|
|
975
|
+
type ToHTTPOptions<T> = ExtraOpts$2 & {
|
|
1435
976
|
/** HTTP method. Default: `"POST"`. */
|
|
1436
977
|
method?: string;
|
|
1437
978
|
/** Request headers applied to every call. Caller sets Content-Type. */
|
|
@@ -1522,7 +1063,7 @@ type SSEEvent<T = string> = {
|
|
|
1522
1063
|
retry?: number;
|
|
1523
1064
|
};
|
|
1524
1065
|
/** Options for {@link fromSSE}. */
|
|
1525
|
-
type FromSSEOptions<T = string> = ExtraOpts$
|
|
1066
|
+
type FromSSEOptions<T = string> = ExtraOpts$2 & {
|
|
1526
1067
|
/** Parse the raw `data:` payload. Default: identity (string). */
|
|
1527
1068
|
parse?: (raw: string) => T;
|
|
1528
1069
|
};
|
|
@@ -1537,7 +1078,7 @@ type FromSSEOptions<T = string> = ExtraOpts$1 & {
|
|
|
1537
1078
|
*/
|
|
1538
1079
|
declare function fromSSE<T = string>(source: ReadableStream<Uint8Array> | Response | AsyncIterable<Uint8Array>, opts?: FromSSEOptions<T>): Node<SSEEvent<T>>;
|
|
1539
1080
|
/** Options for {@link fromHTTPStream}. */
|
|
1540
|
-
type FromHTTPStreamOptions = ExtraOpts$
|
|
1081
|
+
type FromHTTPStreamOptions = ExtraOpts$2 & {
|
|
1541
1082
|
method?: string;
|
|
1542
1083
|
headers?: Record<string, string>;
|
|
1543
1084
|
body?: unknown;
|
|
@@ -1606,7 +1147,7 @@ type ToWebSocketOptions<T> = {
|
|
|
1606
1147
|
*/
|
|
1607
1148
|
declare function toWebSocket<T>(source: Node<T>, socket: WebSocketLike, opts?: ToWebSocketOptions<T>): ReactiveSinkHandle<T>;
|
|
1608
1149
|
/** Options for {@link fromWebSocketReconnect}. */
|
|
1609
|
-
type FromWebSocketReconnectOptions<T> = ExtraOpts$
|
|
1150
|
+
type FromWebSocketReconnectOptions<T> = ExtraOpts$2 & {
|
|
1610
1151
|
/** Optional parser applied to incoming messages. */
|
|
1611
1152
|
parse?: (payload: unknown, event: unknown) => T;
|
|
1612
1153
|
/** Max reconnect attempts. Default: `Infinity` (implied when `backoff` is set). */
|
|
@@ -1649,7 +1190,7 @@ type MCPClientLike = {
|
|
|
1649
1190
|
setNotificationHandler(method: string, handler: (notification: unknown) => void): void;
|
|
1650
1191
|
};
|
|
1651
1192
|
/** Options for {@link fromMCP}. */
|
|
1652
|
-
type FromMCPOptions = ExtraOpts$
|
|
1193
|
+
type FromMCPOptions = ExtraOpts$2 & {
|
|
1653
1194
|
/** MCP notification method to subscribe to. Default `"notifications/message"`. */
|
|
1654
1195
|
method?: string;
|
|
1655
1196
|
onDisconnect?: (cb: (err?: unknown) => void) => void;
|
|
@@ -1672,7 +1213,7 @@ type GitEvent = {
|
|
|
1672
1213
|
timestamp_ns: number;
|
|
1673
1214
|
};
|
|
1674
1215
|
/** Options for {@link fromGitHook}. */
|
|
1675
|
-
type FromGitHookOptions = ExtraOpts$
|
|
1216
|
+
type FromGitHookOptions = ExtraOpts$2 & {
|
|
1676
1217
|
pollMs?: number;
|
|
1677
1218
|
include?: string[];
|
|
1678
1219
|
exclude?: string[];
|
|
@@ -1787,7 +1328,7 @@ type OTelRegister = (handlers: {
|
|
|
1787
1328
|
onError: (err: unknown) => void;
|
|
1788
1329
|
}) => (() => void) | undefined;
|
|
1789
1330
|
/** Options for {@link fromOTel}. */
|
|
1790
|
-
type FromOTelOptions = ExtraOpts$
|
|
1331
|
+
type FromOTelOptions = ExtraOpts$2 & {};
|
|
1791
1332
|
/** Bundle returned by {@link fromOTel}. */
|
|
1792
1333
|
type OTelBundle = {
|
|
1793
1334
|
traces: Node<OTelSpan>;
|
|
@@ -1841,7 +1382,7 @@ type SyslogMessage = {
|
|
|
1841
1382
|
/** Registration callback for syslog receiver. Alias of {@link ExternalRegister} over {@link EmitTriad}. */
|
|
1842
1383
|
type SyslogRegister = ExternalRegister<EmitTriad<SyslogMessage>>;
|
|
1843
1384
|
/** Options for {@link fromSyslog}. */
|
|
1844
|
-
type FromSyslogOptions = ExtraOpts$
|
|
1385
|
+
type FromSyslogOptions = ExtraOpts$2 & {};
|
|
1845
1386
|
/**
|
|
1846
1387
|
* RFC 5424 syslog receiver as a reactive source.
|
|
1847
1388
|
*
|
|
@@ -1891,7 +1432,7 @@ type StatsDMetric = {
|
|
|
1891
1432
|
/** Registration callback for StatsD receiver. Alias of {@link ExternalRegister} over {@link EmitTriad}. */
|
|
1892
1433
|
type StatsDRegister = ExternalRegister<EmitTriad<StatsDMetric>>;
|
|
1893
1434
|
/** Options for {@link fromStatsD}. */
|
|
1894
|
-
type FromStatsDOptions = ExtraOpts$
|
|
1435
|
+
type FromStatsDOptions = ExtraOpts$2 & {};
|
|
1895
1436
|
/**
|
|
1896
1437
|
* StatsD/DogStatsD UDP receiver as a reactive source.
|
|
1897
1438
|
*
|
|
@@ -2029,7 +1570,7 @@ type KafkaMessage<T = unknown> = {
|
|
|
2029
1570
|
timestampNs: number;
|
|
2030
1571
|
};
|
|
2031
1572
|
/** Options for {@link fromKafka}. */
|
|
2032
|
-
type FromKafkaOptions = ExtraOpts$
|
|
1573
|
+
type FromKafkaOptions = ExtraOpts$2 & {
|
|
2033
1574
|
/** Start from beginning of topic. Default: `false`. */
|
|
2034
1575
|
fromBeginning?: boolean;
|
|
2035
1576
|
/** Deserialize message value. Default: `JSON.parse(buffer.toString())`. */
|
|
@@ -2062,7 +1603,7 @@ type FromKafkaOptions = ExtraOpts$1 & {
|
|
|
2062
1603
|
*/
|
|
2063
1604
|
declare function fromKafka<T = unknown>(consumer: KafkaConsumerLike, topic: string, opts?: FromKafkaOptions): Node<KafkaMessage<T>>;
|
|
2064
1605
|
/** Options for {@link toKafka}. */
|
|
2065
|
-
type ToKafkaOptions<T> = ExtraOpts$
|
|
1606
|
+
type ToKafkaOptions<T> = ExtraOpts$2 & {
|
|
2066
1607
|
/** Serialize value for Kafka. Default: `JSON.stringify`. */
|
|
2067
1608
|
serialize?: (value: T) => string | Buffer;
|
|
2068
1609
|
/** Extract message key from value. Default: `null` (no key). */
|
|
@@ -2096,7 +1637,7 @@ type RedisStreamEntry<T = unknown> = {
|
|
|
2096
1637
|
timestampNs: number;
|
|
2097
1638
|
};
|
|
2098
1639
|
/** Options for {@link fromRedisStream}. */
|
|
2099
|
-
type FromRedisStreamOptions = ExtraOpts$
|
|
1640
|
+
type FromRedisStreamOptions = ExtraOpts$2 & {
|
|
2100
1641
|
/** Block timeout in ms for XREAD. Default: `5000`. */
|
|
2101
1642
|
blockMs?: number;
|
|
2102
1643
|
/** Start ID. Default: `"$"` (new entries only). */
|
|
@@ -2128,7 +1669,7 @@ type FromRedisStreamOptions = ExtraOpts$1 & {
|
|
|
2128
1669
|
*/
|
|
2129
1670
|
declare function fromRedisStream<T = unknown>(client: RedisClientLike, key: string, opts?: FromRedisStreamOptions): Node<RedisStreamEntry<T>>;
|
|
2130
1671
|
/** Options for {@link toRedisStream}. */
|
|
2131
|
-
type ToRedisStreamOptions<T> = ExtraOpts$
|
|
1672
|
+
type ToRedisStreamOptions<T> = ExtraOpts$2 & {
|
|
2132
1673
|
/** Serialize value to Redis hash fields. Default: `["data", JSON.stringify(value)]`. */
|
|
2133
1674
|
serialize?: (value: T) => string[];
|
|
2134
1675
|
/** Max stream length (MAXLEN ~). Default: no trimming. */
|
|
@@ -2151,7 +1692,7 @@ declare function toRedisStream<T>(source: Node<T>, client: RedisClientLike, key:
|
|
|
2151
1692
|
/** Parsed CSV row. */
|
|
2152
1693
|
type CSVRow = Record<string, string>;
|
|
2153
1694
|
/** Options for {@link fromCSV}. */
|
|
2154
|
-
type FromCSVOptions = ExtraOpts$
|
|
1695
|
+
type FromCSVOptions = ExtraOpts$2 & {
|
|
2155
1696
|
/** Column delimiter. Default: `","`. */
|
|
2156
1697
|
delimiter?: string;
|
|
2157
1698
|
/** Whether the first row is a header. Default: `true`. */
|
|
@@ -2208,9 +1749,9 @@ declare function csvRows(source: Node<string>, opts?: FromCSVOptions): Node<CSVR
|
|
|
2208
1749
|
*
|
|
2209
1750
|
* @category extra
|
|
2210
1751
|
*/
|
|
2211
|
-
declare function ndjsonRows<T = unknown>(source: Node<string>, opts?: ExtraOpts$
|
|
1752
|
+
declare function ndjsonRows<T = unknown>(source: Node<string>, opts?: ExtraOpts$2): Node<T>;
|
|
2212
1753
|
/** Options for {@link fromNDJSON}. */
|
|
2213
|
-
type FromNDJSONOptions = ExtraOpts$
|
|
1754
|
+
type FromNDJSONOptions = ExtraOpts$2 & {};
|
|
2214
1755
|
/**
|
|
2215
1756
|
* Newline-delimited JSON stream ingest for batch replay.
|
|
2216
1757
|
*
|
|
@@ -2316,7 +1857,7 @@ type PulsarMessage<T = unknown> = {
|
|
|
2316
1857
|
timestampNs: number;
|
|
2317
1858
|
};
|
|
2318
1859
|
/** Options for {@link fromPulsar}. */
|
|
2319
|
-
type FromPulsarOptions = ExtraOpts$
|
|
1860
|
+
type FromPulsarOptions = ExtraOpts$2 & {
|
|
2320
1861
|
/** Deserialize message data. Default: `JSON.parse(buffer.toString())`. */
|
|
2321
1862
|
deserialize?: (data: Buffer) => unknown;
|
|
2322
1863
|
/** Acknowledge messages automatically. Default: `true`. */
|
|
@@ -2363,7 +1904,7 @@ declare function fromPulsar<T = unknown>(consumer: PulsarConsumerLike, opts: Fro
|
|
|
2363
1904
|
autoAck: false;
|
|
2364
1905
|
}): Node<AckableMessage<PulsarMessage<T>>>;
|
|
2365
1906
|
/** Options for {@link toPulsar}. */
|
|
2366
|
-
type ToPulsarOptions<T> = ExtraOpts$
|
|
1907
|
+
type ToPulsarOptions<T> = ExtraOpts$2 & {
|
|
2367
1908
|
/** Serialize value for Pulsar. Default: `JSON.stringify` → Buffer. */
|
|
2368
1909
|
serialize?: (value: T) => Buffer;
|
|
2369
1910
|
/** Extract partition key from value. Default: none. */
|
|
@@ -2416,7 +1957,7 @@ type NATSMessage<T = unknown> = {
|
|
|
2416
1957
|
timestampNs: number;
|
|
2417
1958
|
};
|
|
2418
1959
|
/** Options for {@link fromNATS}. */
|
|
2419
|
-
type FromNATSOptions = ExtraOpts$
|
|
1960
|
+
type FromNATSOptions = ExtraOpts$2 & {
|
|
2420
1961
|
/** Queue group name for load balancing. */
|
|
2421
1962
|
queue?: string;
|
|
2422
1963
|
/** Deserialize message data. Default: `JSON.parse(textDecoder.decode(data))`. */
|
|
@@ -2450,7 +1991,7 @@ type FromNATSOptions = ExtraOpts$1 & {
|
|
|
2450
1991
|
*/
|
|
2451
1992
|
declare function fromNATS<T = unknown>(client: NATSClientLike, subject: string, opts?: FromNATSOptions): Node<NATSMessage<T>>;
|
|
2452
1993
|
/** Options for {@link toNATS}. */
|
|
2453
|
-
type ToNATSOptions<T> = ExtraOpts$
|
|
1994
|
+
type ToNATSOptions<T> = ExtraOpts$2 & {
|
|
2454
1995
|
/** Serialize value for NATS. Default: `JSON.stringify` → Uint8Array. */
|
|
2455
1996
|
serialize?: (value: T) => Uint8Array;
|
|
2456
1997
|
/** Called on serialization failures. */
|
|
@@ -2501,7 +2042,7 @@ type RabbitMQMessage<T = unknown> = {
|
|
|
2501
2042
|
timestampNs: number;
|
|
2502
2043
|
};
|
|
2503
2044
|
/** Options for {@link fromRabbitMQ}. */
|
|
2504
|
-
type FromRabbitMQOptions = ExtraOpts$
|
|
2045
|
+
type FromRabbitMQOptions = ExtraOpts$2 & {
|
|
2505
2046
|
/** Deserialize message content. Default: `JSON.parse(buffer.toString())`. */
|
|
2506
2047
|
deserialize?: (content: Buffer) => unknown;
|
|
2507
2048
|
/** Auto-acknowledge messages. Default: `true`. */
|
|
@@ -2550,7 +2091,7 @@ declare function fromRabbitMQ<T = unknown>(channel: RabbitMQChannelLike, queue:
|
|
|
2550
2091
|
autoAck: false;
|
|
2551
2092
|
}): Node<AckableMessage<RabbitMQMessage<T>>>;
|
|
2552
2093
|
/** Options for {@link toRabbitMQ}. */
|
|
2553
|
-
type ToRabbitMQOptions<T> = ExtraOpts$
|
|
2094
|
+
type ToRabbitMQOptions<T> = ExtraOpts$2 & {
|
|
2554
2095
|
/** Serialize value for RabbitMQ. Default: `Buffer.from(JSON.stringify(value))`. */
|
|
2555
2096
|
serialize?: (value: T) => Buffer;
|
|
2556
2097
|
/** Extract routing key from value. Default: `""`. */
|
|
@@ -2581,7 +2122,7 @@ type FileWriterLike = {
|
|
|
2581
2122
|
end(): void;
|
|
2582
2123
|
};
|
|
2583
2124
|
/** Options for {@link toFile}. */
|
|
2584
|
-
type ToFileOptions<T> = ExtraOpts$
|
|
2125
|
+
type ToFileOptions<T> = ExtraOpts$2 & {
|
|
2585
2126
|
/** Serialize a value to a string line. Default: `JSON.stringify(v) + "\n"`. */
|
|
2586
2127
|
serialize?: (value: T) => string;
|
|
2587
2128
|
/** `"append"` (default) or `"overwrite"` — controls initial file behavior hint. */
|
|
@@ -2607,7 +2148,7 @@ type ToFileOptions<T> = ExtraOpts$1 & {
|
|
|
2607
2148
|
*/
|
|
2608
2149
|
declare function toFile<T>(source: Node<T>, writer: FileWriterLike, opts?: ToFileOptions<T>): ReactiveSinkHandle<T>;
|
|
2609
2150
|
/** Options for {@link toCSV}. */
|
|
2610
|
-
type ToCSVOptions<T> = ExtraOpts$
|
|
2151
|
+
type ToCSVOptions<T> = ExtraOpts$2 & {
|
|
2611
2152
|
/** Column names. Required — determines header row and field order. */
|
|
2612
2153
|
columns: string[];
|
|
2613
2154
|
/** Column delimiter. Default: `","`. */
|
|
@@ -2642,7 +2183,7 @@ type ClickHouseInsertClientLike = {
|
|
|
2642
2183
|
}): Promise<void>;
|
|
2643
2184
|
};
|
|
2644
2185
|
/** Options for {@link toClickHouse}. */
|
|
2645
|
-
type ToClickHouseOptions<T> = ExtraOpts$
|
|
2186
|
+
type ToClickHouseOptions<T> = ExtraOpts$2 & {
|
|
2646
2187
|
/** Batch size before auto-flush. Default: `1000`. */
|
|
2647
2188
|
batchSize?: number;
|
|
2648
2189
|
/** Flush interval in ms. Default: `5000`. */
|
|
@@ -2677,7 +2218,7 @@ type S3ClientLike = {
|
|
|
2677
2218
|
}): Promise<unknown>;
|
|
2678
2219
|
};
|
|
2679
2220
|
/** Options for {@link toS3}. */
|
|
2680
|
-
type ToS3Options<T> = ExtraOpts$
|
|
2221
|
+
type ToS3Options<T> = ExtraOpts$2 & {
|
|
2681
2222
|
/** Output format. Default: `"ndjson"`. */
|
|
2682
2223
|
format?: "ndjson" | "json";
|
|
2683
2224
|
/** Generate the S3 key for each batch. Receives `(seq, wallClockNs)`. Default: ISO timestamp + sequence. */
|
|
@@ -2707,7 +2248,7 @@ type PostgresClientLike = {
|
|
|
2707
2248
|
query(sql: string, params?: unknown[]): Promise<unknown>;
|
|
2708
2249
|
};
|
|
2709
2250
|
/** Options for {@link toPostgres}. */
|
|
2710
|
-
type ToPostgresOptions<T> = ExtraOpts$
|
|
2251
|
+
type ToPostgresOptions<T> = ExtraOpts$2 & {
|
|
2711
2252
|
/** Build the SQL + params for an insert. Default: JSON insert into `table`. */
|
|
2712
2253
|
toSQL?: (value: T, table: string) => {
|
|
2713
2254
|
sql: string;
|
|
@@ -2732,7 +2273,7 @@ type MongoCollectionLike = {
|
|
|
2732
2273
|
insertOne(doc: unknown): Promise<unknown>;
|
|
2733
2274
|
};
|
|
2734
2275
|
/** Options for {@link toMongo}. */
|
|
2735
|
-
type ToMongoOptions<T> = ExtraOpts$
|
|
2276
|
+
type ToMongoOptions<T> = ExtraOpts$2 & {
|
|
2736
2277
|
/** Transform value to a MongoDB document. Default: identity. */
|
|
2737
2278
|
toDocument?: (value: T) => unknown;
|
|
2738
2279
|
onTransportError?: (err: SinkTransportError) => void;
|
|
@@ -2760,7 +2301,7 @@ type LokiClientLike = {
|
|
|
2760
2301
|
}): Promise<unknown>;
|
|
2761
2302
|
};
|
|
2762
2303
|
/** Options for {@link toLoki}. */
|
|
2763
|
-
type ToLokiOptions<T> = ExtraOpts$
|
|
2304
|
+
type ToLokiOptions<T> = ExtraOpts$2 & {
|
|
2764
2305
|
/** Static labels applied to every log entry. */
|
|
2765
2306
|
labels?: Record<string, string>;
|
|
2766
2307
|
/** Extract the log line from a value. Default: `JSON.stringify(v)`. */
|
|
@@ -2787,7 +2328,7 @@ type TempoClientLike = {
|
|
|
2787
2328
|
}): Promise<unknown>;
|
|
2788
2329
|
};
|
|
2789
2330
|
/** Options for {@link toTempo}. */
|
|
2790
|
-
type ToTempoOptions<T> = ExtraOpts$
|
|
2331
|
+
type ToTempoOptions<T> = ExtraOpts$2 & {
|
|
2791
2332
|
/** Transform a value into OTLP resourceSpans entries. */
|
|
2792
2333
|
toResourceSpans?: (value: T) => unknown[];
|
|
2793
2334
|
onTransportError?: (err: SinkTransportError) => void;
|
|
@@ -2880,7 +2421,7 @@ type SqliteDbLike = {
|
|
|
2880
2421
|
query(sql: string, params?: unknown[]): unknown[];
|
|
2881
2422
|
};
|
|
2882
2423
|
/** Options for {@link fromSqlite}. */
|
|
2883
|
-
type FromSqliteOptions<T> = ExtraOpts$
|
|
2424
|
+
type FromSqliteOptions<T> = ExtraOpts$2 & {
|
|
2884
2425
|
/** Map a raw row object to the desired type. Default: identity cast. */
|
|
2885
2426
|
mapRow?: (row: unknown) => T;
|
|
2886
2427
|
/** Bind parameters for the query. */
|
|
@@ -2932,7 +2473,7 @@ type SqliteIterableDbLike = {
|
|
|
2932
2473
|
*/
|
|
2933
2474
|
declare function fromSqliteCursor<T = unknown>(db: SqliteIterableDbLike, query: string, opts?: FromSqliteOptions<T>): Node<T>;
|
|
2934
2475
|
/** Options for {@link toSqlite}. */
|
|
2935
|
-
type ToSqliteOptions<T> = ExtraOpts$
|
|
2476
|
+
type ToSqliteOptions<T> = ExtraOpts$2 & {
|
|
2936
2477
|
/** Build SQL + params for an insert. Default: JSON insert into `(data)` column. */
|
|
2937
2478
|
toSQL?: (value: T, table: string) => {
|
|
2938
2479
|
sql: string;
|
|
@@ -2988,7 +2529,7 @@ type PrismaModelLike<T = unknown> = {
|
|
|
2988
2529
|
findMany(args?: unknown): Promise<T[]>;
|
|
2989
2530
|
};
|
|
2990
2531
|
/** Options for {@link fromPrisma}. */
|
|
2991
|
-
type FromPrismaOptions<T, U = T> = ExtraOpts$
|
|
2532
|
+
type FromPrismaOptions<T, U = T> = ExtraOpts$2 & {
|
|
2992
2533
|
/** Prisma `findMany` args (where, orderBy, select, include, take, skip, etc.). */
|
|
2993
2534
|
args?: unknown;
|
|
2994
2535
|
/** Map each row to the desired shape. Default: identity cast. */
|
|
@@ -3029,7 +2570,7 @@ type DrizzleQueryLike<T = unknown> = {
|
|
|
3029
2570
|
execute(): Promise<T[]>;
|
|
3030
2571
|
};
|
|
3031
2572
|
/** Options for {@link fromDrizzle}. */
|
|
3032
|
-
type FromDrizzleOptions<T, U = T> = ExtraOpts$
|
|
2573
|
+
type FromDrizzleOptions<T, U = T> = ExtraOpts$2 & {
|
|
3033
2574
|
/** Map each row to the desired shape. Default: identity cast. */
|
|
3034
2575
|
mapRow?: (row: T) => U;
|
|
3035
2576
|
};
|
|
@@ -3065,7 +2606,7 @@ type KyselyQueryLike<T = unknown> = {
|
|
|
3065
2606
|
execute(): Promise<T[]>;
|
|
3066
2607
|
};
|
|
3067
2608
|
/** Options for {@link fromKysely}. */
|
|
3068
|
-
type FromKyselyOptions<T, U = T> = ExtraOpts$
|
|
2609
|
+
type FromKyselyOptions<T, U = T> = ExtraOpts$2 & {
|
|
3069
2610
|
/** Map each row to the desired shape. Default: identity cast. */
|
|
3070
2611
|
mapRow?: (row: T) => U;
|
|
3071
2612
|
};
|
|
@@ -3584,7 +3125,7 @@ declare function matchesCron(schedule: CronSchedule, date: Date): boolean;
|
|
|
3584
3125
|
* and `onResubscribe` are removed.
|
|
3585
3126
|
*/
|
|
3586
3127
|
|
|
3587
|
-
type ExtraOpts = Omit<NodeOptions<unknown>, "describeKind">;
|
|
3128
|
+
type ExtraOpts$1 = Omit<NodeOptions<unknown>, "describeKind">;
|
|
3588
3129
|
/**
|
|
3589
3130
|
* Maps each settled value from `source` through `project`.
|
|
3590
3131
|
*
|
|
@@ -3602,7 +3143,7 @@ type ExtraOpts = Omit<NodeOptions<unknown>, "describeKind">;
|
|
|
3602
3143
|
*
|
|
3603
3144
|
* @category extra
|
|
3604
3145
|
*/
|
|
3605
|
-
declare function map<T, R>(source: Node<T>, project: (value: T) => R, opts?: ExtraOpts): Node<R>;
|
|
3146
|
+
declare function map<T, R>(source: Node<T>, project: (value: T) => R, opts?: ExtraOpts$1): Node<R>;
|
|
3606
3147
|
/**
|
|
3607
3148
|
* Forwards values that satisfy `predicate`; otherwise emits `RESOLVED` with no `DATA` (two-phase semantics).
|
|
3608
3149
|
*
|
|
@@ -3620,7 +3161,7 @@ declare function map<T, R>(source: Node<T>, project: (value: T) => R, opts?: Ext
|
|
|
3620
3161
|
*
|
|
3621
3162
|
* @category extra
|
|
3622
3163
|
*/
|
|
3623
|
-
declare function filter<T>(source: Node<T>, predicate: (value: T) => boolean, opts?: ExtraOpts): Node<T>;
|
|
3164
|
+
declare function filter<T>(source: Node<T>, predicate: (value: T) => boolean, opts?: ExtraOpts$1): Node<T>;
|
|
3624
3165
|
/**
|
|
3625
3166
|
* Folds each upstream value into an accumulator; emits the new accumulator every time.
|
|
3626
3167
|
*
|
|
@@ -3642,7 +3183,7 @@ declare function filter<T>(source: Node<T>, predicate: (value: T) => boolean, op
|
|
|
3642
3183
|
*
|
|
3643
3184
|
* @category extra
|
|
3644
3185
|
*/
|
|
3645
|
-
declare function scan<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R, seed: R, opts?: ExtraOpts): Node<R>;
|
|
3186
|
+
declare function scan<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R, seed: R, opts?: ExtraOpts$1): Node<R>;
|
|
3646
3187
|
/**
|
|
3647
3188
|
* Reduces to one value emitted when `source` completes; if no `DATA` arrived, emits `seed`.
|
|
3648
3189
|
*
|
|
@@ -3664,7 +3205,7 @@ declare function scan<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R, s
|
|
|
3664
3205
|
*
|
|
3665
3206
|
* @category extra
|
|
3666
3207
|
*/
|
|
3667
|
-
declare function reduce<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R, seed: R, opts?: ExtraOpts): Node<R>;
|
|
3208
|
+
declare function reduce<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R, seed: R, opts?: ExtraOpts$1): Node<R>;
|
|
3668
3209
|
/**
|
|
3669
3210
|
* Emits at most `count` **`DATA`** values, then **`COMPLETE`**. `RESOLVED` does not advance the counter.
|
|
3670
3211
|
*
|
|
@@ -3682,7 +3223,7 @@ declare function reduce<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R,
|
|
|
3682
3223
|
*
|
|
3683
3224
|
* @category extra
|
|
3684
3225
|
*/
|
|
3685
|
-
declare function take<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node<T>;
|
|
3226
|
+
declare function take<T>(source: Node<T>, count: number, opts?: ExtraOpts$1): Node<T>;
|
|
3686
3227
|
/**
|
|
3687
3228
|
* Skips the first `count` **`DATA`** emissions. `RESOLVED` does not advance the counter.
|
|
3688
3229
|
*
|
|
@@ -3700,7 +3241,7 @@ declare function take<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node
|
|
|
3700
3241
|
*
|
|
3701
3242
|
* @category extra
|
|
3702
3243
|
*/
|
|
3703
|
-
declare function skip<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node<T>;
|
|
3244
|
+
declare function skip<T>(source: Node<T>, count: number, opts?: ExtraOpts$1): Node<T>;
|
|
3704
3245
|
/**
|
|
3705
3246
|
* Emits while `predicate` holds; on first false, sends **`COMPLETE`**.
|
|
3706
3247
|
*
|
|
@@ -3718,7 +3259,7 @@ declare function skip<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node
|
|
|
3718
3259
|
*
|
|
3719
3260
|
* @category extra
|
|
3720
3261
|
*/
|
|
3721
|
-
declare function takeWhile<T>(source: Node<T>, predicate: (value: T) => boolean, opts?: ExtraOpts): Node<T>;
|
|
3262
|
+
declare function takeWhile<T>(source: Node<T>, predicate: (value: T) => boolean, opts?: ExtraOpts$1): Node<T>;
|
|
3722
3263
|
/**
|
|
3723
3264
|
* Forwards `source` until `notifier` matches `predicate` (default: notifier **`DATA`**), then **`COMPLETE`**.
|
|
3724
3265
|
*
|
|
@@ -3738,7 +3279,7 @@ declare function takeWhile<T>(source: Node<T>, predicate: (value: T) => boolean,
|
|
|
3738
3279
|
*
|
|
3739
3280
|
* @category extra
|
|
3740
3281
|
*/
|
|
3741
|
-
declare function takeUntil<T>(source: Node<T>, notifier: Node, opts?: ExtraOpts & {
|
|
3282
|
+
declare function takeUntil<T>(source: Node<T>, notifier: Node, opts?: ExtraOpts$1 & {
|
|
3742
3283
|
predicate?: (msg: Message) => boolean;
|
|
3743
3284
|
}): Node<T>;
|
|
3744
3285
|
/**
|
|
@@ -3757,7 +3298,7 @@ declare function takeUntil<T>(source: Node<T>, notifier: Node, opts?: ExtraOpts
|
|
|
3757
3298
|
*
|
|
3758
3299
|
* @category extra
|
|
3759
3300
|
*/
|
|
3760
|
-
declare function first<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
3301
|
+
declare function first<T>(source: Node<T>, opts?: ExtraOpts$1): Node<T>;
|
|
3761
3302
|
/**
|
|
3762
3303
|
* Buffers values and emits the last **`DATA`** on **`COMPLETE`**; optional `defaultValue` if none arrived.
|
|
3763
3304
|
*
|
|
@@ -3774,7 +3315,7 @@ declare function first<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
|
3774
3315
|
*
|
|
3775
3316
|
* @category extra
|
|
3776
3317
|
*/
|
|
3777
|
-
declare function last<T>(source: Node<T>, options?: ExtraOpts & {
|
|
3318
|
+
declare function last<T>(source: Node<T>, options?: ExtraOpts$1 & {
|
|
3778
3319
|
defaultValue?: T;
|
|
3779
3320
|
}): Node<T>;
|
|
3780
3321
|
/**
|
|
@@ -3794,7 +3335,7 @@ declare function last<T>(source: Node<T>, options?: ExtraOpts & {
|
|
|
3794
3335
|
*
|
|
3795
3336
|
* @category extra
|
|
3796
3337
|
*/
|
|
3797
|
-
declare function find<T>(source: Node<T>, predicate: (value: T) => boolean, opts?: ExtraOpts): Node<T>;
|
|
3338
|
+
declare function find<T>(source: Node<T>, predicate: (value: T) => boolean, opts?: ExtraOpts$1): Node<T>;
|
|
3798
3339
|
/**
|
|
3799
3340
|
* Emits the `index`th **`DATA`** (zero-based), then **`COMPLETE`**.
|
|
3800
3341
|
*
|
|
@@ -3812,7 +3353,7 @@ declare function find<T>(source: Node<T>, predicate: (value: T) => boolean, opts
|
|
|
3812
3353
|
*
|
|
3813
3354
|
* @category extra
|
|
3814
3355
|
*/
|
|
3815
|
-
declare function elementAt<T>(source: Node<T>, index: number, opts?: ExtraOpts): Node<T>;
|
|
3356
|
+
declare function elementAt<T>(source: Node<T>, index: number, opts?: ExtraOpts$1): Node<T>;
|
|
3816
3357
|
/**
|
|
3817
3358
|
* Observer shape for {@link tap} — side effects for data, error, and/or complete.
|
|
3818
3359
|
*/
|
|
@@ -3845,7 +3386,7 @@ type TapObserver<T> = {
|
|
|
3845
3386
|
*
|
|
3846
3387
|
* @category extra
|
|
3847
3388
|
*/
|
|
3848
|
-
declare function tap<T>(source: Node<T>, fnOrObserver: ((value: T) => void) | TapObserver<T>, opts?: ExtraOpts): Node<T>;
|
|
3389
|
+
declare function tap<T>(source: Node<T>, fnOrObserver: ((value: T) => void) | TapObserver<T>, opts?: ExtraOpts$1): Node<T>;
|
|
3849
3390
|
/**
|
|
3850
3391
|
* Suppresses adjacent duplicates using `equals` (default `Object.is`).
|
|
3851
3392
|
*
|
|
@@ -3863,7 +3404,7 @@ declare function tap<T>(source: Node<T>, fnOrObserver: ((value: T) => void) | Ta
|
|
|
3863
3404
|
*
|
|
3864
3405
|
* @category extra
|
|
3865
3406
|
*/
|
|
3866
|
-
declare function distinctUntilChanged<T>(source: Node<T>, equals?: (a: T, b: T) => boolean, opts?: ExtraOpts): Node<T>;
|
|
3407
|
+
declare function distinctUntilChanged<T>(source: Node<T>, equals?: (a: T, b: T) => boolean, opts?: ExtraOpts$1): Node<T>;
|
|
3867
3408
|
/**
|
|
3868
3409
|
* Emits `[previous, current]` pairs starting after the second value (first pair uses `RESOLVED` only).
|
|
3869
3410
|
*
|
|
@@ -3880,7 +3421,7 @@ declare function distinctUntilChanged<T>(source: Node<T>, equals?: (a: T, b: T)
|
|
|
3880
3421
|
*
|
|
3881
3422
|
* @category extra
|
|
3882
3423
|
*/
|
|
3883
|
-
declare function pairwise<T>(source: Node<T>, opts?: ExtraOpts): Node<readonly [T, T]>;
|
|
3424
|
+
declare function pairwise<T>(source: Node<T>, opts?: ExtraOpts$1): Node<readonly [T, T]>;
|
|
3884
3425
|
/**
|
|
3885
3426
|
* Combines the latest value from each dependency whenever any dep settles (combineLatest).
|
|
3886
3427
|
*
|
|
@@ -3920,7 +3461,7 @@ declare function combine<const T extends readonly unknown[]>(...sources: {
|
|
|
3920
3461
|
*
|
|
3921
3462
|
* @category extra
|
|
3922
3463
|
*/
|
|
3923
|
-
declare function withLatestFrom<A, B>(primary: Node<A>, secondary: Node<B>, opts?: ExtraOpts): Node<readonly [A, B]>;
|
|
3464
|
+
declare function withLatestFrom<A, B>(primary: Node<A>, secondary: Node<B>, opts?: ExtraOpts$1): Node<readonly [A, B]>;
|
|
3924
3465
|
/**
|
|
3925
3466
|
* Merges **`DATA`** from any source with correct two-phase dirty tracking. **`COMPLETE`** after **all** sources complete (spec §1.3.5).
|
|
3926
3467
|
*
|
|
@@ -3975,7 +3516,7 @@ declare function zip<const T extends readonly unknown[]>(...sources: {
|
|
|
3975
3516
|
*
|
|
3976
3517
|
* @category extra
|
|
3977
3518
|
*/
|
|
3978
|
-
declare function concat<T>(firstSrc: Node<T>, secondSrc: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
3519
|
+
declare function concat<T>(firstSrc: Node<T>, secondSrc: Node<T>, opts?: ExtraOpts$1): Node<T>;
|
|
3979
3520
|
/**
|
|
3980
3521
|
* First source to emit **`DATA`** wins; later traffic follows only the winner (Rx-style `race`).
|
|
3981
3522
|
*
|
|
@@ -4009,7 +3550,7 @@ declare function race<T>(...sources: readonly Node<T>[]): Node<T>;
|
|
|
4009
3550
|
*
|
|
4010
3551
|
* @category extra
|
|
4011
3552
|
*/
|
|
4012
|
-
declare function switchMap<T, R>(source: Node<T>, project: (value: T) => NodeInput<R>, opts?: ExtraOpts): Node<R>;
|
|
3553
|
+
declare function switchMap<T, R>(source: Node<T>, project: (value: T) => NodeInput<R>, opts?: ExtraOpts$1): Node<R>;
|
|
4013
3554
|
/**
|
|
4014
3555
|
* Like {@link switchMap}, but ignores outer `DATA` while an inner subscription is active (`exhaustMap`).
|
|
4015
3556
|
*
|
|
@@ -4026,7 +3567,7 @@ declare function switchMap<T, R>(source: Node<T>, project: (value: T) => NodeInp
|
|
|
4026
3567
|
*
|
|
4027
3568
|
* @category extra
|
|
4028
3569
|
*/
|
|
4029
|
-
declare function exhaustMap<T, R>(source: Node<T>, project: (value: T) => NodeInput<R>, opts?: ExtraOpts): Node<R>;
|
|
3570
|
+
declare function exhaustMap<T, R>(source: Node<T>, project: (value: T) => NodeInput<R>, opts?: ExtraOpts$1): Node<R>;
|
|
4030
3571
|
/**
|
|
4031
3572
|
* Enqueues each outer value and subscribes to inners one at a time (`concatMap`).
|
|
4032
3573
|
*
|
|
@@ -4043,11 +3584,11 @@ declare function exhaustMap<T, R>(source: Node<T>, project: (value: T) => NodeIn
|
|
|
4043
3584
|
*
|
|
4044
3585
|
* @category extra
|
|
4045
3586
|
*/
|
|
4046
|
-
declare function concatMap<T, R>(source: Node<T>, project: (value: T) => NodeInput<R>, opts?: ExtraOpts & {
|
|
3587
|
+
declare function concatMap<T, R>(source: Node<T>, project: (value: T) => NodeInput<R>, opts?: ExtraOpts$1 & {
|
|
4047
3588
|
maxBuffer?: number;
|
|
4048
3589
|
}): Node<R>;
|
|
4049
3590
|
/** Options for {@link mergeMap}. */
|
|
4050
|
-
type MergeMapOptions = ExtraOpts & {
|
|
3591
|
+
type MergeMapOptions = ExtraOpts$1 & {
|
|
4051
3592
|
/** Maximum number of concurrent inner subscriptions. Default: `Infinity` (unbounded). */
|
|
4052
3593
|
concurrent?: number;
|
|
4053
3594
|
};
|
|
@@ -4115,7 +3656,7 @@ declare const flatMap: typeof mergeMap;
|
|
|
4115
3656
|
*
|
|
4116
3657
|
* @category extra
|
|
4117
3658
|
*/
|
|
4118
|
-
declare function delay<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T>;
|
|
3659
|
+
declare function delay<T>(source: Node<T>, ms: number, opts?: ExtraOpts$1): Node<T>;
|
|
4119
3660
|
/**
|
|
4120
3661
|
* Emits the latest value only after `ms` quiet time since the last trigger (`debounce`).
|
|
4121
3662
|
*
|
|
@@ -4132,7 +3673,7 @@ declare function delay<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T
|
|
|
4132
3673
|
*
|
|
4133
3674
|
* @category extra
|
|
4134
3675
|
*/
|
|
4135
|
-
declare function debounce<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T>;
|
|
3676
|
+
declare function debounce<T>(source: Node<T>, ms: number, opts?: ExtraOpts$1): Node<T>;
|
|
4136
3677
|
type ThrottleOptions = {
|
|
4137
3678
|
leading?: boolean;
|
|
4138
3679
|
trailing?: boolean;
|
|
@@ -4153,7 +3694,7 @@ type ThrottleOptions = {
|
|
|
4153
3694
|
*
|
|
4154
3695
|
* @category extra
|
|
4155
3696
|
*/
|
|
4156
|
-
declare function throttle<T>(source: Node<T>, ms: number, opts?: ExtraOpts & ThrottleOptions): Node<T>;
|
|
3697
|
+
declare function throttle<T>(source: Node<T>, ms: number, opts?: ExtraOpts$1 & ThrottleOptions): Node<T>;
|
|
4157
3698
|
/**
|
|
4158
3699
|
* Emits the most recent source value whenever `notifier` emits `DATA` (`sample`).
|
|
4159
3700
|
*
|
|
@@ -4174,7 +3715,7 @@ declare function throttle<T>(source: Node<T>, ms: number, opts?: ExtraOpts & Thr
|
|
|
4174
3715
|
*
|
|
4175
3716
|
* @category extra
|
|
4176
3717
|
*/
|
|
4177
|
-
declare function sample<T>(source: Node<T>, notifier: Node<unknown>, opts?: ExtraOpts): Node<T>;
|
|
3718
|
+
declare function sample<T>(source: Node<T>, notifier: Node<unknown>, opts?: ExtraOpts$1): Node<T>;
|
|
4178
3719
|
/**
|
|
4179
3720
|
* After each source `DATA`, waits `ms` then emits the latest value if another `DATA` has not arrived (`auditTime` / trailing window).
|
|
4180
3721
|
*
|
|
@@ -4191,7 +3732,7 @@ declare function sample<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
4191
3732
|
*
|
|
4192
3733
|
* @category extra
|
|
4193
3734
|
*/
|
|
4194
|
-
declare function audit<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T>;
|
|
3735
|
+
declare function audit<T>(source: Node<T>, ms: number, opts?: ExtraOpts$1): Node<T>;
|
|
4195
3736
|
/**
|
|
4196
3737
|
* Buffers source `DATA` values; flushes an array when `notifier` settles (`buffer`).
|
|
4197
3738
|
*
|
|
@@ -4208,7 +3749,7 @@ declare function audit<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T
|
|
|
4208
3749
|
*
|
|
4209
3750
|
* @category extra
|
|
4210
3751
|
*/
|
|
4211
|
-
declare function buffer<T>(source: Node<T>, notifier: Node<unknown>, opts?: ExtraOpts): Node<T[]>;
|
|
3752
|
+
declare function buffer<T>(source: Node<T>, notifier: Node<unknown>, opts?: ExtraOpts$1): Node<T[]>;
|
|
4212
3753
|
/**
|
|
4213
3754
|
* Batches consecutive `DATA` values into arrays of length `count` (`bufferCount` / `windowCount`).
|
|
4214
3755
|
*
|
|
@@ -4225,7 +3766,7 @@ declare function buffer<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
4225
3766
|
*
|
|
4226
3767
|
* @category extra
|
|
4227
3768
|
*/
|
|
4228
|
-
declare function bufferCount<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node<T[]>;
|
|
3769
|
+
declare function bufferCount<T>(source: Node<T>, count: number, opts?: ExtraOpts$1): Node<T[]>;
|
|
4229
3770
|
/**
|
|
4230
3771
|
* Splits source `DATA` into sub-nodes of `count` values each. Each sub-node completes after `count` items or when source completes.
|
|
4231
3772
|
*
|
|
@@ -4243,7 +3784,7 @@ declare function bufferCount<T>(source: Node<T>, count: number, opts?: ExtraOpts
|
|
|
4243
3784
|
*
|
|
4244
3785
|
* @category extra
|
|
4245
3786
|
*/
|
|
4246
|
-
declare function windowCount<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node<Node<T>>;
|
|
3787
|
+
declare function windowCount<T>(source: Node<T>, count: number, opts?: ExtraOpts$1): Node<Node<T>>;
|
|
4247
3788
|
/**
|
|
4248
3789
|
* Flushes buffered `DATA` values every `ms` (`bufferTime` / `windowTime`).
|
|
4249
3790
|
*
|
|
@@ -4260,7 +3801,7 @@ declare function windowCount<T>(source: Node<T>, count: number, opts?: ExtraOpts
|
|
|
4260
3801
|
*
|
|
4261
3802
|
* @category extra
|
|
4262
3803
|
*/
|
|
4263
|
-
declare function bufferTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T[]>;
|
|
3804
|
+
declare function bufferTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts$1): Node<T[]>;
|
|
4264
3805
|
/**
|
|
4265
3806
|
* Splits source `DATA` into time-windowed sub-nodes; each window lasts `ms`.
|
|
4266
3807
|
*
|
|
@@ -4278,7 +3819,7 @@ declare function bufferTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts): N
|
|
|
4278
3819
|
*
|
|
4279
3820
|
* @category extra
|
|
4280
3821
|
*/
|
|
4281
|
-
declare function windowTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<Node<T>>;
|
|
3822
|
+
declare function windowTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts$1): Node<Node<T>>;
|
|
4282
3823
|
/**
|
|
4283
3824
|
* Splits source `DATA` into sub-nodes, opening a new window each time `notifier` emits `DATA`.
|
|
4284
3825
|
*
|
|
@@ -4296,7 +3837,7 @@ declare function windowTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts): N
|
|
|
4296
3837
|
*
|
|
4297
3838
|
* @category extra
|
|
4298
3839
|
*/
|
|
4299
|
-
declare function window<T>(source: Node<T>, notifier: Node<unknown>, opts?: ExtraOpts): Node<Node<T>>;
|
|
3840
|
+
declare function window<T>(source: Node<T>, notifier: Node<unknown>, opts?: ExtraOpts$1): Node<Node<T>>;
|
|
4300
3841
|
/**
|
|
4301
3842
|
* Increments on each tick (`interval`); uses `setInterval` via {@link producer}.
|
|
4302
3843
|
*
|
|
@@ -4312,7 +3853,7 @@ declare function window<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
4312
3853
|
*
|
|
4313
3854
|
* @category extra
|
|
4314
3855
|
*/
|
|
4315
|
-
declare function interval(periodMs: number, opts?: ExtraOpts): Node<number>;
|
|
3856
|
+
declare function interval(periodMs: number, opts?: ExtraOpts$1): Node<number>;
|
|
4316
3857
|
/**
|
|
4317
3858
|
* Subscribes to `source` repeatedly (`count` times, sequentially). Best with a fresh or `resubscribable` source.
|
|
4318
3859
|
*
|
|
@@ -4329,7 +3870,7 @@ declare function interval(periodMs: number, opts?: ExtraOpts): Node<number>;
|
|
|
4329
3870
|
*
|
|
4330
3871
|
* @category extra
|
|
4331
3872
|
*/
|
|
4332
|
-
declare function repeat<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node<T>;
|
|
3873
|
+
declare function repeat<T>(source: Node<T>, count: number, opts?: ExtraOpts$1): Node<T>;
|
|
4333
3874
|
/**
|
|
4334
3875
|
* Identity passthrough — `pausable()` has been promoted to default node behavior in v5 (§4).
|
|
4335
3876
|
*
|
|
@@ -4350,7 +3891,7 @@ declare function repeat<T>(source: Node<T>, count: number, opts?: ExtraOpts): No
|
|
|
4350
3891
|
*
|
|
4351
3892
|
* @category extra
|
|
4352
3893
|
*/
|
|
4353
|
-
declare function pausable<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
3894
|
+
declare function pausable<T>(source: Node<T>, opts?: ExtraOpts$1): Node<T>;
|
|
4354
3895
|
/**
|
|
4355
3896
|
* Replaces an upstream `ERROR` with a recovered value (`catchError`-style).
|
|
4356
3897
|
*
|
|
@@ -4367,7 +3908,7 @@ declare function pausable<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
|
4367
3908
|
*
|
|
4368
3909
|
* @category extra
|
|
4369
3910
|
*/
|
|
4370
|
-
declare function rescue<T>(source: Node<T>, recover: (err: unknown) => T, opts?: ExtraOpts): Node<T>;
|
|
3911
|
+
declare function rescue<T>(source: Node<T>, recover: (err: unknown) => T, opts?: ExtraOpts$1): Node<T>;
|
|
4371
3912
|
/**
|
|
4372
3913
|
* Forwards upstream `DATA` only while `control.get()` is truthy; when closed, emits `RESOLVED`
|
|
4373
3914
|
* instead of repeating the last value (value-level valve). For protocol pause/resume, use default
|
|
@@ -4389,7 +3930,7 @@ declare function rescue<T>(source: Node<T>, recover: (err: unknown) => T, opts?:
|
|
|
4389
3930
|
*
|
|
4390
3931
|
* @category extra
|
|
4391
3932
|
*/
|
|
4392
|
-
declare function valve<T>(source: Node<T>, control: Node<boolean>, opts?: ExtraOpts): Node<T>;
|
|
3933
|
+
declare function valve<T>(source: Node<T>, control: Node<boolean>, opts?: ExtraOpts$1): Node<T>;
|
|
4393
3934
|
/**
|
|
4394
3935
|
* RxJS-named alias for {@link combine} — emits when any dep updates with latest tuple of values.
|
|
4395
3936
|
*
|
|
@@ -5126,6 +4667,38 @@ declare class NativeLogBackend<T> implements LogBackend<T> {
|
|
|
5126
4667
|
*/
|
|
5127
4668
|
declare function reactiveLog<T>(initial?: readonly T[], options?: ReactiveLogOptions<T>): ReactiveLogBundle<T>;
|
|
5128
4669
|
|
|
4670
|
+
/**
|
|
4671
|
+
* Filesystem-watching source. Isolated from `./sources.ts` so bundlers
|
|
4672
|
+
* targeting the browser can import browser-safe sources (`fromTimer`,
|
|
4673
|
+
* `fromRaf`, etc.) without pulling in `node:fs`/`node:path`.
|
|
4674
|
+
*/
|
|
4675
|
+
|
|
4676
|
+
type ExtraOpts = Omit<NodeOptions<unknown>, "describeKind">;
|
|
4677
|
+
type FSEventType = "change" | "rename" | "create" | "delete";
|
|
4678
|
+
type FSEvent = {
|
|
4679
|
+
type: FSEventType;
|
|
4680
|
+
path: string;
|
|
4681
|
+
root: string;
|
|
4682
|
+
relative_path: string;
|
|
4683
|
+
src_path?: string;
|
|
4684
|
+
dest_path?: string;
|
|
4685
|
+
timestamp_ns: number;
|
|
4686
|
+
};
|
|
4687
|
+
type FromFSWatchOptions = ExtraOpts & {
|
|
4688
|
+
recursive?: boolean;
|
|
4689
|
+
debounce?: number;
|
|
4690
|
+
include?: string[];
|
|
4691
|
+
exclude?: string[];
|
|
4692
|
+
};
|
|
4693
|
+
/**
|
|
4694
|
+
* Watches filesystem paths and emits debounced change events.
|
|
4695
|
+
*
|
|
4696
|
+
* Uses `fs.watch` only (no polling fallback). Teardown closes all watchers.
|
|
4697
|
+
*
|
|
4698
|
+
* @category extra
|
|
4699
|
+
*/
|
|
4700
|
+
declare function fromFSWatch(paths: string | string[], opts?: FromFSWatchOptions): Node<FSEvent>;
|
|
4701
|
+
|
|
5129
4702
|
/**
|
|
5130
4703
|
* Creates a resettable deadline timer for internal timeout, retry, and rate-limiting use.
|
|
5131
4704
|
*
|
|
@@ -5371,7 +4944,7 @@ declare function workerSelf<TImport extends readonly string[]>(target: unknown |
|
|
|
5371
4944
|
|
|
5372
4945
|
type index_AckableMessage<T> = AckableMessage<T>;
|
|
5373
4946
|
type index_AdapterHandlers<T> = AdapterHandlers<T>;
|
|
5374
|
-
|
|
4947
|
+
declare const index_AsyncSourceOpts: typeof AsyncSourceOpts;
|
|
5375
4948
|
type index_BackoffPreset = BackoffPreset;
|
|
5376
4949
|
type index_BackoffStrategy = BackoffStrategy;
|
|
5377
4950
|
type index_BatchMessage = BatchMessage;
|
|
@@ -5398,7 +4971,7 @@ type index_DistillOptions<TMem> = DistillOptions<TMem>;
|
|
|
5398
4971
|
type index_DrizzleQueryLike<T = unknown> = DrizzleQueryLike<T>;
|
|
5399
4972
|
type index_EmitTriad<T> = EmitTriad<T>;
|
|
5400
4973
|
type index_ErrorMessage = ErrorMessage;
|
|
5401
|
-
|
|
4974
|
+
declare const index_EventTargetLike: typeof EventTargetLike;
|
|
5402
4975
|
type index_ExponentialBackoffOptions = ExponentialBackoffOptions;
|
|
5403
4976
|
type index_ExternalBundleOptions<TChannels extends Record<string, unknown>> = ExternalBundleOptions<TChannels>;
|
|
5404
4977
|
type index_ExternalRegister<H> = ExternalRegister<H>;
|
|
@@ -5409,7 +4982,7 @@ type index_FallbackInput<T> = FallbackInput<T>;
|
|
|
5409
4982
|
type index_FileWriterLike = FileWriterLike;
|
|
5410
4983
|
type index_FromCSVOptions = FromCSVOptions;
|
|
5411
4984
|
type index_FromClickHouseWatchOptions = FromClickHouseWatchOptions;
|
|
5412
|
-
|
|
4985
|
+
declare const index_FromCronOptions: typeof FromCronOptions;
|
|
5413
4986
|
type index_FromDrizzleOptions<T, U = T> = FromDrizzleOptions<T, U>;
|
|
5414
4987
|
type index_FromFSWatchOptions = FromFSWatchOptions;
|
|
5415
4988
|
type index_FromGitHookOptions = FromGitHookOptions;
|
|
@@ -5468,7 +5041,7 @@ declare const index_NativeMapBackend: typeof NativeMapBackend;
|
|
|
5468
5041
|
type index_NativeMapBackendOptions = NativeMapBackendOptions;
|
|
5469
5042
|
type index_NativePubSubBackend = NativePubSubBackend;
|
|
5470
5043
|
declare const index_NativePubSubBackend: typeof NativePubSubBackend;
|
|
5471
|
-
|
|
5044
|
+
declare const index_NodeInput: typeof NodeInput;
|
|
5472
5045
|
type index_OTelBundle = OTelBundle;
|
|
5473
5046
|
type index_OTelLog = OTelLog;
|
|
5474
5047
|
type index_OTelMetric = OTelMetric;
|
|
@@ -5489,7 +5062,7 @@ type index_RateLimiterOptions = RateLimiterOptions;
|
|
|
5489
5062
|
type index_RateLimiterOverflowError = RateLimiterOverflowError;
|
|
5490
5063
|
declare const index_RateLimiterOverflowError: typeof RateLimiterOverflowError;
|
|
5491
5064
|
type index_RateLimiterOverflowPolicy = RateLimiterOverflowPolicy;
|
|
5492
|
-
|
|
5065
|
+
declare const index_ReactiveCounterBundle: typeof ReactiveCounterBundle;
|
|
5493
5066
|
type index_ReactiveIndexBundle<K, V = unknown> = ReactiveIndexBundle<K, V>;
|
|
5494
5067
|
type index_ReactiveIndexOptions<K, V = unknown> = ReactiveIndexOptions<K, V>;
|
|
5495
5068
|
type index_ReactiveListBundle<T> = ReactiveListBundle<T>;
|
|
@@ -5637,6 +5210,7 @@ declare const index_fromPrometheus: typeof fromPrometheus;
|
|
|
5637
5210
|
declare const index_fromPromise: typeof fromPromise;
|
|
5638
5211
|
declare const index_fromPulsar: typeof fromPulsar;
|
|
5639
5212
|
declare const index_fromRabbitMQ: typeof fromRabbitMQ;
|
|
5213
|
+
declare const index_fromRaf: typeof fromRaf;
|
|
5640
5214
|
declare const index_fromRedisStream: typeof fromRedisStream;
|
|
5641
5215
|
declare const index_fromSSE: typeof fromSSE;
|
|
5642
5216
|
declare const index_fromSqlite: typeof fromSqlite;
|
|
@@ -5738,7 +5312,7 @@ declare const index_workerBridge: typeof workerBridge;
|
|
|
5738
5312
|
declare const index_workerSelf: typeof workerSelf;
|
|
5739
5313
|
declare const index_zip: typeof zip;
|
|
5740
5314
|
declare namespace index {
|
|
5741
|
-
export { type index_AckableMessage as AckableMessage, type index_AdapterHandlers as AdapterHandlers, type index_AsyncSourceOpts as AsyncSourceOpts, type index_BackoffPreset as BackoffPreset, type index_BackoffStrategy as BackoffStrategy, type index_BatchMessage as BatchMessage, type index_BridgeMessage as BridgeMessage, type index_BufferedSinkHandle as BufferedSinkHandle, type index_BundleTriad as BundleTriad, type index_CSVRow as CSVRow, type index_CacheEvictionPolicy as CacheEvictionPolicy, type index_CascadingCache as CascadingCache, type index_CascadingCacheOptions as CascadingCacheOptions, type index_CheckpointToRedisOptions as CheckpointToRedisOptions, type index_CheckpointToS3Options as CheckpointToS3Options, type index_CircuitBreaker as CircuitBreaker, type index_CircuitBreakerOptions as CircuitBreakerOptions, index_CircuitOpenError as CircuitOpenError, type index_CircuitState as CircuitState, type index_ClickHouseClientLike as ClickHouseClientLike, type index_ClickHouseInsertClientLike as ClickHouseInsertClientLike, type index_ClickHouseRow as ClickHouseRow, type index_CronSchedule as CronSchedule, type index_DistillBundle as DistillBundle, type index_DistillOptions as DistillOptions, type index_DrizzleQueryLike as DrizzleQueryLike, type index_EmitTriad as EmitTriad, type index_ErrorMessage as ErrorMessage, type index_EventTargetLike as EventTargetLike, type index_ExponentialBackoffOptions as ExponentialBackoffOptions, type index_ExternalBundleOptions as ExternalBundleOptions, type index_ExternalRegister as ExternalRegister, type index_Extraction as Extraction, type index_FSEvent as FSEvent, type index_FSEventType as FSEventType, type index_FallbackInput as FallbackInput, type index_FileWriterLike as FileWriterLike, type index_FromCSVOptions as FromCSVOptions, type index_FromClickHouseWatchOptions as FromClickHouseWatchOptions, type index_FromCronOptions as FromCronOptions, type index_FromDrizzleOptions as FromDrizzleOptions, type index_FromFSWatchOptions as FromFSWatchOptions, type index_FromGitHookOptions as FromGitHookOptions, type index_FromHTTPOptions as FromHTTPOptions, type index_FromHTTPPollOptions as FromHTTPPollOptions, type index_FromHTTPStreamOptions as FromHTTPStreamOptions, type index_FromKafkaOptions as FromKafkaOptions, type index_FromKyselyOptions as FromKyselyOptions, type index_FromMCPOptions as FromMCPOptions, type index_FromNATSOptions as FromNATSOptions, type index_FromNDJSONOptions as FromNDJSONOptions, type index_FromOTelOptions as FromOTelOptions, type index_FromPrismaOptions as FromPrismaOptions, type index_FromPrometheusOptions as FromPrometheusOptions, type index_FromPulsarOptions as FromPulsarOptions, type index_FromRabbitMQOptions as FromRabbitMQOptions, type index_FromRedisStreamOptions as FromRedisStreamOptions, type index_FromSSEOptions as FromSSEOptions, type index_FromSqliteOptions as FromSqliteOptions, type index_FromStatsDOptions as FromStatsDOptions, type index_FromSyslogOptions as FromSyslogOptions, type index_FromWebSocketReconnectOptions as FromWebSocketReconnectOptions, type index_GitEvent as GitEvent, type index_GitHookType as GitHookType, type index_HTTPBundle as HTTPBundle, type index_IndexBackend as IndexBackend, type index_IndexRow as IndexRow, index_IndexedDbStorageSpec as IndexedDbStorageSpec, type index_InitMessage as InitMessage, type index_JitterMode as JitterMode, type index_KafkaConsumerLike as KafkaConsumerLike, type index_KafkaMessage as KafkaMessage, type index_KafkaProducerLike as KafkaProducerLike, type index_KyselyQueryLike as KyselyQueryLike, type index_ListBackend as ListBackend, type index_LogBackend as LogBackend, type index_LokiClientLike as LokiClientLike, type index_LokiStream as LokiStream, type index_MCPClientLike as MCPClientLike, type index_MapBackend as MapBackend, type index_MergeMapOptions as MergeMapOptions, type index_MongoCollectionLike as MongoCollectionLike, type index_NATSClientLike as NATSClientLike, type index_NATSMessage as NATSMessage, type index_NATSSubscriptionLike as NATSSubscriptionLike, index_NS_PER_MS as NS_PER_MS, index_NS_PER_SEC as NS_PER_SEC, index_NativeIndexBackend as NativeIndexBackend, index_NativeListBackend as NativeListBackend, index_NativeLogBackend as NativeLogBackend, index_NativeMapBackend as NativeMapBackend, type index_NativeMapBackendOptions as NativeMapBackendOptions, index_NativePubSubBackend as NativePubSubBackend, type index_NodeInput as NodeInput, type index_OTelBundle as OTelBundle, type index_OTelLog as OTelLog, type index_OTelMetric as OTelMetric, type index_OTelRegister as OTelRegister, type index_OTelSpan as OTelSpan, type index_PostgresClientLike as PostgresClientLike, type index_PrismaModelLike as PrismaModelLike, type index_PrometheusMetric as PrometheusMetric, type index_PubSubBackend as PubSubBackend, type index_PubSubHub as PubSubHub, type index_PubSubHubOptions as PubSubHubOptions, type index_PulsarConsumerLike as PulsarConsumerLike, type index_PulsarMessage as PulsarMessage, type index_PulsarProducerLike as PulsarProducerLike, type index_RabbitMQChannelLike as RabbitMQChannelLike, type index_RabbitMQMessage as RabbitMQMessage, type index_RateLimiterOptions as RateLimiterOptions, index_RateLimiterOverflowError as RateLimiterOverflowError, type index_RateLimiterOverflowPolicy as RateLimiterOverflowPolicy, type index_ReactiveCounterBundle as ReactiveCounterBundle, type index_ReactiveIndexBundle as ReactiveIndexBundle, type index_ReactiveIndexOptions as ReactiveIndexOptions, type index_ReactiveListBundle as ReactiveListBundle, type index_ReactiveListOptions as ReactiveListOptions, type index_ReactiveLogBundle as ReactiveLogBundle, type index_ReactiveLogOptions as ReactiveLogOptions, type index_ReactiveMapBundle as ReactiveMapBundle, type index_ReactiveMapOptions as ReactiveMapOptions, type index_ReactiveSinkBackpressureOptions as ReactiveSinkBackpressureOptions, type index_ReactiveSinkConfig as ReactiveSinkConfig, type index_ReactiveSinkHandle as ReactiveSinkHandle, type index_ReactiveSinkOptions as ReactiveSinkOptions, type index_ReactiveSinkRetryOptions as ReactiveSinkRetryOptions, type index_ReadyMessage as ReadyMessage, type index_RedisCheckpointClientLike as RedisCheckpointClientLike, type index_RedisClientLike as RedisClientLike, type index_RedisStreamEntry as RedisStreamEntry, index_ResettableTimer as ResettableTimer, type index_RetryOptions as RetryOptions, type index_RetrySourceOptions as RetrySourceOptions, type index_S3ClientLike as S3ClientLike, type index_SSEEvent as SSEEvent, type index_SignalMessage as SignalMessage, type index_SinkFailure as SinkFailure, type index_SinkHandle as SinkHandle, type index_SinkTransportError as SinkTransportError, type index_SqliteDbLike as SqliteDbLike, type index_SqliteIterableDbLike as SqliteIterableDbLike, type index_StatsDMetric as StatsDMetric, type index_StatsDRegister as StatsDRegister, type index_StatusValue as StatusValue, index_StorageHandle as StorageHandle, index_StorageTier as StorageTier, type index_SyslogMessage as SyslogMessage, type index_SyslogRegister as SyslogRegister, type index_TapObserver as TapObserver, type index_TempoClientLike as TempoClientLike, type index_ThrottleOptions as ThrottleOptions, index_TimeoutError as TimeoutError, type index_ToCSVOptions as ToCSVOptions, type index_ToClickHouseOptions as ToClickHouseOptions, type index_ToFileOptions as ToFileOptions, type index_ToHTTPOptions as ToHTTPOptions, type index_ToKafkaOptions as ToKafkaOptions, type index_ToLokiOptions as ToLokiOptions, type index_ToMongoOptions as ToMongoOptions, type index_ToNATSOptions as ToNATSOptions, index_ToObservableOptions as ToObservableOptions, type index_ToPostgresOptions as ToPostgresOptions, type index_ToPulsarOptions as ToPulsarOptions, type index_ToRabbitMQOptions as ToRabbitMQOptions, type index_ToRedisStreamOptions as ToRedisStreamOptions, type index_ToS3Options as ToS3Options, type index_ToSSEOptions as ToSSEOptions, type index_ToSqliteOptions as ToSqliteOptions, type index_ToTempoOptions as ToTempoOptions, type index_ToWebSocketOptions as ToWebSocketOptions, type index_TokenBucket as TokenBucket, type index_UpsertOptions as UpsertOptions, type index_ValueMessage as ValueMessage, type index_VerifiableBundle as VerifiableBundle, type index_VerifiableOptions as VerifiableOptions, type index_VerifyValue as VerifyValue, type index_WatermarkController as WatermarkController, type index_WatermarkOptions as WatermarkOptions, type index_WebSocketLike as WebSocketLike, type index_WebSocketMessageEventLike as WebSocketMessageEventLike, type index_WebSocketRegister as WebSocketRegister, type index_WebhookRegister as WebhookRegister, type index_WithBreakerBundle as WithBreakerBundle, type index_WithStatusBundle as WithStatusBundle, type index_WorkerBridge as WorkerBridge, type index_WorkerBridgeOptions as WorkerBridgeOptions, type index_WorkerSelfHandle as WorkerSelfHandle, type index_WorkerSelfOptions as WorkerSelfOptions, type index_WorkerTransport as WorkerTransport, index_audit as audit, index_buffer as buffer, index_bufferCount as bufferCount, index_bufferTime as bufferTime, index_cached as cached, index_cascadingCache as cascadingCache, index_catchError as catchError, index_checkpointToRedis as checkpointToRedis, index_checkpointToS3 as checkpointToS3, index_circuitBreaker as circuitBreaker, index_combine as combine, index_combineLatest as combineLatest, index_concat as concat, index_concatMap as concatMap, index_constant as constant, index_createTransport as createTransport, index_createWatermarkController as createWatermarkController, index_csvRows as csvRows, index_debounce as debounce, index_debounceTime as debounceTime, index_decorrelatedJitter as decorrelatedJitter, index_delay as delay, index_deserializeError as deserializeError, index_dictStorage as dictStorage, index_distill as distill, index_distinctUntilChanged as distinctUntilChanged, index_elementAt as elementAt, index_empty as empty, index_escapeRegexChar as escapeRegexChar, index_exhaustMap as exhaustMap, index_exponential as exponential, index_externalBundle as externalBundle, index_externalProducer as externalProducer, index_fallback as fallback, index_fibonacci as fibonacci, index_fileStorage as fileStorage, index_filter as filter, index_find as find, index_first as first, index_firstValueFrom as firstValueFrom, index_firstWhere as firstWhere, index_flatMap as flatMap, index_forEach as forEach, index_fromAny as fromAny, index_fromAsyncIter as fromAsyncIter, index_fromCSV as fromCSV, index_fromClickHouseWatch as fromClickHouseWatch, index_fromCron as fromCron, index_fromDrizzle as fromDrizzle, index_fromEvent as fromEvent, index_fromFSWatch as fromFSWatch, index_fromGitHook as fromGitHook, index_fromHTTP as fromHTTP, index_fromHTTPPoll as fromHTTPPoll, index_fromHTTPStream as fromHTTPStream, index_fromIDBRequest as fromIDBRequest, index_fromIDBTransaction as fromIDBTransaction, index_fromIter as fromIter, index_fromKafka as fromKafka, index_fromKysely as fromKysely, index_fromMCP as fromMCP, index_fromNATS as fromNATS, index_fromNDJSON as fromNDJSON, index_fromOTel as fromOTel, index_fromPrisma as fromPrisma, index_fromPrometheus as fromPrometheus, index_fromPromise as fromPromise, index_fromPulsar as fromPulsar, index_fromRabbitMQ as fromRabbitMQ, index_fromRedisStream as fromRedisStream, index_fromSSE as fromSSE, index_fromSqlite as fromSqlite, index_fromSqliteCursor as fromSqliteCursor, index_fromStatsD as fromStatsD, index_fromSyslog as fromSyslog, index_fromTimer as fromTimer, index_fromWebSocket as fromWebSocket, index_fromWebSocketReconnect as fromWebSocketReconnect, index_fromWebhook as fromWebhook, index_globToRegExp as globToRegExp, index_indexedDbStorage as indexedDbStorage, index_interval as interval, index_keepalive as keepalive, index_last as last, index_linear as linear, index_lru as lru, index_map as map, index_matchesAnyPattern as matchesAnyPattern, index_matchesCron as matchesCron, index_memoryStorage as memoryStorage, index_merge as merge, index_mergeMap as mergeMap, index_nameToSignal as nameToSignal, index_ndjsonRows as ndjsonRows, index_never as never, index_of as of, index_pairwise as pairwise, index_parseCron as parseCron, index_parsePrometheusText as parsePrometheusText, index_parseStatsD as parseStatsD, index_parseSyslog as parseSyslog, index_pausable as pausable, index_pubsub as pubsub, index_race as race, index_rateLimiter as rateLimiter, index_reactiveCounter as reactiveCounter, index_reactiveIndex as reactiveIndex, index_reactiveList as reactiveList, index_reactiveLog as reactiveLog, index_reactiveMap as reactiveMap, index_reactiveSink as reactiveSink, index_reduce as reduce, index_repeat as repeat, index_replay as replay, index_rescue as rescue, index_resolveBackoffPreset as resolveBackoffPreset, index_retry as retry, index_retrySource as retrySource, index_sample as sample, index_scan as scan, index_serializeError as serializeError, index_share as share, index_shareReplay as shareReplay, index_signalToName as signalToName, index_skip as skip, index_sqliteStorage as sqliteStorage, index_switchMap as switchMap, index_take as take, index_takeUntil as takeUntil, index_takeWhile as takeWhile, index_tap as tap, index_throttle as throttle, index_throttleTime as throttleTime, index_throwError as throwError, index_timeout as timeout, index_toArray as toArray, index_toCSV as toCSV, index_toClickHouse as toClickHouse, index_toFile as toFile, index_toHTTP as toHTTP, index_toKafka as toKafka, index_toLoki as toLoki, index_toMongo as toMongo, index_toNATS as toNATS, index_toObservable as toObservable, index_toPostgres as toPostgres, index_toPulsar as toPulsar, index_toRabbitMQ as toRabbitMQ, index_toReadableStream as toReadableStream, index_toRedisStream as toRedisStream, index_toS3 as toS3, index_toSSE as toSSE, index_toSSEBytes as toSSEBytes, index_toSqlite as toSqlite, index_toTempo as toTempo, index_toWebSocket as toWebSocket, index_tokenBucket as tokenBucket, index_valve as valve, index_verifiable as verifiable, index_window as window, index_windowCount as windowCount, index_windowTime as windowTime, index_withBreaker as withBreaker, index_withLatestFrom as withLatestFrom, index_withMaxAttempts as withMaxAttempts, index_withStatus as withStatus, index_workerBridge as workerBridge, index_workerSelf as workerSelf, index_zip as zip };
|
|
5315
|
+
export { type index_AckableMessage as AckableMessage, type index_AdapterHandlers as AdapterHandlers, index_AsyncSourceOpts as AsyncSourceOpts, type index_BackoffPreset as BackoffPreset, type index_BackoffStrategy as BackoffStrategy, type index_BatchMessage as BatchMessage, type index_BridgeMessage as BridgeMessage, type index_BufferedSinkHandle as BufferedSinkHandle, type index_BundleTriad as BundleTriad, type index_CSVRow as CSVRow, type index_CacheEvictionPolicy as CacheEvictionPolicy, type index_CascadingCache as CascadingCache, type index_CascadingCacheOptions as CascadingCacheOptions, type index_CheckpointToRedisOptions as CheckpointToRedisOptions, type index_CheckpointToS3Options as CheckpointToS3Options, type index_CircuitBreaker as CircuitBreaker, type index_CircuitBreakerOptions as CircuitBreakerOptions, index_CircuitOpenError as CircuitOpenError, type index_CircuitState as CircuitState, type index_ClickHouseClientLike as ClickHouseClientLike, type index_ClickHouseInsertClientLike as ClickHouseInsertClientLike, type index_ClickHouseRow as ClickHouseRow, type index_CronSchedule as CronSchedule, type index_DistillBundle as DistillBundle, type index_DistillOptions as DistillOptions, type index_DrizzleQueryLike as DrizzleQueryLike, type index_EmitTriad as EmitTriad, type index_ErrorMessage as ErrorMessage, index_EventTargetLike as EventTargetLike, type index_ExponentialBackoffOptions as ExponentialBackoffOptions, type index_ExternalBundleOptions as ExternalBundleOptions, type index_ExternalRegister as ExternalRegister, type index_Extraction as Extraction, type index_FSEvent as FSEvent, type index_FSEventType as FSEventType, type index_FallbackInput as FallbackInput, type index_FileWriterLike as FileWriterLike, type index_FromCSVOptions as FromCSVOptions, type index_FromClickHouseWatchOptions as FromClickHouseWatchOptions, index_FromCronOptions as FromCronOptions, type index_FromDrizzleOptions as FromDrizzleOptions, type index_FromFSWatchOptions as FromFSWatchOptions, type index_FromGitHookOptions as FromGitHookOptions, type index_FromHTTPOptions as FromHTTPOptions, type index_FromHTTPPollOptions as FromHTTPPollOptions, type index_FromHTTPStreamOptions as FromHTTPStreamOptions, type index_FromKafkaOptions as FromKafkaOptions, type index_FromKyselyOptions as FromKyselyOptions, type index_FromMCPOptions as FromMCPOptions, type index_FromNATSOptions as FromNATSOptions, type index_FromNDJSONOptions as FromNDJSONOptions, type index_FromOTelOptions as FromOTelOptions, type index_FromPrismaOptions as FromPrismaOptions, type index_FromPrometheusOptions as FromPrometheusOptions, type index_FromPulsarOptions as FromPulsarOptions, type index_FromRabbitMQOptions as FromRabbitMQOptions, type index_FromRedisStreamOptions as FromRedisStreamOptions, type index_FromSSEOptions as FromSSEOptions, type index_FromSqliteOptions as FromSqliteOptions, type index_FromStatsDOptions as FromStatsDOptions, type index_FromSyslogOptions as FromSyslogOptions, type index_FromWebSocketReconnectOptions as FromWebSocketReconnectOptions, type index_GitEvent as GitEvent, type index_GitHookType as GitHookType, type index_HTTPBundle as HTTPBundle, type index_IndexBackend as IndexBackend, type index_IndexRow as IndexRow, index_IndexedDbStorageSpec as IndexedDbStorageSpec, type index_InitMessage as InitMessage, type index_JitterMode as JitterMode, type index_KafkaConsumerLike as KafkaConsumerLike, type index_KafkaMessage as KafkaMessage, type index_KafkaProducerLike as KafkaProducerLike, type index_KyselyQueryLike as KyselyQueryLike, type index_ListBackend as ListBackend, type index_LogBackend as LogBackend, type index_LokiClientLike as LokiClientLike, type index_LokiStream as LokiStream, type index_MCPClientLike as MCPClientLike, type index_MapBackend as MapBackend, type index_MergeMapOptions as MergeMapOptions, type index_MongoCollectionLike as MongoCollectionLike, type index_NATSClientLike as NATSClientLike, type index_NATSMessage as NATSMessage, type index_NATSSubscriptionLike as NATSSubscriptionLike, index_NS_PER_MS as NS_PER_MS, index_NS_PER_SEC as NS_PER_SEC, index_NativeIndexBackend as NativeIndexBackend, index_NativeListBackend as NativeListBackend, index_NativeLogBackend as NativeLogBackend, index_NativeMapBackend as NativeMapBackend, type index_NativeMapBackendOptions as NativeMapBackendOptions, index_NativePubSubBackend as NativePubSubBackend, index_NodeInput as NodeInput, type index_OTelBundle as OTelBundle, type index_OTelLog as OTelLog, type index_OTelMetric as OTelMetric, type index_OTelRegister as OTelRegister, type index_OTelSpan as OTelSpan, type index_PostgresClientLike as PostgresClientLike, type index_PrismaModelLike as PrismaModelLike, type index_PrometheusMetric as PrometheusMetric, type index_PubSubBackend as PubSubBackend, type index_PubSubHub as PubSubHub, type index_PubSubHubOptions as PubSubHubOptions, type index_PulsarConsumerLike as PulsarConsumerLike, type index_PulsarMessage as PulsarMessage, type index_PulsarProducerLike as PulsarProducerLike, type index_RabbitMQChannelLike as RabbitMQChannelLike, type index_RabbitMQMessage as RabbitMQMessage, type index_RateLimiterOptions as RateLimiterOptions, index_RateLimiterOverflowError as RateLimiterOverflowError, type index_RateLimiterOverflowPolicy as RateLimiterOverflowPolicy, index_ReactiveCounterBundle as ReactiveCounterBundle, type index_ReactiveIndexBundle as ReactiveIndexBundle, type index_ReactiveIndexOptions as ReactiveIndexOptions, type index_ReactiveListBundle as ReactiveListBundle, type index_ReactiveListOptions as ReactiveListOptions, type index_ReactiveLogBundle as ReactiveLogBundle, type index_ReactiveLogOptions as ReactiveLogOptions, type index_ReactiveMapBundle as ReactiveMapBundle, type index_ReactiveMapOptions as ReactiveMapOptions, type index_ReactiveSinkBackpressureOptions as ReactiveSinkBackpressureOptions, type index_ReactiveSinkConfig as ReactiveSinkConfig, type index_ReactiveSinkHandle as ReactiveSinkHandle, type index_ReactiveSinkOptions as ReactiveSinkOptions, type index_ReactiveSinkRetryOptions as ReactiveSinkRetryOptions, type index_ReadyMessage as ReadyMessage, type index_RedisCheckpointClientLike as RedisCheckpointClientLike, type index_RedisClientLike as RedisClientLike, type index_RedisStreamEntry as RedisStreamEntry, index_ResettableTimer as ResettableTimer, type index_RetryOptions as RetryOptions, type index_RetrySourceOptions as RetrySourceOptions, type index_S3ClientLike as S3ClientLike, type index_SSEEvent as SSEEvent, type index_SignalMessage as SignalMessage, type index_SinkFailure as SinkFailure, type index_SinkHandle as SinkHandle, type index_SinkTransportError as SinkTransportError, type index_SqliteDbLike as SqliteDbLike, type index_SqliteIterableDbLike as SqliteIterableDbLike, type index_StatsDMetric as StatsDMetric, type index_StatsDRegister as StatsDRegister, type index_StatusValue as StatusValue, index_StorageHandle as StorageHandle, index_StorageTier as StorageTier, type index_SyslogMessage as SyslogMessage, type index_SyslogRegister as SyslogRegister, type index_TapObserver as TapObserver, type index_TempoClientLike as TempoClientLike, type index_ThrottleOptions as ThrottleOptions, index_TimeoutError as TimeoutError, type index_ToCSVOptions as ToCSVOptions, type index_ToClickHouseOptions as ToClickHouseOptions, type index_ToFileOptions as ToFileOptions, type index_ToHTTPOptions as ToHTTPOptions, type index_ToKafkaOptions as ToKafkaOptions, type index_ToLokiOptions as ToLokiOptions, type index_ToMongoOptions as ToMongoOptions, type index_ToNATSOptions as ToNATSOptions, index_ToObservableOptions as ToObservableOptions, type index_ToPostgresOptions as ToPostgresOptions, type index_ToPulsarOptions as ToPulsarOptions, type index_ToRabbitMQOptions as ToRabbitMQOptions, type index_ToRedisStreamOptions as ToRedisStreamOptions, type index_ToS3Options as ToS3Options, type index_ToSSEOptions as ToSSEOptions, type index_ToSqliteOptions as ToSqliteOptions, type index_ToTempoOptions as ToTempoOptions, type index_ToWebSocketOptions as ToWebSocketOptions, type index_TokenBucket as TokenBucket, type index_UpsertOptions as UpsertOptions, type index_ValueMessage as ValueMessage, type index_VerifiableBundle as VerifiableBundle, type index_VerifiableOptions as VerifiableOptions, type index_VerifyValue as VerifyValue, type index_WatermarkController as WatermarkController, type index_WatermarkOptions as WatermarkOptions, type index_WebSocketLike as WebSocketLike, type index_WebSocketMessageEventLike as WebSocketMessageEventLike, type index_WebSocketRegister as WebSocketRegister, type index_WebhookRegister as WebhookRegister, type index_WithBreakerBundle as WithBreakerBundle, type index_WithStatusBundle as WithStatusBundle, type index_WorkerBridge as WorkerBridge, type index_WorkerBridgeOptions as WorkerBridgeOptions, type index_WorkerSelfHandle as WorkerSelfHandle, type index_WorkerSelfOptions as WorkerSelfOptions, type index_WorkerTransport as WorkerTransport, index_audit as audit, index_buffer as buffer, index_bufferCount as bufferCount, index_bufferTime as bufferTime, index_cached as cached, index_cascadingCache as cascadingCache, index_catchError as catchError, index_checkpointToRedis as checkpointToRedis, index_checkpointToS3 as checkpointToS3, index_circuitBreaker as circuitBreaker, index_combine as combine, index_combineLatest as combineLatest, index_concat as concat, index_concatMap as concatMap, index_constant as constant, index_createTransport as createTransport, index_createWatermarkController as createWatermarkController, index_csvRows as csvRows, index_debounce as debounce, index_debounceTime as debounceTime, index_decorrelatedJitter as decorrelatedJitter, index_delay as delay, index_deserializeError as deserializeError, index_dictStorage as dictStorage, index_distill as distill, index_distinctUntilChanged as distinctUntilChanged, index_elementAt as elementAt, index_empty as empty, index_escapeRegexChar as escapeRegexChar, index_exhaustMap as exhaustMap, index_exponential as exponential, index_externalBundle as externalBundle, index_externalProducer as externalProducer, index_fallback as fallback, index_fibonacci as fibonacci, index_fileStorage as fileStorage, index_filter as filter, index_find as find, index_first as first, index_firstValueFrom as firstValueFrom, index_firstWhere as firstWhere, index_flatMap as flatMap, index_forEach as forEach, index_fromAny as fromAny, index_fromAsyncIter as fromAsyncIter, index_fromCSV as fromCSV, index_fromClickHouseWatch as fromClickHouseWatch, index_fromCron as fromCron, index_fromDrizzle as fromDrizzle, index_fromEvent as fromEvent, index_fromFSWatch as fromFSWatch, index_fromGitHook as fromGitHook, index_fromHTTP as fromHTTP, index_fromHTTPPoll as fromHTTPPoll, index_fromHTTPStream as fromHTTPStream, index_fromIDBRequest as fromIDBRequest, index_fromIDBTransaction as fromIDBTransaction, index_fromIter as fromIter, index_fromKafka as fromKafka, index_fromKysely as fromKysely, index_fromMCP as fromMCP, index_fromNATS as fromNATS, index_fromNDJSON as fromNDJSON, index_fromOTel as fromOTel, index_fromPrisma as fromPrisma, index_fromPrometheus as fromPrometheus, index_fromPromise as fromPromise, index_fromPulsar as fromPulsar, index_fromRabbitMQ as fromRabbitMQ, index_fromRaf as fromRaf, index_fromRedisStream as fromRedisStream, index_fromSSE as fromSSE, index_fromSqlite as fromSqlite, index_fromSqliteCursor as fromSqliteCursor, index_fromStatsD as fromStatsD, index_fromSyslog as fromSyslog, index_fromTimer as fromTimer, index_fromWebSocket as fromWebSocket, index_fromWebSocketReconnect as fromWebSocketReconnect, index_fromWebhook as fromWebhook, index_globToRegExp as globToRegExp, index_indexedDbStorage as indexedDbStorage, index_interval as interval, index_keepalive as keepalive, index_last as last, index_linear as linear, index_lru as lru, index_map as map, index_matchesAnyPattern as matchesAnyPattern, index_matchesCron as matchesCron, index_memoryStorage as memoryStorage, index_merge as merge, index_mergeMap as mergeMap, index_nameToSignal as nameToSignal, index_ndjsonRows as ndjsonRows, index_never as never, index_of as of, index_pairwise as pairwise, index_parseCron as parseCron, index_parsePrometheusText as parsePrometheusText, index_parseStatsD as parseStatsD, index_parseSyslog as parseSyslog, index_pausable as pausable, index_pubsub as pubsub, index_race as race, index_rateLimiter as rateLimiter, index_reactiveCounter as reactiveCounter, index_reactiveIndex as reactiveIndex, index_reactiveList as reactiveList, index_reactiveLog as reactiveLog, index_reactiveMap as reactiveMap, index_reactiveSink as reactiveSink, index_reduce as reduce, index_repeat as repeat, index_replay as replay, index_rescue as rescue, index_resolveBackoffPreset as resolveBackoffPreset, index_retry as retry, index_retrySource as retrySource, index_sample as sample, index_scan as scan, index_serializeError as serializeError, index_share as share, index_shareReplay as shareReplay, index_signalToName as signalToName, index_skip as skip, index_sqliteStorage as sqliteStorage, index_switchMap as switchMap, index_take as take, index_takeUntil as takeUntil, index_takeWhile as takeWhile, index_tap as tap, index_throttle as throttle, index_throttleTime as throttleTime, index_throwError as throwError, index_timeout as timeout, index_toArray as toArray, index_toCSV as toCSV, index_toClickHouse as toClickHouse, index_toFile as toFile, index_toHTTP as toHTTP, index_toKafka as toKafka, index_toLoki as toLoki, index_toMongo as toMongo, index_toNATS as toNATS, index_toObservable as toObservable, index_toPostgres as toPostgres, index_toPulsar as toPulsar, index_toRabbitMQ as toRabbitMQ, index_toReadableStream as toReadableStream, index_toRedisStream as toRedisStream, index_toS3 as toS3, index_toSSE as toSSE, index_toSSEBytes as toSSEBytes, index_toSqlite as toSqlite, index_toTempo as toTempo, index_toWebSocket as toWebSocket, index_tokenBucket as tokenBucket, index_valve as valve, index_verifiable as verifiable, index_window as window, index_windowCount as windowCount, index_windowTime as windowTime, index_withBreaker as withBreaker, index_withLatestFrom as withLatestFrom, index_withMaxAttempts as withMaxAttempts, index_withStatus as withStatus, index_workerBridge as workerBridge, index_workerSelf as workerSelf, index_zip as zip };
|
|
5742
5316
|
}
|
|
5743
5317
|
|
|
5744
|
-
export { type
|
|
5318
|
+
export { type FromNDJSONOptions as $, type AckableMessage as A, type BackoffPreset as B, type CircuitState as C, type DistillBundle as D, type Extraction as E, type FallbackInput as F, type ExponentialBackoffOptions as G, type ExternalBundleOptions as H, type ExternalRegister as I, type FSEvent as J, type FSEventType as K, type FileWriterLike as L, type FromCSVOptions as M, NS_PER_MS as N, type FromClickHouseWatchOptions as O, type FromDrizzleOptions as P, type FromFSWatchOptions as Q, type ReactiveMapBundle as R, type StatusValue as S, type FromGitHookOptions as T, type FromHTTPOptions as U, type FromHTTPPollOptions as V, type FromHTTPStreamOptions as W, type FromKafkaOptions as X, type FromKyselyOptions as Y, type FromMCPOptions as Z, type FromNATSOptions as _, type RateLimiterOptions as a, type ReactiveMapOptions as a$, type FromOTelOptions as a0, type FromPrismaOptions as a1, type FromPrometheusOptions as a2, type FromPulsarOptions as a3, type FromRabbitMQOptions as a4, type FromRedisStreamOptions as a5, type FromSSEOptions as a6, type FromSqliteOptions as a7, type FromStatsDOptions as a8, type FromSyslogOptions as a9, NativeMapBackend as aA, type NativeMapBackendOptions as aB, NativePubSubBackend as aC, type OTelBundle as aD, type OTelLog as aE, type OTelMetric as aF, type OTelRegister as aG, type OTelSpan as aH, type PostgresClientLike as aI, type PrismaModelLike as aJ, type PrometheusMetric as aK, type PubSubBackend as aL, type PubSubHub as aM, type PubSubHubOptions as aN, type PulsarConsumerLike as aO, type PulsarMessage as aP, type PulsarProducerLike as aQ, type RabbitMQChannelLike as aR, type RabbitMQMessage as aS, RateLimiterOverflowError as aT, type RateLimiterOverflowPolicy as aU, type ReactiveIndexBundle as aV, type ReactiveIndexOptions as aW, type ReactiveListBundle as aX, type ReactiveListOptions as aY, type ReactiveLogBundle as aZ, type ReactiveLogOptions as a_, type FromWebSocketReconnectOptions as aa, type GitEvent as ab, type GitHookType as ac, type HTTPBundle as ad, type IndexBackend as ae, type IndexRow as af, type InitMessage as ag, type JitterMode as ah, type KafkaConsumerLike as ai, type KafkaMessage as aj, type KafkaProducerLike as ak, type KyselyQueryLike as al, type ListBackend as am, type LogBackend as an, type LokiClientLike as ao, type LokiStream as ap, type MCPClientLike as aq, type MapBackend as ar, type MergeMapOptions as as, type MongoCollectionLike as at, type NATSClientLike as au, type NATSMessage as av, type NATSSubscriptionLike as aw, NativeIndexBackend as ax, NativeListBackend as ay, NativeLogBackend as az, type CircuitBreakerOptions as b, audit as b$, type ReactiveSinkBackpressureOptions as b0, type ReactiveSinkConfig as b1, type ReactiveSinkHandle as b2, type ReactiveSinkOptions as b3, type ReactiveSinkRetryOptions as b4, type ReadyMessage as b5, type RedisCheckpointClientLike as b6, type RedisClientLike as b7, type RedisStreamEntry as b8, ResettableTimer as b9, type ToPulsarOptions as bA, type ToRabbitMQOptions as bB, type ToRedisStreamOptions as bC, type ToS3Options as bD, type ToSSEOptions as bE, type ToSqliteOptions as bF, type ToTempoOptions as bG, type ToWebSocketOptions as bH, type TokenBucket as bI, type UpsertOptions as bJ, type ValueMessage as bK, type VerifiableBundle as bL, type VerifiableOptions as bM, type VerifyValue as bN, type WatermarkController as bO, type WatermarkOptions as bP, type WebSocketLike as bQ, type WebSocketMessageEventLike as bR, type WebSocketRegister as bS, type WebhookRegister as bT, type WithBreakerBundle as bU, type WithStatusBundle as bV, type WorkerBridge as bW, type WorkerBridgeOptions as bX, type WorkerSelfHandle as bY, type WorkerSelfOptions as bZ, type WorkerTransport as b_, type RetrySourceOptions as ba, type S3ClientLike as bb, type SSEEvent as bc, type SignalMessage as bd, type SinkFailure as be, type SinkHandle as bf, type SinkTransportError as bg, type SqliteDbLike as bh, type SqliteIterableDbLike as bi, type StatsDMetric as bj, type StatsDRegister as bk, type SyslogMessage as bl, type SyslogRegister as bm, type TapObserver as bn, type TempoClientLike as bo, type ThrottleOptions as bp, TimeoutError as bq, type ToCSVOptions as br, type ToClickHouseOptions as bs, type ToFileOptions as bt, type ToHTTPOptions as bu, type ToKafkaOptions as bv, type ToLokiOptions as bw, type ToMongoOptions as bx, type ToNATSOptions as by, type ToPostgresOptions as bz, type RetryOptions as c, last as c$, buffer as c0, bufferCount as c1, bufferTime as c2, cascadingCache as c3, catchError as c4, checkpointToRedis as c5, checkpointToS3 as c6, circuitBreaker as c7, combine as c8, combineLatest as c9, fromClickHouseWatch as cA, fromDrizzle as cB, fromFSWatch as cC, fromGitHook as cD, fromHTTP as cE, fromHTTPPoll as cF, fromHTTPStream as cG, fromKafka as cH, fromKysely as cI, fromMCP as cJ, fromNATS as cK, fromNDJSON as cL, fromOTel as cM, fromPrisma as cN, fromPrometheus as cO, fromPulsar as cP, fromRabbitMQ as cQ, fromRedisStream as cR, fromSSE as cS, fromSqlite as cT, fromSqliteCursor as cU, fromStatsD as cV, fromSyslog as cW, fromWebSocket as cX, fromWebSocketReconnect as cY, fromWebhook as cZ, interval as c_, concat as ca, concatMap as cb, constant as cc, createTransport as cd, createWatermarkController as ce, csvRows as cf, debounce as cg, debounceTime as ch, decorrelatedJitter as ci, delay as cj, deserializeError as ck, distill as cl, distinctUntilChanged as cm, elementAt as cn, exhaustMap as co, exponential as cp, externalBundle as cq, externalProducer as cr, index as cs, fallback as ct, fibonacci as cu, filter as cv, find as cw, first as cx, flatMap as cy, fromCSV as cz, NS_PER_SEC as d, verifiable as d$, linear as d0, lru as d1, map as d2, matchesCron as d3, merge as d4, mergeMap as d5, nameToSignal as d6, ndjsonRows as d7, pairwise as d8, parseCron as d9, takeUntil as dA, takeWhile as dB, tap as dC, throttle as dD, throttleTime as dE, timeout as dF, toCSV as dG, toClickHouse as dH, toFile as dI, toHTTP as dJ, toKafka as dK, toLoki as dL, toMongo as dM, toNATS as dN, toPostgres as dO, toPulsar as dP, toRabbitMQ as dQ, toReadableStream as dR, toRedisStream as dS, toS3 as dT, toSSE as dU, toSSEBytes as dV, toSqlite as dW, toTempo as dX, toWebSocket as dY, tokenBucket as dZ, valve as d_, parsePrometheusText as da, parseStatsD as db, parseSyslog as dc, pausable as dd, pubsub as de, race as df, rateLimiter as dg, reactiveIndex as dh, reactiveList as di, reactiveLog as dj, reactiveMap as dk, reactiveSink as dl, reduce as dm, repeat as dn, rescue as dp, resolveBackoffPreset as dq, retry as dr, retrySource as ds, sample as dt, scan as du, serializeError as dv, signalToName as dw, skip as dx, switchMap as dy, take as dz, type AdapterHandlers as e, window as e0, windowCount as e1, windowTime as e2, withBreaker as e3, withLatestFrom as e4, withMaxAttempts as e5, withStatus as e6, workerBridge as e7, workerSelf as e8, zip as e9, type BackoffStrategy as f, type BatchMessage as g, type BridgeMessage as h, type BufferedSinkHandle as i, type BundleTriad as j, type CSVRow as k, type CacheEvictionPolicy as l, type CascadingCache as m, type CascadingCacheOptions as n, type CheckpointToRedisOptions as o, type CheckpointToS3Options as p, type CircuitBreaker as q, CircuitOpenError as r, type ClickHouseClientLike as s, type ClickHouseInsertClientLike as t, type ClickHouseRow as u, type CronSchedule as v, type DistillOptions as w, type DrizzleQueryLike as x, type EmitTriad as y, type ErrorMessage as z };
|