This commit is contained in:
7
shared/types/auth.d.ts
vendored
Normal file
7
shared/types/auth.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare module '#auth-utils' {
|
||||
interface User {
|
||||
id: number
|
||||
login: string
|
||||
}
|
||||
}
|
||||
export {}
|
||||
3
shared/types/db.d.ts
vendored
Normal file
3
shared/types/db.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import type { schema } from 'hub:db'
|
||||
|
||||
export type Todo = typeof schema.todos.$inferSelect
|
||||
Reference in New Issue
Block a user