@prisma/driver-adapter-utils 6.3.0-integration-fix-subcommands-esm-projects.3 → 6.3.0-integration-studio-ux-refinements.3
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -107,6 +107,8 @@ export declare interface ErrorRegistry {
|
|
|
107
107
|
consumeError(id: number): ErrorRecord | undefined;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
export declare type Flavour = 'mysql' | 'postgres' | 'sqlite';
|
|
111
|
+
|
|
110
112
|
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-pg-worker"];
|
|
111
113
|
|
|
112
114
|
export declare function ok<T>(value: T): Result<T>;
|
|
@@ -118,7 +120,7 @@ export declare type Query = {
|
|
|
118
120
|
};
|
|
119
121
|
|
|
120
122
|
export declare interface Queryable {
|
|
121
|
-
readonly provider:
|
|
123
|
+
readonly provider: Flavour;
|
|
122
124
|
readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
|
|
123
125
|
/**
|
|
124
126
|
* Execute a query given as SQL, interpolating the given parameters,
|
package/dist/index.d.ts
CHANGED
|
@@ -107,6 +107,8 @@ export declare interface ErrorRegistry {
|
|
|
107
107
|
consumeError(id: number): ErrorRecord | undefined;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
export declare type Flavour = 'mysql' | 'postgres' | 'sqlite';
|
|
111
|
+
|
|
110
112
|
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-pg-worker"];
|
|
111
113
|
|
|
112
114
|
export declare function ok<T>(value: T): Result<T>;
|
|
@@ -118,7 +120,7 @@ export declare type Query = {
|
|
|
118
120
|
};
|
|
119
121
|
|
|
120
122
|
export declare interface Queryable {
|
|
121
|
-
readonly provider:
|
|
123
|
+
readonly provider: Flavour;
|
|
122
124
|
readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
|
|
123
125
|
/**
|
|
124
126
|
* Execute a query given as SQL, interpolating the given parameters,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/driver-adapter-utils",
|
|
3
|
-
"version": "6.3.0-integration-
|
|
3
|
+
"version": "6.3.0-integration-studio-ux-refinements.3",
|
|
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.3.0-integration-
|
|
34
|
+
"@prisma/debug": "6.3.0-integration-studio-ux-refinements.3"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "DEV=true tsx helpers/build.ts",
|