@tsonic/efcore-npgsql 10.0.1 → 10.0.5

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.
Files changed (99) hide show
  1. package/Microsoft.EntityFrameworkCore/bindings.json +737 -0
  2. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +2 -0
  3. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +20 -0
  4. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +5 -0
  5. package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
  6. package/Microsoft.Extensions.DependencyInjection/bindings.json +6 -0
  7. package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
  8. package/Npgsql/bindings.json +3099 -41
  9. package/Npgsql/internal/index.d.ts +231 -75
  10. package/Npgsql.BackendMessages/bindings.json +7 -0
  11. package/Npgsql.BackendMessages/internal/index.d.ts +0 -1
  12. package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +39 -1
  13. package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +4 -1
  14. package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +179 -0
  15. package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +11 -0
  16. package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +22 -0
  17. package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +8 -0
  18. package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +3 -0
  19. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +59 -1
  20. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +7 -2
  21. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +275 -16
  22. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +37 -9
  23. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.d.ts +1 -1
  24. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.d.ts +2 -2
  25. package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +120 -31
  26. package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +9 -8
  27. package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +3 -0
  28. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +150 -0
  29. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +8 -11
  30. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +480 -4
  31. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +49 -4
  32. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.d.ts +4 -4
  33. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +85 -0
  34. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +4 -0
  35. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +763 -8
  36. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +44 -4
  37. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +94 -0
  38. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +9 -2
  39. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.d.ts +2 -2
  40. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +42 -0
  41. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +10 -2
  42. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.d.ts +5 -4
  43. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +31 -0
  44. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +2 -0
  45. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +410 -0
  46. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +69 -0
  47. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +53 -0
  48. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +1093 -9
  49. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +91 -3
  50. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +2356 -296
  51. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +112 -5
  52. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.d.ts +6 -5
  53. package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +25 -0
  54. package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +4 -0
  55. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +508 -4
  56. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +55 -8
  57. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +23 -0
  58. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +0 -1
  59. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +4017 -129
  60. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +210 -8
  61. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.d.ts +5 -4
  62. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +16 -0
  63. package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +257 -2
  64. package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +24 -2
  65. package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.d.ts +5 -2
  66. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +20 -0
  67. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +137 -1
  68. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +21 -1
  69. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.d.ts +3 -1
  70. package/Npgsql.EntityFrameworkCore.PostgreSQL.d.ts +1 -1
  71. package/Npgsql.Internal/bindings.json +884 -15
  72. package/Npgsql.Internal/internal/index.d.ts +41 -18
  73. package/Npgsql.Internal.Postgres/bindings.json +81 -0
  74. package/Npgsql.Internal.Postgres/internal/index.d.ts +6 -0
  75. package/Npgsql.Internal.d.ts +1 -1
  76. package/Npgsql.NameTranslation/bindings.json +30 -0
  77. package/Npgsql.NameTranslation/internal/index.d.ts +4 -0
  78. package/Npgsql.PostgresTypes/bindings.json +144 -12
  79. package/Npgsql.PostgresTypes/internal/index.d.ts +12 -18
  80. package/Npgsql.Replication/bindings.json +166 -11
  81. package/Npgsql.Replication/internal/index.d.ts +12 -7
  82. package/Npgsql.Replication.Internal/bindings.json +26 -1
  83. package/Npgsql.Replication.Internal/internal/index.d.ts +1 -1
  84. package/Npgsql.Replication.PgOutput/bindings.json +160 -6
  85. package/Npgsql.Replication.PgOutput/internal/index.d.ts +7 -5
  86. package/Npgsql.Replication.PgOutput.Messages/bindings.json +513 -83
  87. package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +43 -66
  88. package/Npgsql.Replication.TestDecoding/bindings.json +40 -2
  89. package/Npgsql.Replication.TestDecoding/internal/index.d.ts +3 -1
  90. package/Npgsql.Schema/bindings.json +87 -54
  91. package/Npgsql.Schema/internal/index.d.ts +34 -28
  92. package/Npgsql.TypeMapping/bindings.json +17 -0
  93. package/Npgsql.TypeMapping/internal/index.d.ts +2 -0
  94. package/Npgsql.Util/bindings.json +4 -0
  95. package/Npgsql.d.ts +1 -1
  96. package/NpgsqlTypes/bindings.json +871 -4
  97. package/NpgsqlTypes/internal/index.d.ts +67 -7
  98. package/__internal/extensions/index.d.ts +752 -12
  99. package/package.json +1 -1
@@ -5,17 +5,21 @@
5
5
  // Primitive type aliases from @tsonic/core
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
+ // Import support types from @tsonic/core
9
+ import type { ptr } from "@tsonic/core/types.js";
10
+
8
11
  // Import types from other namespaces
9
12
  import type { INpgsqlSingletonOptions } from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js";
13
+ import type { PgAllExpression, PgAnyExpression, PgArrayIndexExpression, PgArraySliceExpression, PgBinaryExpression, PgDeleteExpression, PgFunctionExpression, PgILikeExpression, PgJsonTraversalExpression, PgNewArrayExpression, PgRegexMatchExpression, PgRowValueExpression, PgTableValuedFunctionExpression, PgUnknownBinaryExpression } from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.js";
10
14
  import type { IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
11
15
  import * as System_Internal from "@tsonic/dotnet/System.js";
12
- import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version } from "@tsonic/dotnet/System.js";
16
+ import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version, Void } from "@tsonic/dotnet/System.js";
13
17
  import * as System_Linq_Expressions_Internal from "@tsonic/dotnet/System.Linq.Expressions.js";
14
- import type { Expression, ExpressionVisitor } from "@tsonic/dotnet/System.Linq.Expressions.js";
15
- import type { IModel } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
18
+ import type { BinaryExpression, ConditionalExpression, Expression, ExpressionVisitor, LambdaExpression, MethodCallExpression, NewArrayExpression, NewExpression, UnaryExpression } from "@tsonic/dotnet/System.Linq.Expressions.js";
19
+ import type { IModel, IProperty } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
16
20
  import * as Microsoft_EntityFrameworkCore_Query_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js";
17
- import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, SqlNullabilityProcessor, SqlTreePruner } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js";
18
- import type { SqlExpression } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js";
21
+ import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, JsonQueryExpression, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, ShapedQueryExpression, SqlNullabilityProcessor, SqlTreePruner } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js";
22
+ import type { CollateExpression, CrossApplyExpression, DeleteExpression, JsonScalarExpression, OrderingExpression, OuterApplyExpression, SelectExpression, SetOperationBase, SqlBinaryExpression, SqlConstantExpression, SqlExpression, SqlFunctionExpression, SqlUnaryExpression, TableExpression, TableExpressionBase, UpdateExpression, ValuesExpression } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js";
19
23
  import type { IRelationalTypeMappingSource } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
20
24
 
21
25
  export enum NpgsqlSqlTranslatingExpressionVisitor_StartsEndsWithContains {
@@ -26,6 +30,8 @@ export enum NpgsqlSqlTranslatingExpressionVisitor_StartsEndsWithContains {
26
30
 
27
31
 
28
32
  export interface NpgsqlCompiledQueryCacheKeyGenerator$instance extends RelationalCompiledQueryCacheKeyGenerator {
33
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_ICompiledQueryCacheKeyGenerator: never;
34
+
29
35
  GenerateCacheKey(query: Expression, async: boolean): unknown;
30
36
  }
31
37
 
@@ -39,6 +45,7 @@ export type NpgsqlCompiledQueryCacheKeyGenerator = NpgsqlCompiledQueryCacheKeyGe
39
45
 
40
46
  export interface NpgsqlDeleteConvertingExpressionVisitor$instance extends ExpressionVisitor {
41
47
  Process(node: Expression): Expression;
48
+ VisitDelete(deleteExpression: DeleteExpression): Expression;
42
49
  }
43
50
 
44
51
 
@@ -50,6 +57,8 @@ export const NpgsqlDeleteConvertingExpressionVisitor: {
50
57
  export type NpgsqlDeleteConvertingExpressionVisitor = NpgsqlDeleteConvertingExpressionVisitor$instance;
51
58
 
52
59
  export interface NpgsqlEvaluatableExpressionFilter$instance extends RelationalEvaluatableExpressionFilter {
60
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IEvaluatableExpressionFilter: never;
61
+
53
62
  IsEvaluatableExpression(expression: Expression, model: IModel): boolean;
54
63
  }
55
64
 
@@ -63,6 +72,7 @@ export type NpgsqlEvaluatableExpressionFilter = NpgsqlEvaluatableExpressionFilte
63
72
 
64
73
  export interface NpgsqlParameterBasedSqlProcessor$instance extends RelationalParameterBasedSqlProcessor {
65
74
  Process(queryExpression: Expression, parametersDecorator: ParametersCacheDecorator): Expression;
75
+ ProcessSqlNullability(selectExpression: Expression, parametersDecorator: ParametersCacheDecorator): Expression;
66
76
  }
67
77
 
68
78
 
@@ -74,6 +84,8 @@ export const NpgsqlParameterBasedSqlProcessor: {
74
84
  export type NpgsqlParameterBasedSqlProcessor = NpgsqlParameterBasedSqlProcessor$instance;
75
85
 
76
86
  export interface NpgsqlParameterBasedSqlProcessorFactory$instance {
87
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IRelationalParameterBasedSqlProcessorFactory: never;
88
+
77
89
  Create(parameters: RelationalParameterBasedSqlProcessorParameters): RelationalParameterBasedSqlProcessor;
78
90
  }
79
91
 
@@ -86,6 +98,25 @@ export const NpgsqlParameterBasedSqlProcessorFactory: {
86
98
  export type NpgsqlParameterBasedSqlProcessorFactory = NpgsqlParameterBasedSqlProcessorFactory$instance;
87
99
 
88
100
  export interface NpgsqlQueryableMethodTranslatingExpressionVisitor$instance extends RelationalQueryableMethodTranslatingExpressionVisitor {
101
+ CreateSubqueryVisitor(): QueryableMethodTranslatingExpressionVisitor;
102
+ GenerateJsonPartialUpdateSetter(target: Expression, value: SqlExpression, existingSetterValue: SqlExpression): SqlExpression | undefined;
103
+ IsNaturallyOrdered(selectExpression: SelectExpression): boolean;
104
+ IsOrdered(selectExpression: SelectExpression): boolean;
105
+ IsValidSelectExpressionForExecuteDelete(selectExpression: SelectExpression): boolean;
106
+ IsValidSelectExpressionForExecuteUpdate(selectExpression: SelectExpression, targetTable: TableExpressionBase, tableExpression: TableExpression): boolean;
107
+ TransformJsonQueryToTable(jsonQueryExpression: JsonQueryExpression): ShapedQueryExpression;
108
+ TranslateAll(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
109
+ TranslateAny(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
110
+ TranslateConcat(source1: ShapedQueryExpression, source2: ShapedQueryExpression): ShapedQueryExpression;
111
+ TranslateContains(source: ShapedQueryExpression, item: Expression): ShapedQueryExpression | undefined;
112
+ TranslateCount(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
113
+ TranslateElementAtOrDefault(source: ShapedQueryExpression, index: Expression, returnDefault: boolean): ShapedQueryExpression | undefined;
114
+ TranslateFirstOrDefault(source: ShapedQueryExpression, predicate: LambdaExpression, returnType: Type, returnDefault: boolean): ShapedQueryExpression | undefined;
115
+ TranslatePrimitiveCollection(sqlExpression: SqlExpression, property: IProperty, tableAlias: string): ShapedQueryExpression | undefined;
116
+ TranslateSkip(source: ShapedQueryExpression, count: Expression): ShapedQueryExpression | undefined;
117
+ TranslateTake(source: ShapedQueryExpression, count: Expression): ShapedQueryExpression | undefined;
118
+ TranslateWhere(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
119
+ TrySerializeScalarToJson(target: JsonScalarExpression, value: SqlExpression, jsonValue: SqlExpression): boolean;
89
120
  }
90
121
 
91
122
 
@@ -97,6 +128,10 @@ export const NpgsqlQueryableMethodTranslatingExpressionVisitor: {
97
128
  export type NpgsqlQueryableMethodTranslatingExpressionVisitor = NpgsqlQueryableMethodTranslatingExpressionVisitor$instance;
98
129
 
99
130
  export interface NpgsqlQueryableMethodTranslatingExpressionVisitorFactory$instance {
131
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IQueryableMethodTranslatingExpressionVisitorFactory: never;
132
+
133
+ readonly Dependencies: QueryableMethodTranslatingExpressionVisitorDependencies;
134
+ readonly RelationalDependencies: RelationalQueryableMethodTranslatingExpressionVisitorDependencies;
100
135
  Create(queryCompilationContext: QueryCompilationContext): QueryableMethodTranslatingExpressionVisitor;
101
136
  }
102
137
 
@@ -123,6 +158,8 @@ export const NpgsqlQueryCompilationContext: {
123
158
  export type NpgsqlQueryCompilationContext = NpgsqlQueryCompilationContext$instance;
124
159
 
125
160
  export interface NpgsqlQueryCompilationContextFactory$instance {
161
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IQueryCompilationContextFactory: never;
162
+
126
163
  Create(async: boolean): QueryCompilationContext;
127
164
  CreatePrecompiled(async: boolean): QueryCompilationContext;
128
165
  }
@@ -136,6 +173,43 @@ export const NpgsqlQueryCompilationContextFactory: {
136
173
  export type NpgsqlQueryCompilationContextFactory = NpgsqlQueryCompilationContextFactory$instance;
137
174
 
138
175
  export interface NpgsqlQuerySqlGenerator$instance extends QuerySqlGenerator {
176
+ GenerateLimitOffset(selectExpression: SelectExpression): void;
177
+ GenerateRootCommand(queryExpression: Expression): void;
178
+ GenerateSetOperation(setOperation: SetOperationBase): void;
179
+ GenerateSetOperationOperand(setOperation: SetOperationBase, operand: SelectExpression): void;
180
+ GenerateTop(selectExpression: SelectExpression): void;
181
+ GenerateValues(valuesExpression: ValuesExpression): void;
182
+ GetOperator(e: SqlBinaryExpression): string;
183
+ RequiresParentheses(outerExpression: SqlExpression, innerExpression: SqlExpression): boolean;
184
+ TryGenerateWithoutWrappingSelect(selectExpression: SelectExpression): boolean;
185
+ TryGetOperatorInfo(expression: SqlExpression, precedence: int, isAssociative: boolean): boolean;
186
+ VisitArrayAll(expression: PgAllExpression): Expression;
187
+ VisitArrayAny(expression: PgAnyExpression): Expression;
188
+ VisitArrayIndex(expression: SqlBinaryExpression): Expression;
189
+ VisitArrayIndex(expression: PgArrayIndexExpression): Expression;
190
+ VisitArraySlice(expression: PgArraySliceExpression): Expression;
191
+ VisitCollate(collateExpression: CollateExpression): Expression;
192
+ VisitCrossApply(crossApplyExpression: CrossApplyExpression): Expression;
193
+ VisitDelete(deleteExpression: DeleteExpression): Expression;
194
+ VisitExtension(extensionExpression: Expression): Expression;
195
+ VisitILike(likeExpression: PgILikeExpression, negated?: boolean): Expression;
196
+ VisitJsonPathTraversal(expression: PgJsonTraversalExpression): Expression;
197
+ VisitJsonScalar(jsonScalarExpression: JsonScalarExpression): Expression;
198
+ VisitNewArray(pgNewArrayExpression: PgNewArrayExpression): Expression;
199
+ VisitOrdering(ordering: OrderingExpression): Expression;
200
+ VisitOuterApply(outerApplyExpression: OuterApplyExpression): Expression;
201
+ VisitPgBinary(binaryExpression: PgBinaryExpression): Expression;
202
+ VisitPgDelete(pgDeleteExpression: PgDeleteExpression): Expression;
203
+ VisitPgFunction(e: PgFunctionExpression): Expression;
204
+ VisitPgTableValuedFunctionExpression(tableValuedFunctionExpression: PgTableValuedFunctionExpression): Expression;
205
+ VisitRegexMatch(expression: PgRegexMatchExpression, negated?: boolean): Expression;
206
+ VisitRowValue(rowValueExpression: PgRowValueExpression): Expression;
207
+ VisitSqlBinary(binary: SqlBinaryExpression): Expression;
208
+ VisitSqlConstant(sqlConstantExpression: SqlConstantExpression): Expression;
209
+ VisitSqlUnary(sqlUnaryExpression: SqlUnaryExpression): Expression;
210
+ VisitUnknownBinary(unknownBinaryExpression: PgUnknownBinaryExpression): Expression;
211
+ VisitUpdate(updateExpression: UpdateExpression): Expression;
212
+ VisitValues(valuesExpression: ValuesExpression): Expression;
139
213
  }
140
214
 
141
215
 
@@ -147,6 +221,8 @@ export const NpgsqlQuerySqlGenerator: {
147
221
  export type NpgsqlQuerySqlGenerator = NpgsqlQuerySqlGenerator$instance;
148
222
 
149
223
  export interface NpgsqlQuerySqlGeneratorFactory$instance {
224
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IQuerySqlGeneratorFactory: never;
225
+
150
226
  Create(): QuerySqlGenerator;
151
227
  }
152
228
 
@@ -160,6 +236,8 @@ export type NpgsqlQuerySqlGeneratorFactory = NpgsqlQuerySqlGeneratorFactory$inst
160
236
 
161
237
  export interface NpgsqlQueryTranslationPostprocessor$instance extends RelationalQueryTranslationPostprocessor {
162
238
  Process(query: Expression): Expression;
239
+ ProcessTypeMappings(expression: Expression): Expression;
240
+ Prune(query: Expression): Expression;
163
241
  }
164
242
 
165
243
 
@@ -171,6 +249,10 @@ export const NpgsqlQueryTranslationPostprocessor: {
171
249
  export type NpgsqlQueryTranslationPostprocessor = NpgsqlQueryTranslationPostprocessor$instance;
172
250
 
173
251
  export interface NpgsqlQueryTranslationPostprocessorFactory$instance {
252
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IQueryTranslationPostprocessorFactory: never;
253
+
254
+ readonly Dependencies: QueryTranslationPostprocessorDependencies;
255
+ readonly RelationalDependencies: RelationalQueryTranslationPostprocessorDependencies;
174
256
  Create(queryCompilationContext: QueryCompilationContext): QueryTranslationPostprocessor;
175
257
  }
176
258
 
@@ -183,6 +265,7 @@ export const NpgsqlQueryTranslationPostprocessorFactory: {
183
265
  export type NpgsqlQueryTranslationPostprocessorFactory = NpgsqlQueryTranslationPostprocessorFactory$instance;
184
266
 
185
267
  export interface NpgsqlSetOperationTypingInjector$instance extends ExpressionVisitor {
268
+ VisitExtension(extensionExpression: Expression): Expression;
186
269
  }
187
270
 
188
271
 
@@ -194,6 +277,20 @@ export const NpgsqlSetOperationTypingInjector: {
194
277
  export type NpgsqlSetOperationTypingInjector = NpgsqlSetOperationTypingInjector$instance;
195
278
 
196
279
  export interface NpgsqlSqlNullabilityProcessor$instance extends SqlNullabilityProcessor {
280
+ VisitAll(allExpression: PgAllExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
281
+ VisitAny(anyExpression: PgAnyExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
282
+ VisitArrayIndex(arrayIndexExpression: PgArrayIndexExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
283
+ VisitArraySlice(arraySliceExpression: PgArraySliceExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
284
+ VisitCustomSqlExpression(sqlExpression: SqlExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
285
+ VisitILike(iLikeExpression: PgILikeExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
286
+ VisitJsonTraversal(jsonTraversalExpression: PgJsonTraversalExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
287
+ VisitNewArray(newArrayExpression: PgNewArrayExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
288
+ VisitPostgresBinary(binaryExpression: PgBinaryExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
289
+ VisitRegexMatch(regexMatchExpression: PgRegexMatchExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
290
+ VisitRowValueExpression(rowValueExpression: PgRowValueExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
291
+ VisitSqlBinary(sqlBinaryExpression: SqlBinaryExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
292
+ VisitSqlFunction(sqlFunctionExpression: SqlFunctionExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
293
+ VisitUnknownBinary(unknownBinaryExpression: PgUnknownBinaryExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
197
294
  }
198
295
 
199
296
 
@@ -207,6 +304,12 @@ export type NpgsqlSqlNullabilityProcessor = NpgsqlSqlNullabilityProcessor$instan
207
304
  export interface NpgsqlSqlTranslatingExpressionVisitor$instance extends RelationalSqlTranslatingExpressionVisitor {
208
305
  GenerateGreatest(expressions: IReadOnlyList<SqlExpression>, resultType: Type): SqlExpression;
209
306
  GenerateLeast(expressions: IReadOnlyList<SqlExpression>, resultType: Type): SqlExpression;
307
+ VisitBinary(binaryExpression: BinaryExpression): Expression;
308
+ VisitConditional(conditionalExpression: ConditionalExpression): Expression;
309
+ VisitMethodCall(methodCallExpression: MethodCallExpression): Expression;
310
+ VisitNew(newExpression: NewExpression): Expression;
311
+ VisitNewArray(newArrayExpression: NewArrayExpression): Expression;
312
+ VisitUnary(unaryExpression: UnaryExpression): Expression;
210
313
  }
211
314
 
212
315
 
@@ -219,6 +322,8 @@ export const NpgsqlSqlTranslatingExpressionVisitor: {
219
322
  export type NpgsqlSqlTranslatingExpressionVisitor = NpgsqlSqlTranslatingExpressionVisitor$instance;
220
323
 
221
324
  export interface NpgsqlSqlTranslatingExpressionVisitorFactory$instance {
325
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Query_IRelationalSqlTranslatingExpressionVisitorFactory: never;
326
+
222
327
  Create(queryCompilationContext: QueryCompilationContext, queryableMethodTranslatingExpressionVisitor: QueryableMethodTranslatingExpressionVisitor): RelationalSqlTranslatingExpressionVisitor;
223
328
  }
224
329
 
@@ -231,6 +336,7 @@ export const NpgsqlSqlTranslatingExpressionVisitorFactory: {
231
336
  export type NpgsqlSqlTranslatingExpressionVisitorFactory = NpgsqlSqlTranslatingExpressionVisitorFactory$instance;
232
337
 
233
338
  export interface NpgsqlSqlTreePruner$instance extends SqlTreePruner {
339
+ VisitExtension(node: Expression): Expression;
234
340
  }
235
341
 
236
342
 
@@ -242,6 +348,7 @@ export const NpgsqlSqlTreePruner: {
242
348
  export type NpgsqlSqlTreePruner = NpgsqlSqlTreePruner$instance;
243
349
 
244
350
  export interface NpgsqlTypeMappingPostprocessor$instance extends RelationalTypeMappingPostprocessor {
351
+ VisitExtension(expression: Expression): Expression;
245
352
  }
246
353
 
247
354
 
@@ -7,12 +7,13 @@ import * as Internal from './Npgsql.EntityFrameworkCore.PostgreSQL.Query.Interna
7
7
 
8
8
  // Cross-namespace type imports for constraints
9
9
  import type { INpgsqlSingletonOptions } from './Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js';
10
+ import type { PgAllExpression, PgAnyExpression, PgArrayIndexExpression, PgArraySliceExpression, PgBinaryExpression, PgDeleteExpression, PgFunctionExpression, PgILikeExpression, PgJsonTraversalExpression, PgNewArrayExpression, PgRegexMatchExpression, PgRowValueExpression, PgTableValuedFunctionExpression, PgUnknownBinaryExpression } from './Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.js';
10
11
  import type { IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
11
- import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version } from '@tsonic/dotnet/System.js';
12
- import type { Expression, ExpressionVisitor } from '@tsonic/dotnet/System.Linq.Expressions.js';
13
- import type { IModel } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
14
- import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, SqlNullabilityProcessor, SqlTreePruner } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js';
15
- import type { SqlExpression } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js';
12
+ import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version, Void } from '@tsonic/dotnet/System.js';
13
+ import type { BinaryExpression, ConditionalExpression, Expression, ExpressionVisitor, LambdaExpression, MethodCallExpression, NewArrayExpression, NewExpression, UnaryExpression } from '@tsonic/dotnet/System.Linq.Expressions.js';
14
+ import type { IModel, IProperty } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
15
+ import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, JsonQueryExpression, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, ShapedQueryExpression, SqlNullabilityProcessor, SqlTreePruner } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js';
16
+ import type { CollateExpression, CrossApplyExpression, DeleteExpression, JsonScalarExpression, OrderingExpression, OuterApplyExpression, SelectExpression, SetOperationBase, SqlBinaryExpression, SqlConstantExpression, SqlExpression, SqlFunctionExpression, SqlUnaryExpression, TableExpression, TableExpressionBase, UpdateExpression, ValuesExpression } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js';
16
17
  import type { IRelationalTypeMappingSource } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js';
17
18
 
18
19
  // Public API exports (curated - no internal $instance/$views leakage)
@@ -15,6 +15,16 @@
15
15
  "isSealed": false,
16
16
  "isStatic": false,
17
17
  "arity": 0,
18
+ "baseType": {
19
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGenerator",
20
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGenerator"
21
+ },
22
+ "interfaces": [
23
+ {
24
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.IProviderConfigurationCodeGenerator",
25
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.IProviderConfigurationCodeGenerator"
26
+ }
27
+ ],
18
28
  "methods": [
19
29
  {
20
30
  "stableId": "Npgsql.EntityFrameworkCore.PostgreSQL:Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlCodeGenerator::GenerateUseProvider(System.String,Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment):Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment",
@@ -31,6 +41,7 @@
31
41
  "isVirtual": true,
32
42
  "isOverride": true,
33
43
  "isSealed": false,
44
+ "visibility": "Public",
34
45
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlCodeGenerator",
35
46
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL",
36
47
  "isExtensionMethod": false
@@ -47,6 +58,7 @@
47
58
  "normalizedSignature": "constructor|(Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGeneratorDependencies):void|static=false",
48
59
  "isStatic": false,
49
60
  "parameterCount": 1,
61
+ "visibility": "Public",
50
62
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlCodeGenerator",
51
63
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL"
52
64
  }
@@ -63,6 +75,16 @@
63
75
  "isSealed": false,
64
76
  "isStatic": false,
65
77
  "arity": 0,
78
+ "baseType": {
79
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactory",
80
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactory"
81
+ },
82
+ "interfaces": [
83
+ {
84
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.IDatabaseModelFactory",
85
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.IDatabaseModelFactory"
86
+ }
87
+ ],
66
88
  "methods": [
67
89
  {
68
90
  "stableId": "Npgsql.EntityFrameworkCore.PostgreSQL:Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory::Create(System.String,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel",
@@ -79,6 +101,7 @@
79
101
  "isVirtual": true,
80
102
  "isOverride": true,
81
103
  "isSealed": false,
104
+ "visibility": "Public",
82
105
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory",
83
106
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL",
84
107
  "isExtensionMethod": false
@@ -98,6 +121,7 @@
98
121
  "isVirtual": true,
99
122
  "isOverride": true,
100
123
  "isSealed": false,
124
+ "visibility": "Public",
101
125
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory",
102
126
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL",
103
127
  "isExtensionMethod": false
@@ -114,6 +138,7 @@
114
138
  "normalizedSignature": "constructor|(Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger_1[[Microsoft.EntityFrameworkCore.DbLoggerCategory\u002BScaffolding,Microsoft.EntityFrameworkCore,Version=10.0.0.0,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):void|static=false",
115
139
  "isStatic": false,
116
140
  "parameterCount": 1,
141
+ "visibility": "Public",
117
142
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory",
118
143
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL"
119
144
  }
@@ -17,6 +17,8 @@ import type { DatabaseModelFactory, DatabaseModelFactoryOptions, IDatabaseModelF
17
17
  import type { DatabaseModel } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Scaffolding.Metadata.js";
18
18
 
19
19
  export interface NpgsqlCodeGenerator$instance extends ProviderCodeGenerator {
20
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Scaffolding_IProviderConfigurationCodeGenerator: never;
21
+
20
22
  GenerateUseProvider(connectionString: string, providerOptions: MethodCallCodeFragment): MethodCallCodeFragment;
21
23
  }
22
24
 
@@ -29,6 +31,8 @@ export const NpgsqlCodeGenerator: {
29
31
  export type NpgsqlCodeGenerator = NpgsqlCodeGenerator$instance;
30
32
 
31
33
  export interface NpgsqlDatabaseModelFactory$instance extends DatabaseModelFactory {
34
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Scaffolding_IDatabaseModelFactory: never;
35
+
32
36
  Create(connectionString: string, options: DatabaseModelFactoryOptions): DatabaseModel;
33
37
  Create(dbConnection: DbConnection, options: DatabaseModelFactoryOptions): DatabaseModel;
34
38
  }