@llun/activities.schema 0.2.23 → 0.2.24
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/mastodon/mediaAttachment/base.js +1 -1
- package/dist/esm/mastodon/mediaAttachment/base.js +1 -1
- package/dist/types/mastodon/mediaAttachment/audio.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/base.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/gifv.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/image.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/index.d.ts +30 -30
- package/dist/types/mastodon/mediaAttachment/unknown.d.ts +3 -3
- package/dist/types/mastodon/mediaAttachment/video.d.ts +3 -3
- package/dist/types/mastodon/status/base.d.ts +25 -25
- package/dist/types/mastodon/status/index.d.ts +60 -60
- package/package.json +1 -1
- package/src/mastodon/mediaAttachment/base.ts +1 -1
|
@@ -25,7 +25,7 @@ exports.BaseMediaAttachment = zod_1.z.object({
|
|
|
25
25
|
description: "Alternate text that describes what is in the media attachment, to be used for the visually impaired or when media attachments do not load",
|
|
26
26
|
})
|
|
27
27
|
.nullable(),
|
|
28
|
-
|
|
28
|
+
blurhash: zod_1.z
|
|
29
29
|
.string({
|
|
30
30
|
description: "hash computed by the [BlurHash algorithm](https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet.",
|
|
31
31
|
})
|
|
@@ -22,7 +22,7 @@ export const BaseMediaAttachment = z.object({
|
|
|
22
22
|
description: "Alternate text that describes what is in the media attachment, to be used for the visually impaired or when media attachments do not load",
|
|
23
23
|
})
|
|
24
24
|
.nullable(),
|
|
25
|
-
|
|
25
|
+
blurhash: z
|
|
26
26
|
.string({
|
|
27
27
|
description: "hash computed by the [BlurHash algorithm](https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet.",
|
|
28
28
|
})
|
|
@@ -5,7 +5,7 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5
5
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
6
6
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
description: z.ZodNullable<z.ZodString>;
|
|
8
|
-
|
|
8
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, {
|
|
10
10
|
type: z.ZodLiteral<"audio">;
|
|
11
11
|
meta: z.ZodObject<{
|
|
@@ -50,9 +50,9 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
50
50
|
type: "audio";
|
|
51
51
|
description: string | null;
|
|
52
52
|
url: string;
|
|
53
|
+
blurhash: string | null;
|
|
53
54
|
preview_url: string | null;
|
|
54
55
|
remote_url: string | null;
|
|
55
|
-
bluehash: string | null;
|
|
56
56
|
meta: {
|
|
57
57
|
length: string;
|
|
58
58
|
duration: number;
|
|
@@ -69,9 +69,9 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
69
69
|
type: "audio";
|
|
70
70
|
description: string | null;
|
|
71
71
|
url: string;
|
|
72
|
+
blurhash: string | null;
|
|
72
73
|
preview_url: string | null;
|
|
73
74
|
remote_url: string | null;
|
|
74
|
-
bluehash: string | null;
|
|
75
75
|
meta: {
|
|
76
76
|
length: string;
|
|
77
77
|
duration: number;
|
|
@@ -5,20 +5,20 @@ export declare const BaseMediaAttachment: z.ZodObject<{
|
|
|
5
5
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
6
6
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
description: z.ZodNullable<z.ZodString>;
|
|
8
|
-
|
|
8
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: string;
|
|
11
11
|
description: string | null;
|
|
12
12
|
url: string;
|
|
13
|
+
blurhash: string | null;
|
|
13
14
|
preview_url: string | null;
|
|
14
15
|
remote_url: string | null;
|
|
15
|
-
bluehash: string | null;
|
|
16
16
|
}, {
|
|
17
17
|
id: string;
|
|
18
18
|
description: string | null;
|
|
19
19
|
url: string;
|
|
20
|
+
blurhash: string | null;
|
|
20
21
|
preview_url: string | null;
|
|
21
22
|
remote_url: string | null;
|
|
22
|
-
bluehash: string | null;
|
|
23
23
|
}>;
|
|
24
24
|
export type BaseMediaAttachment = z.infer<typeof BaseMediaAttachment>;
|
|
@@ -5,7 +5,7 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5
5
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
6
6
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
description: z.ZodNullable<z.ZodString>;
|
|
8
|
-
|
|
8
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, {
|
|
10
10
|
type: z.ZodLiteral<"gifv">;
|
|
11
11
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -99,9 +99,9 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
99
99
|
type: "gifv";
|
|
100
100
|
description: string | null;
|
|
101
101
|
url: string;
|
|
102
|
+
blurhash: string | null;
|
|
102
103
|
preview_url: string | null;
|
|
103
104
|
remote_url: string | null;
|
|
104
|
-
bluehash: string | null;
|
|
105
105
|
meta?: {
|
|
106
106
|
width: number;
|
|
107
107
|
height: number;
|
|
@@ -129,9 +129,9 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
129
129
|
type: "gifv";
|
|
130
130
|
description: string | null;
|
|
131
131
|
url: string;
|
|
132
|
+
blurhash: string | null;
|
|
132
133
|
preview_url: string | null;
|
|
133
134
|
remote_url: string | null;
|
|
134
|
-
bluehash: string | null;
|
|
135
135
|
meta?: {
|
|
136
136
|
width: number;
|
|
137
137
|
height: number;
|
|
@@ -5,7 +5,7 @@ export declare const Image: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5
5
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
6
6
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
description: z.ZodNullable<z.ZodString>;
|
|
8
|
-
|
|
8
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, {
|
|
10
10
|
type: z.ZodLiteral<"image">;
|
|
11
11
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -91,9 +91,9 @@ export declare const Image: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
91
91
|
type: "image";
|
|
92
92
|
description: string | null;
|
|
93
93
|
url: string;
|
|
94
|
+
blurhash: string | null;
|
|
94
95
|
preview_url: string | null;
|
|
95
96
|
remote_url: string | null;
|
|
96
|
-
bluehash: string | null;
|
|
97
97
|
meta?: {
|
|
98
98
|
original: {
|
|
99
99
|
width: number;
|
|
@@ -117,9 +117,9 @@ export declare const Image: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
117
117
|
type: "image";
|
|
118
118
|
description: string | null;
|
|
119
119
|
url: string;
|
|
120
|
+
blurhash: string | null;
|
|
120
121
|
preview_url: string | null;
|
|
121
122
|
remote_url: string | null;
|
|
122
|
-
bluehash: string | null;
|
|
123
123
|
meta?: {
|
|
124
124
|
original: {
|
|
125
125
|
width: number;
|
|
@@ -6,7 +6,7 @@ export declare const MediaTypes: {
|
|
|
6
6
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
8
8
|
description: z.ZodNullable<z.ZodString>;
|
|
9
|
-
|
|
9
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, {
|
|
11
11
|
type: z.ZodLiteral<"gifv">;
|
|
12
12
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -100,9 +100,9 @@ export declare const MediaTypes: {
|
|
|
100
100
|
type: "gifv";
|
|
101
101
|
description: string | null;
|
|
102
102
|
url: string;
|
|
103
|
+
blurhash: string | null;
|
|
103
104
|
preview_url: string | null;
|
|
104
105
|
remote_url: string | null;
|
|
105
|
-
bluehash: string | null;
|
|
106
106
|
meta?: {
|
|
107
107
|
width: number;
|
|
108
108
|
height: number;
|
|
@@ -130,9 +130,9 @@ export declare const MediaTypes: {
|
|
|
130
130
|
type: "gifv";
|
|
131
131
|
description: string | null;
|
|
132
132
|
url: string;
|
|
133
|
+
blurhash: string | null;
|
|
133
134
|
preview_url: string | null;
|
|
134
135
|
remote_url: string | null;
|
|
135
|
-
bluehash: string | null;
|
|
136
136
|
meta?: {
|
|
137
137
|
width: number;
|
|
138
138
|
height: number;
|
|
@@ -162,7 +162,7 @@ export declare const MediaTypes: {
|
|
|
162
162
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
163
163
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
164
164
|
description: z.ZodNullable<z.ZodString>;
|
|
165
|
-
|
|
165
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
166
166
|
}, {
|
|
167
167
|
type: z.ZodLiteral<"image">;
|
|
168
168
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -248,9 +248,9 @@ export declare const MediaTypes: {
|
|
|
248
248
|
type: "image";
|
|
249
249
|
description: string | null;
|
|
250
250
|
url: string;
|
|
251
|
+
blurhash: string | null;
|
|
251
252
|
preview_url: string | null;
|
|
252
253
|
remote_url: string | null;
|
|
253
|
-
bluehash: string | null;
|
|
254
254
|
meta?: {
|
|
255
255
|
original: {
|
|
256
256
|
width: number;
|
|
@@ -274,9 +274,9 @@ export declare const MediaTypes: {
|
|
|
274
274
|
type: "image";
|
|
275
275
|
description: string | null;
|
|
276
276
|
url: string;
|
|
277
|
+
blurhash: string | null;
|
|
277
278
|
preview_url: string | null;
|
|
278
279
|
remote_url: string | null;
|
|
279
|
-
bluehash: string | null;
|
|
280
280
|
meta?: {
|
|
281
281
|
original: {
|
|
282
282
|
width: number;
|
|
@@ -302,7 +302,7 @@ export declare const MediaTypes: {
|
|
|
302
302
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
303
303
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
304
304
|
description: z.ZodNullable<z.ZodString>;
|
|
305
|
-
|
|
305
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
306
306
|
}, {
|
|
307
307
|
type: z.ZodLiteral<"video">;
|
|
308
308
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -405,9 +405,9 @@ export declare const MediaTypes: {
|
|
|
405
405
|
type: "video";
|
|
406
406
|
description: string | null;
|
|
407
407
|
url: string;
|
|
408
|
+
blurhash: string | null;
|
|
408
409
|
preview_url: string | null;
|
|
409
410
|
remote_url: string | null;
|
|
410
|
-
bluehash: string | null;
|
|
411
411
|
meta?: {
|
|
412
412
|
width: number;
|
|
413
413
|
height: number;
|
|
@@ -438,9 +438,9 @@ export declare const MediaTypes: {
|
|
|
438
438
|
type: "video";
|
|
439
439
|
description: string | null;
|
|
440
440
|
url: string;
|
|
441
|
+
blurhash: string | null;
|
|
441
442
|
preview_url: string | null;
|
|
442
443
|
remote_url: string | null;
|
|
443
|
-
bluehash: string | null;
|
|
444
444
|
meta?: {
|
|
445
445
|
width: number;
|
|
446
446
|
height: number;
|
|
@@ -473,7 +473,7 @@ export declare const MediaTypes: {
|
|
|
473
473
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
474
474
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
475
475
|
description: z.ZodNullable<z.ZodString>;
|
|
476
|
-
|
|
476
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
477
477
|
}, {
|
|
478
478
|
type: z.ZodLiteral<"audio">;
|
|
479
479
|
meta: z.ZodObject<{
|
|
@@ -518,9 +518,9 @@ export declare const MediaTypes: {
|
|
|
518
518
|
type: "audio";
|
|
519
519
|
description: string | null;
|
|
520
520
|
url: string;
|
|
521
|
+
blurhash: string | null;
|
|
521
522
|
preview_url: string | null;
|
|
522
523
|
remote_url: string | null;
|
|
523
|
-
bluehash: string | null;
|
|
524
524
|
meta: {
|
|
525
525
|
length: string;
|
|
526
526
|
duration: number;
|
|
@@ -537,9 +537,9 @@ export declare const MediaTypes: {
|
|
|
537
537
|
type: "audio";
|
|
538
538
|
description: string | null;
|
|
539
539
|
url: string;
|
|
540
|
+
blurhash: string | null;
|
|
540
541
|
preview_url: string | null;
|
|
541
542
|
remote_url: string | null;
|
|
542
|
-
bluehash: string | null;
|
|
543
543
|
meta: {
|
|
544
544
|
length: string;
|
|
545
545
|
duration: number;
|
|
@@ -558,7 +558,7 @@ export declare const MediaTypes: {
|
|
|
558
558
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
559
559
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
560
560
|
description: z.ZodNullable<z.ZodString>;
|
|
561
|
-
|
|
561
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
562
562
|
}, {
|
|
563
563
|
type: z.ZodLiteral<"unknown">;
|
|
564
564
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -566,17 +566,17 @@ export declare const MediaTypes: {
|
|
|
566
566
|
type: "unknown";
|
|
567
567
|
description: string | null;
|
|
568
568
|
url: string;
|
|
569
|
+
blurhash: string | null;
|
|
569
570
|
preview_url: string | null;
|
|
570
571
|
remote_url: string | null;
|
|
571
|
-
bluehash: string | null;
|
|
572
572
|
}, {
|
|
573
573
|
id: string;
|
|
574
574
|
type: "unknown";
|
|
575
575
|
description: string | null;
|
|
576
576
|
url: string;
|
|
577
|
+
blurhash: string | null;
|
|
577
578
|
preview_url: string | null;
|
|
578
579
|
remote_url: string | null;
|
|
579
|
-
bluehash: string | null;
|
|
580
580
|
}>;
|
|
581
581
|
};
|
|
582
582
|
export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -585,7 +585,7 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
585
585
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
586
586
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
587
587
|
description: z.ZodNullable<z.ZodString>;
|
|
588
|
-
|
|
588
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
589
589
|
}, {
|
|
590
590
|
type: z.ZodLiteral<"image">;
|
|
591
591
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -671,9 +671,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
671
671
|
type: "image";
|
|
672
672
|
description: string | null;
|
|
673
673
|
url: string;
|
|
674
|
+
blurhash: string | null;
|
|
674
675
|
preview_url: string | null;
|
|
675
676
|
remote_url: string | null;
|
|
676
|
-
bluehash: string | null;
|
|
677
677
|
meta?: {
|
|
678
678
|
original: {
|
|
679
679
|
width: number;
|
|
@@ -697,9 +697,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
697
697
|
type: "image";
|
|
698
698
|
description: string | null;
|
|
699
699
|
url: string;
|
|
700
|
+
blurhash: string | null;
|
|
700
701
|
preview_url: string | null;
|
|
701
702
|
remote_url: string | null;
|
|
702
|
-
bluehash: string | null;
|
|
703
703
|
meta?: {
|
|
704
704
|
original: {
|
|
705
705
|
width: number;
|
|
@@ -724,7 +724,7 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
724
724
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
725
725
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
726
726
|
description: z.ZodNullable<z.ZodString>;
|
|
727
|
-
|
|
727
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
728
728
|
}, {
|
|
729
729
|
type: z.ZodLiteral<"gifv">;
|
|
730
730
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -818,9 +818,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
818
818
|
type: "gifv";
|
|
819
819
|
description: string | null;
|
|
820
820
|
url: string;
|
|
821
|
+
blurhash: string | null;
|
|
821
822
|
preview_url: string | null;
|
|
822
823
|
remote_url: string | null;
|
|
823
|
-
bluehash: string | null;
|
|
824
824
|
meta?: {
|
|
825
825
|
width: number;
|
|
826
826
|
height: number;
|
|
@@ -848,9 +848,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
848
848
|
type: "gifv";
|
|
849
849
|
description: string | null;
|
|
850
850
|
url: string;
|
|
851
|
+
blurhash: string | null;
|
|
851
852
|
preview_url: string | null;
|
|
852
853
|
remote_url: string | null;
|
|
853
|
-
bluehash: string | null;
|
|
854
854
|
meta?: {
|
|
855
855
|
width: number;
|
|
856
856
|
height: number;
|
|
@@ -879,7 +879,7 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
879
879
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
880
880
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
881
881
|
description: z.ZodNullable<z.ZodString>;
|
|
882
|
-
|
|
882
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
883
883
|
}, {
|
|
884
884
|
type: z.ZodLiteral<"video">;
|
|
885
885
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -982,9 +982,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
982
982
|
type: "video";
|
|
983
983
|
description: string | null;
|
|
984
984
|
url: string;
|
|
985
|
+
blurhash: string | null;
|
|
985
986
|
preview_url: string | null;
|
|
986
987
|
remote_url: string | null;
|
|
987
|
-
bluehash: string | null;
|
|
988
988
|
meta?: {
|
|
989
989
|
width: number;
|
|
990
990
|
height: number;
|
|
@@ -1015,9 +1015,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1015
1015
|
type: "video";
|
|
1016
1016
|
description: string | null;
|
|
1017
1017
|
url: string;
|
|
1018
|
+
blurhash: string | null;
|
|
1018
1019
|
preview_url: string | null;
|
|
1019
1020
|
remote_url: string | null;
|
|
1020
|
-
bluehash: string | null;
|
|
1021
1021
|
meta?: {
|
|
1022
1022
|
width: number;
|
|
1023
1023
|
height: number;
|
|
@@ -1049,7 +1049,7 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1049
1049
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
1050
1050
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
1051
1051
|
description: z.ZodNullable<z.ZodString>;
|
|
1052
|
-
|
|
1052
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
1053
1053
|
}, {
|
|
1054
1054
|
type: z.ZodLiteral<"audio">;
|
|
1055
1055
|
meta: z.ZodObject<{
|
|
@@ -1094,9 +1094,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1094
1094
|
type: "audio";
|
|
1095
1095
|
description: string | null;
|
|
1096
1096
|
url: string;
|
|
1097
|
+
blurhash: string | null;
|
|
1097
1098
|
preview_url: string | null;
|
|
1098
1099
|
remote_url: string | null;
|
|
1099
|
-
bluehash: string | null;
|
|
1100
1100
|
meta: {
|
|
1101
1101
|
length: string;
|
|
1102
1102
|
duration: number;
|
|
@@ -1113,9 +1113,9 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1113
1113
|
type: "audio";
|
|
1114
1114
|
description: string | null;
|
|
1115
1115
|
url: string;
|
|
1116
|
+
blurhash: string | null;
|
|
1116
1117
|
preview_url: string | null;
|
|
1117
1118
|
remote_url: string | null;
|
|
1118
|
-
bluehash: string | null;
|
|
1119
1119
|
meta: {
|
|
1120
1120
|
length: string;
|
|
1121
1121
|
duration: number;
|
|
@@ -1133,7 +1133,7 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1133
1133
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
1134
1134
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
1135
1135
|
description: z.ZodNullable<z.ZodString>;
|
|
1136
|
-
|
|
1136
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
1137
1137
|
}, {
|
|
1138
1138
|
type: z.ZodLiteral<"unknown">;
|
|
1139
1139
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1141,16 +1141,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1141
1141
|
type: "unknown";
|
|
1142
1142
|
description: string | null;
|
|
1143
1143
|
url: string;
|
|
1144
|
+
blurhash: string | null;
|
|
1144
1145
|
preview_url: string | null;
|
|
1145
1146
|
remote_url: string | null;
|
|
1146
|
-
bluehash: string | null;
|
|
1147
1147
|
}, {
|
|
1148
1148
|
id: string;
|
|
1149
1149
|
type: "unknown";
|
|
1150
1150
|
description: string | null;
|
|
1151
1151
|
url: string;
|
|
1152
|
+
blurhash: string | null;
|
|
1152
1153
|
preview_url: string | null;
|
|
1153
1154
|
remote_url: string | null;
|
|
1154
|
-
bluehash: string | null;
|
|
1155
1155
|
}>]>;
|
|
1156
1156
|
export type MediaAttachment = z.infer<typeof MediaAttachment>;
|
|
@@ -5,7 +5,7 @@ export declare const Unknown: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5
5
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
6
6
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
description: z.ZodNullable<z.ZodString>;
|
|
8
|
-
|
|
8
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, {
|
|
10
10
|
type: z.ZodLiteral<"unknown">;
|
|
11
11
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -13,16 +13,16 @@ export declare const Unknown: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13
13
|
type: "unknown";
|
|
14
14
|
description: string | null;
|
|
15
15
|
url: string;
|
|
16
|
+
blurhash: string | null;
|
|
16
17
|
preview_url: string | null;
|
|
17
18
|
remote_url: string | null;
|
|
18
|
-
bluehash: string | null;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
type: "unknown";
|
|
22
22
|
description: string | null;
|
|
23
23
|
url: string;
|
|
24
|
+
blurhash: string | null;
|
|
24
25
|
preview_url: string | null;
|
|
25
26
|
remote_url: string | null;
|
|
26
|
-
bluehash: string | null;
|
|
27
27
|
}>;
|
|
28
28
|
export type Unknown = z.infer<typeof Unknown>;
|
|
@@ -5,7 +5,7 @@ export declare const Video: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5
5
|
preview_url: z.ZodNullable<z.ZodString>;
|
|
6
6
|
remote_url: z.ZodNullable<z.ZodString>;
|
|
7
7
|
description: z.ZodNullable<z.ZodString>;
|
|
8
|
-
|
|
8
|
+
blurhash: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, {
|
|
10
10
|
type: z.ZodLiteral<"video">;
|
|
11
11
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -108,9 +108,9 @@ export declare const Video: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
108
108
|
type: "video";
|
|
109
109
|
description: string | null;
|
|
110
110
|
url: string;
|
|
111
|
+
blurhash: string | null;
|
|
111
112
|
preview_url: string | null;
|
|
112
113
|
remote_url: string | null;
|
|
113
|
-
bluehash: string | null;
|
|
114
114
|
meta?: {
|
|
115
115
|
width: number;
|
|
116
116
|
height: number;
|
|
@@ -141,9 +141,9 @@ export declare const Video: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
141
141
|
type: "video";
|
|
142
142
|
description: string | null;
|
|
143
143
|
url: string;
|
|
144
|
+
blurhash: string | null;
|
|
144
145
|
preview_url: string | null;
|
|
145
146
|
remote_url: string | null;
|
|
146
|
-
bluehash: string | null;
|
|
147
147
|
meta?: {
|
|
148
148
|
width: number;
|
|
149
149
|
height: number;
|