@prisma-next/sql-runtime 0.1.0-pr.32.8 → 0.1.0-pr.32.9
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/dist/index.d.ts +2 -10
- package/package.json +7 -8
package/dist/index.d.ts
CHANGED
|
@@ -4,22 +4,14 @@ import { SqlContract, SqlStorage } from '@prisma-next/sql-contract/types';
|
|
|
4
4
|
import { CodecRegistry, Adapter, QueryAst, LoweredStatement, SelectAst, SqlDriver } from '@prisma-next/sql-relational-core/ast';
|
|
5
5
|
import { ExecutionPlan } from '@prisma-next/contract/types';
|
|
6
6
|
import { SqlQueryPlan } from '@prisma-next/sql-relational-core/plan';
|
|
7
|
-
import {
|
|
7
|
+
import { SqlOperationSignature } from '@prisma-next/sql-operations';
|
|
8
8
|
import { QueryLaneContext } from '@prisma-next/sql-relational-core/query-lane-context';
|
|
9
|
+
import { OperationRegistry } from '@prisma-next/operations';
|
|
9
10
|
|
|
10
11
|
declare function extractCodecIds(contract: SqlContract<SqlStorage>): Set<string>;
|
|
11
12
|
declare function validateContractCodecMappings(registry: CodecRegistry, contract: SqlContract<SqlStorage>): void;
|
|
12
13
|
declare function validateCodecRegistryCompleteness(registry: CodecRegistry, contract: SqlContract<SqlStorage>): void;
|
|
13
14
|
|
|
14
|
-
interface SqlLoweringSpec {
|
|
15
|
-
readonly targetFamily: 'sql';
|
|
16
|
-
readonly strategy: 'infix' | 'function';
|
|
17
|
-
readonly template: string;
|
|
18
|
-
}
|
|
19
|
-
interface SqlOperationSignature extends OperationSignature {
|
|
20
|
-
readonly lowering: SqlLoweringSpec;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
15
|
interface RuntimeContext<TContract extends SqlContract<SqlStorage> = SqlContract<SqlStorage>> extends QueryLaneContext<TContract> {
|
|
24
16
|
readonly adapter: Adapter<QueryAst, TContract, LoweredStatement> | Adapter<QueryAst, SqlContract<SqlStorage>, LoweredStatement>;
|
|
25
17
|
}
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/sql-runtime",
|
|
3
|
-
"version": "0.1.0-pr.32.
|
|
3
|
+
"version": "0.1.0-pr.32.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "SQL runtime implementation for Prisma Next",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@prisma-next/contract": "0.1.0-pr.32.
|
|
9
|
-
"@prisma-next/operations": "0.1.0-pr.32.
|
|
10
|
-
"@prisma-next/runtime-executor": "0.1.0-pr.32.
|
|
11
|
-
"@prisma-next/sql-contract": "0.1.0-pr.32.
|
|
12
|
-
"@prisma-next/sql-
|
|
8
|
+
"@prisma-next/contract": "0.1.0-pr.32.9",
|
|
9
|
+
"@prisma-next/operations": "0.1.0-pr.32.9",
|
|
10
|
+
"@prisma-next/runtime-executor": "0.1.0-pr.32.9",
|
|
11
|
+
"@prisma-next/sql-contract": "0.1.0-pr.32.9",
|
|
12
|
+
"@prisma-next/sql-operations": "0.1.0-pr.32.9",
|
|
13
|
+
"@prisma-next/sql-relational-core": "0.1.0-pr.32.9"
|
|
13
14
|
},
|
|
14
15
|
"devDependencies": {
|
|
15
|
-
"@prisma/dev": "^0.1.1",
|
|
16
16
|
"@types/pg": "^8.11.10",
|
|
17
17
|
"pg": "^8.11.5",
|
|
18
18
|
"tsup": "^8.3.0",
|
|
19
19
|
"typescript": "^5.9.3",
|
|
20
20
|
"vitest": "^2.1.1",
|
|
21
|
-
"@prisma-next/driver-postgres": "0.1.0-pr.32.8",
|
|
22
21
|
"@prisma-next/test-utils": "0.0.1"
|
|
23
22
|
},
|
|
24
23
|
"files": [
|