Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjana-singhania committed Feb 9, 2025
1 parent f9a717b commit 065a262
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/db/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import type { ReferralSource as PrismaReferralSource } from "@prisma/client";
import type { ReferralSource } from "@prisma/client";
import { PrismaClient } from "@prisma/client";

export const prisma = new PrismaClient();

export const ReferralSource: Record<PrismaReferralSource, string> = {
FRIEND: "Friend",
COLLEAGUE: "Colleague",
GREEN_LINE_RECORDS: "Green Line Records",
SOCIAL_MEDIA: "Social Media",
OTHER: "Other",
} as const;

export { ReferralSource };
export type ReferralType = keyof typeof ReferralSource;

0 comments on commit 065a262

Please sign in to comment.