refactor(database): 🚚 Only import ORM table data from @versia/kit

This commit is contained in:
Jesse Wierzbinski 2024-11-01 21:05:54 +01:00
parent 2f8b85a299
commit 7a73b8db91
No known key found for this signature in database
116 changed files with 193 additions and 202 deletions

View file

@ -5,9 +5,9 @@ import {
Note as NoteSchema,
} from "@versia/federation/schemas";
import { Like, Note, User } from "@versia/kit/db";
import { Likes, Notes } from "@versia/kit/tables";
import { and, eq, inArray, sql } from "drizzle-orm";
import { z } from "zod";
import { Likes, Notes } from "~/drizzle/schema";
import { config } from "~/packages/config-manager";
import { ErrorSchema, type KnownEntity } from "~/types/api";