chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2025-05-01 16:27:34 +02:00
parent 441c7714d9
commit 4a4f72fd66
No known key found for this signature in database
92 changed files with 1056 additions and 1730 deletions

View file

@ -31,9 +31,9 @@ export const db =
? withReplicas(
drizzle(primaryDb, { schema }),
replicas.map((r) => drizzle(r, { schema })) as [
// biome-ignore lint/style/useNamingConvention: <explanation>
// biome-ignore lint/style/useNamingConvention: Required by drizzle-orm
BunSQLDatabase<typeof schema> & { $client: SQL },
// biome-ignore lint/style/useNamingConvention: <explanation>
// biome-ignore lint/style/useNamingConvention: Required by drizzle-orm
...(BunSQLDatabase<typeof schema> & { $client: SQL })[],
],
)

View file

@ -1,9 +1,9 @@
import type {
Notification as NotificationSchema,
RolePermission,
Source,
Status as StatusSchema,
} from "@versia/client/schemas";
import type { RolePermission } from "@versia/client/schemas";
import type { Challenge } from "altcha-lib/types";
import { relations, sql } from "drizzle-orm";
import {
@ -27,22 +27,18 @@ import type {
TextContentFormatSchema,
} from "~/packages/sdk/schemas";
// biome-ignore lint/nursery/useExplicitType: Type is too complex
const createdAt = () =>
timestamp("created_at", { precision: 3, mode: "string" })
.defaultNow()
.notNull();
// biome-ignore lint/nursery/useExplicitType: Type is too complex
const updatedAt = () =>
timestamp("updated_at", { precision: 3, mode: "string" })
.defaultNow()
.notNull();
// biome-ignore lint/nursery/useExplicitType: Type is too complex
const uri = () => text("uri").unique();
// biome-ignore lint/nursery/useExplicitType: Type is too complex
const id = () => uuid("id").primaryKey().notNull();
export const Challenges = pgTable("Challenges", {