prisma-flare 1.1.1 → 1.1.2
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.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _prisma_client from '@prisma/client';
|
|
2
2
|
import { PrismaClient } from '@prisma/client';
|
|
3
3
|
import * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
4
|
-
import { PrismaClientOptions } from '@prisma/client/runtime/library';
|
|
4
|
+
import { PrismaClientOptions, DriverAdapter } from '@prisma/client/runtime/library';
|
|
5
5
|
import FlareBuilder from './core/flareBuilder.cjs';
|
|
6
6
|
export { RelationModelMap } from './core/flareBuilder.cjs';
|
|
7
7
|
import { M as ModelName, l as PrismaOperation, m as HookTiming, B as BeforeHookCallback, j as AfterHookCallback, k as ColumnChangeCallback } from './prisma.types-nGNe1CG8.cjs';
|
|
@@ -17,6 +17,11 @@ interface FlareClientOptions extends PrismaClientOptions {
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
callbacks?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Driver adapter for serverless/edge environments.
|
|
22
|
+
* Pass an adapter instance (e.g., from @prisma/adapter-pg, @prisma/adapter-d1, etc.)
|
|
23
|
+
*/
|
|
24
|
+
adapter?: DriverAdapter;
|
|
20
25
|
}
|
|
21
26
|
declare class FlareClient extends PrismaClient {
|
|
22
27
|
constructor(options?: FlareClientOptions);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _prisma_client from '@prisma/client';
|
|
2
2
|
import { PrismaClient } from '@prisma/client';
|
|
3
3
|
import * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
4
|
-
import { PrismaClientOptions } from '@prisma/client/runtime/library';
|
|
4
|
+
import { PrismaClientOptions, DriverAdapter } from '@prisma/client/runtime/library';
|
|
5
5
|
import FlareBuilder from './core/flareBuilder.js';
|
|
6
6
|
export { RelationModelMap } from './core/flareBuilder.js';
|
|
7
7
|
import { M as ModelName, l as PrismaOperation, m as HookTiming, B as BeforeHookCallback, j as AfterHookCallback, k as ColumnChangeCallback } from './prisma.types-nGNe1CG8.js';
|
|
@@ -17,6 +17,11 @@ interface FlareClientOptions extends PrismaClientOptions {
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
callbacks?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Driver adapter for serverless/edge environments.
|
|
22
|
+
* Pass an adapter instance (e.g., from @prisma/adapter-pg, @prisma/adapter-d1, etc.)
|
|
23
|
+
*/
|
|
24
|
+
adapter?: DriverAdapter;
|
|
20
25
|
}
|
|
21
26
|
declare class FlareClient extends PrismaClient {
|
|
22
27
|
constructor(options?: FlareClientOptions);
|
package/package.json
CHANGED