@llun/activities.schema 0.2.31 → 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/esm/{person.js → actor.js} +7 -4
- package/dist/esm/index.js +1 -1
- 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 +28 -28
- package/dist/types/mastodon/status/index.d.ts +70 -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/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;
|
|
@@ -1218,12 +1218,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1218
1218
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
1219
1219
|
}, "strip", z.ZodTypeAny, {
|
|
1220
1220
|
type: "link" | "photo" | "video" | "rich";
|
|
1221
|
-
description: string;
|
|
1222
1221
|
url: string;
|
|
1222
|
+
image: string | null;
|
|
1223
|
+
description: string;
|
|
1223
1224
|
blurhash: string | null;
|
|
1224
1225
|
width: number;
|
|
1225
1226
|
height: number;
|
|
1226
|
-
image: string | null;
|
|
1227
1227
|
title: string;
|
|
1228
1228
|
author_name: string;
|
|
1229
1229
|
author_url: string;
|
|
@@ -1233,12 +1233,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1233
1233
|
embed_url: string;
|
|
1234
1234
|
}, {
|
|
1235
1235
|
type: "link" | "photo" | "video" | "rich";
|
|
1236
|
-
description: string;
|
|
1237
1236
|
url: string;
|
|
1237
|
+
image: string | null;
|
|
1238
|
+
description: string;
|
|
1238
1239
|
blurhash: string | null;
|
|
1239
1240
|
width: number;
|
|
1240
1241
|
height: number;
|
|
1241
|
-
image: string | null;
|
|
1242
1242
|
title: string;
|
|
1243
1243
|
author_name: string;
|
|
1244
1244
|
author_url: string;
|
|
@@ -1474,8 +1474,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1474
1474
|
media_attachments: ({
|
|
1475
1475
|
id: string;
|
|
1476
1476
|
type: "gifv";
|
|
1477
|
-
description: string | null;
|
|
1478
1477
|
url: string;
|
|
1478
|
+
description: string | null;
|
|
1479
1479
|
blurhash: string | null;
|
|
1480
1480
|
preview_url: string | null;
|
|
1481
1481
|
remote_url: string | null;
|
|
@@ -1504,8 +1504,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1504
1504
|
} | {
|
|
1505
1505
|
id: string;
|
|
1506
1506
|
type: "image";
|
|
1507
|
-
description: string | null;
|
|
1508
1507
|
url: string;
|
|
1508
|
+
description: string | null;
|
|
1509
1509
|
blurhash: string | null;
|
|
1510
1510
|
preview_url: string | null;
|
|
1511
1511
|
remote_url: string | null;
|
|
@@ -1530,8 +1530,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1530
1530
|
} | {
|
|
1531
1531
|
id: string;
|
|
1532
1532
|
type: "video";
|
|
1533
|
-
description: string | null;
|
|
1534
1533
|
url: string;
|
|
1534
|
+
description: string | null;
|
|
1535
1535
|
blurhash: string | null;
|
|
1536
1536
|
preview_url: string | null;
|
|
1537
1537
|
remote_url: string | null;
|
|
@@ -1563,8 +1563,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1563
1563
|
} | {
|
|
1564
1564
|
id: string;
|
|
1565
1565
|
type: "audio";
|
|
1566
|
-
description: string | null;
|
|
1567
1566
|
url: string;
|
|
1567
|
+
description: string | null;
|
|
1568
1568
|
blurhash: string | null;
|
|
1569
1569
|
preview_url: string | null;
|
|
1570
1570
|
remote_url: string | null;
|
|
@@ -1582,8 +1582,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1582
1582
|
} | {
|
|
1583
1583
|
id: string;
|
|
1584
1584
|
type: "unknown";
|
|
1585
|
-
description: string | null;
|
|
1586
1585
|
url: string;
|
|
1586
|
+
description: string | null;
|
|
1587
1587
|
blurhash: string | null;
|
|
1588
1588
|
preview_url: string | null;
|
|
1589
1589
|
remote_url: string | null;
|
|
@@ -1626,12 +1626,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1626
1626
|
} | null;
|
|
1627
1627
|
card: {
|
|
1628
1628
|
type: "link" | "photo" | "video" | "rich";
|
|
1629
|
-
description: string;
|
|
1630
1629
|
url: string;
|
|
1630
|
+
image: string | null;
|
|
1631
|
+
description: string;
|
|
1631
1632
|
blurhash: string | null;
|
|
1632
1633
|
width: number;
|
|
1633
1634
|
height: number;
|
|
1634
|
-
image: string | null;
|
|
1635
1635
|
title: string;
|
|
1636
1636
|
author_name: string;
|
|
1637
1637
|
author_url: string;
|
|
@@ -1787,8 +1787,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1787
1787
|
media_attachments: ({
|
|
1788
1788
|
id: string;
|
|
1789
1789
|
type: "gifv";
|
|
1790
|
-
description: string | null;
|
|
1791
1790
|
url: string;
|
|
1791
|
+
description: string | null;
|
|
1792
1792
|
blurhash: string | null;
|
|
1793
1793
|
preview_url: string | null;
|
|
1794
1794
|
remote_url: string | null;
|
|
@@ -1817,8 +1817,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1817
1817
|
} | {
|
|
1818
1818
|
id: string;
|
|
1819
1819
|
type: "image";
|
|
1820
|
-
description: string | null;
|
|
1821
1820
|
url: string;
|
|
1821
|
+
description: string | null;
|
|
1822
1822
|
blurhash: string | null;
|
|
1823
1823
|
preview_url: string | null;
|
|
1824
1824
|
remote_url: string | null;
|
|
@@ -1843,8 +1843,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1843
1843
|
} | {
|
|
1844
1844
|
id: string;
|
|
1845
1845
|
type: "video";
|
|
1846
|
-
description: string | null;
|
|
1847
1846
|
url: string;
|
|
1847
|
+
description: string | null;
|
|
1848
1848
|
blurhash: string | null;
|
|
1849
1849
|
preview_url: string | null;
|
|
1850
1850
|
remote_url: string | null;
|
|
@@ -1876,8 +1876,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1876
1876
|
} | {
|
|
1877
1877
|
id: string;
|
|
1878
1878
|
type: "audio";
|
|
1879
|
-
description: string | null;
|
|
1880
1879
|
url: string;
|
|
1880
|
+
description: string | null;
|
|
1881
1881
|
blurhash: string | null;
|
|
1882
1882
|
preview_url: string | null;
|
|
1883
1883
|
remote_url: string | null;
|
|
@@ -1895,8 +1895,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1895
1895
|
} | {
|
|
1896
1896
|
id: string;
|
|
1897
1897
|
type: "unknown";
|
|
1898
|
-
description: string | null;
|
|
1899
1898
|
url: string;
|
|
1899
|
+
description: string | null;
|
|
1900
1900
|
blurhash: string | null;
|
|
1901
1901
|
preview_url: string | null;
|
|
1902
1902
|
remote_url: string | null;
|
|
@@ -1939,12 +1939,12 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1939
1939
|
} | null;
|
|
1940
1940
|
card: {
|
|
1941
1941
|
type: "link" | "photo" | "video" | "rich";
|
|
1942
|
-
description: string;
|
|
1943
1942
|
url: string;
|
|
1943
|
+
image: string | null;
|
|
1944
|
+
description: string;
|
|
1944
1945
|
blurhash: string | null;
|
|
1945
1946
|
width: number;
|
|
1946
1947
|
height: number;
|
|
1947
|
-
image: string | null;
|
|
1948
1948
|
title: string;
|
|
1949
1949
|
author_name: string;
|
|
1950
1950
|
author_url: string;
|