@book000/twitterts 0.20.19 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generate-types.js +5 -1
- package/dist/generate-types.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts +1 -1
- package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts +169 -15
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/likes-success.d.ts +1 -1
- package/dist/models/responses/graphql/get/likes-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/profile-spotlights-query-error.d.ts +8 -0
- package/dist/models/responses/graphql/get/profile-spotlights-query-error.d.ts.map +1 -0
- package/dist/models/responses/graphql/get/profile-spotlights-query-error.js +4 -0
- package/dist/models/responses/graphql/get/profile-spotlights-query-error.js.map +1 -0
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +22 -2
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts +1 -0
- package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +1 -0
- package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts +320 -41
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
- package/dist/parser/search-timeline.js +3 -1
- package/dist/parser/search-timeline.js.map +1 -1
- package/dist/parser/user-like-tweets.js +3 -1
- package/dist/parser/user-like-tweets.js.map +1 -1
- package/dist/parser/user-tweets.js +3 -1
- package/dist/parser/user-tweets.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/twitter.d.ts.map +1 -1
- package/dist/twitter.js +120 -68
- package/dist/twitter.js.map +1 -1
- package/package.json +2 -2
|
@@ -103,14 +103,22 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
103
103
|
}[];
|
|
104
104
|
};
|
|
105
105
|
super_follow_eligible?: boolean;
|
|
106
|
+
has_nft_avatar?: boolean;
|
|
106
107
|
};
|
|
107
108
|
};
|
|
108
109
|
};
|
|
109
110
|
edit_control?: {
|
|
110
|
-
edit_tweet_ids
|
|
111
|
-
editable_until_msecs
|
|
112
|
-
is_edit_eligible
|
|
113
|
-
edits_remaining
|
|
111
|
+
edit_tweet_ids?: string[];
|
|
112
|
+
editable_until_msecs?: string;
|
|
113
|
+
is_edit_eligible?: boolean;
|
|
114
|
+
edits_remaining?: string;
|
|
115
|
+
initial_tweet_id?: string;
|
|
116
|
+
edit_control_initial?: {
|
|
117
|
+
edit_tweet_ids: string[];
|
|
118
|
+
editable_until_msecs: string;
|
|
119
|
+
is_edit_eligible: boolean;
|
|
120
|
+
edits_remaining: string;
|
|
121
|
+
};
|
|
114
122
|
};
|
|
115
123
|
edit_perspective?: {
|
|
116
124
|
favorited: boolean;
|
|
@@ -326,7 +334,12 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
326
334
|
description: string;
|
|
327
335
|
entities: {
|
|
328
336
|
description: {
|
|
329
|
-
urls:
|
|
337
|
+
urls: {
|
|
338
|
+
display_url: string;
|
|
339
|
+
expanded_url: string;
|
|
340
|
+
url: string;
|
|
341
|
+
indices: number[];
|
|
342
|
+
}[];
|
|
330
343
|
};
|
|
331
344
|
url?: {
|
|
332
345
|
urls: {
|
|
@@ -371,6 +384,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
371
384
|
}[];
|
|
372
385
|
};
|
|
373
386
|
has_nft_avatar?: boolean;
|
|
387
|
+
super_follow_eligible?: boolean;
|
|
374
388
|
};
|
|
375
389
|
};
|
|
376
390
|
};
|
|
@@ -501,6 +515,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
501
515
|
}[];
|
|
502
516
|
};
|
|
503
517
|
has_nft_avatar?: boolean;
|
|
518
|
+
super_follow_eligible?: boolean;
|
|
504
519
|
};
|
|
505
520
|
};
|
|
506
521
|
};
|
|
@@ -702,6 +717,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
702
717
|
verified: boolean;
|
|
703
718
|
want_retweets: boolean;
|
|
704
719
|
withheld_in_countries: unknown[];
|
|
720
|
+
verified_type?: string;
|
|
705
721
|
};
|
|
706
722
|
professional?: {
|
|
707
723
|
rest_id: string;
|
|
@@ -715,6 +731,9 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
715
731
|
};
|
|
716
732
|
};
|
|
717
733
|
};
|
|
734
|
+
title?: string;
|
|
735
|
+
description?: string;
|
|
736
|
+
embeddable?: boolean;
|
|
718
737
|
};
|
|
719
738
|
mediaStats?: {
|
|
720
739
|
viewCount: number;
|
|
@@ -829,6 +848,9 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
829
848
|
expanded: string;
|
|
830
849
|
display: string;
|
|
831
850
|
};
|
|
851
|
+
scopes?: {
|
|
852
|
+
followers: boolean;
|
|
853
|
+
};
|
|
832
854
|
};
|
|
833
855
|
card?: {
|
|
834
856
|
rest_id: string;
|
|
@@ -1084,7 +1106,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1084
1106
|
is_edit_eligible: boolean;
|
|
1085
1107
|
edits_remaining: string;
|
|
1086
1108
|
};
|
|
1087
|
-
edit_perspective
|
|
1109
|
+
edit_perspective?: {
|
|
1088
1110
|
favorited: boolean;
|
|
1089
1111
|
retweeted: boolean;
|
|
1090
1112
|
};
|
|
@@ -1101,7 +1123,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1101
1123
|
conversation_id_str: string;
|
|
1102
1124
|
display_text_range: number[];
|
|
1103
1125
|
entities: {
|
|
1104
|
-
media
|
|
1126
|
+
media?: {
|
|
1105
1127
|
display_url: string;
|
|
1106
1128
|
expanded_url: string;
|
|
1107
1129
|
id_str: string;
|
|
@@ -1190,14 +1212,19 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1190
1212
|
screen_name: string;
|
|
1191
1213
|
indices: number[];
|
|
1192
1214
|
}[];
|
|
1193
|
-
urls:
|
|
1215
|
+
urls: {
|
|
1216
|
+
display_url: string;
|
|
1217
|
+
expanded_url: string;
|
|
1218
|
+
url: string;
|
|
1219
|
+
indices: number[];
|
|
1220
|
+
}[];
|
|
1194
1221
|
hashtags: {
|
|
1195
1222
|
indices: number[];
|
|
1196
1223
|
text: string;
|
|
1197
1224
|
}[];
|
|
1198
1225
|
symbols: unknown[];
|
|
1199
1226
|
};
|
|
1200
|
-
extended_entities
|
|
1227
|
+
extended_entities?: {
|
|
1201
1228
|
media: {
|
|
1202
1229
|
display_url: string;
|
|
1203
1230
|
expanded_url: string;
|
|
@@ -1314,6 +1341,18 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1314
1341
|
retweeted: boolean;
|
|
1315
1342
|
user_id_str: string;
|
|
1316
1343
|
id_str: string;
|
|
1344
|
+
quoted_status_id_str?: string;
|
|
1345
|
+
quoted_status_permalink?: {
|
|
1346
|
+
url: string;
|
|
1347
|
+
expanded: string;
|
|
1348
|
+
display: string;
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
quotedRefResult?: {
|
|
1352
|
+
result: {
|
|
1353
|
+
__typename: string;
|
|
1354
|
+
rest_id: string;
|
|
1355
|
+
};
|
|
1317
1356
|
};
|
|
1318
1357
|
};
|
|
1319
1358
|
};
|
|
@@ -1355,6 +1394,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1355
1394
|
id_str: string;
|
|
1356
1395
|
path: unknown[];
|
|
1357
1396
|
};
|
|
1397
|
+
boolean_value?: boolean;
|
|
1358
1398
|
};
|
|
1359
1399
|
}[];
|
|
1360
1400
|
card_platform: {
|
|
@@ -1640,10 +1680,17 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1640
1680
|
card_fetch_state: string;
|
|
1641
1681
|
};
|
|
1642
1682
|
edit_control: {
|
|
1643
|
-
edit_tweet_ids
|
|
1644
|
-
editable_until_msecs
|
|
1645
|
-
is_edit_eligible
|
|
1646
|
-
edits_remaining
|
|
1683
|
+
edit_tweet_ids?: string[];
|
|
1684
|
+
editable_until_msecs?: string;
|
|
1685
|
+
is_edit_eligible?: boolean;
|
|
1686
|
+
edits_remaining?: string;
|
|
1687
|
+
initial_tweet_id?: string;
|
|
1688
|
+
edit_control_initial?: {
|
|
1689
|
+
edit_tweet_ids: string[];
|
|
1690
|
+
editable_until_msecs: string;
|
|
1691
|
+
is_edit_eligible: boolean;
|
|
1692
|
+
edits_remaining: string;
|
|
1693
|
+
};
|
|
1647
1694
|
};
|
|
1648
1695
|
edit_perspective?: {
|
|
1649
1696
|
favorited: boolean;
|
|
@@ -1691,12 +1738,12 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1691
1738
|
id_str: string;
|
|
1692
1739
|
indices: number[];
|
|
1693
1740
|
media_url_https: string;
|
|
1694
|
-
source_status_id_str
|
|
1695
|
-
source_user_id_str
|
|
1741
|
+
source_status_id_str?: string;
|
|
1742
|
+
source_user_id_str?: string;
|
|
1696
1743
|
type: string;
|
|
1697
1744
|
url: string;
|
|
1698
1745
|
features: {
|
|
1699
|
-
large
|
|
1746
|
+
large?: {
|
|
1700
1747
|
faces: {
|
|
1701
1748
|
x: number;
|
|
1702
1749
|
y: number;
|
|
@@ -1704,7 +1751,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1704
1751
|
w: number;
|
|
1705
1752
|
}[];
|
|
1706
1753
|
};
|
|
1707
|
-
medium
|
|
1754
|
+
medium?: {
|
|
1708
1755
|
faces: {
|
|
1709
1756
|
x: number;
|
|
1710
1757
|
y: number;
|
|
@@ -1712,7 +1759,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1712
1759
|
w: number;
|
|
1713
1760
|
}[];
|
|
1714
1761
|
};
|
|
1715
|
-
small
|
|
1762
|
+
small?: {
|
|
1716
1763
|
faces: {
|
|
1717
1764
|
x: number;
|
|
1718
1765
|
y: number;
|
|
@@ -1720,7 +1767,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1720
1767
|
w: number;
|
|
1721
1768
|
}[];
|
|
1722
1769
|
};
|
|
1723
|
-
orig
|
|
1770
|
+
orig?: {
|
|
1724
1771
|
faces: {
|
|
1725
1772
|
x: number;
|
|
1726
1773
|
y: number;
|
|
@@ -1754,7 +1801,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1754
1801
|
original_info: {
|
|
1755
1802
|
height: number;
|
|
1756
1803
|
width: number;
|
|
1757
|
-
focus_rects
|
|
1804
|
+
focus_rects?: {
|
|
1758
1805
|
x: number;
|
|
1759
1806
|
y: number;
|
|
1760
1807
|
w: number;
|
|
@@ -1785,15 +1832,15 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1785
1832
|
indices: number[];
|
|
1786
1833
|
media_key: string;
|
|
1787
1834
|
media_url_https: string;
|
|
1788
|
-
source_status_id_str
|
|
1789
|
-
source_user_id_str
|
|
1835
|
+
source_status_id_str?: string;
|
|
1836
|
+
source_user_id_str?: string;
|
|
1790
1837
|
type: string;
|
|
1791
1838
|
url: string;
|
|
1792
1839
|
ext_media_availability: {
|
|
1793
1840
|
status: string;
|
|
1794
1841
|
};
|
|
1795
1842
|
features: {
|
|
1796
|
-
large
|
|
1843
|
+
large?: {
|
|
1797
1844
|
faces: {
|
|
1798
1845
|
x: number;
|
|
1799
1846
|
y: number;
|
|
@@ -1801,7 +1848,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1801
1848
|
w: number;
|
|
1802
1849
|
}[];
|
|
1803
1850
|
};
|
|
1804
|
-
medium
|
|
1851
|
+
medium?: {
|
|
1805
1852
|
faces: {
|
|
1806
1853
|
x: number;
|
|
1807
1854
|
y: number;
|
|
@@ -1809,7 +1856,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1809
1856
|
w: number;
|
|
1810
1857
|
}[];
|
|
1811
1858
|
};
|
|
1812
|
-
small
|
|
1859
|
+
small?: {
|
|
1813
1860
|
faces: {
|
|
1814
1861
|
x: number;
|
|
1815
1862
|
y: number;
|
|
@@ -1817,7 +1864,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1817
1864
|
w: number;
|
|
1818
1865
|
}[];
|
|
1819
1866
|
};
|
|
1820
|
-
orig
|
|
1867
|
+
orig?: {
|
|
1821
1868
|
faces: {
|
|
1822
1869
|
x: number;
|
|
1823
1870
|
y: number;
|
|
@@ -1851,13 +1898,28 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
1851
1898
|
original_info: {
|
|
1852
1899
|
height: number;
|
|
1853
1900
|
width: number;
|
|
1854
|
-
focus_rects
|
|
1901
|
+
focus_rects?: {
|
|
1855
1902
|
x: number;
|
|
1856
1903
|
y: number;
|
|
1857
1904
|
w: number;
|
|
1858
1905
|
h: number;
|
|
1859
1906
|
}[];
|
|
1860
1907
|
};
|
|
1908
|
+
additional_media_info?: {
|
|
1909
|
+
monetizable: boolean;
|
|
1910
|
+
};
|
|
1911
|
+
mediaStats?: {
|
|
1912
|
+
viewCount: number;
|
|
1913
|
+
};
|
|
1914
|
+
video_info?: {
|
|
1915
|
+
aspect_ratio: number[];
|
|
1916
|
+
duration_millis: number;
|
|
1917
|
+
variants: {
|
|
1918
|
+
bitrate?: number;
|
|
1919
|
+
content_type: string;
|
|
1920
|
+
url: string;
|
|
1921
|
+
}[];
|
|
1922
|
+
};
|
|
1861
1923
|
}[];
|
|
1862
1924
|
};
|
|
1863
1925
|
retweeted_status_result?: {
|
|
@@ -2228,6 +2290,42 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
2228
2290
|
followers: boolean;
|
|
2229
2291
|
};
|
|
2230
2292
|
};
|
|
2293
|
+
previous_counts?: {
|
|
2294
|
+
bookmark_count: number;
|
|
2295
|
+
favorite_count: number;
|
|
2296
|
+
quote_count: number;
|
|
2297
|
+
reply_count: number;
|
|
2298
|
+
retweet_count: number;
|
|
2299
|
+
};
|
|
2300
|
+
note_tweet?: {
|
|
2301
|
+
is_expandable: boolean;
|
|
2302
|
+
note_tweet_results: {
|
|
2303
|
+
result: {
|
|
2304
|
+
id: string;
|
|
2305
|
+
text: string;
|
|
2306
|
+
entity_set: {
|
|
2307
|
+
user_mentions: {
|
|
2308
|
+
id_str: string;
|
|
2309
|
+
name: string;
|
|
2310
|
+
screen_name: string;
|
|
2311
|
+
indices: number[];
|
|
2312
|
+
}[];
|
|
2313
|
+
urls: unknown[];
|
|
2314
|
+
hashtags: {
|
|
2315
|
+
indices: number[];
|
|
2316
|
+
text: string;
|
|
2317
|
+
}[];
|
|
2318
|
+
symbols: unknown[];
|
|
2319
|
+
};
|
|
2320
|
+
richtext: {
|
|
2321
|
+
richtext_tags: unknown[];
|
|
2322
|
+
};
|
|
2323
|
+
media: {
|
|
2324
|
+
inline_media: unknown[];
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
};
|
|
2231
2329
|
};
|
|
2232
2330
|
limitedActionResults?: {
|
|
2233
2331
|
limited_actions: {
|
|
@@ -2555,6 +2653,13 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
2555
2653
|
};
|
|
2556
2654
|
};
|
|
2557
2655
|
};
|
|
2656
|
+
previous_counts?: {
|
|
2657
|
+
bookmark_count: number;
|
|
2658
|
+
favorite_count: number;
|
|
2659
|
+
quote_count: number;
|
|
2660
|
+
reply_count: number;
|
|
2661
|
+
retweet_count: number;
|
|
2662
|
+
};
|
|
2558
2663
|
};
|
|
2559
2664
|
};
|
|
2560
2665
|
tweetDisplayType: string;
|
|
@@ -2721,6 +2826,60 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
2721
2826
|
user?: {
|
|
2722
2827
|
rest_id: string;
|
|
2723
2828
|
};
|
|
2829
|
+
first_media?: {
|
|
2830
|
+
media: {
|
|
2831
|
+
id: string;
|
|
2832
|
+
media_key: string;
|
|
2833
|
+
media_id: string;
|
|
2834
|
+
media_info: {
|
|
2835
|
+
__typename: string;
|
|
2836
|
+
original_img_height: number;
|
|
2837
|
+
original_img_width: number;
|
|
2838
|
+
original_img_url: string;
|
|
2839
|
+
color_info: {
|
|
2840
|
+
palette: {
|
|
2841
|
+
percentage: number;
|
|
2842
|
+
rgb: {
|
|
2843
|
+
blue: number;
|
|
2844
|
+
green: number;
|
|
2845
|
+
red: number;
|
|
2846
|
+
};
|
|
2847
|
+
}[];
|
|
2848
|
+
};
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2851
|
+
destination_obj: {
|
|
2852
|
+
__typename: string;
|
|
2853
|
+
user_id: string;
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2856
|
+
full_media_list?: {
|
|
2857
|
+
media: {
|
|
2858
|
+
id: string;
|
|
2859
|
+
media_key: string;
|
|
2860
|
+
media_id: string;
|
|
2861
|
+
media_info: {
|
|
2862
|
+
__typename: string;
|
|
2863
|
+
original_img_height: number;
|
|
2864
|
+
original_img_width: number;
|
|
2865
|
+
original_img_url: string;
|
|
2866
|
+
color_info: {
|
|
2867
|
+
palette: {
|
|
2868
|
+
percentage: number;
|
|
2869
|
+
rgb: {
|
|
2870
|
+
blue: number;
|
|
2871
|
+
green: number;
|
|
2872
|
+
red: number;
|
|
2873
|
+
};
|
|
2874
|
+
}[];
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
};
|
|
2878
|
+
destination_obj: {
|
|
2879
|
+
__typename: string;
|
|
2880
|
+
user_id: string;
|
|
2881
|
+
};
|
|
2882
|
+
}[];
|
|
2724
2883
|
}[];
|
|
2725
2884
|
};
|
|
2726
2885
|
display_options: {};
|
|
@@ -2740,7 +2899,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
2740
2899
|
details: {
|
|
2741
2900
|
timelinesDetails: {
|
|
2742
2901
|
injectionType?: string;
|
|
2743
|
-
controllerData
|
|
2902
|
+
controllerData?: string;
|
|
2744
2903
|
sourceData?: string;
|
|
2745
2904
|
};
|
|
2746
2905
|
};
|
|
@@ -2893,7 +3052,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
2893
3052
|
media_count: number;
|
|
2894
3053
|
name: string;
|
|
2895
3054
|
normal_followers_count: number;
|
|
2896
|
-
pinned_tweet_ids_str:
|
|
3055
|
+
pinned_tweet_ids_str: string[];
|
|
2897
3056
|
possibly_sensitive: boolean;
|
|
2898
3057
|
profile_banner_url: string;
|
|
2899
3058
|
profile_image_url_https: string;
|
|
@@ -2975,7 +3134,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
2975
3134
|
normal_followers_count: number;
|
|
2976
3135
|
pinned_tweet_ids_str: string[];
|
|
2977
3136
|
possibly_sensitive: boolean;
|
|
2978
|
-
profile_banner_url
|
|
3137
|
+
profile_banner_url?: string;
|
|
2979
3138
|
profile_image_url_https: string;
|
|
2980
3139
|
profile_interstitial_type: string;
|
|
2981
3140
|
screen_name: string;
|
|
@@ -3029,7 +3188,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3029
3188
|
type: string;
|
|
3030
3189
|
url: string;
|
|
3031
3190
|
features: {
|
|
3032
|
-
large
|
|
3191
|
+
large?: {
|
|
3033
3192
|
faces: {
|
|
3034
3193
|
x: number;
|
|
3035
3194
|
y: number;
|
|
@@ -3037,7 +3196,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3037
3196
|
w: number;
|
|
3038
3197
|
}[];
|
|
3039
3198
|
};
|
|
3040
|
-
medium
|
|
3199
|
+
medium?: {
|
|
3041
3200
|
faces: {
|
|
3042
3201
|
x: number;
|
|
3043
3202
|
y: number;
|
|
@@ -3045,7 +3204,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3045
3204
|
w: number;
|
|
3046
3205
|
}[];
|
|
3047
3206
|
};
|
|
3048
|
-
small
|
|
3207
|
+
small?: {
|
|
3049
3208
|
faces: {
|
|
3050
3209
|
x: number;
|
|
3051
3210
|
y: number;
|
|
@@ -3053,7 +3212,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3053
3212
|
w: number;
|
|
3054
3213
|
}[];
|
|
3055
3214
|
};
|
|
3056
|
-
orig
|
|
3215
|
+
orig?: {
|
|
3057
3216
|
faces: {
|
|
3058
3217
|
x: number;
|
|
3059
3218
|
y: number;
|
|
@@ -3087,7 +3246,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3087
3246
|
original_info: {
|
|
3088
3247
|
height: number;
|
|
3089
3248
|
width: number;
|
|
3090
|
-
focus_rects
|
|
3249
|
+
focus_rects?: {
|
|
3091
3250
|
x: number;
|
|
3092
3251
|
y: number;
|
|
3093
3252
|
w: number;
|
|
@@ -3127,7 +3286,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3127
3286
|
status: string;
|
|
3128
3287
|
};
|
|
3129
3288
|
features: {
|
|
3130
|
-
large
|
|
3289
|
+
large?: {
|
|
3131
3290
|
faces: {
|
|
3132
3291
|
x: number;
|
|
3133
3292
|
y: number;
|
|
@@ -3135,7 +3294,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3135
3294
|
w: number;
|
|
3136
3295
|
}[];
|
|
3137
3296
|
};
|
|
3138
|
-
medium
|
|
3297
|
+
medium?: {
|
|
3139
3298
|
faces: {
|
|
3140
3299
|
x: number;
|
|
3141
3300
|
y: number;
|
|
@@ -3143,7 +3302,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3143
3302
|
w: number;
|
|
3144
3303
|
}[];
|
|
3145
3304
|
};
|
|
3146
|
-
small
|
|
3305
|
+
small?: {
|
|
3147
3306
|
faces: {
|
|
3148
3307
|
x: number;
|
|
3149
3308
|
y: number;
|
|
@@ -3151,7 +3310,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3151
3310
|
w: number;
|
|
3152
3311
|
}[];
|
|
3153
3312
|
};
|
|
3154
|
-
orig
|
|
3313
|
+
orig?: {
|
|
3155
3314
|
faces: {
|
|
3156
3315
|
x: number;
|
|
3157
3316
|
y: number;
|
|
@@ -3185,13 +3344,28 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3185
3344
|
original_info: {
|
|
3186
3345
|
height: number;
|
|
3187
3346
|
width: number;
|
|
3188
|
-
focus_rects
|
|
3347
|
+
focus_rects?: {
|
|
3189
3348
|
x: number;
|
|
3190
3349
|
y: number;
|
|
3191
3350
|
w: number;
|
|
3192
3351
|
h: number;
|
|
3193
3352
|
}[];
|
|
3194
3353
|
};
|
|
3354
|
+
additional_media_info?: {
|
|
3355
|
+
monetizable: boolean;
|
|
3356
|
+
};
|
|
3357
|
+
mediaStats?: {
|
|
3358
|
+
viewCount: number;
|
|
3359
|
+
};
|
|
3360
|
+
video_info?: {
|
|
3361
|
+
aspect_ratio: number[];
|
|
3362
|
+
duration_millis: number;
|
|
3363
|
+
variants: {
|
|
3364
|
+
bitrate?: number;
|
|
3365
|
+
content_type: string;
|
|
3366
|
+
url: string;
|
|
3367
|
+
}[];
|
|
3368
|
+
};
|
|
3195
3369
|
}[];
|
|
3196
3370
|
};
|
|
3197
3371
|
favorite_count: number;
|
|
@@ -3211,6 +3385,111 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3211
3385
|
in_reply_to_status_id_str?: string;
|
|
3212
3386
|
in_reply_to_user_id_str?: string;
|
|
3213
3387
|
};
|
|
3388
|
+
card?: {
|
|
3389
|
+
rest_id: string;
|
|
3390
|
+
legacy: {
|
|
3391
|
+
binding_values: {
|
|
3392
|
+
key: string;
|
|
3393
|
+
value: {
|
|
3394
|
+
image_value?: {
|
|
3395
|
+
height: number;
|
|
3396
|
+
width: number;
|
|
3397
|
+
url: string;
|
|
3398
|
+
};
|
|
3399
|
+
type: string;
|
|
3400
|
+
string_value?: string;
|
|
3401
|
+
scribe_key?: string;
|
|
3402
|
+
user_value?: {
|
|
3403
|
+
id_str: string;
|
|
3404
|
+
path: unknown[];
|
|
3405
|
+
};
|
|
3406
|
+
image_color_value?: {
|
|
3407
|
+
palette: {
|
|
3408
|
+
rgb: {
|
|
3409
|
+
blue: number;
|
|
3410
|
+
green: number;
|
|
3411
|
+
red: number;
|
|
3412
|
+
};
|
|
3413
|
+
percentage: number;
|
|
3414
|
+
}[];
|
|
3415
|
+
};
|
|
3416
|
+
boolean_value?: boolean;
|
|
3417
|
+
};
|
|
3418
|
+
}[];
|
|
3419
|
+
card_platform: {
|
|
3420
|
+
platform: {
|
|
3421
|
+
audience: {
|
|
3422
|
+
name: string;
|
|
3423
|
+
};
|
|
3424
|
+
device: {
|
|
3425
|
+
name: string;
|
|
3426
|
+
version: string;
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3429
|
+
};
|
|
3430
|
+
name: string;
|
|
3431
|
+
url: string;
|
|
3432
|
+
user_refs_results: {
|
|
3433
|
+
result: {
|
|
3434
|
+
__typename: string;
|
|
3435
|
+
id: string;
|
|
3436
|
+
rest_id: string;
|
|
3437
|
+
affiliates_highlighted_label: {};
|
|
3438
|
+
has_graduated_access: boolean;
|
|
3439
|
+
is_blue_verified: boolean;
|
|
3440
|
+
profile_image_shape: string;
|
|
3441
|
+
legacy: {
|
|
3442
|
+
can_dm: boolean;
|
|
3443
|
+
can_media_tag: boolean;
|
|
3444
|
+
created_at: string;
|
|
3445
|
+
default_profile: boolean;
|
|
3446
|
+
default_profile_image: boolean;
|
|
3447
|
+
description: string;
|
|
3448
|
+
entities: {
|
|
3449
|
+
description: {
|
|
3450
|
+
urls: unknown[];
|
|
3451
|
+
};
|
|
3452
|
+
url: {
|
|
3453
|
+
urls: {
|
|
3454
|
+
display_url: string;
|
|
3455
|
+
expanded_url: string;
|
|
3456
|
+
url: string;
|
|
3457
|
+
indices: number[];
|
|
3458
|
+
}[];
|
|
3459
|
+
};
|
|
3460
|
+
};
|
|
3461
|
+
fast_followers_count: number;
|
|
3462
|
+
favourites_count: number;
|
|
3463
|
+
followers_count: number;
|
|
3464
|
+
friends_count: number;
|
|
3465
|
+
has_custom_timelines: boolean;
|
|
3466
|
+
is_translator: boolean;
|
|
3467
|
+
listed_count: number;
|
|
3468
|
+
location: string;
|
|
3469
|
+
media_count: number;
|
|
3470
|
+
name: string;
|
|
3471
|
+
normal_followers_count: number;
|
|
3472
|
+
pinned_tweet_ids_str: unknown[];
|
|
3473
|
+
possibly_sensitive: boolean;
|
|
3474
|
+
profile_banner_url: string;
|
|
3475
|
+
profile_image_url_https: string;
|
|
3476
|
+
profile_interstitial_type: string;
|
|
3477
|
+
screen_name: string;
|
|
3478
|
+
statuses_count: number;
|
|
3479
|
+
translator_type: string;
|
|
3480
|
+
url: string;
|
|
3481
|
+
verified: boolean;
|
|
3482
|
+
verified_type: string;
|
|
3483
|
+
want_retweets: boolean;
|
|
3484
|
+
withheld_in_countries: unknown[];
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3487
|
+
}[];
|
|
3488
|
+
};
|
|
3489
|
+
};
|
|
3490
|
+
unified_card?: {
|
|
3491
|
+
card_fetch_state: string;
|
|
3492
|
+
};
|
|
3214
3493
|
};
|
|
3215
3494
|
};
|
|
3216
3495
|
tweetDisplayType?: string;
|
|
@@ -3221,7 +3500,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
|
|
|
3221
3500
|
details: {
|
|
3222
3501
|
timelinesDetails: {
|
|
3223
3502
|
injectionType: string;
|
|
3224
|
-
controllerData
|
|
3503
|
+
controllerData?: string;
|
|
3225
3504
|
sourceData?: string;
|
|
3226
3505
|
};
|
|
3227
3506
|
};
|