@tsonic/efcore-npgsql 10.0.5 → 10.0.8
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 +199 -125
- 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 +20 -19
- package/Npgsql.TypeMapping/internal/index.d.ts +5 -3
- package/Npgsql.Util/internal/index.d.ts +4 -2
- package/NpgsqlTypes/internal/index.d.ts +82 -32
- package/__internal/extensions/index.d.ts +696 -658
- 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,
|
|
@@ -53,7 +53,7 @@ export interface IDbTypeResolver$instance {
|
|
|
53
53
|
readonly __tsonic_iface_Npgsql_Internal_IDbTypeResolver: never;
|
|
54
54
|
|
|
55
55
|
GetDataTypeName(dbType: DbType, type: Type): string | undefined;
|
|
56
|
-
GetDbType(dataTypeName: DataTypeName):
|
|
56
|
+
GetDbType(dataTypeName: DataTypeName): Nullable_1<DbType>;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -62,7 +62,7 @@ export type IDbTypeResolver = IDbTypeResolver$instance;
|
|
|
62
62
|
export interface INpgsqlDatabaseInfoFactory$instance {
|
|
63
63
|
readonly __tsonic_iface_Npgsql_Internal_INpgsqlDatabaseInfoFactory: never;
|
|
64
64
|
|
|
65
|
-
Load(conn: NpgsqlConnector, timeout: NpgsqlTimeout, async: boolean):
|
|
65
|
+
Load(conn: NpgsqlConnector, timeout: NpgsqlTimeout, async: boolean): Task_1<NpgsqlDatabaseInfo | undefined>;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
|
|
@@ -71,13 +71,15 @@ export type INpgsqlDatabaseInfoFactory = INpgsqlDatabaseInfoFactory$instance;
|
|
|
71
71
|
export interface IPgTypeInfoResolver$instance {
|
|
72
72
|
readonly __tsonic_iface_Npgsql_Internal_IPgTypeInfoResolver: never;
|
|
73
73
|
|
|
74
|
-
GetTypeInfo(type: Type, dataTypeName:
|
|
74
|
+
GetTypeInfo(type: Type, dataTypeName: Nullable_1<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
export type IPgTypeInfoResolver = IPgTypeInfoResolver$instance;
|
|
79
79
|
|
|
80
80
|
export interface BufferRequirements$instance {
|
|
81
|
+
readonly __tsonic_type_Npgsql_Internal_BufferRequirements: never;
|
|
82
|
+
|
|
81
83
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
82
84
|
|
|
83
85
|
readonly Read: Size;
|
|
@@ -104,6 +106,8 @@ export const BufferRequirements: {
|
|
|
104
106
|
export type BufferRequirements = BufferRequirements$instance;
|
|
105
107
|
|
|
106
108
|
export interface NestedReadScope$instance {
|
|
109
|
+
readonly __tsonic_type_Npgsql_Internal_NestedReadScope: never;
|
|
110
|
+
|
|
107
111
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
108
112
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
109
113
|
|
|
@@ -120,6 +124,8 @@ export const NestedReadScope: {
|
|
|
120
124
|
export type NestedReadScope = NestedReadScope$instance;
|
|
121
125
|
|
|
122
126
|
export interface NestedWriteScope$instance {
|
|
127
|
+
readonly __tsonic_type_Npgsql_Internal_NestedWriteScope: never;
|
|
128
|
+
|
|
123
129
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
124
130
|
|
|
125
131
|
Dispose(): void;
|
|
@@ -134,6 +140,8 @@ export const NestedWriteScope: {
|
|
|
134
140
|
export type NestedWriteScope = NestedWriteScope$instance;
|
|
135
141
|
|
|
136
142
|
export interface PgConverterResolution$instance {
|
|
143
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverterResolution: never;
|
|
144
|
+
|
|
137
145
|
readonly Converter: PgConverter;
|
|
138
146
|
readonly PgTypeId: PgTypeId;
|
|
139
147
|
GetConverter<T>(): PgConverter_1<T>;
|
|
@@ -148,6 +156,8 @@ export const PgConverterResolution: {
|
|
|
148
156
|
export type PgConverterResolution = PgConverterResolution$instance;
|
|
149
157
|
|
|
150
158
|
export interface Size$instance {
|
|
159
|
+
readonly __tsonic_type_Npgsql_Internal_Size: never;
|
|
160
|
+
|
|
151
161
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
152
162
|
|
|
153
163
|
readonly Kind: SizeKind;
|
|
@@ -173,6 +183,8 @@ export const Size: {
|
|
|
173
183
|
export type Size = Size$instance;
|
|
174
184
|
|
|
175
185
|
export interface SizeContext$instance {
|
|
186
|
+
readonly __tsonic_type_Npgsql_Internal_SizeContext: never;
|
|
187
|
+
|
|
176
188
|
BufferRequirement: Size;
|
|
177
189
|
readonly Format: DataFormat;
|
|
178
190
|
}
|
|
@@ -186,12 +198,14 @@ export const SizeContext: {
|
|
|
186
198
|
export type SizeContext = SizeContext$instance;
|
|
187
199
|
|
|
188
200
|
export interface TypeInfoMapping$instance {
|
|
201
|
+
readonly __tsonic_type_Npgsql_Internal_TypeInfoMapping: never;
|
|
202
|
+
|
|
189
203
|
DataTypeName: string;
|
|
190
204
|
Factory: TypeInfoFactory;
|
|
191
205
|
MatchRequirement: MatchRequirement;
|
|
192
206
|
Type: Type;
|
|
193
|
-
get TypeMatchPredicate():
|
|
194
|
-
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);
|
|
195
209
|
DataTypeNameEquals(dataTypeName: string): boolean;
|
|
196
210
|
TypeEquals(type: Type): boolean;
|
|
197
211
|
}
|
|
@@ -205,6 +219,8 @@ export const TypeInfoMapping: {
|
|
|
205
219
|
export type TypeInfoMapping = TypeInfoMapping$instance;
|
|
206
220
|
|
|
207
221
|
export interface ValueMetadata$instance {
|
|
222
|
+
readonly __tsonic_type_Npgsql_Internal_ValueMetadata: never;
|
|
223
|
+
|
|
208
224
|
BufferRequirement: Size;
|
|
209
225
|
Format: DataFormat;
|
|
210
226
|
Size: Size;
|
|
@@ -221,6 +237,8 @@ export const ValueMetadata: {
|
|
|
221
237
|
export type ValueMetadata = ValueMetadata$instance;
|
|
222
238
|
|
|
223
239
|
export interface DbTypeResolverFactory$instance {
|
|
240
|
+
readonly __tsonic_type_Npgsql_Internal_DbTypeResolverFactory: never;
|
|
241
|
+
|
|
224
242
|
CreateDbTypeResolver(databaseInfo: NpgsqlDatabaseInfo): IDbTypeResolver;
|
|
225
243
|
}
|
|
226
244
|
|
|
@@ -231,11 +249,13 @@ export const DbTypeResolverFactory: (abstract new() => DbTypeResolverFactory) &
|
|
|
231
249
|
|
|
232
250
|
export type DbTypeResolverFactory = DbTypeResolverFactory$instance;
|
|
233
251
|
|
|
234
|
-
export interface DynamicTypeInfoResolver$instance {
|
|
252
|
+
export interface DynamicTypeInfoResolver$instance extends IPgTypeInfoResolver$instance {
|
|
253
|
+
readonly __tsonic_type_Npgsql_Internal_DynamicTypeInfoResolver: never;
|
|
254
|
+
|
|
235
255
|
readonly __tsonic_iface_Npgsql_Internal_IPgTypeInfoResolver: never;
|
|
236
256
|
|
|
237
257
|
GetMappings(type: Type, dataTypeName: DataTypeName, options: PgSerializerOptions): unknown | undefined;
|
|
238
|
-
GetTypeInfo(type: Type, dataTypeName:
|
|
258
|
+
GetTypeInfo(type: Type, dataTypeName: Nullable_1<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
239
259
|
}
|
|
240
260
|
|
|
241
261
|
|
|
@@ -243,7 +263,7 @@ export const DynamicTypeInfoResolver: (abstract new() => DynamicTypeInfoResolver
|
|
|
243
263
|
CreateCollection(baseCollection?: TypeInfoMappingCollection): unknown;
|
|
244
264
|
IsArrayDataTypeName(dataTypeName: DataTypeName, options: PgSerializerOptions, elementDataTypeName: DataTypeName): boolean;
|
|
245
265
|
IsArrayLikeType(type: Type, elementType: Type): boolean;
|
|
246
|
-
IsTypeOrNullableOfType(type: Type, predicate:
|
|
266
|
+
IsTypeOrNullableOfType(type: Type, predicate: Func_2<Type, System_Internal.Boolean>, matchedType: Type): boolean;
|
|
247
267
|
};
|
|
248
268
|
|
|
249
269
|
|
|
@@ -251,12 +271,12 @@ export interface __DynamicTypeInfoResolver$views {
|
|
|
251
271
|
As_IPgTypeInfoResolver(): IPgTypeInfoResolver$instance;
|
|
252
272
|
}
|
|
253
273
|
|
|
254
|
-
export interface DynamicTypeInfoResolver$instance extends IPgTypeInfoResolver$instance {}
|
|
255
|
-
|
|
256
274
|
export type DynamicTypeInfoResolver = DynamicTypeInfoResolver$instance & __DynamicTypeInfoResolver$views;
|
|
257
275
|
|
|
258
276
|
|
|
259
277
|
export interface NpgsqlConnector$instance {
|
|
278
|
+
readonly __tsonic_type_Npgsql_Internal_NpgsqlConnector: never;
|
|
279
|
+
|
|
260
280
|
readonly DatabaseInfo: NpgsqlDatabaseInfo;
|
|
261
281
|
readonly Settings: NpgsqlConnectionStringBuilder;
|
|
262
282
|
TextEncoding: Encoding;
|
|
@@ -272,6 +292,8 @@ export const NpgsqlConnector: {
|
|
|
272
292
|
export type NpgsqlConnector = NpgsqlConnector$instance;
|
|
273
293
|
|
|
274
294
|
export interface NpgsqlDatabaseInfo$instance {
|
|
295
|
+
readonly __tsonic_type_Npgsql_Internal_NpgsqlDatabaseInfo: never;
|
|
296
|
+
|
|
275
297
|
HasIntegerDateTimes: boolean;
|
|
276
298
|
readonly Host: string;
|
|
277
299
|
readonly Name: string;
|
|
@@ -290,7 +312,7 @@ export interface NpgsqlDatabaseInfo$instance {
|
|
|
290
312
|
readonly Version: Version;
|
|
291
313
|
GetPostgresType(oid: uint): PostgresType;
|
|
292
314
|
GetPostgresType(pgName: string): PostgresType;
|
|
293
|
-
GetTypes():
|
|
315
|
+
GetTypes(): IEnumerable_1<PostgresType>;
|
|
294
316
|
TryGetPostgresTypeByName(pgName: string, pgType: PostgresType): boolean;
|
|
295
317
|
}
|
|
296
318
|
|
|
@@ -304,10 +326,12 @@ export const NpgsqlDatabaseInfo: (abstract new(host: string, port: int, database
|
|
|
304
326
|
export type NpgsqlDatabaseInfo = NpgsqlDatabaseInfo$instance;
|
|
305
327
|
|
|
306
328
|
export interface PgBufferedConverter_1$instance<T> extends PgConverter_1<T> {
|
|
329
|
+
readonly __tsonic_type_Npgsql_Internal_PgBufferedConverter_1: never;
|
|
330
|
+
|
|
307
331
|
GetSize(context: SizeContext, value: T, writeState: unknown): Size;
|
|
308
332
|
Read(reader: PgReader): T;
|
|
309
|
-
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken):
|
|
310
|
-
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken):
|
|
333
|
+
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
334
|
+
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
311
335
|
ReadCore(reader: PgReader): T;
|
|
312
336
|
Write(writer: PgWriter, value: T): void;
|
|
313
337
|
WriteAsync(writer: PgWriter, value: T, cancellationToken?: CancellationToken): ValueTask;
|
|
@@ -322,6 +346,8 @@ export const PgBufferedConverter_1: (abstract new<T>(customDbNullPredicate: bool
|
|
|
322
346
|
export type PgBufferedConverter_1<T> = PgBufferedConverter_1$instance<T>;
|
|
323
347
|
|
|
324
348
|
export interface PgConverter$instance {
|
|
349
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverter: never;
|
|
350
|
+
|
|
325
351
|
readonly IsDbNullable: boolean;
|
|
326
352
|
CanConvert(format: DataFormat, bufferRequirements: BufferRequirements): boolean;
|
|
327
353
|
}
|
|
@@ -334,11 +360,13 @@ export const PgConverter: {
|
|
|
334
360
|
export type PgConverter = PgConverter$instance;
|
|
335
361
|
|
|
336
362
|
export interface PgConverter_1$instance<T> extends PgConverter {
|
|
363
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverter_1: never;
|
|
364
|
+
|
|
337
365
|
GetSize(context: SizeContext, value: T, writeState: unknown): Size;
|
|
338
366
|
IsDbNull(value: T, writeState: unknown): boolean;
|
|
339
367
|
IsDbNullValue(value: T, writeState: unknown): boolean;
|
|
340
368
|
Read(reader: PgReader): T;
|
|
341
|
-
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken):
|
|
369
|
+
ReadAsync(reader: PgReader, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
342
370
|
Write(writer: PgWriter, value: T): void;
|
|
343
371
|
WriteAsync(writer: PgWriter, value: T, cancellationToken?: CancellationToken): ValueTask;
|
|
344
372
|
}
|
|
@@ -351,8 +379,10 @@ export const PgConverter_1: {
|
|
|
351
379
|
export type PgConverter_1<T> = PgConverter_1$instance<T>;
|
|
352
380
|
|
|
353
381
|
export interface PgConverterResolver$instance {
|
|
382
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverterResolver: never;
|
|
383
|
+
|
|
354
384
|
Get(field: Field): PgConverterResolution;
|
|
355
|
-
GetDefault(pgTypeId:
|
|
385
|
+
GetDefault(pgTypeId: Nullable_1<PgTypeId>): PgConverterResolution;
|
|
356
386
|
}
|
|
357
387
|
|
|
358
388
|
|
|
@@ -363,7 +393,9 @@ export const PgConverterResolver: {
|
|
|
363
393
|
export type PgConverterResolver = PgConverterResolver$instance;
|
|
364
394
|
|
|
365
395
|
export interface PgConverterResolver_1$instance<T> extends PgConverterResolver {
|
|
366
|
-
|
|
396
|
+
readonly __tsonic_type_Npgsql_Internal_PgConverterResolver_1: never;
|
|
397
|
+
|
|
398
|
+
Get(value: T, expectedPgTypeId: Nullable_1<PgTypeId>): Nullable_1<PgConverterResolution>;
|
|
367
399
|
Get(field: Field): PgConverterResolution;
|
|
368
400
|
}
|
|
369
401
|
|
|
@@ -375,41 +407,43 @@ export const PgConverterResolver_1: (abstract new<T>() => PgConverterResolver_1<
|
|
|
375
407
|
export type PgConverterResolver_1<T> = PgConverterResolver_1$instance<T>;
|
|
376
408
|
|
|
377
409
|
export interface PgReader$instance {
|
|
410
|
+
readonly __tsonic_type_Npgsql_Internal_PgReader: never;
|
|
411
|
+
|
|
378
412
|
readonly Current: ValueMetadata;
|
|
379
413
|
readonly CurrentRemaining: int;
|
|
380
414
|
readonly IsResumed: boolean;
|
|
381
415
|
BeginNestedRead(size: int, bufferRequirement: Size): NestedReadScope;
|
|
382
|
-
BeginNestedReadAsync(size: int, bufferRequirement: Size, cancellationToken?: CancellationToken):
|
|
416
|
+
BeginNestedReadAsync(size: int, bufferRequirement: Size, cancellationToken?: CancellationToken): ValueTask_1<NestedReadScope>;
|
|
383
417
|
Buffer(bufferRequirement: Size): void;
|
|
384
418
|
Buffer(byteCount: int): void;
|
|
385
419
|
BufferAsync(bufferRequirement: Size, cancellationToken: CancellationToken): ValueTask;
|
|
386
420
|
BufferAsync(byteCount: int, cancellationToken: CancellationToken): ValueTask;
|
|
387
|
-
Consume(count?:
|
|
388
|
-
ConsumeAsync(count?:
|
|
389
|
-
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;
|
|
390
424
|
GetTextReader(encoding: Encoding): TextReader;
|
|
391
|
-
GetTextReaderAsync(encoding: Encoding, cancellationToken: CancellationToken):
|
|
392
|
-
Read(destination:
|
|
425
|
+
GetTextReaderAsync(encoding: Encoding, cancellationToken: CancellationToken): ValueTask_1<TextReader>;
|
|
426
|
+
Read(destination: Span_1<System_Internal.Byte>): void;
|
|
393
427
|
ReadByte(): byte;
|
|
394
|
-
ReadBytes(buffer:
|
|
395
|
-
ReadBytes(count: int):
|
|
396
|
-
ReadBytesAsync(buffer:
|
|
397
|
-
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>>;
|
|
398
432
|
ReadDouble(): double;
|
|
399
433
|
ReadFloat(): float;
|
|
400
434
|
ReadInt16(): short;
|
|
401
435
|
ReadInt32(): int;
|
|
402
436
|
ReadInt64(): long;
|
|
403
437
|
ReadNullTerminatedString(encoding: Encoding): string;
|
|
404
|
-
ReadNullTerminatedStringAsync(encoding: Encoding, cancellationToken?: CancellationToken):
|
|
438
|
+
ReadNullTerminatedStringAsync(encoding: Encoding, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
405
439
|
ReadUInt16(): ushort;
|
|
406
440
|
ReadUInt32(): uint;
|
|
407
441
|
ReadUInt64(): ulong;
|
|
408
442
|
Rewind(count: int): void;
|
|
409
443
|
ShouldBuffer(bufferRequirement: Size): boolean;
|
|
410
444
|
ShouldBuffer(byteCount: int): boolean;
|
|
411
|
-
TryReadBytes(count: int, bytes:
|
|
412
|
-
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;
|
|
413
447
|
}
|
|
414
448
|
|
|
415
449
|
|
|
@@ -420,23 +454,27 @@ export const PgReader: {
|
|
|
420
454
|
export type PgReader = PgReader$instance;
|
|
421
455
|
|
|
422
456
|
export interface PgResolverTypeInfo$instance extends PgTypeInfo {
|
|
457
|
+
readonly __tsonic_type_Npgsql_Internal_PgResolverTypeInfo: never;
|
|
458
|
+
|
|
423
459
|
GetConverterResolver(): PgConverterResolver;
|
|
424
|
-
GetDefaultResolution(expectedPgTypeId:
|
|
425
|
-
GetResolution<T>(value: T, expectedPgTypeId:
|
|
460
|
+
GetDefaultResolution(expectedPgTypeId: Nullable_1<PgTypeId>): PgConverterResolution;
|
|
461
|
+
GetResolution<T>(value: T, expectedPgTypeId: Nullable_1<PgTypeId>): Nullable_1<PgConverterResolution>;
|
|
426
462
|
GetResolution(field: Field): PgConverterResolution;
|
|
427
463
|
GetResolution<T>(value: T): PgConverterResolution;
|
|
428
|
-
GetResolutionAsObject(value: unknown, expectedPgTypeId:
|
|
464
|
+
GetResolutionAsObject(value: unknown, expectedPgTypeId: Nullable_1<PgTypeId>): Nullable_1<PgConverterResolution>;
|
|
429
465
|
}
|
|
430
466
|
|
|
431
467
|
|
|
432
468
|
export const PgResolverTypeInfo: {
|
|
433
|
-
new(options: PgSerializerOptions, converterResolver: PgConverterResolver, pgTypeId:
|
|
469
|
+
new(options: PgSerializerOptions, converterResolver: PgConverterResolver, pgTypeId: Nullable_1<PgTypeId>, unboxedType: Type): PgResolverTypeInfo;
|
|
434
470
|
};
|
|
435
471
|
|
|
436
472
|
|
|
437
473
|
export type PgResolverTypeInfo = PgResolverTypeInfo$instance;
|
|
438
474
|
|
|
439
475
|
export interface PgSerializerOptions$instance {
|
|
476
|
+
readonly __tsonic_type_Npgsql_Internal_PgSerializerOptions: never;
|
|
477
|
+
|
|
440
478
|
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
441
479
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
442
480
|
EnableDateTimeInfinityConversions: boolean;
|
|
@@ -465,6 +503,8 @@ export const PgSerializerOptions: {
|
|
|
465
503
|
export type PgSerializerOptions = PgSerializerOptions$instance;
|
|
466
504
|
|
|
467
505
|
export interface PgStreamingConverter_1$instance<T> extends PgConverter_1<T> {
|
|
506
|
+
readonly __tsonic_type_Npgsql_Internal_PgStreamingConverter_1: never;
|
|
507
|
+
|
|
468
508
|
CanConvert(format: DataFormat, bufferRequirements: BufferRequirements): boolean;
|
|
469
509
|
}
|
|
470
510
|
|
|
@@ -476,13 +516,15 @@ export const PgStreamingConverter_1: (abstract new<T>(customDbNullPredicate: boo
|
|
|
476
516
|
export type PgStreamingConverter_1<T> = PgStreamingConverter_1$instance<T>;
|
|
477
517
|
|
|
478
518
|
export interface PgTypeInfo$instance {
|
|
519
|
+
readonly __tsonic_type_Npgsql_Internal_PgTypeInfo: never;
|
|
520
|
+
|
|
479
521
|
readonly Options: PgSerializerOptions;
|
|
480
|
-
readonly PgTypeId:
|
|
481
|
-
PreferredFormat:
|
|
522
|
+
readonly PgTypeId: Nullable_1<PgTypeId>;
|
|
523
|
+
PreferredFormat: Nullable_1<DataFormat>;
|
|
482
524
|
SupportsReading: boolean;
|
|
483
525
|
SupportsWriting: boolean;
|
|
484
526
|
readonly Type: Type;
|
|
485
|
-
GetBufferRequirements(converter: PgConverter, format: DataFormat):
|
|
527
|
+
GetBufferRequirements(converter: PgConverter, format: DataFormat): Nullable_1<BufferRequirements>;
|
|
486
528
|
GetObjectResolution(value: unknown): PgConverterResolution;
|
|
487
529
|
GetResolution<T>(value: T): PgConverterResolution;
|
|
488
530
|
}
|
|
@@ -496,6 +538,8 @@ export const PgTypeInfo: {
|
|
|
496
538
|
export type PgTypeInfo = PgTypeInfo$instance;
|
|
497
539
|
|
|
498
540
|
export interface PgTypeInfoResolverFactory$instance {
|
|
541
|
+
readonly __tsonic_type_Npgsql_Internal_PgTypeInfoResolverFactory: never;
|
|
542
|
+
|
|
499
543
|
CreateArrayResolver(): IPgTypeInfoResolver | undefined;
|
|
500
544
|
CreateMultirangeArrayResolver(): IPgTypeInfoResolver | undefined;
|
|
501
545
|
CreateMultirangeResolver(): IPgTypeInfoResolver | undefined;
|
|
@@ -512,9 +556,11 @@ export const PgTypeInfoResolverFactory: (abstract new() => PgTypeInfoResolverFac
|
|
|
512
556
|
export type PgTypeInfoResolverFactory = PgTypeInfoResolverFactory$instance;
|
|
513
557
|
|
|
514
558
|
export interface PgWriter$instance {
|
|
559
|
+
readonly __tsonic_type_Npgsql_Internal_PgWriter: never;
|
|
560
|
+
|
|
515
561
|
readonly Current: ValueMetadata;
|
|
516
562
|
BeginNestedWrite(bufferRequirement: Size, byteCount: int, state: unknown): NestedWriteScope;
|
|
517
|
-
BeginNestedWriteAsync(bufferRequirement: Size, byteCount: int, state: unknown, cancellationToken?: CancellationToken):
|
|
563
|
+
BeginNestedWriteAsync(bufferRequirement: Size, byteCount: int, state: unknown, cancellationToken?: CancellationToken): ValueTask_1<NestedWriteScope>;
|
|
518
564
|
Flush(timeout?: TimeSpan): void;
|
|
519
565
|
FlushAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
520
566
|
GetStream(allowMixedIO?: boolean): Stream;
|
|
@@ -522,10 +568,10 @@ export interface PgWriter$instance {
|
|
|
522
568
|
ShouldFlush(byteCount: int): boolean;
|
|
523
569
|
WriteAsOid(pgTypeId: PgTypeId): void;
|
|
524
570
|
WriteByte(value: byte): void;
|
|
525
|
-
WriteBytes(buffer:
|
|
526
|
-
WriteBytesAsync(buffer:
|
|
527
|
-
WriteChars(data:
|
|
528
|
-
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;
|
|
529
575
|
WriteDouble(value: double): void;
|
|
530
576
|
WriteFloat(value: float): void;
|
|
531
577
|
WriteInt16(value: short): void;
|
|
@@ -544,14 +590,16 @@ export const PgWriter: {
|
|
|
544
590
|
export type PgWriter = PgWriter$instance;
|
|
545
591
|
|
|
546
592
|
export interface TypeInfoMappingCollection$instance {
|
|
547
|
-
readonly
|
|
593
|
+
readonly __tsonic_type_Npgsql_Internal_TypeInfoMappingCollection: never;
|
|
594
|
+
|
|
595
|
+
readonly Items: IReadOnlyList_1<TypeInfoMapping>;
|
|
548
596
|
Add(mapping: TypeInfoMapping): void;
|
|
549
597
|
AddArrayType<TElement>(elementDataTypeName: string): void;
|
|
550
598
|
AddArrayType<TElement>(elementDataTypeName: string, suppressObjectMapping: boolean): void;
|
|
551
599
|
AddArrayType<TElement>(elementMapping: TypeInfoMapping): void;
|
|
552
600
|
AddArrayType<TElement>(elementMapping: TypeInfoMapping, suppressObjectMapping: boolean): void;
|
|
553
|
-
AddPolymorphicResolverArrayType(elementDataTypeName: string, elementToArrayConverterFactory:
|
|
554
|
-
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;
|
|
555
603
|
AddRange(collection: TypeInfoMappingCollection): void;
|
|
556
604
|
AddResolverArrayType<TElement>(elementDataTypeName: string): void;
|
|
557
605
|
AddResolverArrayType<TElement>(elementDataTypeName: string, suppressObjectMapping: boolean): void;
|
|
@@ -563,21 +611,21 @@ export interface TypeInfoMappingCollection$instance {
|
|
|
563
611
|
AddResolverStructArrayType<TElement extends unknown>(elementMapping: TypeInfoMapping, nullableElementMapping: TypeInfoMapping, suppressObjectMapping: boolean): void;
|
|
564
612
|
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
565
613
|
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
566
|
-
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
614
|
+
AddResolverStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
567
615
|
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
568
616
|
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
569
|
-
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
617
|
+
AddResolverType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
570
618
|
AddStructArrayType<TElement extends unknown>(elementDataTypeName: string): void;
|
|
571
619
|
AddStructArrayType<TElement extends unknown>(elementDataTypeName: string, suppressObjectMapping: boolean): void;
|
|
572
620
|
AddStructArrayType<TElement extends unknown>(elementMapping: TypeInfoMapping, nullableElementMapping: TypeInfoMapping): void;
|
|
573
621
|
AddStructArrayType<TElement extends unknown>(elementMapping: TypeInfoMapping, nullableElementMapping: TypeInfoMapping, suppressObjectMapping: boolean): void;
|
|
574
622
|
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
575
623
|
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
576
|
-
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
624
|
+
AddStructType<T extends unknown>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func_2<TypeInfoMapping, TypeInfoMapping>): void;
|
|
577
625
|
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
578
626
|
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
579
|
-
AddType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure:
|
|
580
|
-
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;
|
|
581
629
|
}
|
|
582
630
|
|
|
583
631
|
|
|
@@ -585,7 +633,7 @@ export const TypeInfoMappingCollection: {
|
|
|
585
633
|
new(capacity: int): TypeInfoMappingCollection;
|
|
586
634
|
new(): TypeInfoMappingCollection;
|
|
587
635
|
new(baseCollection: TypeInfoMappingCollection): TypeInfoMappingCollection;
|
|
588
|
-
new(items:
|
|
636
|
+
new(items: IEnumerable_1<TypeInfoMapping>): TypeInfoMappingCollection;
|
|
589
637
|
IsArrayLikeType(type: Type, elementType: Type): boolean;
|
|
590
638
|
};
|
|
591
639
|
|
|
@@ -594,8 +642,8 @@ export type TypeInfoMappingCollection = TypeInfoMappingCollection$instance;
|
|
|
594
642
|
|
|
595
643
|
export abstract class PgConverterFactory$instance {
|
|
596
644
|
static CreateArrayMultirangeConverter<T>(rangeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<T[]>;
|
|
597
|
-
static CreateListMultirangeConverter<T>(rangeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<
|
|
598
|
-
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>;
|
|
599
647
|
static CreateRangeConverter<T>(subTypeConverter: PgConverter_1<T>, options: PgSerializerOptions): PgConverter_1<NpgsqlRange_1<T>>;
|
|
600
648
|
}
|
|
601
649
|
|
|
@@ -603,9 +651,9 @@ export abstract class PgConverterFactory$instance {
|
|
|
603
651
|
export type PgConverterFactory = PgConverterFactory$instance;
|
|
604
652
|
|
|
605
653
|
export abstract class TypeInfoMappingHelpers$instance {
|
|
606
|
-
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;
|
|
607
655
|
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, converter: PgConverter): PgTypeInfo;
|
|
608
|
-
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;
|
|
609
657
|
static CreateInfo(mapping: TypeInfoMapping, options: PgSerializerOptions, resolver: PgConverterResolver, includeDataTypeName: boolean): PgResolverTypeInfo;
|
|
610
658
|
}
|
|
611
659
|
|
|
@@ -6,10 +6,12 @@
|
|
|
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
|
+
|
|
13
15
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
14
16
|
|
|
15
17
|
readonly DisplayName: string;
|
|
@@ -39,6 +41,8 @@ export const DataTypeName: {
|
|
|
39
41
|
export type DataTypeName = DataTypeName$instance;
|
|
40
42
|
|
|
41
43
|
export interface Field$instance {
|
|
44
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_Field: never;
|
|
45
|
+
|
|
42
46
|
Name: string;
|
|
43
47
|
PgTypeId: PgTypeId;
|
|
44
48
|
TypeModifier: int;
|
|
@@ -53,6 +57,8 @@ export const Field: {
|
|
|
53
57
|
export type Field = Field$instance;
|
|
54
58
|
|
|
55
59
|
export interface Oid$instance {
|
|
60
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_Oid: never;
|
|
61
|
+
|
|
56
62
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
57
63
|
|
|
58
64
|
Value: uint;
|
|
@@ -72,6 +78,8 @@ export const Oid: {
|
|
|
72
78
|
export type Oid = Oid$instance;
|
|
73
79
|
|
|
74
80
|
export interface PgTypeId$instance {
|
|
81
|
+
readonly __tsonic_type_Npgsql_Internal_Postgres_PgTypeId: never;
|
|
82
|
+
|
|
75
83
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
76
84
|
|
|
77
85
|
readonly DataTypeName: DataTypeName;
|
|
@@ -8,11 +8,13 @@ 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;
|
|
14
17
|
|
|
15
|
-
export interface NpgsqlNullNameTranslator$instance {
|
|
16
18
|
readonly __tsonic_iface_Npgsql_INpgsqlNameTranslator: never;
|
|
17
19
|
|
|
18
20
|
TranslateMemberName(clrName: string): string;
|
|
@@ -29,12 +31,12 @@ export interface __NpgsqlNullNameTranslator$views {
|
|
|
29
31
|
As_INpgsqlNameTranslator(): Npgsql_Internal.INpgsqlNameTranslator$instance;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
export interface NpgsqlNullNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {}
|
|
33
|
-
|
|
34
34
|
export type NpgsqlNullNameTranslator = NpgsqlNullNameTranslator$instance & __NpgsqlNullNameTranslator$views;
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
export interface NpgsqlSnakeCaseNameTranslator$instance {
|
|
37
|
+
export interface NpgsqlSnakeCaseNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {
|
|
38
|
+
readonly __tsonic_type_Npgsql_NameTranslation_NpgsqlSnakeCaseNameTranslator: never;
|
|
39
|
+
|
|
38
40
|
readonly __tsonic_iface_Npgsql_INpgsqlNameTranslator: never;
|
|
39
41
|
|
|
40
42
|
TranslateMemberName(clrName: string): string;
|
|
@@ -53,8 +55,6 @@ export interface __NpgsqlSnakeCaseNameTranslator$views {
|
|
|
53
55
|
As_INpgsqlNameTranslator(): Npgsql_Internal.INpgsqlNameTranslator$instance;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
export interface NpgsqlSnakeCaseNameTranslator$instance extends Npgsql_Internal.INpgsqlNameTranslator$instance {}
|
|
57
|
-
|
|
58
58
|
export type NpgsqlSnakeCaseNameTranslator = NpgsqlSnakeCaseNameTranslator$instance & __NpgsqlSnakeCaseNameTranslator$views;
|
|
59
59
|
|
|
60
60
|
|