@book000/twitterts 0.18.0 → 0.19.0
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/models/exceptions.d.ts +7 -1
- package/dist/models/exceptions.d.ts.map +1 -1
- package/dist/models/exceptions.js +11 -2
- package/dist/models/exceptions.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 +620 -21
- 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/tweet-detail-success.d.ts +43 -10
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts +326 -13
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
- package/dist/options.d.ts +7 -0
- package/dist/options.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/twitter.d.ts +7 -1
- package/dist/twitter.d.ts.map +1 -1
- package/dist/twitter.js +110 -14
- package/dist/twitter.js.map +1 -1
- package/dist/twitter.test.js +6 -1
- package/dist/twitter.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -81,7 +81,7 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
81
81
|
normal_followers_count: number;
|
|
82
82
|
pinned_tweet_ids_str: string[];
|
|
83
83
|
possibly_sensitive: boolean;
|
|
84
|
-
profile_banner_url
|
|
84
|
+
profile_banner_url?: string;
|
|
85
85
|
profile_image_url_https: string;
|
|
86
86
|
profile_interstitial_type: string;
|
|
87
87
|
screen_name: string;
|
|
@@ -652,6 +652,9 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
652
652
|
expanded: string;
|
|
653
653
|
display: string;
|
|
654
654
|
};
|
|
655
|
+
scopes?: {
|
|
656
|
+
followers: boolean;
|
|
657
|
+
};
|
|
655
658
|
};
|
|
656
659
|
note_tweet?: {
|
|
657
660
|
is_expandable: boolean;
|
|
@@ -1155,7 +1158,7 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1155
1158
|
normal_followers_count: number;
|
|
1156
1159
|
pinned_tweet_ids_str: string[];
|
|
1157
1160
|
possibly_sensitive: boolean;
|
|
1158
|
-
profile_banner_url
|
|
1161
|
+
profile_banner_url?: string;
|
|
1159
1162
|
profile_image_url_https: string;
|
|
1160
1163
|
profile_interstitial_type: string;
|
|
1161
1164
|
screen_name: string;
|
|
@@ -1334,7 +1337,7 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1334
1337
|
is_edit_eligible: boolean;
|
|
1335
1338
|
edits_remaining: string;
|
|
1336
1339
|
};
|
|
1337
|
-
edit_perspective
|
|
1340
|
+
edit_perspective?: {
|
|
1338
1341
|
favorited: boolean;
|
|
1339
1342
|
retweeted: boolean;
|
|
1340
1343
|
};
|
|
@@ -1351,10 +1354,73 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1351
1354
|
conversation_id_str: string;
|
|
1352
1355
|
display_text_range: number[];
|
|
1353
1356
|
entities: {
|
|
1354
|
-
user_mentions:
|
|
1357
|
+
user_mentions: {
|
|
1358
|
+
id_str: string;
|
|
1359
|
+
name: string;
|
|
1360
|
+
screen_name: string;
|
|
1361
|
+
indices: number[];
|
|
1362
|
+
}[];
|
|
1355
1363
|
urls: unknown[];
|
|
1356
|
-
hashtags:
|
|
1364
|
+
hashtags: {
|
|
1365
|
+
indices: number[];
|
|
1366
|
+
text: string;
|
|
1367
|
+
}[];
|
|
1357
1368
|
symbols: unknown[];
|
|
1369
|
+
media?: {
|
|
1370
|
+
display_url: string;
|
|
1371
|
+
expanded_url: string;
|
|
1372
|
+
id_str: string;
|
|
1373
|
+
indices: number[];
|
|
1374
|
+
media_url_https: string;
|
|
1375
|
+
type: string;
|
|
1376
|
+
url: string;
|
|
1377
|
+
features: {
|
|
1378
|
+
large: {
|
|
1379
|
+
faces: unknown[];
|
|
1380
|
+
};
|
|
1381
|
+
medium: {
|
|
1382
|
+
faces: unknown[];
|
|
1383
|
+
};
|
|
1384
|
+
small: {
|
|
1385
|
+
faces: unknown[];
|
|
1386
|
+
};
|
|
1387
|
+
orig: {
|
|
1388
|
+
faces: unknown[];
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
sizes: {
|
|
1392
|
+
large: {
|
|
1393
|
+
h: number;
|
|
1394
|
+
w: number;
|
|
1395
|
+
resize: string;
|
|
1396
|
+
};
|
|
1397
|
+
medium: {
|
|
1398
|
+
h: number;
|
|
1399
|
+
w: number;
|
|
1400
|
+
resize: string;
|
|
1401
|
+
};
|
|
1402
|
+
small: {
|
|
1403
|
+
h: number;
|
|
1404
|
+
w: number;
|
|
1405
|
+
resize: string;
|
|
1406
|
+
};
|
|
1407
|
+
thumb: {
|
|
1408
|
+
h: number;
|
|
1409
|
+
w: number;
|
|
1410
|
+
resize: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
original_info: {
|
|
1414
|
+
height: number;
|
|
1415
|
+
width: number;
|
|
1416
|
+
focus_rects: {
|
|
1417
|
+
x: number;
|
|
1418
|
+
y: number;
|
|
1419
|
+
w: number;
|
|
1420
|
+
h: number;
|
|
1421
|
+
}[];
|
|
1422
|
+
};
|
|
1423
|
+
}[];
|
|
1358
1424
|
};
|
|
1359
1425
|
favorite_count: number;
|
|
1360
1426
|
favorited: boolean;
|
|
@@ -1367,6 +1433,69 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1367
1433
|
retweeted: boolean;
|
|
1368
1434
|
user_id_str: string;
|
|
1369
1435
|
id_str: string;
|
|
1436
|
+
extended_entities?: {
|
|
1437
|
+
media: {
|
|
1438
|
+
display_url: string;
|
|
1439
|
+
expanded_url: string;
|
|
1440
|
+
id_str: string;
|
|
1441
|
+
indices: number[];
|
|
1442
|
+
media_key: string;
|
|
1443
|
+
media_url_https: string;
|
|
1444
|
+
type: string;
|
|
1445
|
+
url: string;
|
|
1446
|
+
ext_media_availability: {
|
|
1447
|
+
status: string;
|
|
1448
|
+
};
|
|
1449
|
+
features: {
|
|
1450
|
+
large: {
|
|
1451
|
+
faces: unknown[];
|
|
1452
|
+
};
|
|
1453
|
+
medium: {
|
|
1454
|
+
faces: unknown[];
|
|
1455
|
+
};
|
|
1456
|
+
small: {
|
|
1457
|
+
faces: unknown[];
|
|
1458
|
+
};
|
|
1459
|
+
orig: {
|
|
1460
|
+
faces: unknown[];
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
sizes: {
|
|
1464
|
+
large: {
|
|
1465
|
+
h: number;
|
|
1466
|
+
w: number;
|
|
1467
|
+
resize: string;
|
|
1468
|
+
};
|
|
1469
|
+
medium: {
|
|
1470
|
+
h: number;
|
|
1471
|
+
w: number;
|
|
1472
|
+
resize: string;
|
|
1473
|
+
};
|
|
1474
|
+
small: {
|
|
1475
|
+
h: number;
|
|
1476
|
+
w: number;
|
|
1477
|
+
resize: string;
|
|
1478
|
+
};
|
|
1479
|
+
thumb: {
|
|
1480
|
+
h: number;
|
|
1481
|
+
w: number;
|
|
1482
|
+
resize: string;
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
original_info: {
|
|
1486
|
+
height: number;
|
|
1487
|
+
width: number;
|
|
1488
|
+
focus_rects: {
|
|
1489
|
+
x: number;
|
|
1490
|
+
y: number;
|
|
1491
|
+
w: number;
|
|
1492
|
+
h: number;
|
|
1493
|
+
}[];
|
|
1494
|
+
};
|
|
1495
|
+
}[];
|
|
1496
|
+
};
|
|
1497
|
+
possibly_sensitive?: boolean;
|
|
1498
|
+
possibly_sensitive_editable?: boolean;
|
|
1370
1499
|
};
|
|
1371
1500
|
};
|
|
1372
1501
|
};
|
|
@@ -1383,7 +1512,7 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1383
1512
|
is_blue_verified: boolean;
|
|
1384
1513
|
profile_image_shape: string;
|
|
1385
1514
|
legacy: {
|
|
1386
|
-
following
|
|
1515
|
+
following?: boolean;
|
|
1387
1516
|
can_dm: boolean;
|
|
1388
1517
|
can_media_tag: boolean;
|
|
1389
1518
|
created_at: string;
|
|
@@ -1392,7 +1521,20 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1392
1521
|
description: string;
|
|
1393
1522
|
entities: {
|
|
1394
1523
|
description: {
|
|
1395
|
-
urls:
|
|
1524
|
+
urls: {
|
|
1525
|
+
display_url: string;
|
|
1526
|
+
expanded_url: string;
|
|
1527
|
+
url: string;
|
|
1528
|
+
indices: number[];
|
|
1529
|
+
}[];
|
|
1530
|
+
};
|
|
1531
|
+
url?: {
|
|
1532
|
+
urls: {
|
|
1533
|
+
display_url: string;
|
|
1534
|
+
expanded_url: string;
|
|
1535
|
+
url: string;
|
|
1536
|
+
indices: number[];
|
|
1537
|
+
}[];
|
|
1396
1538
|
};
|
|
1397
1539
|
};
|
|
1398
1540
|
fast_followers_count: number;
|
|
@@ -1418,6 +1560,8 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1418
1560
|
want_retweets: boolean;
|
|
1419
1561
|
withheld_in_countries: unknown[];
|
|
1420
1562
|
followed_by?: boolean;
|
|
1563
|
+
url?: string;
|
|
1564
|
+
verified_type?: string;
|
|
1421
1565
|
};
|
|
1422
1566
|
};
|
|
1423
1567
|
};
|
|
@@ -1428,13 +1572,14 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1428
1572
|
is_edit_eligible: boolean;
|
|
1429
1573
|
edits_remaining: string;
|
|
1430
1574
|
};
|
|
1431
|
-
edit_perspective
|
|
1575
|
+
edit_perspective?: {
|
|
1432
1576
|
favorited: boolean;
|
|
1433
1577
|
retweeted: boolean;
|
|
1434
1578
|
};
|
|
1435
1579
|
is_translatable: boolean;
|
|
1436
1580
|
views: {
|
|
1437
1581
|
state: string;
|
|
1582
|
+
count?: string;
|
|
1438
1583
|
};
|
|
1439
1584
|
source: string;
|
|
1440
1585
|
legacy: {
|
|
@@ -1480,7 +1625,7 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1480
1625
|
retweeted: boolean;
|
|
1481
1626
|
user_id_str: string;
|
|
1482
1627
|
id_str: string;
|
|
1483
|
-
retweeted_status_result
|
|
1628
|
+
retweeted_status_result?: {
|
|
1484
1629
|
result: {
|
|
1485
1630
|
__typename: string;
|
|
1486
1631
|
tweet: {
|
|
@@ -1784,6 +1929,41 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1784
1929
|
};
|
|
1785
1930
|
};
|
|
1786
1931
|
};
|
|
1932
|
+
possibly_sensitive?: boolean;
|
|
1933
|
+
possibly_sensitive_editable?: boolean;
|
|
1934
|
+
scopes?: {
|
|
1935
|
+
followers: boolean;
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
card?: {
|
|
1939
|
+
rest_id: string;
|
|
1940
|
+
legacy: {
|
|
1941
|
+
binding_values: {
|
|
1942
|
+
key: string;
|
|
1943
|
+
value: {
|
|
1944
|
+
string_value: string;
|
|
1945
|
+
type: string;
|
|
1946
|
+
scribe_key?: string;
|
|
1947
|
+
};
|
|
1948
|
+
}[];
|
|
1949
|
+
card_platform: {
|
|
1950
|
+
platform: {
|
|
1951
|
+
audience: {
|
|
1952
|
+
name: string;
|
|
1953
|
+
};
|
|
1954
|
+
device: {
|
|
1955
|
+
name: string;
|
|
1956
|
+
version: string;
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1960
|
+
name: string;
|
|
1961
|
+
url: string;
|
|
1962
|
+
user_refs_results: unknown[];
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
unified_card?: {
|
|
1966
|
+
card_fetch_state: string;
|
|
1787
1967
|
};
|
|
1788
1968
|
};
|
|
1789
1969
|
limitedActionResults?: {
|
|
@@ -1851,7 +2031,20 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1851
2031
|
__typename: string;
|
|
1852
2032
|
id: string;
|
|
1853
2033
|
rest_id: string;
|
|
1854
|
-
affiliates_highlighted_label: {
|
|
2034
|
+
affiliates_highlighted_label: {
|
|
2035
|
+
label?: {
|
|
2036
|
+
url: {
|
|
2037
|
+
url: string;
|
|
2038
|
+
urlType: string;
|
|
2039
|
+
};
|
|
2040
|
+
badge: {
|
|
2041
|
+
url: string;
|
|
2042
|
+
};
|
|
2043
|
+
description: string;
|
|
2044
|
+
userLabelType: string;
|
|
2045
|
+
userLabelDisplayType: string;
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
1855
2048
|
has_graduated_access: boolean;
|
|
1856
2049
|
is_blue_verified: boolean;
|
|
1857
2050
|
profile_image_shape: string;
|
|
@@ -1864,7 +2057,12 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1864
2057
|
description: string;
|
|
1865
2058
|
entities: {
|
|
1866
2059
|
description: {
|
|
1867
|
-
urls:
|
|
2060
|
+
urls: {
|
|
2061
|
+
display_url: string;
|
|
2062
|
+
expanded_url: string;
|
|
2063
|
+
url: string;
|
|
2064
|
+
indices: number[];
|
|
2065
|
+
}[];
|
|
1868
2066
|
};
|
|
1869
2067
|
url: {
|
|
1870
2068
|
urls: {
|
|
@@ -1886,7 +2084,7 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1886
2084
|
media_count: number;
|
|
1887
2085
|
name: string;
|
|
1888
2086
|
normal_followers_count: number;
|
|
1889
|
-
pinned_tweet_ids_str:
|
|
2087
|
+
pinned_tweet_ids_str: string[];
|
|
1890
2088
|
possibly_sensitive: boolean;
|
|
1891
2089
|
profile_banner_url: string;
|
|
1892
2090
|
profile_image_url_https: string;
|
|
@@ -1900,6 +2098,15 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
1900
2098
|
withheld_in_countries: unknown[];
|
|
1901
2099
|
verified_type?: string;
|
|
1902
2100
|
};
|
|
2101
|
+
professional?: {
|
|
2102
|
+
rest_id: string;
|
|
2103
|
+
professional_type: string;
|
|
2104
|
+
category: {
|
|
2105
|
+
id: number;
|
|
2106
|
+
name: string;
|
|
2107
|
+
icon_name: string;
|
|
2108
|
+
}[];
|
|
2109
|
+
};
|
|
1903
2110
|
};
|
|
1904
2111
|
}[];
|
|
1905
2112
|
};
|
|
@@ -2035,7 +2242,47 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
2035
2242
|
value: string;
|
|
2036
2243
|
}[];
|
|
2037
2244
|
};
|
|
2038
|
-
adMetadataContainer?: {
|
|
2245
|
+
adMetadataContainer?: {
|
|
2246
|
+
dynamicCardContent?: {
|
|
2247
|
+
card_type: string;
|
|
2248
|
+
layout: {
|
|
2249
|
+
__typename: string;
|
|
2250
|
+
components: {
|
|
2251
|
+
__typename: string;
|
|
2252
|
+
media?: {
|
|
2253
|
+
id: string;
|
|
2254
|
+
media_key: string;
|
|
2255
|
+
media_id: string;
|
|
2256
|
+
media_info: {
|
|
2257
|
+
__typename: string;
|
|
2258
|
+
original_img_height: number;
|
|
2259
|
+
original_img_width: number;
|
|
2260
|
+
original_img_url: string;
|
|
2261
|
+
color_info: {
|
|
2262
|
+
palette: {
|
|
2263
|
+
percentage: number;
|
|
2264
|
+
rgb: {
|
|
2265
|
+
blue: number;
|
|
2266
|
+
green: number;
|
|
2267
|
+
red: number;
|
|
2268
|
+
};
|
|
2269
|
+
}[];
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
destination_obj?: {
|
|
2274
|
+
__typename: string;
|
|
2275
|
+
user_id: string;
|
|
2276
|
+
};
|
|
2277
|
+
user?: {
|
|
2278
|
+
rest_id: string;
|
|
2279
|
+
};
|
|
2280
|
+
}[];
|
|
2281
|
+
};
|
|
2282
|
+
display_options: {};
|
|
2283
|
+
card_fetch_state: string;
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2039
2286
|
promotedTrendName?: string;
|
|
2040
2287
|
promotedTrendQueryTerm?: string;
|
|
2041
2288
|
promotedTrend?: {
|
|
@@ -2056,12 +2303,22 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
2056
2303
|
};
|
|
2057
2304
|
socialContext?: {
|
|
2058
2305
|
type: string;
|
|
2059
|
-
contextType
|
|
2060
|
-
text
|
|
2061
|
-
landingUrl
|
|
2306
|
+
contextType?: string;
|
|
2307
|
+
text?: string;
|
|
2308
|
+
landingUrl?: {
|
|
2062
2309
|
url: string;
|
|
2063
2310
|
urlType: string;
|
|
2064
2311
|
};
|
|
2312
|
+
topic?: {
|
|
2313
|
+
description: string;
|
|
2314
|
+
following: boolean;
|
|
2315
|
+
icon_url: string;
|
|
2316
|
+
id: string;
|
|
2317
|
+
topic_id: string;
|
|
2318
|
+
name: string;
|
|
2319
|
+
not_interested: boolean;
|
|
2320
|
+
};
|
|
2321
|
+
functionalityType?: string;
|
|
2065
2322
|
};
|
|
2066
2323
|
};
|
|
2067
2324
|
feedbackInfo?: {
|
|
@@ -2070,17 +2327,347 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
2070
2327
|
};
|
|
2071
2328
|
clientEventInfo?: {
|
|
2072
2329
|
component: string;
|
|
2073
|
-
element
|
|
2330
|
+
element?: string;
|
|
2074
2331
|
entityToken?: string;
|
|
2075
2332
|
details?: {
|
|
2076
2333
|
timelinesDetails: {
|
|
2077
|
-
injectionType
|
|
2334
|
+
injectionType?: string;
|
|
2078
2335
|
controllerData: string;
|
|
2079
2336
|
};
|
|
2080
2337
|
};
|
|
2081
2338
|
};
|
|
2082
2339
|
value?: string;
|
|
2083
2340
|
cursorType?: string;
|
|
2341
|
+
items?: {
|
|
2342
|
+
entryId: string;
|
|
2343
|
+
item: {
|
|
2344
|
+
itemContent: {
|
|
2345
|
+
itemType: string;
|
|
2346
|
+
__typename: string;
|
|
2347
|
+
tweet_results: {
|
|
2348
|
+
result: {
|
|
2349
|
+
__typename: string;
|
|
2350
|
+
rest_id: string;
|
|
2351
|
+
core: {
|
|
2352
|
+
user_results: {
|
|
2353
|
+
result: {
|
|
2354
|
+
__typename: string;
|
|
2355
|
+
id: string;
|
|
2356
|
+
rest_id: string;
|
|
2357
|
+
affiliates_highlighted_label: {};
|
|
2358
|
+
has_graduated_access: boolean;
|
|
2359
|
+
is_blue_verified: boolean;
|
|
2360
|
+
profile_image_shape: string;
|
|
2361
|
+
legacy: {
|
|
2362
|
+
can_dm: boolean;
|
|
2363
|
+
can_media_tag: boolean;
|
|
2364
|
+
created_at: string;
|
|
2365
|
+
default_profile: boolean;
|
|
2366
|
+
default_profile_image: boolean;
|
|
2367
|
+
description: string;
|
|
2368
|
+
entities: {
|
|
2369
|
+
description: {
|
|
2370
|
+
urls: {
|
|
2371
|
+
display_url: string;
|
|
2372
|
+
expanded_url: string;
|
|
2373
|
+
url: string;
|
|
2374
|
+
indices: number[];
|
|
2375
|
+
}[];
|
|
2376
|
+
};
|
|
2377
|
+
url?: {
|
|
2378
|
+
urls: {
|
|
2379
|
+
display_url: string;
|
|
2380
|
+
expanded_url: string;
|
|
2381
|
+
url: string;
|
|
2382
|
+
indices: number[];
|
|
2383
|
+
}[];
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
fast_followers_count: number;
|
|
2387
|
+
favourites_count: number;
|
|
2388
|
+
followers_count: number;
|
|
2389
|
+
friends_count: number;
|
|
2390
|
+
has_custom_timelines: boolean;
|
|
2391
|
+
is_translator: boolean;
|
|
2392
|
+
listed_count: number;
|
|
2393
|
+
location: string;
|
|
2394
|
+
media_count: number;
|
|
2395
|
+
name: string;
|
|
2396
|
+
normal_followers_count: number;
|
|
2397
|
+
pinned_tweet_ids_str: string[];
|
|
2398
|
+
possibly_sensitive: boolean;
|
|
2399
|
+
profile_banner_url: string;
|
|
2400
|
+
profile_image_url_https: string;
|
|
2401
|
+
profile_interstitial_type: string;
|
|
2402
|
+
screen_name: string;
|
|
2403
|
+
statuses_count: number;
|
|
2404
|
+
translator_type: string;
|
|
2405
|
+
url?: string;
|
|
2406
|
+
verified: boolean;
|
|
2407
|
+
want_retweets: boolean;
|
|
2408
|
+
withheld_in_countries: unknown[];
|
|
2409
|
+
followed_by?: boolean;
|
|
2410
|
+
following?: boolean;
|
|
2411
|
+
verified_type?: string;
|
|
2412
|
+
};
|
|
2413
|
+
professional?: {
|
|
2414
|
+
rest_id: string;
|
|
2415
|
+
professional_type: string;
|
|
2416
|
+
category: {
|
|
2417
|
+
id: number;
|
|
2418
|
+
name: string;
|
|
2419
|
+
icon_name: string;
|
|
2420
|
+
}[];
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
};
|
|
2425
|
+
edit_control: {
|
|
2426
|
+
edit_tweet_ids: string[];
|
|
2427
|
+
editable_until_msecs: string;
|
|
2428
|
+
is_edit_eligible: boolean;
|
|
2429
|
+
edits_remaining: string;
|
|
2430
|
+
};
|
|
2431
|
+
is_translatable: boolean;
|
|
2432
|
+
views: {
|
|
2433
|
+
count: string;
|
|
2434
|
+
state: string;
|
|
2435
|
+
};
|
|
2436
|
+
source: string;
|
|
2437
|
+
legacy: {
|
|
2438
|
+
bookmark_count: number;
|
|
2439
|
+
bookmarked: boolean;
|
|
2440
|
+
created_at: string;
|
|
2441
|
+
conversation_id_str: string;
|
|
2442
|
+
display_text_range: number[];
|
|
2443
|
+
entities: {
|
|
2444
|
+
media?: {
|
|
2445
|
+
display_url: string;
|
|
2446
|
+
expanded_url: string;
|
|
2447
|
+
id_str: string;
|
|
2448
|
+
indices: number[];
|
|
2449
|
+
media_url_https: string;
|
|
2450
|
+
type: string;
|
|
2451
|
+
url: string;
|
|
2452
|
+
features: {
|
|
2453
|
+
large: {
|
|
2454
|
+
faces: {
|
|
2455
|
+
x: number;
|
|
2456
|
+
y: number;
|
|
2457
|
+
h: number;
|
|
2458
|
+
w: number;
|
|
2459
|
+
}[];
|
|
2460
|
+
};
|
|
2461
|
+
medium: {
|
|
2462
|
+
faces: {
|
|
2463
|
+
x: number;
|
|
2464
|
+
y: number;
|
|
2465
|
+
h: number;
|
|
2466
|
+
w: number;
|
|
2467
|
+
}[];
|
|
2468
|
+
};
|
|
2469
|
+
small: {
|
|
2470
|
+
faces: {
|
|
2471
|
+
x: number;
|
|
2472
|
+
y: number;
|
|
2473
|
+
h: number;
|
|
2474
|
+
w: number;
|
|
2475
|
+
}[];
|
|
2476
|
+
};
|
|
2477
|
+
orig: {
|
|
2478
|
+
faces: {
|
|
2479
|
+
x: number;
|
|
2480
|
+
y: number;
|
|
2481
|
+
h: number;
|
|
2482
|
+
w: number;
|
|
2483
|
+
}[];
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
sizes: {
|
|
2487
|
+
large: {
|
|
2488
|
+
h: number;
|
|
2489
|
+
w: number;
|
|
2490
|
+
resize: string;
|
|
2491
|
+
};
|
|
2492
|
+
medium: {
|
|
2493
|
+
h: number;
|
|
2494
|
+
w: number;
|
|
2495
|
+
resize: string;
|
|
2496
|
+
};
|
|
2497
|
+
small: {
|
|
2498
|
+
h: number;
|
|
2499
|
+
w: number;
|
|
2500
|
+
resize: string;
|
|
2501
|
+
};
|
|
2502
|
+
thumb: {
|
|
2503
|
+
h: number;
|
|
2504
|
+
w: number;
|
|
2505
|
+
resize: string;
|
|
2506
|
+
};
|
|
2507
|
+
};
|
|
2508
|
+
original_info: {
|
|
2509
|
+
height: number;
|
|
2510
|
+
width: number;
|
|
2511
|
+
focus_rects: {
|
|
2512
|
+
x: number;
|
|
2513
|
+
y: number;
|
|
2514
|
+
w: number;
|
|
2515
|
+
h: number;
|
|
2516
|
+
}[];
|
|
2517
|
+
};
|
|
2518
|
+
}[];
|
|
2519
|
+
user_mentions: {
|
|
2520
|
+
id_str: string;
|
|
2521
|
+
name: string;
|
|
2522
|
+
screen_name: string;
|
|
2523
|
+
indices: number[];
|
|
2524
|
+
}[];
|
|
2525
|
+
urls: {
|
|
2526
|
+
display_url: string;
|
|
2527
|
+
expanded_url: string;
|
|
2528
|
+
url: string;
|
|
2529
|
+
indices: number[];
|
|
2530
|
+
}[];
|
|
2531
|
+
hashtags: {
|
|
2532
|
+
indices: number[];
|
|
2533
|
+
text: string;
|
|
2534
|
+
}[];
|
|
2535
|
+
symbols: unknown[];
|
|
2536
|
+
};
|
|
2537
|
+
extended_entities?: {
|
|
2538
|
+
media: {
|
|
2539
|
+
display_url: string;
|
|
2540
|
+
expanded_url: string;
|
|
2541
|
+
id_str: string;
|
|
2542
|
+
indices: number[];
|
|
2543
|
+
media_key: string;
|
|
2544
|
+
media_url_https: string;
|
|
2545
|
+
type: string;
|
|
2546
|
+
url: string;
|
|
2547
|
+
ext_media_availability: {
|
|
2548
|
+
status: string;
|
|
2549
|
+
};
|
|
2550
|
+
features: {
|
|
2551
|
+
large: {
|
|
2552
|
+
faces: {
|
|
2553
|
+
x: number;
|
|
2554
|
+
y: number;
|
|
2555
|
+
h: number;
|
|
2556
|
+
w: number;
|
|
2557
|
+
}[];
|
|
2558
|
+
};
|
|
2559
|
+
medium: {
|
|
2560
|
+
faces: {
|
|
2561
|
+
x: number;
|
|
2562
|
+
y: number;
|
|
2563
|
+
h: number;
|
|
2564
|
+
w: number;
|
|
2565
|
+
}[];
|
|
2566
|
+
};
|
|
2567
|
+
small: {
|
|
2568
|
+
faces: {
|
|
2569
|
+
x: number;
|
|
2570
|
+
y: number;
|
|
2571
|
+
h: number;
|
|
2572
|
+
w: number;
|
|
2573
|
+
}[];
|
|
2574
|
+
};
|
|
2575
|
+
orig: {
|
|
2576
|
+
faces: {
|
|
2577
|
+
x: number;
|
|
2578
|
+
y: number;
|
|
2579
|
+
h: number;
|
|
2580
|
+
w: number;
|
|
2581
|
+
}[];
|
|
2582
|
+
};
|
|
2583
|
+
};
|
|
2584
|
+
sizes: {
|
|
2585
|
+
large: {
|
|
2586
|
+
h: number;
|
|
2587
|
+
w: number;
|
|
2588
|
+
resize: string;
|
|
2589
|
+
};
|
|
2590
|
+
medium: {
|
|
2591
|
+
h: number;
|
|
2592
|
+
w: number;
|
|
2593
|
+
resize: string;
|
|
2594
|
+
};
|
|
2595
|
+
small: {
|
|
2596
|
+
h: number;
|
|
2597
|
+
w: number;
|
|
2598
|
+
resize: string;
|
|
2599
|
+
};
|
|
2600
|
+
thumb: {
|
|
2601
|
+
h: number;
|
|
2602
|
+
w: number;
|
|
2603
|
+
resize: string;
|
|
2604
|
+
};
|
|
2605
|
+
};
|
|
2606
|
+
original_info: {
|
|
2607
|
+
height: number;
|
|
2608
|
+
width: number;
|
|
2609
|
+
focus_rects: {
|
|
2610
|
+
x: number;
|
|
2611
|
+
y: number;
|
|
2612
|
+
w: number;
|
|
2613
|
+
h: number;
|
|
2614
|
+
}[];
|
|
2615
|
+
};
|
|
2616
|
+
}[];
|
|
2617
|
+
};
|
|
2618
|
+
favorite_count: number;
|
|
2619
|
+
favorited: boolean;
|
|
2620
|
+
full_text: string;
|
|
2621
|
+
is_quote_status: boolean;
|
|
2622
|
+
lang: string;
|
|
2623
|
+
possibly_sensitive?: boolean;
|
|
2624
|
+
possibly_sensitive_editable?: boolean;
|
|
2625
|
+
quote_count: number;
|
|
2626
|
+
reply_count: number;
|
|
2627
|
+
retweet_count: number;
|
|
2628
|
+
retweeted: boolean;
|
|
2629
|
+
user_id_str: string;
|
|
2630
|
+
id_str: string;
|
|
2631
|
+
in_reply_to_screen_name?: string;
|
|
2632
|
+
in_reply_to_status_id_str?: string;
|
|
2633
|
+
in_reply_to_user_id_str?: string;
|
|
2634
|
+
};
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
2637
|
+
tweetDisplayType: string;
|
|
2638
|
+
socialContext?: {
|
|
2639
|
+
type: string;
|
|
2640
|
+
contextType: string;
|
|
2641
|
+
text: string;
|
|
2642
|
+
landingUrl: {
|
|
2643
|
+
url: string;
|
|
2644
|
+
urlType: string;
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
feedbackInfo: {
|
|
2649
|
+
feedbackKeys: string[];
|
|
2650
|
+
feedbackMetadata: string;
|
|
2651
|
+
};
|
|
2652
|
+
clientEventInfo: {
|
|
2653
|
+
component: string;
|
|
2654
|
+
element: string;
|
|
2655
|
+
details: {
|
|
2656
|
+
timelinesDetails: {
|
|
2657
|
+
injectionType: string;
|
|
2658
|
+
controllerData: string;
|
|
2659
|
+
};
|
|
2660
|
+
};
|
|
2661
|
+
};
|
|
2662
|
+
};
|
|
2663
|
+
}[];
|
|
2664
|
+
metadata?: {
|
|
2665
|
+
conversationMetadata: {
|
|
2666
|
+
allTweetIds: string[];
|
|
2667
|
+
enableDeduplication: boolean;
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
displayType?: string;
|
|
2084
2671
|
};
|
|
2085
2672
|
}[];
|
|
2086
2673
|
clientEventInfo?: {
|
|
@@ -2143,12 +2730,24 @@ export interface GraphQLGetHomeTimelineSuccessResponse {
|
|
|
2143
2730
|
key: string;
|
|
2144
2731
|
value: {
|
|
2145
2732
|
feedbackType: string;
|
|
2146
|
-
prompt
|
|
2147
|
-
confirmation
|
|
2148
|
-
feedbackUrl
|
|
2733
|
+
prompt?: string;
|
|
2734
|
+
confirmation?: string;
|
|
2735
|
+
feedbackUrl?: string;
|
|
2149
2736
|
hasUndoAction: boolean;
|
|
2150
2737
|
childKeys?: string[];
|
|
2151
2738
|
icon?: string;
|
|
2739
|
+
richBehavior?: {
|
|
2740
|
+
type: string;
|
|
2741
|
+
topic: {
|
|
2742
|
+
description: string;
|
|
2743
|
+
following: boolean;
|
|
2744
|
+
icon_url: string;
|
|
2745
|
+
id: string;
|
|
2746
|
+
topic_id: string;
|
|
2747
|
+
name: string;
|
|
2748
|
+
not_interested: boolean;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2152
2751
|
};
|
|
2153
2752
|
}[];
|
|
2154
2753
|
};
|