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

@ -1,5 +1,3 @@
import type { z } from "zod";
import { fromError } from "zod-validation-error";
import {
ActionSchema,
ActorPublicKeyDataSchema,
@ -22,7 +20,9 @@ import {
UserSchema,
VanityExtensionSchema,
VisibilitySchema,
} from "../schemas/base";
} from "@/federation/schemas/base";
import type { z } from "zod";
import { fromError } from "zod-validation-error";
// biome-ignore lint/suspicious/noExplicitAny: Used only as a base type
type AnyZod = z.ZodType<any, any, any>;