mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
chore: 📦 Use NPM version of @lysand-org/federation
This commit is contained in:
parent
43544a44da
commit
e229c30a9f
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -1,3 +0,0 @@
|
|||
[submodule "packages/lysand-api"]
|
||||
path = packages/lysand-api
|
||||
url = https://github.com/lysand-org/api.git
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
"@inquirer/confirm": "^3.1.9",
|
||||
"@inquirer/input": "^2.1.9",
|
||||
"@json2csv/plainjs": "^7.0.6",
|
||||
"@lysand-org/federation": "^1.1.8",
|
||||
"@lysand-org/federation": "1.1.9",
|
||||
"@oclif/core": "^3.26.9",
|
||||
"@tufjs/canonical-json": "^2.0.0",
|
||||
"blurhash": "^2.0.5",
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 69be6967bd0f0018ac5951238639f49f7c93206e
|
||||
|
|
@ -2,6 +2,11 @@ import { applyConfig, debugRequest, handleZodError } from "@/api";
|
|||
import { dualLogger } from "@/loggers";
|
||||
import { errorResponse, jsonResponse, response } from "@/response";
|
||||
import { zValidator } from "@hono/zod-validator";
|
||||
import {
|
||||
EntityValidator,
|
||||
RequestParserHandler,
|
||||
SignatureValidator,
|
||||
} from "@lysand-org/federation";
|
||||
import type { SocketAddress } from "bun";
|
||||
import { eq } from "drizzle-orm";
|
||||
import type { Hono } from "hono";
|
||||
|
|
@ -18,11 +23,6 @@ import { config } from "~/packages/config-manager";
|
|||
import { Note } from "~/packages/database-interface/note";
|
||||
import { User } from "~/packages/database-interface/user";
|
||||
import { LogLevel, LogManager } from "~/packages/log-manager";
|
||||
import {
|
||||
EntityValidator,
|
||||
RequestParserHandler,
|
||||
SignatureValidator,
|
||||
} from "~/packages/lysand-api/federation";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["POST"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue