UNPKG

2.05 kBTypeScriptView Raw
1export interface FbsearchRepositoryTopsearchFlatResponseRootObject {
2 list: FbsearchRepositoryTopsearchFlatResponseListItem[];
3 has_more: boolean;
4 rank_token: string;
5 clear_client_cache: boolean;
6 status: string;
7}
8export interface FbsearchRepositoryTopsearchFlatResponseListItem {
9 place?: FbsearchRepositoryTopsearchFlatResponsePlace;
10 position: number;
11 hashtag?: FbsearchRepositoryTopsearchFlatResponseHashtag;
12 user?: FbsearchRepositoryTopsearchFlatResponseUser;
13}
14export interface FbsearchRepositoryTopsearchFlatResponsePlace {
15 location: FbsearchRepositoryTopsearchFlatResponseLocation;
16 title: string;
17 subtitle: string;
18 media_bundles: any[];
19 header_media: FbsearchRepositoryTopsearchFlatResponseHeader_media;
20}
21export interface FbsearchRepositoryTopsearchFlatResponseLocation {
22 pk: number;
23 name: string;
24 address: string;
25 city: string;
26 short_name: string;
27 lng: number;
28 lat: number;
29 external_source: string;
30 facebook_places_id: number;
31}
32export interface FbsearchRepositoryTopsearchFlatResponseHeader_media {
33}
34export interface FbsearchRepositoryTopsearchFlatResponseHashtag {
35 name: string;
36 id: string;
37 media_count: number;
38 profile_pic_url: string;
39 search_result_subtitle: string;
40}
41export interface FbsearchRepositoryTopsearchFlatResponseUser {
42 pk: number;
43 username: string;
44 full_name: string;
45 is_private: boolean;
46 profile_pic_url: string;
47 friendship_status: FbsearchRepositoryTopsearchFlatResponseFriendship_status;
48 is_verified: boolean;
49 has_anonymous_profile_picture: boolean;
50 follower_count: number;
51 byline: string;
52 social_context?: string;
53 search_social_context?: string;
54 mutual_followers_count: number;
55 profile_pic_id?: string;
56 latest_reel_media?: number;
57}
58export interface FbsearchRepositoryTopsearchFlatResponseFriendship_status {
59 following: boolean;
60 is_private: boolean;
61 incoming_request: boolean;
62 outgoing_request: boolean;
63 is_bestie: boolean;
64}