@llun/activities.schema 0.2.30 → 0.2.32
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/{person.js → actor.js} +8 -5
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/mastodon/status/base.js +4 -0
- package/dist/esm/{person.js → actor.js} +7 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/mastodon/status/base.js +4 -0
- package/dist/types/actor.d.ts +370 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/like.d.ts +28 -28
- package/dist/types/mastodon/mediaAttachment/audio.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/base.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/gifv.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/image.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/index.d.ts +20 -20
- package/dist/types/mastodon/mediaAttachment/unknown.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/video.d.ts +2 -2
- package/dist/types/mastodon/previewCard.d.ts +4 -4
- package/dist/types/mastodon/status/base.d.ts +74 -28
- package/dist/types/mastodon/status/index.d.ts +182 -70
- package/dist/types/note/attachment.d.ts +2 -2
- package/dist/types/note/baseContent.d.ts +18 -18
- package/dist/types/note/document.d.ts +2 -2
- package/dist/types/note/emoji.d.ts +2 -2
- package/dist/types/note/tag.d.ts +2 -2
- package/dist/types/note.d.ts +18 -18
- package/dist/types/question.d.ts +18 -18
- package/dist/types/undo.d.ts +38 -38
- package/package.json +1 -1
- package/src/{person.ts → actor.ts} +11 -4
- package/src/index.ts +1 -1
- package/src/mastodon/status/base.ts +7 -0
- package/dist/types/person.d.ts +0 -121
|
@@ -577,8 +577,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
577
577
|
}>, "strip", z.ZodTypeAny, {
|
|
578
578
|
id: string;
|
|
579
579
|
type: "image";
|
|
580
|
-
description: string | null;
|
|
581
580
|
url: string;
|
|
581
|
+
description: string | null;
|
|
582
582
|
blurhash: string | null;
|
|
583
583
|
preview_url: string | null;
|
|
584
584
|
remote_url: string | null;
|
|
@@ -603,8 +603,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
603
603
|
}, {
|
|
604
604
|
id: string;
|
|
605
605
|
type: "image";
|
|
606
|
-
description: string | null;
|
|
607
606
|
url: string;
|
|
607
|
+
description: string | null;
|
|
608
608
|
blurhash: string | null;
|
|
609
609
|
preview_url: string | null;
|
|
610
610
|
remote_url: string | null;
|
|
@@ -724,8 +724,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
724
724
|
}>, "strip", z.ZodTypeAny, {
|
|
725
725
|
id: string;
|
|
726
726
|
type: "gifv";
|
|
727
|
-
description: string | null;
|
|
728
727
|
url: string;
|
|
728
|
+
description: string | null;
|
|
729
729
|
blurhash: string | null;
|
|
730
730
|
preview_url: string | null;
|
|
731
731
|
remote_url: string | null;
|
|
@@ -754,8 +754,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
754
754
|
}, {
|
|
755
755
|
id: string;
|
|
756
756
|
type: "gifv";
|
|
757
|
-
description: string | null;
|
|
758
757
|
url: string;
|
|
758
|
+
description: string | null;
|
|
759
759
|
blurhash: string | null;
|
|
760
760
|
preview_url: string | null;
|
|
761
761
|
remote_url: string | null;
|
|
@@ -888,8 +888,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
888
888
|
}>, "strip", z.ZodTypeAny, {
|
|
889
889
|
id: string;
|
|
890
890
|
type: "video";
|
|
891
|
-
description: string | null;
|
|
892
891
|
url: string;
|
|
892
|
+
description: string | null;
|
|
893
893
|
blurhash: string | null;
|
|
894
894
|
preview_url: string | null;
|
|
895
895
|
remote_url: string | null;
|
|
@@ -921,8 +921,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
921
921
|
}, {
|
|
922
922
|
id: string;
|
|
923
923
|
type: "video";
|
|
924
|
-
description: string | null;
|
|
925
924
|
url: string;
|
|
925
|
+
description: string | null;
|
|
926
926
|
blurhash: string | null;
|
|
927
927
|
preview_url: string | null;
|
|
928
928
|
remote_url: string | null;
|
|
@@ -1000,8 +1000,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1000
1000
|
}>, "strip", z.ZodTypeAny, {
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
type: "audio";
|
|
1003
|
-
description: string | null;
|
|
1004
1003
|
url: string;
|
|
1004
|
+
description: string | null;
|
|
1005
1005
|
blurhash: string | null;
|
|
1006
1006
|
preview_url: string | null;
|
|
1007
1007
|
remote_url: string | null;
|
|
@@ -1019,8 +1019,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1019
1019
|
}, {
|
|
1020
1020
|
id: string;
|
|
1021
1021
|
type: "audio";
|
|
1022
|
-
description: string | null;
|
|
1023
1022
|
url: string;
|
|
1023
|
+
description: string | null;
|
|
1024
1024
|
blurhash: string | null;
|
|
1025
1025
|
preview_url: string | null;
|
|
1026
1026
|
remote_url: string | null;
|
|
@@ -1047,16 +1047,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1047
1047
|
}>, "strip", z.ZodTypeAny, {
|
|
1048
1048
|
id: string;
|
|
1049
1049
|
type: "unknown";
|
|
1050
|
-
description: string | null;
|
|
1051
1050
|
url: string;
|
|
1051
|
+
description: string | null;
|
|
1052
1052
|
blurhash: string | null;
|
|
1053
1053
|
preview_url: string | null;
|
|
1054
1054
|
remote_url: string | null;
|
|
1055
1055
|
}, {
|
|
1056
1056
|
id: string;
|
|
1057
1057
|
type: "unknown";
|
|
1058
|
-
description: string | null;
|
|
1059
1058
|
url: string;
|
|
1059
|
+
description: string | null;
|
|
1060
1060
|
blurhash: string | null;
|
|
1061
1061
|
preview_url: string | null;
|
|
1062
1062
|
remote_url: string | null;
|
|
@@ -1090,6 +1090,32 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1090
1090
|
visible_in_picker: boolean;
|
|
1091
1091
|
category: string | null;
|
|
1092
1092
|
}>, "many">;
|
|
1093
|
+
mentions: z.ZodArray<z.ZodObject<{
|
|
1094
|
+
id: z.ZodString;
|
|
1095
|
+
username: z.ZodString;
|
|
1096
|
+
url: z.ZodString;
|
|
1097
|
+
acct: z.ZodString;
|
|
1098
|
+
}, "strip", z.ZodTypeAny, {
|
|
1099
|
+
id: string;
|
|
1100
|
+
url: string;
|
|
1101
|
+
username: string;
|
|
1102
|
+
acct: string;
|
|
1103
|
+
}, {
|
|
1104
|
+
id: string;
|
|
1105
|
+
url: string;
|
|
1106
|
+
username: string;
|
|
1107
|
+
acct: string;
|
|
1108
|
+
}>, "many">;
|
|
1109
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1110
|
+
name: z.ZodString;
|
|
1111
|
+
url: z.ZodString;
|
|
1112
|
+
}, "strip", z.ZodTypeAny, {
|
|
1113
|
+
url: string;
|
|
1114
|
+
name: string;
|
|
1115
|
+
}, {
|
|
1116
|
+
url: string;
|
|
1117
|
+
name: string;
|
|
1118
|
+
}>, "many">;
|
|
1093
1119
|
reblogs_count: z.ZodNumber;
|
|
1094
1120
|
favourites_count: z.ZodNumber;
|
|
1095
1121
|
replies_count: z.ZodNumber;
|
|
@@ -1192,12 +1218,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1192
1218
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
1193
1219
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1220
|
type: "link" | "photo" | "video" | "rich";
|
|
1195
|
-
description: string;
|
|
1196
1221
|
url: string;
|
|
1222
|
+
image: string | null;
|
|
1223
|
+
description: string;
|
|
1197
1224
|
blurhash: string | null;
|
|
1198
1225
|
width: number;
|
|
1199
1226
|
height: number;
|
|
1200
|
-
image: string | null;
|
|
1201
1227
|
title: string;
|
|
1202
1228
|
author_name: string;
|
|
1203
1229
|
author_url: string;
|
|
@@ -1207,12 +1233,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1207
1233
|
embed_url: string;
|
|
1208
1234
|
}, {
|
|
1209
1235
|
type: "link" | "photo" | "video" | "rich";
|
|
1210
|
-
description: string;
|
|
1211
1236
|
url: string;
|
|
1237
|
+
image: string | null;
|
|
1238
|
+
description: string;
|
|
1212
1239
|
blurhash: string | null;
|
|
1213
1240
|
width: number;
|
|
1214
1241
|
height: number;
|
|
1215
|
-
image: string | null;
|
|
1216
1242
|
title: string;
|
|
1217
1243
|
author_name: string;
|
|
1218
1244
|
author_url: string;
|
|
@@ -1448,8 +1474,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1448
1474
|
media_attachments: ({
|
|
1449
1475
|
id: string;
|
|
1450
1476
|
type: "gifv";
|
|
1451
|
-
description: string | null;
|
|
1452
1477
|
url: string;
|
|
1478
|
+
description: string | null;
|
|
1453
1479
|
blurhash: string | null;
|
|
1454
1480
|
preview_url: string | null;
|
|
1455
1481
|
remote_url: string | null;
|
|
@@ -1478,8 +1504,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1478
1504
|
} | {
|
|
1479
1505
|
id: string;
|
|
1480
1506
|
type: "image";
|
|
1481
|
-
description: string | null;
|
|
1482
1507
|
url: string;
|
|
1508
|
+
description: string | null;
|
|
1483
1509
|
blurhash: string | null;
|
|
1484
1510
|
preview_url: string | null;
|
|
1485
1511
|
remote_url: string | null;
|
|
@@ -1504,8 +1530,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1504
1530
|
} | {
|
|
1505
1531
|
id: string;
|
|
1506
1532
|
type: "video";
|
|
1507
|
-
description: string | null;
|
|
1508
1533
|
url: string;
|
|
1534
|
+
description: string | null;
|
|
1509
1535
|
blurhash: string | null;
|
|
1510
1536
|
preview_url: string | null;
|
|
1511
1537
|
remote_url: string | null;
|
|
@@ -1537,8 +1563,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1537
1563
|
} | {
|
|
1538
1564
|
id: string;
|
|
1539
1565
|
type: "audio";
|
|
1540
|
-
description: string | null;
|
|
1541
1566
|
url: string;
|
|
1567
|
+
description: string | null;
|
|
1542
1568
|
blurhash: string | null;
|
|
1543
1569
|
preview_url: string | null;
|
|
1544
1570
|
remote_url: string | null;
|
|
@@ -1556,12 +1582,22 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1556
1582
|
} | {
|
|
1557
1583
|
id: string;
|
|
1558
1584
|
type: "unknown";
|
|
1559
|
-
description: string | null;
|
|
1560
1585
|
url: string;
|
|
1586
|
+
description: string | null;
|
|
1561
1587
|
blurhash: string | null;
|
|
1562
1588
|
preview_url: string | null;
|
|
1563
1589
|
remote_url: string | null;
|
|
1564
1590
|
})[];
|
|
1591
|
+
mentions: {
|
|
1592
|
+
id: string;
|
|
1593
|
+
url: string;
|
|
1594
|
+
username: string;
|
|
1595
|
+
acct: string;
|
|
1596
|
+
}[];
|
|
1597
|
+
tags: {
|
|
1598
|
+
url: string;
|
|
1599
|
+
name: string;
|
|
1600
|
+
}[];
|
|
1565
1601
|
reblogs_count: number;
|
|
1566
1602
|
favourites_count: number;
|
|
1567
1603
|
replies_count: number;
|
|
@@ -1590,12 +1626,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1590
1626
|
} | null;
|
|
1591
1627
|
card: {
|
|
1592
1628
|
type: "link" | "photo" | "video" | "rich";
|
|
1593
|
-
description: string;
|
|
1594
1629
|
url: string;
|
|
1630
|
+
image: string | null;
|
|
1631
|
+
description: string;
|
|
1595
1632
|
blurhash: string | null;
|
|
1596
1633
|
width: number;
|
|
1597
1634
|
height: number;
|
|
1598
|
-
image: string | null;
|
|
1599
1635
|
title: string;
|
|
1600
1636
|
author_name: string;
|
|
1601
1637
|
author_url: string;
|
|
@@ -1751,8 +1787,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1751
1787
|
media_attachments: ({
|
|
1752
1788
|
id: string;
|
|
1753
1789
|
type: "gifv";
|
|
1754
|
-
description: string | null;
|
|
1755
1790
|
url: string;
|
|
1791
|
+
description: string | null;
|
|
1756
1792
|
blurhash: string | null;
|
|
1757
1793
|
preview_url: string | null;
|
|
1758
1794
|
remote_url: string | null;
|
|
@@ -1781,8 +1817,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1781
1817
|
} | {
|
|
1782
1818
|
id: string;
|
|
1783
1819
|
type: "image";
|
|
1784
|
-
description: string | null;
|
|
1785
1820
|
url: string;
|
|
1821
|
+
description: string | null;
|
|
1786
1822
|
blurhash: string | null;
|
|
1787
1823
|
preview_url: string | null;
|
|
1788
1824
|
remote_url: string | null;
|
|
@@ -1807,8 +1843,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1807
1843
|
} | {
|
|
1808
1844
|
id: string;
|
|
1809
1845
|
type: "video";
|
|
1810
|
-
description: string | null;
|
|
1811
1846
|
url: string;
|
|
1847
|
+
description: string | null;
|
|
1812
1848
|
blurhash: string | null;
|
|
1813
1849
|
preview_url: string | null;
|
|
1814
1850
|
remote_url: string | null;
|
|
@@ -1840,8 +1876,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1840
1876
|
} | {
|
|
1841
1877
|
id: string;
|
|
1842
1878
|
type: "audio";
|
|
1843
|
-
description: string | null;
|
|
1844
1879
|
url: string;
|
|
1880
|
+
description: string | null;
|
|
1845
1881
|
blurhash: string | null;
|
|
1846
1882
|
preview_url: string | null;
|
|
1847
1883
|
remote_url: string | null;
|
|
@@ -1859,12 +1895,22 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1859
1895
|
} | {
|
|
1860
1896
|
id: string;
|
|
1861
1897
|
type: "unknown";
|
|
1862
|
-
description: string | null;
|
|
1863
1898
|
url: string;
|
|
1899
|
+
description: string | null;
|
|
1864
1900
|
blurhash: string | null;
|
|
1865
1901
|
preview_url: string | null;
|
|
1866
1902
|
remote_url: string | null;
|
|
1867
1903
|
})[];
|
|
1904
|
+
mentions: {
|
|
1905
|
+
id: string;
|
|
1906
|
+
url: string;
|
|
1907
|
+
username: string;
|
|
1908
|
+
acct: string;
|
|
1909
|
+
}[];
|
|
1910
|
+
tags: {
|
|
1911
|
+
url: string;
|
|
1912
|
+
name: string;
|
|
1913
|
+
}[];
|
|
1868
1914
|
reblogs_count: number;
|
|
1869
1915
|
favourites_count: number;
|
|
1870
1916
|
replies_count: number;
|
|
@@ -1893,12 +1939,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1893
1939
|
} | null;
|
|
1894
1940
|
card: {
|
|
1895
1941
|
type: "link" | "photo" | "video" | "rich";
|
|
1896
|
-
description: string;
|
|
1897
1942
|
url: string;
|
|
1943
|
+
image: string | null;
|
|
1944
|
+
description: string;
|
|
1898
1945
|
blurhash: string | null;
|
|
1899
1946
|
width: number;
|
|
1900
1947
|
height: number;
|
|
1901
|
-
image: string | null;
|
|
1902
1948
|
title: string;
|
|
1903
1949
|
author_name: string;
|
|
1904
1950
|
author_url: string;
|