mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
f260064083
commit
f00ac1a590
173 changed files with 665 additions and 752 deletions
|
|
@ -15,7 +15,7 @@ import type { Hono } from "hono";
|
|||
import { serveStatic } from "hono/bun";
|
||||
import { getCookie } from "hono/cookie";
|
||||
import { verify } from "hono/jwt";
|
||||
import type { HonoEnv } from "~/types/api";
|
||||
import type { HonoEnv } from "~/types/api.ts";
|
||||
import pkg from "../package.json" with { type: "json" };
|
||||
|
||||
export const applyToHono = (app: Hono<HonoEnv>): void => {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import type { ContentFormatSchema } from "@versia/sdk/schemas";
|
|||
import { config } from "@versia-server/config";
|
||||
import { htmlToText as htmlToTextLib } from "html-to-text";
|
||||
import { lookup } from "mime-types";
|
||||
import type { z } from "zod/v4";
|
||||
import type { z } from "zod";
|
||||
|
||||
export const getBestContentType = (
|
||||
content?: z.infer<typeof ContentFormatSchema> | null,
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ import type { ConfigSchema } from "@versia-server/config";
|
|||
import { debugResponse } from "@versia-server/kit/api";
|
||||
import { type Server, serve } from "bun";
|
||||
import type { Hono } from "hono";
|
||||
import type { z } from "zod/v4";
|
||||
import type { HonoEnv } from "~/types/api";
|
||||
import type { z } from "zod";
|
||||
import type { HonoEnv } from "~/types/api.ts";
|
||||
|
||||
export const createServer = (
|
||||
config: z.infer<typeof ConfigSchema>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue