Update imports

This commit is contained in:
Luke Vella 2025-04-28 10:11:29 +01:00
parent 6febf51cd2
commit aadb4ff85d
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
4 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
import { PrismaClient } from "@prisma/client";
import { PrismaClient } from "../generated/client";
export type * from "@prisma/client";
export type * from "../generated/client";
const prismaClientSingleton = () => {
return new PrismaClient();

View file

@ -1,4 +1,4 @@
import { PrismaClient } from "@prisma/client";
import { PrismaClient } from "../generated/client";
import { seedPolls } from "./seed/polls";
import { seedScheduledEvents } from "./seed/scheduled-events";
import { seedUsers } from "./seed/users";

View file

@ -1,5 +1,5 @@
import { faker } from "@faker-js/faker";
import type { VoteType } from "@prisma/client";
import type { VoteType } from "../../generated/client";
import dayjs from "dayjs";
import { prisma } from "../client";

View file

@ -2,7 +2,7 @@ import {
ScheduledEventStatus,
type Prisma,
type ScheduledEventInviteStatus,
} from "@prisma/client";
} from "../../generated/client";
import dayjs from "dayjs";
import { faker } from "@faker-js/faker";