@llun/activities.schema 0.2.30 → 0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{person.js → actor.js} +8 -5
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/mastodon/status/base.js +4 -0
- package/dist/esm/{person.js → actor.js} +7 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/mastodon/status/base.js +4 -0
- package/dist/types/actor.d.ts +370 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/like.d.ts +28 -28
- package/dist/types/mastodon/mediaAttachment/audio.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/base.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/gifv.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/image.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/index.d.ts +20 -20
- package/dist/types/mastodon/mediaAttachment/unknown.d.ts +2 -2
- package/dist/types/mastodon/mediaAttachment/video.d.ts +2 -2
- package/dist/types/mastodon/previewCard.d.ts +4 -4
- package/dist/types/mastodon/status/base.d.ts +74 -28
- package/dist/types/mastodon/status/index.d.ts +182 -70
- package/dist/types/note/attachment.d.ts +2 -2
- package/dist/types/note/baseContent.d.ts +18 -18
- package/dist/types/note/document.d.ts +2 -2
- package/dist/types/note/emoji.d.ts +2 -2
- package/dist/types/note/tag.d.ts +2 -2
- package/dist/types/note.d.ts +18 -18
- package/dist/types/question.d.ts +18 -18
- package/dist/types/undo.d.ts +38 -38
- package/package.json +1 -1
- package/src/{person.ts → actor.ts} +11 -4
- package/src/index.ts +1 -1
- package/src/mastodon/status/base.ts +7 -0
- package/dist/types/person.d.ts +0 -121
package/dist/types/like.d.ts
CHANGED
|
@@ -93,19 +93,19 @@ export declare const Like: z.ZodObject<{
|
|
|
93
93
|
type: "Document";
|
|
94
94
|
mediaType: string;
|
|
95
95
|
url: string;
|
|
96
|
+
name?: string | null | undefined;
|
|
96
97
|
blurhash?: string | undefined;
|
|
97
98
|
width?: number | undefined;
|
|
98
99
|
height?: number | undefined;
|
|
99
|
-
name?: string | null | undefined;
|
|
100
100
|
focalPoint?: [number, number] | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
type: "Document";
|
|
103
103
|
mediaType: string;
|
|
104
104
|
url: string;
|
|
105
|
+
name?: string | null | undefined;
|
|
105
106
|
blurhash?: string | undefined;
|
|
106
107
|
width?: number | undefined;
|
|
107
108
|
height?: number | undefined;
|
|
108
|
-
name?: string | null | undefined;
|
|
109
109
|
focalPoint?: [number, number] | undefined;
|
|
110
110
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
111
111
|
type: z.ZodLiteral<"PropertyValue">;
|
|
@@ -132,19 +132,19 @@ export declare const Like: z.ZodObject<{
|
|
|
132
132
|
type: "Document";
|
|
133
133
|
mediaType: string;
|
|
134
134
|
url: string;
|
|
135
|
+
name?: string | null | undefined;
|
|
135
136
|
blurhash?: string | undefined;
|
|
136
137
|
width?: number | undefined;
|
|
137
138
|
height?: number | undefined;
|
|
138
|
-
name?: string | null | undefined;
|
|
139
139
|
focalPoint?: [number, number] | undefined;
|
|
140
140
|
}, {
|
|
141
141
|
type: "Document";
|
|
142
142
|
mediaType: string;
|
|
143
143
|
url: string;
|
|
144
|
+
name?: string | null | undefined;
|
|
144
145
|
blurhash?: string | undefined;
|
|
145
146
|
width?: number | undefined;
|
|
146
147
|
height?: number | undefined;
|
|
147
|
-
name?: string | null | undefined;
|
|
148
148
|
focalPoint?: [number, number] | undefined;
|
|
149
149
|
}>]>, "many">]>>>;
|
|
150
150
|
tag: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -179,21 +179,21 @@ export declare const Like: z.ZodObject<{
|
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
180
|
type: "Emoji";
|
|
181
181
|
name: string;
|
|
182
|
-
updated: string;
|
|
183
182
|
icon: {
|
|
184
183
|
type: "Image";
|
|
185
184
|
url: string;
|
|
186
185
|
mediaType?: string | null | undefined;
|
|
187
186
|
};
|
|
187
|
+
updated: string;
|
|
188
188
|
}, {
|
|
189
189
|
type: "Emoji";
|
|
190
190
|
name: string;
|
|
191
|
-
updated: string;
|
|
192
191
|
icon: {
|
|
193
192
|
type: "Image";
|
|
194
193
|
url: string;
|
|
195
194
|
mediaType?: string | null | undefined;
|
|
196
195
|
};
|
|
196
|
+
updated: string;
|
|
197
197
|
}>, z.ZodObject<{
|
|
198
198
|
type: z.ZodLiteral<"Hashtag">;
|
|
199
199
|
href: z.ZodString;
|
|
@@ -238,21 +238,21 @@ export declare const Like: z.ZodObject<{
|
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
type: "Emoji";
|
|
240
240
|
name: string;
|
|
241
|
-
updated: string;
|
|
242
241
|
icon: {
|
|
243
242
|
type: "Image";
|
|
244
243
|
url: string;
|
|
245
244
|
mediaType?: string | null | undefined;
|
|
246
245
|
};
|
|
246
|
+
updated: string;
|
|
247
247
|
}, {
|
|
248
248
|
type: "Emoji";
|
|
249
249
|
name: string;
|
|
250
|
-
updated: string;
|
|
251
250
|
icon: {
|
|
252
251
|
type: "Image";
|
|
253
252
|
url: string;
|
|
254
253
|
mediaType?: string | null | undefined;
|
|
255
254
|
};
|
|
255
|
+
updated: string;
|
|
256
256
|
}>, z.ZodObject<{
|
|
257
257
|
type: z.ZodLiteral<"Hashtag">;
|
|
258
258
|
href: z.ZodString;
|
|
@@ -280,12 +280,12 @@ export declare const Like: z.ZodObject<{
|
|
|
280
280
|
tag: {
|
|
281
281
|
type: "Emoji";
|
|
282
282
|
name: string;
|
|
283
|
-
updated: string;
|
|
284
283
|
icon: {
|
|
285
284
|
type: "Image";
|
|
286
285
|
url: string;
|
|
287
286
|
mediaType?: string | null | undefined;
|
|
288
287
|
};
|
|
288
|
+
updated: string;
|
|
289
289
|
} | {
|
|
290
290
|
type: "Mention";
|
|
291
291
|
name: string;
|
|
@@ -297,12 +297,12 @@ export declare const Like: z.ZodObject<{
|
|
|
297
297
|
} | ({
|
|
298
298
|
type: "Emoji";
|
|
299
299
|
name: string;
|
|
300
|
-
updated: string;
|
|
301
300
|
icon: {
|
|
302
301
|
type: "Image";
|
|
303
302
|
url: string;
|
|
304
303
|
mediaType?: string | null | undefined;
|
|
305
304
|
};
|
|
305
|
+
updated: string;
|
|
306
306
|
} | {
|
|
307
307
|
type: "Mention";
|
|
308
308
|
name: string;
|
|
@@ -313,9 +313,9 @@ export declare const Like: z.ZodObject<{
|
|
|
313
313
|
href: string;
|
|
314
314
|
})[];
|
|
315
315
|
url?: string | null | undefined;
|
|
316
|
+
summary?: string | null | undefined;
|
|
316
317
|
updated?: string | null | undefined;
|
|
317
318
|
inReplyTo?: string | null | undefined;
|
|
318
|
-
summary?: string | null | undefined;
|
|
319
319
|
summaryMap?: Record<string, string> | null | undefined;
|
|
320
320
|
content?: string | string[] | null | undefined;
|
|
321
321
|
contentMap?: string[] | Record<string, string> | null | undefined;
|
|
@@ -338,10 +338,10 @@ export declare const Like: z.ZodObject<{
|
|
|
338
338
|
type: "Document";
|
|
339
339
|
mediaType: string;
|
|
340
340
|
url: string;
|
|
341
|
+
name?: string | null | undefined;
|
|
341
342
|
blurhash?: string | undefined;
|
|
342
343
|
width?: number | undefined;
|
|
343
344
|
height?: number | undefined;
|
|
344
|
-
name?: string | null | undefined;
|
|
345
345
|
focalPoint?: [number, number] | undefined;
|
|
346
346
|
} | {
|
|
347
347
|
type: "PropertyValue";
|
|
@@ -351,10 +351,10 @@ export declare const Like: z.ZodObject<{
|
|
|
351
351
|
type: "Document";
|
|
352
352
|
mediaType: string;
|
|
353
353
|
url: string;
|
|
354
|
+
name?: string | null | undefined;
|
|
354
355
|
blurhash?: string | undefined;
|
|
355
356
|
width?: number | undefined;
|
|
356
357
|
height?: number | undefined;
|
|
357
|
-
name?: string | null | undefined;
|
|
358
358
|
focalPoint?: [number, number] | undefined;
|
|
359
359
|
} | {
|
|
360
360
|
type: "PropertyValue";
|
|
@@ -371,12 +371,12 @@ export declare const Like: z.ZodObject<{
|
|
|
371
371
|
tag: {
|
|
372
372
|
type: "Emoji";
|
|
373
373
|
name: string;
|
|
374
|
-
updated: string;
|
|
375
374
|
icon: {
|
|
376
375
|
type: "Image";
|
|
377
376
|
url: string;
|
|
378
377
|
mediaType?: string | null | undefined;
|
|
379
378
|
};
|
|
379
|
+
updated: string;
|
|
380
380
|
} | {
|
|
381
381
|
type: "Mention";
|
|
382
382
|
name: string;
|
|
@@ -388,12 +388,12 @@ export declare const Like: z.ZodObject<{
|
|
|
388
388
|
} | ({
|
|
389
389
|
type: "Emoji";
|
|
390
390
|
name: string;
|
|
391
|
-
updated: string;
|
|
392
391
|
icon: {
|
|
393
392
|
type: "Image";
|
|
394
393
|
url: string;
|
|
395
394
|
mediaType?: string | null | undefined;
|
|
396
395
|
};
|
|
396
|
+
updated: string;
|
|
397
397
|
} | {
|
|
398
398
|
type: "Mention";
|
|
399
399
|
name: string;
|
|
@@ -404,9 +404,9 @@ export declare const Like: z.ZodObject<{
|
|
|
404
404
|
href: string;
|
|
405
405
|
})[];
|
|
406
406
|
url?: string | null | undefined;
|
|
407
|
+
summary?: string | null | undefined;
|
|
407
408
|
updated?: string | null | undefined;
|
|
408
409
|
inReplyTo?: string | null | undefined;
|
|
409
|
-
summary?: string | null | undefined;
|
|
410
410
|
summaryMap?: Record<string, string> | null | undefined;
|
|
411
411
|
content?: string | string[] | null | undefined;
|
|
412
412
|
contentMap?: string[] | Record<string, string> | null | undefined;
|
|
@@ -429,10 +429,10 @@ export declare const Like: z.ZodObject<{
|
|
|
429
429
|
type: "Document";
|
|
430
430
|
mediaType: string;
|
|
431
431
|
url: string;
|
|
432
|
+
name?: string | null | undefined;
|
|
432
433
|
blurhash?: string | undefined;
|
|
433
434
|
width?: number | undefined;
|
|
434
435
|
height?: number | undefined;
|
|
435
|
-
name?: string | null | undefined;
|
|
436
436
|
focalPoint?: [number, number] | undefined;
|
|
437
437
|
} | {
|
|
438
438
|
type: "PropertyValue";
|
|
@@ -442,10 +442,10 @@ export declare const Like: z.ZodObject<{
|
|
|
442
442
|
type: "Document";
|
|
443
443
|
mediaType: string;
|
|
444
444
|
url: string;
|
|
445
|
+
name?: string | null | undefined;
|
|
445
446
|
blurhash?: string | undefined;
|
|
446
447
|
width?: number | undefined;
|
|
447
448
|
height?: number | undefined;
|
|
448
|
-
name?: string | null | undefined;
|
|
449
449
|
focalPoint?: [number, number] | undefined;
|
|
450
450
|
} | {
|
|
451
451
|
type: "PropertyValue";
|
|
@@ -464,12 +464,12 @@ export declare const Like: z.ZodObject<{
|
|
|
464
464
|
tag: {
|
|
465
465
|
type: "Emoji";
|
|
466
466
|
name: string;
|
|
467
|
-
updated: string;
|
|
468
467
|
icon: {
|
|
469
468
|
type: "Image";
|
|
470
469
|
url: string;
|
|
471
470
|
mediaType?: string | null | undefined;
|
|
472
471
|
};
|
|
472
|
+
updated: string;
|
|
473
473
|
} | {
|
|
474
474
|
type: "Mention";
|
|
475
475
|
name: string;
|
|
@@ -481,12 +481,12 @@ export declare const Like: z.ZodObject<{
|
|
|
481
481
|
} | ({
|
|
482
482
|
type: "Emoji";
|
|
483
483
|
name: string;
|
|
484
|
-
updated: string;
|
|
485
484
|
icon: {
|
|
486
485
|
type: "Image";
|
|
487
486
|
url: string;
|
|
488
487
|
mediaType?: string | null | undefined;
|
|
489
488
|
};
|
|
489
|
+
updated: string;
|
|
490
490
|
} | {
|
|
491
491
|
type: "Mention";
|
|
492
492
|
name: string;
|
|
@@ -497,9 +497,9 @@ export declare const Like: z.ZodObject<{
|
|
|
497
497
|
href: string;
|
|
498
498
|
})[];
|
|
499
499
|
url?: string | null | undefined;
|
|
500
|
+
summary?: string | null | undefined;
|
|
500
501
|
updated?: string | null | undefined;
|
|
501
502
|
inReplyTo?: string | null | undefined;
|
|
502
|
-
summary?: string | null | undefined;
|
|
503
503
|
summaryMap?: Record<string, string> | null | undefined;
|
|
504
504
|
content?: string | string[] | null | undefined;
|
|
505
505
|
contentMap?: string[] | Record<string, string> | null | undefined;
|
|
@@ -522,10 +522,10 @@ export declare const Like: z.ZodObject<{
|
|
|
522
522
|
type: "Document";
|
|
523
523
|
mediaType: string;
|
|
524
524
|
url: string;
|
|
525
|
+
name?: string | null | undefined;
|
|
525
526
|
blurhash?: string | undefined;
|
|
526
527
|
width?: number | undefined;
|
|
527
528
|
height?: number | undefined;
|
|
528
|
-
name?: string | null | undefined;
|
|
529
529
|
focalPoint?: [number, number] | undefined;
|
|
530
530
|
} | {
|
|
531
531
|
type: "PropertyValue";
|
|
@@ -535,10 +535,10 @@ export declare const Like: z.ZodObject<{
|
|
|
535
535
|
type: "Document";
|
|
536
536
|
mediaType: string;
|
|
537
537
|
url: string;
|
|
538
|
+
name?: string | null | undefined;
|
|
538
539
|
blurhash?: string | undefined;
|
|
539
540
|
width?: number | undefined;
|
|
540
541
|
height?: number | undefined;
|
|
541
|
-
name?: string | null | undefined;
|
|
542
542
|
focalPoint?: [number, number] | undefined;
|
|
543
543
|
} | {
|
|
544
544
|
type: "PropertyValue";
|
|
@@ -560,12 +560,12 @@ export declare const Like: z.ZodObject<{
|
|
|
560
560
|
tag: {
|
|
561
561
|
type: "Emoji";
|
|
562
562
|
name: string;
|
|
563
|
-
updated: string;
|
|
564
563
|
icon: {
|
|
565
564
|
type: "Image";
|
|
566
565
|
url: string;
|
|
567
566
|
mediaType?: string | null | undefined;
|
|
568
567
|
};
|
|
568
|
+
updated: string;
|
|
569
569
|
} | {
|
|
570
570
|
type: "Mention";
|
|
571
571
|
name: string;
|
|
@@ -577,12 +577,12 @@ export declare const Like: z.ZodObject<{
|
|
|
577
577
|
} | ({
|
|
578
578
|
type: "Emoji";
|
|
579
579
|
name: string;
|
|
580
|
-
updated: string;
|
|
581
580
|
icon: {
|
|
582
581
|
type: "Image";
|
|
583
582
|
url: string;
|
|
584
583
|
mediaType?: string | null | undefined;
|
|
585
584
|
};
|
|
585
|
+
updated: string;
|
|
586
586
|
} | {
|
|
587
587
|
type: "Mention";
|
|
588
588
|
name: string;
|
|
@@ -593,9 +593,9 @@ export declare const Like: z.ZodObject<{
|
|
|
593
593
|
href: string;
|
|
594
594
|
})[];
|
|
595
595
|
url?: string | null | undefined;
|
|
596
|
+
summary?: string | null | undefined;
|
|
596
597
|
updated?: string | null | undefined;
|
|
597
598
|
inReplyTo?: string | null | undefined;
|
|
598
|
-
summary?: string | null | undefined;
|
|
599
599
|
summaryMap?: Record<string, string> | null | undefined;
|
|
600
600
|
content?: string | string[] | null | undefined;
|
|
601
601
|
contentMap?: string[] | Record<string, string> | null | undefined;
|
|
@@ -618,10 +618,10 @@ export declare const Like: z.ZodObject<{
|
|
|
618
618
|
type: "Document";
|
|
619
619
|
mediaType: string;
|
|
620
620
|
url: string;
|
|
621
|
+
name?: string | null | undefined;
|
|
621
622
|
blurhash?: string | undefined;
|
|
622
623
|
width?: number | undefined;
|
|
623
624
|
height?: number | undefined;
|
|
624
|
-
name?: string | null | undefined;
|
|
625
625
|
focalPoint?: [number, number] | undefined;
|
|
626
626
|
} | {
|
|
627
627
|
type: "PropertyValue";
|
|
@@ -631,10 +631,10 @@ export declare const Like: z.ZodObject<{
|
|
|
631
631
|
type: "Document";
|
|
632
632
|
mediaType: string;
|
|
633
633
|
url: string;
|
|
634
|
+
name?: string | null | undefined;
|
|
634
635
|
blurhash?: string | undefined;
|
|
635
636
|
width?: number | undefined;
|
|
636
637
|
height?: number | undefined;
|
|
637
|
-
name?: string | null | undefined;
|
|
638
638
|
focalPoint?: [number, number] | undefined;
|
|
639
639
|
} | {
|
|
640
640
|
type: "PropertyValue";
|
|
@@ -48,8 +48,8 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
48
48
|
}>, "strip", z.ZodTypeAny, {
|
|
49
49
|
id: string;
|
|
50
50
|
type: "audio";
|
|
51
|
-
description: string | null;
|
|
52
51
|
url: string;
|
|
52
|
+
description: string | null;
|
|
53
53
|
blurhash: string | null;
|
|
54
54
|
preview_url: string | null;
|
|
55
55
|
remote_url: string | null;
|
|
@@ -67,8 +67,8 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
67
67
|
}, {
|
|
68
68
|
id: string;
|
|
69
69
|
type: "audio";
|
|
70
|
-
description: string | null;
|
|
71
70
|
url: string;
|
|
71
|
+
description: string | null;
|
|
72
72
|
blurhash: string | null;
|
|
73
73
|
preview_url: string | null;
|
|
74
74
|
remote_url: string | null;
|
|
@@ -8,15 +8,15 @@ export declare const BaseMediaAttachment: z.ZodObject<{
|
|
|
8
8
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: string;
|
|
11
|
-
description: string | null;
|
|
12
11
|
url: string;
|
|
12
|
+
description: string | null;
|
|
13
13
|
blurhash: string | null;
|
|
14
14
|
preview_url: string | null;
|
|
15
15
|
remote_url: string | null;
|
|
16
16
|
}, {
|
|
17
17
|
id: string;
|
|
18
|
-
description: string | null;
|
|
19
18
|
url: string;
|
|
19
|
+
description: string | null;
|
|
20
20
|
blurhash: string | null;
|
|
21
21
|
preview_url: string | null;
|
|
22
22
|
remote_url: string | null;
|
|
@@ -97,8 +97,8 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
97
97
|
}>, "strip", z.ZodTypeAny, {
|
|
98
98
|
id: string;
|
|
99
99
|
type: "gifv";
|
|
100
|
-
description: string | null;
|
|
101
100
|
url: string;
|
|
101
|
+
description: string | null;
|
|
102
102
|
blurhash: string | null;
|
|
103
103
|
preview_url: string | null;
|
|
104
104
|
remote_url: string | null;
|
|
@@ -127,8 +127,8 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
127
127
|
}, {
|
|
128
128
|
id: string;
|
|
129
129
|
type: "gifv";
|
|
130
|
-
description: string | null;
|
|
131
130
|
url: string;
|
|
131
|
+
description: string | null;
|
|
132
132
|
blurhash: string | null;
|
|
133
133
|
preview_url: string | null;
|
|
134
134
|
remote_url: string | null;
|
|
@@ -89,8 +89,8 @@ export declare const Image: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
89
89
|
}>, "strip", z.ZodTypeAny, {
|
|
90
90
|
id: string;
|
|
91
91
|
type: "image";
|
|
92
|
-
description: string | null;
|
|
93
92
|
url: string;
|
|
93
|
+
description: string | null;
|
|
94
94
|
blurhash: string | null;
|
|
95
95
|
preview_url: string | null;
|
|
96
96
|
remote_url: string | null;
|
|
@@ -115,8 +115,8 @@ export declare const Image: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
115
115
|
}, {
|
|
116
116
|
id: string;
|
|
117
117
|
type: "image";
|
|
118
|
-
description: string | null;
|
|
119
118
|
url: string;
|
|
119
|
+
description: string | null;
|
|
120
120
|
blurhash: string | null;
|
|
121
121
|
preview_url: string | null;
|
|
122
122
|
remote_url: string | null;
|
|
@@ -98,8 +98,8 @@ export declare const MediaTypes: {
|
|
|
98
98
|
}>, "strip", z.ZodTypeAny, {
|
|
99
99
|
id: string;
|
|
100
100
|
type: "gifv";
|
|
101
|
-
description: string | null;
|
|
102
101
|
url: string;
|
|
102
|
+
description: string | null;
|
|
103
103
|
blurhash: string | null;
|
|
104
104
|
preview_url: string | null;
|
|
105
105
|
remote_url: string | null;
|
|
@@ -128,8 +128,8 @@ export declare const MediaTypes: {
|
|
|
128
128
|
}, {
|
|
129
129
|
id: string;
|
|
130
130
|
type: "gifv";
|
|
131
|
-
description: string | null;
|
|
132
131
|
url: string;
|
|
132
|
+
description: string | null;
|
|
133
133
|
blurhash: string | null;
|
|
134
134
|
preview_url: string | null;
|
|
135
135
|
remote_url: string | null;
|
|
@@ -246,8 +246,8 @@ export declare const MediaTypes: {
|
|
|
246
246
|
}>, "strip", z.ZodTypeAny, {
|
|
247
247
|
id: string;
|
|
248
248
|
type: "image";
|
|
249
|
-
description: string | null;
|
|
250
249
|
url: string;
|
|
250
|
+
description: string | null;
|
|
251
251
|
blurhash: string | null;
|
|
252
252
|
preview_url: string | null;
|
|
253
253
|
remote_url: string | null;
|
|
@@ -272,8 +272,8 @@ export declare const MediaTypes: {
|
|
|
272
272
|
}, {
|
|
273
273
|
id: string;
|
|
274
274
|
type: "image";
|
|
275
|
-
description: string | null;
|
|
276
275
|
url: string;
|
|
276
|
+
description: string | null;
|
|
277
277
|
blurhash: string | null;
|
|
278
278
|
preview_url: string | null;
|
|
279
279
|
remote_url: string | null;
|
|
@@ -403,8 +403,8 @@ export declare const MediaTypes: {
|
|
|
403
403
|
}>, "strip", z.ZodTypeAny, {
|
|
404
404
|
id: string;
|
|
405
405
|
type: "video";
|
|
406
|
-
description: string | null;
|
|
407
406
|
url: string;
|
|
407
|
+
description: string | null;
|
|
408
408
|
blurhash: string | null;
|
|
409
409
|
preview_url: string | null;
|
|
410
410
|
remote_url: string | null;
|
|
@@ -436,8 +436,8 @@ export declare const MediaTypes: {
|
|
|
436
436
|
}, {
|
|
437
437
|
id: string;
|
|
438
438
|
type: "video";
|
|
439
|
-
description: string | null;
|
|
440
439
|
url: string;
|
|
440
|
+
description: string | null;
|
|
441
441
|
blurhash: string | null;
|
|
442
442
|
preview_url: string | null;
|
|
443
443
|
remote_url: string | null;
|
|
@@ -516,8 +516,8 @@ export declare const MediaTypes: {
|
|
|
516
516
|
}>, "strip", z.ZodTypeAny, {
|
|
517
517
|
id: string;
|
|
518
518
|
type: "audio";
|
|
519
|
-
description: string | null;
|
|
520
519
|
url: string;
|
|
520
|
+
description: string | null;
|
|
521
521
|
blurhash: string | null;
|
|
522
522
|
preview_url: string | null;
|
|
523
523
|
remote_url: string | null;
|
|
@@ -535,8 +535,8 @@ export declare const MediaTypes: {
|
|
|
535
535
|
}, {
|
|
536
536
|
id: string;
|
|
537
537
|
type: "audio";
|
|
538
|
-
description: string | null;
|
|
539
538
|
url: string;
|
|
539
|
+
description: string | null;
|
|
540
540
|
blurhash: string | null;
|
|
541
541
|
preview_url: string | null;
|
|
542
542
|
remote_url: string | null;
|
|
@@ -564,16 +564,16 @@ export declare const MediaTypes: {
|
|
|
564
564
|
}>, "strip", z.ZodTypeAny, {
|
|
565
565
|
id: string;
|
|
566
566
|
type: "unknown";
|
|
567
|
-
description: string | null;
|
|
568
567
|
url: string;
|
|
568
|
+
description: string | null;
|
|
569
569
|
blurhash: string | null;
|
|
570
570
|
preview_url: string | null;
|
|
571
571
|
remote_url: string | null;
|
|
572
572
|
}, {
|
|
573
573
|
id: string;
|
|
574
574
|
type: "unknown";
|
|
575
|
-
description: string | null;
|
|
576
575
|
url: string;
|
|
576
|
+
description: string | null;
|
|
577
577
|
blurhash: string | null;
|
|
578
578
|
preview_url: string | null;
|
|
579
579
|
remote_url: string | null;
|
|
@@ -669,8 +669,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
669
669
|
}>, "strip", z.ZodTypeAny, {
|
|
670
670
|
id: string;
|
|
671
671
|
type: "image";
|
|
672
|
-
description: string | null;
|
|
673
672
|
url: string;
|
|
673
|
+
description: string | null;
|
|
674
674
|
blurhash: string | null;
|
|
675
675
|
preview_url: string | null;
|
|
676
676
|
remote_url: string | null;
|
|
@@ -695,8 +695,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
695
695
|
}, {
|
|
696
696
|
id: string;
|
|
697
697
|
type: "image";
|
|
698
|
-
description: string | null;
|
|
699
698
|
url: string;
|
|
699
|
+
description: string | null;
|
|
700
700
|
blurhash: string | null;
|
|
701
701
|
preview_url: string | null;
|
|
702
702
|
remote_url: string | null;
|
|
@@ -816,8 +816,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
816
816
|
}>, "strip", z.ZodTypeAny, {
|
|
817
817
|
id: string;
|
|
818
818
|
type: "gifv";
|
|
819
|
-
description: string | null;
|
|
820
819
|
url: string;
|
|
820
|
+
description: string | null;
|
|
821
821
|
blurhash: string | null;
|
|
822
822
|
preview_url: string | null;
|
|
823
823
|
remote_url: string | null;
|
|
@@ -846,8 +846,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
846
846
|
}, {
|
|
847
847
|
id: string;
|
|
848
848
|
type: "gifv";
|
|
849
|
-
description: string | null;
|
|
850
849
|
url: string;
|
|
850
|
+
description: string | null;
|
|
851
851
|
blurhash: string | null;
|
|
852
852
|
preview_url: string | null;
|
|
853
853
|
remote_url: string | null;
|
|
@@ -980,8 +980,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
980
980
|
}>, "strip", z.ZodTypeAny, {
|
|
981
981
|
id: string;
|
|
982
982
|
type: "video";
|
|
983
|
-
description: string | null;
|
|
984
983
|
url: string;
|
|
984
|
+
description: string | null;
|
|
985
985
|
blurhash: string | null;
|
|
986
986
|
preview_url: string | null;
|
|
987
987
|
remote_url: string | null;
|
|
@@ -1013,8 +1013,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1013
1013
|
}, {
|
|
1014
1014
|
id: string;
|
|
1015
1015
|
type: "video";
|
|
1016
|
-
description: string | null;
|
|
1017
1016
|
url: string;
|
|
1017
|
+
description: string | null;
|
|
1018
1018
|
blurhash: string | null;
|
|
1019
1019
|
preview_url: string | null;
|
|
1020
1020
|
remote_url: string | null;
|
|
@@ -1092,8 +1092,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1092
1092
|
}>, "strip", z.ZodTypeAny, {
|
|
1093
1093
|
id: string;
|
|
1094
1094
|
type: "audio";
|
|
1095
|
-
description: string | null;
|
|
1096
1095
|
url: string;
|
|
1096
|
+
description: string | null;
|
|
1097
1097
|
blurhash: string | null;
|
|
1098
1098
|
preview_url: string | null;
|
|
1099
1099
|
remote_url: string | null;
|
|
@@ -1111,8 +1111,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1111
1111
|
}, {
|
|
1112
1112
|
id: string;
|
|
1113
1113
|
type: "audio";
|
|
1114
|
-
description: string | null;
|
|
1115
1114
|
url: string;
|
|
1115
|
+
description: string | null;
|
|
1116
1116
|
blurhash: string | null;
|
|
1117
1117
|
preview_url: string | null;
|
|
1118
1118
|
remote_url: string | null;
|
|
@@ -1139,16 +1139,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1139
1139
|
}>, "strip", z.ZodTypeAny, {
|
|
1140
1140
|
id: string;
|
|
1141
1141
|
type: "unknown";
|
|
1142
|
-
description: string | null;
|
|
1143
1142
|
url: string;
|
|
1143
|
+
description: string | null;
|
|
1144
1144
|
blurhash: string | null;
|
|
1145
1145
|
preview_url: string | null;
|
|
1146
1146
|
remote_url: string | null;
|
|
1147
1147
|
}, {
|
|
1148
1148
|
id: string;
|
|
1149
1149
|
type: "unknown";
|
|
1150
|
-
description: string | null;
|
|
1151
1150
|
url: string;
|
|
1151
|
+
description: string | null;
|
|
1152
1152
|
blurhash: string | null;
|
|
1153
1153
|
preview_url: string | null;
|
|
1154
1154
|
remote_url: string | null;
|
|
@@ -11,16 +11,16 @@ export declare const Unknown: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11
11
|
}>, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
13
|
type: "unknown";
|
|
14
|
-
description: string | null;
|
|
15
14
|
url: string;
|
|
15
|
+
description: string | null;
|
|
16
16
|
blurhash: string | null;
|
|
17
17
|
preview_url: string | null;
|
|
18
18
|
remote_url: string | null;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
type: "unknown";
|
|
22
|
-
description: string | null;
|
|
23
22
|
url: string;
|
|
23
|
+
description: string | null;
|
|
24
24
|
blurhash: string | null;
|
|
25
25
|
preview_url: string | null;
|
|
26
26
|
remote_url: string | null;
|
|
@@ -106,8 +106,8 @@ export declare const Video: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
106
106
|
}>, "strip", z.ZodTypeAny, {
|
|
107
107
|
id: string;
|
|
108
108
|
type: "video";
|
|
109
|
-
description: string | null;
|
|
110
109
|
url: string;
|
|
110
|
+
description: string | null;
|
|
111
111
|
blurhash: string | null;
|
|
112
112
|
preview_url: string | null;
|
|
113
113
|
remote_url: string | null;
|
|
@@ -139,8 +139,8 @@ export declare const Video: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
139
|
}, {
|
|
140
140
|
id: string;
|
|
141
141
|
type: "video";
|
|
142
|
-
description: string | null;
|
|
143
142
|
url: string;
|
|
143
|
+
description: string | null;
|
|
144
144
|
blurhash: string | null;
|
|
145
145
|
preview_url: string | null;
|
|
146
146
|
remote_url: string | null;
|
|
@@ -16,12 +16,12 @@ export declare const PreviewCard: z.ZodObject<{
|
|
|
16
16
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
type: "link" | "photo" | "video" | "rich";
|
|
19
|
-
description: string;
|
|
20
19
|
url: string;
|
|
20
|
+
image: string | null;
|
|
21
|
+
description: string;
|
|
21
22
|
blurhash: string | null;
|
|
22
23
|
width: number;
|
|
23
24
|
height: number;
|
|
24
|
-
image: string | null;
|
|
25
25
|
title: string;
|
|
26
26
|
author_name: string;
|
|
27
27
|
author_url: string;
|
|
@@ -31,12 +31,12 @@ export declare const PreviewCard: z.ZodObject<{
|
|
|
31
31
|
embed_url: string;
|
|
32
32
|
}, {
|
|
33
33
|
type: "link" | "photo" | "video" | "rich";
|
|
34
|
-
description: string;
|
|
35
34
|
url: string;
|
|
35
|
+
image: string | null;
|
|
36
|
+
description: string;
|
|
36
37
|
blurhash: string | null;
|
|
37
38
|
width: number;
|
|
38
39
|
height: number;
|
|
39
|
-
image: string | null;
|
|
40
40
|
title: string;
|
|
41
41
|
author_name: string;
|
|
42
42
|
author_url: string;
|