mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10:00
fix: remove jank prisma script, and move to generated prisma client
This commit is contained in:
@ -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 & {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import type { Article } from "@prisma/client";
|
||||
import type { Article } from "~/prisma/client";
|
||||
import type { SerializeObject } from "nitropack";
|
||||
|
||||
export const useNews = () =>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import type { Notification } from "@prisma/client";
|
||||
import type { Notification } from "~/prisma/client";
|
||||
|
||||
const ws = new WebSocketHandler("/api/v1/notifications/ws");
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import type { User } from "@prisma/client";
|
||||
import type { User } from "~/prisma/client";
|
||||
|
||||
// undefined = haven't check
|
||||
// null = check, no user
|
||||
|
||||
Reference in New Issue
Block a user