@llun/activities.schema 0.2.1 → 0.2.3
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/.yarn/install-state.gz +0 -0
- package/dist/cjs/announce.js +13 -0
- package/dist/esm/announce.js +10 -0
- package/dist/types/announce.d.ts +27 -0
- package/dist/types/like.d.ts +12 -12
- 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 +10 -10
- 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 +2 -2
- package/dist/types/mastodon/status/base.d.ts +24 -24
- package/dist/types/mastodon/status/index.d.ts +60 -60
- package/dist/types/note/baseContent.d.ts +6 -6
- package/dist/types/note.d.ts +6 -6
- package/dist/types/undo.d.ts +18 -18
- package/package.json +4 -4
- package/src/announce.ts +13 -0
- package/tsconfig.json +3 -1
|
@@ -421,8 +421,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
421
421
|
}>, "strip", z.ZodTypeAny, {
|
|
422
422
|
id: string;
|
|
423
423
|
type: "image";
|
|
424
|
-
url: string;
|
|
425
424
|
description: string | null;
|
|
425
|
+
url: string;
|
|
426
426
|
preview_url: string;
|
|
427
427
|
remote_url: string | null;
|
|
428
428
|
bluehash: string;
|
|
@@ -447,8 +447,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
447
447
|
}, {
|
|
448
448
|
id: string;
|
|
449
449
|
type: "image";
|
|
450
|
-
url: string;
|
|
451
450
|
description: string | null;
|
|
451
|
+
url: string;
|
|
452
452
|
preview_url: string;
|
|
453
453
|
remote_url: string | null;
|
|
454
454
|
bluehash: string;
|
|
@@ -568,8 +568,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
568
568
|
}>, "strip", z.ZodTypeAny, {
|
|
569
569
|
id: string;
|
|
570
570
|
type: "gifv";
|
|
571
|
-
url: string;
|
|
572
571
|
description: string | null;
|
|
572
|
+
url: string;
|
|
573
573
|
preview_url: string;
|
|
574
574
|
remote_url: string | null;
|
|
575
575
|
bluehash: string;
|
|
@@ -598,8 +598,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
598
598
|
}, {
|
|
599
599
|
id: string;
|
|
600
600
|
type: "gifv";
|
|
601
|
-
url: string;
|
|
602
601
|
description: string | null;
|
|
602
|
+
url: string;
|
|
603
603
|
preview_url: string;
|
|
604
604
|
remote_url: string | null;
|
|
605
605
|
bluehash: string;
|
|
@@ -732,8 +732,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
732
732
|
}>, "strip", z.ZodTypeAny, {
|
|
733
733
|
id: string;
|
|
734
734
|
type: "video";
|
|
735
|
-
url: string;
|
|
736
735
|
description: string | null;
|
|
736
|
+
url: string;
|
|
737
737
|
preview_url: string;
|
|
738
738
|
remote_url: string | null;
|
|
739
739
|
bluehash: string;
|
|
@@ -765,8 +765,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
765
765
|
}, {
|
|
766
766
|
id: string;
|
|
767
767
|
type: "video";
|
|
768
|
-
url: string;
|
|
769
768
|
description: string | null;
|
|
769
|
+
url: string;
|
|
770
770
|
preview_url: string;
|
|
771
771
|
remote_url: string | null;
|
|
772
772
|
bluehash: string;
|
|
@@ -844,8 +844,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
844
844
|
}>, "strip", z.ZodTypeAny, {
|
|
845
845
|
id: string;
|
|
846
846
|
type: "audio";
|
|
847
|
-
url: string;
|
|
848
847
|
description: string | null;
|
|
848
|
+
url: string;
|
|
849
849
|
preview_url: string;
|
|
850
850
|
remote_url: string | null;
|
|
851
851
|
bluehash: string;
|
|
@@ -863,8 +863,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
863
863
|
}, {
|
|
864
864
|
id: string;
|
|
865
865
|
type: "audio";
|
|
866
|
-
url: string;
|
|
867
866
|
description: string | null;
|
|
867
|
+
url: string;
|
|
868
868
|
preview_url: string;
|
|
869
869
|
remote_url: string | null;
|
|
870
870
|
bluehash: string;
|
|
@@ -891,16 +891,16 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
891
891
|
}>, "strip", z.ZodTypeAny, {
|
|
892
892
|
id: string;
|
|
893
893
|
type: "unknown";
|
|
894
|
-
url: string;
|
|
895
894
|
description: string | null;
|
|
895
|
+
url: string;
|
|
896
896
|
preview_url: string;
|
|
897
897
|
remote_url: string | null;
|
|
898
898
|
bluehash: string;
|
|
899
899
|
}, {
|
|
900
900
|
id: string;
|
|
901
901
|
type: "unknown";
|
|
902
|
-
url: string;
|
|
903
902
|
description: string | null;
|
|
903
|
+
url: string;
|
|
904
904
|
preview_url: string;
|
|
905
905
|
remote_url: string | null;
|
|
906
906
|
bluehash: string;
|
|
@@ -1036,11 +1036,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1036
1036
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
1038
|
type: "link" | "photo" | "video" | "rich";
|
|
1039
|
+
description: string;
|
|
1039
1040
|
url: string;
|
|
1040
1041
|
blurhash: string | null;
|
|
1041
1042
|
width: number;
|
|
1042
1043
|
height: number;
|
|
1043
|
-
description: string;
|
|
1044
1044
|
title: string;
|
|
1045
1045
|
author_name: string;
|
|
1046
1046
|
author_url: string;
|
|
@@ -1051,11 +1051,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1051
1051
|
embed_url: string;
|
|
1052
1052
|
}, {
|
|
1053
1053
|
type: "link" | "photo" | "video" | "rich";
|
|
1054
|
+
description: string;
|
|
1054
1055
|
url: string;
|
|
1055
1056
|
blurhash: string | null;
|
|
1056
1057
|
width: number;
|
|
1057
1058
|
height: number;
|
|
1058
|
-
description: string;
|
|
1059
1059
|
title: string;
|
|
1060
1060
|
author_name: string;
|
|
1061
1061
|
author_url: string;
|
|
@@ -1599,8 +1599,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1599
1599
|
}>, "strip", z.ZodTypeAny, {
|
|
1600
1600
|
id: string;
|
|
1601
1601
|
type: "image";
|
|
1602
|
-
url: string;
|
|
1603
1602
|
description: string | null;
|
|
1603
|
+
url: string;
|
|
1604
1604
|
preview_url: string;
|
|
1605
1605
|
remote_url: string | null;
|
|
1606
1606
|
bluehash: string;
|
|
@@ -1625,8 +1625,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1625
1625
|
}, {
|
|
1626
1626
|
id: string;
|
|
1627
1627
|
type: "image";
|
|
1628
|
-
url: string;
|
|
1629
1628
|
description: string | null;
|
|
1629
|
+
url: string;
|
|
1630
1630
|
preview_url: string;
|
|
1631
1631
|
remote_url: string | null;
|
|
1632
1632
|
bluehash: string;
|
|
@@ -1746,8 +1746,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1746
1746
|
}>, "strip", z.ZodTypeAny, {
|
|
1747
1747
|
id: string;
|
|
1748
1748
|
type: "gifv";
|
|
1749
|
-
url: string;
|
|
1750
1749
|
description: string | null;
|
|
1750
|
+
url: string;
|
|
1751
1751
|
preview_url: string;
|
|
1752
1752
|
remote_url: string | null;
|
|
1753
1753
|
bluehash: string;
|
|
@@ -1776,8 +1776,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1776
1776
|
}, {
|
|
1777
1777
|
id: string;
|
|
1778
1778
|
type: "gifv";
|
|
1779
|
-
url: string;
|
|
1780
1779
|
description: string | null;
|
|
1780
|
+
url: string;
|
|
1781
1781
|
preview_url: string;
|
|
1782
1782
|
remote_url: string | null;
|
|
1783
1783
|
bluehash: string;
|
|
@@ -1910,8 +1910,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1910
1910
|
}>, "strip", z.ZodTypeAny, {
|
|
1911
1911
|
id: string;
|
|
1912
1912
|
type: "video";
|
|
1913
|
-
url: string;
|
|
1914
1913
|
description: string | null;
|
|
1914
|
+
url: string;
|
|
1915
1915
|
preview_url: string;
|
|
1916
1916
|
remote_url: string | null;
|
|
1917
1917
|
bluehash: string;
|
|
@@ -1943,8 +1943,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1943
1943
|
}, {
|
|
1944
1944
|
id: string;
|
|
1945
1945
|
type: "video";
|
|
1946
|
-
url: string;
|
|
1947
1946
|
description: string | null;
|
|
1947
|
+
url: string;
|
|
1948
1948
|
preview_url: string;
|
|
1949
1949
|
remote_url: string | null;
|
|
1950
1950
|
bluehash: string;
|
|
@@ -2022,8 +2022,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2022
2022
|
}>, "strip", z.ZodTypeAny, {
|
|
2023
2023
|
id: string;
|
|
2024
2024
|
type: "audio";
|
|
2025
|
-
url: string;
|
|
2026
2025
|
description: string | null;
|
|
2026
|
+
url: string;
|
|
2027
2027
|
preview_url: string;
|
|
2028
2028
|
remote_url: string | null;
|
|
2029
2029
|
bluehash: string;
|
|
@@ -2041,8 +2041,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2041
2041
|
}, {
|
|
2042
2042
|
id: string;
|
|
2043
2043
|
type: "audio";
|
|
2044
|
-
url: string;
|
|
2045
2044
|
description: string | null;
|
|
2045
|
+
url: string;
|
|
2046
2046
|
preview_url: string;
|
|
2047
2047
|
remote_url: string | null;
|
|
2048
2048
|
bluehash: string;
|
|
@@ -2069,16 +2069,16 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2069
2069
|
}>, "strip", z.ZodTypeAny, {
|
|
2070
2070
|
id: string;
|
|
2071
2071
|
type: "unknown";
|
|
2072
|
-
url: string;
|
|
2073
2072
|
description: string | null;
|
|
2073
|
+
url: string;
|
|
2074
2074
|
preview_url: string;
|
|
2075
2075
|
remote_url: string | null;
|
|
2076
2076
|
bluehash: string;
|
|
2077
2077
|
}, {
|
|
2078
2078
|
id: string;
|
|
2079
2079
|
type: "unknown";
|
|
2080
|
-
url: string;
|
|
2081
2080
|
description: string | null;
|
|
2081
|
+
url: string;
|
|
2082
2082
|
preview_url: string;
|
|
2083
2083
|
remote_url: string | null;
|
|
2084
2084
|
bluehash: string;
|
|
@@ -2214,11 +2214,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2214
2214
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
2215
2215
|
}, "strip", z.ZodTypeAny, {
|
|
2216
2216
|
type: "link" | "photo" | "video" | "rich";
|
|
2217
|
+
description: string;
|
|
2217
2218
|
url: string;
|
|
2218
2219
|
blurhash: string | null;
|
|
2219
2220
|
width: number;
|
|
2220
2221
|
height: number;
|
|
2221
|
-
description: string;
|
|
2222
2222
|
title: string;
|
|
2223
2223
|
author_name: string;
|
|
2224
2224
|
author_url: string;
|
|
@@ -2229,11 +2229,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2229
2229
|
embed_url: string;
|
|
2230
2230
|
}, {
|
|
2231
2231
|
type: "link" | "photo" | "video" | "rich";
|
|
2232
|
+
description: string;
|
|
2232
2233
|
url: string;
|
|
2233
2234
|
blurhash: string | null;
|
|
2234
2235
|
width: number;
|
|
2235
2236
|
height: number;
|
|
2236
|
-
description: string;
|
|
2237
2237
|
title: string;
|
|
2238
2238
|
author_name: string;
|
|
2239
2239
|
author_url: string;
|
|
@@ -2445,8 +2445,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2445
2445
|
media_attachments: ({
|
|
2446
2446
|
id: string;
|
|
2447
2447
|
type: "gifv";
|
|
2448
|
-
url: string;
|
|
2449
2448
|
description: string | null;
|
|
2449
|
+
url: string;
|
|
2450
2450
|
preview_url: string;
|
|
2451
2451
|
remote_url: string | null;
|
|
2452
2452
|
bluehash: string;
|
|
@@ -2475,8 +2475,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2475
2475
|
} | {
|
|
2476
2476
|
id: string;
|
|
2477
2477
|
type: "image";
|
|
2478
|
-
url: string;
|
|
2479
2478
|
description: string | null;
|
|
2479
|
+
url: string;
|
|
2480
2480
|
preview_url: string;
|
|
2481
2481
|
remote_url: string | null;
|
|
2482
2482
|
bluehash: string;
|
|
@@ -2501,8 +2501,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2501
2501
|
} | {
|
|
2502
2502
|
id: string;
|
|
2503
2503
|
type: "video";
|
|
2504
|
-
url: string;
|
|
2505
2504
|
description: string | null;
|
|
2505
|
+
url: string;
|
|
2506
2506
|
preview_url: string;
|
|
2507
2507
|
remote_url: string | null;
|
|
2508
2508
|
bluehash: string;
|
|
@@ -2534,8 +2534,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2534
2534
|
} | {
|
|
2535
2535
|
id: string;
|
|
2536
2536
|
type: "audio";
|
|
2537
|
-
url: string;
|
|
2538
2537
|
description: string | null;
|
|
2538
|
+
url: string;
|
|
2539
2539
|
preview_url: string;
|
|
2540
2540
|
remote_url: string | null;
|
|
2541
2541
|
bluehash: string;
|
|
@@ -2553,8 +2553,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2553
2553
|
} | {
|
|
2554
2554
|
id: string;
|
|
2555
2555
|
type: "unknown";
|
|
2556
|
-
url: string;
|
|
2557
2556
|
description: string | null;
|
|
2557
|
+
url: string;
|
|
2558
2558
|
preview_url: string;
|
|
2559
2559
|
remote_url: string | null;
|
|
2560
2560
|
bluehash: string;
|
|
@@ -2587,11 +2587,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2587
2587
|
} | null;
|
|
2588
2588
|
card: {
|
|
2589
2589
|
type: "link" | "photo" | "video" | "rich";
|
|
2590
|
+
description: string;
|
|
2590
2591
|
url: string;
|
|
2591
2592
|
blurhash: string | null;
|
|
2592
2593
|
width: number;
|
|
2593
2594
|
height: number;
|
|
2594
|
-
description: string;
|
|
2595
2595
|
title: string;
|
|
2596
2596
|
author_name: string;
|
|
2597
2597
|
author_url: string;
|
|
@@ -2724,8 +2724,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2724
2724
|
media_attachments: ({
|
|
2725
2725
|
id: string;
|
|
2726
2726
|
type: "gifv";
|
|
2727
|
-
url: string;
|
|
2728
2727
|
description: string | null;
|
|
2728
|
+
url: string;
|
|
2729
2729
|
preview_url: string;
|
|
2730
2730
|
remote_url: string | null;
|
|
2731
2731
|
bluehash: string;
|
|
@@ -2754,8 +2754,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2754
2754
|
} | {
|
|
2755
2755
|
id: string;
|
|
2756
2756
|
type: "image";
|
|
2757
|
-
url: string;
|
|
2758
2757
|
description: string | null;
|
|
2758
|
+
url: string;
|
|
2759
2759
|
preview_url: string;
|
|
2760
2760
|
remote_url: string | null;
|
|
2761
2761
|
bluehash: string;
|
|
@@ -2780,8 +2780,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2780
2780
|
} | {
|
|
2781
2781
|
id: string;
|
|
2782
2782
|
type: "video";
|
|
2783
|
-
url: string;
|
|
2784
2783
|
description: string | null;
|
|
2784
|
+
url: string;
|
|
2785
2785
|
preview_url: string;
|
|
2786
2786
|
remote_url: string | null;
|
|
2787
2787
|
bluehash: string;
|
|
@@ -2813,8 +2813,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2813
2813
|
} | {
|
|
2814
2814
|
id: string;
|
|
2815
2815
|
type: "audio";
|
|
2816
|
-
url: string;
|
|
2817
2816
|
description: string | null;
|
|
2817
|
+
url: string;
|
|
2818
2818
|
preview_url: string;
|
|
2819
2819
|
remote_url: string | null;
|
|
2820
2820
|
bluehash: string;
|
|
@@ -2832,8 +2832,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2832
2832
|
} | {
|
|
2833
2833
|
id: string;
|
|
2834
2834
|
type: "unknown";
|
|
2835
|
-
url: string;
|
|
2836
2835
|
description: string | null;
|
|
2836
|
+
url: string;
|
|
2837
2837
|
preview_url: string;
|
|
2838
2838
|
remote_url: string | null;
|
|
2839
2839
|
bluehash: string;
|
|
@@ -2866,11 +2866,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2866
2866
|
} | null;
|
|
2867
2867
|
card: {
|
|
2868
2868
|
type: "link" | "photo" | "video" | "rich";
|
|
2869
|
+
description: string;
|
|
2869
2870
|
url: string;
|
|
2870
2871
|
blurhash: string | null;
|
|
2871
2872
|
width: number;
|
|
2872
2873
|
height: number;
|
|
2873
|
-
description: string;
|
|
2874
2874
|
title: string;
|
|
2875
2875
|
author_name: string;
|
|
2876
2876
|
author_url: string;
|
|
@@ -3004,8 +3004,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3004
3004
|
media_attachments: ({
|
|
3005
3005
|
id: string;
|
|
3006
3006
|
type: "gifv";
|
|
3007
|
-
url: string;
|
|
3008
3007
|
description: string | null;
|
|
3008
|
+
url: string;
|
|
3009
3009
|
preview_url: string;
|
|
3010
3010
|
remote_url: string | null;
|
|
3011
3011
|
bluehash: string;
|
|
@@ -3034,8 +3034,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3034
3034
|
} | {
|
|
3035
3035
|
id: string;
|
|
3036
3036
|
type: "image";
|
|
3037
|
-
url: string;
|
|
3038
3037
|
description: string | null;
|
|
3038
|
+
url: string;
|
|
3039
3039
|
preview_url: string;
|
|
3040
3040
|
remote_url: string | null;
|
|
3041
3041
|
bluehash: string;
|
|
@@ -3060,8 +3060,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3060
3060
|
} | {
|
|
3061
3061
|
id: string;
|
|
3062
3062
|
type: "video";
|
|
3063
|
-
url: string;
|
|
3064
3063
|
description: string | null;
|
|
3064
|
+
url: string;
|
|
3065
3065
|
preview_url: string;
|
|
3066
3066
|
remote_url: string | null;
|
|
3067
3067
|
bluehash: string;
|
|
@@ -3093,8 +3093,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3093
3093
|
} | {
|
|
3094
3094
|
id: string;
|
|
3095
3095
|
type: "audio";
|
|
3096
|
-
url: string;
|
|
3097
3096
|
description: string | null;
|
|
3097
|
+
url: string;
|
|
3098
3098
|
preview_url: string;
|
|
3099
3099
|
remote_url: string | null;
|
|
3100
3100
|
bluehash: string;
|
|
@@ -3112,8 +3112,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3112
3112
|
} | {
|
|
3113
3113
|
id: string;
|
|
3114
3114
|
type: "unknown";
|
|
3115
|
-
url: string;
|
|
3116
3115
|
description: string | null;
|
|
3116
|
+
url: string;
|
|
3117
3117
|
preview_url: string;
|
|
3118
3118
|
remote_url: string | null;
|
|
3119
3119
|
bluehash: string;
|
|
@@ -3146,11 +3146,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3146
3146
|
} | null;
|
|
3147
3147
|
card: {
|
|
3148
3148
|
type: "link" | "photo" | "video" | "rich";
|
|
3149
|
+
description: string;
|
|
3149
3150
|
url: string;
|
|
3150
3151
|
blurhash: string | null;
|
|
3151
3152
|
width: number;
|
|
3152
3153
|
height: number;
|
|
3153
|
-
description: string;
|
|
3154
3154
|
title: string;
|
|
3155
3155
|
author_name: string;
|
|
3156
3156
|
author_url: string;
|
|
@@ -3254,8 +3254,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3254
3254
|
media_attachments: ({
|
|
3255
3255
|
id: string;
|
|
3256
3256
|
type: "gifv";
|
|
3257
|
-
url: string;
|
|
3258
3257
|
description: string | null;
|
|
3258
|
+
url: string;
|
|
3259
3259
|
preview_url: string;
|
|
3260
3260
|
remote_url: string | null;
|
|
3261
3261
|
bluehash: string;
|
|
@@ -3284,8 +3284,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3284
3284
|
} | {
|
|
3285
3285
|
id: string;
|
|
3286
3286
|
type: "image";
|
|
3287
|
-
url: string;
|
|
3288
3287
|
description: string | null;
|
|
3288
|
+
url: string;
|
|
3289
3289
|
preview_url: string;
|
|
3290
3290
|
remote_url: string | null;
|
|
3291
3291
|
bluehash: string;
|
|
@@ -3310,8 +3310,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3310
3310
|
} | {
|
|
3311
3311
|
id: string;
|
|
3312
3312
|
type: "video";
|
|
3313
|
-
url: string;
|
|
3314
3313
|
description: string | null;
|
|
3314
|
+
url: string;
|
|
3315
3315
|
preview_url: string;
|
|
3316
3316
|
remote_url: string | null;
|
|
3317
3317
|
bluehash: string;
|
|
@@ -3343,8 +3343,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3343
3343
|
} | {
|
|
3344
3344
|
id: string;
|
|
3345
3345
|
type: "audio";
|
|
3346
|
-
url: string;
|
|
3347
3346
|
description: string | null;
|
|
3347
|
+
url: string;
|
|
3348
3348
|
preview_url: string;
|
|
3349
3349
|
remote_url: string | null;
|
|
3350
3350
|
bluehash: string;
|
|
@@ -3362,8 +3362,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3362
3362
|
} | {
|
|
3363
3363
|
id: string;
|
|
3364
3364
|
type: "unknown";
|
|
3365
|
-
url: string;
|
|
3366
3365
|
description: string | null;
|
|
3366
|
+
url: string;
|
|
3367
3367
|
preview_url: string;
|
|
3368
3368
|
remote_url: string | null;
|
|
3369
3369
|
bluehash: string;
|
|
@@ -3396,11 +3396,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3396
3396
|
} | null;
|
|
3397
3397
|
card: {
|
|
3398
3398
|
type: "link" | "photo" | "video" | "rich";
|
|
3399
|
+
description: string;
|
|
3399
3400
|
url: string;
|
|
3400
3401
|
blurhash: string | null;
|
|
3401
3402
|
width: number;
|
|
3402
3403
|
height: number;
|
|
3403
|
-
description: string;
|
|
3404
3404
|
title: string;
|
|
3405
3405
|
author_name: string;
|
|
3406
3406
|
author_url: string;
|
|
@@ -3563,8 +3563,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3563
3563
|
media_attachments: ({
|
|
3564
3564
|
id: string;
|
|
3565
3565
|
type: "gifv";
|
|
3566
|
-
url: string;
|
|
3567
3566
|
description: string | null;
|
|
3567
|
+
url: string;
|
|
3568
3568
|
preview_url: string;
|
|
3569
3569
|
remote_url: string | null;
|
|
3570
3570
|
bluehash: string;
|
|
@@ -3593,8 +3593,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3593
3593
|
} | {
|
|
3594
3594
|
id: string;
|
|
3595
3595
|
type: "image";
|
|
3596
|
-
url: string;
|
|
3597
3596
|
description: string | null;
|
|
3597
|
+
url: string;
|
|
3598
3598
|
preview_url: string;
|
|
3599
3599
|
remote_url: string | null;
|
|
3600
3600
|
bluehash: string;
|
|
@@ -3619,8 +3619,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3619
3619
|
} | {
|
|
3620
3620
|
id: string;
|
|
3621
3621
|
type: "video";
|
|
3622
|
-
url: string;
|
|
3623
3622
|
description: string | null;
|
|
3623
|
+
url: string;
|
|
3624
3624
|
preview_url: string;
|
|
3625
3625
|
remote_url: string | null;
|
|
3626
3626
|
bluehash: string;
|
|
@@ -3652,8 +3652,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3652
3652
|
} | {
|
|
3653
3653
|
id: string;
|
|
3654
3654
|
type: "audio";
|
|
3655
|
-
url: string;
|
|
3656
3655
|
description: string | null;
|
|
3656
|
+
url: string;
|
|
3657
3657
|
preview_url: string;
|
|
3658
3658
|
remote_url: string | null;
|
|
3659
3659
|
bluehash: string;
|
|
@@ -3671,8 +3671,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3671
3671
|
} | {
|
|
3672
3672
|
id: string;
|
|
3673
3673
|
type: "unknown";
|
|
3674
|
-
url: string;
|
|
3675
3674
|
description: string | null;
|
|
3675
|
+
url: string;
|
|
3676
3676
|
preview_url: string;
|
|
3677
3677
|
remote_url: string | null;
|
|
3678
3678
|
bluehash: string;
|
|
@@ -3705,11 +3705,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3705
3705
|
} | null;
|
|
3706
3706
|
card: {
|
|
3707
3707
|
type: "link" | "photo" | "video" | "rich";
|
|
3708
|
+
description: string;
|
|
3708
3709
|
url: string;
|
|
3709
3710
|
blurhash: string | null;
|
|
3710
3711
|
width: number;
|
|
3711
3712
|
height: number;
|
|
3712
|
-
description: string;
|
|
3713
3713
|
title: string;
|
|
3714
3714
|
author_name: string;
|
|
3715
3715
|
author_url: string;
|
|
@@ -3813,8 +3813,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3813
3813
|
media_attachments: ({
|
|
3814
3814
|
id: string;
|
|
3815
3815
|
type: "gifv";
|
|
3816
|
-
url: string;
|
|
3817
3816
|
description: string | null;
|
|
3817
|
+
url: string;
|
|
3818
3818
|
preview_url: string;
|
|
3819
3819
|
remote_url: string | null;
|
|
3820
3820
|
bluehash: string;
|
|
@@ -3843,8 +3843,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3843
3843
|
} | {
|
|
3844
3844
|
id: string;
|
|
3845
3845
|
type: "image";
|
|
3846
|
-
url: string;
|
|
3847
3846
|
description: string | null;
|
|
3847
|
+
url: string;
|
|
3848
3848
|
preview_url: string;
|
|
3849
3849
|
remote_url: string | null;
|
|
3850
3850
|
bluehash: string;
|
|
@@ -3869,8 +3869,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3869
3869
|
} | {
|
|
3870
3870
|
id: string;
|
|
3871
3871
|
type: "video";
|
|
3872
|
-
url: string;
|
|
3873
3872
|
description: string | null;
|
|
3873
|
+
url: string;
|
|
3874
3874
|
preview_url: string;
|
|
3875
3875
|
remote_url: string | null;
|
|
3876
3876
|
bluehash: string;
|
|
@@ -3902,8 +3902,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3902
3902
|
} | {
|
|
3903
3903
|
id: string;
|
|
3904
3904
|
type: "audio";
|
|
3905
|
-
url: string;
|
|
3906
3905
|
description: string | null;
|
|
3906
|
+
url: string;
|
|
3907
3907
|
preview_url: string;
|
|
3908
3908
|
remote_url: string | null;
|
|
3909
3909
|
bluehash: string;
|
|
@@ -3921,8 +3921,8 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3921
3921
|
} | {
|
|
3922
3922
|
id: string;
|
|
3923
3923
|
type: "unknown";
|
|
3924
|
-
url: string;
|
|
3925
3924
|
description: string | null;
|
|
3925
|
+
url: string;
|
|
3926
3926
|
preview_url: string;
|
|
3927
3927
|
remote_url: string | null;
|
|
3928
3928
|
bluehash: string;
|
|
@@ -3955,11 +3955,11 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3955
3955
|
} | null;
|
|
3956
3956
|
card: {
|
|
3957
3957
|
type: "link" | "photo" | "video" | "rich";
|
|
3958
|
+
description: string;
|
|
3958
3959
|
url: string;
|
|
3959
3960
|
blurhash: string | null;
|
|
3960
3961
|
width: number;
|
|
3961
3962
|
height: number;
|
|
3962
|
-
description: string;
|
|
3963
3963
|
title: string;
|
|
3964
3964
|
author_name: string;
|
|
3965
3965
|
author_url: string;
|
|
@@ -141,10 +141,11 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
141
141
|
updated: z.ZodOptional<z.ZodString>;
|
|
142
142
|
}, "strip", z.ZodTypeAny, {
|
|
143
143
|
id: string;
|
|
144
|
-
|
|
145
|
-
attributedTo: string;
|
|
144
|
+
published: string;
|
|
146
145
|
to: string | string[];
|
|
147
146
|
cc: string | string[];
|
|
147
|
+
url: string;
|
|
148
|
+
attributedTo: string;
|
|
148
149
|
inReplyTo: string | null;
|
|
149
150
|
tag: ({
|
|
150
151
|
type: "Emoji";
|
|
@@ -160,7 +161,6 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
160
161
|
name: string;
|
|
161
162
|
href: string;
|
|
162
163
|
})[];
|
|
163
|
-
published: string;
|
|
164
164
|
updated?: string | undefined;
|
|
165
165
|
summary?: string | undefined;
|
|
166
166
|
summaryMap?: Record<string, string> | undefined;
|
|
@@ -195,10 +195,11 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
195
195
|
})[] | undefined;
|
|
196
196
|
}, {
|
|
197
197
|
id: string;
|
|
198
|
-
|
|
199
|
-
attributedTo: string;
|
|
198
|
+
published: string;
|
|
200
199
|
to: string | string[];
|
|
201
200
|
cc: string | string[];
|
|
201
|
+
url: string;
|
|
202
|
+
attributedTo: string;
|
|
202
203
|
inReplyTo: string | null;
|
|
203
204
|
tag: ({
|
|
204
205
|
type: "Emoji";
|
|
@@ -214,7 +215,6 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
214
215
|
name: string;
|
|
215
216
|
href: string;
|
|
216
217
|
})[];
|
|
217
|
-
published: string;
|
|
218
218
|
updated?: string | undefined;
|
|
219
219
|
summary?: string | undefined;
|
|
220
220
|
summaryMap?: Record<string, string> | undefined;
|
package/dist/types/note.d.ts
CHANGED
|
@@ -144,10 +144,11 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
144
144
|
}>, "strip", z.ZodTypeAny, {
|
|
145
145
|
id: string;
|
|
146
146
|
type: "Note";
|
|
147
|
-
|
|
148
|
-
attributedTo: string;
|
|
147
|
+
published: string;
|
|
149
148
|
to: string | string[];
|
|
150
149
|
cc: string | string[];
|
|
150
|
+
url: string;
|
|
151
|
+
attributedTo: string;
|
|
151
152
|
inReplyTo: string | null;
|
|
152
153
|
tag: ({
|
|
153
154
|
type: "Emoji";
|
|
@@ -163,7 +164,6 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
163
164
|
name: string;
|
|
164
165
|
href: string;
|
|
165
166
|
})[];
|
|
166
|
-
published: string;
|
|
167
167
|
updated?: string | undefined;
|
|
168
168
|
summary?: string | undefined;
|
|
169
169
|
summaryMap?: Record<string, string> | undefined;
|
|
@@ -199,10 +199,11 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
199
199
|
}, {
|
|
200
200
|
id: string;
|
|
201
201
|
type: "Note";
|
|
202
|
-
|
|
203
|
-
attributedTo: string;
|
|
202
|
+
published: string;
|
|
204
203
|
to: string | string[];
|
|
205
204
|
cc: string | string[];
|
|
205
|
+
url: string;
|
|
206
|
+
attributedTo: string;
|
|
206
207
|
inReplyTo: string | null;
|
|
207
208
|
tag: ({
|
|
208
209
|
type: "Emoji";
|
|
@@ -218,7 +219,6 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
218
219
|
name: string;
|
|
219
220
|
href: string;
|
|
220
221
|
})[];
|
|
221
|
-
published: string;
|
|
222
222
|
updated?: string | undefined;
|
|
223
223
|
summary?: string | undefined;
|
|
224
224
|
summaryMap?: Record<string, string> | undefined;
|