UNPKG

383 BTypeScriptView Raw
1/**
2 * An interface describing a user of an application or a handled request.
3 */
4export interface User {
5 [key: string]: any;
6 id?: string | number;
7 ip_address?: string;
8 email?: string;
9 username?: string;
10 geo?: GeoLocation;
11}
12export interface GeoLocation {
13 country_code?: string;
14 region?: string;
15 city?: string;
16}
17//# sourceMappingURL=user.d.ts.map
\No newline at end of file