@llun/activities.schema 0.2.1 → 0.2.3
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/.yarn/install-state.gz +0 -0
- package/dist/cjs/announce.js +13 -0
- package/dist/esm/announce.js +10 -0
- package/dist/types/announce.d.ts +27 -0
- package/dist/types/like.d.ts +12 -12
- 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 +10 -10
- 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 +2 -2
- package/dist/types/mastodon/status/base.d.ts +24 -24
- package/dist/types/mastodon/status/index.d.ts +60 -60
- package/dist/types/note/baseContent.d.ts +6 -6
- package/dist/types/note.d.ts +6 -6
- package/dist/types/undo.d.ts +18 -18
- package/package.json +4 -4
- package/src/announce.ts +13 -0
- package/tsconfig.json +3 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Announce = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.Announce = zod_1.z.object({
|
|
6
|
+
type: zod_1.z.literal("Announce"),
|
|
7
|
+
id: zod_1.z.string(),
|
|
8
|
+
actor: zod_1.z.string(),
|
|
9
|
+
published: zod_1.z.string({ description: "Object published datetime" }),
|
|
10
|
+
to: zod_1.z.union([zod_1.z.string(), zod_1.z.string().array()]),
|
|
11
|
+
cc: zod_1.z.union([zod_1.z.string(), zod_1.z.string().array()]),
|
|
12
|
+
object: zod_1.z.string(),
|
|
13
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const Announce = z.object({
|
|
3
|
+
type: z.literal("Announce"),
|
|
4
|
+
id: z.string(),
|
|
5
|
+
actor: z.string(),
|
|
6
|
+
published: z.string({ description: "Object published datetime" }),
|
|
7
|
+
to: z.union([z.string(), z.string().array()]),
|
|
8
|
+
cc: z.union([z.string(), z.string().array()]),
|
|
9
|
+
object: z.string(),
|
|
10
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const Announce: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"Announce">;
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
actor: z.ZodString;
|
|
6
|
+
published: z.ZodString;
|
|
7
|
+
to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
8
|
+
cc: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
9
|
+
object: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
object: string;
|
|
12
|
+
id: string;
|
|
13
|
+
type: "Announce";
|
|
14
|
+
actor: string;
|
|
15
|
+
published: string;
|
|
16
|
+
to: string | string[];
|
|
17
|
+
cc: string | string[];
|
|
18
|
+
}, {
|
|
19
|
+
object: string;
|
|
20
|
+
id: string;
|
|
21
|
+
type: "Announce";
|
|
22
|
+
actor: string;
|
|
23
|
+
published: string;
|
|
24
|
+
to: string | string[];
|
|
25
|
+
cc: string | string[];
|
|
26
|
+
}>;
|
|
27
|
+
export type Announce = z.infer<typeof Announce>;
|
package/dist/types/like.d.ts
CHANGED
|
@@ -148,10 +148,11 @@ export declare const Like: z.ZodObject<{
|
|
|
148
148
|
}>, "strip", z.ZodTypeAny, {
|
|
149
149
|
id: string;
|
|
150
150
|
type: "Note";
|
|
151
|
-
|
|
152
|
-
attributedTo: string;
|
|
151
|
+
published: string;
|
|
153
152
|
to: string | string[];
|
|
154
153
|
cc: string | string[];
|
|
154
|
+
url: string;
|
|
155
|
+
attributedTo: string;
|
|
155
156
|
inReplyTo: string | null;
|
|
156
157
|
tag: ({
|
|
157
158
|
type: "Emoji";
|
|
@@ -167,7 +168,6 @@ export declare const Like: z.ZodObject<{
|
|
|
167
168
|
name: string;
|
|
168
169
|
href: string;
|
|
169
170
|
})[];
|
|
170
|
-
published: string;
|
|
171
171
|
updated?: string | undefined;
|
|
172
172
|
summary?: string | undefined;
|
|
173
173
|
summaryMap?: Record<string, string> | undefined;
|
|
@@ -203,10 +203,11 @@ export declare const Like: z.ZodObject<{
|
|
|
203
203
|
}, {
|
|
204
204
|
id: string;
|
|
205
205
|
type: "Note";
|
|
206
|
-
|
|
207
|
-
attributedTo: string;
|
|
206
|
+
published: string;
|
|
208
207
|
to: string | string[];
|
|
209
208
|
cc: string | string[];
|
|
209
|
+
url: string;
|
|
210
|
+
attributedTo: string;
|
|
210
211
|
inReplyTo: string | null;
|
|
211
212
|
tag: ({
|
|
212
213
|
type: "Emoji";
|
|
@@ -222,7 +223,6 @@ export declare const Like: z.ZodObject<{
|
|
|
222
223
|
name: string;
|
|
223
224
|
href: string;
|
|
224
225
|
})[];
|
|
225
|
-
published: string;
|
|
226
226
|
updated?: string | undefined;
|
|
227
227
|
summary?: string | undefined;
|
|
228
228
|
summaryMap?: Record<string, string> | undefined;
|
|
@@ -260,10 +260,11 @@ export declare const Like: z.ZodObject<{
|
|
|
260
260
|
object: string | {
|
|
261
261
|
id: string;
|
|
262
262
|
type: "Note";
|
|
263
|
-
|
|
264
|
-
attributedTo: string;
|
|
263
|
+
published: string;
|
|
265
264
|
to: string | string[];
|
|
266
265
|
cc: string | string[];
|
|
266
|
+
url: string;
|
|
267
|
+
attributedTo: string;
|
|
267
268
|
inReplyTo: string | null;
|
|
268
269
|
tag: ({
|
|
269
270
|
type: "Emoji";
|
|
@@ -279,7 +280,6 @@ export declare const Like: z.ZodObject<{
|
|
|
279
280
|
name: string;
|
|
280
281
|
href: string;
|
|
281
282
|
})[];
|
|
282
|
-
published: string;
|
|
283
283
|
updated?: string | undefined;
|
|
284
284
|
summary?: string | undefined;
|
|
285
285
|
summaryMap?: Record<string, string> | undefined;
|
|
@@ -320,10 +320,11 @@ export declare const Like: z.ZodObject<{
|
|
|
320
320
|
object: string | {
|
|
321
321
|
id: string;
|
|
322
322
|
type: "Note";
|
|
323
|
-
|
|
324
|
-
attributedTo: string;
|
|
323
|
+
published: string;
|
|
325
324
|
to: string | string[];
|
|
326
325
|
cc: string | string[];
|
|
326
|
+
url: string;
|
|
327
|
+
attributedTo: string;
|
|
327
328
|
inReplyTo: string | null;
|
|
328
329
|
tag: ({
|
|
329
330
|
type: "Emoji";
|
|
@@ -339,7 +340,6 @@ export declare const Like: z.ZodObject<{
|
|
|
339
340
|
name: string;
|
|
340
341
|
href: string;
|
|
341
342
|
})[];
|
|
342
|
-
published: string;
|
|
343
343
|
updated?: string | undefined;
|
|
344
344
|
summary?: string | undefined;
|
|
345
345
|
summaryMap?: Record<string, string> | undefined;
|
|
@@ -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
|
-
url: string;
|
|
52
51
|
description: string | null;
|
|
52
|
+
url: string;
|
|
53
53
|
preview_url: string;
|
|
54
54
|
remote_url: string | null;
|
|
55
55
|
bluehash: string;
|
|
@@ -67,8 +67,8 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
67
67
|
}, {
|
|
68
68
|
id: string;
|
|
69
69
|
type: "audio";
|
|
70
|
-
url: string;
|
|
71
70
|
description: string | null;
|
|
71
|
+
url: string;
|
|
72
72
|
preview_url: string;
|
|
73
73
|
remote_url: string | null;
|
|
74
74
|
bluehash: string;
|
|
@@ -8,15 +8,15 @@ export declare const BaseMediaAttachment: z.ZodObject<{
|
|
|
8
8
|
bluehash: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: string;
|
|
11
|
-
url: string;
|
|
12
11
|
description: string | null;
|
|
12
|
+
url: string;
|
|
13
13
|
preview_url: string;
|
|
14
14
|
remote_url: string | null;
|
|
15
15
|
bluehash: string;
|
|
16
16
|
}, {
|
|
17
17
|
id: string;
|
|
18
|
-
url: string;
|
|
19
18
|
description: string | null;
|
|
19
|
+
url: string;
|
|
20
20
|
preview_url: string;
|
|
21
21
|
remote_url: string | null;
|
|
22
22
|
bluehash: string;
|
|
@@ -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
|
-
url: string;
|
|
101
100
|
description: string | null;
|
|
101
|
+
url: string;
|
|
102
102
|
preview_url: string;
|
|
103
103
|
remote_url: string | null;
|
|
104
104
|
bluehash: string;
|
|
@@ -127,8 +127,8 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
127
127
|
}, {
|
|
128
128
|
id: string;
|
|
129
129
|
type: "gifv";
|
|
130
|
-
url: string;
|
|
131
130
|
description: string | null;
|
|
131
|
+
url: string;
|
|
132
132
|
preview_url: string;
|
|
133
133
|
remote_url: string | null;
|
|
134
134
|
bluehash: string;
|
|
@@ -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
|
-
url: string;
|
|
93
92
|
description: string | null;
|
|
93
|
+
url: string;
|
|
94
94
|
preview_url: string;
|
|
95
95
|
remote_url: string | null;
|
|
96
96
|
bluehash: string;
|
|
@@ -115,8 +115,8 @@ export declare const Image: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
115
115
|
}, {
|
|
116
116
|
id: string;
|
|
117
117
|
type: "image";
|
|
118
|
-
url: string;
|
|
119
118
|
description: string | null;
|
|
119
|
+
url: string;
|
|
120
120
|
preview_url: string;
|
|
121
121
|
remote_url: string | null;
|
|
122
122
|
bluehash: string;
|
|
@@ -89,8 +89,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
89
89
|
}>, "strip", z.ZodTypeAny, {
|
|
90
90
|
id: string;
|
|
91
91
|
type: "image";
|
|
92
|
-
url: string;
|
|
93
92
|
description: string | null;
|
|
93
|
+
url: string;
|
|
94
94
|
preview_url: string;
|
|
95
95
|
remote_url: string | null;
|
|
96
96
|
bluehash: string;
|
|
@@ -115,8 +115,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
115
115
|
}, {
|
|
116
116
|
id: string;
|
|
117
117
|
type: "image";
|
|
118
|
-
url: string;
|
|
119
118
|
description: string | null;
|
|
119
|
+
url: string;
|
|
120
120
|
preview_url: string;
|
|
121
121
|
remote_url: string | null;
|
|
122
122
|
bluehash: string;
|
|
@@ -236,8 +236,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
236
236
|
}>, "strip", z.ZodTypeAny, {
|
|
237
237
|
id: string;
|
|
238
238
|
type: "gifv";
|
|
239
|
-
url: string;
|
|
240
239
|
description: string | null;
|
|
240
|
+
url: string;
|
|
241
241
|
preview_url: string;
|
|
242
242
|
remote_url: string | null;
|
|
243
243
|
bluehash: string;
|
|
@@ -266,8 +266,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
266
266
|
}, {
|
|
267
267
|
id: string;
|
|
268
268
|
type: "gifv";
|
|
269
|
-
url: string;
|
|
270
269
|
description: string | null;
|
|
270
|
+
url: string;
|
|
271
271
|
preview_url: string;
|
|
272
272
|
remote_url: string | null;
|
|
273
273
|
bluehash: string;
|
|
@@ -400,8 +400,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
400
400
|
}>, "strip", z.ZodTypeAny, {
|
|
401
401
|
id: string;
|
|
402
402
|
type: "video";
|
|
403
|
-
url: string;
|
|
404
403
|
description: string | null;
|
|
404
|
+
url: string;
|
|
405
405
|
preview_url: string;
|
|
406
406
|
remote_url: string | null;
|
|
407
407
|
bluehash: string;
|
|
@@ -433,8 +433,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
433
433
|
}, {
|
|
434
434
|
id: string;
|
|
435
435
|
type: "video";
|
|
436
|
-
url: string;
|
|
437
436
|
description: string | null;
|
|
437
|
+
url: string;
|
|
438
438
|
preview_url: string;
|
|
439
439
|
remote_url: string | null;
|
|
440
440
|
bluehash: string;
|
|
@@ -512,8 +512,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
512
512
|
}>, "strip", z.ZodTypeAny, {
|
|
513
513
|
id: string;
|
|
514
514
|
type: "audio";
|
|
515
|
-
url: string;
|
|
516
515
|
description: string | null;
|
|
516
|
+
url: string;
|
|
517
517
|
preview_url: string;
|
|
518
518
|
remote_url: string | null;
|
|
519
519
|
bluehash: string;
|
|
@@ -531,8 +531,8 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
531
531
|
}, {
|
|
532
532
|
id: string;
|
|
533
533
|
type: "audio";
|
|
534
|
-
url: string;
|
|
535
534
|
description: string | null;
|
|
535
|
+
url: string;
|
|
536
536
|
preview_url: string;
|
|
537
537
|
remote_url: string | null;
|
|
538
538
|
bluehash: string;
|
|
@@ -559,16 +559,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
559
559
|
}>, "strip", z.ZodTypeAny, {
|
|
560
560
|
id: string;
|
|
561
561
|
type: "unknown";
|
|
562
|
-
url: string;
|
|
563
562
|
description: string | null;
|
|
563
|
+
url: string;
|
|
564
564
|
preview_url: string;
|
|
565
565
|
remote_url: string | null;
|
|
566
566
|
bluehash: string;
|
|
567
567
|
}, {
|
|
568
568
|
id: string;
|
|
569
569
|
type: "unknown";
|
|
570
|
-
url: string;
|
|
571
570
|
description: string | null;
|
|
571
|
+
url: string;
|
|
572
572
|
preview_url: string;
|
|
573
573
|
remote_url: string | null;
|
|
574
574
|
bluehash: string;
|
|
@@ -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
|
-
url: string;
|
|
15
14
|
description: string | null;
|
|
15
|
+
url: string;
|
|
16
16
|
preview_url: string;
|
|
17
17
|
remote_url: string | null;
|
|
18
18
|
bluehash: string;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
type: "unknown";
|
|
22
|
-
url: string;
|
|
23
22
|
description: string | null;
|
|
23
|
+
url: string;
|
|
24
24
|
preview_url: string;
|
|
25
25
|
remote_url: string | null;
|
|
26
26
|
bluehash: string;
|
|
@@ -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
|
-
url: string;
|
|
110
109
|
description: string | null;
|
|
110
|
+
url: string;
|
|
111
111
|
preview_url: string;
|
|
112
112
|
remote_url: string | null;
|
|
113
113
|
bluehash: string;
|
|
@@ -139,8 +139,8 @@ export declare const Video: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
139
|
}, {
|
|
140
140
|
id: string;
|
|
141
141
|
type: "video";
|
|
142
|
-
url: string;
|
|
143
142
|
description: string | null;
|
|
143
|
+
url: string;
|
|
144
144
|
preview_url: string;
|
|
145
145
|
remote_url: string | null;
|
|
146
146
|
bluehash: string;
|
|
@@ -16,11 +16,11 @@ 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;
|
|
19
20
|
url: string;
|
|
20
21
|
blurhash: string | null;
|
|
21
22
|
width: number;
|
|
22
23
|
height: number;
|
|
23
|
-
description: string;
|
|
24
24
|
title: string;
|
|
25
25
|
author_name: string;
|
|
26
26
|
author_url: string;
|
|
@@ -31,11 +31,11 @@ export declare const PreviewCard: z.ZodObject<{
|
|
|
31
31
|
embed_url: string;
|
|
32
32
|
}, {
|
|
33
33
|
type: "link" | "photo" | "video" | "rich";
|
|
34
|
+
description: string;
|
|
34
35
|
url: string;
|
|
35
36
|
blurhash: string | null;
|
|
36
37
|
width: number;
|
|
37
38
|
height: number;
|
|
38
|
-
description: string;
|
|
39
39
|
title: string;
|
|
40
40
|
author_name: string;
|
|
41
41
|
author_url: string;
|
|
@@ -421,8 +421,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
421
421
|
}>, "strip", z.ZodTypeAny, {
|
|
422
422
|
id: string;
|
|
423
423
|
type: "image";
|
|
424
|
-
url: string;
|
|
425
424
|
description: string | null;
|
|
425
|
+
url: string;
|
|
426
426
|
preview_url: string;
|
|
427
427
|
remote_url: string | null;
|
|
428
428
|
bluehash: string;
|
|
@@ -447,8 +447,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
447
447
|
}, {
|
|
448
448
|
id: string;
|
|
449
449
|
type: "image";
|
|
450
|
-
url: string;
|
|
451
450
|
description: string | null;
|
|
451
|
+
url: string;
|
|
452
452
|
preview_url: string;
|
|
453
453
|
remote_url: string | null;
|
|
454
454
|
bluehash: string;
|
|
@@ -568,8 +568,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
568
568
|
}>, "strip", z.ZodTypeAny, {
|
|
569
569
|
id: string;
|
|
570
570
|
type: "gifv";
|
|
571
|
-
url: string;
|
|
572
571
|
description: string | null;
|
|
572
|
+
url: string;
|
|
573
573
|
preview_url: string;
|
|
574
574
|
remote_url: string | null;
|
|
575
575
|
bluehash: string;
|
|
@@ -598,8 +598,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
598
598
|
}, {
|
|
599
599
|
id: string;
|
|
600
600
|
type: "gifv";
|
|
601
|
-
url: string;
|
|
602
601
|
description: string | null;
|
|
602
|
+
url: string;
|
|
603
603
|
preview_url: string;
|
|
604
604
|
remote_url: string | null;
|
|
605
605
|
bluehash: string;
|
|
@@ -732,8 +732,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
732
732
|
}>, "strip", z.ZodTypeAny, {
|
|
733
733
|
id: string;
|
|
734
734
|
type: "video";
|
|
735
|
-
url: string;
|
|
736
735
|
description: string | null;
|
|
736
|
+
url: string;
|
|
737
737
|
preview_url: string;
|
|
738
738
|
remote_url: string | null;
|
|
739
739
|
bluehash: string;
|
|
@@ -765,8 +765,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
765
765
|
}, {
|
|
766
766
|
id: string;
|
|
767
767
|
type: "video";
|
|
768
|
-
url: string;
|
|
769
768
|
description: string | null;
|
|
769
|
+
url: string;
|
|
770
770
|
preview_url: string;
|
|
771
771
|
remote_url: string | null;
|
|
772
772
|
bluehash: string;
|
|
@@ -844,8 +844,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
844
844
|
}>, "strip", z.ZodTypeAny, {
|
|
845
845
|
id: string;
|
|
846
846
|
type: "audio";
|
|
847
|
-
url: string;
|
|
848
847
|
description: string | null;
|
|
848
|
+
url: string;
|
|
849
849
|
preview_url: string;
|
|
850
850
|
remote_url: string | null;
|
|
851
851
|
bluehash: string;
|
|
@@ -863,8 +863,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
863
863
|
}, {
|
|
864
864
|
id: string;
|
|
865
865
|
type: "audio";
|
|
866
|
-
url: string;
|
|
867
866
|
description: string | null;
|
|
867
|
+
url: string;
|
|
868
868
|
preview_url: string;
|
|
869
869
|
remote_url: string | null;
|
|
870
870
|
bluehash: string;
|
|
@@ -891,16 +891,16 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
891
891
|
}>, "strip", z.ZodTypeAny, {
|
|
892
892
|
id: string;
|
|
893
893
|
type: "unknown";
|
|
894
|
-
url: string;
|
|
895
894
|
description: string | null;
|
|
895
|
+
url: string;
|
|
896
896
|
preview_url: string;
|
|
897
897
|
remote_url: string | null;
|
|
898
898
|
bluehash: string;
|
|
899
899
|
}, {
|
|
900
900
|
id: string;
|
|
901
901
|
type: "unknown";
|
|
902
|
-
url: string;
|
|
903
902
|
description: string | null;
|
|
903
|
+
url: string;
|
|
904
904
|
preview_url: string;
|
|
905
905
|
remote_url: string | null;
|
|
906
906
|
bluehash: string;
|
|
@@ -1036,11 +1036,11 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1036
1036
|
blurhash: z.ZodNullable<z.ZodString>;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
1038
|
type: "link" | "photo" | "video" | "rich";
|
|
1039
|
+
description: string;
|
|
1039
1040
|
url: string;
|
|
1040
1041
|
blurhash: string | null;
|
|
1041
1042
|
width: number;
|
|
1042
1043
|
height: number;
|
|
1043
|
-
description: string;
|
|
1044
1044
|
title: string;
|
|
1045
1045
|
author_name: string;
|
|
1046
1046
|
author_url: string;
|
|
@@ -1051,11 +1051,11 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1051
1051
|
embed_url: string;
|
|
1052
1052
|
}, {
|
|
1053
1053
|
type: "link" | "photo" | "video" | "rich";
|
|
1054
|
+
description: string;
|
|
1054
1055
|
url: string;
|
|
1055
1056
|
blurhash: string | null;
|
|
1056
1057
|
width: number;
|
|
1057
1058
|
height: number;
|
|
1058
|
-
description: string;
|
|
1059
1059
|
title: string;
|
|
1060
1060
|
author_name: string;
|
|
1061
1061
|
author_url: string;
|
|
@@ -1267,8 +1267,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1267
1267
|
media_attachments: ({
|
|
1268
1268
|
id: string;
|
|
1269
1269
|
type: "gifv";
|
|
1270
|
-
url: string;
|
|
1271
1270
|
description: string | null;
|
|
1271
|
+
url: string;
|
|
1272
1272
|
preview_url: string;
|
|
1273
1273
|
remote_url: string | null;
|
|
1274
1274
|
bluehash: string;
|
|
@@ -1297,8 +1297,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1297
1297
|
} | {
|
|
1298
1298
|
id: string;
|
|
1299
1299
|
type: "image";
|
|
1300
|
-
url: string;
|
|
1301
1300
|
description: string | null;
|
|
1301
|
+
url: string;
|
|
1302
1302
|
preview_url: string;
|
|
1303
1303
|
remote_url: string | null;
|
|
1304
1304
|
bluehash: string;
|
|
@@ -1323,8 +1323,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1323
1323
|
} | {
|
|
1324
1324
|
id: string;
|
|
1325
1325
|
type: "video";
|
|
1326
|
-
url: string;
|
|
1327
1326
|
description: string | null;
|
|
1327
|
+
url: string;
|
|
1328
1328
|
preview_url: string;
|
|
1329
1329
|
remote_url: string | null;
|
|
1330
1330
|
bluehash: string;
|
|
@@ -1356,8 +1356,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1356
1356
|
} | {
|
|
1357
1357
|
id: string;
|
|
1358
1358
|
type: "audio";
|
|
1359
|
-
url: string;
|
|
1360
1359
|
description: string | null;
|
|
1360
|
+
url: string;
|
|
1361
1361
|
preview_url: string;
|
|
1362
1362
|
remote_url: string | null;
|
|
1363
1363
|
bluehash: string;
|
|
@@ -1375,8 +1375,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1375
1375
|
} | {
|
|
1376
1376
|
id: string;
|
|
1377
1377
|
type: "unknown";
|
|
1378
|
-
url: string;
|
|
1379
1378
|
description: string | null;
|
|
1379
|
+
url: string;
|
|
1380
1380
|
preview_url: string;
|
|
1381
1381
|
remote_url: string | null;
|
|
1382
1382
|
bluehash: string;
|
|
@@ -1409,11 +1409,11 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1409
1409
|
} | null;
|
|
1410
1410
|
card: {
|
|
1411
1411
|
type: "link" | "photo" | "video" | "rich";
|
|
1412
|
+
description: string;
|
|
1412
1413
|
url: string;
|
|
1413
1414
|
blurhash: string | null;
|
|
1414
1415
|
width: number;
|
|
1415
1416
|
height: number;
|
|
1416
|
-
description: string;
|
|
1417
1417
|
title: string;
|
|
1418
1418
|
author_name: string;
|
|
1419
1419
|
author_url: string;
|
|
@@ -1546,8 +1546,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1546
1546
|
media_attachments: ({
|
|
1547
1547
|
id: string;
|
|
1548
1548
|
type: "gifv";
|
|
1549
|
-
url: string;
|
|
1550
1549
|
description: string | null;
|
|
1550
|
+
url: string;
|
|
1551
1551
|
preview_url: string;
|
|
1552
1552
|
remote_url: string | null;
|
|
1553
1553
|
bluehash: string;
|
|
@@ -1576,8 +1576,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1576
1576
|
} | {
|
|
1577
1577
|
id: string;
|
|
1578
1578
|
type: "image";
|
|
1579
|
-
url: string;
|
|
1580
1579
|
description: string | null;
|
|
1580
|
+
url: string;
|
|
1581
1581
|
preview_url: string;
|
|
1582
1582
|
remote_url: string | null;
|
|
1583
1583
|
bluehash: string;
|
|
@@ -1602,8 +1602,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1602
1602
|
} | {
|
|
1603
1603
|
id: string;
|
|
1604
1604
|
type: "video";
|
|
1605
|
-
url: string;
|
|
1606
1605
|
description: string | null;
|
|
1606
|
+
url: string;
|
|
1607
1607
|
preview_url: string;
|
|
1608
1608
|
remote_url: string | null;
|
|
1609
1609
|
bluehash: string;
|
|
@@ -1635,8 +1635,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1635
1635
|
} | {
|
|
1636
1636
|
id: string;
|
|
1637
1637
|
type: "audio";
|
|
1638
|
-
url: string;
|
|
1639
1638
|
description: string | null;
|
|
1639
|
+
url: string;
|
|
1640
1640
|
preview_url: string;
|
|
1641
1641
|
remote_url: string | null;
|
|
1642
1642
|
bluehash: string;
|
|
@@ -1654,8 +1654,8 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1654
1654
|
} | {
|
|
1655
1655
|
id: string;
|
|
1656
1656
|
type: "unknown";
|
|
1657
|
-
url: string;
|
|
1658
1657
|
description: string | null;
|
|
1658
|
+
url: string;
|
|
1659
1659
|
preview_url: string;
|
|
1660
1660
|
remote_url: string | null;
|
|
1661
1661
|
bluehash: string;
|
|
@@ -1688,11 +1688,11 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1688
1688
|
} | null;
|
|
1689
1689
|
card: {
|
|
1690
1690
|
type: "link" | "photo" | "video" | "rich";
|
|
1691
|
+
description: string;
|
|
1691
1692
|
url: string;
|
|
1692
1693
|
blurhash: string | null;
|
|
1693
1694
|
width: number;
|
|
1694
1695
|
height: number;
|
|
1695
|
-
description: string;
|
|
1696
1696
|
title: string;
|
|
1697
1697
|
author_name: string;
|
|
1698
1698
|
author_url: string;
|