@llun/activities.schema 0.0.9 → 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.
Files changed (65) hide show
  1. package/dist/mastodon/filter/index.d.ts +62 -0
  2. package/dist/mastodon/filter/index.js +24 -0
  3. package/dist/mastodon/filter/keyword.d.ts +15 -0
  4. package/dist/mastodon/filter/keyword.js +9 -0
  5. package/dist/mastodon/filter/status.d.ts +12 -0
  6. package/dist/mastodon/filter/status.js +8 -0
  7. package/dist/mastodon/filterResult.d.ts +104 -0
  8. package/dist/mastodon/filterResult.js +16 -0
  9. package/dist/mastodon/index.d.ts +6 -0
  10. package/dist/mastodon/index.js +6 -0
  11. package/dist/mastodon/mediaAttachment/audio.d.ts +87 -0
  12. package/dist/mastodon/mediaAttachment/audio.js +17 -0
  13. package/dist/mastodon/mediaAttachment/base.d.ts +24 -0
  14. package/dist/mastodon/mediaAttachment/base.js +26 -0
  15. package/dist/mastodon/mediaAttachment/gifv.d.ts +158 -0
  16. package/dist/mastodon/mediaAttachment/gifv.js +37 -0
  17. package/dist/mastodon/mediaAttachment/image.d.ts +142 -0
  18. package/dist/mastodon/mediaAttachment/image.js +30 -0
  19. package/dist/mastodon/mediaAttachment/index.d.ts +576 -0
  20. package/dist/mastodon/mediaAttachment/index.js +8 -0
  21. package/dist/mastodon/mediaAttachment/unknown.d.ts +28 -0
  22. package/dist/mastodon/mediaAttachment/unknown.js +8 -0
  23. package/dist/mastodon/mediaAttachment/video.d.ts +173 -0
  24. package/dist/mastodon/mediaAttachment/video.js +38 -0
  25. package/dist/mastodon/poll/index.d.ts +81 -0
  26. package/dist/mastodon/poll/index.js +27 -0
  27. package/dist/mastodon/poll/option.d.ts +12 -0
  28. package/dist/mastodon/poll/option.js +10 -0
  29. package/dist/mastodon/previewCard.d.ts +48 -0
  30. package/dist/mastodon/previewCard.js +34 -0
  31. package/dist/mastodon/status/application.d.ts +12 -0
  32. package/dist/mastodon/status/application.js +12 -0
  33. package/dist/mastodon/status/base.d.ts +1738 -0
  34. package/dist/mastodon/status/base.js +96 -0
  35. package/dist/mastodon/status/index.d.ts +4035 -0
  36. package/dist/mastodon/status/index.js +4 -0
  37. package/dist/mastodon/status/mention.d.ts +18 -0
  38. package/dist/mastodon/status/mention.js +12 -0
  39. package/dist/mastodon/status/tag.d.ts +12 -0
  40. package/dist/mastodon/status/tag.js +10 -0
  41. package/dist/mastodon/status/visibility.d.ts +3 -0
  42. package/dist/mastodon/status/visibility.js +3 -0
  43. package/package.json +2 -2
  44. package/readme.md +1 -1
  45. package/src/mastodon/filter/index.ts +31 -0
  46. package/src/mastodon/filter/keyword.ts +12 -0
  47. package/src/mastodon/filter/status.ts +10 -0
  48. package/src/mastodon/filterResult.ts +18 -0
  49. package/src/mastodon/index.ts +7 -0
  50. package/src/mastodon/mediaAttachment/audio.ts +19 -0
  51. package/src/mastodon/mediaAttachment/base.ts +34 -0
  52. package/src/mastodon/mediaAttachment/gifv.ts +41 -0
  53. package/src/mastodon/mediaAttachment/image.ts +32 -0
  54. package/src/mastodon/mediaAttachment/index.ts +10 -0
  55. package/src/mastodon/mediaAttachment/unknown.ts +12 -0
  56. package/src/mastodon/mediaAttachment/video.ts +43 -0
  57. package/src/mastodon/poll/index.ts +35 -0
  58. package/src/mastodon/poll/option.ts +13 -0
  59. package/src/mastodon/previewCard.ts +41 -0
  60. package/src/mastodon/status/application.ts +15 -0
  61. package/src/mastodon/status/base.ts +125 -0
  62. package/src/mastodon/status/index.ts +8 -0
  63. package/src/mastodon/status/mention.ts +15 -0
  64. package/src/mastodon/status/tag.ts +12 -0
  65. package/src/mastodon/status/visibility.ts +5 -0
@@ -0,0 +1,1738 @@
1
+ import { z } from "zod";
2
+ export declare const BaseStatus: z.ZodObject<{
3
+ id: z.ZodString;
4
+ uri: z.ZodString;
5
+ account: z.ZodObject<z.objectUtil.extendShape<{
6
+ id: z.ZodString;
7
+ username: z.ZodString;
8
+ acct: z.ZodString;
9
+ url: z.ZodString;
10
+ display_name: z.ZodString;
11
+ note: z.ZodString;
12
+ avatar: z.ZodString;
13
+ avatar_static: z.ZodString;
14
+ header: z.ZodString;
15
+ header_static: z.ZodString;
16
+ loacked: z.ZodString;
17
+ fields: z.ZodArray<z.ZodObject<{
18
+ name: z.ZodString;
19
+ value: z.ZodString;
20
+ verified_at: z.ZodNullable<z.ZodString>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ value: string;
23
+ name: string;
24
+ verified_at: string | null;
25
+ }, {
26
+ value: string;
27
+ name: string;
28
+ verified_at: string | null;
29
+ }>, "many">;
30
+ emojis: z.ZodArray<z.ZodObject<{
31
+ shortcode: z.ZodString;
32
+ static_url: z.ZodString;
33
+ url: z.ZodString;
34
+ visible_in_picker: z.ZodBoolean;
35
+ category: z.ZodNullable<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ url: string;
38
+ shortcode: string;
39
+ static_url: string;
40
+ visible_in_picker: boolean;
41
+ category: string | null;
42
+ }, {
43
+ url: string;
44
+ shortcode: string;
45
+ static_url: string;
46
+ visible_in_picker: boolean;
47
+ category: string | null;
48
+ }>, "many">;
49
+ bot: z.ZodBoolean;
50
+ group: z.ZodBoolean;
51
+ discoverable: z.ZodNullable<z.ZodBoolean>;
52
+ noindex: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ suspended: z.ZodOptional<z.ZodBoolean>;
54
+ limited: z.ZodOptional<z.ZodBoolean>;
55
+ created_at: z.ZodString;
56
+ last_status_at: z.ZodNullable<z.ZodString>;
57
+ statuses_count: z.ZodNumber;
58
+ followers_count: z.ZodNumber;
59
+ following_count: z.ZodNumber;
60
+ }, {
61
+ moved: z.ZodNullable<z.ZodObject<{
62
+ id: z.ZodString;
63
+ username: z.ZodString;
64
+ acct: z.ZodString;
65
+ url: z.ZodString;
66
+ display_name: z.ZodString;
67
+ note: z.ZodString;
68
+ avatar: z.ZodString;
69
+ avatar_static: z.ZodString;
70
+ header: z.ZodString;
71
+ header_static: z.ZodString;
72
+ loacked: z.ZodString;
73
+ fields: z.ZodArray<z.ZodObject<{
74
+ name: z.ZodString;
75
+ value: z.ZodString;
76
+ verified_at: z.ZodNullable<z.ZodString>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ value: string;
79
+ name: string;
80
+ verified_at: string | null;
81
+ }, {
82
+ value: string;
83
+ name: string;
84
+ verified_at: string | null;
85
+ }>, "many">;
86
+ emojis: z.ZodArray<z.ZodObject<{
87
+ shortcode: z.ZodString;
88
+ static_url: z.ZodString;
89
+ url: z.ZodString;
90
+ visible_in_picker: z.ZodBoolean;
91
+ category: z.ZodNullable<z.ZodString>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ url: string;
94
+ shortcode: string;
95
+ static_url: string;
96
+ visible_in_picker: boolean;
97
+ category: string | null;
98
+ }, {
99
+ url: string;
100
+ shortcode: string;
101
+ static_url: string;
102
+ visible_in_picker: boolean;
103
+ category: string | null;
104
+ }>, "many">;
105
+ bot: z.ZodBoolean;
106
+ group: z.ZodBoolean;
107
+ discoverable: z.ZodNullable<z.ZodBoolean>;
108
+ noindex: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
109
+ suspended: z.ZodOptional<z.ZodBoolean>;
110
+ limited: z.ZodOptional<z.ZodBoolean>;
111
+ created_at: z.ZodString;
112
+ last_status_at: z.ZodNullable<z.ZodString>;
113
+ statuses_count: z.ZodNumber;
114
+ followers_count: z.ZodNumber;
115
+ following_count: z.ZodNumber;
116
+ }, "strip", z.ZodTypeAny, {
117
+ id: string;
118
+ url: string;
119
+ username: string;
120
+ acct: string;
121
+ display_name: string;
122
+ note: string;
123
+ avatar: string;
124
+ avatar_static: string;
125
+ header: string;
126
+ header_static: string;
127
+ loacked: string;
128
+ fields: {
129
+ value: string;
130
+ name: string;
131
+ verified_at: string | null;
132
+ }[];
133
+ emojis: {
134
+ url: string;
135
+ shortcode: string;
136
+ static_url: string;
137
+ visible_in_picker: boolean;
138
+ category: string | null;
139
+ }[];
140
+ bot: boolean;
141
+ group: boolean;
142
+ discoverable: boolean | null;
143
+ created_at: string;
144
+ last_status_at: string | null;
145
+ statuses_count: number;
146
+ followers_count: number;
147
+ following_count: number;
148
+ noindex?: boolean | null | undefined;
149
+ suspended?: boolean | undefined;
150
+ limited?: boolean | undefined;
151
+ }, {
152
+ id: string;
153
+ url: string;
154
+ username: string;
155
+ acct: string;
156
+ display_name: string;
157
+ note: string;
158
+ avatar: string;
159
+ avatar_static: string;
160
+ header: string;
161
+ header_static: string;
162
+ loacked: string;
163
+ fields: {
164
+ value: string;
165
+ name: string;
166
+ verified_at: string | null;
167
+ }[];
168
+ emojis: {
169
+ url: string;
170
+ shortcode: string;
171
+ static_url: string;
172
+ visible_in_picker: boolean;
173
+ category: string | null;
174
+ }[];
175
+ bot: boolean;
176
+ group: boolean;
177
+ discoverable: boolean | null;
178
+ created_at: string;
179
+ last_status_at: string | null;
180
+ statuses_count: number;
181
+ followers_count: number;
182
+ following_count: number;
183
+ noindex?: boolean | null | undefined;
184
+ suspended?: boolean | undefined;
185
+ limited?: boolean | undefined;
186
+ }>>;
187
+ }>, "strip", z.ZodTypeAny, {
188
+ id: string;
189
+ url: string;
190
+ username: string;
191
+ acct: string;
192
+ display_name: string;
193
+ note: string;
194
+ avatar: string;
195
+ avatar_static: string;
196
+ header: string;
197
+ header_static: string;
198
+ loacked: string;
199
+ fields: {
200
+ value: string;
201
+ name: string;
202
+ verified_at: string | null;
203
+ }[];
204
+ emojis: {
205
+ url: string;
206
+ shortcode: string;
207
+ static_url: string;
208
+ visible_in_picker: boolean;
209
+ category: string | null;
210
+ }[];
211
+ bot: boolean;
212
+ group: boolean;
213
+ discoverable: boolean | null;
214
+ created_at: string;
215
+ last_status_at: string | null;
216
+ statuses_count: number;
217
+ followers_count: number;
218
+ following_count: number;
219
+ moved: {
220
+ id: string;
221
+ url: string;
222
+ username: string;
223
+ acct: string;
224
+ display_name: string;
225
+ note: string;
226
+ avatar: string;
227
+ avatar_static: string;
228
+ header: string;
229
+ header_static: string;
230
+ loacked: string;
231
+ fields: {
232
+ value: string;
233
+ name: string;
234
+ verified_at: string | null;
235
+ }[];
236
+ emojis: {
237
+ url: string;
238
+ shortcode: string;
239
+ static_url: string;
240
+ visible_in_picker: boolean;
241
+ category: string | null;
242
+ }[];
243
+ bot: boolean;
244
+ group: boolean;
245
+ discoverable: boolean | null;
246
+ created_at: string;
247
+ last_status_at: string | null;
248
+ statuses_count: number;
249
+ followers_count: number;
250
+ following_count: number;
251
+ noindex?: boolean | null | undefined;
252
+ suspended?: boolean | undefined;
253
+ limited?: boolean | undefined;
254
+ } | null;
255
+ noindex?: boolean | null | undefined;
256
+ suspended?: boolean | undefined;
257
+ limited?: boolean | undefined;
258
+ }, {
259
+ id: string;
260
+ url: string;
261
+ username: string;
262
+ acct: string;
263
+ display_name: string;
264
+ note: string;
265
+ avatar: string;
266
+ avatar_static: string;
267
+ header: string;
268
+ header_static: string;
269
+ loacked: string;
270
+ fields: {
271
+ value: string;
272
+ name: string;
273
+ verified_at: string | null;
274
+ }[];
275
+ emojis: {
276
+ url: string;
277
+ shortcode: string;
278
+ static_url: string;
279
+ visible_in_picker: boolean;
280
+ category: string | null;
281
+ }[];
282
+ bot: boolean;
283
+ group: boolean;
284
+ discoverable: boolean | null;
285
+ created_at: string;
286
+ last_status_at: string | null;
287
+ statuses_count: number;
288
+ followers_count: number;
289
+ following_count: number;
290
+ moved: {
291
+ id: string;
292
+ url: string;
293
+ username: string;
294
+ acct: string;
295
+ display_name: string;
296
+ note: string;
297
+ avatar: string;
298
+ avatar_static: string;
299
+ header: string;
300
+ header_static: string;
301
+ loacked: string;
302
+ fields: {
303
+ value: string;
304
+ name: string;
305
+ verified_at: string | null;
306
+ }[];
307
+ emojis: {
308
+ url: string;
309
+ shortcode: string;
310
+ static_url: string;
311
+ visible_in_picker: boolean;
312
+ category: string | null;
313
+ }[];
314
+ bot: boolean;
315
+ group: boolean;
316
+ discoverable: boolean | null;
317
+ created_at: string;
318
+ last_status_at: string | null;
319
+ statuses_count: number;
320
+ followers_count: number;
321
+ following_count: number;
322
+ noindex?: boolean | null | undefined;
323
+ suspended?: boolean | undefined;
324
+ limited?: boolean | undefined;
325
+ } | null;
326
+ noindex?: boolean | null | undefined;
327
+ suspended?: boolean | undefined;
328
+ limited?: boolean | undefined;
329
+ }>;
330
+ content: z.ZodString;
331
+ visibility: z.ZodEnum<["public", "unlist", "private", "direct"]>;
332
+ sensitive: z.ZodBoolean;
333
+ spoiler_text: z.ZodString;
334
+ media_attachments: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
335
+ id: z.ZodString;
336
+ url: z.ZodString;
337
+ preview_url: z.ZodString;
338
+ remote_url: z.ZodNullable<z.ZodString>;
339
+ description: z.ZodNullable<z.ZodString>;
340
+ bluehash: z.ZodString;
341
+ }, {
342
+ type: z.ZodLiteral<"image">;
343
+ meta: z.ZodObject<{
344
+ original: z.ZodObject<{
345
+ width: z.ZodNumber;
346
+ height: z.ZodNumber;
347
+ size: z.ZodString;
348
+ aspect: z.ZodNumber;
349
+ }, "strip", z.ZodTypeAny, {
350
+ width: number;
351
+ height: number;
352
+ size: string;
353
+ aspect: number;
354
+ }, {
355
+ width: number;
356
+ height: number;
357
+ size: string;
358
+ aspect: number;
359
+ }>;
360
+ small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
361
+ width: z.ZodNumber;
362
+ height: z.ZodNumber;
363
+ size: z.ZodString;
364
+ aspect: z.ZodNumber;
365
+ }, "strip", z.ZodTypeAny, {
366
+ width: number;
367
+ height: number;
368
+ size: string;
369
+ aspect: number;
370
+ }, {
371
+ width: number;
372
+ height: number;
373
+ size: string;
374
+ aspect: number;
375
+ }>>>;
376
+ focus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
377
+ x: z.ZodNumber;
378
+ y: z.ZodNumber;
379
+ }, "strip", z.ZodTypeAny, {
380
+ x: number;
381
+ y: number;
382
+ }, {
383
+ x: number;
384
+ y: number;
385
+ }>>>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ original: {
388
+ width: number;
389
+ height: number;
390
+ size: string;
391
+ aspect: number;
392
+ };
393
+ small?: {
394
+ width: number;
395
+ height: number;
396
+ size: string;
397
+ aspect: number;
398
+ } | null | undefined;
399
+ focus?: {
400
+ x: number;
401
+ y: number;
402
+ } | null | undefined;
403
+ }, {
404
+ original: {
405
+ width: number;
406
+ height: number;
407
+ size: string;
408
+ aspect: number;
409
+ };
410
+ small?: {
411
+ width: number;
412
+ height: number;
413
+ size: string;
414
+ aspect: number;
415
+ } | null | undefined;
416
+ focus?: {
417
+ x: number;
418
+ y: number;
419
+ } | null | undefined;
420
+ }>;
421
+ }>, "strip", z.ZodTypeAny, {
422
+ id: string;
423
+ type: "image";
424
+ url: string;
425
+ description: string | null;
426
+ preview_url: string;
427
+ remote_url: string | null;
428
+ bluehash: string;
429
+ meta: {
430
+ original: {
431
+ width: number;
432
+ height: number;
433
+ size: string;
434
+ aspect: number;
435
+ };
436
+ small?: {
437
+ width: number;
438
+ height: number;
439
+ size: string;
440
+ aspect: number;
441
+ } | null | undefined;
442
+ focus?: {
443
+ x: number;
444
+ y: number;
445
+ } | null | undefined;
446
+ };
447
+ }, {
448
+ id: string;
449
+ type: "image";
450
+ url: string;
451
+ description: string | null;
452
+ preview_url: string;
453
+ remote_url: string | null;
454
+ bluehash: string;
455
+ meta: {
456
+ original: {
457
+ width: number;
458
+ height: number;
459
+ size: string;
460
+ aspect: number;
461
+ };
462
+ small?: {
463
+ width: number;
464
+ height: number;
465
+ size: string;
466
+ aspect: number;
467
+ } | null | undefined;
468
+ focus?: {
469
+ x: number;
470
+ y: number;
471
+ } | null | undefined;
472
+ };
473
+ }>, z.ZodObject<z.objectUtil.extendShape<{
474
+ id: z.ZodString;
475
+ url: z.ZodString;
476
+ preview_url: z.ZodString;
477
+ remote_url: z.ZodNullable<z.ZodString>;
478
+ description: z.ZodNullable<z.ZodString>;
479
+ bluehash: z.ZodString;
480
+ }, {
481
+ type: z.ZodLiteral<"gifv">;
482
+ meta: z.ZodObject<{
483
+ length: z.ZodString;
484
+ duration: z.ZodNumber;
485
+ fps: z.ZodNumber;
486
+ size: z.ZodString;
487
+ width: z.ZodNumber;
488
+ height: z.ZodNumber;
489
+ aspect: z.ZodNumber;
490
+ original: z.ZodObject<{
491
+ width: z.ZodNumber;
492
+ height: z.ZodNumber;
493
+ frame_rate: z.ZodString;
494
+ duration: z.ZodNumber;
495
+ bitrate: z.ZodNumber;
496
+ }, "strip", z.ZodTypeAny, {
497
+ width: number;
498
+ height: number;
499
+ duration: number;
500
+ frame_rate: string;
501
+ bitrate: number;
502
+ }, {
503
+ width: number;
504
+ height: number;
505
+ duration: number;
506
+ frame_rate: string;
507
+ bitrate: number;
508
+ }>;
509
+ small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
510
+ width: z.ZodNumber;
511
+ height: z.ZodNumber;
512
+ size: z.ZodString;
513
+ aspect: z.ZodNumber;
514
+ }, "strip", z.ZodTypeAny, {
515
+ width: number;
516
+ height: number;
517
+ size: string;
518
+ aspect: number;
519
+ }, {
520
+ width: number;
521
+ height: number;
522
+ size: string;
523
+ aspect: number;
524
+ }>>>;
525
+ }, "strip", z.ZodTypeAny, {
526
+ length: string;
527
+ width: number;
528
+ height: number;
529
+ duration: number;
530
+ fps: number;
531
+ size: string;
532
+ aspect: number;
533
+ original: {
534
+ width: number;
535
+ height: number;
536
+ duration: number;
537
+ frame_rate: string;
538
+ bitrate: number;
539
+ };
540
+ small?: {
541
+ width: number;
542
+ height: number;
543
+ size: string;
544
+ aspect: number;
545
+ } | null | undefined;
546
+ }, {
547
+ length: string;
548
+ width: number;
549
+ height: number;
550
+ duration: number;
551
+ fps: number;
552
+ size: string;
553
+ aspect: number;
554
+ original: {
555
+ width: number;
556
+ height: number;
557
+ duration: number;
558
+ frame_rate: string;
559
+ bitrate: number;
560
+ };
561
+ small?: {
562
+ width: number;
563
+ height: number;
564
+ size: string;
565
+ aspect: number;
566
+ } | null | undefined;
567
+ }>;
568
+ }>, "strip", z.ZodTypeAny, {
569
+ id: string;
570
+ type: "gifv";
571
+ url: string;
572
+ description: string | null;
573
+ preview_url: string;
574
+ remote_url: string | null;
575
+ bluehash: string;
576
+ meta: {
577
+ length: string;
578
+ width: number;
579
+ height: number;
580
+ duration: number;
581
+ fps: number;
582
+ size: string;
583
+ aspect: number;
584
+ original: {
585
+ width: number;
586
+ height: number;
587
+ duration: number;
588
+ frame_rate: string;
589
+ bitrate: number;
590
+ };
591
+ small?: {
592
+ width: number;
593
+ height: number;
594
+ size: string;
595
+ aspect: number;
596
+ } | null | undefined;
597
+ };
598
+ }, {
599
+ id: string;
600
+ type: "gifv";
601
+ url: string;
602
+ description: string | null;
603
+ preview_url: string;
604
+ remote_url: string | null;
605
+ bluehash: string;
606
+ meta: {
607
+ length: string;
608
+ width: number;
609
+ height: number;
610
+ duration: number;
611
+ fps: number;
612
+ size: string;
613
+ aspect: number;
614
+ original: {
615
+ width: number;
616
+ height: number;
617
+ duration: number;
618
+ frame_rate: string;
619
+ bitrate: number;
620
+ };
621
+ small?: {
622
+ width: number;
623
+ height: number;
624
+ size: string;
625
+ aspect: number;
626
+ } | null | undefined;
627
+ };
628
+ }>, z.ZodObject<z.objectUtil.extendShape<{
629
+ id: z.ZodString;
630
+ url: z.ZodString;
631
+ preview_url: z.ZodString;
632
+ remote_url: z.ZodNullable<z.ZodString>;
633
+ description: z.ZodNullable<z.ZodString>;
634
+ bluehash: z.ZodString;
635
+ }, {
636
+ type: z.ZodLiteral<"video">;
637
+ meta: z.ZodObject<{
638
+ length: z.ZodString;
639
+ duration: z.ZodNumber;
640
+ fps: z.ZodNumber;
641
+ size: z.ZodString;
642
+ width: z.ZodNumber;
643
+ height: z.ZodNumber;
644
+ aspect: z.ZodNumber;
645
+ audio_encode: z.ZodString;
646
+ audio_bitrate: z.ZodString;
647
+ audio_channels: z.ZodString;
648
+ original: z.ZodObject<{
649
+ width: z.ZodNumber;
650
+ height: z.ZodNumber;
651
+ frame_rate: z.ZodString;
652
+ duration: z.ZodNumber;
653
+ bitrate: z.ZodNumber;
654
+ }, "strip", z.ZodTypeAny, {
655
+ width: number;
656
+ height: number;
657
+ duration: number;
658
+ frame_rate: string;
659
+ bitrate: number;
660
+ }, {
661
+ width: number;
662
+ height: number;
663
+ duration: number;
664
+ frame_rate: string;
665
+ bitrate: number;
666
+ }>;
667
+ small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
668
+ width: z.ZodNumber;
669
+ height: z.ZodNumber;
670
+ size: z.ZodString;
671
+ aspect: z.ZodNumber;
672
+ }, "strip", z.ZodTypeAny, {
673
+ width: number;
674
+ height: number;
675
+ size: string;
676
+ aspect: number;
677
+ }, {
678
+ width: number;
679
+ height: number;
680
+ size: string;
681
+ aspect: number;
682
+ }>>>;
683
+ }, "strip", z.ZodTypeAny, {
684
+ length: string;
685
+ width: number;
686
+ height: number;
687
+ duration: number;
688
+ fps: number;
689
+ size: string;
690
+ aspect: number;
691
+ original: {
692
+ width: number;
693
+ height: number;
694
+ duration: number;
695
+ frame_rate: string;
696
+ bitrate: number;
697
+ };
698
+ audio_encode: string;
699
+ audio_bitrate: string;
700
+ audio_channels: string;
701
+ small?: {
702
+ width: number;
703
+ height: number;
704
+ size: string;
705
+ aspect: number;
706
+ } | null | undefined;
707
+ }, {
708
+ length: string;
709
+ width: number;
710
+ height: number;
711
+ duration: number;
712
+ fps: number;
713
+ size: string;
714
+ aspect: number;
715
+ original: {
716
+ width: number;
717
+ height: number;
718
+ duration: number;
719
+ frame_rate: string;
720
+ bitrate: number;
721
+ };
722
+ audio_encode: string;
723
+ audio_bitrate: string;
724
+ audio_channels: string;
725
+ small?: {
726
+ width: number;
727
+ height: number;
728
+ size: string;
729
+ aspect: number;
730
+ } | null | undefined;
731
+ }>;
732
+ }>, "strip", z.ZodTypeAny, {
733
+ id: string;
734
+ type: "video";
735
+ url: string;
736
+ description: string | null;
737
+ preview_url: string;
738
+ remote_url: string | null;
739
+ bluehash: string;
740
+ meta: {
741
+ length: string;
742
+ width: number;
743
+ height: number;
744
+ duration: number;
745
+ fps: number;
746
+ size: string;
747
+ aspect: number;
748
+ original: {
749
+ width: number;
750
+ height: number;
751
+ duration: number;
752
+ frame_rate: string;
753
+ bitrate: number;
754
+ };
755
+ audio_encode: string;
756
+ audio_bitrate: string;
757
+ audio_channels: string;
758
+ small?: {
759
+ width: number;
760
+ height: number;
761
+ size: string;
762
+ aspect: number;
763
+ } | null | undefined;
764
+ };
765
+ }, {
766
+ id: string;
767
+ type: "video";
768
+ url: string;
769
+ description: string | null;
770
+ preview_url: string;
771
+ remote_url: string | null;
772
+ bluehash: string;
773
+ meta: {
774
+ length: string;
775
+ width: number;
776
+ height: number;
777
+ duration: number;
778
+ fps: number;
779
+ size: string;
780
+ aspect: number;
781
+ original: {
782
+ width: number;
783
+ height: number;
784
+ duration: number;
785
+ frame_rate: string;
786
+ bitrate: number;
787
+ };
788
+ audio_encode: string;
789
+ audio_bitrate: string;
790
+ audio_channels: string;
791
+ small?: {
792
+ width: number;
793
+ height: number;
794
+ size: string;
795
+ aspect: number;
796
+ } | null | undefined;
797
+ };
798
+ }>, z.ZodObject<z.objectUtil.extendShape<{
799
+ id: z.ZodString;
800
+ url: z.ZodString;
801
+ preview_url: z.ZodString;
802
+ remote_url: z.ZodNullable<z.ZodString>;
803
+ description: z.ZodNullable<z.ZodString>;
804
+ bluehash: z.ZodString;
805
+ }, {
806
+ type: z.ZodLiteral<"audio">;
807
+ meta: z.ZodObject<{
808
+ length: z.ZodString;
809
+ duration: z.ZodNumber;
810
+ audio_encode: z.ZodString;
811
+ audio_bitrate: z.ZodString;
812
+ audio_channels: z.ZodString;
813
+ original: z.ZodObject<{
814
+ duration: z.ZodNumber;
815
+ bitrate: z.ZodNumber;
816
+ }, "strip", z.ZodTypeAny, {
817
+ duration: number;
818
+ bitrate: number;
819
+ }, {
820
+ duration: number;
821
+ bitrate: number;
822
+ }>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ length: string;
825
+ duration: number;
826
+ original: {
827
+ duration: number;
828
+ bitrate: number;
829
+ };
830
+ audio_encode: string;
831
+ audio_bitrate: string;
832
+ audio_channels: string;
833
+ }, {
834
+ length: string;
835
+ duration: number;
836
+ original: {
837
+ duration: number;
838
+ bitrate: number;
839
+ };
840
+ audio_encode: string;
841
+ audio_bitrate: string;
842
+ audio_channels: string;
843
+ }>;
844
+ }>, "strip", z.ZodTypeAny, {
845
+ id: string;
846
+ type: "audio";
847
+ url: string;
848
+ description: string | null;
849
+ preview_url: string;
850
+ remote_url: string | null;
851
+ bluehash: string;
852
+ meta: {
853
+ length: string;
854
+ duration: number;
855
+ original: {
856
+ duration: number;
857
+ bitrate: number;
858
+ };
859
+ audio_encode: string;
860
+ audio_bitrate: string;
861
+ audio_channels: string;
862
+ };
863
+ }, {
864
+ id: string;
865
+ type: "audio";
866
+ url: string;
867
+ description: string | null;
868
+ preview_url: string;
869
+ remote_url: string | null;
870
+ bluehash: string;
871
+ meta: {
872
+ length: string;
873
+ duration: number;
874
+ original: {
875
+ duration: number;
876
+ bitrate: number;
877
+ };
878
+ audio_encode: string;
879
+ audio_bitrate: string;
880
+ audio_channels: string;
881
+ };
882
+ }>, z.ZodObject<z.objectUtil.extendShape<{
883
+ id: z.ZodString;
884
+ url: z.ZodString;
885
+ preview_url: z.ZodString;
886
+ remote_url: z.ZodNullable<z.ZodString>;
887
+ description: z.ZodNullable<z.ZodString>;
888
+ bluehash: z.ZodString;
889
+ }, {
890
+ type: z.ZodLiteral<"unknown">;
891
+ }>, "strip", z.ZodTypeAny, {
892
+ id: string;
893
+ type: "unknown";
894
+ url: string;
895
+ description: string | null;
896
+ preview_url: string;
897
+ remote_url: string | null;
898
+ bluehash: string;
899
+ }, {
900
+ id: string;
901
+ type: "unknown";
902
+ url: string;
903
+ description: string | null;
904
+ preview_url: string;
905
+ remote_url: string | null;
906
+ bluehash: string;
907
+ }>]>, "many">;
908
+ application: z.ZodOptional<z.ZodObject<{
909
+ name: z.ZodString;
910
+ website: z.ZodNullable<z.ZodString>;
911
+ }, "strip", z.ZodTypeAny, {
912
+ name: string;
913
+ website: string | null;
914
+ }, {
915
+ name: string;
916
+ website: string | null;
917
+ }>>;
918
+ emojis: z.ZodArray<z.ZodObject<{
919
+ shortcode: z.ZodString;
920
+ static_url: z.ZodString;
921
+ url: z.ZodString;
922
+ visible_in_picker: z.ZodBoolean;
923
+ category: z.ZodNullable<z.ZodString>;
924
+ }, "strip", z.ZodTypeAny, {
925
+ url: string;
926
+ shortcode: string;
927
+ static_url: string;
928
+ visible_in_picker: boolean;
929
+ category: string | null;
930
+ }, {
931
+ url: string;
932
+ shortcode: string;
933
+ static_url: string;
934
+ visible_in_picker: boolean;
935
+ category: string | null;
936
+ }>, "many">;
937
+ reblogs_count: z.ZodNumber;
938
+ favourites_count: z.ZodNumber;
939
+ replies_count: z.ZodNumber;
940
+ url: z.ZodNullable<z.ZodString>;
941
+ in_reply_to_id: z.ZodNullable<z.ZodString>;
942
+ in_reply_to_account_id: z.ZodNullable<z.ZodString>;
943
+ poll: z.ZodNullable<z.ZodObject<{
944
+ id: z.ZodString;
945
+ expires_at: z.ZodNullable<z.ZodString>;
946
+ expired: z.ZodBoolean;
947
+ multiple: z.ZodBoolean;
948
+ votes_count: z.ZodNumber;
949
+ voters_count: z.ZodNumber;
950
+ options: z.ZodArray<z.ZodObject<{
951
+ title: z.ZodString;
952
+ votes_count: z.ZodNullable<z.ZodNumber>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ title: string;
955
+ votes_count: number | null;
956
+ }, {
957
+ title: string;
958
+ votes_count: number | null;
959
+ }>, "many">;
960
+ emojis: z.ZodArray<z.ZodObject<{
961
+ shortcode: z.ZodString;
962
+ static_url: z.ZodString;
963
+ url: z.ZodString;
964
+ visible_in_picker: z.ZodBoolean;
965
+ category: z.ZodNullable<z.ZodString>;
966
+ }, "strip", z.ZodTypeAny, {
967
+ url: string;
968
+ shortcode: string;
969
+ static_url: string;
970
+ visible_in_picker: boolean;
971
+ category: string | null;
972
+ }, {
973
+ url: string;
974
+ shortcode: string;
975
+ static_url: string;
976
+ visible_in_picker: boolean;
977
+ category: string | null;
978
+ }>, "many">;
979
+ voted: z.ZodOptional<z.ZodBoolean>;
980
+ own_votes: z.ZodArray<z.ZodNumber, "many">;
981
+ }, "strip", z.ZodTypeAny, {
982
+ id: string;
983
+ options: {
984
+ title: string;
985
+ votes_count: number | null;
986
+ }[];
987
+ emojis: {
988
+ url: string;
989
+ shortcode: string;
990
+ static_url: string;
991
+ visible_in_picker: boolean;
992
+ category: string | null;
993
+ }[];
994
+ expires_at: string | null;
995
+ votes_count: number;
996
+ expired: boolean;
997
+ multiple: boolean;
998
+ voters_count: number;
999
+ own_votes: number[];
1000
+ voted?: boolean | undefined;
1001
+ }, {
1002
+ id: string;
1003
+ options: {
1004
+ title: string;
1005
+ votes_count: number | null;
1006
+ }[];
1007
+ emojis: {
1008
+ url: string;
1009
+ shortcode: string;
1010
+ static_url: string;
1011
+ visible_in_picker: boolean;
1012
+ category: string | null;
1013
+ }[];
1014
+ expires_at: string | null;
1015
+ votes_count: number;
1016
+ expired: boolean;
1017
+ multiple: boolean;
1018
+ voters_count: number;
1019
+ own_votes: number[];
1020
+ voted?: boolean | undefined;
1021
+ }>>;
1022
+ card: z.ZodNullable<z.ZodObject<{
1023
+ url: z.ZodString;
1024
+ title: z.ZodString;
1025
+ description: z.ZodString;
1026
+ type: z.ZodEnum<["link", "photo", "video", "rich"]>;
1027
+ author_name: z.ZodString;
1028
+ author_url: z.ZodString;
1029
+ provider_name: z.ZodString;
1030
+ provider_url: z.ZodString;
1031
+ html: z.ZodString;
1032
+ width: z.ZodNumber;
1033
+ height: z.ZodNumber;
1034
+ image: z.ZodNullable<z.ZodString>;
1035
+ embed_url: z.ZodString;
1036
+ blurhash: z.ZodNullable<z.ZodString>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ type: "link" | "photo" | "video" | "rich";
1039
+ url: string;
1040
+ blurhash: string | null;
1041
+ width: number;
1042
+ height: number;
1043
+ description: string;
1044
+ title: string;
1045
+ author_name: string;
1046
+ author_url: string;
1047
+ provider_name: string;
1048
+ provider_url: string;
1049
+ html: string;
1050
+ image: string | null;
1051
+ embed_url: string;
1052
+ }, {
1053
+ type: "link" | "photo" | "video" | "rich";
1054
+ url: string;
1055
+ blurhash: string | null;
1056
+ width: number;
1057
+ height: number;
1058
+ description: string;
1059
+ title: string;
1060
+ author_name: string;
1061
+ author_url: string;
1062
+ provider_name: string;
1063
+ provider_url: string;
1064
+ html: string;
1065
+ image: string | null;
1066
+ embed_url: string;
1067
+ }>>;
1068
+ language: z.ZodNullable<z.ZodString>;
1069
+ text: z.ZodNullable<z.ZodString>;
1070
+ created_at: z.ZodString;
1071
+ edited_at: z.ZodNullable<z.ZodString>;
1072
+ favourited: z.ZodOptional<z.ZodBoolean>;
1073
+ reblogged: z.ZodOptional<z.ZodBoolean>;
1074
+ muted: z.ZodOptional<z.ZodBoolean>;
1075
+ bookmarked: z.ZodOptional<z.ZodBoolean>;
1076
+ pinned: z.ZodOptional<z.ZodBoolean>;
1077
+ filtered: z.ZodOptional<z.ZodObject<{
1078
+ filter: z.ZodObject<{
1079
+ id: z.ZodString;
1080
+ title: z.ZodString;
1081
+ context: z.ZodArray<z.ZodEnum<["home", "notifications", "public", "thread", "account"]>, "many">;
1082
+ expires_at: z.ZodNullable<z.ZodString>;
1083
+ filter_action: z.ZodEnum<["warn", "hide"]>;
1084
+ keywords: z.ZodArray<z.ZodObject<{
1085
+ id: z.ZodString;
1086
+ keyword: z.ZodString;
1087
+ whole_word: z.ZodBoolean;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ id: string;
1090
+ keyword: string;
1091
+ whole_word: boolean;
1092
+ }, {
1093
+ id: string;
1094
+ keyword: string;
1095
+ whole_word: boolean;
1096
+ }>, "many">;
1097
+ statuses: z.ZodArray<z.ZodObject<{
1098
+ id: z.ZodString;
1099
+ status_id: z.ZodString;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ id: string;
1102
+ status_id: string;
1103
+ }, {
1104
+ id: string;
1105
+ status_id: string;
1106
+ }>, "many">;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ id: string;
1109
+ title: string;
1110
+ context: ("home" | "notifications" | "public" | "thread" | "account")[];
1111
+ expires_at: string | null;
1112
+ filter_action: "warn" | "hide";
1113
+ keywords: {
1114
+ id: string;
1115
+ keyword: string;
1116
+ whole_word: boolean;
1117
+ }[];
1118
+ statuses: {
1119
+ id: string;
1120
+ status_id: string;
1121
+ }[];
1122
+ }, {
1123
+ id: string;
1124
+ title: string;
1125
+ context: ("home" | "notifications" | "public" | "thread" | "account")[];
1126
+ expires_at: string | null;
1127
+ filter_action: "warn" | "hide";
1128
+ keywords: {
1129
+ id: string;
1130
+ keyword: string;
1131
+ whole_word: boolean;
1132
+ }[];
1133
+ statuses: {
1134
+ id: string;
1135
+ status_id: string;
1136
+ }[];
1137
+ }>;
1138
+ keyword_matches: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
1139
+ status_matches: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ filter: {
1142
+ id: string;
1143
+ title: string;
1144
+ context: ("home" | "notifications" | "public" | "thread" | "account")[];
1145
+ expires_at: string | null;
1146
+ filter_action: "warn" | "hide";
1147
+ keywords: {
1148
+ id: string;
1149
+ keyword: string;
1150
+ whole_word: boolean;
1151
+ }[];
1152
+ statuses: {
1153
+ id: string;
1154
+ status_id: string;
1155
+ }[];
1156
+ };
1157
+ keyword_matches: string[] | null;
1158
+ status_matches: string[] | null;
1159
+ }, {
1160
+ filter: {
1161
+ id: string;
1162
+ title: string;
1163
+ context: ("home" | "notifications" | "public" | "thread" | "account")[];
1164
+ expires_at: string | null;
1165
+ filter_action: "warn" | "hide";
1166
+ keywords: {
1167
+ id: string;
1168
+ keyword: string;
1169
+ whole_word: boolean;
1170
+ }[];
1171
+ statuses: {
1172
+ id: string;
1173
+ status_id: string;
1174
+ }[];
1175
+ };
1176
+ keyword_matches: string[] | null;
1177
+ status_matches: string[] | null;
1178
+ }>>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ id: string;
1181
+ url: string | null;
1182
+ content: string;
1183
+ emojis: {
1184
+ url: string;
1185
+ shortcode: string;
1186
+ static_url: string;
1187
+ visible_in_picker: boolean;
1188
+ category: string | null;
1189
+ }[];
1190
+ created_at: string;
1191
+ account: {
1192
+ id: string;
1193
+ url: string;
1194
+ username: string;
1195
+ acct: string;
1196
+ display_name: string;
1197
+ note: string;
1198
+ avatar: string;
1199
+ avatar_static: string;
1200
+ header: string;
1201
+ header_static: string;
1202
+ loacked: string;
1203
+ fields: {
1204
+ value: string;
1205
+ name: string;
1206
+ verified_at: string | null;
1207
+ }[];
1208
+ emojis: {
1209
+ url: string;
1210
+ shortcode: string;
1211
+ static_url: string;
1212
+ visible_in_picker: boolean;
1213
+ category: string | null;
1214
+ }[];
1215
+ bot: boolean;
1216
+ group: boolean;
1217
+ discoverable: boolean | null;
1218
+ created_at: string;
1219
+ last_status_at: string | null;
1220
+ statuses_count: number;
1221
+ followers_count: number;
1222
+ following_count: number;
1223
+ moved: {
1224
+ id: string;
1225
+ url: string;
1226
+ username: string;
1227
+ acct: string;
1228
+ display_name: string;
1229
+ note: string;
1230
+ avatar: string;
1231
+ avatar_static: string;
1232
+ header: string;
1233
+ header_static: string;
1234
+ loacked: string;
1235
+ fields: {
1236
+ value: string;
1237
+ name: string;
1238
+ verified_at: string | null;
1239
+ }[];
1240
+ emojis: {
1241
+ url: string;
1242
+ shortcode: string;
1243
+ static_url: string;
1244
+ visible_in_picker: boolean;
1245
+ category: string | null;
1246
+ }[];
1247
+ bot: boolean;
1248
+ group: boolean;
1249
+ discoverable: boolean | null;
1250
+ created_at: string;
1251
+ last_status_at: string | null;
1252
+ statuses_count: number;
1253
+ followers_count: number;
1254
+ following_count: number;
1255
+ noindex?: boolean | null | undefined;
1256
+ suspended?: boolean | undefined;
1257
+ limited?: boolean | undefined;
1258
+ } | null;
1259
+ noindex?: boolean | null | undefined;
1260
+ suspended?: boolean | undefined;
1261
+ limited?: boolean | undefined;
1262
+ };
1263
+ uri: string;
1264
+ visibility: "public" | "unlist" | "private" | "direct";
1265
+ sensitive: boolean;
1266
+ spoiler_text: string;
1267
+ media_attachments: ({
1268
+ id: string;
1269
+ type: "gifv";
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
+ width: number;
1278
+ height: number;
1279
+ duration: number;
1280
+ fps: number;
1281
+ size: string;
1282
+ aspect: number;
1283
+ original: {
1284
+ width: number;
1285
+ height: number;
1286
+ duration: number;
1287
+ frame_rate: string;
1288
+ bitrate: number;
1289
+ };
1290
+ small?: {
1291
+ width: number;
1292
+ height: number;
1293
+ size: string;
1294
+ aspect: number;
1295
+ } | null | undefined;
1296
+ };
1297
+ } | {
1298
+ id: string;
1299
+ type: "image";
1300
+ url: string;
1301
+ description: string | null;
1302
+ preview_url: string;
1303
+ remote_url: string | null;
1304
+ bluehash: string;
1305
+ meta: {
1306
+ original: {
1307
+ width: number;
1308
+ height: number;
1309
+ size: string;
1310
+ aspect: number;
1311
+ };
1312
+ small?: {
1313
+ width: number;
1314
+ height: number;
1315
+ size: string;
1316
+ aspect: number;
1317
+ } | null | undefined;
1318
+ focus?: {
1319
+ x: number;
1320
+ y: number;
1321
+ } | null | undefined;
1322
+ };
1323
+ } | {
1324
+ id: string;
1325
+ type: "video";
1326
+ url: string;
1327
+ description: string | null;
1328
+ preview_url: string;
1329
+ remote_url: string | null;
1330
+ bluehash: string;
1331
+ meta: {
1332
+ length: string;
1333
+ width: number;
1334
+ height: number;
1335
+ duration: number;
1336
+ fps: number;
1337
+ size: string;
1338
+ aspect: number;
1339
+ original: {
1340
+ width: number;
1341
+ height: number;
1342
+ duration: number;
1343
+ frame_rate: string;
1344
+ bitrate: number;
1345
+ };
1346
+ audio_encode: string;
1347
+ audio_bitrate: string;
1348
+ audio_channels: string;
1349
+ small?: {
1350
+ width: number;
1351
+ height: number;
1352
+ size: string;
1353
+ aspect: number;
1354
+ } | null | undefined;
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
+ } | {
1376
+ id: string;
1377
+ type: "unknown";
1378
+ url: string;
1379
+ description: string | null;
1380
+ preview_url: string;
1381
+ remote_url: string | null;
1382
+ bluehash: string;
1383
+ })[];
1384
+ reblogs_count: number;
1385
+ favourites_count: number;
1386
+ replies_count: number;
1387
+ in_reply_to_id: string | null;
1388
+ in_reply_to_account_id: string | null;
1389
+ poll: {
1390
+ id: string;
1391
+ options: {
1392
+ title: string;
1393
+ votes_count: number | null;
1394
+ }[];
1395
+ emojis: {
1396
+ url: string;
1397
+ shortcode: string;
1398
+ static_url: string;
1399
+ visible_in_picker: boolean;
1400
+ category: string | null;
1401
+ }[];
1402
+ expires_at: string | null;
1403
+ votes_count: number;
1404
+ expired: boolean;
1405
+ multiple: boolean;
1406
+ voters_count: number;
1407
+ own_votes: number[];
1408
+ voted?: boolean | undefined;
1409
+ } | null;
1410
+ card: {
1411
+ type: "link" | "photo" | "video" | "rich";
1412
+ url: string;
1413
+ blurhash: string | null;
1414
+ width: number;
1415
+ height: number;
1416
+ description: string;
1417
+ title: string;
1418
+ author_name: string;
1419
+ author_url: string;
1420
+ provider_name: string;
1421
+ provider_url: string;
1422
+ html: string;
1423
+ image: string | null;
1424
+ embed_url: string;
1425
+ } | null;
1426
+ language: string | null;
1427
+ text: string | null;
1428
+ edited_at: string | null;
1429
+ application?: {
1430
+ name: string;
1431
+ website: string | null;
1432
+ } | undefined;
1433
+ favourited?: boolean | undefined;
1434
+ reblogged?: boolean | undefined;
1435
+ muted?: boolean | undefined;
1436
+ bookmarked?: boolean | undefined;
1437
+ pinned?: boolean | undefined;
1438
+ filtered?: {
1439
+ filter: {
1440
+ id: string;
1441
+ title: string;
1442
+ context: ("home" | "notifications" | "public" | "thread" | "account")[];
1443
+ expires_at: string | null;
1444
+ filter_action: "warn" | "hide";
1445
+ keywords: {
1446
+ id: string;
1447
+ keyword: string;
1448
+ whole_word: boolean;
1449
+ }[];
1450
+ statuses: {
1451
+ id: string;
1452
+ status_id: string;
1453
+ }[];
1454
+ };
1455
+ keyword_matches: string[] | null;
1456
+ status_matches: string[] | null;
1457
+ } | undefined;
1458
+ }, {
1459
+ id: string;
1460
+ url: string | null;
1461
+ content: string;
1462
+ emojis: {
1463
+ url: string;
1464
+ shortcode: string;
1465
+ static_url: string;
1466
+ visible_in_picker: boolean;
1467
+ category: string | null;
1468
+ }[];
1469
+ created_at: string;
1470
+ account: {
1471
+ id: string;
1472
+ url: string;
1473
+ username: string;
1474
+ acct: string;
1475
+ display_name: string;
1476
+ note: string;
1477
+ avatar: string;
1478
+ avatar_static: string;
1479
+ header: string;
1480
+ header_static: string;
1481
+ loacked: string;
1482
+ fields: {
1483
+ value: string;
1484
+ name: string;
1485
+ verified_at: string | null;
1486
+ }[];
1487
+ emojis: {
1488
+ url: string;
1489
+ shortcode: string;
1490
+ static_url: string;
1491
+ visible_in_picker: boolean;
1492
+ category: string | null;
1493
+ }[];
1494
+ bot: boolean;
1495
+ group: boolean;
1496
+ discoverable: boolean | null;
1497
+ created_at: string;
1498
+ last_status_at: string | null;
1499
+ statuses_count: number;
1500
+ followers_count: number;
1501
+ following_count: number;
1502
+ moved: {
1503
+ id: string;
1504
+ url: string;
1505
+ username: string;
1506
+ acct: string;
1507
+ display_name: string;
1508
+ note: string;
1509
+ avatar: string;
1510
+ avatar_static: string;
1511
+ header: string;
1512
+ header_static: string;
1513
+ loacked: string;
1514
+ fields: {
1515
+ value: string;
1516
+ name: string;
1517
+ verified_at: string | null;
1518
+ }[];
1519
+ emojis: {
1520
+ url: string;
1521
+ shortcode: string;
1522
+ static_url: string;
1523
+ visible_in_picker: boolean;
1524
+ category: string | null;
1525
+ }[];
1526
+ bot: boolean;
1527
+ group: boolean;
1528
+ discoverable: boolean | null;
1529
+ created_at: string;
1530
+ last_status_at: string | null;
1531
+ statuses_count: number;
1532
+ followers_count: number;
1533
+ following_count: number;
1534
+ noindex?: boolean | null | undefined;
1535
+ suspended?: boolean | undefined;
1536
+ limited?: boolean | undefined;
1537
+ } | null;
1538
+ noindex?: boolean | null | undefined;
1539
+ suspended?: boolean | undefined;
1540
+ limited?: boolean | undefined;
1541
+ };
1542
+ uri: string;
1543
+ visibility: "public" | "unlist" | "private" | "direct";
1544
+ sensitive: boolean;
1545
+ spoiler_text: string;
1546
+ media_attachments: ({
1547
+ id: string;
1548
+ type: "gifv";
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
+ width: number;
1557
+ height: number;
1558
+ duration: number;
1559
+ fps: number;
1560
+ size: string;
1561
+ aspect: number;
1562
+ original: {
1563
+ width: number;
1564
+ height: number;
1565
+ duration: number;
1566
+ frame_rate: string;
1567
+ bitrate: number;
1568
+ };
1569
+ small?: {
1570
+ width: number;
1571
+ height: number;
1572
+ size: string;
1573
+ aspect: number;
1574
+ } | null | undefined;
1575
+ };
1576
+ } | {
1577
+ id: string;
1578
+ type: "image";
1579
+ url: string;
1580
+ description: string | null;
1581
+ preview_url: string;
1582
+ remote_url: string | null;
1583
+ bluehash: string;
1584
+ meta: {
1585
+ original: {
1586
+ width: number;
1587
+ height: number;
1588
+ size: string;
1589
+ aspect: number;
1590
+ };
1591
+ small?: {
1592
+ width: number;
1593
+ height: number;
1594
+ size: string;
1595
+ aspect: number;
1596
+ } | null | undefined;
1597
+ focus?: {
1598
+ x: number;
1599
+ y: number;
1600
+ } | null | undefined;
1601
+ };
1602
+ } | {
1603
+ id: string;
1604
+ type: "video";
1605
+ url: string;
1606
+ description: string | null;
1607
+ preview_url: string;
1608
+ remote_url: string | null;
1609
+ bluehash: string;
1610
+ meta: {
1611
+ length: string;
1612
+ width: number;
1613
+ height: number;
1614
+ duration: number;
1615
+ fps: number;
1616
+ size: string;
1617
+ aspect: number;
1618
+ original: {
1619
+ width: number;
1620
+ height: number;
1621
+ duration: number;
1622
+ frame_rate: string;
1623
+ bitrate: number;
1624
+ };
1625
+ audio_encode: string;
1626
+ audio_bitrate: string;
1627
+ audio_channels: string;
1628
+ small?: {
1629
+ width: number;
1630
+ height: number;
1631
+ size: string;
1632
+ aspect: number;
1633
+ } | null | undefined;
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
+ } | {
1655
+ id: string;
1656
+ type: "unknown";
1657
+ url: string;
1658
+ description: string | null;
1659
+ preview_url: string;
1660
+ remote_url: string | null;
1661
+ bluehash: string;
1662
+ })[];
1663
+ reblogs_count: number;
1664
+ favourites_count: number;
1665
+ replies_count: number;
1666
+ in_reply_to_id: string | null;
1667
+ in_reply_to_account_id: string | null;
1668
+ poll: {
1669
+ id: string;
1670
+ options: {
1671
+ title: string;
1672
+ votes_count: number | null;
1673
+ }[];
1674
+ emojis: {
1675
+ url: string;
1676
+ shortcode: string;
1677
+ static_url: string;
1678
+ visible_in_picker: boolean;
1679
+ category: string | null;
1680
+ }[];
1681
+ expires_at: string | null;
1682
+ votes_count: number;
1683
+ expired: boolean;
1684
+ multiple: boolean;
1685
+ voters_count: number;
1686
+ own_votes: number[];
1687
+ voted?: boolean | undefined;
1688
+ } | null;
1689
+ card: {
1690
+ type: "link" | "photo" | "video" | "rich";
1691
+ url: string;
1692
+ blurhash: string | null;
1693
+ width: number;
1694
+ height: number;
1695
+ description: string;
1696
+ title: string;
1697
+ author_name: string;
1698
+ author_url: string;
1699
+ provider_name: string;
1700
+ provider_url: string;
1701
+ html: string;
1702
+ image: string | null;
1703
+ embed_url: string;
1704
+ } | null;
1705
+ language: string | null;
1706
+ text: string | null;
1707
+ edited_at: string | null;
1708
+ application?: {
1709
+ name: string;
1710
+ website: string | null;
1711
+ } | undefined;
1712
+ favourited?: boolean | undefined;
1713
+ reblogged?: boolean | undefined;
1714
+ muted?: boolean | undefined;
1715
+ bookmarked?: boolean | undefined;
1716
+ pinned?: boolean | undefined;
1717
+ filtered?: {
1718
+ filter: {
1719
+ id: string;
1720
+ title: string;
1721
+ context: ("home" | "notifications" | "public" | "thread" | "account")[];
1722
+ expires_at: string | null;
1723
+ filter_action: "warn" | "hide";
1724
+ keywords: {
1725
+ id: string;
1726
+ keyword: string;
1727
+ whole_word: boolean;
1728
+ }[];
1729
+ statuses: {
1730
+ id: string;
1731
+ status_id: string;
1732
+ }[];
1733
+ };
1734
+ keyword_matches: string[] | null;
1735
+ status_matches: string[] | null;
1736
+ } | undefined;
1737
+ }>;
1738
+ export type BaseStatus = z.infer<typeof BaseStatus>;