@graphrefly/graphrefly 0.6.0 → 0.7.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 +30 -14
- package/dist/{chunk-5X3LAO3B.js → chunk-3EVXOI5C.js} +50 -5
- package/dist/chunk-3EVXOI5C.js.map +1 -0
- package/dist/chunk-47YJEZUJ.js +106 -0
- package/dist/chunk-47YJEZUJ.js.map +1 -0
- package/dist/{chunk-6W5SGIGB.js → chunk-BLCXEMAD.js} +129 -25
- package/dist/chunk-BLCXEMAD.js.map +1 -0
- package/dist/{chunk-QW7H3ICI.js → chunk-FGLZ5QID.js} +4 -4
- package/dist/{chunk-CP6MNKAA.js → chunk-ISGMZ2T3.js} +10 -4
- package/dist/{chunk-CP6MNKAA.js.map → chunk-ISGMZ2T3.js.map} +1 -1
- package/dist/{chunk-HP7OKEOE.js → chunk-L4J2K2RT.js} +3 -3
- package/dist/chunk-L4J2K2RT.js.map +1 -0
- package/dist/{chunk-V3UACY6A.js → chunk-ONLYF6GA.js} +790 -203
- package/dist/chunk-ONLYF6GA.js.map +1 -0
- package/dist/{chunk-Z4Y4FMQN.js → chunk-OSR3G3DP.js} +7 -7
- package/dist/{chunk-KWXPDASV.js → chunk-PEBORXRA.js} +2 -2
- package/dist/chunk-WZ2Z2CRV.js +32 -0
- package/dist/chunk-WZ2Z2CRV.js.map +1 -0
- package/dist/compat/nestjs/index.cjs +226 -41
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +4 -4
- package/dist/compat/nestjs/index.d.ts +4 -4
- package/dist/compat/nestjs/index.js +8 -7
- package/dist/core/index.cjs +134 -20
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +10 -4
- package/dist/extra/index.cjs +863 -206
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +4 -4
- package/dist/extra/index.d.ts +4 -4
- package/dist/extra/index.js +22 -3
- package/dist/graph/index.cjs +226 -41
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +3 -3
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +4 -4
- package/dist/{graph-CL_ZDAj9.d.cts → graph-B3BoJjcb.d.cts} +58 -7
- package/dist/{graph-D18qmsNm.d.ts → graph-CmiUuhaN.d.ts} +58 -7
- package/dist/{index-B7eOdgEx.d.ts → index-Bf2X1YSI.d.ts} +3 -3
- package/dist/{index-BvhgZRHK.d.cts → index-Bl7hJcc3.d.cts} +4 -2
- package/dist/{index-Bvy_6CaN.d.ts → index-BrgtEG-C.d.ts} +47 -4
- package/dist/{index-D_geH2Bm.d.cts → index-BsuKSs4L.d.cts} +3 -3
- package/dist/{index-BtK55IE2.d.ts → index-CsUq2rrK.d.ts} +4 -2
- package/dist/{index-C3BMRmmp.d.cts → index-D0cx-Yht.d.cts} +3 -3
- package/dist/{index-Bk_idZm1.d.cts → index-D1hgSTzr.d.cts} +406 -61
- package/dist/{index-C5mqLhMX.d.cts → index-D8NIq6om.d.cts} +47 -4
- package/dist/{index-CP_QvbWu.d.ts → index-DFFNKYig.d.ts} +3 -3
- package/dist/{index-B2jmzVxL.d.ts → index-Pm68AYPh.d.ts} +406 -61
- package/dist/index.cjs +2929 -1775
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +112 -14
- package/dist/index.d.ts +112 -14
- package/dist/index.js +392 -27
- package/dist/index.js.map +1 -1
- package/dist/{meta-BsF6Sag9.d.cts → meta-BJEU8fYz.d.cts} +31 -4
- package/dist/{meta-BsF6Sag9.d.ts → meta-BJEU8fYz.d.ts} +31 -4
- package/dist/patterns/reactive-layout/index.cjs +226 -41
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +3 -3
- package/dist/patterns/reactive-layout/index.d.ts +3 -3
- package/dist/patterns/reactive-layout/index.js +4 -4
- package/dist/{reactive-log-BfvfNWQh.d.cts → reactive-log-CAXzJ7hw.d.cts} +2 -2
- package/dist/{reactive-log-ohLmTXoZ.d.ts → reactive-log-DwNhOe0g.d.ts} +2 -2
- package/package.json +29 -18
- package/dist/chunk-5X3LAO3B.js.map +0 -1
- package/dist/chunk-6W5SGIGB.js.map +0 -1
- package/dist/chunk-HP7OKEOE.js.map +0 -1
- package/dist/chunk-O3PI7W45.js +0 -68
- package/dist/chunk-O3PI7W45.js.map +0 -1
- package/dist/chunk-V3UACY6A.js.map +0 -1
- /package/dist/{chunk-QW7H3ICI.js.map → chunk-FGLZ5QID.js.map} +0 -0
- /package/dist/{chunk-Z4Y4FMQN.js.map → chunk-OSR3G3DP.js.map} +0 -0
- /package/dist/{chunk-KWXPDASV.js.map → chunk-PEBORXRA.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as Node, a as NodeOptions, M as Message,
|
|
2
|
-
import {
|
|
3
|
-
import { V as Versioned, a as ReactiveLogBundle, b as ReactiveLogOptions, R as ReactiveLogSnapshot, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-
|
|
1
|
+
import { N as Node, a as NodeOptions, M as Message, k as Messages } from './meta-BJEU8fYz.js';
|
|
2
|
+
import { G as Graph } from './graph-CmiUuhaN.js';
|
|
3
|
+
import { V as Versioned, a as ReactiveLogBundle, b as ReactiveLogOptions, R as ReactiveLogSnapshot, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-DwNhOe0g.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Backoff strategies for {@link retry} (roadmap §3.1). Delays are in **nanoseconds**.
|
|
@@ -376,6 +376,83 @@ type WithStatusBundle<T> = {
|
|
|
376
376
|
declare function withStatus<T>(src: Node<T>, options?: {
|
|
377
377
|
initialStatus?: StatusValue;
|
|
378
378
|
}): WithStatusBundle<T>;
|
|
379
|
+
/**
|
|
380
|
+
* Thrown by {@link timeout} when no `DATA` arrives within the deadline.
|
|
381
|
+
*
|
|
382
|
+
* @category extra
|
|
383
|
+
*/
|
|
384
|
+
declare class TimeoutError extends Error {
|
|
385
|
+
name: string;
|
|
386
|
+
constructor(ns: number);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* On upstream terminal `ERROR`, emit a fallback value instead of propagating the error.
|
|
390
|
+
*
|
|
391
|
+
* If `fb` is a plain value, emits `[[DATA, fb], [COMPLETE]]` on error.
|
|
392
|
+
* If `fb` is a `Node`, switches to that node's stream on error (all further messages
|
|
393
|
+
* from the fallback node are forwarded).
|
|
394
|
+
*
|
|
395
|
+
* Composes naturally with {@link retry}: `pipe(source, retry({count:3}), fallback("default"))`.
|
|
396
|
+
*
|
|
397
|
+
* @param source - Upstream node.
|
|
398
|
+
* @param fb - Fallback value or fallback node to switch to on error.
|
|
399
|
+
* @returns Node that replaces errors with the fallback.
|
|
400
|
+
*
|
|
401
|
+
* @example
|
|
402
|
+
* ```ts
|
|
403
|
+
* import { fallback, throwError } from "@graphrefly/graphrefly-ts";
|
|
404
|
+
*
|
|
405
|
+
* const safe = fallback(throwError(new Error("boom")), "default");
|
|
406
|
+
* safe.get(); // "default" after subscribe
|
|
407
|
+
* ```
|
|
408
|
+
*
|
|
409
|
+
* @category extra
|
|
410
|
+
*/
|
|
411
|
+
declare function fallback<T>(source: Node<T>, fb: T | Node<T>): Node<T>;
|
|
412
|
+
/**
|
|
413
|
+
* Emits `ERROR` with {@link TimeoutError} if no `DATA` arrives within the deadline.
|
|
414
|
+
*
|
|
415
|
+
* The timer starts on subscription and resets on each `DATA`. `DIRTY` does NOT reset
|
|
416
|
+
* the timer. Terminal messages (`COMPLETE`/`ERROR`) cancel the timer.
|
|
417
|
+
*
|
|
418
|
+
* @param source - Upstream node.
|
|
419
|
+
* @param timeoutNs - Deadline in nanoseconds.
|
|
420
|
+
* @returns Node that errors on timeout.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* ```ts
|
|
424
|
+
* import { timeout, never, NS_PER_SEC } from "@graphrefly/graphrefly-ts";
|
|
425
|
+
*
|
|
426
|
+
* const t = timeout(never(), 5 * NS_PER_SEC);
|
|
427
|
+
* // After 5 seconds with no DATA: [[ERROR, TimeoutError]]
|
|
428
|
+
* ```
|
|
429
|
+
*
|
|
430
|
+
* @category extra
|
|
431
|
+
*/
|
|
432
|
+
declare function timeout<T>(source: Node<T>, timeoutNs: number): Node<T>;
|
|
433
|
+
/**
|
|
434
|
+
* Memoize the last `DATA` value with a TTL. On resubscription (or new subscriber),
|
|
435
|
+
* if a cached value exists within `ttlNs`, emit it immediately then forward live
|
|
436
|
+
* upstream messages.
|
|
437
|
+
*
|
|
438
|
+
* Stale-while-revalidate pattern: subscribers always get the cached value first
|
|
439
|
+
* (if within TTL), then see live updates as they arrive.
|
|
440
|
+
*
|
|
441
|
+
* @param source - Upstream node.
|
|
442
|
+
* @param ttlNs - Time-to-live in nanoseconds.
|
|
443
|
+
* @returns Node with TTL-based caching.
|
|
444
|
+
*
|
|
445
|
+
* @example
|
|
446
|
+
* ```ts
|
|
447
|
+
* import { cache, state, NS_PER_SEC } from "@graphrefly/graphrefly-ts";
|
|
448
|
+
*
|
|
449
|
+
* const src = state(42);
|
|
450
|
+
* const c = cache(src, 10 * NS_PER_SEC);
|
|
451
|
+
* ```
|
|
452
|
+
*
|
|
453
|
+
* @category extra
|
|
454
|
+
*/
|
|
455
|
+
declare function cache<T>(source: Node<T>, ttlNs: number): Node<T>;
|
|
379
456
|
|
|
380
457
|
/**
|
|
381
458
|
* Core reactive sources, sinks, and utilities (roadmap §2.3).
|
|
@@ -792,6 +869,15 @@ type SinkTransportError = {
|
|
|
792
869
|
error: Error;
|
|
793
870
|
value: unknown;
|
|
794
871
|
};
|
|
872
|
+
/** Handle returned by per-record and buffered sinks. */
|
|
873
|
+
type SinkHandle = {
|
|
874
|
+
/** Stop the sink (unsubscribe from source). */
|
|
875
|
+
dispose: () => void;
|
|
876
|
+
/** Reactive node that emits the latest transport error (or `null`). */
|
|
877
|
+
errors: Node<SinkTransportError | null>;
|
|
878
|
+
/** Manually drain the internal buffer (buffered sinks only). */
|
|
879
|
+
flush?: () => Promise<void>;
|
|
880
|
+
};
|
|
795
881
|
type ExtraOpts$1 = Omit<NodeOptions, "describeKind">;
|
|
796
882
|
/** WebSocket-like transport accepted by {@link fromWebSocket} / {@link toWebSocket}. */
|
|
797
883
|
type WebSocketLike = {
|
|
@@ -1355,7 +1441,7 @@ type ToKafkaOptions<T> = ExtraOpts$1 & {
|
|
|
1355
1441
|
*
|
|
1356
1442
|
* @category extra
|
|
1357
1443
|
*/
|
|
1358
|
-
declare function toKafka<T>(source: Node<T>, kafkaProducer: KafkaProducerLike, topic: string, opts?: ToKafkaOptions<T>):
|
|
1444
|
+
declare function toKafka<T>(source: Node<T>, kafkaProducer: KafkaProducerLike, topic: string, opts?: ToKafkaOptions<T>): SinkHandle;
|
|
1359
1445
|
/** Duck-typed Redis client (compatible with ioredis, redis). */
|
|
1360
1446
|
type RedisClientLike = {
|
|
1361
1447
|
xadd(key: string, id: string, ...fieldsAndValues: string[]): Promise<string>;
|
|
@@ -1411,7 +1497,7 @@ type ToRedisStreamOptions<T> = ExtraOpts$1 & {
|
|
|
1411
1497
|
*
|
|
1412
1498
|
* @category extra
|
|
1413
1499
|
*/
|
|
1414
|
-
declare function toRedisStream<T>(source: Node<T>, client: RedisClientLike, key: string, opts?: ToRedisStreamOptions<T>):
|
|
1500
|
+
declare function toRedisStream<T>(source: Node<T>, client: RedisClientLike, key: string, opts?: ToRedisStreamOptions<T>): SinkHandle;
|
|
1415
1501
|
/** Parsed CSV row. */
|
|
1416
1502
|
type CSVRow = Record<string, string>;
|
|
1417
1503
|
/** Options for {@link fromCSV}. */
|
|
@@ -1602,7 +1688,7 @@ type ToPulsarOptions<T> = ExtraOpts$1 & {
|
|
|
1602
1688
|
*
|
|
1603
1689
|
* @category extra
|
|
1604
1690
|
*/
|
|
1605
|
-
declare function toPulsar<T>(source: Node<T>, pulsarProducer: PulsarProducerLike, opts?: ToPulsarOptions<T>):
|
|
1691
|
+
declare function toPulsar<T>(source: Node<T>, pulsarProducer: PulsarProducerLike, opts?: ToPulsarOptions<T>): SinkHandle;
|
|
1606
1692
|
/** Duck-typed NATS subscription (compatible with nats.js). */
|
|
1607
1693
|
type NATSSubscriptionLike = AsyncIterable<{
|
|
1608
1694
|
subject: string;
|
|
@@ -1686,7 +1772,7 @@ type ToNATSOptions<T> = ExtraOpts$1 & {
|
|
|
1686
1772
|
*
|
|
1687
1773
|
* @category extra
|
|
1688
1774
|
*/
|
|
1689
|
-
declare function toNATS<T>(source: Node<T>, client: NATSClientLike, subject: string, opts?: ToNATSOptions<T>):
|
|
1775
|
+
declare function toNATS<T>(source: Node<T>, client: NATSClientLike, subject: string, opts?: ToNATSOptions<T>): SinkHandle;
|
|
1690
1776
|
/** Duck-typed RabbitMQ channel (compatible with amqplib). */
|
|
1691
1777
|
type RabbitMQChannelLike = {
|
|
1692
1778
|
consume(queue: string, onMessage: (msg: {
|
|
@@ -1778,17 +1864,15 @@ type ToRabbitMQOptions<T> = ExtraOpts$1 & {
|
|
|
1778
1864
|
*
|
|
1779
1865
|
* @category extra
|
|
1780
1866
|
*/
|
|
1781
|
-
declare function toRabbitMQ<T>(source: Node<T>, channel: RabbitMQChannelLike, exchange: string, opts?: ToRabbitMQOptions<T>):
|
|
1867
|
+
declare function toRabbitMQ<T>(source: Node<T>, channel: RabbitMQChannelLike, exchange: string, opts?: ToRabbitMQOptions<T>): SinkHandle;
|
|
1782
1868
|
/** Handle returned by buffered sinks. `flush()` drains remaining buffer. */
|
|
1783
|
-
type BufferedSinkHandle = {
|
|
1784
|
-
/** Stop the sink and cancel the flush timer. */
|
|
1785
|
-
dispose: () => void;
|
|
1869
|
+
type BufferedSinkHandle = SinkHandle & {
|
|
1786
1870
|
/** Manually drain the internal buffer. */
|
|
1787
1871
|
flush: () => Promise<void>;
|
|
1788
1872
|
};
|
|
1789
1873
|
/** Duck-typed writable file handle (compatible with `fs.createWriteStream`). */
|
|
1790
1874
|
type FileWriterLike = {
|
|
1791
|
-
write(data: string | Uint8Array): boolean |
|
|
1875
|
+
write(data: string | Uint8Array): boolean | undefined;
|
|
1792
1876
|
end(): void;
|
|
1793
1877
|
};
|
|
1794
1878
|
/** Options for {@link toFile}. */
|
|
@@ -1937,7 +2021,7 @@ type ToPostgresOptions<T> = ExtraOpts$1 & {
|
|
|
1937
2021
|
*
|
|
1938
2022
|
* @category extra
|
|
1939
2023
|
*/
|
|
1940
|
-
declare function toPostgres<T>(source: Node<T>, client: PostgresClientLike, table: string, opts?: ToPostgresOptions<T>):
|
|
2024
|
+
declare function toPostgres<T>(source: Node<T>, client: PostgresClientLike, table: string, opts?: ToPostgresOptions<T>): SinkHandle;
|
|
1941
2025
|
/** Duck-typed MongoDB collection (compatible with `mongodb` driver). */
|
|
1942
2026
|
type MongoCollectionLike = {
|
|
1943
2027
|
insertOne(doc: unknown): Promise<unknown>;
|
|
@@ -1958,7 +2042,7 @@ type ToMongoOptions<T> = ExtraOpts$1 & {
|
|
|
1958
2042
|
*
|
|
1959
2043
|
* @category extra
|
|
1960
2044
|
*/
|
|
1961
|
-
declare function toMongo<T>(source: Node<T>, collection: MongoCollectionLike, opts?: ToMongoOptions<T>):
|
|
2045
|
+
declare function toMongo<T>(source: Node<T>, collection: MongoCollectionLike, opts?: ToMongoOptions<T>): SinkHandle;
|
|
1962
2046
|
/** Loki log stream entry. */
|
|
1963
2047
|
type LokiStream = {
|
|
1964
2048
|
stream: Record<string, string>;
|
|
@@ -1990,7 +2074,7 @@ type ToLokiOptions<T> = ExtraOpts$1 & {
|
|
|
1990
2074
|
*
|
|
1991
2075
|
* @category extra
|
|
1992
2076
|
*/
|
|
1993
|
-
declare function toLoki<T>(source: Node<T>, client: LokiClientLike, opts?: ToLokiOptions<T>):
|
|
2077
|
+
declare function toLoki<T>(source: Node<T>, client: LokiClientLike, opts?: ToLokiOptions<T>): SinkHandle;
|
|
1994
2078
|
/** Duck-typed Tempo span push client (OTLP/HTTP shape). */
|
|
1995
2079
|
type TempoClientLike = {
|
|
1996
2080
|
push(payload: {
|
|
@@ -2013,7 +2097,7 @@ type ToTempoOptions<T> = ExtraOpts$1 & {
|
|
|
2013
2097
|
*
|
|
2014
2098
|
* @category extra
|
|
2015
2099
|
*/
|
|
2016
|
-
declare function toTempo<T>(source: Node<T>, client: TempoClientLike, opts?: ToTempoOptions<T>):
|
|
2100
|
+
declare function toTempo<T>(source: Node<T>, client: TempoClientLike, opts?: ToTempoOptions<T>): SinkHandle;
|
|
2017
2101
|
/** Options for {@link checkpointToS3}. */
|
|
2018
2102
|
type CheckpointToS3Options = {
|
|
2019
2103
|
/** S3 key prefix. Default: `"checkpoints/"`. */
|
|
@@ -2037,7 +2121,7 @@ type CheckpointToS3Options = {
|
|
|
2037
2121
|
*/
|
|
2038
2122
|
declare function checkpointToS3(graph: {
|
|
2039
2123
|
autoCheckpoint: (adapter: {
|
|
2040
|
-
save(data: unknown): void;
|
|
2124
|
+
save(key: string, data: unknown): void;
|
|
2041
2125
|
}, opts?: unknown) => {
|
|
2042
2126
|
dispose(): void;
|
|
2043
2127
|
};
|
|
@@ -2072,7 +2156,7 @@ type CheckpointToRedisOptions = {
|
|
|
2072
2156
|
*/
|
|
2073
2157
|
declare function checkpointToRedis(graph: {
|
|
2074
2158
|
autoCheckpoint: (adapter: {
|
|
2075
|
-
save(data: unknown): void;
|
|
2159
|
+
save(key: string, data: unknown): void;
|
|
2076
2160
|
}, opts?: unknown) => {
|
|
2077
2161
|
dispose(): void;
|
|
2078
2162
|
};
|
|
@@ -2131,6 +2215,18 @@ type ToSqliteOptions<T> = ExtraOpts$1 & {
|
|
|
2131
2215
|
params: unknown[];
|
|
2132
2216
|
};
|
|
2133
2217
|
onTransportError?: (err: SinkTransportError) => void;
|
|
2218
|
+
/**
|
|
2219
|
+
* When `true`, buffer DATA values and execute all inserts inside a single
|
|
2220
|
+
* `BEGIN`/`COMMIT` transaction when the batch drains. This avoids per-row
|
|
2221
|
+
* fsync overhead and dramatically reduces event-loop blocking for
|
|
2222
|
+
* high-throughput sources. The first insert error stops the batch and
|
|
2223
|
+
* triggers a `ROLLBACK`; the error is reported via `onTransportError`.
|
|
2224
|
+
*/
|
|
2225
|
+
batchInsert?: boolean;
|
|
2226
|
+
/** Auto-flush when buffer reaches this size. Default: `1000`. Only applies when `batchInsert` is `true`. */
|
|
2227
|
+
maxBatchSize?: number;
|
|
2228
|
+
/** Periodic flush interval in ms. `0` = no timer (flush on terminal messages only). Default: `0`. Only applies when `batchInsert` is `true`. */
|
|
2229
|
+
flushIntervalMs?: number;
|
|
2134
2230
|
};
|
|
2135
2231
|
/**
|
|
2136
2232
|
* SQLite sink — inserts each upstream `DATA` value as a row.
|
|
@@ -2157,7 +2253,120 @@ type ToSqliteOptions<T> = ExtraOpts$1 & {
|
|
|
2157
2253
|
*
|
|
2158
2254
|
* @category extra
|
|
2159
2255
|
*/
|
|
2160
|
-
declare function toSqlite<T>(source: Node<T>, db: SqliteDbLike, table: string, opts?: ToSqliteOptions<T>):
|
|
2256
|
+
declare function toSqlite<T>(source: Node<T>, db: SqliteDbLike, table: string, opts?: ToSqliteOptions<T>): SinkHandle;
|
|
2257
|
+
/**
|
|
2258
|
+
* Duck-typed Prisma model delegate.
|
|
2259
|
+
*
|
|
2260
|
+
* Compatible with any Prisma model's `findMany` method (e.g. `prisma.user`).
|
|
2261
|
+
* The consumer passes the model delegate directly — no dependency on `@prisma/client`.
|
|
2262
|
+
*/
|
|
2263
|
+
type PrismaModelLike<T = unknown> = {
|
|
2264
|
+
findMany(args?: unknown): Promise<T[]>;
|
|
2265
|
+
};
|
|
2266
|
+
/** Options for {@link fromPrisma}. */
|
|
2267
|
+
type FromPrismaOptions<T, U = T> = ExtraOpts$1 & {
|
|
2268
|
+
/** Prisma `findMany` args (where, orderBy, select, include, take, skip, etc.). */
|
|
2269
|
+
args?: unknown;
|
|
2270
|
+
/** Map each row to the desired shape. Default: identity cast. */
|
|
2271
|
+
mapRow?: (row: T) => U;
|
|
2272
|
+
};
|
|
2273
|
+
/**
|
|
2274
|
+
* One-shot Prisma query as a reactive source.
|
|
2275
|
+
*
|
|
2276
|
+
* Calls `model.findMany(args)`, emits one `DATA` per result row, then `COMPLETE`.
|
|
2277
|
+
* Compose with `switchMap` + `fromTimer` for periodic re-query.
|
|
2278
|
+
*
|
|
2279
|
+
* @param model - Prisma model delegate (e.g. `prisma.user`).
|
|
2280
|
+
* @param opts - `findMany` args, row mapper, and node options.
|
|
2281
|
+
* @returns `Node<U>` — one `DATA` per row, then `COMPLETE`.
|
|
2282
|
+
*
|
|
2283
|
+
* @example
|
|
2284
|
+
* ```ts
|
|
2285
|
+
* import { PrismaClient } from "@prisma/client";
|
|
2286
|
+
* import { fromPrisma } from "@graphrefly/graphrefly-ts";
|
|
2287
|
+
*
|
|
2288
|
+
* const prisma = new PrismaClient();
|
|
2289
|
+
* const activeUsers = fromPrisma(prisma.user, {
|
|
2290
|
+
* args: { where: { active: true } },
|
|
2291
|
+
* });
|
|
2292
|
+
* ```
|
|
2293
|
+
*
|
|
2294
|
+
* @category extra
|
|
2295
|
+
*/
|
|
2296
|
+
declare function fromPrisma<T = unknown, U = T>(model: PrismaModelLike<T>, opts?: FromPrismaOptions<T, U>): Node<U>;
|
|
2297
|
+
/**
|
|
2298
|
+
* Duck-typed Drizzle query builder result.
|
|
2299
|
+
*
|
|
2300
|
+
* Drizzle query builders (e.g. `db.select().from(users)`) expose `.execute()`
|
|
2301
|
+
* which returns `Promise<T[]>`. This interface captures that contract without
|
|
2302
|
+
* depending on `drizzle-orm`.
|
|
2303
|
+
*/
|
|
2304
|
+
type DrizzleQueryLike<T = unknown> = {
|
|
2305
|
+
execute(): Promise<T[]>;
|
|
2306
|
+
};
|
|
2307
|
+
/** Options for {@link fromDrizzle}. */
|
|
2308
|
+
type FromDrizzleOptions<T, U = T> = ExtraOpts$1 & {
|
|
2309
|
+
/** Map each row to the desired shape. Default: identity cast. */
|
|
2310
|
+
mapRow?: (row: T) => U;
|
|
2311
|
+
};
|
|
2312
|
+
/**
|
|
2313
|
+
* One-shot Drizzle query as a reactive source.
|
|
2314
|
+
*
|
|
2315
|
+
* Calls `query.execute()`, emits one `DATA` per result row, then `COMPLETE`.
|
|
2316
|
+
* Compose with `switchMap` + `fromTimer` for periodic re-query.
|
|
2317
|
+
*
|
|
2318
|
+
* @param query - Drizzle query builder (e.g. `db.select().from(users).where(...)`).
|
|
2319
|
+
* @param opts - Row mapper and node options.
|
|
2320
|
+
* @returns `Node<U>` — one `DATA` per row, then `COMPLETE`.
|
|
2321
|
+
*
|
|
2322
|
+
* @example
|
|
2323
|
+
* ```ts
|
|
2324
|
+
* import { drizzle } from "drizzle-orm/node-postgres";
|
|
2325
|
+
* import { fromDrizzle } from "@graphrefly/graphrefly-ts";
|
|
2326
|
+
*
|
|
2327
|
+
* const db = drizzle(pool);
|
|
2328
|
+
* const rows$ = fromDrizzle(db.select().from(users).where(eq(users.active, true)));
|
|
2329
|
+
* ```
|
|
2330
|
+
*
|
|
2331
|
+
* @category extra
|
|
2332
|
+
*/
|
|
2333
|
+
declare function fromDrizzle<T = unknown, U = T>(query: DrizzleQueryLike<T>, opts?: FromDrizzleOptions<T, U>): Node<U>;
|
|
2334
|
+
/**
|
|
2335
|
+
* Duck-typed Kysely query builder result.
|
|
2336
|
+
*
|
|
2337
|
+
* Kysely query builders expose `.execute()` which returns `Promise<T[]>`.
|
|
2338
|
+
* This interface captures that contract without depending on `kysely`.
|
|
2339
|
+
*/
|
|
2340
|
+
type KyselyQueryLike<T = unknown> = {
|
|
2341
|
+
execute(): Promise<T[]>;
|
|
2342
|
+
};
|
|
2343
|
+
/** Options for {@link fromKysely}. */
|
|
2344
|
+
type FromKyselyOptions<T, U = T> = ExtraOpts$1 & {
|
|
2345
|
+
/** Map each row to the desired shape. Default: identity cast. */
|
|
2346
|
+
mapRow?: (row: T) => U;
|
|
2347
|
+
};
|
|
2348
|
+
/**
|
|
2349
|
+
* One-shot Kysely query as a reactive source.
|
|
2350
|
+
*
|
|
2351
|
+
* Calls `query.execute()`, emits one `DATA` per result row, then `COMPLETE`.
|
|
2352
|
+
* Compose with `switchMap` + `fromTimer` for periodic re-query.
|
|
2353
|
+
*
|
|
2354
|
+
* @param query - Kysely query builder (e.g. `db.selectFrom("users").selectAll()`).
|
|
2355
|
+
* @param opts - Row mapper and node options.
|
|
2356
|
+
* @returns `Node<U>` — one `DATA` per row, then `COMPLETE`.
|
|
2357
|
+
*
|
|
2358
|
+
* @example
|
|
2359
|
+
* ```ts
|
|
2360
|
+
* import { Kysely, PostgresDialect } from "kysely";
|
|
2361
|
+
* import { fromKysely } from "@graphrefly/graphrefly-ts";
|
|
2362
|
+
*
|
|
2363
|
+
* const db = new Kysely<DB>({ dialect: new PostgresDialect({ pool }) });
|
|
2364
|
+
* const rows$ = fromKysely(db.selectFrom("users").selectAll().where("active", "=", true));
|
|
2365
|
+
* ```
|
|
2366
|
+
*
|
|
2367
|
+
* @category extra
|
|
2368
|
+
*/
|
|
2369
|
+
declare function fromKysely<T = unknown, U = T>(query: KyselyQueryLike<T>, opts?: FromKyselyOptions<T, U>): Node<U>;
|
|
2161
2370
|
|
|
2162
2371
|
/**
|
|
2163
2372
|
* Watermark-based backpressure controller — reactive PAUSE/RESUME flow control.
|
|
@@ -2226,11 +2435,17 @@ declare function createWatermarkController(sendUp: (messages: Messages) => void,
|
|
|
2226
2435
|
*/
|
|
2227
2436
|
|
|
2228
2437
|
/**
|
|
2229
|
-
*
|
|
2438
|
+
* Key-value persistence contract (roadmap §3.1 + §3.1c).
|
|
2439
|
+
*
|
|
2440
|
+
* Each adapter stores opaque JSON-serializable blobs under caller-provided string keys.
|
|
2441
|
+
* Used by {@link saveGraphCheckpoint}/{@link restoreGraphCheckpoint} (key = graph name),
|
|
2442
|
+
* {@link Graph.autoCheckpoint} (key = graph name), and {@link cascadingCache}/{@link tieredStorage}
|
|
2443
|
+
* (key = cache entry key).
|
|
2230
2444
|
*/
|
|
2231
2445
|
interface CheckpointAdapter {
|
|
2232
|
-
save(data:
|
|
2233
|
-
load():
|
|
2446
|
+
save(key: string, data: unknown): void;
|
|
2447
|
+
load(key: string): unknown | null;
|
|
2448
|
+
clear(key: string): void;
|
|
2234
2449
|
}
|
|
2235
2450
|
/**
|
|
2236
2451
|
* In-memory adapter (process-local; useful for tests).
|
|
@@ -2239,36 +2454,40 @@ interface CheckpointAdapter {
|
|
|
2239
2454
|
*/
|
|
2240
2455
|
declare class MemoryCheckpointAdapter implements CheckpointAdapter {
|
|
2241
2456
|
#private;
|
|
2242
|
-
save(data:
|
|
2243
|
-
load():
|
|
2457
|
+
save(key: string, data: unknown): void;
|
|
2458
|
+
load(key: string): unknown | null;
|
|
2459
|
+
clear(key: string): void;
|
|
2244
2460
|
}
|
|
2245
2461
|
/**
|
|
2246
|
-
* Stores JSON-cloned
|
|
2462
|
+
* Stores JSON-cloned values under caller keys inside a caller-owned record (tests / embedding).
|
|
2247
2463
|
*
|
|
2248
2464
|
* @category extra
|
|
2249
2465
|
*/
|
|
2250
2466
|
declare class DictCheckpointAdapter implements CheckpointAdapter {
|
|
2251
2467
|
#private;
|
|
2252
|
-
constructor(storage: Record<string, unknown
|
|
2253
|
-
save(data:
|
|
2254
|
-
load():
|
|
2468
|
+
constructor(storage: Record<string, unknown>);
|
|
2469
|
+
save(key: string, data: unknown): void;
|
|
2470
|
+
load(key: string): unknown | null;
|
|
2471
|
+
clear(key: string): void;
|
|
2255
2472
|
}
|
|
2256
2473
|
/**
|
|
2257
|
-
* Atomic JSON file persistence (
|
|
2474
|
+
* Atomic JSON file persistence (one file per key in a directory, temp + rename).
|
|
2258
2475
|
*
|
|
2259
2476
|
* @remarks
|
|
2477
|
+
* **Key mapping:** keys are sanitized to filesystem-safe names (`[^a-zA-Z0-9_-]` → `_`).
|
|
2260
2478
|
* **Errors:** `load()` returns `null` for missing files, empty files, or invalid JSON (no throw).
|
|
2261
2479
|
*
|
|
2262
2480
|
* @category extra
|
|
2263
2481
|
*/
|
|
2264
2482
|
declare class FileCheckpointAdapter implements CheckpointAdapter {
|
|
2265
2483
|
#private;
|
|
2266
|
-
constructor(
|
|
2267
|
-
save(data:
|
|
2268
|
-
load():
|
|
2484
|
+
constructor(dir: string);
|
|
2485
|
+
save(key: string, data: unknown): void;
|
|
2486
|
+
load(key: string): unknown | null;
|
|
2487
|
+
clear(key: string): void;
|
|
2269
2488
|
}
|
|
2270
2489
|
/**
|
|
2271
|
-
*
|
|
2490
|
+
* Key-value persistence using Node.js `node:sqlite` ({@link DatabaseSync}).
|
|
2272
2491
|
*
|
|
2273
2492
|
* @remarks
|
|
2274
2493
|
* **Runtime:** Requires Node 22.5+ with `node:sqlite` enabled (experimental in some releases). Call `close()` when discarding the adapter.
|
|
@@ -2277,17 +2496,18 @@ declare class FileCheckpointAdapter implements CheckpointAdapter {
|
|
|
2277
2496
|
*/
|
|
2278
2497
|
declare class SqliteCheckpointAdapter implements CheckpointAdapter {
|
|
2279
2498
|
#private;
|
|
2280
|
-
constructor(path: string
|
|
2281
|
-
save(data:
|
|
2282
|
-
load():
|
|
2499
|
+
constructor(path: string);
|
|
2500
|
+
save(key: string, data: unknown): void;
|
|
2501
|
+
load(key: string): unknown | null;
|
|
2502
|
+
clear(key: string): void;
|
|
2283
2503
|
/** Close the underlying SQLite connection (safe to call more than once). */
|
|
2284
2504
|
close(): void;
|
|
2285
2505
|
}
|
|
2286
2506
|
/**
|
|
2287
|
-
* Writes {@link Graph.snapshot} through `adapter.save
|
|
2507
|
+
* Writes {@link Graph.snapshot} through `adapter.save` using `graph.name` as key.
|
|
2288
2508
|
*
|
|
2289
2509
|
* @param graph - Target graph instance.
|
|
2290
|
-
* @param adapter - Sync persistence backend.
|
|
2510
|
+
* @param adapter - Sync key-value persistence backend.
|
|
2291
2511
|
* @returns `void` — side-effect only; the snapshot is written to `adapter`.
|
|
2292
2512
|
*
|
|
2293
2513
|
* @example
|
|
@@ -2303,10 +2523,10 @@ declare class SqliteCheckpointAdapter implements CheckpointAdapter {
|
|
|
2303
2523
|
*/
|
|
2304
2524
|
declare function saveGraphCheckpoint(graph: Graph, adapter: CheckpointAdapter): void;
|
|
2305
2525
|
/**
|
|
2306
|
-
* Loads a snapshot via `adapter.load` and applies {@link Graph.restore} when data exists.
|
|
2526
|
+
* Loads a snapshot via `adapter.load(graph.name)` and applies {@link Graph.restore} when data exists.
|
|
2307
2527
|
*
|
|
2308
2528
|
* @param graph - Graph whose topology matches the snapshot.
|
|
2309
|
-
* @param adapter - Sync persistence backend.
|
|
2529
|
+
* @param adapter - Sync key-value persistence backend.
|
|
2310
2530
|
* @returns `true` if data was present and `restore` ran; `false` if `load()` returned `null`.
|
|
2311
2531
|
*
|
|
2312
2532
|
* @example
|
|
@@ -2442,6 +2662,127 @@ declare function saveGraphCheckpointIndexedDb(graph: Graph, spec: IndexedDbCheck
|
|
|
2442
2662
|
*/
|
|
2443
2663
|
declare function restoreGraphCheckpointIndexedDb(graph: Graph, spec: IndexedDbCheckpointSpec): Node<boolean>;
|
|
2444
2664
|
|
|
2665
|
+
/** Pluggable eviction policy for {@link cascadingCache}. */
|
|
2666
|
+
interface CacheEvictionPolicy<K> {
|
|
2667
|
+
insert(key: K): void;
|
|
2668
|
+
touch(key: K): void;
|
|
2669
|
+
delete(key: K): void;
|
|
2670
|
+
evict(count: number): K[];
|
|
2671
|
+
size(): number;
|
|
2672
|
+
}
|
|
2673
|
+
/**
|
|
2674
|
+
* LRU eviction policy backed by a doubly-linked list + Map.
|
|
2675
|
+
*
|
|
2676
|
+
* @returns An {@link CacheEvictionPolicy} that evicts least-recently-used entries.
|
|
2677
|
+
*
|
|
2678
|
+
* @category extra
|
|
2679
|
+
*/
|
|
2680
|
+
declare function lru<K>(): CacheEvictionPolicy<K>;
|
|
2681
|
+
/** A single lookup/storage tier for {@link cascadingCache}. */
|
|
2682
|
+
interface CacheTier<V> {
|
|
2683
|
+
/** Read a value. `undefined` / `null` = miss. */
|
|
2684
|
+
load(key: string): V | undefined | null;
|
|
2685
|
+
/** Write a value. Optional — tiers without save are read-only. */
|
|
2686
|
+
save?(key: string, value: V): void;
|
|
2687
|
+
/** Delete a value. Optional. */
|
|
2688
|
+
clear?(key: string): void;
|
|
2689
|
+
}
|
|
2690
|
+
interface CascadingCacheOptions {
|
|
2691
|
+
/** Max entries before eviction. 0 = unlimited (default). */
|
|
2692
|
+
maxSize?: number;
|
|
2693
|
+
/** Eviction policy. Default: LRU. Only used when maxSize > 0. */
|
|
2694
|
+
eviction?: CacheEvictionPolicy<string>;
|
|
2695
|
+
/** Write-through: save() writes to all tiers, not just tier 0. Default: false. */
|
|
2696
|
+
writeThrough?: boolean;
|
|
2697
|
+
}
|
|
2698
|
+
interface CascadingCache<V> {
|
|
2699
|
+
/** Get or create a singleton state node for this key. Cascades tiers on miss. */
|
|
2700
|
+
load(key: string): Node<V | undefined>;
|
|
2701
|
+
/** Write value to tier(s) and update cache node in-place. */
|
|
2702
|
+
save(key: string, value: V): void;
|
|
2703
|
+
/** Re-cascade tiers into the existing cache node (subscribers see the update). */
|
|
2704
|
+
invalidate(key: string): void;
|
|
2705
|
+
/** Remove from all tiers, teardown the node, and delete cache entry. */
|
|
2706
|
+
delete(key: string): void;
|
|
2707
|
+
/** Check if key exists in cache map. */
|
|
2708
|
+
has(key: string): boolean;
|
|
2709
|
+
/** Number of cached entries. */
|
|
2710
|
+
readonly size: number;
|
|
2711
|
+
}
|
|
2712
|
+
/**
|
|
2713
|
+
* Creates a singleton reactive cache with N-tier cascading lookup.
|
|
2714
|
+
*
|
|
2715
|
+
* Each cached entry is a `state()` node. On cache miss, tiers are tried in order
|
|
2716
|
+
* (index 0 = hottest/fastest). When a lower tier hits, the value is auto-promoted
|
|
2717
|
+
* to all faster tiers. Concurrent lookups for the same key share the same state
|
|
2718
|
+
* instance — natural dedup.
|
|
2719
|
+
*
|
|
2720
|
+
* **Note:** `undefined` is the "not yet loaded" sentinel. Tiers that return
|
|
2721
|
+
* `undefined` or `null` are treated as misses.
|
|
2722
|
+
*
|
|
2723
|
+
* @param tiers - Ordered lookup tiers, hottest first.
|
|
2724
|
+
* @param opts - Optional configuration (maxSize, eviction policy, writeThrough).
|
|
2725
|
+
* @returns A reactive cache where each entry is a `Node<V | undefined>`.
|
|
2726
|
+
*
|
|
2727
|
+
* @example
|
|
2728
|
+
* ```ts
|
|
2729
|
+
* import { cascadingCache } from "@graphrefly/graphrefly-ts";
|
|
2730
|
+
*
|
|
2731
|
+
* const cache = cascadingCache([
|
|
2732
|
+
* { load: k => memMap.get(k), save: (k, v) => memMap.set(k, v) },
|
|
2733
|
+
* { load: k => JSON.parse(fs.readFileSync(`cache/${k}`, "utf8")) },
|
|
2734
|
+
* ]);
|
|
2735
|
+
* const user = cache.load("user:42"); // Node<User | undefined>
|
|
2736
|
+
* user.subscribe(msgs => console.log(msgs));
|
|
2737
|
+
* ```
|
|
2738
|
+
*
|
|
2739
|
+
* @category extra
|
|
2740
|
+
*/
|
|
2741
|
+
declare function cascadingCache<V>(tiers: CacheTier<V>[], opts?: CascadingCacheOptions): CascadingCache<V>;
|
|
2742
|
+
interface TieredStorageOptions {
|
|
2743
|
+
/** Max entries before eviction. 0 = no limit (default). */
|
|
2744
|
+
maxSize?: number;
|
|
2745
|
+
/** Eviction policy. Default: LRU. Only used when maxSize > 0. */
|
|
2746
|
+
eviction?: CacheEvictionPolicy<string>;
|
|
2747
|
+
}
|
|
2748
|
+
interface TieredStorage {
|
|
2749
|
+
/** Get or create a singleton state node for this key. Cascades tiers on miss. */
|
|
2750
|
+
load(key: string): Node<unknown | undefined>;
|
|
2751
|
+
/** Write value to tier 0 (hottest) and update cache node in-place. */
|
|
2752
|
+
save(key: string, value: unknown): void;
|
|
2753
|
+
/** Re-cascade tiers into the existing cache node. */
|
|
2754
|
+
invalidate(key: string): void;
|
|
2755
|
+
/** Remove from all tiers and delete cache entry. */
|
|
2756
|
+
delete(key: string): void;
|
|
2757
|
+
/** Check if key exists in cache. */
|
|
2758
|
+
has(key: string): boolean;
|
|
2759
|
+
/** Number of cached entries. */
|
|
2760
|
+
readonly size: number;
|
|
2761
|
+
/** The underlying cascading cache (for advanced use). */
|
|
2762
|
+
readonly cache: CascadingCache<unknown>;
|
|
2763
|
+
}
|
|
2764
|
+
/**
|
|
2765
|
+
* Creates a reactive tiered storage cache backed by {@link CheckpointAdapter}s.
|
|
2766
|
+
*
|
|
2767
|
+
* Each cached key is a `state()` node. On cache miss, adapters are tried in order
|
|
2768
|
+
* (index 0 = hottest). Hits auto-promote to faster adapters.
|
|
2769
|
+
*
|
|
2770
|
+
* @param adapters - Ordered `CheckpointAdapter`s, hottest first.
|
|
2771
|
+
* @param opts - Optional configuration (maxSize, eviction policy).
|
|
2772
|
+
* @returns A reactive tiered storage where each entry is a `Node<unknown | undefined>`.
|
|
2773
|
+
*
|
|
2774
|
+
* @example
|
|
2775
|
+
* ```ts
|
|
2776
|
+
* import { tieredStorage, MemoryCheckpointAdapter } from "@graphrefly/graphrefly-ts";
|
|
2777
|
+
*
|
|
2778
|
+
* const storage = tieredStorage([new MemoryCheckpointAdapter()], { maxSize: 100 });
|
|
2779
|
+
* const val = storage.load("key"); // Node<unknown | undefined>
|
|
2780
|
+
* ```
|
|
2781
|
+
*
|
|
2782
|
+
* @category extra
|
|
2783
|
+
*/
|
|
2784
|
+
declare function tieredStorage(adapters: CheckpointAdapter[], opts?: TieredStorageOptions): TieredStorage;
|
|
2785
|
+
|
|
2445
2786
|
type ReactiveMapSnapshot<K, V> = Versioned<{
|
|
2446
2787
|
map: ReadonlyMap<K, V>;
|
|
2447
2788
|
}>;
|
|
@@ -3233,25 +3574,6 @@ declare function sample<T>(source: Node<T>, notifier: Node<unknown>, opts?: Extr
|
|
|
3233
3574
|
* @category extra
|
|
3234
3575
|
*/
|
|
3235
3576
|
declare function audit<T>(source: Node<T>, ms: number, opts?: ExtraOpts): Node<T>;
|
|
3236
|
-
/**
|
|
3237
|
-
* Errors if no `DATA` arrives within `ms` after subscribe or after the previous `DATA`.
|
|
3238
|
-
*
|
|
3239
|
-
* @param source - Upstream node.
|
|
3240
|
-
* @param ms - Idle budget in milliseconds.
|
|
3241
|
-
* @param opts - Optional {@link NodeOptions} (excluding `describeKind`) and `with` for a custom error payload.
|
|
3242
|
-
* @returns `Node<T>` - Pass-through with idle watchdog.
|
|
3243
|
-
* @example
|
|
3244
|
-
* ```ts
|
|
3245
|
-
* import { timeout, state } from "@graphrefly/graphrefly-ts";
|
|
3246
|
-
*
|
|
3247
|
-
* timeout(state(0), 5_000);
|
|
3248
|
-
* ```
|
|
3249
|
-
*
|
|
3250
|
-
* @category extra
|
|
3251
|
-
*/
|
|
3252
|
-
declare function timeout<T>(source: Node<T>, ms: number, opts?: ExtraOpts & {
|
|
3253
|
-
with?: unknown;
|
|
3254
|
-
}): Node<T>;
|
|
3255
3577
|
/**
|
|
3256
3578
|
* Buffers source `DATA` values; flushes an array when `notifier` settles (`buffer`).
|
|
3257
3579
|
*
|
|
@@ -3863,6 +4185,10 @@ type index_BatchMessage = BatchMessage;
|
|
|
3863
4185
|
type index_BridgeMessage = BridgeMessage;
|
|
3864
4186
|
type index_BufferedSinkHandle = BufferedSinkHandle;
|
|
3865
4187
|
type index_CSVRow = CSVRow;
|
|
4188
|
+
type index_CacheEvictionPolicy<K> = CacheEvictionPolicy<K>;
|
|
4189
|
+
type index_CacheTier<V> = CacheTier<V>;
|
|
4190
|
+
type index_CascadingCache<V> = CascadingCache<V>;
|
|
4191
|
+
type index_CascadingCacheOptions = CascadingCacheOptions;
|
|
3866
4192
|
type index_CheckpointAdapter = CheckpointAdapter;
|
|
3867
4193
|
type index_CheckpointToRedisOptions = CheckpointToRedisOptions;
|
|
3868
4194
|
type index_CheckpointToS3Options = CheckpointToS3Options;
|
|
@@ -3879,6 +4205,7 @@ type index_DictCheckpointAdapter = DictCheckpointAdapter;
|
|
|
3879
4205
|
declare const index_DictCheckpointAdapter: typeof DictCheckpointAdapter;
|
|
3880
4206
|
type index_DistillBundle<TMem> = DistillBundle<TMem>;
|
|
3881
4207
|
type index_DistillOptions<TMem> = DistillOptions<TMem>;
|
|
4208
|
+
type index_DrizzleQueryLike<T = unknown> = DrizzleQueryLike<T>;
|
|
3882
4209
|
type index_ErrorMessage = ErrorMessage;
|
|
3883
4210
|
type index_EventTargetLike = EventTargetLike;
|
|
3884
4211
|
type index_ExponentialBackoffOptions = ExponentialBackoffOptions;
|
|
@@ -3891,14 +4218,17 @@ type index_FileWriterLike = FileWriterLike;
|
|
|
3891
4218
|
type index_FromCSVOptions = FromCSVOptions;
|
|
3892
4219
|
type index_FromClickHouseWatchOptions = FromClickHouseWatchOptions;
|
|
3893
4220
|
type index_FromCronOptions = FromCronOptions;
|
|
4221
|
+
type index_FromDrizzleOptions<T, U = T> = FromDrizzleOptions<T, U>;
|
|
3894
4222
|
type index_FromFSWatchOptions = FromFSWatchOptions;
|
|
3895
4223
|
type index_FromGitHookOptions = FromGitHookOptions;
|
|
3896
4224
|
type index_FromHTTPOptions = FromHTTPOptions;
|
|
3897
4225
|
type index_FromKafkaOptions = FromKafkaOptions;
|
|
4226
|
+
type index_FromKyselyOptions<T, U = T> = FromKyselyOptions<T, U>;
|
|
3898
4227
|
type index_FromMCPOptions = FromMCPOptions;
|
|
3899
4228
|
type index_FromNATSOptions = FromNATSOptions;
|
|
3900
4229
|
type index_FromNDJSONOptions = FromNDJSONOptions;
|
|
3901
4230
|
type index_FromOTelOptions = FromOTelOptions;
|
|
4231
|
+
type index_FromPrismaOptions<T, U = T> = FromPrismaOptions<T, U>;
|
|
3902
4232
|
type index_FromPrometheusOptions = FromPrometheusOptions;
|
|
3903
4233
|
type index_FromPulsarOptions = FromPulsarOptions;
|
|
3904
4234
|
type index_FromRabbitMQOptions = FromRabbitMQOptions;
|
|
@@ -3916,6 +4246,7 @@ type index_JitterMode = JitterMode;
|
|
|
3916
4246
|
type index_KafkaConsumerLike = KafkaConsumerLike;
|
|
3917
4247
|
type index_KafkaMessage<T = unknown> = KafkaMessage<T>;
|
|
3918
4248
|
type index_KafkaProducerLike = KafkaProducerLike;
|
|
4249
|
+
type index_KyselyQueryLike<T = unknown> = KyselyQueryLike<T>;
|
|
3919
4250
|
type index_LokiClientLike = LokiClientLike;
|
|
3920
4251
|
type index_LokiStream = LokiStream;
|
|
3921
4252
|
type index_MCPClientLike = MCPClientLike;
|
|
@@ -3935,6 +4266,7 @@ type index_OTelMetric = OTelMetric;
|
|
|
3935
4266
|
type index_OTelRegister = OTelRegister;
|
|
3936
4267
|
type index_OTelSpan = OTelSpan;
|
|
3937
4268
|
type index_PostgresClientLike = PostgresClientLike;
|
|
4269
|
+
type index_PrismaModelLike<T = unknown> = PrismaModelLike<T>;
|
|
3938
4270
|
type index_PrometheusMetric = PrometheusMetric;
|
|
3939
4271
|
type index_PubSubHub = PubSubHub;
|
|
3940
4272
|
type index_PulsarConsumerLike = PulsarConsumerLike;
|
|
@@ -3961,6 +4293,7 @@ type index_RedisStreamEntry<T = unknown> = RedisStreamEntry<T>;
|
|
|
3961
4293
|
type index_RetryOptions = RetryOptions;
|
|
3962
4294
|
type index_S3ClientLike = S3ClientLike;
|
|
3963
4295
|
type index_SignalMessage = SignalMessage;
|
|
4296
|
+
type index_SinkHandle = SinkHandle;
|
|
3964
4297
|
type index_SinkTransportError = SinkTransportError;
|
|
3965
4298
|
type index_SqliteCheckpointAdapter = SqliteCheckpointAdapter;
|
|
3966
4299
|
declare const index_SqliteCheckpointAdapter: typeof SqliteCheckpointAdapter;
|
|
@@ -3973,6 +4306,10 @@ type index_SyslogRegister = SyslogRegister;
|
|
|
3973
4306
|
type index_TapObserver<T> = TapObserver<T>;
|
|
3974
4307
|
type index_TempoClientLike = TempoClientLike;
|
|
3975
4308
|
type index_ThrottleOptions = ThrottleOptions;
|
|
4309
|
+
type index_TieredStorage = TieredStorage;
|
|
4310
|
+
type index_TieredStorageOptions = TieredStorageOptions;
|
|
4311
|
+
type index_TimeoutError = TimeoutError;
|
|
4312
|
+
declare const index_TimeoutError: typeof TimeoutError;
|
|
3976
4313
|
type index_ToCSVOptions<T> = ToCSVOptions<T>;
|
|
3977
4314
|
type index_ToClickHouseOptions<T> = ToClickHouseOptions<T>;
|
|
3978
4315
|
type index_ToFileOptions<T> = ToFileOptions<T>;
|
|
@@ -4012,7 +4349,9 @@ declare const index_audit: typeof audit;
|
|
|
4012
4349
|
declare const index_buffer: typeof buffer;
|
|
4013
4350
|
declare const index_bufferCount: typeof bufferCount;
|
|
4014
4351
|
declare const index_bufferTime: typeof bufferTime;
|
|
4352
|
+
declare const index_cache: typeof cache;
|
|
4015
4353
|
declare const index_cached: typeof cached;
|
|
4354
|
+
declare const index_cascadingCache: typeof cascadingCache;
|
|
4016
4355
|
declare const index_catchError: typeof catchError;
|
|
4017
4356
|
declare const index_checkpointNodeValue: typeof checkpointNodeValue;
|
|
4018
4357
|
declare const index_checkpointToRedis: typeof checkpointToRedis;
|
|
@@ -4037,6 +4376,7 @@ declare const index_empty: typeof empty;
|
|
|
4037
4376
|
declare const index_escapeRegexChar: typeof escapeRegexChar;
|
|
4038
4377
|
declare const index_exhaustMap: typeof exhaustMap;
|
|
4039
4378
|
declare const index_exponential: typeof exponential;
|
|
4379
|
+
declare const index_fallback: typeof fallback;
|
|
4040
4380
|
declare const index_fibonacci: typeof fibonacci;
|
|
4041
4381
|
declare const index_filter: typeof filter;
|
|
4042
4382
|
declare const index_find: typeof find;
|
|
@@ -4049,6 +4389,7 @@ declare const index_fromAsyncIter: typeof fromAsyncIter;
|
|
|
4049
4389
|
declare const index_fromCSV: typeof fromCSV;
|
|
4050
4390
|
declare const index_fromClickHouseWatch: typeof fromClickHouseWatch;
|
|
4051
4391
|
declare const index_fromCron: typeof fromCron;
|
|
4392
|
+
declare const index_fromDrizzle: typeof fromDrizzle;
|
|
4052
4393
|
declare const index_fromEvent: typeof fromEvent;
|
|
4053
4394
|
declare const index_fromFSWatch: typeof fromFSWatch;
|
|
4054
4395
|
declare const index_fromGitHook: typeof fromGitHook;
|
|
@@ -4057,10 +4398,12 @@ declare const index_fromIDBRequest: typeof fromIDBRequest;
|
|
|
4057
4398
|
declare const index_fromIDBTransaction: typeof fromIDBTransaction;
|
|
4058
4399
|
declare const index_fromIter: typeof fromIter;
|
|
4059
4400
|
declare const index_fromKafka: typeof fromKafka;
|
|
4401
|
+
declare const index_fromKysely: typeof fromKysely;
|
|
4060
4402
|
declare const index_fromMCP: typeof fromMCP;
|
|
4061
4403
|
declare const index_fromNATS: typeof fromNATS;
|
|
4062
4404
|
declare const index_fromNDJSON: typeof fromNDJSON;
|
|
4063
4405
|
declare const index_fromOTel: typeof fromOTel;
|
|
4406
|
+
declare const index_fromPrisma: typeof fromPrisma;
|
|
4064
4407
|
declare const index_fromPrometheus: typeof fromPrometheus;
|
|
4065
4408
|
declare const index_fromPromise: typeof fromPromise;
|
|
4066
4409
|
declare const index_fromPulsar: typeof fromPulsar;
|
|
@@ -4078,6 +4421,7 @@ declare const index_interval: typeof interval;
|
|
|
4078
4421
|
declare const index_last: typeof last;
|
|
4079
4422
|
declare const index_linear: typeof linear;
|
|
4080
4423
|
declare const index_logSlice: typeof logSlice;
|
|
4424
|
+
declare const index_lru: typeof lru;
|
|
4081
4425
|
declare const index_map: typeof map;
|
|
4082
4426
|
declare const index_matchesAnyPattern: typeof matchesAnyPattern;
|
|
4083
4427
|
declare const index_matchesCron: typeof matchesCron;
|
|
@@ -4127,6 +4471,7 @@ declare const index_tap: typeof tap;
|
|
|
4127
4471
|
declare const index_throttle: typeof throttle;
|
|
4128
4472
|
declare const index_throttleTime: typeof throttleTime;
|
|
4129
4473
|
declare const index_throwError: typeof throwError;
|
|
4474
|
+
declare const index_tieredStorage: typeof tieredStorage;
|
|
4130
4475
|
declare const index_timeout: typeof timeout;
|
|
4131
4476
|
declare const index_toArray: typeof toArray;
|
|
4132
4477
|
declare const index_toCSV: typeof toCSV;
|
|
@@ -4161,7 +4506,7 @@ declare const index_workerBridge: typeof workerBridge;
|
|
|
4161
4506
|
declare const index_workerSelf: typeof workerSelf;
|
|
4162
4507
|
declare const index_zip: typeof zip;
|
|
4163
4508
|
declare namespace index {
|
|
4164
|
-
export { 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_CSVRow as CSVRow, type index_CheckpointAdapter as CheckpointAdapter, 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, index_DictCheckpointAdapter as DictCheckpointAdapter, type index_DistillBundle as DistillBundle, type index_DistillOptions as DistillOptions, type index_ErrorMessage as ErrorMessage, type index_EventTargetLike as EventTargetLike, type index_ExponentialBackoffOptions as ExponentialBackoffOptions, type index_Extraction as Extraction, type index_FSEvent as FSEvent, type index_FSEventType as FSEventType, index_FileCheckpointAdapter as FileCheckpointAdapter, type index_FileWriterLike as FileWriterLike, type index_FromCSVOptions as FromCSVOptions, type index_FromClickHouseWatchOptions as FromClickHouseWatchOptions, type index_FromCronOptions as FromCronOptions, type index_FromFSWatchOptions as FromFSWatchOptions, type index_FromGitHookOptions as FromGitHookOptions, type index_FromHTTPOptions as FromHTTPOptions, type index_FromKafkaOptions as FromKafkaOptions, type index_FromMCPOptions as FromMCPOptions, type index_FromNATSOptions as FromNATSOptions, type index_FromNDJSONOptions as FromNDJSONOptions, type index_FromOTelOptions as FromOTelOptions, type index_FromPrometheusOptions as FromPrometheusOptions, type index_FromPulsarOptions as FromPulsarOptions, type index_FromRabbitMQOptions as FromRabbitMQOptions, type index_FromRedisStreamOptions as FromRedisStreamOptions, type index_FromSqliteOptions as FromSqliteOptions, type index_FromStatsDOptions as FromStatsDOptions, type index_FromSyslogOptions as FromSyslogOptions, type index_GitEvent as GitEvent, type index_GitHookType as GitHookType, type index_HTTPBundle as HTTPBundle, type index_IndexRow as IndexRow, type index_IndexedDbCheckpointSpec as IndexedDbCheckpointSpec, 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_LokiClientLike as LokiClientLike, type index_LokiStream as LokiStream, type index_MCPClientLike as MCPClientLike, index_MemoryCheckpointAdapter as MemoryCheckpointAdapter, 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, 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_PrometheusMetric as PrometheusMetric, type index_PubSubHub as PubSubHub, 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_ReactiveIndexBundle as ReactiveIndexBundle, type index_ReactiveIndexOptions as ReactiveIndexOptions, type index_ReactiveIndexSnapshot as ReactiveIndexSnapshot, type index_ReactiveListBundle as ReactiveListBundle, type index_ReactiveListOptions as ReactiveListOptions, type index_ReactiveListSnapshot as ReactiveListSnapshot, index_ReactiveLogBundle as ReactiveLogBundle, index_ReactiveLogOptions as ReactiveLogOptions, index_ReactiveLogSnapshot as ReactiveLogSnapshot, type index_ReactiveMapBundle as ReactiveMapBundle, type index_ReactiveMapOptions as ReactiveMapOptions, type index_ReactiveMapSnapshot as ReactiveMapSnapshot, type index_ReadyMessage as ReadyMessage, type index_RedisCheckpointClientLike as RedisCheckpointClientLike, type index_RedisClientLike as RedisClientLike, type index_RedisStreamEntry as RedisStreamEntry, type index_RetryOptions as RetryOptions, type index_S3ClientLike as S3ClientLike, type index_SignalMessage as SignalMessage, type index_SinkTransportError as SinkTransportError, index_SqliteCheckpointAdapter as SqliteCheckpointAdapter, type index_SqliteDbLike as SqliteDbLike, type index_StatsDMetric as StatsDMetric, type index_StatsDRegister as StatsDRegister, type index_StatusValue as StatusValue, 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, type index_ToCSVOptions as ToCSVOptions, type index_ToClickHouseOptions as ToClickHouseOptions, type index_ToFileOptions as ToFileOptions, type index_ToKafkaOptions as ToKafkaOptions, type index_ToLokiOptions as ToLokiOptions, type index_ToMongoOptions as ToMongoOptions, type index_ToNATSOptions as ToNATSOptions, 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_ToWebSocketTransportError as ToWebSocketTransportError, type index_TokenBucket as TokenBucket, 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_catchError as catchError, index_checkpointNodeValue as checkpointNodeValue, 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_debounce as debounce, index_debounceTime as debounceTime, index_decorrelatedJitter as decorrelatedJitter, index_delay as delay, index_deserializeError as deserializeError, 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_fibonacci as fibonacci, index_filter as filter, index_find as find, index_first as first, index_firstValueFrom as firstValueFrom, 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_fromEvent as fromEvent, index_fromFSWatch as fromFSWatch, index_fromGitHook as fromGitHook, index_fromHTTP as fromHTTP, index_fromIDBRequest as fromIDBRequest, index_fromIDBTransaction as fromIDBTransaction, index_fromIter as fromIter, index_fromKafka as fromKafka, index_fromMCP as fromMCP, index_fromNATS as fromNATS, index_fromNDJSON as fromNDJSON, index_fromOTel as fromOTel, index_fromPrometheus as fromPrometheus, index_fromPromise as fromPromise, index_fromPulsar as fromPulsar, index_fromRabbitMQ as fromRabbitMQ, index_fromRedisStream as fromRedisStream, index_fromSqlite as fromSqlite, index_fromStatsD as fromStatsD, index_fromSyslog as fromSyslog, index_fromTimer as fromTimer, index_fromWebSocket as fromWebSocket, index_fromWebhook as fromWebhook, index_gate as gate, index_globToRegExp as globToRegExp, index_interval as interval, index_last as last, index_linear as linear, index_logSlice as logSlice, index_map as map, index_matchesAnyPattern as matchesAnyPattern, index_matchesCron as matchesCron, index_merge as merge, index_mergeMap as mergeMap, index_nameToSignal as nameToSignal, index_never as never, index_observeGraph$ as observeGraph$, index_observeNode$ as observeNode$, 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_reactiveIndex as reactiveIndex, index_reactiveList as reactiveList, index_reactiveLog as reactiveLog, index_reactiveMap as reactiveMap, index_reduce as reduce, index_repeat as repeat, index_replay as replay, index_rescue as rescue, index_resolveBackoffPreset as resolveBackoffPreset, index_restoreGraphCheckpoint as restoreGraphCheckpoint, index_restoreGraphCheckpointIndexedDb as restoreGraphCheckpointIndexedDb, index_retry as retry, index_sample as sample, index_saveGraphCheckpoint as saveGraphCheckpoint, index_saveGraphCheckpointIndexedDb as saveGraphCheckpointIndexedDb, 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_startWith as startWith, 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_toKafka as toKafka, index_toLoki as toLoki, index_toMessages$ as toMessages$, 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_toRedisStream as toRedisStream, index_toS3 as toS3, index_toSSE as toSSE, index_toSqlite as toSqlite, index_toTempo as toTempo, index_toWebSocket as toWebSocket, index_tokenBucket as tokenBucket, index_tokenTracker as tokenTracker, 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 };
|
|
4509
|
+
export { 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_CSVRow as CSVRow, type index_CacheEvictionPolicy as CacheEvictionPolicy, type index_CacheTier as CacheTier, type index_CascadingCache as CascadingCache, type index_CascadingCacheOptions as CascadingCacheOptions, type index_CheckpointAdapter as CheckpointAdapter, 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, index_DictCheckpointAdapter as DictCheckpointAdapter, type index_DistillBundle as DistillBundle, type index_DistillOptions as DistillOptions, type index_DrizzleQueryLike as DrizzleQueryLike, type index_ErrorMessage as ErrorMessage, type index_EventTargetLike as EventTargetLike, type index_ExponentialBackoffOptions as ExponentialBackoffOptions, type index_Extraction as Extraction, type index_FSEvent as FSEvent, type index_FSEventType as FSEventType, index_FileCheckpointAdapter as FileCheckpointAdapter, 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_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_FromSqliteOptions as FromSqliteOptions, type index_FromStatsDOptions as FromStatsDOptions, type index_FromSyslogOptions as FromSyslogOptions, type index_GitEvent as GitEvent, type index_GitHookType as GitHookType, type index_HTTPBundle as HTTPBundle, type index_IndexRow as IndexRow, type index_IndexedDbCheckpointSpec as IndexedDbCheckpointSpec, 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_LokiClientLike as LokiClientLike, type index_LokiStream as LokiStream, type index_MCPClientLike as MCPClientLike, index_MemoryCheckpointAdapter as MemoryCheckpointAdapter, 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, 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_PubSubHub as PubSubHub, 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_ReactiveIndexBundle as ReactiveIndexBundle, type index_ReactiveIndexOptions as ReactiveIndexOptions, type index_ReactiveIndexSnapshot as ReactiveIndexSnapshot, type index_ReactiveListBundle as ReactiveListBundle, type index_ReactiveListOptions as ReactiveListOptions, type index_ReactiveListSnapshot as ReactiveListSnapshot, index_ReactiveLogBundle as ReactiveLogBundle, index_ReactiveLogOptions as ReactiveLogOptions, index_ReactiveLogSnapshot as ReactiveLogSnapshot, type index_ReactiveMapBundle as ReactiveMapBundle, type index_ReactiveMapOptions as ReactiveMapOptions, type index_ReactiveMapSnapshot as ReactiveMapSnapshot, type index_ReadyMessage as ReadyMessage, type index_RedisCheckpointClientLike as RedisCheckpointClientLike, type index_RedisClientLike as RedisClientLike, type index_RedisStreamEntry as RedisStreamEntry, type index_RetryOptions as RetryOptions, type index_S3ClientLike as S3ClientLike, type index_SignalMessage as SignalMessage, type index_SinkHandle as SinkHandle, type index_SinkTransportError as SinkTransportError, index_SqliteCheckpointAdapter as SqliteCheckpointAdapter, type index_SqliteDbLike as SqliteDbLike, type index_StatsDMetric as StatsDMetric, type index_StatsDRegister as StatsDRegister, type index_StatusValue as StatusValue, 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, type index_TieredStorage as TieredStorage, type index_TieredStorageOptions as TieredStorageOptions, index_TimeoutError as TimeoutError, type index_ToCSVOptions as ToCSVOptions, type index_ToClickHouseOptions as ToClickHouseOptions, type index_ToFileOptions as ToFileOptions, type index_ToKafkaOptions as ToKafkaOptions, type index_ToLokiOptions as ToLokiOptions, type index_ToMongoOptions as ToMongoOptions, type index_ToNATSOptions as ToNATSOptions, 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_ToWebSocketTransportError as ToWebSocketTransportError, type index_TokenBucket as TokenBucket, 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_cache as cache, index_cached as cached, index_cascadingCache as cascadingCache, index_catchError as catchError, index_checkpointNodeValue as checkpointNodeValue, 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_debounce as debounce, index_debounceTime as debounceTime, index_decorrelatedJitter as decorrelatedJitter, index_delay as delay, index_deserializeError as deserializeError, 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_fallback as fallback, index_fibonacci as fibonacci, index_filter as filter, index_find as find, index_first as first, index_firstValueFrom as firstValueFrom, 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_fromIDBRequest as fromIDBRequest, index_fromIDBTransaction as fromIDBTransaction, index_fromIter as fromIter, index_fromKafka as fromKafka, index_fromKysely as fromKysely, index_fromMCP as fromMCP, index_fromNATS as fromNATS, index_fromNDJSON as fromNDJSON, index_fromOTel as fromOTel, index_fromPrisma as fromPrisma, index_fromPrometheus as fromPrometheus, index_fromPromise as fromPromise, index_fromPulsar as fromPulsar, index_fromRabbitMQ as fromRabbitMQ, index_fromRedisStream as fromRedisStream, index_fromSqlite as fromSqlite, index_fromStatsD as fromStatsD, index_fromSyslog as fromSyslog, index_fromTimer as fromTimer, index_fromWebSocket as fromWebSocket, index_fromWebhook as fromWebhook, index_gate as gate, index_globToRegExp as globToRegExp, index_interval as interval, index_last as last, index_linear as linear, index_logSlice as logSlice, index_lru as lru, index_map as map, index_matchesAnyPattern as matchesAnyPattern, index_matchesCron as matchesCron, index_merge as merge, index_mergeMap as mergeMap, index_nameToSignal as nameToSignal, index_never as never, index_observeGraph$ as observeGraph$, index_observeNode$ as observeNode$, 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_reactiveIndex as reactiveIndex, index_reactiveList as reactiveList, index_reactiveLog as reactiveLog, index_reactiveMap as reactiveMap, index_reduce as reduce, index_repeat as repeat, index_replay as replay, index_rescue as rescue, index_resolveBackoffPreset as resolveBackoffPreset, index_restoreGraphCheckpoint as restoreGraphCheckpoint, index_restoreGraphCheckpointIndexedDb as restoreGraphCheckpointIndexedDb, index_retry as retry, index_sample as sample, index_saveGraphCheckpoint as saveGraphCheckpoint, index_saveGraphCheckpointIndexedDb as saveGraphCheckpointIndexedDb, 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_startWith as startWith, 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_tieredStorage as tieredStorage, index_timeout as timeout, index_toArray as toArray, index_toCSV as toCSV, index_toClickHouse as toClickHouse, index_toFile as toFile, index_toKafka as toKafka, index_toLoki as toLoki, index_toMessages$ as toMessages$, 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_toRedisStream as toRedisStream, index_toS3 as toS3, index_toSSE as toSSE, index_toSqlite as toSqlite, index_toTempo as toTempo, index_toWebSocket as toWebSocket, index_tokenBucket as tokenBucket, index_tokenTracker as tokenTracker, 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 };
|
|
4165
4510
|
}
|
|
4166
4511
|
|
|
4167
|
-
export { type
|
|
4512
|
+
export { type FromPulsarOptions as $, type AdapterHandlers as A, type BackoffPreset as B, type CSVRow as C, type DistillBundle as D, type Extraction as E, type ExponentialBackoffOptions as F, type FSEvent as G, type FSEventType as H, FileCheckpointAdapter as I, type FileWriterLike as J, type FromCSVOptions as K, type FromClickHouseWatchOptions as L, type FromCronOptions as M, type NodeInput as N, type FromDrizzleOptions as O, type FromFSWatchOptions as P, type FromGitHookOptions as Q, type ReactiveListSnapshot as R, type FromHTTPOptions as S, type FromKafkaOptions as T, type FromKyselyOptions as U, type FromMCPOptions as V, type FromNATSOptions as W, type FromNDJSONOptions as X, type FromOTelOptions as Y, type FromPrismaOptions as Z, type FromPrometheusOptions as _, type ReactiveMapSnapshot as a, type SyslogRegister as a$, type FromRabbitMQOptions as a0, type FromRedisStreamOptions as a1, type FromSqliteOptions as a2, type FromStatsDOptions as a3, type FromSyslogOptions as a4, type GitEvent as a5, type GitHookType as a6, type HTTPBundle as a7, type IndexRow as a8, type IndexedDbCheckpointSpec as a9, type PulsarConsumerLike as aA, type PulsarMessage as aB, type PulsarProducerLike as aC, type RabbitMQChannelLike as aD, type RabbitMQMessage as aE, type ReactiveIndexBundle as aF, type ReactiveIndexOptions as aG, type ReactiveIndexSnapshot as aH, type ReactiveListBundle as aI, type ReactiveListOptions as aJ, type ReactiveMapBundle as aK, type ReactiveMapOptions as aL, type ReadyMessage as aM, type RedisCheckpointClientLike as aN, type RedisClientLike as aO, type RedisStreamEntry as aP, type RetryOptions as aQ, type S3ClientLike as aR, type SignalMessage as aS, type SinkHandle as aT, type SinkTransportError as aU, SqliteCheckpointAdapter as aV, type SqliteDbLike as aW, type StatsDMetric as aX, type StatsDRegister as aY, type StatusValue as aZ, type SyslogMessage as a_, type InitMessage as aa, type JitterMode as ab, type KafkaConsumerLike as ac, type KafkaMessage as ad, type KafkaProducerLike as ae, type KyselyQueryLike as af, type LokiClientLike as ag, type LokiStream as ah, type MCPClientLike as ai, MemoryCheckpointAdapter as aj, type MergeMapOptions as ak, type MongoCollectionLike as al, type NATSClientLike as am, type NATSMessage as an, type NATSSubscriptionLike as ao, NS_PER_MS as ap, NS_PER_SEC as aq, type OTelBundle as ar, type OTelLog as as, type OTelMetric as at, type OTelRegister as au, type OTelSpan as av, type PostgresClientLike as aw, type PrismaModelLike as ax, type PrometheusMetric as ay, type PubSubHub as az, type AsyncSourceOpts as b, delay as b$, type TapObserver as b0, type TempoClientLike as b1, type ThrottleOptions as b2, type TieredStorage as b3, type TieredStorageOptions as b4, TimeoutError as b5, type ToCSVOptions as b6, type ToClickHouseOptions as b7, type ToFileOptions as b8, type ToKafkaOptions as b9, type WorkerBridge as bA, type WorkerBridgeOptions as bB, type WorkerSelfHandle as bC, type WorkerSelfOptions as bD, type WorkerTransport as bE, audit as bF, buffer as bG, bufferCount as bH, bufferTime as bI, cache as bJ, cached as bK, cascadingCache as bL, catchError as bM, checkpointNodeValue as bN, checkpointToRedis as bO, checkpointToS3 as bP, circuitBreaker as bQ, combine as bR, combineLatest as bS, concat as bT, concatMap as bU, constant as bV, createTransport as bW, createWatermarkController as bX, debounce as bY, debounceTime as bZ, decorrelatedJitter as b_, type ToLokiOptions as ba, type ToMongoOptions as bb, type ToNATSOptions as bc, type ToPostgresOptions as bd, type ToPulsarOptions as be, type ToRabbitMQOptions as bf, type ToRedisStreamOptions as bg, type ToS3Options as bh, type ToSSEOptions as bi, type ToSqliteOptions as bj, type ToTempoOptions as bk, type ToWebSocketOptions as bl, type ToWebSocketTransportError as bm, type TokenBucket as bn, type ValueMessage as bo, type VerifiableBundle as bp, type VerifiableOptions as bq, type VerifyValue as br, type WatermarkController as bs, type WatermarkOptions as bt, type WebSocketLike as bu, type WebSocketMessageEventLike as bv, type WebSocketRegister as bw, type WebhookRegister as bx, type WithBreakerBundle as by, type WithStatusBundle as bz, type BackoffStrategy as c, parseCron as c$, deserializeError as c0, distill as c1, distinctUntilChanged as c2, elementAt as c3, empty as c4, escapeRegexChar as c5, exhaustMap as c6, exponential as c7, index as c8, fallback as c9, fromPrisma as cA, fromPrometheus as cB, fromPromise as cC, fromPulsar as cD, fromRabbitMQ as cE, fromRedisStream as cF, fromSqlite as cG, fromStatsD as cH, fromSyslog as cI, fromTimer as cJ, fromWebSocket as cK, fromWebhook as cL, gate as cM, globToRegExp as cN, interval as cO, last as cP, linear as cQ, lru as cR, map as cS, matchesAnyPattern as cT, matchesCron as cU, merge as cV, mergeMap as cW, nameToSignal as cX, never as cY, of as cZ, pairwise as c_, fibonacci as ca, filter as cb, find as cc, first as cd, firstValueFrom as ce, flatMap as cf, forEach as cg, fromAny as ch, fromAsyncIter as ci, fromCSV as cj, fromClickHouseWatch as ck, fromCron as cl, fromDrizzle as cm, fromEvent as cn, fromFSWatch as co, fromGitHook as cp, fromHTTP as cq, fromIDBRequest as cr, fromIDBTransaction as cs, fromIter as ct, fromKafka as cu, fromKysely as cv, fromMCP as cw, fromNATS as cx, fromNDJSON as cy, fromOTel as cz, type BatchMessage as d, withLatestFrom as d$, parsePrometheusText as d0, parseStatsD as d1, parseSyslog as d2, pausable as d3, pubsub as d4, race as d5, rateLimiter as d6, reactiveIndex as d7, reactiveList as d8, reactiveMap as d9, throwError as dA, tieredStorage as dB, timeout as dC, toArray as dD, toCSV as dE, toClickHouse as dF, toFile as dG, toKafka as dH, toLoki as dI, toMongo as dJ, toNATS as dK, toPostgres as dL, toPulsar as dM, toRabbitMQ as dN, toRedisStream as dO, toS3 as dP, toSSE as dQ, toSqlite as dR, toTempo as dS, toWebSocket as dT, tokenBucket as dU, tokenTracker as dV, verifiable as dW, window as dX, windowCount as dY, windowTime as dZ, withBreaker as d_, reduce as da, repeat as db, replay as dc, rescue as dd, resolveBackoffPreset as de, restoreGraphCheckpoint as df, restoreGraphCheckpointIndexedDb as dg, retry as dh, sample as di, saveGraphCheckpoint as dj, saveGraphCheckpointIndexedDb as dk, scan as dl, serializeError as dm, share as dn, shareReplay as dp, signalToName as dq, skip as dr, startWith as ds, switchMap as dt, take as du, takeUntil as dv, takeWhile as dw, tap as dx, throttle as dy, throttleTime as dz, type BridgeMessage as e, withMaxAttempts as e0, withStatus as e1, workerBridge as e2, workerSelf as e3, zip as e4, type BufferedSinkHandle as f, type CacheEvictionPolicy as g, type CacheTier as h, type CascadingCache as i, type CascadingCacheOptions as j, type CheckpointAdapter as k, type CheckpointToRedisOptions as l, type CheckpointToS3Options as m, type CircuitBreaker as n, type CircuitBreakerOptions as o, CircuitOpenError as p, type CircuitState as q, type ClickHouseClientLike as r, type ClickHouseInsertClientLike as s, type ClickHouseRow as t, type CronSchedule as u, DictCheckpointAdapter as v, type DistillOptions as w, type DrizzleQueryLike as x, type ErrorMessage as y, type EventTargetLike as z };
|