fix: remove jank prisma script, and move to generated prisma client

This commit is contained in:
DecDuck
2025-05-08 16:17:23 +10:00
parent 29f3094ad4
commit 125fe9e6e2
60 changed files with 153 additions and 168 deletions

View File

@ -1,4 +1,4 @@
import type { Collection, CollectionEntry, Game } from "@prisma/client";
import type { Collection, CollectionEntry, Game } from "~/prisma/client";
import type { SerializeObject } from "nitropack";
type FullCollection = Collection & {

View File

@ -1,4 +1,4 @@
import type { Article } from "@prisma/client";
import type { Article } from "~/prisma/client";
import type { SerializeObject } from "nitropack";
export const useNews = () =>

View File

@ -1,4 +1,4 @@
import type { Notification } from "@prisma/client";
import type { Notification } from "~/prisma/client";
const ws = new WebSocketHandler("/api/v1/notifications/ws");

View File

@ -1,4 +1,4 @@
import type { User } from "@prisma/client";
import type { User } from "~/prisma/client";
// undefined = haven't check
// null = check, no user