@graphrefly/graphrefly 0.25.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-IAHGTNOZ.js → chunk-AMCG74RZ.js} +193 -24
- package/dist/chunk-AMCG74RZ.js.map +1 -0
- package/dist/{chunk-L2GLW2U7.js → chunk-BVZYTZ5H.js} +9 -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-EVR6UFUV.js → chunk-IZYUSJC7.js} +16 -14
- package/dist/{chunk-EVR6UFUV.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-TKE3JGOH.js → chunk-LCE3GF5P.js} +5 -692
- 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-ZQMEI34O.js +713 -0
- 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 +222 -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 +6 -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-B6NFqv3z.d.ts → graph-6tZ5jEzr.d.cts} +195 -4
- package/dist/{graph-D-3JIQme.d.cts → 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-OXImXMq6.d.ts → index-BW1z3BN9.d.ts} +18 -196
- 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-Ds23Wvou.d.ts → index-BeIdBfcb.d.cts} +120 -573
- 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-DKE1EATr.d.cts → index-C8mdwMXc.d.cts} +18 -196
- 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-Ch0IpIO0.d.cts → index-DdD5MVDL.d.ts} +120 -573
- 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 +1780 -176
- 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 +1202 -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 +355 -13
- 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 +15 -12
- 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-IAHGTNOZ.js.map +0 -1
- package/dist/chunk-L2GLW2U7.js.map +0 -1
- package/dist/chunk-MW4VAKAO.js +0 -47
- package/dist/chunk-MW4VAKAO.js.map +0 -1
- package/dist/chunk-TKE3JGOH.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.js';
|
|
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.js';
|
|
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-BMycWEh2.js';
|
|
4
|
+
import { T as ToObservableOptions, t as toObservable } from './observable-DCk45RH5.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* External-register helpers — the common `register({emit, error, complete})`
|
|
@@ -800,492 +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
|
-
* Animation-frame-driven source. Emits on every `requestAnimationFrame` tick,
|
|
887
|
-
* yielding the frame timestamp (DOMHighResTimeStamp, ms since navigation).
|
|
888
|
-
*
|
|
889
|
-
* Use instead of `fromTimer({ period: 16 })` when animation smoothness matters.
|
|
890
|
-
* In a real browser, `requestAnimationFrame` synchronizes with the display
|
|
891
|
-
* refresh. The source keeps ticking even when the tab is hidden — it
|
|
892
|
-
* transparently switches to `setTimeout` while the tab is backgrounded (so
|
|
893
|
-
* downstream state updates continue) and returns to `requestAnimationFrame`
|
|
894
|
-
* when the tab regains focus.
|
|
895
|
-
*
|
|
896
|
-
* When `requestAnimationFrame` is unavailable (Node test environments, SSR),
|
|
897
|
-
* this falls back to `setTimeout(~16ms)` unconditionally. Abortable via
|
|
898
|
-
* `signal` (emits `ERROR`).
|
|
899
|
-
*
|
|
900
|
-
* @example
|
|
901
|
-
* ```ts
|
|
902
|
-
* import { fromRaf, derived } from "@graphrefly/graphrefly-ts";
|
|
903
|
-
*
|
|
904
|
-
* const frame = fromRaf();
|
|
905
|
-
* const bouncingX = derived([frame], ([t]) => 50 + 40 * Math.sin((t as number) * 0.001));
|
|
906
|
-
* ```
|
|
907
|
-
*
|
|
908
|
-
* @category extra
|
|
909
|
-
*/
|
|
910
|
-
declare function fromRaf(opts?: AsyncSourceOpts): Node<number>;
|
|
911
|
-
/**
|
|
912
|
-
* Polls on an interval; when the current minute matches a 5-field cron expression, emits once (see {@link parseCron}).
|
|
913
|
-
*
|
|
914
|
-
* @param expr - Cron string (`min hour dom month dow`).
|
|
915
|
-
* @param opts - Producer options plus `tickMs` (default `60_000`) and `output` (`timestamp_ns` default, or `date` for `Date` values).
|
|
916
|
-
* @returns `Node<number>` (nanosecond timestamp) or `Node<Date>` when `output: "date"`.
|
|
917
|
-
*
|
|
918
|
-
* @example
|
|
919
|
-
* ```ts
|
|
920
|
-
* import { fromCron } from "@graphrefly/graphrefly-ts";
|
|
921
|
-
*
|
|
922
|
-
* fromCron("0 9 * * 1");
|
|
923
|
-
* ```
|
|
924
|
-
*
|
|
925
|
-
* @category extra
|
|
926
|
-
*/
|
|
927
|
-
declare function fromCron(expr: string, opts?: FromCronOptions & {
|
|
928
|
-
output: "date";
|
|
929
|
-
}): Node<Date>;
|
|
930
|
-
declare function fromCron(expr: string, opts?: FromCronOptions): Node<number>;
|
|
931
|
-
/**
|
|
932
|
-
* Wraps a DOM-style `addEventListener` target; each event becomes a `DATA` emission.
|
|
933
|
-
*
|
|
934
|
-
* @param target - Object with `addEventListener` / `removeEventListener`.
|
|
935
|
-
* @param type - Event name (e.g. `"click"`).
|
|
936
|
-
* @param opts - Producer options plus listener options (`capture`, `passive`, `once`).
|
|
937
|
-
* @returns `Node<T>` — event payloads; teardown removes the listener.
|
|
938
|
-
*
|
|
939
|
-
* @example
|
|
940
|
-
* ```ts
|
|
941
|
-
* import { fromEvent } from "@graphrefly/graphrefly-ts";
|
|
942
|
-
*
|
|
943
|
-
* fromEvent(document.body, "click");
|
|
944
|
-
* ```
|
|
945
|
-
*
|
|
946
|
-
* @category extra
|
|
947
|
-
*/
|
|
948
|
-
declare function fromEvent<T = unknown>(target: EventTargetLike, type: string, opts?: ExtraOpts$2 & {
|
|
949
|
-
capture?: boolean;
|
|
950
|
-
passive?: boolean;
|
|
951
|
-
once?: boolean;
|
|
952
|
-
}): Node<T>;
|
|
953
|
-
/**
|
|
954
|
-
* Watches filesystem paths and emits debounced change events.
|
|
955
|
-
*
|
|
956
|
-
* Uses `fs.watch` only (no polling fallback). Teardown closes all watchers.
|
|
957
|
-
*
|
|
958
|
-
* @category extra
|
|
959
|
-
*/
|
|
960
|
-
declare function fromFSWatch(paths: string | string[], opts?: FromFSWatchOptions): Node<FSEvent>;
|
|
961
|
-
/**
|
|
962
|
-
* Drains a synchronous iterable; each item is `DATA`, then `COMPLETE`, or `ERROR` if iteration throws.
|
|
963
|
-
*
|
|
964
|
-
* @param iterable - Values to emit in order.
|
|
965
|
-
* @param opts - Optional producer options.
|
|
966
|
-
* @returns `Node<T>` — one emission per element.
|
|
967
|
-
*
|
|
968
|
-
* @example
|
|
969
|
-
* ```ts
|
|
970
|
-
* import { fromIter } from "@graphrefly/graphrefly-ts";
|
|
971
|
-
*
|
|
972
|
-
* fromIter([1, 2, 3]);
|
|
973
|
-
* ```
|
|
974
|
-
*
|
|
975
|
-
* @category extra
|
|
976
|
-
*/
|
|
977
|
-
declare function fromIter<T>(iterable: Iterable<T>, opts?: ExtraOpts$2): Node<T>;
|
|
978
|
-
/**
|
|
979
|
-
* Lifts a Promise (or thenable) to a single-value stream: one `DATA` then `COMPLETE`, or `ERROR` on rejection.
|
|
980
|
-
*
|
|
981
|
-
* @param p - Promise to await.
|
|
982
|
-
* @param opts - Producer options plus optional `signal` for abort → `ERROR` with reason.
|
|
983
|
-
* @returns `Node<T>` — settles once.
|
|
984
|
-
*
|
|
985
|
-
* @example
|
|
986
|
-
* ```ts
|
|
987
|
-
* import { fromPromise } from "@graphrefly/graphrefly-ts";
|
|
988
|
-
*
|
|
989
|
-
* fromPromise(Promise.resolve(42));
|
|
990
|
-
* ```
|
|
991
|
-
*
|
|
992
|
-
* @category extra
|
|
993
|
-
*/
|
|
994
|
-
declare function fromPromise<T>(p: Promise<T> | PromiseLike<T>, opts?: AsyncSourceOpts): Node<T>;
|
|
995
|
-
/**
|
|
996
|
-
* Reads an async iterable; each `next()` value becomes `DATA`; `COMPLETE` when done; `ERROR` on failure.
|
|
997
|
-
*
|
|
998
|
-
* @param iterable - Async source (`for await` shape).
|
|
999
|
-
* @param opts - Producer options plus optional `signal` to abort the pump.
|
|
1000
|
-
* @returns `Node<T>` — async pull stream.
|
|
1001
|
-
*
|
|
1002
|
-
* @example
|
|
1003
|
-
* ```ts
|
|
1004
|
-
* import { fromAsyncIter } from "@graphrefly/graphrefly-ts";
|
|
1005
|
-
*
|
|
1006
|
-
* async function* gen() {
|
|
1007
|
-
* yield 1;
|
|
1008
|
-
* }
|
|
1009
|
-
* fromAsyncIter(gen());
|
|
1010
|
-
* ```
|
|
1011
|
-
*
|
|
1012
|
-
* @category extra
|
|
1013
|
-
*/
|
|
1014
|
-
declare function fromAsyncIter<T>(iterable: AsyncIterable<T>, opts?: AsyncSourceOpts): Node<T>;
|
|
1015
|
-
/**
|
|
1016
|
-
* Coerces a value to a `Node` by shape: existing `Node` passthrough, thenable → {@link fromPromise},
|
|
1017
|
-
* async iterable → {@link fromAsyncIter}, sync iterable → {@link fromIter}, else scalar → {@link of}.
|
|
1018
|
-
*
|
|
1019
|
-
* @param input - Any value to wrap.
|
|
1020
|
-
* @param opts - Passed through when a Promise/async path is chosen.
|
|
1021
|
-
* @returns `Node` of the inferred element type.
|
|
1022
|
-
*
|
|
1023
|
-
* @example
|
|
1024
|
-
* ```ts
|
|
1025
|
-
* import { fromAny, state } from "@graphrefly/graphrefly-ts";
|
|
1026
|
-
*
|
|
1027
|
-
* fromAny(state(1));
|
|
1028
|
-
* fromAny(Promise.resolve(2));
|
|
1029
|
-
* ```
|
|
1030
|
-
*
|
|
1031
|
-
* @category extra
|
|
1032
|
-
*/
|
|
1033
|
-
declare function fromAny<T>(input: NodeInput<T>, opts?: AsyncSourceOpts): Node<T>;
|
|
1034
|
-
/**
|
|
1035
|
-
* Emits each argument as `DATA` in order, then `COMPLETE` (implemented via {@link fromIter}).
|
|
1036
|
-
*
|
|
1037
|
-
* @param values - Values to emit.
|
|
1038
|
-
* @returns `Node<T>` — finite sequence.
|
|
1039
|
-
*
|
|
1040
|
-
* @example
|
|
1041
|
-
* ```ts
|
|
1042
|
-
* import { of } from "@graphrefly/graphrefly-ts";
|
|
1043
|
-
*
|
|
1044
|
-
* of(1, 2, 3);
|
|
1045
|
-
* ```
|
|
1046
|
-
*
|
|
1047
|
-
* @category extra
|
|
1048
|
-
*/
|
|
1049
|
-
declare function of<T>(...values: T[]): Node<T>;
|
|
1050
|
-
/**
|
|
1051
|
-
* Completes immediately with no `DATA` (cold `EMPTY` analogue).
|
|
1052
|
-
*
|
|
1053
|
-
* @param opts - Optional producer options.
|
|
1054
|
-
* @returns `Node<T>` — terminal `COMPLETE` only.
|
|
1055
|
-
*
|
|
1056
|
-
* @example
|
|
1057
|
-
* ```ts
|
|
1058
|
-
* import { empty } from "@graphrefly/graphrefly-ts";
|
|
1059
|
-
*
|
|
1060
|
-
* empty();
|
|
1061
|
-
* ```
|
|
1062
|
-
*
|
|
1063
|
-
* @category extra
|
|
1064
|
-
*/
|
|
1065
|
-
declare function empty<T = never>(opts?: ExtraOpts$2): Node<T>;
|
|
1066
|
-
/**
|
|
1067
|
-
* Never emits and never completes until teardown (cold `NEVER` analogue).
|
|
1068
|
-
*
|
|
1069
|
-
* @param opts - Optional producer options.
|
|
1070
|
-
* @returns `Node<T>` — silent until unsubscribed.
|
|
1071
|
-
*
|
|
1072
|
-
* @example
|
|
1073
|
-
* ```ts
|
|
1074
|
-
* import { never } from "@graphrefly/graphrefly-ts";
|
|
1075
|
-
*
|
|
1076
|
-
* never();
|
|
1077
|
-
* ```
|
|
1078
|
-
*
|
|
1079
|
-
* @category extra
|
|
1080
|
-
*/
|
|
1081
|
-
declare function never<T = never>(opts?: ExtraOpts$2): Node<T>;
|
|
1082
|
-
/**
|
|
1083
|
-
* Emits `ERROR` as soon as the producer starts (cold error source).
|
|
1084
|
-
*
|
|
1085
|
-
* @param err - Error payload forwarded as `ERROR` data.
|
|
1086
|
-
* @param opts - Optional producer options.
|
|
1087
|
-
* @returns `Node<never>` — terminates with `ERROR`.
|
|
1088
|
-
*
|
|
1089
|
-
* @example
|
|
1090
|
-
* ```ts
|
|
1091
|
-
* import { throwError } from "@graphrefly/graphrefly-ts";
|
|
1092
|
-
*
|
|
1093
|
-
* throwError(new Error("fail"));
|
|
1094
|
-
* ```
|
|
1095
|
-
*
|
|
1096
|
-
* @category extra
|
|
1097
|
-
*/
|
|
1098
|
-
declare function throwError(err: unknown, opts?: ExtraOpts$2): Node<never>;
|
|
1099
|
-
/**
|
|
1100
|
-
* Subscribes immediately and runs `fn` for each upstream `DATA`; returns unsubscribe.
|
|
1101
|
-
*
|
|
1102
|
-
* @param source - Upstream node.
|
|
1103
|
-
* @param fn - Side effect per value.
|
|
1104
|
-
* @param opts - Effect node options.
|
|
1105
|
-
* @returns Unsubscribe function (idempotent).
|
|
1106
|
-
*
|
|
1107
|
-
* @example
|
|
1108
|
-
* ```ts
|
|
1109
|
-
* import { forEach, state } from "@graphrefly/graphrefly-ts";
|
|
1110
|
-
*
|
|
1111
|
-
* const u = forEach(state(1), (v) => console.log(v));
|
|
1112
|
-
* u();
|
|
1113
|
-
* ```
|
|
1114
|
-
*
|
|
1115
|
-
* @category extra
|
|
1116
|
-
*/
|
|
1117
|
-
declare function forEach<T>(source: Node<T>, fn: (value: T) => void, opts?: ExtraOpts$2): () => void;
|
|
1118
|
-
/**
|
|
1119
|
-
* Buffers every `DATA`; on upstream `COMPLETE` emits one `DATA` with the full array then `COMPLETE`.
|
|
1120
|
-
*
|
|
1121
|
-
* @param source - Upstream node.
|
|
1122
|
-
* @param opts - Optional node options (derived describe kind).
|
|
1123
|
-
* @returns `Node<T[]>` — single array emission before completion.
|
|
1124
|
-
*
|
|
1125
|
-
* @example
|
|
1126
|
-
* ```ts
|
|
1127
|
-
* import { of, toArray } from "@graphrefly/graphrefly-ts";
|
|
1128
|
-
*
|
|
1129
|
-
* toArray(of(1, 2, 3));
|
|
1130
|
-
* ```
|
|
1131
|
-
*
|
|
1132
|
-
* @category extra
|
|
1133
|
-
*/
|
|
1134
|
-
declare function toArray<T>(source: Node<T>, opts?: ExtraOpts$2): Node<T[]>;
|
|
1135
|
-
/**
|
|
1136
|
-
* Multicasts upstream: one subscription to `source` while this wrapper has subscribers (via {@link producer}).
|
|
1137
|
-
*
|
|
1138
|
-
* @param source - Upstream node to share.
|
|
1139
|
-
* @param opts - Producer options; `initial` seeds from `source.cache` when set by factory.
|
|
1140
|
-
* @returns `Node<T>` — hot ref-counted bridge.
|
|
1141
|
-
*
|
|
1142
|
-
* @example
|
|
1143
|
-
* ```ts
|
|
1144
|
-
* import { share, state } from "@graphrefly/graphrefly-ts";
|
|
1145
|
-
*
|
|
1146
|
-
* share(state(0));
|
|
1147
|
-
* ```
|
|
1148
|
-
*
|
|
1149
|
-
* @category extra
|
|
1150
|
-
*/
|
|
1151
|
-
declare function share<T>(source: Node<T>, opts?: ExtraOpts$2): Node<T>;
|
|
1152
|
-
/**
|
|
1153
|
-
* Like {@link share} with a bounded replay buffer: new subscribers receive the last `bufferSize`
|
|
1154
|
-
* `DATA` payloads (as separate batches) before live updates.
|
|
1155
|
-
*
|
|
1156
|
-
* @param source - Upstream node.
|
|
1157
|
-
* @param bufferSize - Maximum past values to replay (≥ 1).
|
|
1158
|
-
* @param opts - Producer options.
|
|
1159
|
-
* @returns `Node<T>` — multicast with replay on subscribe.
|
|
1160
|
-
*
|
|
1161
|
-
* @example
|
|
1162
|
-
* ```ts
|
|
1163
|
-
* import { replay, state } from "@graphrefly/graphrefly-ts";
|
|
1164
|
-
*
|
|
1165
|
-
* replay(state(0), 3);
|
|
1166
|
-
* ```
|
|
1167
|
-
*
|
|
1168
|
-
* @category extra
|
|
1169
|
-
*/
|
|
1170
|
-
declare function replay<T>(source: Node<T>, bufferSize: number, opts?: ExtraOpts$2): Node<T>;
|
|
1171
|
-
/**
|
|
1172
|
-
* {@link replay} with `bufferSize === 1` — replays the latest `DATA` to new subscribers.
|
|
1173
|
-
*
|
|
1174
|
-
* @param source - Upstream node.
|
|
1175
|
-
* @param opts - Producer options.
|
|
1176
|
-
* @returns `Node<T>` — share + last-value replay.
|
|
1177
|
-
*
|
|
1178
|
-
* @example
|
|
1179
|
-
* ```ts
|
|
1180
|
-
* import { cached, state } from "@graphrefly/graphrefly-ts";
|
|
1181
|
-
*
|
|
1182
|
-
* cached(state(0));
|
|
1183
|
-
* ```
|
|
1184
|
-
*
|
|
1185
|
-
* @category extra
|
|
1186
|
-
*/
|
|
1187
|
-
declare function cached<T>(source: Node<T>, opts?: ExtraOpts$2): Node<T>;
|
|
1188
|
-
/**
|
|
1189
|
-
* Converts the first `DATA` on `source` into a Promise; rejects on `ERROR` or `COMPLETE` without data.
|
|
1190
|
-
*
|
|
1191
|
-
* **Important:** This subscribes and waits for a **future** emission. Data that
|
|
1192
|
-
* has already flowed is gone and will not be seen. Call this *before* the upstream
|
|
1193
|
-
* emits, or use `source.cache` / `source.status` for already-cached state.
|
|
1194
|
-
* See COMPOSITION-GUIDE §2 (subscription ordering).
|
|
1195
|
-
*
|
|
1196
|
-
* @param source - Node to read once.
|
|
1197
|
-
* @returns Promise of the first value.
|
|
1198
|
-
*
|
|
1199
|
-
* @example
|
|
1200
|
-
* ```ts
|
|
1201
|
-
* import { firstValueFrom, of } from "@graphrefly/graphrefly-ts";
|
|
1202
|
-
*
|
|
1203
|
-
* await firstValueFrom(of(42));
|
|
1204
|
-
* ```
|
|
1205
|
-
*
|
|
1206
|
-
* @category extra
|
|
1207
|
-
*/
|
|
1208
|
-
declare function firstValueFrom<T>(source: Node<T>): Promise<T>;
|
|
1209
|
-
/**
|
|
1210
|
-
* Wait for the first DATA value from `source` that satisfies `predicate`.
|
|
1211
|
-
*
|
|
1212
|
-
* Subscribes directly and resolves on the first DATA value where
|
|
1213
|
-
* `predicate` returns true. Reactive, no polling. Use in tests and
|
|
1214
|
-
* bridging code where you need a single matching value as a Promise.
|
|
1215
|
-
*
|
|
1216
|
-
* **Important:** This only captures **future** emissions — data that has
|
|
1217
|
-
* already flowed through the node is gone. Call this *before* the upstream
|
|
1218
|
-
* emits. For already-cached values, use `source.cache` / `source.status`.
|
|
1219
|
-
* See COMPOSITION-GUIDE §2 (subscription ordering).
|
|
1220
|
-
*
|
|
1221
|
-
* ```ts
|
|
1222
|
-
* const val = await firstWhere(strategy.node, snap => snap.size > 0);
|
|
1223
|
-
* ```
|
|
1224
|
-
*
|
|
1225
|
-
* @category extra
|
|
1226
|
-
*/
|
|
1227
|
-
declare function firstWhere<T>(source: Node<T>, predicate: (value: T) => boolean): Promise<T>;
|
|
1228
|
-
/**
|
|
1229
|
-
* RxJS-named alias for {@link replay} — multicast with a replay buffer of size `bufferSize`.
|
|
1230
|
-
*
|
|
1231
|
-
* @param source - Upstream node.
|
|
1232
|
-
* @param bufferSize - Replay depth (≥ 1).
|
|
1233
|
-
* @param opts - Producer options.
|
|
1234
|
-
* @returns Same behavior as `replay`.
|
|
1235
|
-
*
|
|
1236
|
-
* @example
|
|
1237
|
-
* ```ts
|
|
1238
|
-
* import { shareReplay, state } from "@graphrefly/graphrefly-ts";
|
|
1239
|
-
*
|
|
1240
|
-
* shareReplay(state(0), 5);
|
|
1241
|
-
* ```
|
|
1242
|
-
*
|
|
1243
|
-
* @category extra
|
|
1244
|
-
*/
|
|
1245
|
-
declare const shareReplay: typeof replay;
|
|
1246
|
-
/**
|
|
1247
|
-
* Activate a compute node's upstream wiring without a real sink.
|
|
1248
|
-
*
|
|
1249
|
-
* Derived/effect nodes are lazy — they don't compute until at least one
|
|
1250
|
-
* subscriber exists (COMPOSITION-GUIDE §5). `keepalive` subscribes with an
|
|
1251
|
-
* empty sink so the node stays wired for `.cache` and upstream propagation.
|
|
1252
|
-
*
|
|
1253
|
-
* Returns the unsubscribe handle. Common usage:
|
|
1254
|
-
* `graph.addDisposer(keepalive(node))`.
|
|
1255
|
-
*
|
|
1256
|
-
* @category extra
|
|
1257
|
-
*/
|
|
1258
|
-
declare function keepalive(n: Node<unknown>): () => void;
|
|
1259
|
-
/** Bundle returned by {@link reactiveCounter}. */
|
|
1260
|
-
type ReactiveCounterBundle = {
|
|
1261
|
-
/** Reactive node holding the current count. */
|
|
1262
|
-
readonly node: Node<number>;
|
|
1263
|
-
/** Increment by 1. Returns `false` if cap would be exceeded. */
|
|
1264
|
-
increment(): boolean;
|
|
1265
|
-
/** Current count (synchronous read). */
|
|
1266
|
-
get(): number;
|
|
1267
|
-
/** Whether the counter has reached its cap. */
|
|
1268
|
-
atCap(): boolean;
|
|
1269
|
-
};
|
|
1270
|
-
/**
|
|
1271
|
-
* Reactive counter with a cap — the building block for circuit breakers.
|
|
1272
|
-
*
|
|
1273
|
-
* Wraps a `state(0)` node with `increment()` that respects a maximum.
|
|
1274
|
-
* The `node` is subscribable and composable like any reactive node. When
|
|
1275
|
-
* the cap is reached, `increment()` returns `false`.
|
|
1276
|
-
*
|
|
1277
|
-
* ```ts
|
|
1278
|
-
* const retries = reactiveCounter(10);
|
|
1279
|
-
* retries.increment(); // true — count is now 1
|
|
1280
|
-
* retries.node.subscribe(...); // reactive updates
|
|
1281
|
-
* retries.atCap(); // false
|
|
1282
|
-
* ```
|
|
1283
|
-
*
|
|
1284
|
-
* @param cap - Maximum value (inclusive). 0 = no increments allowed.
|
|
1285
|
-
* @category extra
|
|
1286
|
-
*/
|
|
1287
|
-
declare function reactiveCounter(cap: number): ReactiveCounterBundle;
|
|
1288
|
-
|
|
1289
804
|
/**
|
|
1290
805
|
* Protocol, system, and ingest adapters (roadmap §5.2, §5.2c).
|
|
1291
806
|
*
|
|
@@ -1310,7 +825,7 @@ type SinkHandle = {
|
|
|
1310
825
|
/** Manually drain the internal buffer (buffered sinks only). */
|
|
1311
826
|
flush?: () => Promise<void>;
|
|
1312
827
|
};
|
|
1313
|
-
type ExtraOpts$
|
|
828
|
+
type ExtraOpts$2 = Omit<NodeOptions, "describeKind">;
|
|
1314
829
|
/** WebSocket-like transport accepted by {@link fromWebSocket} / {@link toWebSocket}. */
|
|
1315
830
|
type WebSocketLike = {
|
|
1316
831
|
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
|
|
@@ -1330,11 +845,11 @@ type WebSocketRegister<T> = (emit: (payload: T) => void, error: (err: unknown) =
|
|
|
1330
845
|
*
|
|
1331
846
|
* @category extra
|
|
1332
847
|
*/
|
|
1333
|
-
declare function fromWebSocket<T = unknown>(socket: WebSocketLike, opts?: ExtraOpts$
|
|
848
|
+
declare function fromWebSocket<T = unknown>(socket: WebSocketLike, opts?: ExtraOpts$2 & {
|
|
1334
849
|
parse?: (payload: unknown, event: unknown) => T;
|
|
1335
850
|
closeOnTeardown?: boolean;
|
|
1336
851
|
}): Node<T>;
|
|
1337
|
-
declare function fromWebSocket<T = unknown>(register: WebSocketRegister<T>, opts?: ExtraOpts$
|
|
852
|
+
declare function fromWebSocket<T = unknown>(register: WebSocketRegister<T>, opts?: ExtraOpts$2 & {
|
|
1338
853
|
parse?: (payload: unknown, event: unknown) => T;
|
|
1339
854
|
closeOnTeardown?: boolean;
|
|
1340
855
|
}): Node<T>;
|
|
@@ -1400,7 +915,7 @@ type WebhookRegister<T> = ExternalRegister<EmitTriad<T>>;
|
|
|
1400
915
|
*
|
|
1401
916
|
* @category extra
|
|
1402
917
|
*/
|
|
1403
|
-
declare function fromWebhook<T = unknown>(register: WebhookRegister<T>, opts?: ExtraOpts$
|
|
918
|
+
declare function fromWebhook<T = unknown>(register: WebhookRegister<T>, opts?: ExtraOpts$2): Node<T>;
|
|
1404
919
|
/**
|
|
1405
920
|
* Options for {@link fromHTTP}.
|
|
1406
921
|
*
|
|
@@ -1457,7 +972,7 @@ type HTTPBundle<T> = WithStatusBundle<T> & {
|
|
|
1457
972
|
*/
|
|
1458
973
|
declare function fromHTTP<T = any>(url: string, opts?: FromHTTPOptions): HTTPBundle<T>;
|
|
1459
974
|
/** Options for {@link toHTTP}. */
|
|
1460
|
-
type ToHTTPOptions<T> = ExtraOpts$
|
|
975
|
+
type ToHTTPOptions<T> = ExtraOpts$2 & {
|
|
1461
976
|
/** HTTP method. Default: `"POST"`. */
|
|
1462
977
|
method?: string;
|
|
1463
978
|
/** Request headers applied to every call. Caller sets Content-Type. */
|
|
@@ -1548,7 +1063,7 @@ type SSEEvent<T = string> = {
|
|
|
1548
1063
|
retry?: number;
|
|
1549
1064
|
};
|
|
1550
1065
|
/** Options for {@link fromSSE}. */
|
|
1551
|
-
type FromSSEOptions<T = string> = ExtraOpts$
|
|
1066
|
+
type FromSSEOptions<T = string> = ExtraOpts$2 & {
|
|
1552
1067
|
/** Parse the raw `data:` payload. Default: identity (string). */
|
|
1553
1068
|
parse?: (raw: string) => T;
|
|
1554
1069
|
};
|
|
@@ -1563,7 +1078,7 @@ type FromSSEOptions<T = string> = ExtraOpts$1 & {
|
|
|
1563
1078
|
*/
|
|
1564
1079
|
declare function fromSSE<T = string>(source: ReadableStream<Uint8Array> | Response | AsyncIterable<Uint8Array>, opts?: FromSSEOptions<T>): Node<SSEEvent<T>>;
|
|
1565
1080
|
/** Options for {@link fromHTTPStream}. */
|
|
1566
|
-
type FromHTTPStreamOptions = ExtraOpts$
|
|
1081
|
+
type FromHTTPStreamOptions = ExtraOpts$2 & {
|
|
1567
1082
|
method?: string;
|
|
1568
1083
|
headers?: Record<string, string>;
|
|
1569
1084
|
body?: unknown;
|
|
@@ -1632,7 +1147,7 @@ type ToWebSocketOptions<T> = {
|
|
|
1632
1147
|
*/
|
|
1633
1148
|
declare function toWebSocket<T>(source: Node<T>, socket: WebSocketLike, opts?: ToWebSocketOptions<T>): ReactiveSinkHandle<T>;
|
|
1634
1149
|
/** Options for {@link fromWebSocketReconnect}. */
|
|
1635
|
-
type FromWebSocketReconnectOptions<T> = ExtraOpts$
|
|
1150
|
+
type FromWebSocketReconnectOptions<T> = ExtraOpts$2 & {
|
|
1636
1151
|
/** Optional parser applied to incoming messages. */
|
|
1637
1152
|
parse?: (payload: unknown, event: unknown) => T;
|
|
1638
1153
|
/** Max reconnect attempts. Default: `Infinity` (implied when `backoff` is set). */
|
|
@@ -1675,7 +1190,7 @@ type MCPClientLike = {
|
|
|
1675
1190
|
setNotificationHandler(method: string, handler: (notification: unknown) => void): void;
|
|
1676
1191
|
};
|
|
1677
1192
|
/** Options for {@link fromMCP}. */
|
|
1678
|
-
type FromMCPOptions = ExtraOpts$
|
|
1193
|
+
type FromMCPOptions = ExtraOpts$2 & {
|
|
1679
1194
|
/** MCP notification method to subscribe to. Default `"notifications/message"`. */
|
|
1680
1195
|
method?: string;
|
|
1681
1196
|
onDisconnect?: (cb: (err?: unknown) => void) => void;
|
|
@@ -1698,7 +1213,7 @@ type GitEvent = {
|
|
|
1698
1213
|
timestamp_ns: number;
|
|
1699
1214
|
};
|
|
1700
1215
|
/** Options for {@link fromGitHook}. */
|
|
1701
|
-
type FromGitHookOptions = ExtraOpts$
|
|
1216
|
+
type FromGitHookOptions = ExtraOpts$2 & {
|
|
1702
1217
|
pollMs?: number;
|
|
1703
1218
|
include?: string[];
|
|
1704
1219
|
exclude?: string[];
|
|
@@ -1813,7 +1328,7 @@ type OTelRegister = (handlers: {
|
|
|
1813
1328
|
onError: (err: unknown) => void;
|
|
1814
1329
|
}) => (() => void) | undefined;
|
|
1815
1330
|
/** Options for {@link fromOTel}. */
|
|
1816
|
-
type FromOTelOptions = ExtraOpts$
|
|
1331
|
+
type FromOTelOptions = ExtraOpts$2 & {};
|
|
1817
1332
|
/** Bundle returned by {@link fromOTel}. */
|
|
1818
1333
|
type OTelBundle = {
|
|
1819
1334
|
traces: Node<OTelSpan>;
|
|
@@ -1867,7 +1382,7 @@ type SyslogMessage = {
|
|
|
1867
1382
|
/** Registration callback for syslog receiver. Alias of {@link ExternalRegister} over {@link EmitTriad}. */
|
|
1868
1383
|
type SyslogRegister = ExternalRegister<EmitTriad<SyslogMessage>>;
|
|
1869
1384
|
/** Options for {@link fromSyslog}. */
|
|
1870
|
-
type FromSyslogOptions = ExtraOpts$
|
|
1385
|
+
type FromSyslogOptions = ExtraOpts$2 & {};
|
|
1871
1386
|
/**
|
|
1872
1387
|
* RFC 5424 syslog receiver as a reactive source.
|
|
1873
1388
|
*
|
|
@@ -1917,7 +1432,7 @@ type StatsDMetric = {
|
|
|
1917
1432
|
/** Registration callback for StatsD receiver. Alias of {@link ExternalRegister} over {@link EmitTriad}. */
|
|
1918
1433
|
type StatsDRegister = ExternalRegister<EmitTriad<StatsDMetric>>;
|
|
1919
1434
|
/** Options for {@link fromStatsD}. */
|
|
1920
|
-
type FromStatsDOptions = ExtraOpts$
|
|
1435
|
+
type FromStatsDOptions = ExtraOpts$2 & {};
|
|
1921
1436
|
/**
|
|
1922
1437
|
* StatsD/DogStatsD UDP receiver as a reactive source.
|
|
1923
1438
|
*
|
|
@@ -2055,7 +1570,7 @@ type KafkaMessage<T = unknown> = {
|
|
|
2055
1570
|
timestampNs: number;
|
|
2056
1571
|
};
|
|
2057
1572
|
/** Options for {@link fromKafka}. */
|
|
2058
|
-
type FromKafkaOptions = ExtraOpts$
|
|
1573
|
+
type FromKafkaOptions = ExtraOpts$2 & {
|
|
2059
1574
|
/** Start from beginning of topic. Default: `false`. */
|
|
2060
1575
|
fromBeginning?: boolean;
|
|
2061
1576
|
/** Deserialize message value. Default: `JSON.parse(buffer.toString())`. */
|
|
@@ -2088,7 +1603,7 @@ type FromKafkaOptions = ExtraOpts$1 & {
|
|
|
2088
1603
|
*/
|
|
2089
1604
|
declare function fromKafka<T = unknown>(consumer: KafkaConsumerLike, topic: string, opts?: FromKafkaOptions): Node<KafkaMessage<T>>;
|
|
2090
1605
|
/** Options for {@link toKafka}. */
|
|
2091
|
-
type ToKafkaOptions<T> = ExtraOpts$
|
|
1606
|
+
type ToKafkaOptions<T> = ExtraOpts$2 & {
|
|
2092
1607
|
/** Serialize value for Kafka. Default: `JSON.stringify`. */
|
|
2093
1608
|
serialize?: (value: T) => string | Buffer;
|
|
2094
1609
|
/** Extract message key from value. Default: `null` (no key). */
|
|
@@ -2122,7 +1637,7 @@ type RedisStreamEntry<T = unknown> = {
|
|
|
2122
1637
|
timestampNs: number;
|
|
2123
1638
|
};
|
|
2124
1639
|
/** Options for {@link fromRedisStream}. */
|
|
2125
|
-
type FromRedisStreamOptions = ExtraOpts$
|
|
1640
|
+
type FromRedisStreamOptions = ExtraOpts$2 & {
|
|
2126
1641
|
/** Block timeout in ms for XREAD. Default: `5000`. */
|
|
2127
1642
|
blockMs?: number;
|
|
2128
1643
|
/** Start ID. Default: `"$"` (new entries only). */
|
|
@@ -2154,7 +1669,7 @@ type FromRedisStreamOptions = ExtraOpts$1 & {
|
|
|
2154
1669
|
*/
|
|
2155
1670
|
declare function fromRedisStream<T = unknown>(client: RedisClientLike, key: string, opts?: FromRedisStreamOptions): Node<RedisStreamEntry<T>>;
|
|
2156
1671
|
/** Options for {@link toRedisStream}. */
|
|
2157
|
-
type ToRedisStreamOptions<T> = ExtraOpts$
|
|
1672
|
+
type ToRedisStreamOptions<T> = ExtraOpts$2 & {
|
|
2158
1673
|
/** Serialize value to Redis hash fields. Default: `["data", JSON.stringify(value)]`. */
|
|
2159
1674
|
serialize?: (value: T) => string[];
|
|
2160
1675
|
/** Max stream length (MAXLEN ~). Default: no trimming. */
|
|
@@ -2177,7 +1692,7 @@ declare function toRedisStream<T>(source: Node<T>, client: RedisClientLike, key:
|
|
|
2177
1692
|
/** Parsed CSV row. */
|
|
2178
1693
|
type CSVRow = Record<string, string>;
|
|
2179
1694
|
/** Options for {@link fromCSV}. */
|
|
2180
|
-
type FromCSVOptions = ExtraOpts$
|
|
1695
|
+
type FromCSVOptions = ExtraOpts$2 & {
|
|
2181
1696
|
/** Column delimiter. Default: `","`. */
|
|
2182
1697
|
delimiter?: string;
|
|
2183
1698
|
/** Whether the first row is a header. Default: `true`. */
|
|
@@ -2234,9 +1749,9 @@ declare function csvRows(source: Node<string>, opts?: FromCSVOptions): Node<CSVR
|
|
|
2234
1749
|
*
|
|
2235
1750
|
* @category extra
|
|
2236
1751
|
*/
|
|
2237
|
-
declare function ndjsonRows<T = unknown>(source: Node<string>, opts?: ExtraOpts$
|
|
1752
|
+
declare function ndjsonRows<T = unknown>(source: Node<string>, opts?: ExtraOpts$2): Node<T>;
|
|
2238
1753
|
/** Options for {@link fromNDJSON}. */
|
|
2239
|
-
type FromNDJSONOptions = ExtraOpts$
|
|
1754
|
+
type FromNDJSONOptions = ExtraOpts$2 & {};
|
|
2240
1755
|
/**
|
|
2241
1756
|
* Newline-delimited JSON stream ingest for batch replay.
|
|
2242
1757
|
*
|
|
@@ -2342,7 +1857,7 @@ type PulsarMessage<T = unknown> = {
|
|
|
2342
1857
|
timestampNs: number;
|
|
2343
1858
|
};
|
|
2344
1859
|
/** Options for {@link fromPulsar}. */
|
|
2345
|
-
type FromPulsarOptions = ExtraOpts$
|
|
1860
|
+
type FromPulsarOptions = ExtraOpts$2 & {
|
|
2346
1861
|
/** Deserialize message data. Default: `JSON.parse(buffer.toString())`. */
|
|
2347
1862
|
deserialize?: (data: Buffer) => unknown;
|
|
2348
1863
|
/** Acknowledge messages automatically. Default: `true`. */
|
|
@@ -2389,7 +1904,7 @@ declare function fromPulsar<T = unknown>(consumer: PulsarConsumerLike, opts: Fro
|
|
|
2389
1904
|
autoAck: false;
|
|
2390
1905
|
}): Node<AckableMessage<PulsarMessage<T>>>;
|
|
2391
1906
|
/** Options for {@link toPulsar}. */
|
|
2392
|
-
type ToPulsarOptions<T> = ExtraOpts$
|
|
1907
|
+
type ToPulsarOptions<T> = ExtraOpts$2 & {
|
|
2393
1908
|
/** Serialize value for Pulsar. Default: `JSON.stringify` → Buffer. */
|
|
2394
1909
|
serialize?: (value: T) => Buffer;
|
|
2395
1910
|
/** Extract partition key from value. Default: none. */
|
|
@@ -2442,7 +1957,7 @@ type NATSMessage<T = unknown> = {
|
|
|
2442
1957
|
timestampNs: number;
|
|
2443
1958
|
};
|
|
2444
1959
|
/** Options for {@link fromNATS}. */
|
|
2445
|
-
type FromNATSOptions = ExtraOpts$
|
|
1960
|
+
type FromNATSOptions = ExtraOpts$2 & {
|
|
2446
1961
|
/** Queue group name for load balancing. */
|
|
2447
1962
|
queue?: string;
|
|
2448
1963
|
/** Deserialize message data. Default: `JSON.parse(textDecoder.decode(data))`. */
|
|
@@ -2476,7 +1991,7 @@ type FromNATSOptions = ExtraOpts$1 & {
|
|
|
2476
1991
|
*/
|
|
2477
1992
|
declare function fromNATS<T = unknown>(client: NATSClientLike, subject: string, opts?: FromNATSOptions): Node<NATSMessage<T>>;
|
|
2478
1993
|
/** Options for {@link toNATS}. */
|
|
2479
|
-
type ToNATSOptions<T> = ExtraOpts$
|
|
1994
|
+
type ToNATSOptions<T> = ExtraOpts$2 & {
|
|
2480
1995
|
/** Serialize value for NATS. Default: `JSON.stringify` → Uint8Array. */
|
|
2481
1996
|
serialize?: (value: T) => Uint8Array;
|
|
2482
1997
|
/** Called on serialization failures. */
|
|
@@ -2527,7 +2042,7 @@ type RabbitMQMessage<T = unknown> = {
|
|
|
2527
2042
|
timestampNs: number;
|
|
2528
2043
|
};
|
|
2529
2044
|
/** Options for {@link fromRabbitMQ}. */
|
|
2530
|
-
type FromRabbitMQOptions = ExtraOpts$
|
|
2045
|
+
type FromRabbitMQOptions = ExtraOpts$2 & {
|
|
2531
2046
|
/** Deserialize message content. Default: `JSON.parse(buffer.toString())`. */
|
|
2532
2047
|
deserialize?: (content: Buffer) => unknown;
|
|
2533
2048
|
/** Auto-acknowledge messages. Default: `true`. */
|
|
@@ -2576,7 +2091,7 @@ declare function fromRabbitMQ<T = unknown>(channel: RabbitMQChannelLike, queue:
|
|
|
2576
2091
|
autoAck: false;
|
|
2577
2092
|
}): Node<AckableMessage<RabbitMQMessage<T>>>;
|
|
2578
2093
|
/** Options for {@link toRabbitMQ}. */
|
|
2579
|
-
type ToRabbitMQOptions<T> = ExtraOpts$
|
|
2094
|
+
type ToRabbitMQOptions<T> = ExtraOpts$2 & {
|
|
2580
2095
|
/** Serialize value for RabbitMQ. Default: `Buffer.from(JSON.stringify(value))`. */
|
|
2581
2096
|
serialize?: (value: T) => Buffer;
|
|
2582
2097
|
/** Extract routing key from value. Default: `""`. */
|
|
@@ -2607,7 +2122,7 @@ type FileWriterLike = {
|
|
|
2607
2122
|
end(): void;
|
|
2608
2123
|
};
|
|
2609
2124
|
/** Options for {@link toFile}. */
|
|
2610
|
-
type ToFileOptions<T> = ExtraOpts$
|
|
2125
|
+
type ToFileOptions<T> = ExtraOpts$2 & {
|
|
2611
2126
|
/** Serialize a value to a string line. Default: `JSON.stringify(v) + "\n"`. */
|
|
2612
2127
|
serialize?: (value: T) => string;
|
|
2613
2128
|
/** `"append"` (default) or `"overwrite"` — controls initial file behavior hint. */
|
|
@@ -2633,7 +2148,7 @@ type ToFileOptions<T> = ExtraOpts$1 & {
|
|
|
2633
2148
|
*/
|
|
2634
2149
|
declare function toFile<T>(source: Node<T>, writer: FileWriterLike, opts?: ToFileOptions<T>): ReactiveSinkHandle<T>;
|
|
2635
2150
|
/** Options for {@link toCSV}. */
|
|
2636
|
-
type ToCSVOptions<T> = ExtraOpts$
|
|
2151
|
+
type ToCSVOptions<T> = ExtraOpts$2 & {
|
|
2637
2152
|
/** Column names. Required — determines header row and field order. */
|
|
2638
2153
|
columns: string[];
|
|
2639
2154
|
/** Column delimiter. Default: `","`. */
|
|
@@ -2668,7 +2183,7 @@ type ClickHouseInsertClientLike = {
|
|
|
2668
2183
|
}): Promise<void>;
|
|
2669
2184
|
};
|
|
2670
2185
|
/** Options for {@link toClickHouse}. */
|
|
2671
|
-
type ToClickHouseOptions<T> = ExtraOpts$
|
|
2186
|
+
type ToClickHouseOptions<T> = ExtraOpts$2 & {
|
|
2672
2187
|
/** Batch size before auto-flush. Default: `1000`. */
|
|
2673
2188
|
batchSize?: number;
|
|
2674
2189
|
/** Flush interval in ms. Default: `5000`. */
|
|
@@ -2703,7 +2218,7 @@ type S3ClientLike = {
|
|
|
2703
2218
|
}): Promise<unknown>;
|
|
2704
2219
|
};
|
|
2705
2220
|
/** Options for {@link toS3}. */
|
|
2706
|
-
type ToS3Options<T> = ExtraOpts$
|
|
2221
|
+
type ToS3Options<T> = ExtraOpts$2 & {
|
|
2707
2222
|
/** Output format. Default: `"ndjson"`. */
|
|
2708
2223
|
format?: "ndjson" | "json";
|
|
2709
2224
|
/** Generate the S3 key for each batch. Receives `(seq, wallClockNs)`. Default: ISO timestamp + sequence. */
|
|
@@ -2733,7 +2248,7 @@ type PostgresClientLike = {
|
|
|
2733
2248
|
query(sql: string, params?: unknown[]): Promise<unknown>;
|
|
2734
2249
|
};
|
|
2735
2250
|
/** Options for {@link toPostgres}. */
|
|
2736
|
-
type ToPostgresOptions<T> = ExtraOpts$
|
|
2251
|
+
type ToPostgresOptions<T> = ExtraOpts$2 & {
|
|
2737
2252
|
/** Build the SQL + params for an insert. Default: JSON insert into `table`. */
|
|
2738
2253
|
toSQL?: (value: T, table: string) => {
|
|
2739
2254
|
sql: string;
|
|
@@ -2758,7 +2273,7 @@ type MongoCollectionLike = {
|
|
|
2758
2273
|
insertOne(doc: unknown): Promise<unknown>;
|
|
2759
2274
|
};
|
|
2760
2275
|
/** Options for {@link toMongo}. */
|
|
2761
|
-
type ToMongoOptions<T> = ExtraOpts$
|
|
2276
|
+
type ToMongoOptions<T> = ExtraOpts$2 & {
|
|
2762
2277
|
/** Transform value to a MongoDB document. Default: identity. */
|
|
2763
2278
|
toDocument?: (value: T) => unknown;
|
|
2764
2279
|
onTransportError?: (err: SinkTransportError) => void;
|
|
@@ -2786,7 +2301,7 @@ type LokiClientLike = {
|
|
|
2786
2301
|
}): Promise<unknown>;
|
|
2787
2302
|
};
|
|
2788
2303
|
/** Options for {@link toLoki}. */
|
|
2789
|
-
type ToLokiOptions<T> = ExtraOpts$
|
|
2304
|
+
type ToLokiOptions<T> = ExtraOpts$2 & {
|
|
2790
2305
|
/** Static labels applied to every log entry. */
|
|
2791
2306
|
labels?: Record<string, string>;
|
|
2792
2307
|
/** Extract the log line from a value. Default: `JSON.stringify(v)`. */
|
|
@@ -2813,7 +2328,7 @@ type TempoClientLike = {
|
|
|
2813
2328
|
}): Promise<unknown>;
|
|
2814
2329
|
};
|
|
2815
2330
|
/** Options for {@link toTempo}. */
|
|
2816
|
-
type ToTempoOptions<T> = ExtraOpts$
|
|
2331
|
+
type ToTempoOptions<T> = ExtraOpts$2 & {
|
|
2817
2332
|
/** Transform a value into OTLP resourceSpans entries. */
|
|
2818
2333
|
toResourceSpans?: (value: T) => unknown[];
|
|
2819
2334
|
onTransportError?: (err: SinkTransportError) => void;
|
|
@@ -2906,7 +2421,7 @@ type SqliteDbLike = {
|
|
|
2906
2421
|
query(sql: string, params?: unknown[]): unknown[];
|
|
2907
2422
|
};
|
|
2908
2423
|
/** Options for {@link fromSqlite}. */
|
|
2909
|
-
type FromSqliteOptions<T> = ExtraOpts$
|
|
2424
|
+
type FromSqliteOptions<T> = ExtraOpts$2 & {
|
|
2910
2425
|
/** Map a raw row object to the desired type. Default: identity cast. */
|
|
2911
2426
|
mapRow?: (row: unknown) => T;
|
|
2912
2427
|
/** Bind parameters for the query. */
|
|
@@ -2958,7 +2473,7 @@ type SqliteIterableDbLike = {
|
|
|
2958
2473
|
*/
|
|
2959
2474
|
declare function fromSqliteCursor<T = unknown>(db: SqliteIterableDbLike, query: string, opts?: FromSqliteOptions<T>): Node<T>;
|
|
2960
2475
|
/** Options for {@link toSqlite}. */
|
|
2961
|
-
type ToSqliteOptions<T> = ExtraOpts$
|
|
2476
|
+
type ToSqliteOptions<T> = ExtraOpts$2 & {
|
|
2962
2477
|
/** Build SQL + params for an insert. Default: JSON insert into `(data)` column. */
|
|
2963
2478
|
toSQL?: (value: T, table: string) => {
|
|
2964
2479
|
sql: string;
|
|
@@ -3014,7 +2529,7 @@ type PrismaModelLike<T = unknown> = {
|
|
|
3014
2529
|
findMany(args?: unknown): Promise<T[]>;
|
|
3015
2530
|
};
|
|
3016
2531
|
/** Options for {@link fromPrisma}. */
|
|
3017
|
-
type FromPrismaOptions<T, U = T> = ExtraOpts$
|
|
2532
|
+
type FromPrismaOptions<T, U = T> = ExtraOpts$2 & {
|
|
3018
2533
|
/** Prisma `findMany` args (where, orderBy, select, include, take, skip, etc.). */
|
|
3019
2534
|
args?: unknown;
|
|
3020
2535
|
/** Map each row to the desired shape. Default: identity cast. */
|
|
@@ -3055,7 +2570,7 @@ type DrizzleQueryLike<T = unknown> = {
|
|
|
3055
2570
|
execute(): Promise<T[]>;
|
|
3056
2571
|
};
|
|
3057
2572
|
/** Options for {@link fromDrizzle}. */
|
|
3058
|
-
type FromDrizzleOptions<T, U = T> = ExtraOpts$
|
|
2573
|
+
type FromDrizzleOptions<T, U = T> = ExtraOpts$2 & {
|
|
3059
2574
|
/** Map each row to the desired shape. Default: identity cast. */
|
|
3060
2575
|
mapRow?: (row: T) => U;
|
|
3061
2576
|
};
|
|
@@ -3091,7 +2606,7 @@ type KyselyQueryLike<T = unknown> = {
|
|
|
3091
2606
|
execute(): Promise<T[]>;
|
|
3092
2607
|
};
|
|
3093
2608
|
/** Options for {@link fromKysely}. */
|
|
3094
|
-
type FromKyselyOptions<T, U = T> = ExtraOpts$
|
|
2609
|
+
type FromKyselyOptions<T, U = T> = ExtraOpts$2 & {
|
|
3095
2610
|
/** Map each row to the desired shape. Default: identity cast. */
|
|
3096
2611
|
mapRow?: (row: T) => U;
|
|
3097
2612
|
};
|
|
@@ -3610,7 +3125,7 @@ declare function matchesCron(schedule: CronSchedule, date: Date): boolean;
|
|
|
3610
3125
|
* and `onResubscribe` are removed.
|
|
3611
3126
|
*/
|
|
3612
3127
|
|
|
3613
|
-
type ExtraOpts = Omit<NodeOptions<unknown>, "describeKind">;
|
|
3128
|
+
type ExtraOpts$1 = Omit<NodeOptions<unknown>, "describeKind">;
|
|
3614
3129
|
/**
|
|
3615
3130
|
* Maps each settled value from `source` through `project`.
|
|
3616
3131
|
*
|
|
@@ -3628,7 +3143,7 @@ type ExtraOpts = Omit<NodeOptions<unknown>, "describeKind">;
|
|
|
3628
3143
|
*
|
|
3629
3144
|
* @category extra
|
|
3630
3145
|
*/
|
|
3631
|
-
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>;
|
|
3632
3147
|
/**
|
|
3633
3148
|
* Forwards values that satisfy `predicate`; otherwise emits `RESOLVED` with no `DATA` (two-phase semantics).
|
|
3634
3149
|
*
|
|
@@ -3646,7 +3161,7 @@ declare function map<T, R>(source: Node<T>, project: (value: T) => R, opts?: Ext
|
|
|
3646
3161
|
*
|
|
3647
3162
|
* @category extra
|
|
3648
3163
|
*/
|
|
3649
|
-
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>;
|
|
3650
3165
|
/**
|
|
3651
3166
|
* Folds each upstream value into an accumulator; emits the new accumulator every time.
|
|
3652
3167
|
*
|
|
@@ -3668,7 +3183,7 @@ declare function filter<T>(source: Node<T>, predicate: (value: T) => boolean, op
|
|
|
3668
3183
|
*
|
|
3669
3184
|
* @category extra
|
|
3670
3185
|
*/
|
|
3671
|
-
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>;
|
|
3672
3187
|
/**
|
|
3673
3188
|
* Reduces to one value emitted when `source` completes; if no `DATA` arrived, emits `seed`.
|
|
3674
3189
|
*
|
|
@@ -3690,7 +3205,7 @@ declare function scan<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R, s
|
|
|
3690
3205
|
*
|
|
3691
3206
|
* @category extra
|
|
3692
3207
|
*/
|
|
3693
|
-
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>;
|
|
3694
3209
|
/**
|
|
3695
3210
|
* Emits at most `count` **`DATA`** values, then **`COMPLETE`**. `RESOLVED` does not advance the counter.
|
|
3696
3211
|
*
|
|
@@ -3708,7 +3223,7 @@ declare function reduce<T, R>(source: Node<T>, reducer: (acc: R, value: T) => R,
|
|
|
3708
3223
|
*
|
|
3709
3224
|
* @category extra
|
|
3710
3225
|
*/
|
|
3711
|
-
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>;
|
|
3712
3227
|
/**
|
|
3713
3228
|
* Skips the first `count` **`DATA`** emissions. `RESOLVED` does not advance the counter.
|
|
3714
3229
|
*
|
|
@@ -3726,7 +3241,7 @@ declare function take<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node
|
|
|
3726
3241
|
*
|
|
3727
3242
|
* @category extra
|
|
3728
3243
|
*/
|
|
3729
|
-
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>;
|
|
3730
3245
|
/**
|
|
3731
3246
|
* Emits while `predicate` holds; on first false, sends **`COMPLETE`**.
|
|
3732
3247
|
*
|
|
@@ -3744,7 +3259,7 @@ declare function skip<T>(source: Node<T>, count: number, opts?: ExtraOpts): Node
|
|
|
3744
3259
|
*
|
|
3745
3260
|
* @category extra
|
|
3746
3261
|
*/
|
|
3747
|
-
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>;
|
|
3748
3263
|
/**
|
|
3749
3264
|
* Forwards `source` until `notifier` matches `predicate` (default: notifier **`DATA`**), then **`COMPLETE`**.
|
|
3750
3265
|
*
|
|
@@ -3764,7 +3279,7 @@ declare function takeWhile<T>(source: Node<T>, predicate: (value: T) => boolean,
|
|
|
3764
3279
|
*
|
|
3765
3280
|
* @category extra
|
|
3766
3281
|
*/
|
|
3767
|
-
declare function takeUntil<T>(source: Node<T>, notifier: Node, opts?: ExtraOpts & {
|
|
3282
|
+
declare function takeUntil<T>(source: Node<T>, notifier: Node, opts?: ExtraOpts$1 & {
|
|
3768
3283
|
predicate?: (msg: Message) => boolean;
|
|
3769
3284
|
}): Node<T>;
|
|
3770
3285
|
/**
|
|
@@ -3783,7 +3298,7 @@ declare function takeUntil<T>(source: Node<T>, notifier: Node, opts?: ExtraOpts
|
|
|
3783
3298
|
*
|
|
3784
3299
|
* @category extra
|
|
3785
3300
|
*/
|
|
3786
|
-
declare function first<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
3301
|
+
declare function first<T>(source: Node<T>, opts?: ExtraOpts$1): Node<T>;
|
|
3787
3302
|
/**
|
|
3788
3303
|
* Buffers values and emits the last **`DATA`** on **`COMPLETE`**; optional `defaultValue` if none arrived.
|
|
3789
3304
|
*
|
|
@@ -3800,7 +3315,7 @@ declare function first<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
|
3800
3315
|
*
|
|
3801
3316
|
* @category extra
|
|
3802
3317
|
*/
|
|
3803
|
-
declare function last<T>(source: Node<T>, options?: ExtraOpts & {
|
|
3318
|
+
declare function last<T>(source: Node<T>, options?: ExtraOpts$1 & {
|
|
3804
3319
|
defaultValue?: T;
|
|
3805
3320
|
}): Node<T>;
|
|
3806
3321
|
/**
|
|
@@ -3820,7 +3335,7 @@ declare function last<T>(source: Node<T>, options?: ExtraOpts & {
|
|
|
3820
3335
|
*
|
|
3821
3336
|
* @category extra
|
|
3822
3337
|
*/
|
|
3823
|
-
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>;
|
|
3824
3339
|
/**
|
|
3825
3340
|
* Emits the `index`th **`DATA`** (zero-based), then **`COMPLETE`**.
|
|
3826
3341
|
*
|
|
@@ -3838,7 +3353,7 @@ declare function find<T>(source: Node<T>, predicate: (value: T) => boolean, opts
|
|
|
3838
3353
|
*
|
|
3839
3354
|
* @category extra
|
|
3840
3355
|
*/
|
|
3841
|
-
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>;
|
|
3842
3357
|
/**
|
|
3843
3358
|
* Observer shape for {@link tap} — side effects for data, error, and/or complete.
|
|
3844
3359
|
*/
|
|
@@ -3871,7 +3386,7 @@ type TapObserver<T> = {
|
|
|
3871
3386
|
*
|
|
3872
3387
|
* @category extra
|
|
3873
3388
|
*/
|
|
3874
|
-
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>;
|
|
3875
3390
|
/**
|
|
3876
3391
|
* Suppresses adjacent duplicates using `equals` (default `Object.is`).
|
|
3877
3392
|
*
|
|
@@ -3889,7 +3404,7 @@ declare function tap<T>(source: Node<T>, fnOrObserver: ((value: T) => void) | Ta
|
|
|
3889
3404
|
*
|
|
3890
3405
|
* @category extra
|
|
3891
3406
|
*/
|
|
3892
|
-
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>;
|
|
3893
3408
|
/**
|
|
3894
3409
|
* Emits `[previous, current]` pairs starting after the second value (first pair uses `RESOLVED` only).
|
|
3895
3410
|
*
|
|
@@ -3906,7 +3421,7 @@ declare function distinctUntilChanged<T>(source: Node<T>, equals?: (a: T, b: T)
|
|
|
3906
3421
|
*
|
|
3907
3422
|
* @category extra
|
|
3908
3423
|
*/
|
|
3909
|
-
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]>;
|
|
3910
3425
|
/**
|
|
3911
3426
|
* Combines the latest value from each dependency whenever any dep settles (combineLatest).
|
|
3912
3427
|
*
|
|
@@ -3946,7 +3461,7 @@ declare function combine<const T extends readonly unknown[]>(...sources: {
|
|
|
3946
3461
|
*
|
|
3947
3462
|
* @category extra
|
|
3948
3463
|
*/
|
|
3949
|
-
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]>;
|
|
3950
3465
|
/**
|
|
3951
3466
|
* Merges **`DATA`** from any source with correct two-phase dirty tracking. **`COMPLETE`** after **all** sources complete (spec §1.3.5).
|
|
3952
3467
|
*
|
|
@@ -4001,7 +3516,7 @@ declare function zip<const T extends readonly unknown[]>(...sources: {
|
|
|
4001
3516
|
*
|
|
4002
3517
|
* @category extra
|
|
4003
3518
|
*/
|
|
4004
|
-
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>;
|
|
4005
3520
|
/**
|
|
4006
3521
|
* First source to emit **`DATA`** wins; later traffic follows only the winner (Rx-style `race`).
|
|
4007
3522
|
*
|
|
@@ -4035,7 +3550,7 @@ declare function race<T>(...sources: readonly Node<T>[]): Node<T>;
|
|
|
4035
3550
|
*
|
|
4036
3551
|
* @category extra
|
|
4037
3552
|
*/
|
|
4038
|
-
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>;
|
|
4039
3554
|
/**
|
|
4040
3555
|
* Like {@link switchMap}, but ignores outer `DATA` while an inner subscription is active (`exhaustMap`).
|
|
4041
3556
|
*
|
|
@@ -4052,7 +3567,7 @@ declare function switchMap<T, R>(source: Node<T>, project: (value: T) => NodeInp
|
|
|
4052
3567
|
*
|
|
4053
3568
|
* @category extra
|
|
4054
3569
|
*/
|
|
4055
|
-
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>;
|
|
4056
3571
|
/**
|
|
4057
3572
|
* Enqueues each outer value and subscribes to inners one at a time (`concatMap`).
|
|
4058
3573
|
*
|
|
@@ -4069,11 +3584,11 @@ declare function exhaustMap<T, R>(source: Node<T>, project: (value: T) => NodeIn
|
|
|
4069
3584
|
*
|
|
4070
3585
|
* @category extra
|
|
4071
3586
|
*/
|
|
4072
|
-
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 & {
|
|
4073
3588
|
maxBuffer?: number;
|
|
4074
3589
|
}): Node<R>;
|
|
4075
3590
|
/** Options for {@link mergeMap}. */
|
|
4076
|
-
type MergeMapOptions = ExtraOpts & {
|
|
3591
|
+
type MergeMapOptions = ExtraOpts$1 & {
|
|
4077
3592
|
/** Maximum number of concurrent inner subscriptions. Default: `Infinity` (unbounded). */
|
|
4078
3593
|
concurrent?: number;
|
|
4079
3594
|
};
|
|
@@ -4141,7 +3656,7 @@ declare const flatMap: typeof mergeMap;
|
|
|
4141
3656
|
*
|
|
4142
3657
|
* @category extra
|
|
4143
3658
|
*/
|
|
4144
|
-
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>;
|
|
4145
3660
|
/**
|
|
4146
3661
|
* Emits the latest value only after `ms` quiet time since the last trigger (`debounce`).
|
|
4147
3662
|
*
|
|
@@ -4158,7 +3673,7 @@ declare function delay<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T
|
|
|
4158
3673
|
*
|
|
4159
3674
|
* @category extra
|
|
4160
3675
|
*/
|
|
4161
|
-
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>;
|
|
4162
3677
|
type ThrottleOptions = {
|
|
4163
3678
|
leading?: boolean;
|
|
4164
3679
|
trailing?: boolean;
|
|
@@ -4179,7 +3694,7 @@ type ThrottleOptions = {
|
|
|
4179
3694
|
*
|
|
4180
3695
|
* @category extra
|
|
4181
3696
|
*/
|
|
4182
|
-
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>;
|
|
4183
3698
|
/**
|
|
4184
3699
|
* Emits the most recent source value whenever `notifier` emits `DATA` (`sample`).
|
|
4185
3700
|
*
|
|
@@ -4200,7 +3715,7 @@ declare function throttle<T>(source: Node<T>, ms: number, opts?: ExtraOpts & Thr
|
|
|
4200
3715
|
*
|
|
4201
3716
|
* @category extra
|
|
4202
3717
|
*/
|
|
4203
|
-
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>;
|
|
4204
3719
|
/**
|
|
4205
3720
|
* After each source `DATA`, waits `ms` then emits the latest value if another `DATA` has not arrived (`auditTime` / trailing window).
|
|
4206
3721
|
*
|
|
@@ -4217,7 +3732,7 @@ declare function sample<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
4217
3732
|
*
|
|
4218
3733
|
* @category extra
|
|
4219
3734
|
*/
|
|
4220
|
-
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>;
|
|
4221
3736
|
/**
|
|
4222
3737
|
* Buffers source `DATA` values; flushes an array when `notifier` settles (`buffer`).
|
|
4223
3738
|
*
|
|
@@ -4234,7 +3749,7 @@ declare function audit<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T
|
|
|
4234
3749
|
*
|
|
4235
3750
|
* @category extra
|
|
4236
3751
|
*/
|
|
4237
|
-
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[]>;
|
|
4238
3753
|
/**
|
|
4239
3754
|
* Batches consecutive `DATA` values into arrays of length `count` (`bufferCount` / `windowCount`).
|
|
4240
3755
|
*
|
|
@@ -4251,7 +3766,7 @@ declare function buffer<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
4251
3766
|
*
|
|
4252
3767
|
* @category extra
|
|
4253
3768
|
*/
|
|
4254
|
-
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[]>;
|
|
4255
3770
|
/**
|
|
4256
3771
|
* Splits source `DATA` into sub-nodes of `count` values each. Each sub-node completes after `count` items or when source completes.
|
|
4257
3772
|
*
|
|
@@ -4269,7 +3784,7 @@ declare function bufferCount<T>(source: Node<T>, count: number, opts?: ExtraOpts
|
|
|
4269
3784
|
*
|
|
4270
3785
|
* @category extra
|
|
4271
3786
|
*/
|
|
4272
|
-
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>>;
|
|
4273
3788
|
/**
|
|
4274
3789
|
* Flushes buffered `DATA` values every `ms` (`bufferTime` / `windowTime`).
|
|
4275
3790
|
*
|
|
@@ -4286,7 +3801,7 @@ declare function windowCount<T>(source: Node<T>, count: number, opts?: ExtraOpts
|
|
|
4286
3801
|
*
|
|
4287
3802
|
* @category extra
|
|
4288
3803
|
*/
|
|
4289
|
-
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[]>;
|
|
4290
3805
|
/**
|
|
4291
3806
|
* Splits source `DATA` into time-windowed sub-nodes; each window lasts `ms`.
|
|
4292
3807
|
*
|
|
@@ -4304,7 +3819,7 @@ declare function bufferTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts): N
|
|
|
4304
3819
|
*
|
|
4305
3820
|
* @category extra
|
|
4306
3821
|
*/
|
|
4307
|
-
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>>;
|
|
4308
3823
|
/**
|
|
4309
3824
|
* Splits source `DATA` into sub-nodes, opening a new window each time `notifier` emits `DATA`.
|
|
4310
3825
|
*
|
|
@@ -4322,7 +3837,7 @@ declare function windowTime<T>(source: Node<T>, ms: number, opts?: ExtraOpts): N
|
|
|
4322
3837
|
*
|
|
4323
3838
|
* @category extra
|
|
4324
3839
|
*/
|
|
4325
|
-
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>>;
|
|
4326
3841
|
/**
|
|
4327
3842
|
* Increments on each tick (`interval`); uses `setInterval` via {@link producer}.
|
|
4328
3843
|
*
|
|
@@ -4338,7 +3853,7 @@ declare function window<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
4338
3853
|
*
|
|
4339
3854
|
* @category extra
|
|
4340
3855
|
*/
|
|
4341
|
-
declare function interval(periodMs: number, opts?: ExtraOpts): Node<number>;
|
|
3856
|
+
declare function interval(periodMs: number, opts?: ExtraOpts$1): Node<number>;
|
|
4342
3857
|
/**
|
|
4343
3858
|
* Subscribes to `source` repeatedly (`count` times, sequentially). Best with a fresh or `resubscribable` source.
|
|
4344
3859
|
*
|
|
@@ -4355,7 +3870,7 @@ declare function interval(periodMs: number, opts?: ExtraOpts): Node<number>;
|
|
|
4355
3870
|
*
|
|
4356
3871
|
* @category extra
|
|
4357
3872
|
*/
|
|
4358
|
-
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>;
|
|
4359
3874
|
/**
|
|
4360
3875
|
* Identity passthrough — `pausable()` has been promoted to default node behavior in v5 (§4).
|
|
4361
3876
|
*
|
|
@@ -4376,7 +3891,7 @@ declare function repeat<T>(source: Node<T>, count: number, opts?: ExtraOpts): No
|
|
|
4376
3891
|
*
|
|
4377
3892
|
* @category extra
|
|
4378
3893
|
*/
|
|
4379
|
-
declare function pausable<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
3894
|
+
declare function pausable<T>(source: Node<T>, opts?: ExtraOpts$1): Node<T>;
|
|
4380
3895
|
/**
|
|
4381
3896
|
* Replaces an upstream `ERROR` with a recovered value (`catchError`-style).
|
|
4382
3897
|
*
|
|
@@ -4393,7 +3908,7 @@ declare function pausable<T>(source: Node<T>, opts?: ExtraOpts): Node<T>;
|
|
|
4393
3908
|
*
|
|
4394
3909
|
* @category extra
|
|
4395
3910
|
*/
|
|
4396
|
-
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>;
|
|
4397
3912
|
/**
|
|
4398
3913
|
* Forwards upstream `DATA` only while `control.get()` is truthy; when closed, emits `RESOLVED`
|
|
4399
3914
|
* instead of repeating the last value (value-level valve). For protocol pause/resume, use default
|
|
@@ -4415,7 +3930,7 @@ declare function rescue<T>(source: Node<T>, recover: (err: unknown) => T, opts?:
|
|
|
4415
3930
|
*
|
|
4416
3931
|
* @category extra
|
|
4417
3932
|
*/
|
|
4418
|
-
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>;
|
|
4419
3934
|
/**
|
|
4420
3935
|
* RxJS-named alias for {@link combine} — emits when any dep updates with latest tuple of values.
|
|
4421
3936
|
*
|
|
@@ -5152,6 +4667,38 @@ declare class NativeLogBackend<T> implements LogBackend<T> {
|
|
|
5152
4667
|
*/
|
|
5153
4668
|
declare function reactiveLog<T>(initial?: readonly T[], options?: ReactiveLogOptions<T>): ReactiveLogBundle<T>;
|
|
5154
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
|
+
|
|
5155
4702
|
/**
|
|
5156
4703
|
* Creates a resettable deadline timer for internal timeout, retry, and rate-limiting use.
|
|
5157
4704
|
*
|
|
@@ -5397,7 +4944,7 @@ declare function workerSelf<TImport extends readonly string[]>(target: unknown |
|
|
|
5397
4944
|
|
|
5398
4945
|
type index_AckableMessage<T> = AckableMessage<T>;
|
|
5399
4946
|
type index_AdapterHandlers<T> = AdapterHandlers<T>;
|
|
5400
|
-
|
|
4947
|
+
declare const index_AsyncSourceOpts: typeof AsyncSourceOpts;
|
|
5401
4948
|
type index_BackoffPreset = BackoffPreset;
|
|
5402
4949
|
type index_BackoffStrategy = BackoffStrategy;
|
|
5403
4950
|
type index_BatchMessage = BatchMessage;
|
|
@@ -5424,7 +4971,7 @@ type index_DistillOptions<TMem> = DistillOptions<TMem>;
|
|
|
5424
4971
|
type index_DrizzleQueryLike<T = unknown> = DrizzleQueryLike<T>;
|
|
5425
4972
|
type index_EmitTriad<T> = EmitTriad<T>;
|
|
5426
4973
|
type index_ErrorMessage = ErrorMessage;
|
|
5427
|
-
|
|
4974
|
+
declare const index_EventTargetLike: typeof EventTargetLike;
|
|
5428
4975
|
type index_ExponentialBackoffOptions = ExponentialBackoffOptions;
|
|
5429
4976
|
type index_ExternalBundleOptions<TChannels extends Record<string, unknown>> = ExternalBundleOptions<TChannels>;
|
|
5430
4977
|
type index_ExternalRegister<H> = ExternalRegister<H>;
|
|
@@ -5435,7 +4982,7 @@ type index_FallbackInput<T> = FallbackInput<T>;
|
|
|
5435
4982
|
type index_FileWriterLike = FileWriterLike;
|
|
5436
4983
|
type index_FromCSVOptions = FromCSVOptions;
|
|
5437
4984
|
type index_FromClickHouseWatchOptions = FromClickHouseWatchOptions;
|
|
5438
|
-
|
|
4985
|
+
declare const index_FromCronOptions: typeof FromCronOptions;
|
|
5439
4986
|
type index_FromDrizzleOptions<T, U = T> = FromDrizzleOptions<T, U>;
|
|
5440
4987
|
type index_FromFSWatchOptions = FromFSWatchOptions;
|
|
5441
4988
|
type index_FromGitHookOptions = FromGitHookOptions;
|
|
@@ -5494,7 +5041,7 @@ declare const index_NativeMapBackend: typeof NativeMapBackend;
|
|
|
5494
5041
|
type index_NativeMapBackendOptions = NativeMapBackendOptions;
|
|
5495
5042
|
type index_NativePubSubBackend = NativePubSubBackend;
|
|
5496
5043
|
declare const index_NativePubSubBackend: typeof NativePubSubBackend;
|
|
5497
|
-
|
|
5044
|
+
declare const index_NodeInput: typeof NodeInput;
|
|
5498
5045
|
type index_OTelBundle = OTelBundle;
|
|
5499
5046
|
type index_OTelLog = OTelLog;
|
|
5500
5047
|
type index_OTelMetric = OTelMetric;
|
|
@@ -5515,7 +5062,7 @@ type index_RateLimiterOptions = RateLimiterOptions;
|
|
|
5515
5062
|
type index_RateLimiterOverflowError = RateLimiterOverflowError;
|
|
5516
5063
|
declare const index_RateLimiterOverflowError: typeof RateLimiterOverflowError;
|
|
5517
5064
|
type index_RateLimiterOverflowPolicy = RateLimiterOverflowPolicy;
|
|
5518
|
-
|
|
5065
|
+
declare const index_ReactiveCounterBundle: typeof ReactiveCounterBundle;
|
|
5519
5066
|
type index_ReactiveIndexBundle<K, V = unknown> = ReactiveIndexBundle<K, V>;
|
|
5520
5067
|
type index_ReactiveIndexOptions<K, V = unknown> = ReactiveIndexOptions<K, V>;
|
|
5521
5068
|
type index_ReactiveListBundle<T> = ReactiveListBundle<T>;
|
|
@@ -5765,7 +5312,7 @@ declare const index_workerBridge: typeof workerBridge;
|
|
|
5765
5312
|
declare const index_workerSelf: typeof workerSelf;
|
|
5766
5313
|
declare const index_zip: typeof zip;
|
|
5767
5314
|
declare namespace index {
|
|
5768
|
-
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_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 };
|
|
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 };
|
|
5769
5316
|
}
|
|
5770
5317
|
|
|
5771
|
-
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 };
|