@tsonic/efcore-npgsql 10.0.5 → 10.0.7
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/Microsoft.EntityFrameworkCore/internal/index.d.ts +282 -280
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +5 -5
- package/Npgsql/internal/index.d.ts +197 -121
- package/Npgsql.BackendMessages/internal/index.d.ts +4 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +10 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +20 -14
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +4 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +33 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +35 -33
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +24 -14
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +37 -23
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +17 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +9 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +23 -19
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +14 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +110 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +73 -41
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +52 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +13 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +42 -28
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +214 -157
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +6 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +21 -11
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +24 -18
- package/Npgsql.Internal/internal/index.d.ts +113 -65
- package/Npgsql.Internal.Postgres/internal/index.d.ts +10 -2
- package/Npgsql.NameTranslation/internal/index.d.ts +9 -9
- package/Npgsql.PostgresTypes/internal/index.d.ts +25 -5
- package/Npgsql.Replication/internal/index.d.ts +42 -22
- package/Npgsql.Replication.Internal/internal/index.d.ts +9 -7
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +27 -19
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +71 -7
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +16 -10
- package/Npgsql.Schema/internal/index.d.ts +19 -17
- package/Npgsql.TypeMapping/internal/index.d.ts +5 -3
- package/Npgsql.Util/internal/index.d.ts +4 -2
- package/NpgsqlTypes/internal/index.d.ts +78 -24
- package/__internal/extensions/index.d.ts +696 -658
- package/package.json +5 -5
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import type {
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString, UInt32 } from "@tsonic/dotnet/System.js";
|
|
9
|
+
import type { IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString, UInt32 } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface PostgresArrayType$instance extends PostgresType {
|
|
14
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresArrayType: never;
|
|
15
|
+
|
|
14
16
|
readonly Element: PostgresType;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -22,6 +24,8 @@ export const PostgresArrayType: (abstract new(ns: string, name: string, oid: uin
|
|
|
22
24
|
export type PostgresArrayType = PostgresArrayType$instance;
|
|
23
25
|
|
|
24
26
|
export interface PostgresBaseType$instance extends PostgresType {
|
|
27
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresBaseType: never;
|
|
28
|
+
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
|
|
@@ -32,7 +36,9 @@ export const PostgresBaseType: (abstract new(ns: string, name: string, oid: uint
|
|
|
32
36
|
export type PostgresBaseType = PostgresBaseType$instance;
|
|
33
37
|
|
|
34
38
|
export interface PostgresCompositeType$instance extends PostgresType {
|
|
35
|
-
readonly
|
|
39
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresCompositeType: never;
|
|
40
|
+
|
|
41
|
+
readonly Fields: IReadOnlyList_1<PostgresCompositeType_Field>;
|
|
36
42
|
}
|
|
37
43
|
|
|
38
44
|
|
|
@@ -43,6 +49,8 @@ export const PostgresCompositeType: {
|
|
|
43
49
|
export type PostgresCompositeType = PostgresCompositeType$instance;
|
|
44
50
|
|
|
45
51
|
export interface PostgresCompositeType_Field$instance {
|
|
52
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresCompositeType_Field: never;
|
|
53
|
+
|
|
46
54
|
readonly Name: string;
|
|
47
55
|
readonly Type: PostgresType;
|
|
48
56
|
ToString(): string;
|
|
@@ -56,6 +64,8 @@ export const PostgresCompositeType_Field: {
|
|
|
56
64
|
export type PostgresCompositeType_Field = PostgresCompositeType_Field$instance;
|
|
57
65
|
|
|
58
66
|
export interface PostgresDomainType$instance extends PostgresType {
|
|
67
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresDomainType: never;
|
|
68
|
+
|
|
59
69
|
readonly BaseType: PostgresType;
|
|
60
70
|
readonly NotNull: boolean;
|
|
61
71
|
}
|
|
@@ -68,7 +78,9 @@ export const PostgresDomainType: (abstract new(ns: string, name: string, oid: ui
|
|
|
68
78
|
export type PostgresDomainType = PostgresDomainType$instance;
|
|
69
79
|
|
|
70
80
|
export interface PostgresEnumType$instance extends PostgresType {
|
|
71
|
-
readonly
|
|
81
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresEnumType: never;
|
|
82
|
+
|
|
83
|
+
readonly Labels: IReadOnlyList_1<System_Internal.String>;
|
|
72
84
|
}
|
|
73
85
|
|
|
74
86
|
|
|
@@ -79,6 +91,8 @@ export const PostgresEnumType: (abstract new(ns: string, name: string, oid: uint
|
|
|
79
91
|
export type PostgresEnumType = PostgresEnumType$instance;
|
|
80
92
|
|
|
81
93
|
export interface PostgresMultirangeType$instance extends PostgresType {
|
|
94
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresMultirangeType: never;
|
|
95
|
+
|
|
82
96
|
readonly Subrange: PostgresRangeType;
|
|
83
97
|
}
|
|
84
98
|
|
|
@@ -90,6 +104,8 @@ export const PostgresMultirangeType: (abstract new(ns: string, name: string, oid
|
|
|
90
104
|
export type PostgresMultirangeType = PostgresMultirangeType$instance;
|
|
91
105
|
|
|
92
106
|
export interface PostgresRangeType$instance extends PostgresType {
|
|
107
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresRangeType: never;
|
|
108
|
+
|
|
93
109
|
get Multirange(): PostgresMultirangeType | undefined;
|
|
94
110
|
set Multirange(value: PostgresMultirangeType | undefined);
|
|
95
111
|
readonly Subtype: PostgresType;
|
|
@@ -103,6 +119,8 @@ export const PostgresRangeType: (abstract new(ns: string, name: string, oid: uin
|
|
|
103
119
|
export type PostgresRangeType = PostgresRangeType$instance;
|
|
104
120
|
|
|
105
121
|
export interface PostgresType$instance {
|
|
122
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresType: never;
|
|
123
|
+
|
|
106
124
|
get Array(): PostgresArrayType | undefined;
|
|
107
125
|
set Array(value: PostgresArrayType | undefined);
|
|
108
126
|
readonly DisplayName: string;
|
|
@@ -124,6 +142,8 @@ export const PostgresType: {
|
|
|
124
142
|
export type PostgresType = PostgresType$instance;
|
|
125
143
|
|
|
126
144
|
export interface UnknownBackendType$instance extends PostgresType {
|
|
145
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_UnknownBackendType: never;
|
|
146
|
+
|
|
127
147
|
}
|
|
128
148
|
|
|
129
149
|
|
|
@@ -10,13 +10,13 @@ import type { PgOutputReplicationMessage } from "../../Npgsql.Replication.PgOutp
|
|
|
10
10
|
import type { PgOutputReplicationOptions, PgOutputReplicationSlot } from "../../Npgsql.Replication.PgOutput/internal/index.js";
|
|
11
11
|
import type { TestDecodingData, TestDecodingOptions, TestDecodingReplicationSlot } from "../../Npgsql.Replication.TestDecoding/internal/index.js";
|
|
12
12
|
import type { NpgsqlLogSequenceNumber } from "../../NpgsqlTypes/internal/index.js";
|
|
13
|
-
import type {
|
|
14
|
-
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
13
|
+
import type { IAsyncEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
15
|
+
import type { Encoding } from "@tsonic/dotnet/System.Text/internal/index.js";
|
|
16
|
+
import type { Task, Task_1, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
17
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
18
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { Boolean as ClrBoolean, Byte, DateTime, Enum, IAsyncDisposable, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, UInt32, ValueType, Version, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export enum LogicalSlotSnapshotInitMode {
|
|
22
22
|
Export = 0,
|
|
@@ -26,6 +26,8 @@ export enum LogicalSlotSnapshotInitMode {
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export interface ReplicationSlotOptions$instance {
|
|
29
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationSlotOptions: never;
|
|
30
|
+
|
|
29
31
|
readonly ConsistentPoint: NpgsqlLogSequenceNumber;
|
|
30
32
|
readonly SlotName: string;
|
|
31
33
|
}
|
|
@@ -40,6 +42,8 @@ export const ReplicationSlotOptions: {
|
|
|
40
42
|
export type ReplicationSlotOptions = ReplicationSlotOptions$instance;
|
|
41
43
|
|
|
42
44
|
export interface TimelineHistoryFile$instance {
|
|
45
|
+
readonly __tsonic_type_Npgsql_Replication_TimelineHistoryFile: never;
|
|
46
|
+
|
|
43
47
|
readonly Content: byte[];
|
|
44
48
|
readonly FileName: string;
|
|
45
49
|
}
|
|
@@ -53,6 +57,8 @@ export const TimelineHistoryFile: {
|
|
|
53
57
|
export type TimelineHistoryFile = TimelineHistoryFile$instance;
|
|
54
58
|
|
|
55
59
|
export interface LogicalReplicationConnection$instance extends ReplicationConnection {
|
|
60
|
+
readonly __tsonic_type_Npgsql_Replication_LogicalReplicationConnection: never;
|
|
61
|
+
|
|
56
62
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
57
63
|
|
|
58
64
|
}
|
|
@@ -67,13 +73,15 @@ export const LogicalReplicationConnection: {
|
|
|
67
73
|
export type LogicalReplicationConnection = LogicalReplicationConnection$instance;
|
|
68
74
|
|
|
69
75
|
export interface PhysicalReplicationConnection$instance extends ReplicationConnection {
|
|
76
|
+
readonly __tsonic_type_Npgsql_Replication_PhysicalReplicationConnection: never;
|
|
77
|
+
|
|
70
78
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
71
79
|
|
|
72
|
-
CreateReplicationSlot(slotName: string, isTemporary?: boolean, reserveWal?: boolean, cancellationToken?: CancellationToken):
|
|
73
|
-
ReadReplicationSlot(slotName: string, cancellationToken?: CancellationToken):
|
|
74
|
-
StartReplication(slot: PhysicalReplicationSlot, walLocation: NpgsqlLogSequenceNumber, cancellationToken: CancellationToken, timeline?: uint):
|
|
75
|
-
StartReplication(walLocation: NpgsqlLogSequenceNumber, cancellationToken: CancellationToken, timeline?: uint):
|
|
76
|
-
StartReplication(slot: PhysicalReplicationSlot, cancellationToken: CancellationToken):
|
|
80
|
+
CreateReplicationSlot(slotName: string, isTemporary?: boolean, reserveWal?: boolean, cancellationToken?: CancellationToken): Task_1<PhysicalReplicationSlot>;
|
|
81
|
+
ReadReplicationSlot(slotName: string, cancellationToken?: CancellationToken): Task_1<PhysicalReplicationSlot | undefined>;
|
|
82
|
+
StartReplication(slot: PhysicalReplicationSlot, walLocation: NpgsqlLogSequenceNumber, cancellationToken: CancellationToken, timeline?: uint): IAsyncEnumerable_1<XLogDataMessage>;
|
|
83
|
+
StartReplication(walLocation: NpgsqlLogSequenceNumber, cancellationToken: CancellationToken, timeline?: uint): IAsyncEnumerable_1<XLogDataMessage>;
|
|
84
|
+
StartReplication(slot: PhysicalReplicationSlot, cancellationToken: CancellationToken): IAsyncEnumerable_1<XLogDataMessage>;
|
|
77
85
|
}
|
|
78
86
|
|
|
79
87
|
|
|
@@ -86,19 +94,23 @@ export const PhysicalReplicationConnection: {
|
|
|
86
94
|
export type PhysicalReplicationConnection = PhysicalReplicationConnection$instance;
|
|
87
95
|
|
|
88
96
|
export interface PhysicalReplicationSlot$instance extends ReplicationSlot {
|
|
89
|
-
readonly
|
|
90
|
-
|
|
97
|
+
readonly __tsonic_type_Npgsql_Replication_PhysicalReplicationSlot: never;
|
|
98
|
+
|
|
99
|
+
readonly RestartLsn: Nullable_1<NpgsqlLogSequenceNumber>;
|
|
100
|
+
readonly RestartTimeline: Nullable_1<System_Internal.UInt32>;
|
|
91
101
|
}
|
|
92
102
|
|
|
93
103
|
|
|
94
104
|
export const PhysicalReplicationSlot: {
|
|
95
|
-
new(slotName: string, restartLsn:
|
|
105
|
+
new(slotName: string, restartLsn: Nullable_1<NpgsqlLogSequenceNumber>, restartTimeline: Nullable_1<System_Internal.UInt32>): PhysicalReplicationSlot;
|
|
96
106
|
};
|
|
97
107
|
|
|
98
108
|
|
|
99
109
|
export type PhysicalReplicationSlot = PhysicalReplicationSlot$instance;
|
|
100
110
|
|
|
101
111
|
export interface ReplicationConnection$instance {
|
|
112
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationConnection: never;
|
|
113
|
+
|
|
102
114
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
103
115
|
|
|
104
116
|
CommandTimeout: TimeSpan;
|
|
@@ -114,12 +126,12 @@ export interface ReplicationConnection$instance {
|
|
|
114
126
|
WalReceiverTimeout: TimeSpan;
|
|
115
127
|
DisposeAsync(): ValueTask;
|
|
116
128
|
DropReplicationSlot(slotName: string, wait?: boolean, cancellationToken?: CancellationToken): Task;
|
|
117
|
-
IdentifySystem(cancellationToken?: CancellationToken):
|
|
129
|
+
IdentifySystem(cancellationToken?: CancellationToken): Task_1<ReplicationSystemIdentification>;
|
|
118
130
|
Open(cancellationToken?: CancellationToken): Task;
|
|
119
131
|
SendStatusUpdate(cancellationToken?: CancellationToken): Task;
|
|
120
132
|
SetReplicationStatus(lastAppliedAndFlushedLsn: NpgsqlLogSequenceNumber): void;
|
|
121
|
-
Show(parameterName: string, cancellationToken?: CancellationToken):
|
|
122
|
-
TimelineHistory(tli: uint, cancellationToken?: CancellationToken):
|
|
133
|
+
Show(parameterName: string, cancellationToken?: CancellationToken): Task_1<System_Internal.String>;
|
|
134
|
+
TimelineHistory(tli: uint, cancellationToken?: CancellationToken): Task_1<TimelineHistoryFile>;
|
|
123
135
|
}
|
|
124
136
|
|
|
125
137
|
|
|
@@ -130,6 +142,8 @@ export const ReplicationConnection: {
|
|
|
130
142
|
export type ReplicationConnection = ReplicationConnection$instance;
|
|
131
143
|
|
|
132
144
|
export interface ReplicationMessage$instance {
|
|
145
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationMessage: never;
|
|
146
|
+
|
|
133
147
|
ServerClock: DateTime;
|
|
134
148
|
WalEnd: NpgsqlLogSequenceNumber;
|
|
135
149
|
WalStart: NpgsqlLogSequenceNumber;
|
|
@@ -143,6 +157,8 @@ export const ReplicationMessage: (abstract new() => ReplicationMessage) & {
|
|
|
143
157
|
export type ReplicationMessage = ReplicationMessage$instance;
|
|
144
158
|
|
|
145
159
|
export interface ReplicationSlot$instance {
|
|
160
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationSlot: never;
|
|
161
|
+
|
|
146
162
|
readonly Name: string;
|
|
147
163
|
}
|
|
148
164
|
|
|
@@ -154,6 +170,8 @@ export const ReplicationSlot: {
|
|
|
154
170
|
export type ReplicationSlot = ReplicationSlot$instance;
|
|
155
171
|
|
|
156
172
|
export interface ReplicationSystemIdentification$instance {
|
|
173
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationSystemIdentification: never;
|
|
174
|
+
|
|
157
175
|
readonly DbName: string | undefined;
|
|
158
176
|
readonly SystemId: string;
|
|
159
177
|
readonly Timeline: uint;
|
|
@@ -168,6 +186,8 @@ export const ReplicationSystemIdentification: {
|
|
|
168
186
|
export type ReplicationSystemIdentification = ReplicationSystemIdentification$instance;
|
|
169
187
|
|
|
170
188
|
export interface XLogDataMessage$instance extends ReplicationMessage {
|
|
189
|
+
readonly __tsonic_type_Npgsql_Replication_XLogDataMessage: never;
|
|
190
|
+
|
|
171
191
|
Data: Stream;
|
|
172
192
|
}
|
|
173
193
|
|
|
@@ -180,16 +200,16 @@ export const XLogDataMessage: {
|
|
|
180
200
|
export type XLogDataMessage = XLogDataMessage$instance;
|
|
181
201
|
|
|
182
202
|
export abstract class PgOutputConnectionExtensions$instance {
|
|
183
|
-
static CreatePgOutputReplicationSlot(connection: LogicalReplicationConnection, slotName: string, temporarySlot?: boolean, slotSnapshotInitMode?:
|
|
184
|
-
static StartReplication(connection: LogicalReplicationConnection, slot: PgOutputReplicationSlot, options: PgOutputReplicationOptions, cancellationToken: CancellationToken, walLocation?:
|
|
203
|
+
static CreatePgOutputReplicationSlot(connection: LogicalReplicationConnection, slotName: string, temporarySlot?: boolean, slotSnapshotInitMode?: Nullable_1<LogicalSlotSnapshotInitMode>, twoPhase?: boolean, cancellationToken?: CancellationToken): Task_1<PgOutputReplicationSlot>;
|
|
204
|
+
static StartReplication(connection: LogicalReplicationConnection, slot: PgOutputReplicationSlot, options: PgOutputReplicationOptions, cancellationToken: CancellationToken, walLocation?: Nullable_1<NpgsqlLogSequenceNumber>): IAsyncEnumerable_1<PgOutputReplicationMessage>;
|
|
185
205
|
}
|
|
186
206
|
|
|
187
207
|
|
|
188
208
|
export type PgOutputConnectionExtensions = PgOutputConnectionExtensions$instance;
|
|
189
209
|
|
|
190
210
|
export abstract class TestDecodingConnectionExtensions$instance {
|
|
191
|
-
static CreateTestDecodingReplicationSlot(connection: LogicalReplicationConnection, slotName: string, temporarySlot?: boolean, slotSnapshotInitMode?:
|
|
192
|
-
static StartReplication(connection: LogicalReplicationConnection, slot: TestDecodingReplicationSlot, cancellationToken: CancellationToken, options?: TestDecodingOptions, walLocation?:
|
|
211
|
+
static CreateTestDecodingReplicationSlot(connection: LogicalReplicationConnection, slotName: string, temporarySlot?: boolean, slotSnapshotInitMode?: Nullable_1<LogicalSlotSnapshotInitMode>, twoPhase?: boolean, cancellationToken?: CancellationToken): Task_1<TestDecodingReplicationSlot>;
|
|
212
|
+
static StartReplication(connection: LogicalReplicationConnection, slot: TestDecodingReplicationSlot, cancellationToken: CancellationToken, options?: TestDecodingOptions, walLocation?: Nullable_1<NpgsqlLogSequenceNumber>): IAsyncEnumerable_1<TestDecodingData>;
|
|
193
213
|
}
|
|
194
214
|
|
|
195
215
|
|
|
@@ -9,13 +9,15 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import * as Npgsql_Replication_Internal from "../../Npgsql.Replication/internal/index.js";
|
|
10
10
|
import type { LogicalReplicationConnection, LogicalSlotSnapshotInitMode, ReplicationSlot, ReplicationSlotOptions, XLogDataMessage } from "../../Npgsql.Replication/internal/index.js";
|
|
11
11
|
import type { NpgsqlLogSequenceNumber } from "../../NpgsqlTypes/internal/index.js";
|
|
12
|
-
import type {
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
12
|
+
import type { IAsyncEnumerable_1, IEnumerable_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
14
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Boolean as ClrBoolean, Nullable_1, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
17
|
|
|
18
18
|
export interface LogicalReplicationSlot$instance extends ReplicationSlot {
|
|
19
|
+
readonly __tsonic_type_Npgsql_Replication_Internal_LogicalReplicationSlot: never;
|
|
20
|
+
|
|
19
21
|
readonly ConsistentPoint: NpgsqlLogSequenceNumber;
|
|
20
22
|
readonly OutputPlugin: string;
|
|
21
23
|
readonly SnapshotName: string | undefined;
|
|
@@ -29,8 +31,8 @@ export const LogicalReplicationSlot: (abstract new(outputPlugin: string, replica
|
|
|
29
31
|
export type LogicalReplicationSlot = LogicalReplicationSlot$instance;
|
|
30
32
|
|
|
31
33
|
export abstract class LogicalReplicationConnectionExtensions$instance {
|
|
32
|
-
static CreateLogicalReplicationSlot(connection: LogicalReplicationConnection, slotName: string, outputPlugin: string, isTemporary?: boolean, slotSnapshotInitMode?:
|
|
33
|
-
static StartLogicalReplication(connection: LogicalReplicationConnection, slot: LogicalReplicationSlot, cancellationToken: CancellationToken, walLocation?:
|
|
34
|
+
static CreateLogicalReplicationSlot(connection: LogicalReplicationConnection, slotName: string, outputPlugin: string, isTemporary?: boolean, slotSnapshotInitMode?: Nullable_1<LogicalSlotSnapshotInitMode>, twoPhase?: boolean, cancellationToken?: CancellationToken): Task_1<ReplicationSlotOptions>;
|
|
35
|
+
static StartLogicalReplication(connection: LogicalReplicationConnection, slot: LogicalReplicationSlot, cancellationToken: CancellationToken, walLocation?: Nullable_1<NpgsqlLogSequenceNumber>, options?: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>, bypassingStream?: boolean): IAsyncEnumerable_1<XLogDataMessage>;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
@@ -11,13 +11,13 @@ import * as Npgsql_Replication_Internal_Internal from "../../Npgsql.Replication.
|
|
|
11
11
|
import type { LogicalReplicationSlot } from "../../Npgsql.Replication.Internal/internal/index.js";
|
|
12
12
|
import type { ReplicationSlotOptions } from "../../Npgsql.Replication/internal/index.js";
|
|
13
13
|
import type { NpgsqlLogSequenceNumber } from "../../NpgsqlTypes/internal/index.js";
|
|
14
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
15
|
-
import type {
|
|
16
|
-
import type { Stream, TextReader } from "@tsonic/dotnet/System.IO.js";
|
|
17
|
-
import
|
|
18
|
-
import type {
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
14
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import type { IAsyncEnumerable_1, IAsyncEnumerator_1, IEnumerable_1, List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
16
|
+
import type { Stream, TextReader } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
17
|
+
import type { ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
18
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
19
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
20
|
+
import type { Boolean as ClrBoolean, Byte, Enum, IComparable, IConvertible, IEquatable_1, IFormattable, Int32, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, Type, UInt16, UInt64 } from "@tsonic/dotnet/System/internal/index.js";
|
|
21
21
|
|
|
22
22
|
export enum PgOutputProtocolVersion {
|
|
23
23
|
V1 = 1,
|
|
@@ -43,14 +43,16 @@ export enum TupleDataKind {
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export interface PgOutputReplicationOptions$instance {
|
|
46
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_PgOutputReplicationOptions: never;
|
|
47
|
+
|
|
46
48
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
47
49
|
|
|
48
|
-
readonly Binary:
|
|
49
|
-
readonly Messages:
|
|
50
|
+
readonly Binary: Nullable_1<System_Internal.Boolean>;
|
|
51
|
+
readonly Messages: Nullable_1<System_Internal.Boolean>;
|
|
50
52
|
readonly ProtocolVersion: PgOutputProtocolVersion;
|
|
51
|
-
readonly PublicationNames:
|
|
52
|
-
readonly StreamingMode:
|
|
53
|
-
readonly TwoPhase:
|
|
53
|
+
readonly PublicationNames: List_1<System_Internal.String>;
|
|
54
|
+
readonly StreamingMode: Nullable_1<PgOutputStreamingMode>;
|
|
55
|
+
readonly TwoPhase: Nullable_1<System_Internal.Boolean>;
|
|
54
56
|
Equals(other: PgOutputReplicationOptions): boolean;
|
|
55
57
|
Equals(obj: unknown): boolean;
|
|
56
58
|
GetHashCode(): int;
|
|
@@ -58,16 +60,18 @@ export interface PgOutputReplicationOptions$instance {
|
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
export const PgOutputReplicationOptions: {
|
|
61
|
-
new(publicationName: string, protocolVersion: ulong, binary:
|
|
62
|
-
new(publicationName: string, protocolVersion: PgOutputProtocolVersion, binary:
|
|
63
|
-
new(publicationNames:
|
|
64
|
-
new(publicationNames:
|
|
63
|
+
new(publicationName: string, protocolVersion: ulong, binary: Nullable_1<System_Internal.Boolean>, streaming: Nullable_1<System_Internal.Boolean>, messages: Nullable_1<System_Internal.Boolean>, twoPhase: Nullable_1<System_Internal.Boolean>): PgOutputReplicationOptions;
|
|
64
|
+
new(publicationName: string, protocolVersion: PgOutputProtocolVersion, binary: Nullable_1<System_Internal.Boolean>, streamingMode: Nullable_1<PgOutputStreamingMode>, messages: Nullable_1<System_Internal.Boolean>, twoPhase: Nullable_1<System_Internal.Boolean>): PgOutputReplicationOptions;
|
|
65
|
+
new(publicationNames: IEnumerable_1<System_Internal.String>, protocolVersion: ulong, binary: Nullable_1<System_Internal.Boolean>, streaming: Nullable_1<System_Internal.Boolean>, messages: Nullable_1<System_Internal.Boolean>, twoPhase: Nullable_1<System_Internal.Boolean>): PgOutputReplicationOptions;
|
|
66
|
+
new(publicationNames: IEnumerable_1<System_Internal.String>, protocolVersion: PgOutputProtocolVersion, binary: Nullable_1<System_Internal.Boolean>, streamingMode: Nullable_1<PgOutputStreamingMode>, messages: Nullable_1<System_Internal.Boolean>, twoPhase: Nullable_1<System_Internal.Boolean>): PgOutputReplicationOptions;
|
|
65
67
|
};
|
|
66
68
|
|
|
67
69
|
|
|
68
70
|
export type PgOutputReplicationOptions = PgOutputReplicationOptions$instance;
|
|
69
71
|
|
|
70
72
|
export interface PgOutputReplicationSlot$instance extends LogicalReplicationSlot {
|
|
73
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_PgOutputReplicationSlot: never;
|
|
74
|
+
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
|
|
@@ -80,10 +84,12 @@ export const PgOutputReplicationSlot: {
|
|
|
80
84
|
export type PgOutputReplicationSlot = PgOutputReplicationSlot$instance;
|
|
81
85
|
|
|
82
86
|
export interface ReplicationTuple$instance {
|
|
87
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_ReplicationTuple: never;
|
|
88
|
+
|
|
83
89
|
readonly __tsonic_iface_System_Collections_Generic_IAsyncEnumerable_1: never;
|
|
84
90
|
|
|
85
91
|
NumColumns: ushort;
|
|
86
|
-
GetAsyncEnumerator(cancellationToken?: CancellationToken):
|
|
92
|
+
GetAsyncEnumerator(cancellationToken?: CancellationToken): IAsyncEnumerator_1<ReplicationValue>;
|
|
87
93
|
}
|
|
88
94
|
|
|
89
95
|
|
|
@@ -94,12 +100,14 @@ export const ReplicationTuple: {
|
|
|
94
100
|
export type ReplicationTuple = ReplicationTuple$instance;
|
|
95
101
|
|
|
96
102
|
export interface ReplicationValue$instance {
|
|
103
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_ReplicationValue: never;
|
|
104
|
+
|
|
97
105
|
readonly IsDBNull: boolean;
|
|
98
106
|
readonly IsUnchangedToastedValue: boolean;
|
|
99
107
|
Kind: TupleDataKind;
|
|
100
108
|
Length: int;
|
|
101
|
-
Get<T>(cancellationToken?: CancellationToken):
|
|
102
|
-
Get(cancellationToken?: CancellationToken):
|
|
109
|
+
Get<T>(cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
110
|
+
Get(cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
103
111
|
GetDataTypeName(): string;
|
|
104
112
|
GetFieldName(): string;
|
|
105
113
|
GetFieldType(): Type;
|