@prisma/driver-adapter-utils 6.15.0-dev.3 → 6.15.0-dev.30
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.mts +14 -6
- package/dist/index.d.ts +14 -6
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -9,12 +9,15 @@ declare interface AdapterInfo {
|
|
|
9
9
|
readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
export declare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';
|
|
13
|
+
|
|
14
|
+
export declare type ArgType = {
|
|
15
|
+
scalarType: ArgScalarType;
|
|
16
|
+
dbType?: string;
|
|
17
|
+
arity: Arity;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export declare type Arity = 'scalar' | 'list';
|
|
18
21
|
|
|
19
22
|
export declare const bindAdapter: (adapter: SqlDriverAdapter, errorRegistry?: ErrorRegistryInternal) => ErrorCapturingSqlDriverAdapter;
|
|
20
23
|
|
|
@@ -295,6 +298,11 @@ export declare type Result<T> = {
|
|
|
295
298
|
readonly error: Error_2;
|
|
296
299
|
});
|
|
297
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Represents a value that can be returned for a column from `queryRaw`.
|
|
303
|
+
*/
|
|
304
|
+
export declare type ResultValue = number | string | boolean | null | ResultValue[];
|
|
305
|
+
|
|
298
306
|
export declare interface SqlDriverAdapter extends SqlQueryable {
|
|
299
307
|
/**
|
|
300
308
|
* Execute multiple SQL statements separated by semicolon.
|
package/dist/index.d.ts
CHANGED
|
@@ -9,12 +9,15 @@ declare interface AdapterInfo {
|
|
|
9
9
|
readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
export declare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';
|
|
13
|
+
|
|
14
|
+
export declare type ArgType = {
|
|
15
|
+
scalarType: ArgScalarType;
|
|
16
|
+
dbType?: string;
|
|
17
|
+
arity: Arity;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export declare type Arity = 'scalar' | 'list';
|
|
18
21
|
|
|
19
22
|
export declare const bindAdapter: (adapter: SqlDriverAdapter, errorRegistry?: ErrorRegistryInternal) => ErrorCapturingSqlDriverAdapter;
|
|
20
23
|
|
|
@@ -295,6 +298,11 @@ export declare type Result<T> = {
|
|
|
295
298
|
readonly error: Error_2;
|
|
296
299
|
});
|
|
297
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Represents a value that can be returned for a column from `queryRaw`.
|
|
303
|
+
*/
|
|
304
|
+
export declare type ResultValue = number | string | boolean | null | ResultValue[];
|
|
305
|
+
|
|
298
306
|
export declare interface SqlDriverAdapter extends SqlQueryable {
|
|
299
307
|
/**
|
|
300
308
|
* Execute multiple SQL statements separated by semicolon.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/driver-adapter-utils",
|
|
3
|
-
"version": "6.15.0-dev.
|
|
3
|
+
"version": "6.15.0-dev.30",
|
|
4
4
|
"description": "Internal set of utilities and types for Prisma's driver adapters.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@prisma/debug": "6.15.0-dev.
|
|
34
|
+
"@prisma/debug": "6.15.0-dev.30"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "DEV=true tsx helpers/build.ts",
|