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

@ -1,8 +1,7 @@
import { beforeEach, describe, expect, jest, mock, test } from "bun:test";
import { SignatureValidator } from "@versia/federation";
import type { Entity, Note as VersiaNote } from "@versia/federation/types";
import { Note, Relationship, User } from "@versia/kit/db";
import { db } from "@versia/kit/db";
import { Note, Relationship, User, db } from "@versia/kit/db";
import type { Context } from "hono";
import { ValidationError } from "zod-validation-error";
import { config } from "~/packages/config-manager/index.ts";