@llun/activities.schema 0.1.0 → 0.1.1
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/mastodon/index.d.ts +6 -0
- package/dist/mastodon/index.js +6 -0
- package/dist/mastodon/mediaAttachment/audio.d.ts +12 -12
- package/dist/mastodon/mediaAttachment/gifv.d.ts +18 -18
- package/dist/mastodon/mediaAttachment/index.d.ts +60 -60
- package/dist/mastodon/mediaAttachment/video.d.ts +30 -30
- package/dist/mastodon/status/base.d.ts +120 -120
- package/dist/mastodon/status/index.d.ts +305 -305
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/mastodon/index.ts +7 -0
|
@@ -497,14 +497,14 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
497
497
|
width: number;
|
|
498
498
|
height: number;
|
|
499
499
|
duration: number;
|
|
500
|
-
bitrate: number;
|
|
501
500
|
frame_rate: string;
|
|
501
|
+
bitrate: number;
|
|
502
502
|
}, {
|
|
503
503
|
width: number;
|
|
504
504
|
height: number;
|
|
505
505
|
duration: number;
|
|
506
|
-
bitrate: number;
|
|
507
506
|
frame_rate: string;
|
|
507
|
+
bitrate: number;
|
|
508
508
|
}>;
|
|
509
509
|
small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
510
510
|
width: z.ZodNumber;
|
|
@@ -527,16 +527,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
527
527
|
width: number;
|
|
528
528
|
height: number;
|
|
529
529
|
duration: number;
|
|
530
|
+
fps: number;
|
|
531
|
+
size: string;
|
|
532
|
+
aspect: number;
|
|
530
533
|
original: {
|
|
531
534
|
width: number;
|
|
532
535
|
height: number;
|
|
533
536
|
duration: number;
|
|
534
|
-
bitrate: number;
|
|
535
537
|
frame_rate: string;
|
|
538
|
+
bitrate: number;
|
|
536
539
|
};
|
|
537
|
-
fps: number;
|
|
538
|
-
size: string;
|
|
539
|
-
aspect: number;
|
|
540
540
|
small?: {
|
|
541
541
|
width: number;
|
|
542
542
|
height: number;
|
|
@@ -548,16 +548,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
548
548
|
width: number;
|
|
549
549
|
height: number;
|
|
550
550
|
duration: number;
|
|
551
|
+
fps: number;
|
|
552
|
+
size: string;
|
|
553
|
+
aspect: number;
|
|
551
554
|
original: {
|
|
552
555
|
width: number;
|
|
553
556
|
height: number;
|
|
554
557
|
duration: number;
|
|
555
|
-
bitrate: number;
|
|
556
558
|
frame_rate: string;
|
|
559
|
+
bitrate: number;
|
|
557
560
|
};
|
|
558
|
-
fps: number;
|
|
559
|
-
size: string;
|
|
560
|
-
aspect: number;
|
|
561
561
|
small?: {
|
|
562
562
|
width: number;
|
|
563
563
|
height: number;
|
|
@@ -578,16 +578,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
578
578
|
width: number;
|
|
579
579
|
height: number;
|
|
580
580
|
duration: number;
|
|
581
|
+
fps: number;
|
|
582
|
+
size: string;
|
|
583
|
+
aspect: number;
|
|
581
584
|
original: {
|
|
582
585
|
width: number;
|
|
583
586
|
height: number;
|
|
584
587
|
duration: number;
|
|
585
|
-
bitrate: number;
|
|
586
588
|
frame_rate: string;
|
|
589
|
+
bitrate: number;
|
|
587
590
|
};
|
|
588
|
-
fps: number;
|
|
589
|
-
size: string;
|
|
590
|
-
aspect: number;
|
|
591
591
|
small?: {
|
|
592
592
|
width: number;
|
|
593
593
|
height: number;
|
|
@@ -608,16 +608,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
608
608
|
width: number;
|
|
609
609
|
height: number;
|
|
610
610
|
duration: number;
|
|
611
|
+
fps: number;
|
|
612
|
+
size: string;
|
|
613
|
+
aspect: number;
|
|
611
614
|
original: {
|
|
612
615
|
width: number;
|
|
613
616
|
height: number;
|
|
614
617
|
duration: number;
|
|
615
|
-
bitrate: number;
|
|
616
618
|
frame_rate: string;
|
|
619
|
+
bitrate: number;
|
|
617
620
|
};
|
|
618
|
-
fps: number;
|
|
619
|
-
size: string;
|
|
620
|
-
aspect: number;
|
|
621
621
|
small?: {
|
|
622
622
|
width: number;
|
|
623
623
|
height: number;
|
|
@@ -655,14 +655,14 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
655
655
|
width: number;
|
|
656
656
|
height: number;
|
|
657
657
|
duration: number;
|
|
658
|
-
bitrate: number;
|
|
659
658
|
frame_rate: string;
|
|
659
|
+
bitrate: number;
|
|
660
660
|
}, {
|
|
661
661
|
width: number;
|
|
662
662
|
height: number;
|
|
663
663
|
duration: number;
|
|
664
|
-
bitrate: number;
|
|
665
664
|
frame_rate: string;
|
|
665
|
+
bitrate: number;
|
|
666
666
|
}>;
|
|
667
667
|
small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
668
668
|
width: z.ZodNumber;
|
|
@@ -685,19 +685,19 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
685
685
|
width: number;
|
|
686
686
|
height: number;
|
|
687
687
|
duration: number;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
688
|
+
fps: number;
|
|
689
|
+
size: string;
|
|
690
|
+
aspect: number;
|
|
691
691
|
original: {
|
|
692
692
|
width: number;
|
|
693
693
|
height: number;
|
|
694
694
|
duration: number;
|
|
695
|
-
bitrate: number;
|
|
696
695
|
frame_rate: string;
|
|
696
|
+
bitrate: number;
|
|
697
697
|
};
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
698
|
+
audio_encode: string;
|
|
699
|
+
audio_bitrate: string;
|
|
700
|
+
audio_channels: string;
|
|
701
701
|
small?: {
|
|
702
702
|
width: number;
|
|
703
703
|
height: number;
|
|
@@ -709,19 +709,19 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
709
709
|
width: number;
|
|
710
710
|
height: number;
|
|
711
711
|
duration: number;
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
712
|
+
fps: number;
|
|
713
|
+
size: string;
|
|
714
|
+
aspect: number;
|
|
715
715
|
original: {
|
|
716
716
|
width: number;
|
|
717
717
|
height: number;
|
|
718
718
|
duration: number;
|
|
719
|
-
bitrate: number;
|
|
720
719
|
frame_rate: string;
|
|
720
|
+
bitrate: number;
|
|
721
721
|
};
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
722
|
+
audio_encode: string;
|
|
723
|
+
audio_bitrate: string;
|
|
724
|
+
audio_channels: string;
|
|
725
725
|
small?: {
|
|
726
726
|
width: number;
|
|
727
727
|
height: number;
|
|
@@ -742,19 +742,19 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
742
742
|
width: number;
|
|
743
743
|
height: number;
|
|
744
744
|
duration: number;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
745
|
+
fps: number;
|
|
746
|
+
size: string;
|
|
747
|
+
aspect: number;
|
|
748
748
|
original: {
|
|
749
749
|
width: number;
|
|
750
750
|
height: number;
|
|
751
751
|
duration: number;
|
|
752
|
-
bitrate: number;
|
|
753
752
|
frame_rate: string;
|
|
753
|
+
bitrate: number;
|
|
754
754
|
};
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
755
|
+
audio_encode: string;
|
|
756
|
+
audio_bitrate: string;
|
|
757
|
+
audio_channels: string;
|
|
758
758
|
small?: {
|
|
759
759
|
width: number;
|
|
760
760
|
height: number;
|
|
@@ -775,19 +775,19 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
775
775
|
width: number;
|
|
776
776
|
height: number;
|
|
777
777
|
duration: number;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
778
|
+
fps: number;
|
|
779
|
+
size: string;
|
|
780
|
+
aspect: number;
|
|
781
781
|
original: {
|
|
782
782
|
width: number;
|
|
783
783
|
height: number;
|
|
784
784
|
duration: number;
|
|
785
|
-
bitrate: number;
|
|
786
785
|
frame_rate: string;
|
|
786
|
+
bitrate: number;
|
|
787
787
|
};
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
788
|
+
audio_encode: string;
|
|
789
|
+
audio_bitrate: string;
|
|
790
|
+
audio_channels: string;
|
|
791
791
|
small?: {
|
|
792
792
|
width: number;
|
|
793
793
|
height: number;
|
|
@@ -823,23 +823,23 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
823
823
|
}, "strip", z.ZodTypeAny, {
|
|
824
824
|
length: string;
|
|
825
825
|
duration: number;
|
|
826
|
-
audio_encode: string;
|
|
827
|
-
audio_bitrate: string;
|
|
828
|
-
audio_channels: string;
|
|
829
826
|
original: {
|
|
830
827
|
duration: number;
|
|
831
828
|
bitrate: number;
|
|
832
829
|
};
|
|
833
|
-
}, {
|
|
834
|
-
length: string;
|
|
835
|
-
duration: number;
|
|
836
830
|
audio_encode: string;
|
|
837
831
|
audio_bitrate: string;
|
|
838
832
|
audio_channels: string;
|
|
833
|
+
}, {
|
|
834
|
+
length: string;
|
|
835
|
+
duration: number;
|
|
839
836
|
original: {
|
|
840
837
|
duration: number;
|
|
841
838
|
bitrate: number;
|
|
842
839
|
};
|
|
840
|
+
audio_encode: string;
|
|
841
|
+
audio_bitrate: string;
|
|
842
|
+
audio_channels: string;
|
|
843
843
|
}>;
|
|
844
844
|
}>, "strip", z.ZodTypeAny, {
|
|
845
845
|
id: string;
|
|
@@ -852,13 +852,13 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
852
852
|
meta: {
|
|
853
853
|
length: string;
|
|
854
854
|
duration: number;
|
|
855
|
-
audio_encode: string;
|
|
856
|
-
audio_bitrate: string;
|
|
857
|
-
audio_channels: string;
|
|
858
855
|
original: {
|
|
859
856
|
duration: number;
|
|
860
857
|
bitrate: number;
|
|
861
858
|
};
|
|
859
|
+
audio_encode: string;
|
|
860
|
+
audio_bitrate: string;
|
|
861
|
+
audio_channels: string;
|
|
862
862
|
};
|
|
863
863
|
}, {
|
|
864
864
|
id: string;
|
|
@@ -871,13 +871,13 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
871
871
|
meta: {
|
|
872
872
|
length: string;
|
|
873
873
|
duration: number;
|
|
874
|
-
audio_encode: string;
|
|
875
|
-
audio_bitrate: string;
|
|
876
|
-
audio_channels: string;
|
|
877
874
|
original: {
|
|
878
875
|
duration: number;
|
|
879
876
|
bitrate: number;
|
|
880
877
|
};
|
|
878
|
+
audio_encode: string;
|
|
879
|
+
audio_bitrate: string;
|
|
880
|
+
audio_channels: string;
|
|
881
881
|
};
|
|
882
882
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
883
883
|
id: z.ZodString;
|
|
@@ -1265,25 +1265,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1265
1265
|
sensitive: boolean;
|
|
1266
1266
|
spoiler_text: string;
|
|
1267
1267
|
media_attachments: ({
|
|
1268
|
-
id: string;
|
|
1269
|
-
type: "audio";
|
|
1270
|
-
url: string;
|
|
1271
|
-
description: string | null;
|
|
1272
|
-
preview_url: string;
|
|
1273
|
-
remote_url: string | null;
|
|
1274
|
-
bluehash: string;
|
|
1275
|
-
meta: {
|
|
1276
|
-
length: string;
|
|
1277
|
-
duration: number;
|
|
1278
|
-
audio_encode: string;
|
|
1279
|
-
audio_bitrate: string;
|
|
1280
|
-
audio_channels: string;
|
|
1281
|
-
original: {
|
|
1282
|
-
duration: number;
|
|
1283
|
-
bitrate: number;
|
|
1284
|
-
};
|
|
1285
|
-
};
|
|
1286
|
-
} | {
|
|
1287
1268
|
id: string;
|
|
1288
1269
|
type: "gifv";
|
|
1289
1270
|
url: string;
|
|
@@ -1296,16 +1277,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1296
1277
|
width: number;
|
|
1297
1278
|
height: number;
|
|
1298
1279
|
duration: number;
|
|
1280
|
+
fps: number;
|
|
1281
|
+
size: string;
|
|
1282
|
+
aspect: number;
|
|
1299
1283
|
original: {
|
|
1300
1284
|
width: number;
|
|
1301
1285
|
height: number;
|
|
1302
1286
|
duration: number;
|
|
1303
|
-
bitrate: number;
|
|
1304
1287
|
frame_rate: string;
|
|
1288
|
+
bitrate: number;
|
|
1305
1289
|
};
|
|
1306
|
-
fps: number;
|
|
1307
|
-
size: string;
|
|
1308
|
-
aspect: number;
|
|
1309
1290
|
small?: {
|
|
1310
1291
|
width: number;
|
|
1311
1292
|
height: number;
|
|
@@ -1352,19 +1333,19 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1352
1333
|
width: number;
|
|
1353
1334
|
height: number;
|
|
1354
1335
|
duration: number;
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1336
|
+
fps: number;
|
|
1337
|
+
size: string;
|
|
1338
|
+
aspect: number;
|
|
1358
1339
|
original: {
|
|
1359
1340
|
width: number;
|
|
1360
1341
|
height: number;
|
|
1361
1342
|
duration: number;
|
|
1362
|
-
bitrate: number;
|
|
1363
1343
|
frame_rate: string;
|
|
1344
|
+
bitrate: number;
|
|
1364
1345
|
};
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1346
|
+
audio_encode: string;
|
|
1347
|
+
audio_bitrate: string;
|
|
1348
|
+
audio_channels: string;
|
|
1368
1349
|
small?: {
|
|
1369
1350
|
width: number;
|
|
1370
1351
|
height: number;
|
|
@@ -1372,6 +1353,25 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1372
1353
|
aspect: number;
|
|
1373
1354
|
} | null | undefined;
|
|
1374
1355
|
};
|
|
1356
|
+
} | {
|
|
1357
|
+
id: string;
|
|
1358
|
+
type: "audio";
|
|
1359
|
+
url: string;
|
|
1360
|
+
description: string | null;
|
|
1361
|
+
preview_url: string;
|
|
1362
|
+
remote_url: string | null;
|
|
1363
|
+
bluehash: string;
|
|
1364
|
+
meta: {
|
|
1365
|
+
length: string;
|
|
1366
|
+
duration: number;
|
|
1367
|
+
original: {
|
|
1368
|
+
duration: number;
|
|
1369
|
+
bitrate: number;
|
|
1370
|
+
};
|
|
1371
|
+
audio_encode: string;
|
|
1372
|
+
audio_bitrate: string;
|
|
1373
|
+
audio_channels: string;
|
|
1374
|
+
};
|
|
1375
1375
|
} | {
|
|
1376
1376
|
id: string;
|
|
1377
1377
|
type: "unknown";
|
|
@@ -1544,25 +1544,6 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1544
1544
|
sensitive: boolean;
|
|
1545
1545
|
spoiler_text: string;
|
|
1546
1546
|
media_attachments: ({
|
|
1547
|
-
id: string;
|
|
1548
|
-
type: "audio";
|
|
1549
|
-
url: string;
|
|
1550
|
-
description: string | null;
|
|
1551
|
-
preview_url: string;
|
|
1552
|
-
remote_url: string | null;
|
|
1553
|
-
bluehash: string;
|
|
1554
|
-
meta: {
|
|
1555
|
-
length: string;
|
|
1556
|
-
duration: number;
|
|
1557
|
-
audio_encode: string;
|
|
1558
|
-
audio_bitrate: string;
|
|
1559
|
-
audio_channels: string;
|
|
1560
|
-
original: {
|
|
1561
|
-
duration: number;
|
|
1562
|
-
bitrate: number;
|
|
1563
|
-
};
|
|
1564
|
-
};
|
|
1565
|
-
} | {
|
|
1566
1547
|
id: string;
|
|
1567
1548
|
type: "gifv";
|
|
1568
1549
|
url: string;
|
|
@@ -1575,16 +1556,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1575
1556
|
width: number;
|
|
1576
1557
|
height: number;
|
|
1577
1558
|
duration: number;
|
|
1559
|
+
fps: number;
|
|
1560
|
+
size: string;
|
|
1561
|
+
aspect: number;
|
|
1578
1562
|
original: {
|
|
1579
1563
|
width: number;
|
|
1580
1564
|
height: number;
|
|
1581
1565
|
duration: number;
|
|
1582
|
-
bitrate: number;
|
|
1583
1566
|
frame_rate: string;
|
|
1567
|
+
bitrate: number;
|
|
1584
1568
|
};
|
|
1585
|
-
fps: number;
|
|
1586
|
-
size: string;
|
|
1587
|
-
aspect: number;
|
|
1588
1569
|
small?: {
|
|
1589
1570
|
width: number;
|
|
1590
1571
|
height: number;
|
|
@@ -1631,19 +1612,19 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1631
1612
|
width: number;
|
|
1632
1613
|
height: number;
|
|
1633
1614
|
duration: number;
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1615
|
+
fps: number;
|
|
1616
|
+
size: string;
|
|
1617
|
+
aspect: number;
|
|
1637
1618
|
original: {
|
|
1638
1619
|
width: number;
|
|
1639
1620
|
height: number;
|
|
1640
1621
|
duration: number;
|
|
1641
|
-
bitrate: number;
|
|
1642
1622
|
frame_rate: string;
|
|
1623
|
+
bitrate: number;
|
|
1643
1624
|
};
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1625
|
+
audio_encode: string;
|
|
1626
|
+
audio_bitrate: string;
|
|
1627
|
+
audio_channels: string;
|
|
1647
1628
|
small?: {
|
|
1648
1629
|
width: number;
|
|
1649
1630
|
height: number;
|
|
@@ -1651,6 +1632,25 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1651
1632
|
aspect: number;
|
|
1652
1633
|
} | null | undefined;
|
|
1653
1634
|
};
|
|
1635
|
+
} | {
|
|
1636
|
+
id: string;
|
|
1637
|
+
type: "audio";
|
|
1638
|
+
url: string;
|
|
1639
|
+
description: string | null;
|
|
1640
|
+
preview_url: string;
|
|
1641
|
+
remote_url: string | null;
|
|
1642
|
+
bluehash: string;
|
|
1643
|
+
meta: {
|
|
1644
|
+
length: string;
|
|
1645
|
+
duration: number;
|
|
1646
|
+
original: {
|
|
1647
|
+
duration: number;
|
|
1648
|
+
bitrate: number;
|
|
1649
|
+
};
|
|
1650
|
+
audio_encode: string;
|
|
1651
|
+
audio_bitrate: string;
|
|
1652
|
+
audio_channels: string;
|
|
1653
|
+
};
|
|
1654
1654
|
} | {
|
|
1655
1655
|
id: string;
|
|
1656
1656
|
type: "unknown";
|