mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor: 🚚 Move more utilities into packages
This commit is contained in:
parent
5cae547f8d
commit
3798e170d0
140 changed files with 913 additions and 735 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import { RolePermission } from "@versia/client/schemas";
|
||||
import { ApiError } from "@versia/kit";
|
||||
import { auth, handleZodError } from "@versia/kit/api";
|
||||
import { db } from "@versia/kit/db";
|
||||
import { OpenIdAccounts } from "@versia/kit/tables";
|
||||
import { and, eq, type SQL } from "drizzle-orm";
|
||||
import { describeRoute } from "hono-openapi";
|
||||
import { resolver, validator } from "hono-openapi/zod";
|
||||
import { z } from "zod";
|
||||
import { auth, handleZodError } from "@/api";
|
||||
import type { PluginType } from "~/plugins/openid";
|
||||
|
||||
export default (plugin: PluginType): void => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue