refactor: 🚚 Move more utilities into packages

This commit is contained in:
Jesse Wierzbinski 2025-06-15 23:43:27 +02:00
parent 5cae547f8d
commit 3798e170d0
No known key found for this signature in database
140 changed files with 913 additions and 735 deletions

View file

@ -1,13 +1,19 @@
import type { Application, Token, User } from "@versia/kit/db";
import type * as VersiaEntities from "@versia/sdk/entities";
import type { ConfigSchema } from "@versia-server/config/schema";
import type { SocketAddress } from "bun";
import type { Hono } from "hono";
import type { RouterRoute } from "hono/types";
import type { z } from "zod";
import type { AuthData } from "~/classes/functions/user";
export type HttpVerb = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
export interface AuthData {
user: User | null;
token: Token | null;
application: Application | null;
}
export type HonoEnv = {
Variables: {
config: z.infer<typeof ConfigSchema>;