refactor(federation): ♻️ Move around code to get better TypeScript output

This commit is contained in:
Jesse Wierzbinski 2024-07-23 00:02:39 +02:00
parent 283e000498
commit 115bfc7f0d
No known key found for this signature in database
18 changed files with 54 additions and 47 deletions

View file

@ -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>;