feat(admin): add geolocation information to user sessions and implement geo IP fetching
This commit is contained in:
@@ -79,6 +79,9 @@ export const adminUserSessionSchema = z.object({
|
||||
expiresAt: z.string().datetime(),
|
||||
ipAddress: z.string().nullable(),
|
||||
userAgent: z.string().nullable(),
|
||||
city: z.string().nullable(),
|
||||
country: z.string().nullable(),
|
||||
countryCode: z.string().nullable(),
|
||||
})
|
||||
|
||||
export type AdminComplexListItem = z.infer<typeof adminComplexListItemSchema>
|
||||
|
||||
Reference in New Issue
Block a user