mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 00:40:58 +01:00
12 lines
573 B
TypeScript
12 lines
573 B
TypeScript
import type { BetterSQLite3Database } from "drizzle-orm/better-sqlite3";
|
|
import type { MySql2Database } from "drizzle-orm/mysql2";
|
|
import type { NodePgDatabase } from "drizzle-orm/node-postgres";
|
|
|
|
import type * as mysqlSchema from "./schema/mysql";
|
|
import type * as pgSchema from "./schema/postgresql";
|
|
import type * as sqliteSchema from "./schema/sqlite";
|
|
|
|
export type HomarrDatabase = BetterSQLite3Database<typeof sqliteSchema>;
|
|
export type HomarrDatabaseMysql = MySql2Database<typeof mysqlSchema>;
|
|
export type HomarrDatabasePostgresql = NodePgDatabase<typeof pgSchema>;
|