♻️ Remove backend package (#1305)

This commit is contained in:
Luke Vella 2024-09-05 18:27:12 +01:00 committed by GitHub
parent 12af4d9c84
commit d40d4b27e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 29 additions and 102 deletions

View file

@ -1,6 +1,3 @@
import { RegistrationTokenPayload } from "@rallly/backend";
import { decryptToken } from "@rallly/backend/session";
import { generateOtp, randomid } from "@rallly/backend/utils/nanoid";
import { prisma } from "@rallly/database";
import {
GetServerSidePropsContext,
@ -19,11 +16,14 @@ import { Provider } from "next-auth/providers/index";
import { posthog } from "@/app/posthog";
import { env } from "@/env";
import type { RegistrationTokenPayload } from "@/trpc/types";
import { absoluteUrl } from "@/utils/absolute-url";
import { CustomPrismaAdapter } from "@/utils/auth/custom-prisma-adapter";
import { mergeGuestsIntoUser } from "@/utils/auth/merge-user";
import { getEmailClient } from "@/utils/emails";
import { getValueByPath } from "@/utils/get-value-by-path";
import { generateOtp, randomid } from "@/utils/nanoid";
import { decryptToken } from "@/utils/session";
const providers: Provider[] = [
// When a user registers, we don't want to go through the email verification process