@tsonic/efcore-npgsql 10.0.2 → 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 +284 -280
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Npgsql/internal/index.d.ts +402 -290
- package/Npgsql.BackendMessages/internal/index.d.ts +4 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +13 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +33 -31
- 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.Extensions.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +20 -16
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +51 -39
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +38 -33
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +32 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +73 -54
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +21 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +47 -47
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +29 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +21 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +179 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +149 -117
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +155 -148
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +17 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +79 -51
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +16 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +342 -465
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +6 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +40 -32
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +39 -26
- package/Npgsql.Internal/internal/index.d.ts +141 -104
- package/Npgsql.Internal.Postgres/internal/index.d.ts +16 -2
- package/Npgsql.NameTranslation/internal/index.d.ts +13 -9
- package/Npgsql.PostgresTypes/internal/index.d.ts +34 -23
- package/Npgsql.Replication/internal/index.d.ts +49 -25
- package/Npgsql.Replication.Internal/internal/index.d.ts +10 -9
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +31 -22
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +74 -36
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +18 -10
- package/Npgsql.Schema/internal/index.d.ts +26 -24
- package/Npgsql.TypeMapping/internal/index.d.ts +7 -3
- package/Npgsql.Util/internal/index.d.ts +4 -2
- package/NpgsqlTypes/internal/index.d.ts +145 -33
- package/__internal/extensions/index.d.ts +867 -89
- package/package.json +5 -5
|
@@ -8,11 +8,15 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Npgsql_Internal from "../../Npgsql/internal/index.js";
|
|
10
10
|
import type { INpgsqlNameTranslator } from "../../Npgsql/internal/index.js";
|
|
11
|
-
import type { CultureInfo } from "@tsonic/dotnet/System.Globalization.js";
|
|
12
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
11
|
+
import type { CultureInfo } from "@tsonic/dotnet/System.Globalization/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
|
|
15
|
+
export interface NpgsqlNullNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {
|
|
16
|
+
readonly __tsonic_type_Npgsql_NameTranslation_NpgsqlNullNameTranslator: never;
|
|
17
|
+
|
|
18
|
+
readonly __tsonic_iface_Npgsql_INpgsqlNameTranslator: never;
|
|
14
19
|
|
|
15
|
-
export interface NpgsqlNullNameTranslator$instance {
|
|
16
20
|
TranslateMemberName(clrName: string): string;
|
|
17
21
|
TranslateTypeName(clrName: string): string;
|
|
18
22
|
}
|
|
@@ -27,12 +31,14 @@ export interface __NpgsqlNullNameTranslator$views {
|
|
|
27
31
|
As_INpgsqlNameTranslator(): Npgsql_Internal.INpgsqlNameTranslator$instance;
|
|
28
32
|
}
|
|
29
33
|
|
|
30
|
-
export interface NpgsqlNullNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {}
|
|
31
|
-
|
|
32
34
|
export type NpgsqlNullNameTranslator = NpgsqlNullNameTranslator$instance & __NpgsqlNullNameTranslator$views;
|
|
33
35
|
|
|
34
36
|
|
|
35
|
-
export interface NpgsqlSnakeCaseNameTranslator$instance {
|
|
37
|
+
export interface NpgsqlSnakeCaseNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {
|
|
38
|
+
readonly __tsonic_type_Npgsql_NameTranslation_NpgsqlSnakeCaseNameTranslator: never;
|
|
39
|
+
|
|
40
|
+
readonly __tsonic_iface_Npgsql_INpgsqlNameTranslator: never;
|
|
41
|
+
|
|
36
42
|
TranslateMemberName(clrName: string): string;
|
|
37
43
|
TranslateTypeName(clrName: string): string;
|
|
38
44
|
}
|
|
@@ -49,8 +55,6 @@ export interface __NpgsqlSnakeCaseNameTranslator$views {
|
|
|
49
55
|
As_INpgsqlNameTranslator(): Npgsql_Internal.INpgsqlNameTranslator$instance;
|
|
50
56
|
}
|
|
51
57
|
|
|
52
|
-
export interface NpgsqlSnakeCaseNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {}
|
|
53
|
-
|
|
54
58
|
export type NpgsqlSnakeCaseNameTranslator = NpgsqlSnakeCaseNameTranslator$instance & __NpgsqlSnakeCaseNameTranslator$views;
|
|
55
59
|
|
|
56
60
|
|
|
@@ -6,46 +6,51 @@
|
|
|
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
|
|
|
17
19
|
|
|
18
|
-
export const PostgresArrayType: {
|
|
19
|
-
new(ns: string, name: string, oid: uint, elementPostgresType: PostgresType): PostgresArrayType;
|
|
20
|
+
export const PostgresArrayType: (abstract new(ns: string, name: string, oid: uint, elementPostgresType: PostgresType) => PostgresArrayType) & {
|
|
20
21
|
};
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
export type PostgresArrayType = PostgresArrayType$instance;
|
|
24
25
|
|
|
25
26
|
export interface PostgresBaseType$instance extends PostgresType {
|
|
27
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresBaseType: never;
|
|
28
|
+
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
|
|
29
|
-
export const PostgresBaseType: {
|
|
30
|
-
new(ns: string, name: string, oid: uint): PostgresBaseType;
|
|
32
|
+
export const PostgresBaseType: (abstract new(ns: string, name: string, oid: uint) => PostgresBaseType) & {
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
export type PostgresBaseType = PostgresBaseType$instance;
|
|
35
37
|
|
|
36
38
|
export interface PostgresCompositeType$instance extends PostgresType {
|
|
37
|
-
readonly
|
|
39
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresCompositeType: never;
|
|
40
|
+
|
|
41
|
+
readonly Fields: IReadOnlyList_1<PostgresCompositeType_Field>;
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
|
|
41
45
|
export const PostgresCompositeType: {
|
|
42
|
-
new(): PostgresCompositeType;
|
|
43
46
|
};
|
|
44
47
|
|
|
45
48
|
|
|
46
49
|
export type PostgresCompositeType = PostgresCompositeType$instance;
|
|
47
50
|
|
|
48
51
|
export interface PostgresCompositeType_Field$instance {
|
|
52
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresCompositeType_Field: never;
|
|
53
|
+
|
|
49
54
|
readonly Name: string;
|
|
50
55
|
readonly Type: PostgresType;
|
|
51
56
|
ToString(): string;
|
|
@@ -53,66 +58,71 @@ export interface PostgresCompositeType_Field$instance {
|
|
|
53
58
|
|
|
54
59
|
|
|
55
60
|
export const PostgresCompositeType_Field: {
|
|
56
|
-
new(): PostgresCompositeType_Field;
|
|
57
61
|
};
|
|
58
62
|
|
|
59
63
|
|
|
60
64
|
export type PostgresCompositeType_Field = PostgresCompositeType_Field$instance;
|
|
61
65
|
|
|
62
66
|
export interface PostgresDomainType$instance extends PostgresType {
|
|
67
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresDomainType: never;
|
|
68
|
+
|
|
63
69
|
readonly BaseType: PostgresType;
|
|
64
70
|
readonly NotNull: boolean;
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
|
|
68
|
-
export const PostgresDomainType: {
|
|
69
|
-
new(ns: string, name: string, oid: uint, baseType: PostgresType, notNull: boolean): PostgresDomainType;
|
|
74
|
+
export const PostgresDomainType: (abstract new(ns: string, name: string, oid: uint, baseType: PostgresType, notNull: boolean) => PostgresDomainType) & {
|
|
70
75
|
};
|
|
71
76
|
|
|
72
77
|
|
|
73
78
|
export type PostgresDomainType = PostgresDomainType$instance;
|
|
74
79
|
|
|
75
80
|
export interface PostgresEnumType$instance extends PostgresType {
|
|
76
|
-
readonly
|
|
81
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresEnumType: never;
|
|
82
|
+
|
|
83
|
+
readonly Labels: IReadOnlyList_1<System_Internal.String>;
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
|
|
80
|
-
export const PostgresEnumType: {
|
|
81
|
-
new(ns: string, name: string, oid: uint): PostgresEnumType;
|
|
87
|
+
export const PostgresEnumType: (abstract new(ns: string, name: string, oid: uint) => PostgresEnumType) & {
|
|
82
88
|
};
|
|
83
89
|
|
|
84
90
|
|
|
85
91
|
export type PostgresEnumType = PostgresEnumType$instance;
|
|
86
92
|
|
|
87
93
|
export interface PostgresMultirangeType$instance extends PostgresType {
|
|
94
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresMultirangeType: never;
|
|
95
|
+
|
|
88
96
|
readonly Subrange: PostgresRangeType;
|
|
89
97
|
}
|
|
90
98
|
|
|
91
99
|
|
|
92
|
-
export const PostgresMultirangeType: {
|
|
93
|
-
new(ns: string, name: string, oid: uint, rangePostgresType: PostgresRangeType): PostgresMultirangeType;
|
|
100
|
+
export const PostgresMultirangeType: (abstract new(ns: string, name: string, oid: uint, rangePostgresType: PostgresRangeType) => PostgresMultirangeType) & {
|
|
94
101
|
};
|
|
95
102
|
|
|
96
103
|
|
|
97
104
|
export type PostgresMultirangeType = PostgresMultirangeType$instance;
|
|
98
105
|
|
|
99
106
|
export interface PostgresRangeType$instance extends PostgresType {
|
|
107
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresRangeType: never;
|
|
108
|
+
|
|
100
109
|
get Multirange(): PostgresMultirangeType | undefined;
|
|
101
|
-
set Multirange(value: PostgresMultirangeType);
|
|
110
|
+
set Multirange(value: PostgresMultirangeType | undefined);
|
|
102
111
|
readonly Subtype: PostgresType;
|
|
103
112
|
}
|
|
104
113
|
|
|
105
114
|
|
|
106
|
-
export const PostgresRangeType: {
|
|
107
|
-
new(ns: string, name: string, oid: uint, subtypePostgresType: PostgresType): PostgresRangeType;
|
|
115
|
+
export const PostgresRangeType: (abstract new(ns: string, name: string, oid: uint, subtypePostgresType: PostgresType) => PostgresRangeType) & {
|
|
108
116
|
};
|
|
109
117
|
|
|
110
118
|
|
|
111
119
|
export type PostgresRangeType = PostgresRangeType$instance;
|
|
112
120
|
|
|
113
121
|
export interface PostgresType$instance {
|
|
122
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_PostgresType: never;
|
|
123
|
+
|
|
114
124
|
get Array(): PostgresArrayType | undefined;
|
|
115
|
-
set Array(value: PostgresArrayType);
|
|
125
|
+
set Array(value: PostgresArrayType | undefined);
|
|
116
126
|
readonly DisplayName: string;
|
|
117
127
|
readonly FullName: string;
|
|
118
128
|
readonly InternalName: string;
|
|
@@ -120,7 +130,7 @@ export interface PostgresType$instance {
|
|
|
120
130
|
readonly Namespace: string;
|
|
121
131
|
readonly OID: uint;
|
|
122
132
|
get Range(): PostgresRangeType | undefined;
|
|
123
|
-
set Range(value: PostgresRangeType);
|
|
133
|
+
set Range(value: PostgresRangeType | undefined);
|
|
124
134
|
ToString(): string;
|
|
125
135
|
}
|
|
126
136
|
|
|
@@ -132,11 +142,12 @@ export const PostgresType: {
|
|
|
132
142
|
export type PostgresType = PostgresType$instance;
|
|
133
143
|
|
|
134
144
|
export interface UnknownBackendType$instance extends PostgresType {
|
|
145
|
+
readonly __tsonic_type_Npgsql_PostgresTypes_UnknownBackendType: never;
|
|
146
|
+
|
|
135
147
|
}
|
|
136
148
|
|
|
137
149
|
|
|
138
150
|
export const UnknownBackendType: {
|
|
139
|
-
new(): UnknownBackendType;
|
|
140
151
|
};
|
|
141
152
|
|
|
142
153
|
|
|
@@ -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,10 @@ 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
|
+
|
|
62
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
63
|
+
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
|
|
@@ -65,11 +73,15 @@ export const LogicalReplicationConnection: {
|
|
|
65
73
|
export type LogicalReplicationConnection = LogicalReplicationConnection$instance;
|
|
66
74
|
|
|
67
75
|
export interface PhysicalReplicationConnection$instance extends ReplicationConnection {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
readonly __tsonic_type_Npgsql_Replication_PhysicalReplicationConnection: never;
|
|
77
|
+
|
|
78
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
79
|
+
|
|
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>;
|
|
73
85
|
}
|
|
74
86
|
|
|
75
87
|
|
|
@@ -82,19 +94,25 @@ export const PhysicalReplicationConnection: {
|
|
|
82
94
|
export type PhysicalReplicationConnection = PhysicalReplicationConnection$instance;
|
|
83
95
|
|
|
84
96
|
export interface PhysicalReplicationSlot$instance extends ReplicationSlot {
|
|
85
|
-
readonly
|
|
86
|
-
|
|
97
|
+
readonly __tsonic_type_Npgsql_Replication_PhysicalReplicationSlot: never;
|
|
98
|
+
|
|
99
|
+
readonly RestartLsn: Nullable_1<NpgsqlLogSequenceNumber>;
|
|
100
|
+
readonly RestartTimeline: Nullable_1<System_Internal.UInt32>;
|
|
87
101
|
}
|
|
88
102
|
|
|
89
103
|
|
|
90
104
|
export const PhysicalReplicationSlot: {
|
|
91
|
-
new(slotName: string, restartLsn:
|
|
105
|
+
new(slotName: string, restartLsn: Nullable_1<NpgsqlLogSequenceNumber>, restartTimeline: Nullable_1<System_Internal.UInt32>): PhysicalReplicationSlot;
|
|
92
106
|
};
|
|
93
107
|
|
|
94
108
|
|
|
95
109
|
export type PhysicalReplicationSlot = PhysicalReplicationSlot$instance;
|
|
96
110
|
|
|
97
111
|
export interface ReplicationConnection$instance {
|
|
112
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationConnection: never;
|
|
113
|
+
|
|
114
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
115
|
+
|
|
98
116
|
CommandTimeout: TimeSpan;
|
|
99
117
|
ConnectionString: string;
|
|
100
118
|
readonly Encoding: Encoding;
|
|
@@ -108,12 +126,12 @@ export interface ReplicationConnection$instance {
|
|
|
108
126
|
WalReceiverTimeout: TimeSpan;
|
|
109
127
|
DisposeAsync(): ValueTask;
|
|
110
128
|
DropReplicationSlot(slotName: string, wait?: boolean, cancellationToken?: CancellationToken): Task;
|
|
111
|
-
IdentifySystem(cancellationToken?: CancellationToken):
|
|
129
|
+
IdentifySystem(cancellationToken?: CancellationToken): Task_1<ReplicationSystemIdentification>;
|
|
112
130
|
Open(cancellationToken?: CancellationToken): Task;
|
|
113
131
|
SendStatusUpdate(cancellationToken?: CancellationToken): Task;
|
|
114
132
|
SetReplicationStatus(lastAppliedAndFlushedLsn: NpgsqlLogSequenceNumber): void;
|
|
115
|
-
Show(parameterName: string, cancellationToken?: CancellationToken):
|
|
116
|
-
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>;
|
|
117
135
|
}
|
|
118
136
|
|
|
119
137
|
|
|
@@ -124,20 +142,23 @@ export const ReplicationConnection: {
|
|
|
124
142
|
export type ReplicationConnection = ReplicationConnection$instance;
|
|
125
143
|
|
|
126
144
|
export interface ReplicationMessage$instance {
|
|
145
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationMessage: never;
|
|
146
|
+
|
|
127
147
|
ServerClock: DateTime;
|
|
128
148
|
WalEnd: NpgsqlLogSequenceNumber;
|
|
129
149
|
WalStart: NpgsqlLogSequenceNumber;
|
|
130
150
|
}
|
|
131
151
|
|
|
132
152
|
|
|
133
|
-
export const ReplicationMessage: {
|
|
134
|
-
new(): ReplicationMessage;
|
|
153
|
+
export const ReplicationMessage: (abstract new() => ReplicationMessage) & {
|
|
135
154
|
};
|
|
136
155
|
|
|
137
156
|
|
|
138
157
|
export type ReplicationMessage = ReplicationMessage$instance;
|
|
139
158
|
|
|
140
159
|
export interface ReplicationSlot$instance {
|
|
160
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationSlot: never;
|
|
161
|
+
|
|
141
162
|
readonly Name: string;
|
|
142
163
|
}
|
|
143
164
|
|
|
@@ -149,6 +170,8 @@ export const ReplicationSlot: {
|
|
|
149
170
|
export type ReplicationSlot = ReplicationSlot$instance;
|
|
150
171
|
|
|
151
172
|
export interface ReplicationSystemIdentification$instance {
|
|
173
|
+
readonly __tsonic_type_Npgsql_Replication_ReplicationSystemIdentification: never;
|
|
174
|
+
|
|
152
175
|
readonly DbName: string | undefined;
|
|
153
176
|
readonly SystemId: string;
|
|
154
177
|
readonly Timeline: uint;
|
|
@@ -157,13 +180,14 @@ export interface ReplicationSystemIdentification$instance {
|
|
|
157
180
|
|
|
158
181
|
|
|
159
182
|
export const ReplicationSystemIdentification: {
|
|
160
|
-
new(): ReplicationSystemIdentification;
|
|
161
183
|
};
|
|
162
184
|
|
|
163
185
|
|
|
164
186
|
export type ReplicationSystemIdentification = ReplicationSystemIdentification$instance;
|
|
165
187
|
|
|
166
188
|
export interface XLogDataMessage$instance extends ReplicationMessage {
|
|
189
|
+
readonly __tsonic_type_Npgsql_Replication_XLogDataMessage: never;
|
|
190
|
+
|
|
167
191
|
Data: Stream;
|
|
168
192
|
}
|
|
169
193
|
|
|
@@ -176,16 +200,16 @@ export const XLogDataMessage: {
|
|
|
176
200
|
export type XLogDataMessage = XLogDataMessage$instance;
|
|
177
201
|
|
|
178
202
|
export abstract class PgOutputConnectionExtensions$instance {
|
|
179
|
-
static CreatePgOutputReplicationSlot(connection: LogicalReplicationConnection, slotName: string, temporarySlot?: boolean, slotSnapshotInitMode?:
|
|
180
|
-
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>;
|
|
181
205
|
}
|
|
182
206
|
|
|
183
207
|
|
|
184
208
|
export type PgOutputConnectionExtensions = PgOutputConnectionExtensions$instance;
|
|
185
209
|
|
|
186
210
|
export abstract class TestDecodingConnectionExtensions$instance {
|
|
187
|
-
static CreateTestDecodingReplicationSlot(connection: LogicalReplicationConnection, slotName: string, temporarySlot?: boolean, slotSnapshotInitMode?:
|
|
188
|
-
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>;
|
|
189
213
|
}
|
|
190
214
|
|
|
191
215
|
|
|
@@ -9,29 +9,30 @@ 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;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
export const LogicalReplicationSlot: {
|
|
26
|
-
new(outputPlugin: string, replicationSlotOptions: ReplicationSlotOptions): LogicalReplicationSlot;
|
|
27
|
+
export const LogicalReplicationSlot: (abstract new(outputPlugin: string, replicationSlotOptions: ReplicationSlotOptions) => LogicalReplicationSlot) & {
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
export type LogicalReplicationSlot = LogicalReplicationSlot$instance;
|
|
31
32
|
|
|
32
33
|
export abstract class LogicalReplicationConnectionExtensions$instance {
|
|
33
|
-
static CreateLogicalReplicationSlot(connection: LogicalReplicationConnection, slotName: string, outputPlugin: string, isTemporary?: boolean, slotSnapshotInitMode?:
|
|
34
|
-
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>;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
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,12 +43,16 @@ export enum TupleDataKind {
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export interface PgOutputReplicationOptions$instance {
|
|
46
|
-
readonly
|
|
47
|
-
|
|
46
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_PgOutputReplicationOptions: never;
|
|
47
|
+
|
|
48
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
49
|
+
|
|
50
|
+
readonly Binary: Nullable_1<System_Internal.Boolean>;
|
|
51
|
+
readonly Messages: Nullable_1<System_Internal.Boolean>;
|
|
48
52
|
readonly ProtocolVersion: PgOutputProtocolVersion;
|
|
49
|
-
readonly PublicationNames:
|
|
50
|
-
readonly StreamingMode:
|
|
51
|
-
readonly TwoPhase:
|
|
53
|
+
readonly PublicationNames: List_1<System_Internal.String>;
|
|
54
|
+
readonly StreamingMode: Nullable_1<PgOutputStreamingMode>;
|
|
55
|
+
readonly TwoPhase: Nullable_1<System_Internal.Boolean>;
|
|
52
56
|
Equals(other: PgOutputReplicationOptions): boolean;
|
|
53
57
|
Equals(obj: unknown): boolean;
|
|
54
58
|
GetHashCode(): int;
|
|
@@ -56,48 +60,54 @@ export interface PgOutputReplicationOptions$instance {
|
|
|
56
60
|
|
|
57
61
|
|
|
58
62
|
export const PgOutputReplicationOptions: {
|
|
59
|
-
new(publicationName: string, protocolVersion: ulong, binary:
|
|
60
|
-
new(publicationName: string, protocolVersion: PgOutputProtocolVersion, binary:
|
|
61
|
-
new(publicationNames:
|
|
62
|
-
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;
|
|
63
67
|
};
|
|
64
68
|
|
|
65
69
|
|
|
66
70
|
export type PgOutputReplicationOptions = PgOutputReplicationOptions$instance;
|
|
67
71
|
|
|
68
72
|
export interface PgOutputReplicationSlot$instance extends LogicalReplicationSlot {
|
|
73
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_PgOutputReplicationSlot: never;
|
|
74
|
+
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
|
|
72
78
|
export const PgOutputReplicationSlot: {
|
|
73
79
|
new(slotName: string): PgOutputReplicationSlot;
|
|
74
80
|
new(options: ReplicationSlotOptions): PgOutputReplicationSlot;
|
|
75
|
-
new(slot: PgOutputReplicationSlot): PgOutputReplicationSlot;
|
|
76
81
|
};
|
|
77
82
|
|
|
78
83
|
|
|
79
84
|
export type PgOutputReplicationSlot = PgOutputReplicationSlot$instance;
|
|
80
85
|
|
|
81
86
|
export interface ReplicationTuple$instance {
|
|
87
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_ReplicationTuple: never;
|
|
88
|
+
|
|
89
|
+
readonly __tsonic_iface_System_Collections_Generic_IAsyncEnumerable_1: never;
|
|
90
|
+
|
|
82
91
|
NumColumns: ushort;
|
|
83
|
-
GetAsyncEnumerator(cancellationToken?: CancellationToken):
|
|
92
|
+
GetAsyncEnumerator(cancellationToken?: CancellationToken): IAsyncEnumerator_1<ReplicationValue>;
|
|
84
93
|
}
|
|
85
94
|
|
|
86
95
|
|
|
87
96
|
export const ReplicationTuple: {
|
|
88
|
-
new(): ReplicationTuple;
|
|
89
97
|
};
|
|
90
98
|
|
|
91
99
|
|
|
92
100
|
export type ReplicationTuple = ReplicationTuple$instance;
|
|
93
101
|
|
|
94
102
|
export interface ReplicationValue$instance {
|
|
103
|
+
readonly __tsonic_type_Npgsql_Replication_PgOutput_ReplicationValue: never;
|
|
104
|
+
|
|
95
105
|
readonly IsDBNull: boolean;
|
|
96
106
|
readonly IsUnchangedToastedValue: boolean;
|
|
97
107
|
Kind: TupleDataKind;
|
|
98
108
|
Length: int;
|
|
99
|
-
Get<T>(cancellationToken?: CancellationToken):
|
|
100
|
-
Get(cancellationToken?: CancellationToken):
|
|
109
|
+
Get<T>(cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
110
|
+
Get(cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
101
111
|
GetDataTypeName(): string;
|
|
102
112
|
GetFieldName(): string;
|
|
103
113
|
GetFieldType(): Type;
|
|
@@ -108,7 +118,6 @@ export interface ReplicationValue$instance {
|
|
|
108
118
|
|
|
109
119
|
|
|
110
120
|
export const ReplicationValue: {
|
|
111
|
-
new(): ReplicationValue;
|
|
112
121
|
};
|
|
113
122
|
|
|
114
123
|
|