@llun/activities.schema 0.2.31 → 0.2.33

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.
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export declare const BaseStatus: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  uri: z.ZodString;
5
- account: z.ZodObject<z.objectUtil.extendShape<{
5
+ account: z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  username: z.ZodString;
8
8
  acct: z.ZodString;
@@ -99,7 +99,7 @@ export declare const BaseStatus: z.ZodObject<{
99
99
  statuses_count: z.ZodNumber;
100
100
  followers_count: z.ZodNumber;
101
101
  following_count: z.ZodNumber;
102
- }, {
102
+ } & {
103
103
  moved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
104
104
  id: z.ZodString;
105
105
  username: z.ZodString;
@@ -292,7 +292,7 @@ export declare const BaseStatus: z.ZodObject<{
292
292
  suspended?: boolean | undefined;
293
293
  limited?: boolean | undefined;
294
294
  }>>>;
295
- }>, "strip", z.ZodTypeAny, {
295
+ }, "strip", z.ZodTypeAny, {
296
296
  id: string;
297
297
  url: string;
298
298
  note: string;
@@ -487,14 +487,14 @@ export declare const BaseStatus: z.ZodObject<{
487
487
  visibility: z.ZodEnum<["public", "unlist", "private", "direct"]>;
488
488
  sensitive: z.ZodBoolean;
489
489
  spoiler_text: z.ZodString;
490
- media_attachments: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
490
+ media_attachments: z.ZodArray<z.ZodUnion<[z.ZodObject<{
491
491
  id: z.ZodString;
492
492
  url: z.ZodString;
493
493
  preview_url: z.ZodNullable<z.ZodString>;
494
494
  remote_url: z.ZodNullable<z.ZodString>;
495
495
  description: z.ZodNullable<z.ZodString>;
496
496
  blurhash: z.ZodNullable<z.ZodString>;
497
- }, {
497
+ } & {
498
498
  type: z.ZodLiteral<"image">;
499
499
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
500
500
  original: z.ZodObject<{
@@ -574,11 +574,11 @@ export declare const BaseStatus: z.ZodObject<{
574
574
  y: number;
575
575
  } | null | undefined;
576
576
  }>>>;
577
- }>, "strip", z.ZodTypeAny, {
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;
@@ -626,14 +626,14 @@ export declare const BaseStatus: z.ZodObject<{
626
626
  y: number;
627
627
  } | null | undefined;
628
628
  } | null | undefined;
629
- }>, z.ZodObject<z.objectUtil.extendShape<{
629
+ }>, z.ZodObject<{
630
630
  id: z.ZodString;
631
631
  url: z.ZodString;
632
632
  preview_url: z.ZodNullable<z.ZodString>;
633
633
  remote_url: z.ZodNullable<z.ZodString>;
634
634
  description: z.ZodNullable<z.ZodString>;
635
635
  blurhash: z.ZodNullable<z.ZodString>;
636
- }, {
636
+ } & {
637
637
  type: z.ZodLiteral<"gifv">;
638
638
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
639
639
  length: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -721,11 +721,11 @@ export declare const BaseStatus: z.ZodObject<{
721
721
  aspect: number;
722
722
  } | null | undefined;
723
723
  }>>>;
724
- }>, "strip", z.ZodTypeAny, {
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;
@@ -781,14 +781,14 @@ export declare const BaseStatus: z.ZodObject<{
781
781
  aspect: number;
782
782
  } | null | undefined;
783
783
  } | null | undefined;
784
- }>, z.ZodObject<z.objectUtil.extendShape<{
784
+ }>, z.ZodObject<{
785
785
  id: z.ZodString;
786
786
  url: z.ZodString;
787
787
  preview_url: z.ZodNullable<z.ZodString>;
788
788
  remote_url: z.ZodNullable<z.ZodString>;
789
789
  description: z.ZodNullable<z.ZodString>;
790
790
  blurhash: z.ZodNullable<z.ZodString>;
791
- }, {
791
+ } & {
792
792
  type: z.ZodLiteral<"video">;
793
793
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
794
794
  length: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -885,11 +885,11 @@ export declare const BaseStatus: z.ZodObject<{
885
885
  audio_bitrate?: string | null | undefined;
886
886
  audio_channels?: string | null | undefined;
887
887
  }>>>;
888
- }>, "strip", z.ZodTypeAny, {
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;
@@ -951,14 +951,14 @@ export declare const BaseStatus: z.ZodObject<{
951
951
  audio_bitrate?: string | null | undefined;
952
952
  audio_channels?: string | null | undefined;
953
953
  } | null | undefined;
954
- }>, z.ZodObject<z.objectUtil.extendShape<{
954
+ }>, z.ZodObject<{
955
955
  id: z.ZodString;
956
956
  url: z.ZodString;
957
957
  preview_url: z.ZodNullable<z.ZodString>;
958
958
  remote_url: z.ZodNullable<z.ZodString>;
959
959
  description: z.ZodNullable<z.ZodString>;
960
960
  blurhash: z.ZodNullable<z.ZodString>;
961
- }, {
961
+ } & {
962
962
  type: z.ZodLiteral<"audio">;
963
963
  meta: z.ZodObject<{
964
964
  length: z.ZodString;
@@ -997,11 +997,11 @@ export declare const BaseStatus: z.ZodObject<{
997
997
  audio_bitrate?: string | null | undefined;
998
998
  audio_channels?: string | null | undefined;
999
999
  }>;
1000
- }>, "strip", z.ZodTypeAny, {
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;
@@ -1035,28 +1035,28 @@ export declare const BaseStatus: z.ZodObject<{
1035
1035
  audio_bitrate?: string | null | undefined;
1036
1036
  audio_channels?: string | null | undefined;
1037
1037
  };
1038
- }>, z.ZodObject<z.objectUtil.extendShape<{
1038
+ }>, z.ZodObject<{
1039
1039
  id: z.ZodString;
1040
1040
  url: z.ZodString;
1041
1041
  preview_url: z.ZodNullable<z.ZodString>;
1042
1042
  remote_url: z.ZodNullable<z.ZodString>;
1043
1043
  description: z.ZodNullable<z.ZodString>;
1044
1044
  blurhash: z.ZodNullable<z.ZodString>;
1045
- }, {
1045
+ } & {
1046
1046
  type: z.ZodLiteral<"unknown">;
1047
- }>, "strip", z.ZodTypeAny, {
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;