@llun/activities.schema 0.1.0 → 0.1.2
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/mastodon/account.d.ts +20 -20
- package/dist/mastodon/account.js +2 -2
- package/dist/mastodon/index.d.ts +6 -0
- package/dist/mastodon/index.js +6 -0
- package/dist/mastodon/mediaAttachment/audio.d.ts +12 -12
- package/dist/mastodon/mediaAttachment/gifv.d.ts +18 -18
- package/dist/mastodon/mediaAttachment/index.d.ts +60 -60
- package/dist/mastodon/mediaAttachment/video.d.ts +30 -30
- package/dist/mastodon/status/base.d.ts +154 -154
- package/dist/mastodon/status/index.d.ts +383 -383
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/mastodon/account.ts +2 -2
- package/src/mastodon/index.ts +7 -0
|
@@ -10,7 +10,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10
10
|
avatar_static: z.ZodString;
|
|
11
11
|
header: z.ZodString;
|
|
12
12
|
header_static: z.ZodString;
|
|
13
|
-
|
|
13
|
+
locked: z.ZodBoolean;
|
|
14
14
|
fields: z.ZodArray<z.ZodObject<{
|
|
15
15
|
name: z.ZodString;
|
|
16
16
|
value: z.ZodString;
|
|
@@ -55,7 +55,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
55
55
|
followers_count: z.ZodNumber;
|
|
56
56
|
following_count: z.ZodNumber;
|
|
57
57
|
}, {
|
|
58
|
-
moved: z.ZodNullable<z.ZodObject<{
|
|
58
|
+
moved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
59
59
|
id: z.ZodString;
|
|
60
60
|
username: z.ZodString;
|
|
61
61
|
acct: z.ZodString;
|
|
@@ -66,7 +66,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
66
66
|
avatar_static: z.ZodString;
|
|
67
67
|
header: z.ZodString;
|
|
68
68
|
header_static: z.ZodString;
|
|
69
|
-
|
|
69
|
+
locked: z.ZodBoolean;
|
|
70
70
|
fields: z.ZodArray<z.ZodObject<{
|
|
71
71
|
name: z.ZodString;
|
|
72
72
|
value: z.ZodString;
|
|
@@ -121,7 +121,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
121
121
|
avatar_static: string;
|
|
122
122
|
header: string;
|
|
123
123
|
header_static: string;
|
|
124
|
-
|
|
124
|
+
locked: boolean;
|
|
125
125
|
fields: {
|
|
126
126
|
value: string;
|
|
127
127
|
name: string;
|
|
@@ -156,7 +156,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
156
156
|
avatar_static: string;
|
|
157
157
|
header: string;
|
|
158
158
|
header_static: string;
|
|
159
|
-
|
|
159
|
+
locked: boolean;
|
|
160
160
|
fields: {
|
|
161
161
|
value: string;
|
|
162
162
|
name: string;
|
|
@@ -180,7 +180,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
180
180
|
noindex?: boolean | null | undefined;
|
|
181
181
|
suspended?: boolean | undefined;
|
|
182
182
|
limited?: boolean | undefined;
|
|
183
|
-
}
|
|
183
|
+
}>>>;
|
|
184
184
|
}>, "strip", z.ZodTypeAny, {
|
|
185
185
|
id: string;
|
|
186
186
|
url: string;
|
|
@@ -192,7 +192,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
192
192
|
avatar_static: string;
|
|
193
193
|
header: string;
|
|
194
194
|
header_static: string;
|
|
195
|
-
|
|
195
|
+
locked: boolean;
|
|
196
196
|
fields: {
|
|
197
197
|
value: string;
|
|
198
198
|
name: string;
|
|
@@ -213,7 +213,10 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
213
213
|
statuses_count: number;
|
|
214
214
|
followers_count: number;
|
|
215
215
|
following_count: number;
|
|
216
|
-
|
|
216
|
+
noindex?: boolean | null | undefined;
|
|
217
|
+
suspended?: boolean | undefined;
|
|
218
|
+
limited?: boolean | undefined;
|
|
219
|
+
moved?: {
|
|
217
220
|
id: string;
|
|
218
221
|
url: string;
|
|
219
222
|
username: string;
|
|
@@ -224,7 +227,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
224
227
|
avatar_static: string;
|
|
225
228
|
header: string;
|
|
226
229
|
header_static: string;
|
|
227
|
-
|
|
230
|
+
locked: boolean;
|
|
228
231
|
fields: {
|
|
229
232
|
value: string;
|
|
230
233
|
name: string;
|
|
@@ -248,10 +251,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
248
251
|
noindex?: boolean | null | undefined;
|
|
249
252
|
suspended?: boolean | undefined;
|
|
250
253
|
limited?: boolean | undefined;
|
|
251
|
-
} | null;
|
|
252
|
-
noindex?: boolean | null | undefined;
|
|
253
|
-
suspended?: boolean | undefined;
|
|
254
|
-
limited?: boolean | undefined;
|
|
254
|
+
} | null | undefined;
|
|
255
255
|
}, {
|
|
256
256
|
id: string;
|
|
257
257
|
url: string;
|
|
@@ -263,7 +263,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
263
263
|
avatar_static: string;
|
|
264
264
|
header: string;
|
|
265
265
|
header_static: string;
|
|
266
|
-
|
|
266
|
+
locked: boolean;
|
|
267
267
|
fields: {
|
|
268
268
|
value: string;
|
|
269
269
|
name: string;
|
|
@@ -284,7 +284,10 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
284
284
|
statuses_count: number;
|
|
285
285
|
followers_count: number;
|
|
286
286
|
following_count: number;
|
|
287
|
-
|
|
287
|
+
noindex?: boolean | null | undefined;
|
|
288
|
+
suspended?: boolean | undefined;
|
|
289
|
+
limited?: boolean | undefined;
|
|
290
|
+
moved?: {
|
|
288
291
|
id: string;
|
|
289
292
|
url: string;
|
|
290
293
|
username: string;
|
|
@@ -295,7 +298,7 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
295
298
|
avatar_static: string;
|
|
296
299
|
header: string;
|
|
297
300
|
header_static: string;
|
|
298
|
-
|
|
301
|
+
locked: boolean;
|
|
299
302
|
fields: {
|
|
300
303
|
value: string;
|
|
301
304
|
name: string;
|
|
@@ -319,9 +322,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
319
322
|
noindex?: boolean | null | undefined;
|
|
320
323
|
suspended?: boolean | undefined;
|
|
321
324
|
limited?: boolean | undefined;
|
|
322
|
-
} | null;
|
|
323
|
-
noindex?: boolean | null | undefined;
|
|
324
|
-
suspended?: boolean | undefined;
|
|
325
|
-
limited?: boolean | undefined;
|
|
325
|
+
} | null | undefined;
|
|
326
326
|
}>;
|
|
327
327
|
export type Account = z.infer<typeof Account>;
|
package/dist/mastodon/account.js
CHANGED
|
@@ -33,7 +33,7 @@ const BaseAccount = z.object({
|
|
|
33
33
|
header_static: z.string({
|
|
34
34
|
description: "A static version of the `header`. Equal to `header` if its value is a static image; different if `header` is an animated GIF",
|
|
35
35
|
}),
|
|
36
|
-
|
|
36
|
+
locked: z.boolean({
|
|
37
37
|
description: "Whether the actor manually approves follow requests",
|
|
38
38
|
}),
|
|
39
39
|
fields: AccountField.array().describe("Additional metadata attached to a profile as name-value pairs"),
|
|
@@ -83,5 +83,5 @@ const BaseAccount = z.object({
|
|
|
83
83
|
}),
|
|
84
84
|
});
|
|
85
85
|
export const Account = BaseAccount.extend({
|
|
86
|
-
moved: BaseAccount.
|
|
86
|
+
moved: BaseAccount.nullish().describe("Indicates that the profile is currently inactive and that its user has moved to a new account"),
|
|
87
87
|
});
|
package/dist/mastodon/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
export * from "./account.js";
|
|
2
2
|
export * from "./accountField.js";
|
|
3
3
|
export * from "./customEmoji.js";
|
|
4
|
+
export * from "./filterResult.js";
|
|
5
|
+
export * from "./previewCard.js";
|
|
6
|
+
export * from "./filter/index.js";
|
|
7
|
+
export * from "./mediaAttachment/index.js";
|
|
8
|
+
export * from "./poll/index.js";
|
|
9
|
+
export * from "./status/index.js";
|
package/dist/mastodon/index.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
export * from "./account.js";
|
|
2
2
|
export * from "./accountField.js";
|
|
3
3
|
export * from "./customEmoji.js";
|
|
4
|
+
export * from "./filterResult.js";
|
|
5
|
+
export * from "./previewCard.js";
|
|
6
|
+
export * from "./filter/index.js";
|
|
7
|
+
export * from "./mediaAttachment/index.js";
|
|
8
|
+
export * from "./poll/index.js";
|
|
9
|
+
export * from "./status/index.js";
|
|
@@ -27,23 +27,23 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
length: string;
|
|
29
29
|
duration: number;
|
|
30
|
-
audio_encode: string;
|
|
31
|
-
audio_bitrate: string;
|
|
32
|
-
audio_channels: string;
|
|
33
30
|
original: {
|
|
34
31
|
duration: number;
|
|
35
32
|
bitrate: number;
|
|
36
33
|
};
|
|
37
|
-
}, {
|
|
38
|
-
length: string;
|
|
39
|
-
duration: number;
|
|
40
34
|
audio_encode: string;
|
|
41
35
|
audio_bitrate: string;
|
|
42
36
|
audio_channels: string;
|
|
37
|
+
}, {
|
|
38
|
+
length: string;
|
|
39
|
+
duration: number;
|
|
43
40
|
original: {
|
|
44
41
|
duration: number;
|
|
45
42
|
bitrate: number;
|
|
46
43
|
};
|
|
44
|
+
audio_encode: string;
|
|
45
|
+
audio_bitrate: string;
|
|
46
|
+
audio_channels: string;
|
|
47
47
|
}>;
|
|
48
48
|
}>, "strip", z.ZodTypeAny, {
|
|
49
49
|
id: string;
|
|
@@ -56,13 +56,13 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
56
56
|
meta: {
|
|
57
57
|
length: string;
|
|
58
58
|
duration: number;
|
|
59
|
-
audio_encode: string;
|
|
60
|
-
audio_bitrate: string;
|
|
61
|
-
audio_channels: string;
|
|
62
59
|
original: {
|
|
63
60
|
duration: number;
|
|
64
61
|
bitrate: number;
|
|
65
62
|
};
|
|
63
|
+
audio_encode: string;
|
|
64
|
+
audio_bitrate: string;
|
|
65
|
+
audio_channels: string;
|
|
66
66
|
};
|
|
67
67
|
}, {
|
|
68
68
|
id: string;
|
|
@@ -75,13 +75,13 @@ export declare const Audio: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
75
75
|
meta: {
|
|
76
76
|
length: string;
|
|
77
77
|
duration: number;
|
|
78
|
-
audio_encode: string;
|
|
79
|
-
audio_bitrate: string;
|
|
80
|
-
audio_channels: string;
|
|
81
78
|
original: {
|
|
82
79
|
duration: number;
|
|
83
80
|
bitrate: number;
|
|
84
81
|
};
|
|
82
|
+
audio_encode: string;
|
|
83
|
+
audio_bitrate: string;
|
|
84
|
+
audio_channels: string;
|
|
85
85
|
};
|
|
86
86
|
}>;
|
|
87
87
|
export type Audio = z.infer<typeof Audio>;
|
|
@@ -26,14 +26,14 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
26
26
|
width: number;
|
|
27
27
|
height: number;
|
|
28
28
|
duration: number;
|
|
29
|
-
bitrate: number;
|
|
30
29
|
frame_rate: string;
|
|
30
|
+
bitrate: number;
|
|
31
31
|
}, {
|
|
32
32
|
width: number;
|
|
33
33
|
height: number;
|
|
34
34
|
duration: number;
|
|
35
|
-
bitrate: number;
|
|
36
35
|
frame_rate: string;
|
|
36
|
+
bitrate: number;
|
|
37
37
|
}>;
|
|
38
38
|
small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
width: z.ZodNumber;
|
|
@@ -56,16 +56,16 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
56
56
|
width: number;
|
|
57
57
|
height: number;
|
|
58
58
|
duration: number;
|
|
59
|
+
fps: number;
|
|
60
|
+
size: string;
|
|
61
|
+
aspect: number;
|
|
59
62
|
original: {
|
|
60
63
|
width: number;
|
|
61
64
|
height: number;
|
|
62
65
|
duration: number;
|
|
63
|
-
bitrate: number;
|
|
64
66
|
frame_rate: string;
|
|
67
|
+
bitrate: number;
|
|
65
68
|
};
|
|
66
|
-
fps: number;
|
|
67
|
-
size: string;
|
|
68
|
-
aspect: number;
|
|
69
69
|
small?: {
|
|
70
70
|
width: number;
|
|
71
71
|
height: number;
|
|
@@ -77,16 +77,16 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
77
77
|
width: number;
|
|
78
78
|
height: number;
|
|
79
79
|
duration: number;
|
|
80
|
+
fps: number;
|
|
81
|
+
size: string;
|
|
82
|
+
aspect: number;
|
|
80
83
|
original: {
|
|
81
84
|
width: number;
|
|
82
85
|
height: number;
|
|
83
86
|
duration: number;
|
|
84
|
-
bitrate: number;
|
|
85
87
|
frame_rate: string;
|
|
88
|
+
bitrate: number;
|
|
86
89
|
};
|
|
87
|
-
fps: number;
|
|
88
|
-
size: string;
|
|
89
|
-
aspect: number;
|
|
90
90
|
small?: {
|
|
91
91
|
width: number;
|
|
92
92
|
height: number;
|
|
@@ -107,16 +107,16 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
107
107
|
width: number;
|
|
108
108
|
height: number;
|
|
109
109
|
duration: number;
|
|
110
|
+
fps: number;
|
|
111
|
+
size: string;
|
|
112
|
+
aspect: number;
|
|
110
113
|
original: {
|
|
111
114
|
width: number;
|
|
112
115
|
height: number;
|
|
113
116
|
duration: number;
|
|
114
|
-
bitrate: number;
|
|
115
117
|
frame_rate: string;
|
|
118
|
+
bitrate: number;
|
|
116
119
|
};
|
|
117
|
-
fps: number;
|
|
118
|
-
size: string;
|
|
119
|
-
aspect: number;
|
|
120
120
|
small?: {
|
|
121
121
|
width: number;
|
|
122
122
|
height: number;
|
|
@@ -137,16 +137,16 @@ export declare const Gifv: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
137
137
|
width: number;
|
|
138
138
|
height: number;
|
|
139
139
|
duration: number;
|
|
140
|
+
fps: number;
|
|
141
|
+
size: string;
|
|
142
|
+
aspect: number;
|
|
140
143
|
original: {
|
|
141
144
|
width: number;
|
|
142
145
|
height: number;
|
|
143
146
|
duration: number;
|
|
144
|
-
bitrate: number;
|
|
145
147
|
frame_rate: string;
|
|
148
|
+
bitrate: number;
|
|
146
149
|
};
|
|
147
|
-
fps: number;
|
|
148
|
-
size: string;
|
|
149
|
-
aspect: number;
|
|
150
150
|
small?: {
|
|
151
151
|
width: number;
|
|
152
152
|
height: number;
|
|
@@ -165,14 +165,14 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
165
165
|
width: number;
|
|
166
166
|
height: number;
|
|
167
167
|
duration: number;
|
|
168
|
-
bitrate: number;
|
|
169
168
|
frame_rate: string;
|
|
169
|
+
bitrate: number;
|
|
170
170
|
}, {
|
|
171
171
|
width: number;
|
|
172
172
|
height: number;
|
|
173
173
|
duration: number;
|
|
174
|
-
bitrate: number;
|
|
175
174
|
frame_rate: string;
|
|
175
|
+
bitrate: number;
|
|
176
176
|
}>;
|
|
177
177
|
small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
178
178
|
width: z.ZodNumber;
|
|
@@ -195,16 +195,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
195
195
|
width: number;
|
|
196
196
|
height: number;
|
|
197
197
|
duration: number;
|
|
198
|
+
fps: number;
|
|
199
|
+
size: string;
|
|
200
|
+
aspect: number;
|
|
198
201
|
original: {
|
|
199
202
|
width: number;
|
|
200
203
|
height: number;
|
|
201
204
|
duration: number;
|
|
202
|
-
bitrate: number;
|
|
203
205
|
frame_rate: string;
|
|
206
|
+
bitrate: number;
|
|
204
207
|
};
|
|
205
|
-
fps: number;
|
|
206
|
-
size: string;
|
|
207
|
-
aspect: number;
|
|
208
208
|
small?: {
|
|
209
209
|
width: number;
|
|
210
210
|
height: number;
|
|
@@ -216,16 +216,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
216
216
|
width: number;
|
|
217
217
|
height: number;
|
|
218
218
|
duration: number;
|
|
219
|
+
fps: number;
|
|
220
|
+
size: string;
|
|
221
|
+
aspect: number;
|
|
219
222
|
original: {
|
|
220
223
|
width: number;
|
|
221
224
|
height: number;
|
|
222
225
|
duration: number;
|
|
223
|
-
bitrate: number;
|
|
224
226
|
frame_rate: string;
|
|
227
|
+
bitrate: number;
|
|
225
228
|
};
|
|
226
|
-
fps: number;
|
|
227
|
-
size: string;
|
|
228
|
-
aspect: number;
|
|
229
229
|
small?: {
|
|
230
230
|
width: number;
|
|
231
231
|
height: number;
|
|
@@ -246,16 +246,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
246
246
|
width: number;
|
|
247
247
|
height: number;
|
|
248
248
|
duration: number;
|
|
249
|
+
fps: number;
|
|
250
|
+
size: string;
|
|
251
|
+
aspect: number;
|
|
249
252
|
original: {
|
|
250
253
|
width: number;
|
|
251
254
|
height: number;
|
|
252
255
|
duration: number;
|
|
253
|
-
bitrate: number;
|
|
254
256
|
frame_rate: string;
|
|
257
|
+
bitrate: number;
|
|
255
258
|
};
|
|
256
|
-
fps: number;
|
|
257
|
-
size: string;
|
|
258
|
-
aspect: number;
|
|
259
259
|
small?: {
|
|
260
260
|
width: number;
|
|
261
261
|
height: number;
|
|
@@ -276,16 +276,16 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
276
276
|
width: number;
|
|
277
277
|
height: number;
|
|
278
278
|
duration: number;
|
|
279
|
+
fps: number;
|
|
280
|
+
size: string;
|
|
281
|
+
aspect: number;
|
|
279
282
|
original: {
|
|
280
283
|
width: number;
|
|
281
284
|
height: number;
|
|
282
285
|
duration: number;
|
|
283
|
-
bitrate: number;
|
|
284
286
|
frame_rate: string;
|
|
287
|
+
bitrate: number;
|
|
285
288
|
};
|
|
286
|
-
fps: number;
|
|
287
|
-
size: string;
|
|
288
|
-
aspect: number;
|
|
289
289
|
small?: {
|
|
290
290
|
width: number;
|
|
291
291
|
height: number;
|
|
@@ -323,14 +323,14 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
323
323
|
width: number;
|
|
324
324
|
height: number;
|
|
325
325
|
duration: number;
|
|
326
|
-
bitrate: number;
|
|
327
326
|
frame_rate: string;
|
|
327
|
+
bitrate: number;
|
|
328
328
|
}, {
|
|
329
329
|
width: number;
|
|
330
330
|
height: number;
|
|
331
331
|
duration: number;
|
|
332
|
-
bitrate: number;
|
|
333
332
|
frame_rate: string;
|
|
333
|
+
bitrate: number;
|
|
334
334
|
}>;
|
|
335
335
|
small: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
336
336
|
width: z.ZodNumber;
|
|
@@ -353,19 +353,19 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
353
353
|
width: number;
|
|
354
354
|
height: number;
|
|
355
355
|
duration: number;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
fps: number;
|
|
357
|
+
size: string;
|
|
358
|
+
aspect: number;
|
|
359
359
|
original: {
|
|
360
360
|
width: number;
|
|
361
361
|
height: number;
|
|
362
362
|
duration: number;
|
|
363
|
-
bitrate: number;
|
|
364
363
|
frame_rate: string;
|
|
364
|
+
bitrate: number;
|
|
365
365
|
};
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
366
|
+
audio_encode: string;
|
|
367
|
+
audio_bitrate: string;
|
|
368
|
+
audio_channels: string;
|
|
369
369
|
small?: {
|
|
370
370
|
width: number;
|
|
371
371
|
height: number;
|
|
@@ -377,19 +377,19 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
377
377
|
width: number;
|
|
378
378
|
height: number;
|
|
379
379
|
duration: number;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
380
|
+
fps: number;
|
|
381
|
+
size: string;
|
|
382
|
+
aspect: number;
|
|
383
383
|
original: {
|
|
384
384
|
width: number;
|
|
385
385
|
height: number;
|
|
386
386
|
duration: number;
|
|
387
|
-
bitrate: number;
|
|
388
387
|
frame_rate: string;
|
|
388
|
+
bitrate: number;
|
|
389
389
|
};
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
390
|
+
audio_encode: string;
|
|
391
|
+
audio_bitrate: string;
|
|
392
|
+
audio_channels: string;
|
|
393
393
|
small?: {
|
|
394
394
|
width: number;
|
|
395
395
|
height: number;
|
|
@@ -410,19 +410,19 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
410
410
|
width: number;
|
|
411
411
|
height: number;
|
|
412
412
|
duration: number;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
413
|
+
fps: number;
|
|
414
|
+
size: string;
|
|
415
|
+
aspect: number;
|
|
416
416
|
original: {
|
|
417
417
|
width: number;
|
|
418
418
|
height: number;
|
|
419
419
|
duration: number;
|
|
420
|
-
bitrate: number;
|
|
421
420
|
frame_rate: string;
|
|
421
|
+
bitrate: number;
|
|
422
422
|
};
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
audio_encode: string;
|
|
424
|
+
audio_bitrate: string;
|
|
425
|
+
audio_channels: string;
|
|
426
426
|
small?: {
|
|
427
427
|
width: number;
|
|
428
428
|
height: number;
|
|
@@ -443,19 +443,19 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
443
443
|
width: number;
|
|
444
444
|
height: number;
|
|
445
445
|
duration: number;
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
446
|
+
fps: number;
|
|
447
|
+
size: string;
|
|
448
|
+
aspect: number;
|
|
449
449
|
original: {
|
|
450
450
|
width: number;
|
|
451
451
|
height: number;
|
|
452
452
|
duration: number;
|
|
453
|
-
bitrate: number;
|
|
454
453
|
frame_rate: string;
|
|
454
|
+
bitrate: number;
|
|
455
455
|
};
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
456
|
+
audio_encode: string;
|
|
457
|
+
audio_bitrate: string;
|
|
458
|
+
audio_channels: string;
|
|
459
459
|
small?: {
|
|
460
460
|
width: number;
|
|
461
461
|
height: number;
|
|
@@ -491,23 +491,23 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
492
|
length: string;
|
|
493
493
|
duration: number;
|
|
494
|
-
audio_encode: string;
|
|
495
|
-
audio_bitrate: string;
|
|
496
|
-
audio_channels: string;
|
|
497
494
|
original: {
|
|
498
495
|
duration: number;
|
|
499
496
|
bitrate: number;
|
|
500
497
|
};
|
|
501
|
-
}, {
|
|
502
|
-
length: string;
|
|
503
|
-
duration: number;
|
|
504
498
|
audio_encode: string;
|
|
505
499
|
audio_bitrate: string;
|
|
506
500
|
audio_channels: string;
|
|
501
|
+
}, {
|
|
502
|
+
length: string;
|
|
503
|
+
duration: number;
|
|
507
504
|
original: {
|
|
508
505
|
duration: number;
|
|
509
506
|
bitrate: number;
|
|
510
507
|
};
|
|
508
|
+
audio_encode: string;
|
|
509
|
+
audio_bitrate: string;
|
|
510
|
+
audio_channels: string;
|
|
511
511
|
}>;
|
|
512
512
|
}>, "strip", z.ZodTypeAny, {
|
|
513
513
|
id: string;
|
|
@@ -520,13 +520,13 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
520
520
|
meta: {
|
|
521
521
|
length: string;
|
|
522
522
|
duration: number;
|
|
523
|
-
audio_encode: string;
|
|
524
|
-
audio_bitrate: string;
|
|
525
|
-
audio_channels: string;
|
|
526
523
|
original: {
|
|
527
524
|
duration: number;
|
|
528
525
|
bitrate: number;
|
|
529
526
|
};
|
|
527
|
+
audio_encode: string;
|
|
528
|
+
audio_bitrate: string;
|
|
529
|
+
audio_channels: string;
|
|
530
530
|
};
|
|
531
531
|
}, {
|
|
532
532
|
id: string;
|
|
@@ -539,13 +539,13 @@ export declare const MediaAttachment: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
539
539
|
meta: {
|
|
540
540
|
length: string;
|
|
541
541
|
duration: number;
|
|
542
|
-
audio_encode: string;
|
|
543
|
-
audio_bitrate: string;
|
|
544
|
-
audio_channels: string;
|
|
545
542
|
original: {
|
|
546
543
|
duration: number;
|
|
547
544
|
bitrate: number;
|
|
548
545
|
};
|
|
546
|
+
audio_encode: string;
|
|
547
|
+
audio_bitrate: string;
|
|
548
|
+
audio_channels: string;
|
|
549
549
|
};
|
|
550
550
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
551
551
|
id: z.ZodString;
|