chore(repo): remove dead code and useless tests (#3375)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-10 21:43:29 +02:00
1 parent 7e177a1c90
commit 1cd62eb661
1391 files changed
+783 -120415

No files matched your search

-5
View File
@@ -46,7 +46,6 @@ export interface PostgresQueryable {
export interface IPostgresClient extends PostgresQueryable {
connect(): Promise<void>;
shutdown(): Promise<void>;
isConnected(): boolean;
transaction<T>(fn: (client: PostgresQueryable) => Promise<T>): Promise<T>;
kvTable(): string;
}
@@ -215,10 +214,6 @@ class PostgresClient implements IPostgresClient {
await pool.end();
}
isConnected(): boolean {
return this.pool !== null && this.disconnection === null;
}
async query<T extends QueryResultRow = QueryResultRow>(
text: string,
values: Array<unknown> = [],