mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): ♻️ More OpenAPI refactoring work
This commit is contained in:
parent
6d9e385a04
commit
5aa1c4e625
35 changed files with 4883 additions and 1815 deletions
|
|
@ -11,6 +11,7 @@ import type {
|
|||
Unfollow,
|
||||
User,
|
||||
} from "@versia/federation/types";
|
||||
import type { SocketAddress } from "bun";
|
||||
import { z } from "zod";
|
||||
import type { Application } from "~/classes/functions/application";
|
||||
import type { RolePermissions } from "~/drizzle/schema";
|
||||
|
|
@ -59,6 +60,9 @@ export type HonoEnv = {
|
|||
application: Application | null;
|
||||
};
|
||||
};
|
||||
Bindings: {
|
||||
ip?: SocketAddress | null;
|
||||
};
|
||||
};
|
||||
|
||||
export interface ApiRouteExports {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue