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