Add weather

This commit is contained in:
2024-09-04 22:59:21 +02:00
parent 043757bffd
commit c55df1e120
10 changed files with 418 additions and 4 deletions

1
types/auth.d.ts vendored
View File

@@ -15,6 +15,7 @@ declare module '#auth-utils' {
language: string
location: string
subscription: Subscription
weatherTab: boolean
}
interface UserSession {

View File

@@ -75,6 +75,7 @@ export const UpdateUserSchema = z.object({
location: z.string().optional(),
language: z.string().optional(),
private: z.boolean().optional().default(false),
weatherTab: z.boolean().optional().default(false),
})
export const UpdateUserSchemaType = z.infer<typeof UpdateUserSchema>