fix(db): remove bulk drizzle-orm export

This commit is contained in:
Meier Lukas committed 2025-12-20 22:37:09 +01:00
1 parent fbb5298cb0
commit 978121b6ed
78 files changed
+165 -76

No files matched your search

-1
View File
@@ -2,7 +2,6 @@ import { createDb } from "@homarr/core/infrastructure/db";
import { schema } from "./schema";
export * from "drizzle-orm";
export type { HomarrDatabaseMysql, HomarrDatabasePostgresql } from "./driver";
export const db = createDb(schema);
+2 -1
View File
@@ -1,7 +1,8 @@
import { inArray } from "drizzle-orm";
import type { WidgetKind } from "@homarr/definitions";
import type { Database } from "..";
import { inArray } from "..";
import type { inferSupportedIntegrations } from "../../widgets/src";
import { items } from "../schema";
+1 -1
View File
@@ -1,10 +1,10 @@
import { eq } from "drizzle-orm";
import SuperJSON from "superjson";
import type { ServerSettings } from "@homarr/server-settings";
import { defaultServerSettings, defaultServerSettingsKeys } from "@homarr/server-settings";
import type { Database } from "..";
import { eq } from "..";
import { serverSettings } from "../schema";
export const getServerSettingsAsync = async (db: Database) => {