From f17a95705814199e8f1f17d60d57c124d9a8fdf6 Mon Sep 17 00:00:00 2001 From: Owen Date: Sat, 11 Oct 2025 20:46:49 -0700 Subject: [PATCH] Cleaning up more imports --- server/routers/auth/types.ts | 4 ++++ server/routers/supporterKey/isSupporterKeyVisible.ts | 1 - src/app/auth/(private)/org/page.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/server/routers/auth/types.ts b/server/routers/auth/types.ts index 4c6148fa..bb5a1b4e 100644 --- a/server/routers/auth/types.ts +++ b/server/routers/auth/types.ts @@ -1,4 +1,8 @@ export type TransferSessionResponse = { valid: boolean; cookie?: string; +}; + +export type GetSessionTransferTokenRenponse = { + token: string; }; \ No newline at end of file diff --git a/server/routers/supporterKey/isSupporterKeyVisible.ts b/server/routers/supporterKey/isSupporterKeyVisible.ts index 317f6461..8dda516e 100644 --- a/server/routers/supporterKey/isSupporterKeyVisible.ts +++ b/server/routers/supporterKey/isSupporterKeyVisible.ts @@ -3,7 +3,6 @@ import HttpCode from "@server/types/HttpCode"; import createHttpError from "http-errors"; import logger from "@server/logger"; import { response as sendResponse } from "@server/lib/response"; -import privateConfig from "#private/lib/config"; import config from "@server/lib/config"; import { db } from "@server/db"; import { count } from "drizzle-orm"; diff --git a/src/app/auth/(private)/org/page.tsx b/src/app/auth/(private)/org/page.tsx index 70821f8f..5b675b00 100644 --- a/src/app/auth/(private)/org/page.tsx +++ b/src/app/auth/(private)/org/page.tsx @@ -23,7 +23,7 @@ import { import { Button } from "@app/components/ui/button"; import Link from "next/link"; import { getTranslations } from "next-intl/server"; -import { GetSessionTransferTokenRenponse } from "#private/routers/auth/getSessionTransferToken"; +import { GetSessionTransferTokenRenponse } from "@server/routers/auth/types"; import ValidateSessionTransferToken from "@app/components/private/ValidateSessionTransferToken"; import { GetOrgTierResponse } from "@server/routers/billing/types"; import { TierId } from "@server/lib/billing/tiers";