@tsonic/efcore-npgsql 0.1.1
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/LICENSE +21 -0
- package/Microsoft.EntityFrameworkCore/bindings.json +14997 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +795 -0
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +10154 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +356 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +34 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +172 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +13 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +50 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +22 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +49 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +13 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.d.ts +58 -0
- package/Microsoft.EntityFrameworkCore.js +9 -0
- package/Microsoft.Extensions.DependencyInjection/bindings.json +68 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +22 -0
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +63 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +15 -0
- package/Microsoft.Extensions.DependencyInjection.js +9 -0
- package/Npgsql/bindings.json +26674 -0
- package/Npgsql/internal/index.d.ts +1619 -0
- package/Npgsql/internal/metadata.json +15514 -0
- package/Npgsql.BackendMessages/bindings.json +95 -0
- package/Npgsql.BackendMessages/internal/index.d.ts +25 -0
- package/Npgsql.BackendMessages/internal/metadata.json +72 -0
- package/Npgsql.BackendMessages.d.ts +12 -0
- package/Npgsql.BackendMessages.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +153 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +32 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/metadata.json +60 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +404 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +66 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/metadata.json +269 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal.d.ts +22 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +399 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +40 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/metadata.json +184 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal.d.ts +12 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +152 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +26 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/metadata.json +125 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +14 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +499 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +65 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/metadata.json +342 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +1540 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +128 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/metadata.json +985 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.d.ts +25 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.d.ts +21 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +1581 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +110 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/metadata.json +1064 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +1548 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +149 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/metadata.json +990 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +480 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +111 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/metadata.json +317 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.d.ts +27 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +1255 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +101 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/metadata.json +664 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal.d.ts +18 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.d.ts +26 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +138 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +33 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/metadata.json +95 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +394 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +58 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/metadata.json +262 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.d.ts +23 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +175 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +45 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/metadata.json +114 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations.d.ts +16 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.d.ts +18 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +522 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +51 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/metadata.json +351 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +2098 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +413 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/metadata.json +1349 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.d.ts +54 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +671 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +45 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/metadata.json +304 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +4396 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +360 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/metadata.json +2783 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal.d.ts +36 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.d.ts +12 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +1277 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +266 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/metadata.json +806 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.d.ts +39 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.d.ts +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +151 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +43 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/metadata.json +102 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.d.ts +19 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +1237 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +164 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/metadata.json +807 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +267 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +52 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/metadata.json +186 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json.d.ts +18 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +8287 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +1225 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/metadata.json +4823 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping.d.ts +93 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.d.ts +34 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +85 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +25 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/metadata.json +51 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion.d.ts +13 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +500 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +85 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/metadata.json +341 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.d.ts +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +181 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +40 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/metadata.json +118 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +469 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +110 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/metadata.json +323 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.d.ts +24 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.d.ts +15 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.d.ts +15 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.js +9 -0
- package/Npgsql.Internal/bindings.json +6965 -0
- package/Npgsql.Internal/internal/index.d.ts +591 -0
- package/Npgsql.Internal/internal/metadata.json +4555 -0
- package/Npgsql.Internal.Postgres/bindings.json +973 -0
- package/Npgsql.Internal.Postgres/internal/index.d.ts +89 -0
- package/Npgsql.Internal.Postgres/internal/metadata.json +619 -0
- package/Npgsql.Internal.Postgres.d.ts +15 -0
- package/Npgsql.Internal.Postgres.js +9 -0
- package/Npgsql.Internal.d.ts +78 -0
- package/Npgsql.Internal.js +9 -0
- package/Npgsql.NameTranslation/bindings.json +266 -0
- package/Npgsql.NameTranslation/internal/index.d.ts +56 -0
- package/Npgsql.NameTranslation/internal/metadata.json +173 -0
- package/Npgsql.NameTranslation.d.ts +15 -0
- package/Npgsql.NameTranslation.js +9 -0
- package/Npgsql.PostgresTypes/bindings.json +1375 -0
- package/Npgsql.PostgresTypes/internal/index.d.ts +141 -0
- package/Npgsql.PostgresTypes/internal/metadata.json +480 -0
- package/Npgsql.PostgresTypes.d.ts +22 -0
- package/Npgsql.PostgresTypes.js +9 -0
- package/Npgsql.Replication/bindings.json +1909 -0
- package/Npgsql.Replication/internal/index.d.ts +192 -0
- package/Npgsql.Replication/internal/metadata.json +972 -0
- package/Npgsql.Replication.Internal/bindings.json +165 -0
- package/Npgsql.Replication.Internal/internal/index.d.ts +38 -0
- package/Npgsql.Replication.Internal/internal/metadata.json +119 -0
- package/Npgsql.Replication.Internal.d.ts +21 -0
- package/Npgsql.Replication.Internal.js +9 -0
- package/Npgsql.Replication.PgOutput/bindings.json +1124 -0
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +115 -0
- package/Npgsql.Replication.PgOutput/internal/metadata.json +644 -0
- package/Npgsql.Replication.PgOutput.Messages/bindings.json +4397 -0
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +476 -0
- package/Npgsql.Replication.PgOutput.Messages/internal/metadata.json +1905 -0
- package/Npgsql.Replication.PgOutput.Messages.d.ts +56 -0
- package/Npgsql.Replication.PgOutput.Messages.js +9 -0
- package/Npgsql.Replication.PgOutput.d.ts +26 -0
- package/Npgsql.Replication.PgOutput.js +9 -0
- package/Npgsql.Replication.TestDecoding/bindings.json +522 -0
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +63 -0
- package/Npgsql.Replication.TestDecoding/internal/metadata.json +283 -0
- package/Npgsql.Replication.TestDecoding.d.ts +17 -0
- package/Npgsql.Replication.TestDecoding.js +9 -0
- package/Npgsql.Replication.d.ts +36 -0
- package/Npgsql.Replication.js +9 -0
- package/Npgsql.Schema/bindings.json +714 -0
- package/Npgsql.Schema/internal/index.d.ts +54 -0
- package/Npgsql.Schema/internal/metadata.json +451 -0
- package/Npgsql.Schema.d.ts +15 -0
- package/Npgsql.Schema.js +9 -0
- package/Npgsql.TypeMapping/bindings.json +350 -0
- package/Npgsql.TypeMapping/internal/index.d.ts +43 -0
- package/Npgsql.TypeMapping/internal/metadata.json +248 -0
- package/Npgsql.TypeMapping.d.ts +16 -0
- package/Npgsql.TypeMapping.js +9 -0
- package/Npgsql.Util/bindings.json +17 -0
- package/Npgsql.Util/internal/index.d.ts +22 -0
- package/Npgsql.Util/internal/metadata.json +24 -0
- package/Npgsql.Util.d.ts +12 -0
- package/Npgsql.Util.js +9 -0
- package/Npgsql.d.ts +99 -0
- package/Npgsql.js +9 -0
- package/NpgsqlTypes/bindings.json +8946 -0
- package/NpgsqlTypes/internal/index.d.ts +654 -0
- package/NpgsqlTypes/internal/metadata.json +5014 -0
- package/NpgsqlTypes.d.ts +47 -0
- package/NpgsqlTypes.js +9 -0
- package/README.md +5 -0
- package/__build/ref/Program.cs +5 -0
- package/__build/ref/ref.csproj +13 -0
- package/__build/scripts/generate.sh +113 -0
- package/__internal/extensions/index.d.ts +163 -0
- package/families.json +23 -0
- package/package.json +28 -0
- package/tsconfig.json +20 -0
package/NpgsqlTypes.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: NpgsqlTypes
|
|
3
|
+
// Facade - Public API Surface
|
|
4
|
+
|
|
5
|
+
// Import internal declarations
|
|
6
|
+
import * as Internal from './NpgsqlTypes/internal/index.js';
|
|
7
|
+
|
|
8
|
+
// Cross-namespace type imports for constraints
|
|
9
|
+
import type { ICollection, IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator, IList, IReadOnlyList, List } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
|
+
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.js';
|
|
11
|
+
import type { ITypeDescriptorContext, TypeConverter } from '@tsonic/dotnet/System.ComponentModel.js';
|
|
12
|
+
import type { CultureInfo } from '@tsonic/dotnet/System.Globalization.js';
|
|
13
|
+
import type { Attribute, Boolean as ClrBoolean, Byte, Char, Double, Enum, IComparable, IConvertible, IEquatable, IFormattable, Int16, Int32, Int64, ISpanFormattable, Object as ClrObject, ReadOnlySpan, String as ClrString, Type, UInt16, UInt32, UInt64, ValueType, Void } from '@tsonic/dotnet/System.js';
|
|
14
|
+
import type { IPAddress } from '@tsonic/dotnet/System.Net.js';
|
|
15
|
+
import type { StringBuilder } from '@tsonic/dotnet/System.Text.js';
|
|
16
|
+
|
|
17
|
+
// Public API exports (curated - no internal $instance/$views leakage)
|
|
18
|
+
export { NpgsqlCube as NpgsqlCube } from './NpgsqlTypes/internal/index.js';
|
|
19
|
+
export { NpgsqlDbType as NpgsqlDbType } from './NpgsqlTypes/internal/index.js';
|
|
20
|
+
export { NpgsqlInterval as NpgsqlInterval } from './NpgsqlTypes/internal/index.js';
|
|
21
|
+
export { NpgsqlLogSequenceNumber as NpgsqlLogSequenceNumber } from './NpgsqlTypes/internal/index.js';
|
|
22
|
+
export { NpgsqlRange_1 as NpgsqlRange } from './NpgsqlTypes/internal/index.js';
|
|
23
|
+
export { NpgsqlTsQuery as NpgsqlTsQuery } from './NpgsqlTypes/internal/index.js';
|
|
24
|
+
export { NpgsqlTsQueryLexeme as NpgsqlTsQueryLexeme } from './NpgsqlTypes/internal/index.js';
|
|
25
|
+
export { NpgsqlTsQueryNot as NpgsqlTsQueryNot } from './NpgsqlTypes/internal/index.js';
|
|
26
|
+
export { NpgsqlTsQueryBinOp as NpgsqlTsQueryBinOp } from './NpgsqlTypes/internal/index.js';
|
|
27
|
+
export { NpgsqlTsQueryAnd as NpgsqlTsQueryAnd } from './NpgsqlTypes/internal/index.js';
|
|
28
|
+
export { NpgsqlTsQueryOr as NpgsqlTsQueryOr } from './NpgsqlTypes/internal/index.js';
|
|
29
|
+
export { NpgsqlTsQueryFollowedBy as NpgsqlTsQueryFollowedBy } from './NpgsqlTypes/internal/index.js';
|
|
30
|
+
export { NpgsqlTsQueryEmpty as NpgsqlTsQueryEmpty } from './NpgsqlTypes/internal/index.js';
|
|
31
|
+
export { NpgsqlTsVector as NpgsqlTsVector } from './NpgsqlTypes/internal/index.js';
|
|
32
|
+
export { NpgsqlPoint as NpgsqlPoint } from './NpgsqlTypes/internal/index.js';
|
|
33
|
+
export { NpgsqlLine as NpgsqlLine } from './NpgsqlTypes/internal/index.js';
|
|
34
|
+
export { NpgsqlLSeg as NpgsqlLSeg } from './NpgsqlTypes/internal/index.js';
|
|
35
|
+
export { NpgsqlBox as NpgsqlBox } from './NpgsqlTypes/internal/index.js';
|
|
36
|
+
export { NpgsqlPath as NpgsqlPath } from './NpgsqlTypes/internal/index.js';
|
|
37
|
+
export { NpgsqlPolygon as NpgsqlPolygon } from './NpgsqlTypes/internal/index.js';
|
|
38
|
+
export { NpgsqlCircle as NpgsqlCircle } from './NpgsqlTypes/internal/index.js';
|
|
39
|
+
export { NpgsqlInet as NpgsqlInet } from './NpgsqlTypes/internal/index.js';
|
|
40
|
+
export { NpgsqlCidr as NpgsqlCidr } from './NpgsqlTypes/internal/index.js';
|
|
41
|
+
export { NpgsqlTid as NpgsqlTid } from './NpgsqlTypes/internal/index.js';
|
|
42
|
+
export { PgNameAttribute as PgNameAttribute } from './NpgsqlTypes/internal/index.js';
|
|
43
|
+
export { NpgsqlTsQuery_NodeKind as NpgsqlTsQuery_NodeKind } from './NpgsqlTypes/internal/index.js';
|
|
44
|
+
export { NpgsqlTsQueryLexeme_Weight as NpgsqlTsQueryLexeme_Weight } from './NpgsqlTypes/internal/index.js';
|
|
45
|
+
export { NpgsqlTsVector_Lexeme as NpgsqlTsVector_Lexeme } from './NpgsqlTypes/internal/index.js';
|
|
46
|
+
export { NpgsqlTsVector_Lexeme_WordEntryPos as NpgsqlTsVector_Lexeme_WordEntryPos } from './NpgsqlTypes/internal/index.js';
|
|
47
|
+
export { NpgsqlTsVector_Lexeme_Weight as NpgsqlTsVector_Lexeme_Weight } from './NpgsqlTypes/internal/index.js';
|
package/NpgsqlTypes.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: NpgsqlTypes
|
|
3
|
+
// Module Stub - Do Not Execute
|
|
4
|
+
|
|
5
|
+
throw new Error(
|
|
6
|
+
'Cannot import CLR namespace NpgsqlTypes in JavaScript runtime. ' +
|
|
7
|
+
'This module provides TypeScript type definitions only. ' +
|
|
8
|
+
'Actual implementation requires .NET runtime via Tsonic compiler.'
|
|
9
|
+
);
|
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
+
<PropertyGroup>
|
|
3
|
+
<OutputType>Exe</OutputType>
|
|
4
|
+
<TargetFramework>net10.0</TargetFramework>
|
|
5
|
+
<ImplicitUsings>enable</ImplicitUsings>
|
|
6
|
+
<Nullable>enable</Nullable>
|
|
7
|
+
<NpgsqlEfCoreVersion>10.0.0</NpgsqlEfCoreVersion>
|
|
8
|
+
</PropertyGroup>
|
|
9
|
+
|
|
10
|
+
<ItemGroup>
|
|
11
|
+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(NpgsqlEfCoreVersion)" />
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
</Project>
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Generate TypeScript declarations for Npgsql.EntityFrameworkCore.PostgreSQL (+ dependencies) from NuGet packages.
|
|
3
|
+
#
|
|
4
|
+
# Prerequisites:
|
|
5
|
+
# - .NET 10 SDK installed
|
|
6
|
+
# - tsbindgen repository cloned at ../tsbindgen (sibling directory)
|
|
7
|
+
# - @tsonic/dotnet cloned at ../dotnet (sibling directory)
|
|
8
|
+
# - @tsonic/microsoft-extensions cloned at ../microsoft-extensions (sibling directory)
|
|
9
|
+
# - @tsonic/efcore cloned at ../efcore (sibling directory)
|
|
10
|
+
#
|
|
11
|
+
# Usage:
|
|
12
|
+
# ./__build/scripts/generate.sh
|
|
13
|
+
|
|
14
|
+
set -e
|
|
15
|
+
|
|
16
|
+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
17
|
+
PROJECT_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
18
|
+
TSBINDGEN_DIR="$PROJECT_DIR/../tsbindgen"
|
|
19
|
+
DOTNET_LIB="$PROJECT_DIR/../dotnet"
|
|
20
|
+
EXT_LIB="$PROJECT_DIR/../microsoft-extensions"
|
|
21
|
+
EFCORE_LIB="$PROJECT_DIR/../efcore"
|
|
22
|
+
REF_DIR="$PROJECT_DIR/__build/ref"
|
|
23
|
+
|
|
24
|
+
DOTNET_VERSION="${DOTNET_VERSION:-10.0.1}"
|
|
25
|
+
DOTNET_HOME="${DOTNET_HOME:-$HOME/.dotnet}"
|
|
26
|
+
NETCORE_RUNTIME_PATH="$DOTNET_HOME/shared/Microsoft.NETCore.App/$DOTNET_VERSION"
|
|
27
|
+
|
|
28
|
+
echo "================================================================"
|
|
29
|
+
echo "Generating EF Core Npgsql TypeScript Declarations"
|
|
30
|
+
echo "================================================================"
|
|
31
|
+
echo ""
|
|
32
|
+
echo "Configuration:"
|
|
33
|
+
echo " .NET Runtime: $NETCORE_RUNTIME_PATH"
|
|
34
|
+
echo " BCL Library: $DOTNET_LIB (external reference)"
|
|
35
|
+
echo " Extensions Library: $EXT_LIB (external reference)"
|
|
36
|
+
echo " EF Core Library: $EFCORE_LIB (external reference)"
|
|
37
|
+
echo " tsbindgen: $TSBINDGEN_DIR"
|
|
38
|
+
echo " Ref project: $REF_DIR"
|
|
39
|
+
echo " Output: $PROJECT_DIR"
|
|
40
|
+
echo " Naming: JS (camelCase)"
|
|
41
|
+
echo ""
|
|
42
|
+
|
|
43
|
+
if [ ! -d "$NETCORE_RUNTIME_PATH" ]; then
|
|
44
|
+
echo "ERROR: .NET runtime not found at $NETCORE_RUNTIME_PATH"
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
for dir in "$TSBINDGEN_DIR" "$DOTNET_LIB" "$EXT_LIB" "$EFCORE_LIB"; do
|
|
49
|
+
if [ ! -d "$dir" ]; then
|
|
50
|
+
echo "ERROR: Missing required repo at $dir"
|
|
51
|
+
exit 1
|
|
52
|
+
fi
|
|
53
|
+
done
|
|
54
|
+
|
|
55
|
+
if [ ! -f "$REF_DIR/ref.csproj" ]; then
|
|
56
|
+
echo "ERROR: Reference project not found at $REF_DIR/ref.csproj"
|
|
57
|
+
exit 1
|
|
58
|
+
fi
|
|
59
|
+
|
|
60
|
+
echo "[1/4] Cleaning output directory..."
|
|
61
|
+
cd "$PROJECT_DIR"
|
|
62
|
+
|
|
63
|
+
find . -maxdepth 1 -type d \
|
|
64
|
+
! -name '.' \
|
|
65
|
+
! -name '.git' \
|
|
66
|
+
! -name '.tests' \
|
|
67
|
+
! -name 'node_modules' \
|
|
68
|
+
! -name '__build' \
|
|
69
|
+
-exec rm -rf {} \; 2>/dev/null || true
|
|
70
|
+
|
|
71
|
+
rm -f *.d.ts *.js families.json 2>/dev/null || true
|
|
72
|
+
rm -rf __internal Internal internal 2>/dev/null || true
|
|
73
|
+
|
|
74
|
+
echo " Done"
|
|
75
|
+
|
|
76
|
+
echo "[2/4] Restoring reference project packages..."
|
|
77
|
+
dotnet restore "$REF_DIR/ref.csproj" --verbosity quiet
|
|
78
|
+
echo " Done"
|
|
79
|
+
|
|
80
|
+
echo "[3/4] Building reference project..."
|
|
81
|
+
dotnet build "$REF_DIR/ref.csproj" -c Release --no-restore --verbosity quiet
|
|
82
|
+
echo " Done"
|
|
83
|
+
|
|
84
|
+
echo "[4/4] Building + running tsbindgen..."
|
|
85
|
+
cd "$TSBINDGEN_DIR"
|
|
86
|
+
dotnet build src/tsbindgen/tsbindgen.csproj -c Release --verbosity quiet
|
|
87
|
+
|
|
88
|
+
REF_OUT="$REF_DIR/bin/Release/net10.0"
|
|
89
|
+
REF_DLLS=( "$REF_OUT"/*.dll )
|
|
90
|
+
if [ ! -f "${REF_DLLS[0]}" ]; then
|
|
91
|
+
echo "ERROR: No dlls found in $REF_OUT"
|
|
92
|
+
exit 1
|
|
93
|
+
fi
|
|
94
|
+
|
|
95
|
+
GEN_ARGS=()
|
|
96
|
+
for dll in "${REF_DLLS[@]}"; do
|
|
97
|
+
GEN_ARGS+=( -a "$dll" )
|
|
98
|
+
done
|
|
99
|
+
|
|
100
|
+
# EF Core includes generic `new()` constraints that TypeScript cannot represent for instance-type generics.
|
|
101
|
+
# We explicitly allow this constraint loss to unblock generation (emitted as warnings by tsbindgen).
|
|
102
|
+
dotnet run --project src/tsbindgen/tsbindgen.csproj --no-build -c Release -- \
|
|
103
|
+
generate "${GEN_ARGS[@]}" -d "$NETCORE_RUNTIME_PATH" -o "$PROJECT_DIR" \
|
|
104
|
+
--allow-constructor-constraint-loss \
|
|
105
|
+
--lib "$DOTNET_LIB" \
|
|
106
|
+
--lib "$EXT_LIB" \
|
|
107
|
+
--lib "$EFCORE_LIB" \
|
|
108
|
+
--naming js
|
|
109
|
+
|
|
110
|
+
echo ""
|
|
111
|
+
echo "================================================================"
|
|
112
|
+
echo "Generation Complete"
|
|
113
|
+
echo "================================================================"
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// Generated by tsbindgen - Extension Method Buckets
|
|
2
|
+
// This file contains bucket interfaces for C# extension methods.
|
|
3
|
+
// Buckets are scoped by declaring namespace (C# using semantics).
|
|
4
|
+
// For each namespace with extension methods, this file exports an ExtensionMethods_<Namespace> helper.
|
|
5
|
+
|
|
6
|
+
// Import namespace modules for cross-namespace type references
|
|
7
|
+
import * as Microsoft_EntityFrameworkCore from "../../Microsoft.EntityFrameworkCore/internal/index.js";
|
|
8
|
+
import * as Npgsql_EntityFrameworkCore_PostgreSQL_Metadata from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.js";
|
|
9
|
+
import * as Npgsql_Internal from "../../Npgsql.Internal/internal/index.js";
|
|
10
|
+
import * as Npgsql_Replication from "../../Npgsql.Replication/internal/index.js";
|
|
11
|
+
import * as Npgsql_Replication_Internal from "../../Npgsql.Replication.Internal/internal/index.js";
|
|
12
|
+
import * as Npgsql_Replication_PgOutput from "../../Npgsql.Replication.PgOutput/internal/index.js";
|
|
13
|
+
import * as Npgsql_Replication_PgOutput_Messages from "../../Npgsql.Replication.PgOutput.Messages/internal/index.js";
|
|
14
|
+
import * as Npgsql_Replication_TestDecoding from "../../Npgsql.Replication.TestDecoding/internal/index.js";
|
|
15
|
+
import * as NpgsqlTypes from "../../NpgsqlTypes/internal/index.js";
|
|
16
|
+
|
|
17
|
+
// Import primitive type aliases
|
|
18
|
+
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
19
|
+
|
|
20
|
+
// Import CLR type aliases for generic type arguments
|
|
21
|
+
import * as System_Internal from "../../System/internal/index.js";
|
|
22
|
+
|
|
23
|
+
// Import unsafe type markers
|
|
24
|
+
import type { ptr } from '@tsonic/core/types.js';
|
|
25
|
+
|
|
26
|
+
export interface __Ext_Microsoft_EntityFrameworkCore_NpgsqlCube {
|
|
27
|
+
overlaps(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
28
|
+
contains(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
29
|
+
containedBy(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
30
|
+
nthCoordinate(index: int): ExtensionMethods_Microsoft_EntityFrameworkCore<double>;
|
|
31
|
+
nthCoordinateKnn(index: int): ExtensionMethods_Microsoft_EntityFrameworkCore<double>;
|
|
32
|
+
distance(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<double>;
|
|
33
|
+
distanceTaxicab(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<double>;
|
|
34
|
+
distanceChebyshev(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<double>;
|
|
35
|
+
union(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlCube>;
|
|
36
|
+
intersect(other: NpgsqlTypes.NpgsqlCube): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlCube>;
|
|
37
|
+
enlarge(radius: double, dimensions: int): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlCube>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface __Ext_Microsoft_EntityFrameworkCore_NpgsqlRange_1<T> {
|
|
41
|
+
containedBy(multirange: NpgsqlTypes.NpgsqlRange_1<T>[]): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
42
|
+
containedBy(multirange: List_1<NpgsqlTypes.NpgsqlRange_1<T>>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
43
|
+
contains(value: T): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
44
|
+
contains(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
45
|
+
containedBy(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
46
|
+
overlaps(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
47
|
+
isStrictlyLeftOf(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
48
|
+
isStrictlyRightOf(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
49
|
+
doesNotExtendLeftOf(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
50
|
+
doesNotExtendRightOf(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
51
|
+
isAdjacentTo(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
52
|
+
union(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlRange_1<T>>;
|
|
53
|
+
intersect(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlRange_1<T>>;
|
|
54
|
+
except(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlRange_1<T>>;
|
|
55
|
+
merge(b: NpgsqlTypes.NpgsqlRange_1<T>): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlRange_1<T>>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface __Ext_Microsoft_EntityFrameworkCore_NpgsqlTsQuery {
|
|
59
|
+
and(query2: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
60
|
+
or(query2: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
61
|
+
toNegative(): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
62
|
+
contains(query2: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
63
|
+
isContainedIn(query2: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
64
|
+
getNodeCount(): ExtensionMethods_Microsoft_EntityFrameworkCore<int>;
|
|
65
|
+
getQueryTree(): ExtensionMethods_Microsoft_EntityFrameworkCore<string>;
|
|
66
|
+
getResultHeadline(document: string): ExtensionMethods_Microsoft_EntityFrameworkCore<string>;
|
|
67
|
+
getResultHeadline(document: string, options: string): ExtensionMethods_Microsoft_EntityFrameworkCore<string>;
|
|
68
|
+
getResultHeadline(config: string, document: string, options: string): ExtensionMethods_Microsoft_EntityFrameworkCore<string>;
|
|
69
|
+
rewrite(target: NpgsqlTypes.NpgsqlTsQuery, substitute: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
70
|
+
rewrite(select: string): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
71
|
+
toPhrase(query2: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
72
|
+
toPhrase(query2: NpgsqlTypes.NpgsqlTsQuery, distance: int): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsQuery>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface __Ext_Microsoft_EntityFrameworkCore_NpgsqlTsVector {
|
|
76
|
+
matches(query: string): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
77
|
+
matches(query: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<boolean>;
|
|
78
|
+
concat(vector2: NpgsqlTypes.NpgsqlTsVector): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
79
|
+
setWeight(weight: NpgsqlTypes.NpgsqlTsVector_Lexeme_Weight): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
80
|
+
setWeight(weight: NpgsqlTypes.NpgsqlTsVector_Lexeme_Weight, lexemes: string[]): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
81
|
+
setWeight(weight: char): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
82
|
+
setWeight(weight: char, lexemes: string[]): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
83
|
+
delete_(lexeme: string): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
84
|
+
delete_(lexemes: string[]): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
85
|
+
filter(weights: char[]): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
86
|
+
getLength(): ExtensionMethods_Microsoft_EntityFrameworkCore<int>;
|
|
87
|
+
toStripped(): ExtensionMethods_Microsoft_EntityFrameworkCore<NpgsqlTypes.NpgsqlTsVector>;
|
|
88
|
+
rank(query: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
89
|
+
rank(query: NpgsqlTypes.NpgsqlTsQuery, normalization: Microsoft_EntityFrameworkCore.NpgsqlTsRankingNormalization): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
90
|
+
rank(weights: float[], query: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
91
|
+
rank(weights: float[], query: NpgsqlTypes.NpgsqlTsQuery, normalization: Microsoft_EntityFrameworkCore.NpgsqlTsRankingNormalization): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
92
|
+
rankCoverDensity(query: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
93
|
+
rankCoverDensity(query: NpgsqlTypes.NpgsqlTsQuery, normalization: Microsoft_EntityFrameworkCore.NpgsqlTsRankingNormalization): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
94
|
+
rankCoverDensity(weights: float[], query: NpgsqlTypes.NpgsqlTsQuery): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
95
|
+
rankCoverDensity(weights: float[], query: NpgsqlTypes.NpgsqlTsQuery, normalization: Microsoft_EntityFrameworkCore.NpgsqlTsRankingNormalization): ExtensionMethods_Microsoft_EntityFrameworkCore<float>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export interface __Ext_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_NpgsqlValueGenerationStrategy {
|
|
99
|
+
isIdentity(): ExtensionMethods_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata<boolean>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface __Ext_Npgsql_Internal_TypeInfoMapping {
|
|
103
|
+
createInfo(options: Npgsql_Internal.PgSerializerOptions, converter: Npgsql_Internal.PgConverter): ExtensionMethods_Npgsql_Internal<Npgsql_Internal.PgTypeInfo>;
|
|
104
|
+
createInfo(options: Npgsql_Internal.PgSerializerOptions, converter: Npgsql_Internal.PgConverter, preferredFormat: Nullable_1<Npgsql_Internal.DataFormat>, supportsWriting: boolean): ExtensionMethods_Npgsql_Internal<Npgsql_Internal.PgTypeInfo>;
|
|
105
|
+
createInfo(options: Npgsql_Internal.PgSerializerOptions, resolver: Npgsql_Internal.PgConverterResolver, includeDataTypeName: boolean): ExtensionMethods_Npgsql_Internal<Npgsql_Internal.PgResolverTypeInfo>;
|
|
106
|
+
createInfo(options: Npgsql_Internal.PgSerializerOptions, resolver: Npgsql_Internal.PgConverterResolver, includeDataTypeName: boolean, preferredFormat: Nullable_1<Npgsql_Internal.DataFormat>, supportsWriting: boolean): ExtensionMethods_Npgsql_Internal<Npgsql_Internal.PgResolverTypeInfo>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface __Ext_Npgsql_Replication_LogicalReplicationConnection {
|
|
110
|
+
createPgOutputReplicationSlot(slotName: string, temporarySlot: boolean, slotSnapshotInitMode: Nullable_1<Npgsql_Replication.LogicalSlotSnapshotInitMode>, twoPhase: boolean, cancellationToken: CancellationToken): ExtensionMethods_Npgsql_Replication<Task_1<Npgsql_Replication_PgOutput.PgOutputReplicationSlot>>;
|
|
111
|
+
startReplication(slot: Npgsql_Replication_PgOutput.PgOutputReplicationSlot, options: Npgsql_Replication_PgOutput.PgOutputReplicationOptions, cancellationToken: CancellationToken, walLocation: Nullable_1<NpgsqlTypes.NpgsqlLogSequenceNumber>): ExtensionMethods_Npgsql_Replication<IAsyncEnumerable_1<Npgsql_Replication_PgOutput_Messages.PgOutputReplicationMessage>>;
|
|
112
|
+
createTestDecodingReplicationSlot(slotName: string, temporarySlot: boolean, slotSnapshotInitMode: Nullable_1<Npgsql_Replication.LogicalSlotSnapshotInitMode>, twoPhase: boolean, cancellationToken: CancellationToken): ExtensionMethods_Npgsql_Replication<Task_1<Npgsql_Replication_TestDecoding.TestDecodingReplicationSlot>>;
|
|
113
|
+
startReplication(slot: Npgsql_Replication_TestDecoding.TestDecodingReplicationSlot, cancellationToken: CancellationToken, options: Npgsql_Replication_TestDecoding.TestDecodingOptions, walLocation: Nullable_1<NpgsqlTypes.NpgsqlLogSequenceNumber>): ExtensionMethods_Npgsql_Replication<IAsyncEnumerable_1<Npgsql_Replication_TestDecoding.TestDecodingData>>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface __Ext_Npgsql_Replication_Internal_LogicalReplicationConnection {
|
|
117
|
+
createLogicalReplicationSlot(slotName: string, outputPlugin: string, isTemporary: boolean, slotSnapshotInitMode: Nullable_1<Npgsql_Replication.LogicalSlotSnapshotInitMode>, twoPhase: boolean, cancellationToken: CancellationToken): ExtensionMethods_Npgsql_Replication_Internal<Task_1<Npgsql_Replication.ReplicationSlotOptions>>;
|
|
118
|
+
startLogicalReplication(slot: Npgsql_Replication_Internal.LogicalReplicationSlot, cancellationToken: CancellationToken, walLocation: Nullable_1<NpgsqlTypes.NpgsqlLogSequenceNumber>, options: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>, bypassingStream: boolean): ExtensionMethods_Npgsql_Replication_Internal<IAsyncEnumerable_1<Npgsql_Replication.XLogDataMessage>>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Generic helper type for extension methods in namespace: Microsoft.EntityFrameworkCore
|
|
122
|
+
export type ExtensionMethods_Microsoft_EntityFrameworkCore<TShape> =
|
|
123
|
+
TShape extends null | undefined ? TShape
|
|
124
|
+
: TShape extends void ? void
|
|
125
|
+
: TShape & (
|
|
126
|
+
(TShape extends NpgsqlTypes.NpgsqlCube ? __Ext_Microsoft_EntityFrameworkCore_NpgsqlCube : {}) &
|
|
127
|
+
(TShape extends NpgsqlTypes.NpgsqlRange_1<infer T0> ? __Ext_Microsoft_EntityFrameworkCore_NpgsqlRange_1<T0> : {}) &
|
|
128
|
+
(TShape extends NpgsqlTypes.NpgsqlTsQuery ? __Ext_Microsoft_EntityFrameworkCore_NpgsqlTsQuery : {}) &
|
|
129
|
+
(TShape extends NpgsqlTypes.NpgsqlTsVector ? __Ext_Microsoft_EntityFrameworkCore_NpgsqlTsVector : {})
|
|
130
|
+
);
|
|
131
|
+
|
|
132
|
+
// Generic helper type for extension methods in namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Metadata
|
|
133
|
+
export type ExtensionMethods_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata<TShape> =
|
|
134
|
+
TShape extends null | undefined ? TShape
|
|
135
|
+
: TShape extends void ? void
|
|
136
|
+
: TShape & (
|
|
137
|
+
(TShape extends Npgsql_EntityFrameworkCore_PostgreSQL_Metadata.NpgsqlValueGenerationStrategy ? __Ext_Npgsql_EntityFrameworkCore_PostgreSQL_Metadata_NpgsqlValueGenerationStrategy : {})
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
// Generic helper type for extension methods in namespace: Npgsql.Internal
|
|
141
|
+
export type ExtensionMethods_Npgsql_Internal<TShape> =
|
|
142
|
+
TShape extends null | undefined ? TShape
|
|
143
|
+
: TShape extends void ? void
|
|
144
|
+
: TShape & (
|
|
145
|
+
(TShape extends Npgsql_Internal.TypeInfoMapping ? __Ext_Npgsql_Internal_TypeInfoMapping : {})
|
|
146
|
+
);
|
|
147
|
+
|
|
148
|
+
// Generic helper type for extension methods in namespace: Npgsql.Replication
|
|
149
|
+
export type ExtensionMethods_Npgsql_Replication<TShape> =
|
|
150
|
+
TShape extends null | undefined ? TShape
|
|
151
|
+
: TShape extends void ? void
|
|
152
|
+
: TShape & (
|
|
153
|
+
(TShape extends Npgsql_Replication.LogicalReplicationConnection ? __Ext_Npgsql_Replication_LogicalReplicationConnection : {})
|
|
154
|
+
);
|
|
155
|
+
|
|
156
|
+
// Generic helper type for extension methods in namespace: Npgsql.Replication.Internal
|
|
157
|
+
export type ExtensionMethods_Npgsql_Replication_Internal<TShape> =
|
|
158
|
+
TShape extends null | undefined ? TShape
|
|
159
|
+
: TShape extends void ? void
|
|
160
|
+
: TShape & (
|
|
161
|
+
(TShape extends Npgsql_Replication.LogicalReplicationConnection ? __Ext_Npgsql_Replication_Internal_LogicalReplicationConnection : {})
|
|
162
|
+
);
|
|
163
|
+
|
package/families.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Npgsql.NpgsqlParameter": {
|
|
3
|
+
"stem": "NpgsqlParameter",
|
|
4
|
+
"namespace": "Npgsql",
|
|
5
|
+
"minArity": 0,
|
|
6
|
+
"maxArity": 1,
|
|
7
|
+
"isDelegate": false
|
|
8
|
+
},
|
|
9
|
+
"Npgsql.Internal.PgConverter": {
|
|
10
|
+
"stem": "PgConverter",
|
|
11
|
+
"namespace": "Npgsql.Internal",
|
|
12
|
+
"minArity": 0,
|
|
13
|
+
"maxArity": 1,
|
|
14
|
+
"isDelegate": false
|
|
15
|
+
},
|
|
16
|
+
"Npgsql.Internal.PgConverterResolver": {
|
|
17
|
+
"stem": "PgConverterResolver",
|
|
18
|
+
"namespace": "Npgsql.Internal",
|
|
19
|
+
"minArity": 0,
|
|
20
|
+
"maxArity": 1,
|
|
21
|
+
"isDelegate": false
|
|
22
|
+
}
|
|
23
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tsonic/efcore-npgsql",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "TypeScript type definitions for Npgsql.EntityFrameworkCore.PostgreSQL (+ dependencies) for .NET 10",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dotnet",
|
|
8
|
+
"typescript",
|
|
9
|
+
"types",
|
|
10
|
+
"tsonic",
|
|
11
|
+
"efcore",
|
|
12
|
+
"entity-framework-core",
|
|
13
|
+
"npgsql",
|
|
14
|
+
"postgresql"
|
|
15
|
+
],
|
|
16
|
+
"author": "Tsonic Team",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/tsoniclang/efcore-npgsql.git"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@tsonic/core": "^0.6.0",
|
|
24
|
+
"@tsonic/dotnet": "^0.8.4",
|
|
25
|
+
"@tsonic/microsoft-extensions": "^0.1.0",
|
|
26
|
+
"@tsonic/efcore": "^0.1.0"
|
|
27
|
+
}
|
|
28
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"lib": ["ES2022"],
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"skipLibCheck": false,
|
|
10
|
+
"types": []
|
|
11
|
+
},
|
|
12
|
+
"include": [
|
|
13
|
+
"**/*.d.ts"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"node_modules",
|
|
17
|
+
"__build"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
|