mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-02 19:56:05 +02:00
Update imports
This commit is contained in:
parent
6febf51cd2
commit
aadb4ff85d
4 changed files with 5 additions and 5 deletions
|
@ -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 = () => {
|
const prismaClientSingleton = () => {
|
||||||
return new PrismaClient();
|
return new PrismaClient();
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { PrismaClient } from "@prisma/client";
|
import { PrismaClient } from "../generated/client";
|
||||||
import { seedPolls } from "./seed/polls";
|
import { seedPolls } from "./seed/polls";
|
||||||
import { seedScheduledEvents } from "./seed/scheduled-events";
|
import { seedScheduledEvents } from "./seed/scheduled-events";
|
||||||
import { seedUsers } from "./seed/users";
|
import { seedUsers } from "./seed/users";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { faker } from "@faker-js/faker";
|
import { faker } from "@faker-js/faker";
|
||||||
import type { VoteType } from "@prisma/client";
|
import type { VoteType } from "../../generated/client";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { prisma } from "../client";
|
import { prisma } from "../client";
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import {
|
||||||
ScheduledEventStatus,
|
ScheduledEventStatus,
|
||||||
type Prisma,
|
type Prisma,
|
||||||
type ScheduledEventInviteStatus,
|
type ScheduledEventInviteStatus,
|
||||||
} from "@prisma/client";
|
} from "../../generated/client";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { faker } from "@faker-js/faker";
|
import { faker } from "@faker-js/faker";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue