Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott

- ref: Add `geo` location types to `user` (#11847)

## 8.0.0-beta.4

### Important Changes
Expand Down
7 changes: 7 additions & 0 deletions packages/types/src/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ export interface User {
ip_address?: string;
email?: string;
username?: string;
geo?: GeoLocation;
}

export interface GeoLocation {
country_code?: string;
region?: string;
city?: string;
}