@llun/activities.schema 0.2.23 → 0.2.25
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/cjs/mastodon/account.js +0 -3
- package/dist/cjs/mastodon/mediaAttachment/base.js +1 -1
- package/dist/esm/mastodon/account.js +0 -3
- package/dist/esm/mastodon/mediaAttachment/base.js +1 -1
- package/dist/types/mastodon/account.d.ts +0 -8
- package/dist/types/mastodon/mediaAttachment/audio.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/base.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/gifv.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/image.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/index.d.ts +30 -30
- package/dist/types/mastodon/mediaAttachment/unknown.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/video.d.ts +3 -3
- package/dist/types/mastodon/status/base.d.ts +27 -39
- package/dist/types/mastodon/status/index.d.ts +66 -94
- package/package.json +1 -1
- package/src/mastodon/account.ts +0 -3
- package/src/mastodon/mediaAttachment/base.ts +1 -1
|
@@ -7,7 +7,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
7
7
|
username: z.ZodString;
|
|
8
8
|
acct: z.ZodString;
|
|
9
9
|
url: z.ZodString;
|
|
10
|
-
uri: z.ZodString;
|
|
11
10
|
display_name: z.ZodString;
|
|
12
11
|
note: z.ZodString;
|
|
13
12
|
avatar: z.ZodString;
|
|
@@ -106,7 +105,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
106
105
|
username: z.ZodString;
|
|
107
106
|
acct: z.ZodString;
|
|
108
107
|
url: z.ZodString;
|
|
109
|
-
uri: z.ZodString;
|
|
110
108
|
display_name: z.ZodString;
|
|
111
109
|
note: z.ZodString;
|
|
112
110
|
avatar: z.ZodString;
|
|
@@ -210,7 +208,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
210
208
|
}[];
|
|
211
209
|
username: string;
|
|
212
210
|
acct: string;
|
|
213
|
-
uri: string;
|
|
214
211
|
display_name: string;
|
|
215
212
|
avatar: string;
|
|
216
213
|
avatar_static: string;
|
|
@@ -258,7 +255,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
258
255
|
}[];
|
|
259
256
|
username: string;
|
|
260
257
|
acct: string;
|
|
261
|
-
uri: string;
|
|
262
258
|
display_name: string;
|
|
263
259
|
avatar: string;
|
|
264
260
|
avatar_static: string;
|
|
@@ -307,7 +303,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
307
303
|
}[];
|
|
308
304
|
username: string;
|
|
309
305
|
acct: string;
|
|
310
|
-
uri: string;
|
|
311
306
|
display_name: string;
|
|
312
307
|
avatar: string;
|
|
313
308
|
avatar_static: string;
|
|
@@ -355,7 +350,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
355
350
|
}[];
|
|
356
351
|
username: string;
|
|
357
352
|
acct: string;
|
|
358
|
-
uri: string;
|
|
359
353
|
display_name: string;
|
|
360
354
|
avatar: string;
|
|
361
355
|
avatar_static: string;
|
|
@@ -404,7 +398,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
404
398
|
}[];
|
|
405
399
|
username: string;
|
|
406
400
|
acct: string;
|
|
407
|
-
uri: string;
|
|
408
401
|
display_name: string;
|
|
409
402
|
avatar: string;
|
|
410
403
|
avatar_static: string;
|
|
@@ -452,7 +445,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
452
445
|
}[];
|
|
453
446
|
username: string;
|
|
454
447
|
acct: string;
|
|
455
|
-
uri: string;
|
|
456
448
|
display_name: string;
|
|
457
449
|
avatar: string;
|
|
458
450
|
avatar_static: string;
|
|
@@ -501,7 +493,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
501
493
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
502
494
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
503
495
|
description: z.ZodNullable<z.ZodString>;
|
|
504
|
-
|
|
496
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
505
497
|
}, {
|
|
506
498
|
type: z.ZodLiteral<"image">;
|
|
507
499
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -587,9 +579,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
587
579
|
type: "image";
|
|
588
580
|
description: string | null;
|
|
589
581
|
url: string;
|
|
582
|
+
blurhash: string | null;
|
|
590
583
|
preview_url: string | null;
|
|
591
584
|
remote_url: string | null;
|
|
592
|
-
bluehash: string | null;
|
|
593
585
|
meta?: {
|
|
594
586
|
original: {
|
|
595
587
|
width: number;
|
|
@@ -613,9 +605,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
613
605
|
type: "image";
|
|
614
606
|
description: string | null;
|
|
615
607
|
url: string;
|
|
608
|
+
blurhash: string | null;
|
|
616
609
|
preview_url: string | null;
|
|
617
610
|
remote_url: string | null;
|
|
618
|
-
bluehash: string | null;
|
|
619
611
|
meta?: {
|
|
620
612
|
original: {
|
|
621
613
|
width: number;
|
|
@@ -640,7 +632,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
640
632
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
641
633
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
642
634
|
description: z.ZodNullable<z.ZodString>;
|
|
643
|
-
|
|
635
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
644
636
|
}, {
|
|
645
637
|
type: z.ZodLiteral<"gifv">;
|
|
646
638
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -734,9 +726,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
734
726
|
type: "gifv";
|
|
735
727
|
description: string | null;
|
|
736
728
|
url: string;
|
|
729
|
+
blurhash: string | null;
|
|
737
730
|
preview_url: string | null;
|
|
738
731
|
remote_url: string | null;
|
|
739
|
-
bluehash: string | null;
|
|
740
732
|
meta?: {
|
|
741
733
|
width: number;
|
|
742
734
|
height: number;
|
|
@@ -764,9 +756,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
764
756
|
type: "gifv";
|
|
765
757
|
description: string | null;
|
|
766
758
|
url: string;
|
|
759
|
+
blurhash: string | null;
|
|
767
760
|
preview_url: string | null;
|
|
768
761
|
remote_url: string | null;
|
|
769
|
-
bluehash: string | null;
|
|
770
762
|
meta?: {
|
|
771
763
|
width: number;
|
|
772
764
|
height: number;
|
|
@@ -795,7 +787,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
795
787
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
796
788
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
797
789
|
description: z.ZodNullable<z.ZodString>;
|
|
798
|
-
|
|
790
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
799
791
|
}, {
|
|
800
792
|
type: z.ZodLiteral<"video">;
|
|
801
793
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -898,9 +890,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
898
890
|
type: "video";
|
|
899
891
|
description: string | null;
|
|
900
892
|
url: string;
|
|
893
|
+
blurhash: string | null;
|
|
901
894
|
preview_url: string | null;
|
|
902
895
|
remote_url: string | null;
|
|
903
|
-
bluehash: string | null;
|
|
904
896
|
meta?: {
|
|
905
897
|
width: number;
|
|
906
898
|
height: number;
|
|
@@ -931,9 +923,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
931
923
|
type: "video";
|
|
932
924
|
description: string | null;
|
|
933
925
|
url: string;
|
|
926
|
+
blurhash: string | null;
|
|
934
927
|
preview_url: string | null;
|
|
935
928
|
remote_url: string | null;
|
|
936
|
-
bluehash: string | null;
|
|
937
929
|
meta?: {
|
|
938
930
|
width: number;
|
|
939
931
|
height: number;
|
|
@@ -965,7 +957,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
965
957
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
966
958
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
967
959
|
description: z.ZodNullable<z.ZodString>;
|
|
968
|
-
|
|
960
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
969
961
|
}, {
|
|
970
962
|
type: z.ZodLiteral<"audio">;
|
|
971
963
|
meta: z.ZodObject<{
|
|
@@ -1010,9 +1002,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1010
1002
|
type: "audio";
|
|
1011
1003
|
description: string | null;
|
|
1012
1004
|
url: string;
|
|
1005
|
+
blurhash: string | null;
|
|
1013
1006
|
preview_url: string | null;
|
|
1014
1007
|
remote_url: string | null;
|
|
1015
|
-
bluehash: string | null;
|
|
1016
1008
|
meta: {
|
|
1017
1009
|
length: string;
|
|
1018
1010
|
duration: number;
|
|
@@ -1029,9 +1021,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1029
1021
|
type: "audio";
|
|
1030
1022
|
description: string | null;
|
|
1031
1023
|
url: string;
|
|
1024
|
+
blurhash: string | null;
|
|
1032
1025
|
preview_url: string | null;
|
|
1033
1026
|
remote_url: string | null;
|
|
1034
|
-
bluehash: string | null;
|
|
1035
1027
|
meta: {
|
|
1036
1028
|
length: string;
|
|
1037
1029
|
duration: number;
|
|
@@ -1049,7 +1041,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1049
1041
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
1050
1042
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
1051
1043
|
description: z.ZodNullable<z.ZodString>;
|
|
1052
|
-
|
|
1044
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
1053
1045
|
}, {
|
|
1054
1046
|
type: z.ZodLiteral<"unknown">;
|
|
1055
1047
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1057,17 +1049,17 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1057
1049
|
type: "unknown";
|
|
1058
1050
|
description: string | null;
|
|
1059
1051
|
url: string;
|
|
1052
|
+
blurhash: string | null;
|
|
1060
1053
|
preview_url: string | null;
|
|
1061
1054
|
remote_url: string | null;
|
|
1062
|
-
bluehash: string | null;
|
|
1063
1055
|
}, {
|
|
1064
1056
|
id: string;
|
|
1065
1057
|
type: "unknown";
|
|
1066
1058
|
description: string | null;
|
|
1067
1059
|
url: string;
|
|
1060
|
+
blurhash: string | null;
|
|
1068
1061
|
preview_url: string | null;
|
|
1069
1062
|
remote_url: string | null;
|
|
1070
|
-
bluehash: string | null;
|
|
1071
1063
|
}>]>, "many">;
|
|
1072
1064
|
application: z.ZodOptional<z.ZodObject<{
|
|
1073
1065
|
name: z.ZodString;
|
|
@@ -1346,7 +1338,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1346
1338
|
content: string;
|
|
1347
1339
|
sensitive: boolean;
|
|
1348
1340
|
language: string | null;
|
|
1349
|
-
uri: string;
|
|
1350
1341
|
emojis: {
|
|
1351
1342
|
url: string;
|
|
1352
1343
|
shortcode: string;
|
|
@@ -1366,7 +1357,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1366
1357
|
}[];
|
|
1367
1358
|
username: string;
|
|
1368
1359
|
acct: string;
|
|
1369
|
-
uri: string;
|
|
1370
1360
|
display_name: string;
|
|
1371
1361
|
avatar: string;
|
|
1372
1362
|
avatar_static: string;
|
|
@@ -1414,7 +1404,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1414
1404
|
}[];
|
|
1415
1405
|
username: string;
|
|
1416
1406
|
acct: string;
|
|
1417
|
-
uri: string;
|
|
1418
1407
|
display_name: string;
|
|
1419
1408
|
avatar: string;
|
|
1420
1409
|
avatar_static: string;
|
|
@@ -1453,6 +1442,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1453
1442
|
limited?: boolean | undefined;
|
|
1454
1443
|
} | null | undefined;
|
|
1455
1444
|
};
|
|
1445
|
+
uri: string;
|
|
1456
1446
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
1457
1447
|
spoiler_text: string;
|
|
1458
1448
|
media_attachments: ({
|
|
@@ -1460,9 +1450,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1460
1450
|
type: "gifv";
|
|
1461
1451
|
description: string | null;
|
|
1462
1452
|
url: string;
|
|
1453
|
+
blurhash: string | null;
|
|
1463
1454
|
preview_url: string | null;
|
|
1464
1455
|
remote_url: string | null;
|
|
1465
|
-
bluehash: string | null;
|
|
1466
1456
|
meta?: {
|
|
1467
1457
|
width: number;
|
|
1468
1458
|
height: number;
|
|
@@ -1490,9 +1480,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1490
1480
|
type: "image";
|
|
1491
1481
|
description: string | null;
|
|
1492
1482
|
url: string;
|
|
1483
|
+
blurhash: string | null;
|
|
1493
1484
|
preview_url: string | null;
|
|
1494
1485
|
remote_url: string | null;
|
|
1495
|
-
bluehash: string | null;
|
|
1496
1486
|
meta?: {
|
|
1497
1487
|
original: {
|
|
1498
1488
|
width: number;
|
|
@@ -1516,9 +1506,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1516
1506
|
type: "video";
|
|
1517
1507
|
description: string | null;
|
|
1518
1508
|
url: string;
|
|
1509
|
+
blurhash: string | null;
|
|
1519
1510
|
preview_url: string | null;
|
|
1520
1511
|
remote_url: string | null;
|
|
1521
|
-
bluehash: string | null;
|
|
1522
1512
|
meta?: {
|
|
1523
1513
|
width: number;
|
|
1524
1514
|
height: number;
|
|
@@ -1549,9 +1539,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1549
1539
|
type: "audio";
|
|
1550
1540
|
description: string | null;
|
|
1551
1541
|
url: string;
|
|
1542
|
+
blurhash: string | null;
|
|
1552
1543
|
preview_url: string | null;
|
|
1553
1544
|
remote_url: string | null;
|
|
1554
|
-
bluehash: string | null;
|
|
1555
1545
|
meta: {
|
|
1556
1546
|
length: string;
|
|
1557
1547
|
duration: number;
|
|
@@ -1568,9 +1558,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1568
1558
|
type: "unknown";
|
|
1569
1559
|
description: string | null;
|
|
1570
1560
|
url: string;
|
|
1561
|
+
blurhash: string | null;
|
|
1571
1562
|
preview_url: string | null;
|
|
1572
1563
|
remote_url: string | null;
|
|
1573
|
-
bluehash: string | null;
|
|
1574
1564
|
})[];
|
|
1575
1565
|
reblogs_count: number;
|
|
1576
1566
|
favourites_count: number;
|
|
@@ -1651,7 +1641,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1651
1641
|
content: string;
|
|
1652
1642
|
sensitive: boolean;
|
|
1653
1643
|
language: string | null;
|
|
1654
|
-
uri: string;
|
|
1655
1644
|
emojis: {
|
|
1656
1645
|
url: string;
|
|
1657
1646
|
shortcode: string;
|
|
@@ -1671,7 +1660,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1671
1660
|
}[];
|
|
1672
1661
|
username: string;
|
|
1673
1662
|
acct: string;
|
|
1674
|
-
uri: string;
|
|
1675
1663
|
display_name: string;
|
|
1676
1664
|
avatar: string;
|
|
1677
1665
|
avatar_static: string;
|
|
@@ -1719,7 +1707,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1719
1707
|
}[];
|
|
1720
1708
|
username: string;
|
|
1721
1709
|
acct: string;
|
|
1722
|
-
uri: string;
|
|
1723
1710
|
display_name: string;
|
|
1724
1711
|
avatar: string;
|
|
1725
1712
|
avatar_static: string;
|
|
@@ -1758,6 +1745,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1758
1745
|
limited?: boolean | undefined;
|
|
1759
1746
|
} | null | undefined;
|
|
1760
1747
|
};
|
|
1748
|
+
uri: string;
|
|
1761
1749
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
1762
1750
|
spoiler_text: string;
|
|
1763
1751
|
media_attachments: ({
|
|
@@ -1765,9 +1753,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1765
1753
|
type: "gifv";
|
|
1766
1754
|
description: string | null;
|
|
1767
1755
|
url: string;
|
|
1756
|
+
blurhash: string | null;
|
|
1768
1757
|
preview_url: string | null;
|
|
1769
1758
|
remote_url: string | null;
|
|
1770
|
-
bluehash: string | null;
|
|
1771
1759
|
meta?: {
|
|
1772
1760
|
width: number;
|
|
1773
1761
|
height: number;
|
|
@@ -1795,9 +1783,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1795
1783
|
type: "image";
|
|
1796
1784
|
description: string | null;
|
|
1797
1785
|
url: string;
|
|
1786
|
+
blurhash: string | null;
|
|
1798
1787
|
preview_url: string | null;
|
|
1799
1788
|
remote_url: string | null;
|
|
1800
|
-
bluehash: string | null;
|
|
1801
1789
|
meta?: {
|
|
1802
1790
|
original: {
|
|
1803
1791
|
width: number;
|
|
@@ -1821,9 +1809,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1821
1809
|
type: "video";
|
|
1822
1810
|
description: string | null;
|
|
1823
1811
|
url: string;
|
|
1812
|
+
blurhash: string | null;
|
|
1824
1813
|
preview_url: string | null;
|
|
1825
1814
|
remote_url: string | null;
|
|
1826
|
-
bluehash: string | null;
|
|
1827
1815
|
meta?: {
|
|
1828
1816
|
width: number;
|
|
1829
1817
|
height: number;
|
|
@@ -1854,9 +1842,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1854
1842
|
type: "audio";
|
|
1855
1843
|
description: string | null;
|
|
1856
1844
|
url: string;
|
|
1845
|
+
blurhash: string | null;
|
|
1857
1846
|
preview_url: string | null;
|
|
1858
1847
|
remote_url: string | null;
|
|
1859
|
-
bluehash: string | null;
|
|
1860
1848
|
meta: {
|
|
1861
1849
|
length: string;
|
|
1862
1850
|
duration: number;
|
|
@@ -1873,9 +1861,9 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1873
1861
|
type: "unknown";
|
|
1874
1862
|
description: string | null;
|
|
1875
1863
|
url: string;
|
|
1864
|
+
blurhash: string | null;
|
|
1876
1865
|
preview_url: string | null;
|
|
1877
1866
|
remote_url: string | null;
|
|
1878
|
-
bluehash: string | null;
|
|
1879
1867
|
})[];
|
|
1880
1868
|
reblogs_count: number;
|
|
1881
1869
|
favourites_count: number;
|