mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02: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,9 +1,9 @@
|
|||
import { debugResponse } from "@versia/kit/api";
|
||||
import type { ConfigSchema } from "@versia-server/config/schema";
|
||||
import { type Server, serve } from "bun";
|
||||
import type { Hono } from "hono";
|
||||
import type { z } from "zod";
|
||||
import type { HonoEnv } from "~/types/api";
|
||||
import { debugResponse } from "./api.ts";
|
||||
|
||||
export const createServer = (
|
||||
config: z.infer<typeof ConfigSchema>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue