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
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue