@voltro/plugin-cdc-out 0.83.1 → 0.85.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/CHANGELOG.md +1191 -0
- package/THIRD-PARTY-NOTICES.md +71 -525
- package/dist/index.d.ts +8 -11
- package/dist/index.js +185 -185
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Row } from '@voltro/database';
|
|
|
5
5
|
import { Schema } from 'effect';
|
|
6
6
|
import { TableLike } from '@voltro/database';
|
|
7
7
|
import { VoltroPlugin } from '@voltro/protocol';
|
|
8
|
+
import { YieldableError } from 'effect/Cause';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Thrown at plugin-construction time (= `app.config.ts` load = boot) when the
|
|
@@ -15,12 +16,10 @@ import { VoltroPlugin } from '@voltro/protocol';
|
|
|
15
16
|
export declare class CdcConfigError extends CdcConfigError_base {
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
declare const CdcConfigError_base: Schema.
|
|
19
|
-
readonly _tag: Schema.tag<"CdcConfigError">;
|
|
20
|
-
} & {
|
|
19
|
+
declare const CdcConfigError_base: Schema.Class<CdcConfigError, Schema.TaggedStruct<"CdcConfigError", {
|
|
21
20
|
/** Human-readable detail, naming the offending `sinks[i]` / option / value. */
|
|
22
|
-
message:
|
|
23
|
-
}>;
|
|
21
|
+
readonly message: Schema.String;
|
|
22
|
+
}>, YieldableError>;
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* A single delivery attempt to a sink failed — a thrown sink error, a non-2xx
|
|
@@ -32,14 +31,12 @@ export declare class CdcDeliveryError extends CdcDeliveryError_base {
|
|
|
32
31
|
get message(): string;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
declare const CdcDeliveryError_base: Schema.
|
|
36
|
-
readonly _tag: Schema.tag<"CdcDeliveryError">;
|
|
37
|
-
} & {
|
|
34
|
+
declare const CdcDeliveryError_base: Schema.Class<CdcDeliveryError, Schema.TaggedStruct<"CdcDeliveryError", {
|
|
38
35
|
/** The sink's `name`. */
|
|
39
|
-
sink:
|
|
36
|
+
readonly sink: Schema.String;
|
|
40
37
|
/** Human-readable failure detail (status line, timeout, thrown message). */
|
|
41
|
-
reason:
|
|
42
|
-
}>;
|
|
38
|
+
readonly reason: Schema.String;
|
|
39
|
+
}>, YieldableError>;
|
|
43
40
|
|
|
44
41
|
/**
|
|
45
42
|
* One instance-scoped lease, heartbeat-renewed. `isLeader` is the in-memory
|