@tsonic/efcore-npgsql 0.1.1 → 0.1.2
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/bindings.json +6 -6
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +3 -3
- package/Npgsql/bindings.json +8 -8
- package/Npgsql/internal/index.d.ts +6 -6
- package/Npgsql/internal/metadata.json +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +10 -10
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +5 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/metadata.json +5 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +6 -6
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/metadata.json +1 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +8 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +14 -14
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/metadata.json +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +5 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +3 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/metadata.json +1 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +98 -98
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +46 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/metadata.json +48 -48
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +1 -1
- package/Npgsql.Internal/bindings.json +15 -15
- package/Npgsql.Internal/internal/index.d.ts +18 -18
- package/Npgsql.Internal/internal/metadata.json +7 -7
- package/Npgsql.PostgresTypes/bindings.json +12 -12
- package/Npgsql.PostgresTypes/internal/index.d.ts +2 -2
- package/Npgsql.PostgresTypes/internal/metadata.json +2 -2
- package/Npgsql.Replication/bindings.json +2 -2
- package/Npgsql.Replication/internal/index.d.ts +1 -1
- package/Npgsql.Replication/internal/metadata.json +1 -1
- package/Npgsql.Replication.PgOutput/bindings.json +6 -6
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +3 -3
- package/Npgsql.Replication.PgOutput/internal/metadata.json +3 -3
- package/Npgsql.Replication.PgOutput.Messages/bindings.json +6 -6
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +3 -3
- package/Npgsql.Replication.PgOutput.Messages/internal/metadata.json +3 -3
- package/NpgsqlTypes/bindings.json +4 -4
- package/NpgsqlTypes/internal/index.d.ts +2 -2
- package/NpgsqlTypes/internal/metadata.json +2 -2
- package/__internal/extensions/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ export enum MatchRequirement {
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
export enum SizeKind {
|
|
43
|
-
|
|
43
|
+
unknown = 0,
|
|
44
44
|
exact = 1,
|
|
45
45
|
upperBound = 2
|
|
46
46
|
}
|
|
@@ -50,7 +50,7 @@ export type TypeInfoFactory = (options: PgSerializerOptions, mapping: TypeInfoMa
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IDbTypeResolver$instance {
|
|
53
|
-
getDataTypeName(dbType: DbType,
|
|
53
|
+
getDataTypeName(dbType: DbType, type: Type): string | undefined;
|
|
54
54
|
getDbType(dataTypeName: DataTypeName): Nullable<DbType>;
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,14 +58,14 @@ export interface IDbTypeResolver$instance {
|
|
|
58
58
|
export type IDbTypeResolver = IDbTypeResolver$instance;
|
|
59
59
|
|
|
60
60
|
export interface INpgsqlDatabaseInfoFactory$instance {
|
|
61
|
-
load(conn: NpgsqlConnector, timeout: NpgsqlTimeout,
|
|
61
|
+
load(conn: NpgsqlConnector, timeout: NpgsqlTimeout, async: boolean): Task<NpgsqlDatabaseInfo | undefined>;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
export type INpgsqlDatabaseInfoFactory = INpgsqlDatabaseInfoFactory$instance;
|
|
66
66
|
|
|
67
67
|
export interface IPgTypeInfoResolver$instance {
|
|
68
|
-
getTypeInfo(
|
|
68
|
+
getTypeInfo(type: Type, dataTypeName: Nullable<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
@@ -148,7 +148,7 @@ export interface Size$instance {
|
|
|
148
148
|
|
|
149
149
|
export const Size: {
|
|
150
150
|
new(): Size;
|
|
151
|
-
readonly
|
|
151
|
+
readonly unknown: Size;
|
|
152
152
|
readonly zero: Size;
|
|
153
153
|
create(byteCount: int): Size;
|
|
154
154
|
createUpperBound(byteCount: int): Size;
|
|
@@ -174,16 +174,16 @@ export interface TypeInfoMapping$instance {
|
|
|
174
174
|
dataTypeName: string;
|
|
175
175
|
factory: TypeInfoFactory;
|
|
176
176
|
matchRequirement: MatchRequirement;
|
|
177
|
-
|
|
177
|
+
type: Type;
|
|
178
178
|
get typeMatchPredicate(): Func<Type | undefined, System_Internal.Boolean> | undefined;
|
|
179
179
|
set typeMatchPredicate(value: Func<Type | undefined, System_Internal.Boolean>);
|
|
180
180
|
dataTypeNameEquals(dataTypeName: string): boolean;
|
|
181
|
-
typeEquals(
|
|
181
|
+
typeEquals(type: Type): boolean;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
export const TypeInfoMapping: {
|
|
186
|
-
new(
|
|
186
|
+
new(type: Type, dataTypeName: string, factory: TypeInfoFactory): TypeInfoMapping;
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
|
|
@@ -217,7 +217,7 @@ export const DbTypeResolverFactory: {
|
|
|
217
217
|
export type DbTypeResolverFactory = DbTypeResolverFactory$instance;
|
|
218
218
|
|
|
219
219
|
export interface DynamicTypeInfoResolver$instance {
|
|
220
|
-
getTypeInfo(
|
|
220
|
+
getTypeInfo(type: Type, dataTypeName: Nullable<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
|
|
@@ -325,7 +325,7 @@ export const PgConverter_1: {
|
|
|
325
325
|
export type PgConverter_1<T> = PgConverter_1$instance<T>;
|
|
326
326
|
|
|
327
327
|
export interface PgConverterResolver$instance {
|
|
328
|
-
|
|
328
|
+
get(field: Field): PgConverterResolution;
|
|
329
329
|
getDefault(pgTypeId: Nullable<PgTypeId>): PgConverterResolution;
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -337,8 +337,8 @@ export const PgConverterResolver: {
|
|
|
337
337
|
export type PgConverterResolver = PgConverterResolver$instance;
|
|
338
338
|
|
|
339
339
|
export interface PgConverterResolver_1$instance<T> extends PgConverterResolver {
|
|
340
|
-
|
|
341
|
-
|
|
340
|
+
get(value: T, expectedPgTypeId: Nullable<PgTypeId>): Nullable<PgConverterResolution>;
|
|
341
|
+
get(field: Field): PgConverterResolution;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
|
|
@@ -421,20 +421,20 @@ export interface PgSerializerOptions$instance {
|
|
|
421
421
|
getArrayElementTypeId(arrayTypeId: PgTypeId): PgTypeId;
|
|
422
422
|
getArrayTypeId(elementTypeId: PgTypeId): PgTypeId;
|
|
423
423
|
getDataTypeName(pgTypeId: PgTypeId): DataTypeName;
|
|
424
|
-
getDefaultTypeInfo(
|
|
424
|
+
getDefaultTypeInfo(type: Type): PgTypeInfo | undefined;
|
|
425
425
|
getDefaultTypeInfo(pgTypeId: PgTypeId): PgTypeInfo | undefined;
|
|
426
426
|
getMultirangeElementTypeId(multirangeTypeId: PgTypeId): PgTypeId;
|
|
427
427
|
getMultirangeTypeId(rangeTypeId: PgTypeId): PgTypeId;
|
|
428
428
|
getRangeSubtypeTypeId(rangeTypeId: PgTypeId): PgTypeId;
|
|
429
429
|
getRangeTypeId(subtypeTypeId: PgTypeId): PgTypeId;
|
|
430
|
-
getTypeInfo(
|
|
430
|
+
getTypeInfo(type: Type, pgTypeId: PgTypeId): PgTypeInfo | undefined;
|
|
431
431
|
tryGetDataTypeName(pgTypeId: PgTypeId, dataTypeName: DataTypeName): boolean;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
export const PgSerializerOptions: {
|
|
436
436
|
new(): PgSerializerOptions;
|
|
437
|
-
isWellKnownTextType(
|
|
437
|
+
isWellKnownTextType(type: Type): boolean;
|
|
438
438
|
};
|
|
439
439
|
|
|
440
440
|
|
|
@@ -457,7 +457,7 @@ export interface PgTypeInfo$instance {
|
|
|
457
457
|
preferredFormat: Nullable<DataFormat>;
|
|
458
458
|
supportsReading: boolean;
|
|
459
459
|
supportsWriting: boolean;
|
|
460
|
-
readonly
|
|
460
|
+
readonly type: Type;
|
|
461
461
|
getBufferRequirements(converter: PgConverter, format: DataFormat): Nullable<BufferRequirements>;
|
|
462
462
|
getObjectResolution(value: unknown): PgConverterResolution;
|
|
463
463
|
getResolution<T>(value: T): PgConverterResolution;
|
|
@@ -554,7 +554,7 @@ export interface TypeInfoMappingCollection$instance {
|
|
|
554
554
|
addType<T>(dataTypeName: string, createInfo: TypeInfoFactory, isDefault?: boolean): void;
|
|
555
555
|
addType<T>(dataTypeName: string, createInfo: TypeInfoFactory, matchRequirement: MatchRequirement): void;
|
|
556
556
|
addType<T>(dataTypeName: string, createInfo: TypeInfoFactory, configure: Func<TypeInfoMapping, TypeInfoMapping>): void;
|
|
557
|
-
find(
|
|
557
|
+
find(type: Type, dataTypeName: Nullable<DataTypeName>, options: PgSerializerOptions): PgTypeInfo | undefined;
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
|
|
@@ -563,7 +563,7 @@ export const TypeInfoMappingCollection: {
|
|
|
563
563
|
new(): TypeInfoMappingCollection;
|
|
564
564
|
new(baseCollection: TypeInfoMappingCollection): TypeInfoMappingCollection;
|
|
565
565
|
new(items: IEnumerable<TypeInfoMapping>): TypeInfoMappingCollection;
|
|
566
|
-
isArrayLikeType(
|
|
566
|
+
isArrayLikeType(type: Type, elementType: Type): boolean;
|
|
567
567
|
};
|
|
568
568
|
|
|
569
569
|
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
{
|
|
127
127
|
"stableId": "Npgsql:Npgsql.Internal.SizeKind::UnknownNpgsql.Internal.SizeKind",
|
|
128
128
|
"clrName": "Unknown",
|
|
129
|
-
"tsEmitName": "
|
|
129
|
+
"tsEmitName": "unknown",
|
|
130
130
|
"normalizedSignature": "Unknown|Npgsql.Internal.SizeKind|static=true|const=true",
|
|
131
131
|
"isStatic": true,
|
|
132
132
|
"isReadOnly": false,
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
{
|
|
895
895
|
"stableId": "Npgsql:Npgsql.Internal.Size::Unknown:Npgsql.Internal.Size",
|
|
896
896
|
"clrName": "Unknown",
|
|
897
|
-
"tsEmitName": "
|
|
897
|
+
"tsEmitName": "unknown",
|
|
898
898
|
"normalizedSignature": "Unknown|:Npgsql.Internal.Size|static=true|accessor=get",
|
|
899
899
|
"provenance": "Original",
|
|
900
900
|
"emitScope": "ClassSurface",
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
{
|
|
1043
1043
|
"stableId": "Npgsql:Npgsql.Internal.TypeInfoMapping::Type:System.Type",
|
|
1044
1044
|
"clrName": "Type",
|
|
1045
|
-
"tsEmitName": "
|
|
1045
|
+
"tsEmitName": "type",
|
|
1046
1046
|
"normalizedSignature": "Type|:System.Type|static=false|accessor=getset",
|
|
1047
1047
|
"provenance": "Original",
|
|
1048
1048
|
"emitScope": "ClassSurface",
|
|
@@ -2022,7 +2022,7 @@
|
|
|
2022
2022
|
{
|
|
2023
2023
|
"stableId": "Npgsql:Npgsql.Internal.PgConverterResolver::Get(Npgsql.Internal.Postgres.Field):Npgsql.Internal.PgConverterResolution",
|
|
2024
2024
|
"clrName": "Get",
|
|
2025
|
-
"tsEmitName": "
|
|
2025
|
+
"tsEmitName": "get",
|
|
2026
2026
|
"normalizedSignature": "Get|(Npgsql.Internal.Postgres.Field):Npgsql.Internal.PgConverterResolution|static=false",
|
|
2027
2027
|
"provenance": "Original",
|
|
2028
2028
|
"emitScope": "ClassSurface",
|
|
@@ -2055,7 +2055,7 @@
|
|
|
2055
2055
|
{
|
|
2056
2056
|
"stableId": "Npgsql:Npgsql.Internal.PgConverterResolver\u00601::Get(T,System.Nullable_1[[Npgsql.Internal.Postgres.PgTypeId,Npgsql,Version=10.0.0.0,Culture=neutral,PublicKeyToken=5d8b90d52f46fda7]]):System.Nullable_1[[Npgsql.Internal.PgConverterResolution,Npgsql,Version=10.0.0.0,Culture=neutral,PublicKeyToken=5d8b90d52f46fda7]]",
|
|
2057
2057
|
"clrName": "Get",
|
|
2058
|
-
"tsEmitName": "
|
|
2058
|
+
"tsEmitName": "get2",
|
|
2059
2059
|
"normalizedSignature": "Get|(T,System.Nullable_1[[Npgsql.Internal.Postgres.PgTypeId,Npgsql,Version=10.0.0.0,Culture=neutral,PublicKeyToken=5d8b90d52f46fda7]]):System.Nullable_1[[Npgsql.Internal.PgConverterResolution,Npgsql,Version=10.0.0.0,Culture=neutral,PublicKeyToken=5d8b90d52f46fda7]]|static=false",
|
|
2060
2060
|
"provenance": "Original",
|
|
2061
2061
|
"emitScope": "ClassSurface",
|
|
@@ -2071,7 +2071,7 @@
|
|
|
2071
2071
|
{
|
|
2072
2072
|
"stableId": "Npgsql:Npgsql.Internal.PgConverterResolver\u00601::Get(Npgsql.Internal.Postgres.Field):Npgsql.Internal.PgConverterResolution",
|
|
2073
2073
|
"clrName": "Get",
|
|
2074
|
-
"tsEmitName": "
|
|
2074
|
+
"tsEmitName": "get",
|
|
2075
2075
|
"normalizedSignature": "Get|(Npgsql.Internal.Postgres.Field):Npgsql.Internal.PgConverterResolution|static=false",
|
|
2076
2076
|
"provenance": "BaseOverload",
|
|
2077
2077
|
"emitScope": "ClassSurface",
|
|
@@ -3205,7 +3205,7 @@
|
|
|
3205
3205
|
{
|
|
3206
3206
|
"stableId": "Npgsql:Npgsql.Internal.PgTypeInfo::Type:System.Type",
|
|
3207
3207
|
"clrName": "Type",
|
|
3208
|
-
"tsEmitName": "
|
|
3208
|
+
"tsEmitName": "type",
|
|
3209
3209
|
"normalizedSignature": "Type|:System.Type|static=false|accessor=get",
|
|
3210
3210
|
"provenance": "Original",
|
|
3211
3211
|
"emitScope": "ClassSurface",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"tsName": "
|
|
64
|
+
"tsName": "namespace",
|
|
65
65
|
"isStatic": false,
|
|
66
66
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
67
67
|
"target": {
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
"tsName": "
|
|
170
|
+
"tsName": "namespace",
|
|
171
171
|
"isStatic": false,
|
|
172
172
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
173
173
|
"target": {
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"tsName": "
|
|
301
|
+
"tsName": "namespace",
|
|
302
302
|
"isStatic": false,
|
|
303
303
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
304
304
|
"target": {
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
{
|
|
410
410
|
"stableId": "Npgsql:Npgsql.PostgresTypes.PostgresCompositeType\u002BField::Type:Npgsql.PostgresTypes.PostgresType",
|
|
411
411
|
"clrName": "Type",
|
|
412
|
-
"tsEmitName": "
|
|
412
|
+
"tsEmitName": "type",
|
|
413
413
|
"metadataToken": 385877337,
|
|
414
414
|
"canonicalSignature": ":Npgsql.PostgresTypes.PostgresType",
|
|
415
415
|
"normalizedSignature": "Type|:Npgsql.PostgresTypes.PostgresType|static=false|accessor=get",
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
}
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
|
-
"tsName": "
|
|
451
|
+
"tsName": "type",
|
|
452
452
|
"isStatic": false,
|
|
453
453
|
"tsSignatureId": "Type|:Npgsql.PostgresTypes.PostgresType|static=false|accessor=get",
|
|
454
454
|
"target": {
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
}
|
|
544
544
|
},
|
|
545
545
|
{
|
|
546
|
-
"tsName": "
|
|
546
|
+
"tsName": "namespace",
|
|
547
547
|
"isStatic": false,
|
|
548
548
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
549
549
|
"target": {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
}
|
|
675
675
|
},
|
|
676
676
|
{
|
|
677
|
-
"tsName": "
|
|
677
|
+
"tsName": "namespace",
|
|
678
678
|
"isStatic": false,
|
|
679
679
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
680
680
|
"target": {
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
}
|
|
806
806
|
},
|
|
807
807
|
{
|
|
808
|
-
"tsName": "
|
|
808
|
+
"tsName": "namespace",
|
|
809
809
|
"isStatic": false,
|
|
810
810
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
811
811
|
"target": {
|
|
@@ -960,7 +960,7 @@
|
|
|
960
960
|
}
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
|
-
"tsName": "
|
|
963
|
+
"tsName": "namespace",
|
|
964
964
|
"isStatic": false,
|
|
965
965
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
966
966
|
"target": {
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
{
|
|
1072
1072
|
"stableId": "Npgsql:Npgsql.PostgresTypes.PostgresType::Namespace:System.String",
|
|
1073
1073
|
"clrName": "Namespace",
|
|
1074
|
-
"tsEmitName": "
|
|
1074
|
+
"tsEmitName": "namespace",
|
|
1075
1075
|
"metadataToken": 385876712,
|
|
1076
1076
|
"canonicalSignature": ":System.String",
|
|
1077
1077
|
"normalizedSignature": "Namespace|:System.String|static=false|accessor=get",
|
|
@@ -1194,7 +1194,7 @@
|
|
|
1194
1194
|
}
|
|
1195
1195
|
},
|
|
1196
1196
|
{
|
|
1197
|
-
"tsName": "
|
|
1197
|
+
"tsName": "namespace",
|
|
1198
1198
|
"isStatic": false,
|
|
1199
1199
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
1200
1200
|
"target": {
|
|
@@ -1300,7 +1300,7 @@
|
|
|
1300
1300
|
}
|
|
1301
1301
|
},
|
|
1302
1302
|
{
|
|
1303
|
-
"tsName": "
|
|
1303
|
+
"tsName": "namespace",
|
|
1304
1304
|
"isStatic": false,
|
|
1305
1305
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
1306
1306
|
"target": {
|
|
@@ -47,7 +47,7 @@ export type PostgresCompositeType = PostgresCompositeType$instance;
|
|
|
47
47
|
|
|
48
48
|
export interface PostgresCompositeType_Field$instance {
|
|
49
49
|
readonly name: string;
|
|
50
|
-
readonly
|
|
50
|
+
readonly type: PostgresType;
|
|
51
51
|
toString(): string;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -115,7 +115,7 @@ export interface PostgresType$instance {
|
|
|
115
115
|
readonly fullName: string;
|
|
116
116
|
readonly internalName: string;
|
|
117
117
|
readonly name: string;
|
|
118
|
-
readonly
|
|
118
|
+
readonly namespace: string;
|
|
119
119
|
readonly OID: uint;
|
|
120
120
|
readonly range: PostgresRangeType | undefined;
|
|
121
121
|
toString(): string;
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
{
|
|
132
132
|
"stableId": "Npgsql:Npgsql.PostgresTypes.PostgresCompositeType\u002BField::Type:Npgsql.PostgresTypes.PostgresType",
|
|
133
133
|
"clrName": "Type",
|
|
134
|
-
"tsEmitName": "
|
|
134
|
+
"tsEmitName": "type",
|
|
135
135
|
"normalizedSignature": "Type|:Npgsql.PostgresTypes.PostgresType|static=false|accessor=get",
|
|
136
136
|
"provenance": "Original",
|
|
137
137
|
"emitScope": "ClassSurface",
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
{
|
|
354
354
|
"stableId": "Npgsql:Npgsql.PostgresTypes.PostgresType::Namespace:System.String",
|
|
355
355
|
"clrName": "Namespace",
|
|
356
|
-
"tsEmitName": "
|
|
356
|
+
"tsEmitName": "namespace",
|
|
357
357
|
"normalizedSignature": "Namespace|:System.String|static=false|accessor=get",
|
|
358
358
|
"provenance": "Original",
|
|
359
359
|
"emitScope": "ClassSurface",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
{
|
|
25
25
|
"stableId": "Npgsql:Npgsql.Replication.LogicalSlotSnapshotInitMode::ExportNpgsql.Replication.LogicalSlotSnapshotInitMode",
|
|
26
26
|
"clrName": "Export",
|
|
27
|
-
"tsEmitName": "
|
|
27
|
+
"tsEmitName": "export",
|
|
28
28
|
"metadataToken": 67110069,
|
|
29
29
|
"normalizedSignature": "Export|Npgsql.Replication.LogicalSlotSnapshotInitMode|static=true|const=true",
|
|
30
30
|
"isStatic": true,
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
"tsName": "
|
|
72
|
+
"tsName": "export",
|
|
73
73
|
"isStatic": true,
|
|
74
74
|
"tsSignatureId": "Export|Npgsql.Replication.LogicalSlotSnapshotInitMode|static=true|const=true",
|
|
75
75
|
"target": {
|
|
@@ -19,7 +19,7 @@ import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
|
19
19
|
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
20
20
|
|
|
21
21
|
export enum LogicalSlotSnapshotInitMode {
|
|
22
|
-
|
|
22
|
+
export = 0,
|
|
23
23
|
use = 1,
|
|
24
24
|
noExport = 2
|
|
25
25
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
{
|
|
30
30
|
"stableId": "Npgsql:Npgsql.Replication.LogicalSlotSnapshotInitMode::ExportNpgsql.Replication.LogicalSlotSnapshotInitMode",
|
|
31
31
|
"clrName": "Export",
|
|
32
|
-
"tsEmitName": "
|
|
32
|
+
"tsEmitName": "export",
|
|
33
33
|
"normalizedSignature": "Export|Npgsql.Replication.LogicalSlotSnapshotInitMode|static=true|const=true",
|
|
34
34
|
"isStatic": true,
|
|
35
35
|
"isReadOnly": false,
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
{
|
|
244
244
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.TupleDataKind::NullNpgsql.Replication.PgOutput.TupleDataKind",
|
|
245
245
|
"clrName": "Null",
|
|
246
|
-
"tsEmitName": "
|
|
246
|
+
"tsEmitName": "null",
|
|
247
247
|
"metadataToken": 67110188,
|
|
248
248
|
"normalizedSignature": "Null|Npgsql.Replication.PgOutput.TupleDataKind|static=true|const=true",
|
|
249
249
|
"isStatic": true,
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
|
-
"tsName": "
|
|
302
|
+
"tsName": "null",
|
|
303
303
|
"isStatic": true,
|
|
304
304
|
"tsSignatureId": "Null|Npgsql.Replication.PgOutput.TupleDataKind|static=true|const=true",
|
|
305
305
|
"target": {
|
|
@@ -880,7 +880,7 @@
|
|
|
880
880
|
{
|
|
881
881
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.ReplicationValue::Get(System.Threading.CancellationToken):ValueTask_1",
|
|
882
882
|
"clrName": "Get",
|
|
883
|
-
"tsEmitName": "
|
|
883
|
+
"tsEmitName": "get",
|
|
884
884
|
"metadataToken": 100665982,
|
|
885
885
|
"canonicalSignature": "(System.Threading.CancellationToken):ValueTask_1",
|
|
886
886
|
"normalizedSignature": "Get|(System.Threading.CancellationToken):ValueTask_1|static=false",
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
{
|
|
895
895
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.ReplicationValue::Get(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Object,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
896
896
|
"clrName": "Get",
|
|
897
|
-
"tsEmitName": "
|
|
897
|
+
"tsEmitName": "get",
|
|
898
898
|
"metadataToken": 100665983,
|
|
899
899
|
"canonicalSignature": "(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Object,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
900
900
|
"normalizedSignature": "Get|(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Object,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=false",
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
}
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
1040
|
-
"tsName": "
|
|
1040
|
+
"tsName": "get",
|
|
1041
1041
|
"isStatic": false,
|
|
1042
1042
|
"tsSignatureId": "Get|(System.Threading.CancellationToken):ValueTask_1|static=false",
|
|
1043
1043
|
"target": {
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
}
|
|
1048
1048
|
},
|
|
1049
1049
|
{
|
|
1050
|
-
"tsName": "
|
|
1050
|
+
"tsName": "get",
|
|
1051
1051
|
"isStatic": false,
|
|
1052
1052
|
"tsSignatureId": "Get|(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Object,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=false",
|
|
1053
1053
|
"target": {
|
|
@@ -35,7 +35,7 @@ export enum PgOutputStreamingMode {
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
export enum TupleDataKind {
|
|
38
|
-
|
|
38
|
+
null = 110,
|
|
39
39
|
unchangedToastedValue = 117,
|
|
40
40
|
textValue = 116,
|
|
41
41
|
binaryValue = 98
|
|
@@ -95,8 +95,8 @@ export interface ReplicationValue$instance {
|
|
|
95
95
|
readonly isUnchangedToastedValue: boolean;
|
|
96
96
|
readonly kind: TupleDataKind;
|
|
97
97
|
readonly length: int;
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
get<T>(cancellationToken?: CancellationToken): ValueTask<T>;
|
|
99
|
+
get(cancellationToken?: CancellationToken): ValueTask<unknown>;
|
|
100
100
|
getDataTypeName(): string;
|
|
101
101
|
getFieldName(): string;
|
|
102
102
|
getFieldType(): Type;
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
{
|
|
145
145
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.TupleDataKind::NullNpgsql.Replication.PgOutput.TupleDataKind",
|
|
146
146
|
"clrName": "Null",
|
|
147
|
-
"tsEmitName": "
|
|
147
|
+
"tsEmitName": "null",
|
|
148
148
|
"normalizedSignature": "Null|Npgsql.Replication.PgOutput.TupleDataKind|static=true|const=true",
|
|
149
149
|
"isStatic": true,
|
|
150
150
|
"isReadOnly": false,
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
{
|
|
513
513
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.ReplicationValue::Get(System.Threading.CancellationToken):ValueTask_1",
|
|
514
514
|
"clrName": "Get",
|
|
515
|
-
"tsEmitName": "
|
|
515
|
+
"tsEmitName": "get",
|
|
516
516
|
"normalizedSignature": "Get|(System.Threading.CancellationToken):ValueTask_1|static=false",
|
|
517
517
|
"provenance": "Original",
|
|
518
518
|
"emitScope": "ClassSurface",
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
{
|
|
529
529
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.ReplicationValue::Get(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Object,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
530
530
|
"clrName": "Get",
|
|
531
|
-
"tsEmitName": "
|
|
531
|
+
"tsEmitName": "get",
|
|
532
532
|
"normalizedSignature": "Get|(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Object,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=false",
|
|
533
533
|
"provenance": "Original",
|
|
534
534
|
"emitScope": "ClassSurface",
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
{
|
|
274
274
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting::DefaultNpgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting",
|
|
275
275
|
"clrName": "Default",
|
|
276
|
-
"tsEmitName": "
|
|
276
|
+
"tsEmitName": "default",
|
|
277
277
|
"metadataToken": 67112482,
|
|
278
278
|
"normalizedSignature": "Default|Npgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting|static=true|const=true",
|
|
279
279
|
"isStatic": true,
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
|
-
"tsName": "
|
|
332
|
+
"tsName": "default",
|
|
333
333
|
"isStatic": true,
|
|
334
334
|
"tsSignatureId": "Default|Npgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting|static=true|const=true",
|
|
335
335
|
"target": {
|
|
@@ -2971,7 +2971,7 @@
|
|
|
2971
2971
|
{
|
|
2972
2972
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.Messages.RelationMessage::Namespace:System.String",
|
|
2973
2973
|
"clrName": "Namespace",
|
|
2974
|
-
"tsEmitName": "
|
|
2974
|
+
"tsEmitName": "namespace",
|
|
2975
2975
|
"metadataToken": 385876633,
|
|
2976
2976
|
"canonicalSignature": ":System.String",
|
|
2977
2977
|
"normalizedSignature": "Namespace|:System.String|static=false|accessor=get",
|
|
@@ -3052,7 +3052,7 @@
|
|
|
3052
3052
|
}
|
|
3053
3053
|
},
|
|
3054
3054
|
{
|
|
3055
|
-
"tsName": "
|
|
3055
|
+
"tsName": "namespace",
|
|
3056
3056
|
"isStatic": false,
|
|
3057
3057
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
3058
3058
|
"target": {
|
|
@@ -4164,7 +4164,7 @@
|
|
|
4164
4164
|
{
|
|
4165
4165
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.Messages.TypeMessage::Namespace:System.String",
|
|
4166
4166
|
"clrName": "Namespace",
|
|
4167
|
-
"tsEmitName": "
|
|
4167
|
+
"tsEmitName": "namespace",
|
|
4168
4168
|
"metadataToken": 385876662,
|
|
4169
4169
|
"canonicalSignature": ":System.String",
|
|
4170
4170
|
"normalizedSignature": "Namespace|:System.String|static=false|accessor=get",
|
|
@@ -4217,7 +4217,7 @@
|
|
|
4217
4217
|
}
|
|
4218
4218
|
},
|
|
4219
4219
|
{
|
|
4220
|
-
"tsName": "
|
|
4220
|
+
"tsName": "namespace",
|
|
4221
4221
|
"isStatic": false,
|
|
4222
4222
|
"tsSignatureId": "Namespace|:System.String|static=false|accessor=get",
|
|
4223
4223
|
"target": {
|
|
@@ -37,7 +37,7 @@ export enum RelationMessage_Column_ColumnFlags {
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
export enum RelationMessage_ReplicaIdentitySetting {
|
|
40
|
-
|
|
40
|
+
default = 100,
|
|
41
41
|
nothing = 110,
|
|
42
42
|
allColumns = 102,
|
|
43
43
|
indexWithIndIsReplIdent = 105
|
|
@@ -321,7 +321,7 @@ export type PrepareMessageBase = PrepareMessageBase$instance;
|
|
|
321
321
|
|
|
322
322
|
export interface RelationMessage$instance extends TransactionalMessage {
|
|
323
323
|
readonly columns: IReadOnlyList<RelationMessage_Column>;
|
|
324
|
-
readonly
|
|
324
|
+
readonly namespace: string;
|
|
325
325
|
readonly relationId: uint;
|
|
326
326
|
readonly relationName: string;
|
|
327
327
|
readonly replicaIdentity: RelationMessage_ReplicaIdentitySetting;
|
|
@@ -450,7 +450,7 @@ export type TruncateMessage = TruncateMessage$instance;
|
|
|
450
450
|
|
|
451
451
|
export interface TypeMessage$instance extends TransactionalMessage {
|
|
452
452
|
readonly name: string;
|
|
453
|
-
readonly
|
|
453
|
+
readonly namespace: string;
|
|
454
454
|
readonly typeId: uint;
|
|
455
455
|
}
|
|
456
456
|
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
{
|
|
179
179
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting::DefaultNpgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting",
|
|
180
180
|
"clrName": "Default",
|
|
181
|
-
"tsEmitName": "
|
|
181
|
+
"tsEmitName": "default",
|
|
182
182
|
"normalizedSignature": "Default|Npgsql.Replication.PgOutput.Messages.RelationMessage\u002BReplicaIdentitySetting|static=true|const=true",
|
|
183
183
|
"isStatic": true,
|
|
184
184
|
"isReadOnly": false,
|
|
@@ -1338,7 +1338,7 @@
|
|
|
1338
1338
|
{
|
|
1339
1339
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.Messages.RelationMessage::Namespace:System.String",
|
|
1340
1340
|
"clrName": "Namespace",
|
|
1341
|
-
"tsEmitName": "
|
|
1341
|
+
"tsEmitName": "namespace",
|
|
1342
1342
|
"normalizedSignature": "Namespace|:System.String|static=false|accessor=get",
|
|
1343
1343
|
"provenance": "Original",
|
|
1344
1344
|
"emitScope": "ClassSurface",
|
|
@@ -1822,7 +1822,7 @@
|
|
|
1822
1822
|
{
|
|
1823
1823
|
"stableId": "Npgsql:Npgsql.Replication.PgOutput.Messages.TypeMessage::Namespace:System.String",
|
|
1824
1824
|
"clrName": "Namespace",
|
|
1825
|
-
"tsEmitName": "
|
|
1825
|
+
"tsEmitName": "namespace",
|
|
1826
1826
|
"normalizedSignature": "Namespace|:System.String|static=false|accessor=get",
|
|
1827
1827
|
"provenance": "Original",
|
|
1828
1828
|
"emitScope": "ClassSurface",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
{
|
|
102
102
|
"stableId": "Npgsql:NpgsqlTypes.NpgsqlDbType::BooleanNpgsqlTypes.NpgsqlDbType",
|
|
103
103
|
"clrName": "Boolean",
|
|
104
|
-
"tsEmitName": "
|
|
104
|
+
"tsEmitName": "boolean",
|
|
105
105
|
"metadataToken": 67108876,
|
|
106
106
|
"normalizedSignature": "Boolean|NpgsqlTypes.NpgsqlDbType|static=true|const=true",
|
|
107
107
|
"isStatic": true,
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
{
|
|
630
630
|
"stableId": "Npgsql:NpgsqlTypes.NpgsqlDbType::UnknownNpgsqlTypes.NpgsqlDbType",
|
|
631
631
|
"clrName": "Unknown",
|
|
632
|
-
"tsEmitName": "
|
|
632
|
+
"tsEmitName": "unknown",
|
|
633
633
|
"metadataToken": 67108924,
|
|
634
634
|
"normalizedSignature": "Unknown|NpgsqlTypes.NpgsqlDbType|static=true|const=true",
|
|
635
635
|
"isStatic": true,
|
|
@@ -942,7 +942,7 @@
|
|
|
942
942
|
}
|
|
943
943
|
},
|
|
944
944
|
{
|
|
945
|
-
"tsName": "
|
|
945
|
+
"tsName": "boolean",
|
|
946
946
|
"isStatic": true,
|
|
947
947
|
"tsSignatureId": "Boolean|NpgsqlTypes.NpgsqlDbType|static=true|const=true",
|
|
948
948
|
"target": {
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
}
|
|
1423
1423
|
},
|
|
1424
1424
|
{
|
|
1425
|
-
"tsName": "
|
|
1425
|
+
"tsName": "unknown",
|
|
1426
1426
|
"isStatic": true,
|
|
1427
1427
|
"tsSignatureId": "Unknown|NpgsqlTypes.NpgsqlDbType|static=true|const=true",
|
|
1428
1428
|
"target": {
|
|
@@ -29,7 +29,7 @@ export enum NpgsqlDbType {
|
|
|
29
29
|
real = 17,
|
|
30
30
|
smallint = 18,
|
|
31
31
|
money = 12,
|
|
32
|
-
|
|
32
|
+
boolean = 2,
|
|
33
33
|
box = 3,
|
|
34
34
|
circle = 5,
|
|
35
35
|
line = 10,
|
|
@@ -77,7 +77,7 @@ export enum NpgsqlDbType {
|
|
|
77
77
|
regtype = 49,
|
|
78
78
|
tid = 53,
|
|
79
79
|
pgLsn = 59,
|
|
80
|
-
|
|
80
|
+
unknown = 40,
|
|
81
81
|
geometry = 50,
|
|
82
82
|
geography = 55,
|
|
83
83
|
lTree = 60,
|