Skip to content

Commit 3ec1c3c

Browse files
refactor: remove unused type imports from adapter files for cleaner code
1 parent a236903 commit 3ec1c3c

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

src/adapters/drizzle/drizzle-adapter.ts

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type {
22
SQL,
33
} from 'drizzle-orm'
44
import type {
5-
InferModelTypes,
65
UnDbSchema,
76
Where,
87
} from 'unadapter/types'

src/adapters/kysely/kysely-adapter.ts

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import type {
44
UpdateQueryBuilder,
55
} from 'kysely'
66
import type {
7-
AdapterOptions,
8-
InferModelTypes,
97
UnDbSchema,
108
Where,
119
} from 'unadapter/types'

src/adapters/memory/memory-adapter.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type {
2-
InferModelTypes,
32
UnDbSchema,
43
} from 'unadapter/types'
54
import type {

src/adapters/prisma/prisma-adapter.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import type {
2-
AdapterOptions,
3-
InferModelTypes,
42
UnDbSchema,
53
Where,
64
} from 'unadapter/types'

tests/better-auth.schema.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type {
33
DbSchema,
44
FieldAttribute,
55
OmitId,
6-
UnDbSchema,
76
User,
87
Verification,
98
} from 'unadapter/types'

0 commit comments

Comments
 (0)