mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor(api): 🔥 Remove all useless route metadata objects
This commit is contained in:
parent
a9ea5eb672
commit
4926d6ff5d
137 changed files with 410 additions and 1830 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import {
|
||||
apiRoute,
|
||||
applyConfig,
|
||||
idValidator,
|
||||
parseUserAddress,
|
||||
webfingerMention,
|
||||
|
|
@ -17,17 +16,6 @@ import { ApiError } from "~/classes/errors/api-error";
|
|||
import { config } from "~/packages/config-manager";
|
||||
import { ErrorSchema } from "~/types/api";
|
||||
|
||||
export const meta = applyConfig({
|
||||
auth: {
|
||||
required: false,
|
||||
},
|
||||
ratelimits: {
|
||||
duration: 60,
|
||||
max: 60,
|
||||
},
|
||||
route: "/.well-known/webfinger",
|
||||
});
|
||||
|
||||
export const schemas = {
|
||||
query: z.object({
|
||||
resource: z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue