mirror of
https://github.com/versia-pub/api.git
synced 2026-03-13 12:19:15 +01:00
refactor(federation): ♻️ Move around code to get better TypeScript output
This commit is contained in:
parent
283e000498
commit
115bfc7f0d
18 changed files with 54 additions and 47 deletions
|
|
@ -10,8 +10,8 @@ import type {
|
|||
ServerMetadata,
|
||||
Undo,
|
||||
User,
|
||||
} from "../schemas";
|
||||
import type { EntityValidator } from "../validator/index";
|
||||
} from "@/federation/schemas";
|
||||
import type { EntityValidator } from "@/federation/validator/index";
|
||||
|
||||
type MaybePromise<T> = T | Promise<T>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue