UNPKG

1.09 kBTypeScriptView Raw
1import { Entity } from '../core/entity';
2export interface NewsFeedResponseRootObject {
3 auto_load_more_enabled: boolean;
4 next_max_id: number;
5 stories: NewsFeedResponseStoriesItem[];
6 status: string;
7}
8export declare class NewsFeedResponseStoriesItem extends Entity {
9 type: number;
10 story_type: number;
11 args: NewsFeedResponseArgs;
12 counts: NewsFeedResponseCounts;
13 pk: string;
14}
15export interface NewsFeedResponseArgs {
16 text: string;
17 links: NewsFeedResponseLinksItem[];
18 profile_id: number;
19 profile_image: string;
20 media?: NewsFeedResponseMediaItem[];
21 timestamp: number;
22 tuuid: string;
23 second_profile_id?: number;
24 second_profile_image?: string;
25 profile_image_destination?: string;
26 comment_id?: string;
27 comment_ids?: string[];
28}
29export interface NewsFeedResponseLinksItem {
30 start: number;
31 end: number;
32 type: string;
33 id: string;
34}
35export interface NewsFeedResponseMediaItem {
36 id: string;
37 image: string;
38 comment_threading_enabled?: boolean;
39}
40export interface NewsFeedResponseCounts {
41}