mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
chore: ⬆️ Upgrade to Biome 2.0
This commit is contained in:
parent
e7aec8752c
commit
963173cdae
174 changed files with 412 additions and 379 deletions
|
|
@ -1,16 +1,15 @@
|
|||
// biome-ignore lint/performance/noBarrelFile: <explanation>
|
||||
export { User } from "~/classes/database/user.ts";
|
||||
export { Role } from "~/classes/database/role.ts";
|
||||
export { Media } from "~/classes/database/media";
|
||||
export { Application } from "~/classes/database/application.ts";
|
||||
export { Emoji } from "~/classes/database/emoji.ts";
|
||||
export { Instance } from "~/classes/database/instance.ts";
|
||||
export { Note } from "~/classes/database/note.ts";
|
||||
export { Timeline } from "~/classes/database/timeline.ts";
|
||||
export { Application } from "~/classes/database/application.ts";
|
||||
export { db } from "~/drizzle/db.ts";
|
||||
export { Relationship } from "~/classes/database/relationship.ts";
|
||||
export { Like } from "~/classes/database/like.ts";
|
||||
export { Token } from "~/classes/database/token.ts";
|
||||
export { Media } from "~/classes/database/media";
|
||||
export { Note } from "~/classes/database/note.ts";
|
||||
export { Notification } from "~/classes/database/notification.ts";
|
||||
export { Reaction } from "~/classes/database/reaction.ts";
|
||||
export { PushSubscription } from "~/classes/database/pushsubscription.ts";
|
||||
export { Reaction } from "~/classes/database/reaction.ts";
|
||||
export { Relationship } from "~/classes/database/relationship.ts";
|
||||
export { Role } from "~/classes/database/role.ts";
|
||||
export { Timeline } from "~/classes/database/timeline.ts";
|
||||
export { Token } from "~/classes/database/token.ts";
|
||||
export { User } from "~/classes/database/user.ts";
|
||||
export { db } from "~/drizzle/db.ts";
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// biome-ignore lint/performance/noReExportAll: <explanation>
|
||||
// biome-ignore lint/performance/noBarrelFile: <explanation>
|
||||
export * from "drizzle-orm";
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
// biome-ignore lint/performance/noReExportAll: <explanation>
|
||||
// biome-ignore lint/performance/noBarrelFile: <explanation>
|
||||
export * from "~/drizzle/schema";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// biome-ignore lint/performance/noBarrelFile: <explanation>
|
||||
export { Hooks } from "./hooks.ts";
|
||||
export { Plugin } from "./plugin.ts";
|
||||
export type { Manifest } from "./schema.ts";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,11 @@
|
|||
},
|
||||
"icon": "https://github.com/versia-pub/server",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"keywords": ["federated", "activitypub", "bun"],
|
||||
"keywords": [
|
||||
"federated",
|
||||
"activitypub",
|
||||
"bun"
|
||||
],
|
||||
"maintainers": [
|
||||
{
|
||||
"email": "contact@cpluspatch.com",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import type { Hono, MiddlewareHandler } from "hono";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import type { z } from "zod";
|
||||
import { type ZodError, fromZodError } from "zod-validation-error";
|
||||
import { fromZodError, type ZodError } from "zod-validation-error";
|
||||
import type { HonoEnv } from "~/types/api";
|
||||
import type { ServerHooks } from "./hooks.ts";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue