Skip to content

Commit 18e4cef

Browse files
committed
chore: patch prisma/client
we need to patch the client so that the missing types are available
1 parent 1403c91 commit 18e4cef

File tree

3 files changed

+39
-8
lines changed

3 files changed

+39
-8
lines changed

patches/@prisma__client.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff --git a/runtime/client.d.ts b/runtime/client.d.ts
2+
index 8cfc8fbb4221ba0c5d9508cac2b428ef50230d32..5f764a3ebe7765aa5a2803080da12e3d1fd83562 100644
3+
--- a/runtime/client.d.ts
4+
+++ b/runtime/client.d.ts
5+
@@ -3178,3 +3178,8 @@ export { Value }
6+
export declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;
7+
8+
export { }
9+
+
10+
+export { AnyNullClass } from '@prisma/client-runtime-utils';
11+
+export { DbNullClass } from '@prisma/client-runtime-utils';
12+
+export { JsonNullClass } from '@prisma/client-runtime-utils';
13+
+
14+
diff --git a/runtime/index-browser.d.ts b/runtime/index-browser.d.ts
15+
index ca12789acff83849a2e2d96331ca68dfcd306469..8212c484f8ad10af6fd4cf901b8a1ce9d64280c5 100644
16+
--- a/runtime/index-browser.d.ts
17+
+++ b/runtime/index-browser.d.ts
18+
@@ -85,3 +85,9 @@ declare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extend
19+
declare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;
20+
21+
export { }
22+
+
23+
+
24+
+export { AnyNullClass } from '@prisma/client-runtime-utils';
25+
+export { DbNullClass } from '@prisma/client-runtime-utils';
26+
+export { JsonNullClass } from '@prisma/client-runtime-utils';
27+
+

pnpm-lock.yaml

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ catalogs:
2323
prisma:
2424
'@prisma/adapter-pg': ^7.0.0
2525
'@prisma/client': ^7.0.0
26+
'@prisma/client-runtime-utils': 7.0.1
2627
prisma: ^7.0.0
27-
'@prisma/client-runtime-utils': '^7.0.1'
2828
react-query5:
2929
'@tanstack/react-query': ^5.90.8
3030
'@tanstack/react-query-devtools': ^5.90.2
@@ -69,6 +69,7 @@ overrides:
6969
'@types/minimatch': 5.1.2
7070

7171
patchedDependencies:
72+
'@prisma/client': patches/@prisma__client.patch
7273
7374

7475
publicHoistPattern:

0 commit comments

Comments
 (0)