1 | import { QueryConfig, QueryResult } from 'react-query';
|
2 |
|
3 | export type CurrentUser = {
|
4 | akaname: string;
|
5 | createDate: string;
|
6 | currentRegion: string;
|
7 | email: string;
|
8 | firstName: string;
|
9 | lastName: string;
|
10 | id: string;
|
11 | jobTitle: string;
|
12 | userHasSecurityException: boolean;
|
13 | userId: string;
|
14 | userValidated: boolean;
|
15 | };
|
16 |
|
17 | declare function useCurrentUser(
|
18 | options?: QueryConfig<CurrentUser, unknown>
|
19 | ): QueryResult<CurrentUser, unknown>;
|
20 |
|
21 | export default useCurrentUser;
|