mirror of
https://github.com/versia-pub/server.git
synced 2026-03-14 06:19:15 +01:00
refactor(database): 🚚 Only import ORM abstractions from @versia/kit
This commit is contained in:
parent
f26493140f
commit
2f8b85a299
100 changed files with 150 additions and 154 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { apiRoute, applyConfig, auth } from "@/api";
|
||||
import { createRoute } from "@hono/zod-openapi";
|
||||
import { Attachment } from "@versia/kit/db";
|
||||
import { z } from "zod";
|
||||
import { Attachment } from "~/classes/database/attachment";
|
||||
import { MediaManager } from "~/classes/media/media-manager";
|
||||
import { RolePermissions } from "~/drizzle/schema";
|
||||
import { config } from "~/packages/config-manager/index.ts";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { apiRoute, applyConfig, auth } from "@/api";
|
||||
import { createRoute } from "@hono/zod-openapi";
|
||||
import { Attachment } from "@versia/kit/db";
|
||||
import sharp from "sharp";
|
||||
import { z } from "zod";
|
||||
import { Attachment } from "~/classes/database/attachment";
|
||||
import { MediaManager } from "~/classes/media/media-manager";
|
||||
import { RolePermissions } from "~/drizzle/schema";
|
||||
import { config } from "~/packages/config-manager/index.ts";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue