mirror of
https://github.com/versia-pub/api.git
synced 2026-03-13 04:09:15 +01:00
refactor(federation): 🚚 Remove custom path alias
This commit is contained in:
parent
1529708dd8
commit
2313bcbbcc
13 changed files with 30 additions and 37 deletions
|
|
@ -1,3 +1,3 @@
|
|||
import pkg from "@/federation/package.json" with { type: "json" };
|
||||
import pkg from "../package.json" with { type: "json" };
|
||||
|
||||
export const DEFAULT_UA = `LysandFederation/${pkg.version} (+${pkg.homepage})`;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import type { SignatureConstructor } from "@/federation/cryptography";
|
||||
import { DEFAULT_UA } from "@/federation/requester/constants";
|
||||
import type { User } from "@/federation/schemas";
|
||||
import { WebFingerSchema } from "@/federation/schemas/webfinger";
|
||||
import { fromZodError } from "zod-validation-error";
|
||||
import type { SignatureConstructor } from "../cryptography";
|
||||
import type { User } from "../schemas";
|
||||
import { WebFingerSchema } from "../schemas/webfinger";
|
||||
import { DEFAULT_UA } from "./constants";
|
||||
|
||||
type HttpVerb = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue