@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
|
@@ -14,17 +14,17 @@ import type { PostgresType } from "../../Npgsql.PostgresTypes/internal/index.js"
|
|
|
14
14
|
import type { NpgsqlTimeout } from "../../Npgsql.Util/internal/index.js";
|
|
15
15
|
import type { ArrayNullabilityMode, INpgsqlNameTranslator, NpgsqlBatch, NpgsqlCommand, NpgsqlConnectionStringBuilder } from "../../Npgsql/internal/index.js";
|
|
16
16
|
import type { NpgsqlRange_1 } from "../../NpgsqlTypes/internal/index.js";
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type { DbType } from "@tsonic/dotnet/System.Data.js";
|
|
20
|
-
import type { Stream, TextReader } from "@tsonic/dotnet/System.IO.js";
|
|
21
|
-
import * as
|
|
22
|
-
import type {
|
|
23
|
-
import
|
|
24
|
-
import type {
|
|
25
|
-
import type {
|
|
26
|
-
import
|
|
27
|
-
import type {
|
|
17
|
+
import type { ReadOnlySequence_1 } from "@tsonic/dotnet/System.Buffers/internal/index.js";
|
|
18
|
+
import type { IEnumerable_1, IReadOnlyList_1, List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
19
|
+
import type { DbType } from "@tsonic/dotnet/System.Data/internal/index.js";
|
|
20
|
+
import type { Stream, TextReader } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
21
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
22
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
23
|
+
import type { Encoding } from "@tsonic/dotnet/System.Text/internal/index.js";
|
|
24
|
+
import type { Task_1, ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
25
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
26
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
27
|
+
import type { ArgumentOutOfRangeException, AsyncCallback, Boolean as ClrBoolean, Byte, Char, Double, Enum, Func_1, Func_2, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IEquatable_1, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, Memory_1, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Single, Span_1, String as ClrString, TimeSpan, Type, UInt16, UInt32, UInt64, ValueType, Version, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
28
28
|
|
|
29
29
|
export enum DataFormat {
|
|
30
30
|
Binary = 0,
|
|
@@ -50,28 +50,38 @@ export type TypeInfoFactory = (options: PgSerializerOptions, mapping: TypeInfoMa
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IDbTypeResolver$instance {
|
|
53
|
+
readonly __tsonic_iface_Npgsql_Internal_IDbTypeResolver: never;
|
|
54
|
+
|
|
53
55
|
GetDataTypeName(dbType: DbType, type: Type): string | undefined;
|
|
54
|
-
GetDbType(dataTypeName: DataTypeName):
|
|
56
|
+
GetDbType(dataTypeName: DataTypeName): Nullable_1<DbType>;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
|
|
58
60
|
export type IDbTypeResolver = IDbTypeResolver$instance;
|
|
59
61
|
|
|
60
62
|
export interface INpgsqlDatabaseInfoFactory$instance {
|
|
61
|
-
|
|
63
|
+
readonly __tsonic_iface_Npgsql_Internal_INpgsqlDatabaseInfoFactory: never;
|
|
64
|
+
|
|
65
|
+
Load(conn: NpgsqlConnector, timeout: NpgsqlTimeout, async: boolean): Task_1<NpgsqlDatabaseInfo | undefined>;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
|
|
65
69
|
export type INpgsqlDatabaseInfoFactory = INpgsqlDatabaseInfoFactory$instance;
|
|
66
70
|
|
|
67
71
|
export interface IPgTypeInfoResolver$instance {
|
|
68
|
-
|
|
72
|
+
readonly __tsonic_iface_Npgsql_Internal_IPgTypeInfoResolver: never;
|
|
73
|
+
|
|
74
|
+
GetTypeInfo(type: Type, dataTypeName: Nullable_1<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
|
|
72
78
|
export type IPgTypeInfoResolver = IPgTypeInfoResolver$instance;
|
|
73
79
|
|
|
74
80
|
export interface BufferRequirements$instance {
|
|
81
|
+
readonly __tsonic_type_Npgsql_Internal_BufferRequirements: never;
|
|
82
|
+
|
|
83
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
84
|
+
|
|
75
85
|
readonly Read: Size;
|
|
76
86
|
readonly Write: Size;
|
|
77
87
|
Combine(read: Size, write: Size): BufferRequirements;
|
|
@@ -96,6 +106,11 @@ export const BufferRequirements: {
|
|
|
96
106
|
export type BufferRequirements = BufferRequirements$instance;
|
|
97
107
|
|
|
98
108
|
export interface NestedReadScope$instance {
|
|
109
|
+
readonly __tsonic_type_Npgsql_Internal_NestedReadScope: never;
|
|
110
|
+
|
|
111
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
112
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
113
|
+
|
|
99
114
|
Dispose(): void;
|
|
100
115
|
DisposeAsync(): ValueTask;
|
|
101
116
|
}
|
|
@@ -109,6 +124,10 @@ export const NestedReadScope: {
|
|
|
109
124
|
export type NestedReadScope = NestedReadScope$instance;
|
|
110
125
|
|
|
111
126
|
export interface NestedWriteScope$instance {
|
|
127
|
+
readonly __tsonic_type_Npgsql_Internal_NestedWriteScope: never;
|
|
128
|
+
|
|
129
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
130
|
+
|
|
112
131
|
Dispose(): void;
|
|
113
132
|
}
|
|
114
133
|
|
|
@@ -121,6 +140,8 @@ export const NestedWriteScope: {
|
|
|
121
140
|
export type NestedWriteScope = NestedWriteScope$instance;
|
|
122
141
|
|
|
123
142
|
export interface PgConverterResolution$instance {
|
|
143
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverterResolution: never;
|
|
144
|
+
|
|
124
145
|
readonly Converter: PgConverter;
|
|
125
146
|
readonly PgTypeId: PgTypeId;
|
|
126
147
|
GetConverter<T>(): PgConverter_1<T>;
|
|
@@ -135,6 +156,10 @@ export const PgConverterResolution: {
|
|
|
135
156
|
export type PgConverterResolution = PgConverterResolution$instance;
|
|
136
157
|
|
|
137
158
|
export interface Size$instance {
|
|
159
|
+
readonly __tsonic_type_Npgsql_Internal_Size: never;
|
|
160
|
+
|
|
161
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
162
|
+
|
|
138
163
|
readonly Kind: SizeKind;
|
|
139
164
|
readonly Value: int;
|
|
140
165
|
Combine(other: Size): Size;
|
|
@@ -158,6 +183,8 @@ export const Size: {
|
|
|
158
183
|
export type Size = Size$instance;
|
|
159
184
|
|
|
160
185
|
export interface SizeContext$instance {
|
|
186
|
+
readonly __tsonic_type_Npgsql_Internal_SizeContext: never;
|
|
187
|
+
|
|
161
188
|
BufferRequirement: Size;
|
|
162
189
|
readonly Format: DataFormat;
|
|
163
190
|
}
|
|
@@ -171,12 +198,14 @@ export const SizeContext: {
|
|
|
171
198
|
export type SizeContext = SizeContext$instance;
|
|
172
199
|
|
|
173
200
|
export interface TypeInfoMapping$instance {
|
|
201
|
+
readonly __tsonic_type_Npgsql_Internal_TypeInfoMapping: never;
|
|
202
|
+
|
|
174
203
|
DataTypeName: string;
|
|
175
204
|
Factory: TypeInfoFactory;
|
|
176
205
|
MatchRequirement: MatchRequirement;
|
|
177
206
|
Type: Type;
|
|
178
|
-
get TypeMatchPredicate():
|
|
179
|
-
set TypeMatchPredicate(value:
|
|
207
|
+
get TypeMatchPredicate(): Func_2<Type | undefined, System_Internal.Boolean> | undefined;
|
|
208
|
+
set TypeMatchPredicate(value: Func_2<Type | undefined, System_Internal.Boolean> | undefined);
|
|
180
209
|
DataTypeNameEquals(dataTypeName: string): boolean;
|
|
181
210
|
TypeEquals(type: Type): boolean;
|
|
182
211
|
}
|
|
@@ -190,11 +219,13 @@ export const TypeInfoMapping: {
|
|
|
190
219
|
export type TypeInfoMapping = TypeInfoMapping$instance;
|
|
191
220
|
|
|
192
221
|
export interface ValueMetadata$instance {
|
|
222
|
+
readonly __tsonic_type_Npgsql_Internal_ValueMetadata: never;
|
|
223
|
+
|
|
193
224
|
BufferRequirement: Size;
|
|
194
225
|
Format: DataFormat;
|
|
195
226
|
Size: Size;
|
|
196
227
|
get WriteState(): unknown | undefined;
|
|
197
|
-
set WriteState(value: unknown);
|
|
228
|
+
set WriteState(value: unknown | undefined);
|
|
198
229
|
}
|
|
199
230
|
|
|
200
231
|
|
|
@@ -206,33 +237,33 @@ export const ValueMetadata: {
|
|
|
206
237
|
export type ValueMetadata = ValueMetadata$instance;
|
|
207
238
|
|
|
208
239
|
export interface DbTypeResolverFactory$instance {
|
|
240
|
+
readonly __tsonic_type_Npgsql_Internal_DbTypeResolverFactory: never;
|
|
241
|
+
|
|
209
242
|
CreateDbTypeResolver(databaseInfo: NpgsqlDatabaseInfo): IDbTypeResolver;
|
|
210
243
|
}
|
|
211
244
|
|
|
212
245
|
|
|
213
|
-
export const DbTypeResolverFactory: {
|
|
214
|
-
new(): DbTypeResolverFactory;
|
|
246
|
+
export const DbTypeResolverFactory: (abstract new() => DbTypeResolverFactory) & {
|
|
215
247
|
};
|
|
216
248
|
|
|
217
249
|
|
|
218
250
|
export type DbTypeResolverFactory = DbTypeResolverFactory$instance;
|
|
219
251
|
|
|
220
|
-
export
|
|
221
|
-
|
|
222
|
-
}
|
|
252
|
+
export interface DynamicTypeInfoResolver$instance extends IPgTypeInfoResolver$instance {
|
|
253
|
+
readonly __tsonic_type_Npgsql_Internal_DynamicTypeInfoResolver: never;
|
|
223
254
|
|
|
255
|
+
readonly __tsonic_iface_Npgsql_Internal_IPgTypeInfoResolver: never;
|
|
224
256
|
|
|
225
|
-
|
|
226
|
-
GetTypeInfo(type: Type, dataTypeName:
|
|
257
|
+
GetMappings(type: Type, dataTypeName: DataTypeName, options: PgSerializerOptions): unknown | undefined;
|
|
258
|
+
GetTypeInfo(type: Type, dataTypeName: Nullable_1<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
227
259
|
}
|
|
228
260
|
|
|
229
261
|
|
|
230
|
-
export const DynamicTypeInfoResolver: {
|
|
231
|
-
|
|
232
|
-
CreateCollection(baseCollection?: TypeInfoMappingCollection): DynamicTypeInfoResolver_DynamicMappingCollection;
|
|
262
|
+
export const DynamicTypeInfoResolver: (abstract new() => DynamicTypeInfoResolver) & {
|
|
263
|
+
CreateCollection(baseCollection?: TypeInfoMappingCollection): unknown;
|
|
233
264
|
IsArrayDataTypeName(dataTypeName: DataTypeName, options: PgSerializerOptions, elementDataTypeName: DataTypeName): boolean;
|
|
234
265
|
IsArrayLikeType(type: Type, elementType: Type): boolean;
|
|
235
|
-
IsTypeOrNullableOfType(type: Type, predicate:
|
|
266
|
+
IsTypeOrNullableOfType(type: Type, predicate: Func_2<Type, System_Internal.Boolean>, matchedType: Type): boolean;
|
|
236
267
|
};
|
|
237
268
|
|
|
238
269
|
|
|
@@ -240,12 +271,12 @@ export interface __DynamicTypeInfoResolver$views {
|
|
|
240
271
|
As_IPgTypeInfoResolver(): IPgTypeInfoResolver$instance;
|
|
241
272
|
}
|
|
242
273
|
|
|
243
|
-
export interface DynamicTypeInfoResolver$instance extends IPgTypeInfoResolver$instance {}
|
|
244
|
-
|
|
245
274
|
export type DynamicTypeInfoResolver = DynamicTypeInfoResolver$instance & __DynamicTypeInfoResolver$views;
|
|
246
275
|
|
|
247
276
|
|
|
248
277
|
export interface NpgsqlConnector$instance {
|
|
278
|
+
readonly __tsonic_type_Npgsql_Internal_NpgsqlConnector: never;
|
|
279
|
+
|
|
249
280
|
readonly DatabaseInfo: NpgsqlDatabaseInfo;
|
|
250
281
|
readonly Settings: NpgsqlConnectionStringBuilder;
|
|
251
282
|
TextEncoding: Encoding;
|
|
@@ -255,18 +286,14 @@ export interface NpgsqlConnector$instance {
|
|
|
255
286
|
|
|
256
287
|
|
|
257
288
|
export const NpgsqlConnector: {
|
|
258
|
-
new(): NpgsqlConnector;
|
|
259
289
|
};
|
|
260
290
|
|
|
261
291
|
|
|
262
292
|
export type NpgsqlConnector = NpgsqlConnector$instance;
|
|
263
293
|
|
|
264
|
-
export
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
-
|
|
294
|
+
export interface NpgsqlDatabaseInfo$instance {
|
|
295
|
+
readonly __tsonic_type_Npgsql_Internal_NpgsqlDatabaseInfo: never;
|
|
268
296
|
|
|
269
|
-
export interface NpgsqlDatabaseInfo$instance extends NpgsqlDatabaseInfo$protected {
|
|
270
297
|
HasIntegerDateTimes: boolean;
|
|
271
298
|
readonly Host: string;
|
|
272
299
|
readonly Name: string;
|
|
@@ -285,13 +312,12 @@ export interface NpgsqlDatabaseInfo$instance extends NpgsqlDatabaseInfo$protecte
|
|
|
285
312
|
readonly Version: Version;
|
|
286
313
|
GetPostgresType(oid: uint): PostgresType;
|
|
287
314
|
GetPostgresType(pgName: string): PostgresType;
|
|
315
|
+
GetTypes(): IEnumerable_1<PostgresType>;
|
|
288
316
|
TryGetPostgresTypeByName(pgName: string, pgType: PostgresType): boolean;
|
|
289
317
|
}
|
|
290
318
|
|
|
291
319
|
|
|
292
|
-
export const NpgsqlDatabaseInfo: {
|
|
293
|
-
new(host: string, port: int, databaseName: string, version: Version): NpgsqlDatabaseInfo;
|
|
294
|
-
new(host: string, port: int, databaseName: string, version: Version, serverVersion: string): NpgsqlDatabaseInfo;
|
|
320
|
+
export const NpgsqlDatabaseInfo: (abstract new(host: string, port: int, databaseName: string, version: Version) => NpgsqlDatabaseInfo) & (abstract new(host: string, port: int, databaseName: string, version: Version, serverVersion: string) => NpgsqlDatabaseInfo) & {
|
|
295
321
|
ParseServerVersion(value: string): Version;
|
|
296
322
|
RegisterFactory(factory: INpgsqlDatabaseInfoFactory): void;
|
|
297
323
|
};
|
|
@@ -299,30 +325,29 @@ export const NpgsqlDatabaseInfo: {
|
|
|
299
325
|
|
|
300
326
|
export type NpgsqlDatabaseInfo = NpgsqlDatabaseInfo$instance;
|
|
301
327
|
|
|
302
|
-
export
|
|
303
|
-
|
|
304
|
-
protected abstract WriteCore(writer: PgWriter, value: T): void;
|
|
305
|
-
}
|
|
306
|
-
|
|
328
|
+
export interface PgBufferedConverter_1$instance<T> extends PgConverter_1<T> {
|
|
329
|
+
readonly __tsonic_type_Npgsql_Internal_PgBufferedConverter_1: never;
|
|
307
330
|
|
|
308
|
-
export interface PgBufferedConverter_1$instance<T> extends PgBufferedConverter_1$protected<T>, PgConverter_1<T> {
|
|
309
331
|
GetSize(context: SizeContext, value: T, writeState: unknown): Size;
|
|
310
332
|
Read(reader: PgReader): T;
|
|
311
|
-
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken):
|
|
312
|
-
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken):
|
|
333
|
+
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
334
|
+
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
335
|
+
ReadCore(reader: PgReader): T;
|
|
313
336
|
Write(writer: PgWriter, value: T): void;
|
|
314
337
|
WriteAsync(writer: PgWriter, value: T, cancellationToken?: CancellationToken): ValueTask;
|
|
338
|
+
WriteCore(writer: PgWriter, value: T): void;
|
|
315
339
|
}
|
|
316
340
|
|
|
317
341
|
|
|
318
|
-
export const PgBufferedConverter_1: {
|
|
319
|
-
new<T>(customDbNullPredicate: boolean): PgBufferedConverter_1<T>;
|
|
342
|
+
export const PgBufferedConverter_1: (abstract new<T>(customDbNullPredicate: boolean) => PgBufferedConverter_1<T>) & {
|
|
320
343
|
};
|
|
321
344
|
|
|
322
345
|
|
|
323
346
|
export type PgBufferedConverter_1<T> = PgBufferedConverter_1$instance<T>;
|
|
324
347
|
|
|
325
348
|
export interface PgConverter$instance {
|
|
349
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverter: never;
|
|
350
|
+
|
|
326
351
|
readonly IsDbNullable: boolean;
|
|
327
352
|
CanConvert(format: DataFormat, bufferRequirements: BufferRequirements): boolean;
|
|
328
353
|
}
|
|
@@ -334,16 +359,14 @@ export const PgConverter: {
|
|
|
334
359
|
|
|
335
360
|
export type PgConverter = PgConverter$instance;
|
|
336
361
|
|
|
337
|
-
export
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
|
|
362
|
+
export interface PgConverter_1$instance<T> extends PgConverter {
|
|
363
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverter_1: never;
|
|
341
364
|
|
|
342
|
-
export interface PgConverter_1$instance<T> extends PgConverter_1$protected<T>, PgConverter {
|
|
343
365
|
GetSize(context: SizeContext, value: T, writeState: unknown): Size;
|
|
344
366
|
IsDbNull(value: T, writeState: unknown): boolean;
|
|
367
|
+
IsDbNullValue(value: T, writeState: unknown): boolean;
|
|
345
368
|
Read(reader: PgReader): T;
|
|
346
|
-
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken):
|
|
369
|
+
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
347
370
|
Write(writer: PgWriter, value: T): void;
|
|
348
371
|
WriteAsync(writer: PgWriter, value: T, cancellationToken?: CancellationToken): ValueTask;
|
|
349
372
|
}
|
|
@@ -356,8 +379,10 @@ export const PgConverter_1: {
|
|
|
356
379
|
export type PgConverter_1<T> = PgConverter_1$instance<T>;
|
|
357
380
|
|
|
358
381
|
export interface PgConverterResolver$instance {
|
|
382
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverterResolver: never;
|
|
383
|
+
|
|
359
384
|
Get(field: Field): PgConverterResolution;
|
|
360
|
-
GetDefault(pgTypeId:
|
|
385
|
+
GetDefault(pgTypeId: Nullable_1<PgTypeId>): PgConverterResolution;
|
|
361
386
|
}
|
|
362
387
|
|
|
363
388
|
|
|
@@ -368,82 +393,88 @@ export const PgConverterResolver: {
|
|
|
368
393
|
export type PgConverterResolver = PgConverterResolver$instance;
|
|
369
394
|
|
|
370
395
|
export interface PgConverterResolver_1$instance<T> extends PgConverterResolver {
|
|
371
|
-
|
|
396
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverterResolver_1: never;
|
|
397
|
+
|
|
398
|
+
Get(value: T, expectedPgTypeId: Nullable_1<PgTypeId>): Nullable_1<PgConverterResolution>;
|
|
372
399
|
Get(field: Field): PgConverterResolution;
|
|
373
400
|
}
|
|
374
401
|
|
|
375
402
|
|
|
376
|
-
export const PgConverterResolver_1: {
|
|
377
|
-
new<T>(): PgConverterResolver_1<T>;
|
|
403
|
+
export const PgConverterResolver_1: (abstract new<T>() => PgConverterResolver_1<T>) & {
|
|
378
404
|
};
|
|
379
405
|
|
|
380
406
|
|
|
381
407
|
export type PgConverterResolver_1<T> = PgConverterResolver_1$instance<T>;
|
|
382
408
|
|
|
383
409
|
export interface PgReader$instance {
|
|
410
|
+
readonly __tsonic_type_Npgsql_Internal_PgReader: never;
|
|
411
|
+
|
|
384
412
|
readonly Current: ValueMetadata;
|
|
385
413
|
readonly CurrentRemaining: int;
|
|
386
414
|
readonly IsResumed: boolean;
|
|
387
415
|
BeginNestedRead(size: int, bufferRequirement: Size): NestedReadScope;
|
|
388
|
-
BeginNestedReadAsync(size: int, bufferRequirement: Size, cancellationToken?: CancellationToken):
|
|
416
|
+
BeginNestedReadAsync(size: int, bufferRequirement: Size, cancellationToken?: CancellationToken): ValueTask_1<NestedReadScope>;
|
|
389
417
|
Buffer(bufferRequirement: Size): void;
|
|
390
418
|
Buffer(byteCount: int): void;
|
|
391
419
|
BufferAsync(bufferRequirement: Size, cancellationToken: CancellationToken): ValueTask;
|
|
392
420
|
BufferAsync(byteCount: int, cancellationToken: CancellationToken): ValueTask;
|
|
393
|
-
Consume(count?:
|
|
394
|
-
ConsumeAsync(count?:
|
|
395
|
-
GetStream(length?:
|
|
421
|
+
Consume(count?: Nullable_1<System_Internal.Int32>): void;
|
|
422
|
+
ConsumeAsync(count?: Nullable_1<System_Internal.Int32>, cancellationToken?: CancellationToken): ValueTask;
|
|
423
|
+
GetStream(length?: Nullable_1<System_Internal.Int32>): Stream;
|
|
396
424
|
GetTextReader(encoding: Encoding): TextReader;
|
|
397
|
-
GetTextReaderAsync(encoding: Encoding, cancellationToken: CancellationToken):
|
|
398
|
-
Read(destination:
|
|
425
|
+
GetTextReaderAsync(encoding: Encoding, cancellationToken: CancellationToken): ValueTask_1<TextReader>;
|
|
426
|
+
Read(destination: Span_1<System_Internal.Byte>): void;
|
|
399
427
|
ReadByte(): byte;
|
|
400
|
-
ReadBytes(buffer:
|
|
401
|
-
ReadBytes(count: int):
|
|
402
|
-
ReadBytesAsync(buffer:
|
|
403
|
-
ReadBytesAsync(count: int, cancellationToken?: CancellationToken):
|
|
428
|
+
ReadBytes(buffer: Span_1<System_Internal.Byte>): void;
|
|
429
|
+
ReadBytes(count: int): ReadOnlySequence_1<System_Internal.Byte>;
|
|
430
|
+
ReadBytesAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
431
|
+
ReadBytesAsync(count: int, cancellationToken?: CancellationToken): ValueTask_1<ReadOnlySequence_1<System_Internal.Byte>>;
|
|
404
432
|
ReadDouble(): double;
|
|
405
433
|
ReadFloat(): float;
|
|
406
434
|
ReadInt16(): short;
|
|
407
435
|
ReadInt32(): int;
|
|
408
436
|
ReadInt64(): long;
|
|
409
437
|
ReadNullTerminatedString(encoding: Encoding): string;
|
|
410
|
-
ReadNullTerminatedStringAsync(encoding: Encoding, cancellationToken?: CancellationToken):
|
|
438
|
+
ReadNullTerminatedStringAsync(encoding: Encoding, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
411
439
|
ReadUInt16(): ushort;
|
|
412
440
|
ReadUInt32(): uint;
|
|
413
441
|
ReadUInt64(): ulong;
|
|
414
442
|
Rewind(count: int): void;
|
|
415
443
|
ShouldBuffer(bufferRequirement: Size): boolean;
|
|
416
444
|
ShouldBuffer(byteCount: int): boolean;
|
|
417
|
-
TryReadBytes(count: int, bytes:
|
|
418
|
-
TryReadBytes(count: int, bytes:
|
|
445
|
+
TryReadBytes(count: int, bytes: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
446
|
+
TryReadBytes(count: int, bytes: ReadOnlyMemory_1<System_Internal.Byte>): boolean;
|
|
419
447
|
}
|
|
420
448
|
|
|
421
449
|
|
|
422
450
|
export const PgReader: {
|
|
423
|
-
new(): PgReader;
|
|
424
451
|
};
|
|
425
452
|
|
|
426
453
|
|
|
427
454
|
export type PgReader = PgReader$instance;
|
|
428
455
|
|
|
429
456
|
export interface PgResolverTypeInfo$instance extends PgTypeInfo {
|
|
457
|
+
readonly __tsonic_type_Npgsql_Internal_PgResolverTypeInfo: never;
|
|
458
|
+
|
|
430
459
|
GetConverterResolver(): PgConverterResolver;
|
|
431
|
-
GetDefaultResolution(expectedPgTypeId:
|
|
432
|
-
GetResolution<T>(value: T, expectedPgTypeId:
|
|
460
|
+
GetDefaultResolution(expectedPgTypeId: Nullable_1<PgTypeId>): PgConverterResolution;
|
|
461
|
+
GetResolution<T>(value: T, expectedPgTypeId: Nullable_1<PgTypeId>): Nullable_1<PgConverterResolution>;
|
|
433
462
|
GetResolution(field: Field): PgConverterResolution;
|
|
434
463
|
GetResolution<T>(value: T): PgConverterResolution;
|
|
435
|
-
GetResolutionAsObject(value: unknown, expectedPgTypeId:
|
|
464
|
+
GetResolutionAsObject(value: unknown, expectedPgTypeId: Nullable_1<PgTypeId>): Nullable_1<PgConverterResolution>;
|
|
436
465
|
}
|
|
437
466
|
|
|
438
467
|
|
|
439
468
|
export const PgResolverTypeInfo: {
|
|
440
|
-
new(options: PgSerializerOptions, converterResolver: PgConverterResolver, pgTypeId:
|
|
469
|
+
new(options: PgSerializerOptions, converterResolver: PgConverterResolver, pgTypeId: Nullable_1<PgTypeId>, unboxedType: Type): PgResolverTypeInfo;
|
|
441
470
|
};
|
|
442
471
|
|
|
443
472
|
|
|
444
473
|
export type PgResolverTypeInfo = PgResolverTypeInfo$instance;
|
|
445
474
|
|
|
446
475
|
export interface PgSerializerOptions$instance {
|
|
476
|
+
readonly __tsonic_type_Npgsql_Internal_PgSerializerOptions: never;
|
|
477
|
+
|
|
447
478
|
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
448
479
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
449
480
|
EnableDateTimeInfinityConversions: boolean;
|
|
@@ -465,7 +496,6 @@ export interface PgSerializerOptions$instance {
|
|
|
465
496
|
|
|
466
497
|
|
|
467
498
|
export const PgSerializerOptions: {
|
|
468
|
-
new(): PgSerializerOptions;
|
|
469
499
|
IsWellKnownTextType(type: Type): boolean;
|
|
470
500
|
};
|
|
471
501
|
|
|
@@ -473,25 +503,28 @@ export const PgSerializerOptions: {
|
|
|
473
503
|
export type PgSerializerOptions = PgSerializerOptions$instance;
|
|
474
504
|
|
|
475
505
|
export interface PgStreamingConverter_1$instance<T> extends PgConverter_1<T> {
|
|
506
|
+
readonly __tsonic_type_Npgsql_Internal_PgStreamingConverter_1: never;
|
|
507
|
+
|
|
476
508
|
CanConvert(format: DataFormat, bufferRequirements: BufferRequirements): boolean;
|
|
477
509
|
}
|
|
478
510
|
|
|
479
511
|
|
|
480
|
-
export const PgStreamingConverter_1: {
|
|
481
|
-
new<T>(customDbNullPredicate: boolean): PgStreamingConverter_1<T>;
|
|
512
|
+
export const PgStreamingConverter_1: (abstract new<T>(customDbNullPredicate: boolean) => PgStreamingConverter_1<T>) & {
|
|
482
513
|
};
|
|
483
514
|
|
|
484
515
|
|
|
485
516
|
export type PgStreamingConverter_1<T> = PgStreamingConverter_1$instance<T>;
|
|
486
517
|
|
|
487
518
|
export interface PgTypeInfo$instance {
|
|
519
|
+
readonly __tsonic_type_Npgsql_Internal_PgTypeInfo: never;
|
|
520
|
+
|
|
488
521
|
readonly Options: PgSerializerOptions;
|
|
489
|
-
readonly PgTypeId:
|
|
490
|
-
PreferredFormat:
|
|
522
|
+
readonly PgTypeId: Nullable_1<PgTypeId>;
|
|
523
|
+
PreferredFormat: Nullable_1<DataFormat>;
|
|
491
524
|
SupportsReading: boolean;
|
|
492
525
|
SupportsWriting: boolean;
|
|
493
526
|
readonly Type: Type;
|
|
494
|
-
GetBufferRequirements(converter: PgConverter, format: DataFormat):
|
|
527
|
+
GetBufferRequirements(converter: PgConverter, format: DataFormat): Nullable_1<BufferRequirements>;
|
|
495
528
|
GetObjectResolution(value: unknown): PgConverterResolution;
|
|
496
529
|
GetResolution<T>(value: T): PgConverterResolution;
|
|
497
530
|
}
|
|
@@ -505,6 +538,8 @@ export const PgTypeInfo: {
|
|
|
505
538
|
export type PgTypeInfo = PgTypeInfo$instance;
|
|
506
539
|
|
|
507
540
|
export interface PgTypeInfoResolverFactory$instance {
|
|
541
|
+
readonly __tsonic_type_Npgsql_Internal_PgTypeInfoResolverFactory: never;
|
|
542
|
+
|
|
508
543
|
CreateArrayResolver(): IPgTypeInfoResolver | undefined;
|
|
509
544
|
CreateMultirangeArrayResolver(): IPgTypeInfoResolver | undefined;
|
|
510
545
|
CreateMultirangeResolver(): IPgTypeInfoResolver | undefined;
|
|
@@ -514,17 +549,18 @@ export interface PgTypeInfoResolverFactory$instance {
|
|
|
514
549
|
}
|
|
515
550
|
|
|
516
551
|
|
|
517
|
-
export const PgTypeInfoResolverFactory: {
|
|
518
|
-
new(): PgTypeInfoResolverFactory;
|
|
552
|
+
export const PgTypeInfoResolverFactory: (abstract new() => PgTypeInfoResolverFactory) & {
|
|
519
553
|
};
|
|
520
554
|
|
|
521
555
|
|
|
522
556
|
export type PgTypeInfoResolverFactory = PgTypeInfoResolverFactory$instance;
|
|
523
557
|
|
|
524
558
|
export interface PgWriter$instance {
|
|
559
|
+
readonly __tsonic_type_Npgsql_Internal_PgWriter: never;
|
|
560
|
+
|
|
525
561
|
readonly Current: ValueMetadata;
|
|
526
562
|
BeginNestedWrite(bufferRequirement: Size, byteCount: int, state: unknown): NestedWriteScope;
|
|
527
|
-
BeginNestedWriteAsync(bufferRequirement: Size, byteCount: int, state: unknown, cancellationToken?: CancellationToken):
|
|
563
|
+
BeginNestedWriteAsync(bufferRequirement: Size, byteCount: int, state: unknown, cancellationToken?: CancellationToken): ValueTask_1<NestedWriteScope>;
|
|
528
564
|
Flush(timeout?: TimeSpan): void;
|
|
529
565
|
FlushAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
530
566
|
GetStream(allowMixedIO?: boolean): Stream;
|
|
@@ -532,10 +568,10 @@ export interface PgWriter$instance {
|
|
|
532
568
|
ShouldFlush(byteCount: int): boolean;
|
|
533
569
|
WriteAsOid(pgTypeId: PgTypeId): void;
|
|
534
570
|
WriteByte(value: byte): void;
|
|
535
|
-
WriteBytes(buffer:
|
|
536
|
-
WriteBytesAsync(buffer:
|
|
537
|
-
WriteChars(data:
|
|
538
|
-
WriteCharsAsync(data:
|
|
571
|
+
WriteBytes(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
572
|
+
WriteBytesAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
573
|
+
WriteChars(data: ReadOnlySpan_1<System_Internal.Char>, encoding: Encoding): void;
|
|
574
|
+
WriteCharsAsync(data: ReadOnlyMemory_1<System_Internal.Char>, encoding: Encoding, cancellationToken?: CancellationToken): ValueTask;
|
|
539
575
|
WriteDouble(value: double): void;
|
|
540
576
|
WriteFloat(value: float): void;
|
|
541
577
|
WriteInt16(value: short): void;
|
|
@@ -548,21 +584,22 @@ export interface PgWriter$instance {
|
|
|
548
584
|
|
|
549
585
|
|
|
550
586
|
export const PgWriter: {
|
|
551
|
-
new(): PgWriter;
|
|
552
587
|
};
|
|
553
588
|
|
|
554
589
|
|
|
555
590
|
export type PgWriter = PgWriter$instance;
|
|
556
591
|
|
|
557
592
|
export interface TypeInfoMappingCollection$instance {
|
|
558
|
-
readonly
|
|
593
|
+
readonly __tsonic_type_Npgsql_Internal_TypeInfoMappingCollection: never;
|
|
594
|
+
|
|
595
|
+
readonly Items: IReadOnlyList_1<TypeInfoMapping>;
|
|
559
596
|
Add(mapping: TypeInfoMapping): void;
|
|
560
597
|
AddArrayType<TElement>(elementDataTypeName: string): void;
|
|
561
598
|
AddArrayType<TElement>(elementDataTypeName: string, suppressObjectMapping: boolean): void;
|
|
562
599
|
AddArrayType<TElement>(elementMapping: TypeInfoMapping): void;
|
|
563
600
|
AddArrayType<TElement>(elementMapping: TypeInfoMapping, suppressObjectMapping: boolean): void;
|
|
564
|
-
AddPolymorphicResolverArrayType(elementDataTypeName: string, elementToArrayConverterFactory:
|
|
565
|
-
AddPolymorphicResolverArrayType(elementMapping: TypeInfoMapping, elementToArrayConverterFactory:
|
|
601
|
+
AddPolymorphicResolverArrayType(elementDataTypeName: string, elementToArrayConverterFactory: Func_2<PgSerializerOptions, Func_2<PgConverterResolution, PgConverter>>): void;
|
|
602
|
+
AddPolymorphicResolverArrayType(elementMapping: TypeInfoMapping, elementToArrayConverterFactory: Func_2<PgSerializerOptions, Func_2<PgConverterResolution, PgConverter>>): void;
|
|
566
603
|
AddRange(collection: TypeInfoMappingCollection): void;
|
|
567
604
|
AddResolverArrayType<TElement>(elementDataTypeName: string): void;
|
|
568
605
|
AddResolverArrayType<TElement>(elementDataTypeName: string, suppressObjectMapping: boolean): void;
|
|
@@ -574,21 +611,21 @@ export interface TypeInfoMappingCollection$instance {
|
|
|
574
611
|
AddResolverStructArrayType<TElement extends unknown>(elementMapping: TypeInfoMapping, nullableElementMapping: TypeInfoMapping, suppressObjectMapping: boolean): void;
|
|
575
612
|
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
576
613
|
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
577
|
-
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
614
|
+
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
578
615
|
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
579
616
|
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
580
|
-
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
617
|
+
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
581
618
|
AddStructArrayType<TElement extends unknown>(elementDataTypeName: string): void;
|
|
582
619
|
AddStructArrayType<TElement extends unknown>(elementDataTypeName: string, suppressObjectMapping: boolean): void;
|
|
583
620
|
AddStructArrayType<TElement extends unknown>(elementMapping: TypeInfoMapping, nullableElementMapping: TypeInfoMapping): void;
|
|
584
621
|
AddStructArrayType<TElement extends unknown>(elementMapping: TypeInfoMapping, nullableElementMapping: TypeInfoMapping, suppressObjectMapping: boolean): void;
|
|
585
622
|
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
586
623
|
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
587
|
-
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
624
|
+
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
588
625
|
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
589
626
|
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
590
|
-
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
591
|
-
Find(type: Type, dataTypeName:
|
|
627
|
+
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
628
|
+
Find(type: Type, dataTypeName: Nullable_1<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
592
629
|
}
|
|
593
630
|
|
|
594
631
|
|
|
@@ -596,7 +633,7 @@ export const TypeInfoMappingCollection: {
|
|
|
596
633
|
new(capacity: int): TypeInfoMappingCollection;
|
|
597
634
|
new(): TypeInfoMappingCollection;
|
|
598
635
|
new(baseCollection: TypeInfoMappingCollection): TypeInfoMappingCollection;
|
|
599
|
-
new(items:
|
|
636
|
+
new(items: IEnumerable_1<TypeInfoMapping>): TypeInfoMappingCollection;
|
|
600
637
|
IsArrayLikeType(type: Type, elementType: Type): boolean;
|
|
601
638
|
};
|
|
602
639
|
|
|
@@ -605,8 +642,8 @@ export type TypeInfoMappingCollection = TypeInfoMappingCollection$instance;
|
|
|
605
642
|
|
|
606
643
|
export abstract class PgConverterFactory$instance {
|
|
607
644
|
static CreateArrayMultirangeConverter<T>(rangeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<T[]>;
|
|
608
|
-
static CreateListMultirangeConverter<T>(rangeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<
|
|
609
|
-
static CreatePolymorphicArrayConverter<TBase>(arrayConverterFactory:
|
|
645
|
+
static CreateListMultirangeConverter<T>(rangeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<List_1<T>>;
|
|
646
|
+
static CreatePolymorphicArrayConverter<TBase>(arrayConverterFactory: Func_1<PgConverter_1<TBase>>, nullableArrayConverterFactory: Func_1<PgConverter_1<TBase>>, options: PgSerializerOptions): PgConverter_1<TBase>;
|
|
610
647
|
static CreateRangeConverter<T>(subTypeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<NpgsqlRange_1<T>>;
|
|
611
648
|
}
|
|
612
649
|
|
|
@@ -614,9 +651,9 @@ export abstract class PgConverterFactory$instance {
|
|
|
614
651
|
export type PgConverterFactory = PgConverterFactory$instance;
|
|
615
652
|
|
|
616
653
|
export abstract class TypeInfoMappingHelpers$instance {
|
|
617
|
-
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, converter: PgConverter, preferredFormat?:
|
|
654
|
+
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, converter: PgConverter, preferredFormat?: Nullable_1<DataFormat>, supportsWriting?: boolean): PgTypeInfo;
|
|
618
655
|
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, converter: PgConverter): PgTypeInfo;
|
|
619
|
-
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, resolver: PgConverterResolver, includeDataTypeName: boolean, preferredFormat?:
|
|
656
|
+
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, resolver: PgConverterResolver, includeDataTypeName: boolean, preferredFormat?: Nullable_1<DataFormat>, supportsWriting?: boolean): PgResolverTypeInfo;
|
|
620
657
|
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, resolver: PgConverterResolver, includeDataTypeName: boolean): PgResolverTypeInfo;
|
|
621
658
|
}
|
|
622
659
|
|
|
@@ -6,10 +6,14 @@
|
|
|
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 * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type { Boolean as ClrBoolean,
|
|
9
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
10
|
+
import type { Boolean as ClrBoolean, IEquatable_1, Int32, Object as ClrObject, String as ClrString, UInt32, ValueType } from "@tsonic/dotnet/System/internal/index.js";
|
|
11
11
|
|
|
12
12
|
export interface DataTypeName$instance {
|
|
13
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_DataTypeName: never;
|
|
14
|
+
|
|
15
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
16
|
+
|
|
13
17
|
readonly DisplayName: string;
|
|
14
18
|
readonly IsArray: boolean;
|
|
15
19
|
readonly IsUnqualified: boolean;
|
|
@@ -37,6 +41,8 @@ export const DataTypeName: {
|
|
|
37
41
|
export type DataTypeName = DataTypeName$instance;
|
|
38
42
|
|
|
39
43
|
export interface Field$instance {
|
|
44
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_Field: never;
|
|
45
|
+
|
|
40
46
|
Name: string;
|
|
41
47
|
PgTypeId: PgTypeId;
|
|
42
48
|
TypeModifier: int;
|
|
@@ -51,6 +57,10 @@ export const Field: {
|
|
|
51
57
|
export type Field = Field$instance;
|
|
52
58
|
|
|
53
59
|
export interface Oid$instance {
|
|
60
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_Oid: never;
|
|
61
|
+
|
|
62
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
63
|
+
|
|
54
64
|
Value: uint;
|
|
55
65
|
Equals(other: Oid): boolean;
|
|
56
66
|
Equals(obj: unknown): boolean;
|
|
@@ -68,6 +78,10 @@ export const Oid: {
|
|
|
68
78
|
export type Oid = Oid$instance;
|
|
69
79
|
|
|
70
80
|
export interface PgTypeId$instance {
|
|
81
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_PgTypeId: never;
|
|
82
|
+
|
|
83
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
84
|
+
|
|
71
85
|
readonly DataTypeName: DataTypeName;
|
|
72
86
|
readonly IsDataTypeName: boolean;
|
|
73
87
|
readonly IsOid: boolean;
|