Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
- name: Setup
uses: ./tooling/github/setup

- name: Copy env
shell: bash
run: cp .env.example .env

- name: Typecheck
run: pnpm typecheck
# TODO: Add test CI
1 change: 1 addition & 0 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"dependencies": {
"@prisma/adapter-pg": "catalog:prisma",
"@prisma/client": "catalog:prisma",
"@prisma/client-runtime-utils": "catalog:prisma",
"@t3-oss/env-core": "catalog:t3-env",
"kysely": "^0.28.8",
"pg": "^8.16.3",
Expand Down
27 changes: 27 additions & 0 deletions patches/@prisma__client.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff --git a/runtime/client.d.ts b/runtime/client.d.ts
index 8cfc8fbb4221ba0c5d9508cac2b428ef50230d32..5f764a3ebe7765aa5a2803080da12e3d1fd83562 100644
--- a/runtime/client.d.ts
+++ b/runtime/client.d.ts
@@ -3178,3 +3178,8 @@ export { Value }
export declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;

export { }
+
+export { AnyNullClass } from '@prisma/client-runtime-utils';
+export { DbNullClass } from '@prisma/client-runtime-utils';
+export { JsonNullClass } from '@prisma/client-runtime-utils';
+
diff --git a/runtime/index-browser.d.ts b/runtime/index-browser.d.ts
index ca12789acff83849a2e2d96331ca68dfcd306469..8212c484f8ad10af6fd4cf901b8a1ce9d64280c5 100644
--- a/runtime/index-browser.d.ts
+++ b/runtime/index-browser.d.ts
@@ -85,3 +85,9 @@ declare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extend
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;

export { }
+
+
+export { AnyNullClass } from '@prisma/client-runtime-utils';
+export { DbNullClass } from '@prisma/client-runtime-utils';
+export { JsonNullClass } from '@prisma/client-runtime-utils';
+
42 changes: 25 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ catalogs:
prisma:
'@prisma/adapter-pg': ^7.0.0
'@prisma/client': ^7.0.0
'@prisma/client-runtime-utils': 7.0.1
prisma: ^7.0.0
react-query5:
'@tanstack/react-query': ^5.90.8
Expand Down Expand Up @@ -68,6 +69,7 @@ overrides:
'@types/minimatch': 5.1.2

patchedDependencies:
'@prisma/client': patches/@prisma__client.patch
[email protected]: patches/[email protected]

publicHoistPattern:
Expand Down
Loading