mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(database): 🚚 Rename Application to Client everywhere
This commit is contained in:
parent
6f97903f3b
commit
1a0a27bee1
25 changed files with 2549 additions and 90 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import type * as VersiaEntities from "@versia/sdk/entities";
|
||||
import type { ConfigSchema } from "@versia-server/config";
|
||||
import type { Application, Token, User } from "@versia-server/kit/db";
|
||||
import type { Client, Token, User } from "@versia-server/kit/db";
|
||||
import type { SocketAddress } from "bun";
|
||||
import type { Hono } from "hono";
|
||||
import type { RouterRoute } from "hono/types";
|
||||
|
|
@ -11,7 +11,7 @@ export type HttpVerb = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
|
|||
export interface AuthData {
|
||||
user: User | null;
|
||||
token: Token | null;
|
||||
application: Application | null;
|
||||
application: Client | null;
|
||||
}
|
||||
|
||||
export type HonoEnv = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue