UNPKG

957 BTypeScriptView Raw
1export interface UserRepositorySearchResponseRootObject {
2 num_results: number;
3 users: UserRepositorySearchResponseUsersItem[];
4 has_more: boolean;
5 rank_token: string;
6 status: string;
7}
8export interface UserRepositorySearchResponseUsersItem {
9 pk: number;
10 username: string;
11 full_name: string;
12 is_private: boolean;
13 profile_pic_url: string;
14 profile_pic_id?: string;
15 friendship_status: UserRepositorySearchResponseFriendship_status;
16 is_verified: boolean;
17 has_anonymous_profile_picture: boolean;
18 follower_count: number;
19 byline: string;
20 mutual_followers_count: number;
21 latest_reel_media?: number;
22 social_context?: string;
23 search_social_context?: string;
24 unseen_count?: number;
25}
26export interface UserRepositorySearchResponseFriendship_status {
27 following: boolean;
28 is_private: boolean;
29 incoming_request: boolean;
30 outgoing_request: boolean;
31 is_bestie: boolean;
32}