chore: disable auto imports (#2672)

* disable auto imports

* fix imports

* improve cli imports

* fix imports

* fix import cycle

* fix imports
This commit is contained in:
Bernd Storath
2026-06-19 15:24:42 +02:00
committed by GitHub
parent e7ea65a898
commit 2af5cd04b4
97 changed files with 473 additions and 65 deletions
@@ -1,7 +1,14 @@
import { eq, sql, and } from 'drizzle-orm';
import { TOTP } from 'otpauth';
import { user } from './schema';
import type { UserType } from './types';
import { WG_ENV } from '#server/utils/config';
import type { OAUTH_PROVIDER } from '#server/utils/oauth';
import { hashPassword, isPasswordValid } from '#server/utils/password';
import type { ID } from '#server/utils/types';
import { roles } from '#shared/utils/permissions';
import type { DBType } from '#db/sqlite';
type LoginResult =