mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-14 12:14:33 +01:00
Add weather
This commit is contained in:
1
types/auth.d.ts
vendored
1
types/auth.d.ts
vendored
@@ -15,6 +15,7 @@ declare module '#auth-utils' {
|
||||
language: string
|
||||
location: string
|
||||
subscription: Subscription
|
||||
weatherTab: boolean
|
||||
}
|
||||
|
||||
interface UserSession {
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user