mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor(api): ♻️ Simplify route schema definitions
This commit is contained in:
parent
4926d6ff5d
commit
16f302c2dc
74 changed files with 175 additions and 254 deletions
|
|
@ -4,7 +4,7 @@ import type { Entity } from "@versia/federation/types";
|
|||
import { z } from "zod";
|
||||
import { InboxJobType, inboxQueue } from "~/classes/queues/inbox";
|
||||
|
||||
export const schemas = {
|
||||
const schemas = {
|
||||
header: z.object({
|
||||
"x-signature": z.string().optional(),
|
||||
"x-nonce": z.string().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue