move schema.ts to module

This commit is contained in:
miloschwartz
2025-03-23 17:11:48 -04:00
parent 013f342ff6
commit fefb07e14c
141 changed files with 146 additions and 145 deletions

View File

@@ -6,7 +6,7 @@ import { response as sendResponse } from "@server/lib";
import config from "@server/lib/config";
import db from "@server/db";
import { count } from "drizzle-orm";
import { users } from "@server/db/schema";
import { users } from "@server/db/schemas";
export type IsSupporterKeyVisibleResponse = {
visible: boolean;

View File

@@ -6,7 +6,7 @@ import logger from "@server/logger";
import { fromError } from "zod-validation-error";
import { response as sendResponse } from "@server/lib";
import { suppressDeprecationWarnings } from "moment";
import { supporterKey } from "@server/db/schema";
import { supporterKey } from "@server/db/schemas";
import db from "@server/db";
import { eq } from "drizzle-orm";
import config from "@server/lib/config";