UNPKG

1.17 kBTypeScriptView Raw
1import { ProfileEntity } from '../entities';
2export interface DiscoverFeedResponseRootObject {
3 more_available: boolean;
4 max_id: string;
5 next_max_id: string;
6 suggested_users: DiscoverFeedResponseSuggested_users;
7 new_suggested_users: DiscoverFeedResponseNew_suggested_users;
8 status: string;
9}
10export interface DiscoverFeedResponseSuggested_users {
11 suggestions: DiscoverFeedResponseSuggestionsItem[];
12}
13export interface DiscoverFeedResponseSuggestionsItem {
14 user: DiscoverFeedResponseUser;
15 algorithm: string;
16 social_context: string;
17 icon: string;
18 caption: string;
19 media_ids: any[];
20 thumbnail_urls: any[];
21 large_urls: any[];
22 media_infos: any[];
23 value: number;
24 followed_by: boolean;
25 is_new_suggestion: boolean;
26 uuid: string;
27}
28export declare class DiscoverFeedResponseUser extends ProfileEntity {
29 pk: string;
30 username: string;
31 full_name: string;
32 is_private: boolean;
33 profile_pic_url: string;
34 profile_pic_id: string;
35 is_verified: boolean;
36 has_anonymous_profile_picture: boolean;
37}
38export interface DiscoverFeedResponseNew_suggested_users {
39 suggestions: any[];
40}