@llun/activities.schema 0.1.1 → 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.
|
@@ -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
|
});
|
|
@@ -13,7 +13,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
13
13
|
avatar_static: z.ZodString;
|
|
14
14
|
header: z.ZodString;
|
|
15
15
|
header_static: z.ZodString;
|
|
16
|
-
|
|
16
|
+
locked: z.ZodBoolean;
|
|
17
17
|
fields: z.ZodArray<z.ZodObject<{
|
|
18
18
|
name: z.ZodString;
|
|
19
19
|
value: z.ZodString;
|
|
@@ -58,7 +58,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
58
58
|
followers_count: z.ZodNumber;
|
|
59
59
|
following_count: z.ZodNumber;
|
|
60
60
|
}, {
|
|
61
|
-
moved: z.ZodNullable<z.ZodObject<{
|
|
61
|
+
moved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
62
62
|
id: z.ZodString;
|
|
63
63
|
username: z.ZodString;
|
|
64
64
|
acct: z.ZodString;
|
|
@@ -69,7 +69,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
69
69
|
avatar_static: z.ZodString;
|
|
70
70
|
header: z.ZodString;
|
|
71
71
|
header_static: z.ZodString;
|
|
72
|
-
|
|
72
|
+
locked: z.ZodBoolean;
|
|
73
73
|
fields: z.ZodArray<z.ZodObject<{
|
|
74
74
|
name: z.ZodString;
|
|
75
75
|
value: z.ZodString;
|
|
@@ -124,7 +124,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
124
124
|
avatar_static: string;
|
|
125
125
|
header: string;
|
|
126
126
|
header_static: string;
|
|
127
|
-
|
|
127
|
+
locked: boolean;
|
|
128
128
|
fields: {
|
|
129
129
|
value: string;
|
|
130
130
|
name: string;
|
|
@@ -159,7 +159,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
159
159
|
avatar_static: string;
|
|
160
160
|
header: string;
|
|
161
161
|
header_static: string;
|
|
162
|
-
|
|
162
|
+
locked: boolean;
|
|
163
163
|
fields: {
|
|
164
164
|
value: string;
|
|
165
165
|
name: string;
|
|
@@ -183,7 +183,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
183
183
|
noindex?: boolean | null | undefined;
|
|
184
184
|
suspended?: boolean | undefined;
|
|
185
185
|
limited?: boolean | undefined;
|
|
186
|
-
}
|
|
186
|
+
}>>>;
|
|
187
187
|
}>, "strip", z.ZodTypeAny, {
|
|
188
188
|
id: string;
|
|
189
189
|
url: string;
|
|
@@ -195,7 +195,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
195
195
|
avatar_static: string;
|
|
196
196
|
header: string;
|
|
197
197
|
header_static: string;
|
|
198
|
-
|
|
198
|
+
locked: boolean;
|
|
199
199
|
fields: {
|
|
200
200
|
value: string;
|
|
201
201
|
name: string;
|
|
@@ -216,7 +216,10 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
216
216
|
statuses_count: number;
|
|
217
217
|
followers_count: number;
|
|
218
218
|
following_count: number;
|
|
219
|
-
|
|
219
|
+
noindex?: boolean | null | undefined;
|
|
220
|
+
suspended?: boolean | undefined;
|
|
221
|
+
limited?: boolean | undefined;
|
|
222
|
+
moved?: {
|
|
220
223
|
id: string;
|
|
221
224
|
url: string;
|
|
222
225
|
username: string;
|
|
@@ -227,7 +230,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
227
230
|
avatar_static: string;
|
|
228
231
|
header: string;
|
|
229
232
|
header_static: string;
|
|
230
|
-
|
|
233
|
+
locked: boolean;
|
|
231
234
|
fields: {
|
|
232
235
|
value: string;
|
|
233
236
|
name: string;
|
|
@@ -251,10 +254,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
251
254
|
noindex?: boolean | null | undefined;
|
|
252
255
|
suspended?: boolean | undefined;
|
|
253
256
|
limited?: boolean | undefined;
|
|
254
|
-
} | null;
|
|
255
|
-
noindex?: boolean | null | undefined;
|
|
256
|
-
suspended?: boolean | undefined;
|
|
257
|
-
limited?: boolean | undefined;
|
|
257
|
+
} | null | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
id: string;
|
|
260
260
|
url: string;
|
|
@@ -266,7 +266,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
266
266
|
avatar_static: string;
|
|
267
267
|
header: string;
|
|
268
268
|
header_static: string;
|
|
269
|
-
|
|
269
|
+
locked: boolean;
|
|
270
270
|
fields: {
|
|
271
271
|
value: string;
|
|
272
272
|
name: string;
|
|
@@ -287,7 +287,10 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
287
287
|
statuses_count: number;
|
|
288
288
|
followers_count: number;
|
|
289
289
|
following_count: number;
|
|
290
|
-
|
|
290
|
+
noindex?: boolean | null | undefined;
|
|
291
|
+
suspended?: boolean | undefined;
|
|
292
|
+
limited?: boolean | undefined;
|
|
293
|
+
moved?: {
|
|
291
294
|
id: string;
|
|
292
295
|
url: string;
|
|
293
296
|
username: string;
|
|
@@ -298,7 +301,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
298
301
|
avatar_static: string;
|
|
299
302
|
header: string;
|
|
300
303
|
header_static: string;
|
|
301
|
-
|
|
304
|
+
locked: boolean;
|
|
302
305
|
fields: {
|
|
303
306
|
value: string;
|
|
304
307
|
name: string;
|
|
@@ -322,10 +325,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
322
325
|
noindex?: boolean | null | undefined;
|
|
323
326
|
suspended?: boolean | undefined;
|
|
324
327
|
limited?: boolean | undefined;
|
|
325
|
-
} | null;
|
|
326
|
-
noindex?: boolean | null | undefined;
|
|
327
|
-
suspended?: boolean | undefined;
|
|
328
|
-
limited?: boolean | undefined;
|
|
328
|
+
} | null | undefined;
|
|
329
329
|
}>;
|
|
330
330
|
content: z.ZodString;
|
|
331
331
|
visibility: z.ZodEnum<["public", "unlist", "private", "direct"]>;
|
|
@@ -1199,7 +1199,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1199
1199
|
avatar_static: string;
|
|
1200
1200
|
header: string;
|
|
1201
1201
|
header_static: string;
|
|
1202
|
-
|
|
1202
|
+
locked: boolean;
|
|
1203
1203
|
fields: {
|
|
1204
1204
|
value: string;
|
|
1205
1205
|
name: string;
|
|
@@ -1220,7 +1220,10 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1220
1220
|
statuses_count: number;
|
|
1221
1221
|
followers_count: number;
|
|
1222
1222
|
following_count: number;
|
|
1223
|
-
|
|
1223
|
+
noindex?: boolean | null | undefined;
|
|
1224
|
+
suspended?: boolean | undefined;
|
|
1225
|
+
limited?: boolean | undefined;
|
|
1226
|
+
moved?: {
|
|
1224
1227
|
id: string;
|
|
1225
1228
|
url: string;
|
|
1226
1229
|
username: string;
|
|
@@ -1231,7 +1234,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1231
1234
|
avatar_static: string;
|
|
1232
1235
|
header: string;
|
|
1233
1236
|
header_static: string;
|
|
1234
|
-
|
|
1237
|
+
locked: boolean;
|
|
1235
1238
|
fields: {
|
|
1236
1239
|
value: string;
|
|
1237
1240
|
name: string;
|
|
@@ -1255,10 +1258,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1255
1258
|
noindex?: boolean | null | undefined;
|
|
1256
1259
|
suspended?: boolean | undefined;
|
|
1257
1260
|
limited?: boolean | undefined;
|
|
1258
|
-
} | null;
|
|
1259
|
-
noindex?: boolean | null | undefined;
|
|
1260
|
-
suspended?: boolean | undefined;
|
|
1261
|
-
limited?: boolean | undefined;
|
|
1261
|
+
} | null | undefined;
|
|
1262
1262
|
};
|
|
1263
1263
|
uri: string;
|
|
1264
1264
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -1478,7 +1478,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1478
1478
|
avatar_static: string;
|
|
1479
1479
|
header: string;
|
|
1480
1480
|
header_static: string;
|
|
1481
|
-
|
|
1481
|
+
locked: boolean;
|
|
1482
1482
|
fields: {
|
|
1483
1483
|
value: string;
|
|
1484
1484
|
name: string;
|
|
@@ -1499,7 +1499,10 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1499
1499
|
statuses_count: number;
|
|
1500
1500
|
followers_count: number;
|
|
1501
1501
|
following_count: number;
|
|
1502
|
-
|
|
1502
|
+
noindex?: boolean | null | undefined;
|
|
1503
|
+
suspended?: boolean | undefined;
|
|
1504
|
+
limited?: boolean | undefined;
|
|
1505
|
+
moved?: {
|
|
1503
1506
|
id: string;
|
|
1504
1507
|
url: string;
|
|
1505
1508
|
username: string;
|
|
@@ -1510,7 +1513,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1510
1513
|
avatar_static: string;
|
|
1511
1514
|
header: string;
|
|
1512
1515
|
header_static: string;
|
|
1513
|
-
|
|
1516
|
+
locked: boolean;
|
|
1514
1517
|
fields: {
|
|
1515
1518
|
value: string;
|
|
1516
1519
|
name: string;
|
|
@@ -1534,10 +1537,7 @@ export declare const BaseStatus: z.ZodObject<{
|
|
|
1534
1537
|
noindex?: boolean | null | undefined;
|
|
1535
1538
|
suspended?: boolean | undefined;
|
|
1536
1539
|
limited?: boolean | undefined;
|
|
1537
|
-
} | null;
|
|
1538
|
-
noindex?: boolean | null | undefined;
|
|
1539
|
-
suspended?: boolean | undefined;
|
|
1540
|
-
limited?: boolean | undefined;
|
|
1540
|
+
} | null | undefined;
|
|
1541
1541
|
};
|
|
1542
1542
|
uri: string;
|
|
1543
1543
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -13,7 +13,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13
13
|
avatar_static: z.ZodString;
|
|
14
14
|
header: z.ZodString;
|
|
15
15
|
header_static: z.ZodString;
|
|
16
|
-
|
|
16
|
+
locked: z.ZodBoolean;
|
|
17
17
|
fields: z.ZodArray<z.ZodObject<{
|
|
18
18
|
name: z.ZodString;
|
|
19
19
|
value: z.ZodString;
|
|
@@ -58,7 +58,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
58
58
|
followers_count: z.ZodNumber;
|
|
59
59
|
following_count: z.ZodNumber;
|
|
60
60
|
}, {
|
|
61
|
-
moved: z.ZodNullable<z.ZodObject<{
|
|
61
|
+
moved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
62
62
|
id: z.ZodString;
|
|
63
63
|
username: z.ZodString;
|
|
64
64
|
acct: z.ZodString;
|
|
@@ -69,7 +69,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
69
69
|
avatar_static: z.ZodString;
|
|
70
70
|
header: z.ZodString;
|
|
71
71
|
header_static: z.ZodString;
|
|
72
|
-
|
|
72
|
+
locked: z.ZodBoolean;
|
|
73
73
|
fields: z.ZodArray<z.ZodObject<{
|
|
74
74
|
name: z.ZodString;
|
|
75
75
|
value: z.ZodString;
|
|
@@ -124,7 +124,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
124
124
|
avatar_static: string;
|
|
125
125
|
header: string;
|
|
126
126
|
header_static: string;
|
|
127
|
-
|
|
127
|
+
locked: boolean;
|
|
128
128
|
fields: {
|
|
129
129
|
value: string;
|
|
130
130
|
name: string;
|
|
@@ -159,7 +159,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
159
159
|
avatar_static: string;
|
|
160
160
|
header: string;
|
|
161
161
|
header_static: string;
|
|
162
|
-
|
|
162
|
+
locked: boolean;
|
|
163
163
|
fields: {
|
|
164
164
|
value: string;
|
|
165
165
|
name: string;
|
|
@@ -183,7 +183,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
183
183
|
noindex?: boolean | null | undefined;
|
|
184
184
|
suspended?: boolean | undefined;
|
|
185
185
|
limited?: boolean | undefined;
|
|
186
|
-
}
|
|
186
|
+
}>>>;
|
|
187
187
|
}>, "strip", z.ZodTypeAny, {
|
|
188
188
|
id: string;
|
|
189
189
|
url: string;
|
|
@@ -195,7 +195,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
195
195
|
avatar_static: string;
|
|
196
196
|
header: string;
|
|
197
197
|
header_static: string;
|
|
198
|
-
|
|
198
|
+
locked: boolean;
|
|
199
199
|
fields: {
|
|
200
200
|
value: string;
|
|
201
201
|
name: string;
|
|
@@ -216,7 +216,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
216
216
|
statuses_count: number;
|
|
217
217
|
followers_count: number;
|
|
218
218
|
following_count: number;
|
|
219
|
-
|
|
219
|
+
noindex?: boolean | null | undefined;
|
|
220
|
+
suspended?: boolean | undefined;
|
|
221
|
+
limited?: boolean | undefined;
|
|
222
|
+
moved?: {
|
|
220
223
|
id: string;
|
|
221
224
|
url: string;
|
|
222
225
|
username: string;
|
|
@@ -227,7 +230,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
227
230
|
avatar_static: string;
|
|
228
231
|
header: string;
|
|
229
232
|
header_static: string;
|
|
230
|
-
|
|
233
|
+
locked: boolean;
|
|
231
234
|
fields: {
|
|
232
235
|
value: string;
|
|
233
236
|
name: string;
|
|
@@ -251,10 +254,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
251
254
|
noindex?: boolean | null | undefined;
|
|
252
255
|
suspended?: boolean | undefined;
|
|
253
256
|
limited?: boolean | undefined;
|
|
254
|
-
} | null;
|
|
255
|
-
noindex?: boolean | null | undefined;
|
|
256
|
-
suspended?: boolean | undefined;
|
|
257
|
-
limited?: boolean | undefined;
|
|
257
|
+
} | null | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
id: string;
|
|
260
260
|
url: string;
|
|
@@ -266,7 +266,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
266
266
|
avatar_static: string;
|
|
267
267
|
header: string;
|
|
268
268
|
header_static: string;
|
|
269
|
-
|
|
269
|
+
locked: boolean;
|
|
270
270
|
fields: {
|
|
271
271
|
value: string;
|
|
272
272
|
name: string;
|
|
@@ -287,7 +287,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
287
287
|
statuses_count: number;
|
|
288
288
|
followers_count: number;
|
|
289
289
|
following_count: number;
|
|
290
|
-
|
|
290
|
+
noindex?: boolean | null | undefined;
|
|
291
|
+
suspended?: boolean | undefined;
|
|
292
|
+
limited?: boolean | undefined;
|
|
293
|
+
moved?: {
|
|
291
294
|
id: string;
|
|
292
295
|
url: string;
|
|
293
296
|
username: string;
|
|
@@ -298,7 +301,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
298
301
|
avatar_static: string;
|
|
299
302
|
header: string;
|
|
300
303
|
header_static: string;
|
|
301
|
-
|
|
304
|
+
locked: boolean;
|
|
302
305
|
fields: {
|
|
303
306
|
value: string;
|
|
304
307
|
name: string;
|
|
@@ -322,10 +325,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
322
325
|
noindex?: boolean | null | undefined;
|
|
323
326
|
suspended?: boolean | undefined;
|
|
324
327
|
limited?: boolean | undefined;
|
|
325
|
-
} | null;
|
|
326
|
-
noindex?: boolean | null | undefined;
|
|
327
|
-
suspended?: boolean | undefined;
|
|
328
|
-
limited?: boolean | undefined;
|
|
328
|
+
} | null | undefined;
|
|
329
329
|
}>;
|
|
330
330
|
content: z.ZodString;
|
|
331
331
|
visibility: z.ZodEnum<["public", "unlist", "private", "direct"]>;
|
|
@@ -1191,7 +1191,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1191
1191
|
avatar_static: z.ZodString;
|
|
1192
1192
|
header: z.ZodString;
|
|
1193
1193
|
header_static: z.ZodString;
|
|
1194
|
-
|
|
1194
|
+
locked: z.ZodBoolean;
|
|
1195
1195
|
fields: z.ZodArray<z.ZodObject<{
|
|
1196
1196
|
name: z.ZodString;
|
|
1197
1197
|
value: z.ZodString;
|
|
@@ -1236,7 +1236,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1236
1236
|
followers_count: z.ZodNumber;
|
|
1237
1237
|
following_count: z.ZodNumber;
|
|
1238
1238
|
}, {
|
|
1239
|
-
moved: z.ZodNullable<z.ZodObject<{
|
|
1239
|
+
moved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1240
1240
|
id: z.ZodString;
|
|
1241
1241
|
username: z.ZodString;
|
|
1242
1242
|
acct: z.ZodString;
|
|
@@ -1247,7 +1247,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1247
1247
|
avatar_static: z.ZodString;
|
|
1248
1248
|
header: z.ZodString;
|
|
1249
1249
|
header_static: z.ZodString;
|
|
1250
|
-
|
|
1250
|
+
locked: z.ZodBoolean;
|
|
1251
1251
|
fields: z.ZodArray<z.ZodObject<{
|
|
1252
1252
|
name: z.ZodString;
|
|
1253
1253
|
value: z.ZodString;
|
|
@@ -1302,7 +1302,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1302
1302
|
avatar_static: string;
|
|
1303
1303
|
header: string;
|
|
1304
1304
|
header_static: string;
|
|
1305
|
-
|
|
1305
|
+
locked: boolean;
|
|
1306
1306
|
fields: {
|
|
1307
1307
|
value: string;
|
|
1308
1308
|
name: string;
|
|
@@ -1337,7 +1337,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1337
1337
|
avatar_static: string;
|
|
1338
1338
|
header: string;
|
|
1339
1339
|
header_static: string;
|
|
1340
|
-
|
|
1340
|
+
locked: boolean;
|
|
1341
1341
|
fields: {
|
|
1342
1342
|
value: string;
|
|
1343
1343
|
name: string;
|
|
@@ -1361,7 +1361,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1361
1361
|
noindex?: boolean | null | undefined;
|
|
1362
1362
|
suspended?: boolean | undefined;
|
|
1363
1363
|
limited?: boolean | undefined;
|
|
1364
|
-
}
|
|
1364
|
+
}>>>;
|
|
1365
1365
|
}>, "strip", z.ZodTypeAny, {
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
url: string;
|
|
@@ -1373,7 +1373,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1373
1373
|
avatar_static: string;
|
|
1374
1374
|
header: string;
|
|
1375
1375
|
header_static: string;
|
|
1376
|
-
|
|
1376
|
+
locked: boolean;
|
|
1377
1377
|
fields: {
|
|
1378
1378
|
value: string;
|
|
1379
1379
|
name: string;
|
|
@@ -1394,7 +1394,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1394
1394
|
statuses_count: number;
|
|
1395
1395
|
followers_count: number;
|
|
1396
1396
|
following_count: number;
|
|
1397
|
-
|
|
1397
|
+
noindex?: boolean | null | undefined;
|
|
1398
|
+
suspended?: boolean | undefined;
|
|
1399
|
+
limited?: boolean | undefined;
|
|
1400
|
+
moved?: {
|
|
1398
1401
|
id: string;
|
|
1399
1402
|
url: string;
|
|
1400
1403
|
username: string;
|
|
@@ -1405,7 +1408,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1405
1408
|
avatar_static: string;
|
|
1406
1409
|
header: string;
|
|
1407
1410
|
header_static: string;
|
|
1408
|
-
|
|
1411
|
+
locked: boolean;
|
|
1409
1412
|
fields: {
|
|
1410
1413
|
value: string;
|
|
1411
1414
|
name: string;
|
|
@@ -1429,10 +1432,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1429
1432
|
noindex?: boolean | null | undefined;
|
|
1430
1433
|
suspended?: boolean | undefined;
|
|
1431
1434
|
limited?: boolean | undefined;
|
|
1432
|
-
} | null;
|
|
1433
|
-
noindex?: boolean | null | undefined;
|
|
1434
|
-
suspended?: boolean | undefined;
|
|
1435
|
-
limited?: boolean | undefined;
|
|
1435
|
+
} | null | undefined;
|
|
1436
1436
|
}, {
|
|
1437
1437
|
id: string;
|
|
1438
1438
|
url: string;
|
|
@@ -1444,7 +1444,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1444
1444
|
avatar_static: string;
|
|
1445
1445
|
header: string;
|
|
1446
1446
|
header_static: string;
|
|
1447
|
-
|
|
1447
|
+
locked: boolean;
|
|
1448
1448
|
fields: {
|
|
1449
1449
|
value: string;
|
|
1450
1450
|
name: string;
|
|
@@ -1465,7 +1465,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1465
1465
|
statuses_count: number;
|
|
1466
1466
|
followers_count: number;
|
|
1467
1467
|
following_count: number;
|
|
1468
|
-
|
|
1468
|
+
noindex?: boolean | null | undefined;
|
|
1469
|
+
suspended?: boolean | undefined;
|
|
1470
|
+
limited?: boolean | undefined;
|
|
1471
|
+
moved?: {
|
|
1469
1472
|
id: string;
|
|
1470
1473
|
url: string;
|
|
1471
1474
|
username: string;
|
|
@@ -1476,7 +1479,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1476
1479
|
avatar_static: string;
|
|
1477
1480
|
header: string;
|
|
1478
1481
|
header_static: string;
|
|
1479
|
-
|
|
1482
|
+
locked: boolean;
|
|
1480
1483
|
fields: {
|
|
1481
1484
|
value: string;
|
|
1482
1485
|
name: string;
|
|
@@ -1500,10 +1503,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1500
1503
|
noindex?: boolean | null | undefined;
|
|
1501
1504
|
suspended?: boolean | undefined;
|
|
1502
1505
|
limited?: boolean | undefined;
|
|
1503
|
-
} | null;
|
|
1504
|
-
noindex?: boolean | null | undefined;
|
|
1505
|
-
suspended?: boolean | undefined;
|
|
1506
|
-
limited?: boolean | undefined;
|
|
1506
|
+
} | null | undefined;
|
|
1507
1507
|
}>;
|
|
1508
1508
|
content: z.ZodString;
|
|
1509
1509
|
visibility: z.ZodEnum<["public", "unlist", "private", "direct"]>;
|
|
@@ -2377,7 +2377,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2377
2377
|
avatar_static: string;
|
|
2378
2378
|
header: string;
|
|
2379
2379
|
header_static: string;
|
|
2380
|
-
|
|
2380
|
+
locked: boolean;
|
|
2381
2381
|
fields: {
|
|
2382
2382
|
value: string;
|
|
2383
2383
|
name: string;
|
|
@@ -2398,7 +2398,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2398
2398
|
statuses_count: number;
|
|
2399
2399
|
followers_count: number;
|
|
2400
2400
|
following_count: number;
|
|
2401
|
-
|
|
2401
|
+
noindex?: boolean | null | undefined;
|
|
2402
|
+
suspended?: boolean | undefined;
|
|
2403
|
+
limited?: boolean | undefined;
|
|
2404
|
+
moved?: {
|
|
2402
2405
|
id: string;
|
|
2403
2406
|
url: string;
|
|
2404
2407
|
username: string;
|
|
@@ -2409,7 +2412,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2409
2412
|
avatar_static: string;
|
|
2410
2413
|
header: string;
|
|
2411
2414
|
header_static: string;
|
|
2412
|
-
|
|
2415
|
+
locked: boolean;
|
|
2413
2416
|
fields: {
|
|
2414
2417
|
value: string;
|
|
2415
2418
|
name: string;
|
|
@@ -2433,10 +2436,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2433
2436
|
noindex?: boolean | null | undefined;
|
|
2434
2437
|
suspended?: boolean | undefined;
|
|
2435
2438
|
limited?: boolean | undefined;
|
|
2436
|
-
} | null;
|
|
2437
|
-
noindex?: boolean | null | undefined;
|
|
2438
|
-
suspended?: boolean | undefined;
|
|
2439
|
-
limited?: boolean | undefined;
|
|
2439
|
+
} | null | undefined;
|
|
2440
2440
|
};
|
|
2441
2441
|
uri: string;
|
|
2442
2442
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -2656,7 +2656,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2656
2656
|
avatar_static: string;
|
|
2657
2657
|
header: string;
|
|
2658
2658
|
header_static: string;
|
|
2659
|
-
|
|
2659
|
+
locked: boolean;
|
|
2660
2660
|
fields: {
|
|
2661
2661
|
value: string;
|
|
2662
2662
|
name: string;
|
|
@@ -2677,7 +2677,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2677
2677
|
statuses_count: number;
|
|
2678
2678
|
followers_count: number;
|
|
2679
2679
|
following_count: number;
|
|
2680
|
-
|
|
2680
|
+
noindex?: boolean | null | undefined;
|
|
2681
|
+
suspended?: boolean | undefined;
|
|
2682
|
+
limited?: boolean | undefined;
|
|
2683
|
+
moved?: {
|
|
2681
2684
|
id: string;
|
|
2682
2685
|
url: string;
|
|
2683
2686
|
username: string;
|
|
@@ -2688,7 +2691,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2688
2691
|
avatar_static: string;
|
|
2689
2692
|
header: string;
|
|
2690
2693
|
header_static: string;
|
|
2691
|
-
|
|
2694
|
+
locked: boolean;
|
|
2692
2695
|
fields: {
|
|
2693
2696
|
value: string;
|
|
2694
2697
|
name: string;
|
|
@@ -2712,10 +2715,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2712
2715
|
noindex?: boolean | null | undefined;
|
|
2713
2716
|
suspended?: boolean | undefined;
|
|
2714
2717
|
limited?: boolean | undefined;
|
|
2715
|
-
} | null;
|
|
2716
|
-
noindex?: boolean | null | undefined;
|
|
2717
|
-
suspended?: boolean | undefined;
|
|
2718
|
-
limited?: boolean | undefined;
|
|
2718
|
+
} | null | undefined;
|
|
2719
2719
|
};
|
|
2720
2720
|
uri: string;
|
|
2721
2721
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -2936,7 +2936,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2936
2936
|
avatar_static: string;
|
|
2937
2937
|
header: string;
|
|
2938
2938
|
header_static: string;
|
|
2939
|
-
|
|
2939
|
+
locked: boolean;
|
|
2940
2940
|
fields: {
|
|
2941
2941
|
value: string;
|
|
2942
2942
|
name: string;
|
|
@@ -2957,7 +2957,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2957
2957
|
statuses_count: number;
|
|
2958
2958
|
followers_count: number;
|
|
2959
2959
|
following_count: number;
|
|
2960
|
-
|
|
2960
|
+
noindex?: boolean | null | undefined;
|
|
2961
|
+
suspended?: boolean | undefined;
|
|
2962
|
+
limited?: boolean | undefined;
|
|
2963
|
+
moved?: {
|
|
2961
2964
|
id: string;
|
|
2962
2965
|
url: string;
|
|
2963
2966
|
username: string;
|
|
@@ -2968,7 +2971,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2968
2971
|
avatar_static: string;
|
|
2969
2972
|
header: string;
|
|
2970
2973
|
header_static: string;
|
|
2971
|
-
|
|
2974
|
+
locked: boolean;
|
|
2972
2975
|
fields: {
|
|
2973
2976
|
value: string;
|
|
2974
2977
|
name: string;
|
|
@@ -2992,10 +2995,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2992
2995
|
noindex?: boolean | null | undefined;
|
|
2993
2996
|
suspended?: boolean | undefined;
|
|
2994
2997
|
limited?: boolean | undefined;
|
|
2995
|
-
} | null;
|
|
2996
|
-
noindex?: boolean | null | undefined;
|
|
2997
|
-
suspended?: boolean | undefined;
|
|
2998
|
-
limited?: boolean | undefined;
|
|
2998
|
+
} | null | undefined;
|
|
2999
2999
|
};
|
|
3000
3000
|
uri: string;
|
|
3001
3001
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -3186,7 +3186,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3186
3186
|
avatar_static: string;
|
|
3187
3187
|
header: string;
|
|
3188
3188
|
header_static: string;
|
|
3189
|
-
|
|
3189
|
+
locked: boolean;
|
|
3190
3190
|
fields: {
|
|
3191
3191
|
value: string;
|
|
3192
3192
|
name: string;
|
|
@@ -3207,7 +3207,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3207
3207
|
statuses_count: number;
|
|
3208
3208
|
followers_count: number;
|
|
3209
3209
|
following_count: number;
|
|
3210
|
-
|
|
3210
|
+
noindex?: boolean | null | undefined;
|
|
3211
|
+
suspended?: boolean | undefined;
|
|
3212
|
+
limited?: boolean | undefined;
|
|
3213
|
+
moved?: {
|
|
3211
3214
|
id: string;
|
|
3212
3215
|
url: string;
|
|
3213
3216
|
username: string;
|
|
@@ -3218,7 +3221,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3218
3221
|
avatar_static: string;
|
|
3219
3222
|
header: string;
|
|
3220
3223
|
header_static: string;
|
|
3221
|
-
|
|
3224
|
+
locked: boolean;
|
|
3222
3225
|
fields: {
|
|
3223
3226
|
value: string;
|
|
3224
3227
|
name: string;
|
|
@@ -3242,10 +3245,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3242
3245
|
noindex?: boolean | null | undefined;
|
|
3243
3246
|
suspended?: boolean | undefined;
|
|
3244
3247
|
limited?: boolean | undefined;
|
|
3245
|
-
} | null;
|
|
3246
|
-
noindex?: boolean | null | undefined;
|
|
3247
|
-
suspended?: boolean | undefined;
|
|
3248
|
-
limited?: boolean | undefined;
|
|
3248
|
+
} | null | undefined;
|
|
3249
3249
|
};
|
|
3250
3250
|
uri: string;
|
|
3251
3251
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -3495,7 +3495,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3495
3495
|
avatar_static: string;
|
|
3496
3496
|
header: string;
|
|
3497
3497
|
header_static: string;
|
|
3498
|
-
|
|
3498
|
+
locked: boolean;
|
|
3499
3499
|
fields: {
|
|
3500
3500
|
value: string;
|
|
3501
3501
|
name: string;
|
|
@@ -3516,7 +3516,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3516
3516
|
statuses_count: number;
|
|
3517
3517
|
followers_count: number;
|
|
3518
3518
|
following_count: number;
|
|
3519
|
-
|
|
3519
|
+
noindex?: boolean | null | undefined;
|
|
3520
|
+
suspended?: boolean | undefined;
|
|
3521
|
+
limited?: boolean | undefined;
|
|
3522
|
+
moved?: {
|
|
3520
3523
|
id: string;
|
|
3521
3524
|
url: string;
|
|
3522
3525
|
username: string;
|
|
@@ -3527,7 +3530,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3527
3530
|
avatar_static: string;
|
|
3528
3531
|
header: string;
|
|
3529
3532
|
header_static: string;
|
|
3530
|
-
|
|
3533
|
+
locked: boolean;
|
|
3531
3534
|
fields: {
|
|
3532
3535
|
value: string;
|
|
3533
3536
|
name: string;
|
|
@@ -3551,10 +3554,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3551
3554
|
noindex?: boolean | null | undefined;
|
|
3552
3555
|
suspended?: boolean | undefined;
|
|
3553
3556
|
limited?: boolean | undefined;
|
|
3554
|
-
} | null;
|
|
3555
|
-
noindex?: boolean | null | undefined;
|
|
3556
|
-
suspended?: boolean | undefined;
|
|
3557
|
-
limited?: boolean | undefined;
|
|
3557
|
+
} | null | undefined;
|
|
3558
3558
|
};
|
|
3559
3559
|
uri: string;
|
|
3560
3560
|
visibility: "public" | "unlist" | "private" | "direct";
|
|
@@ -3745,7 +3745,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3745
3745
|
avatar_static: string;
|
|
3746
3746
|
header: string;
|
|
3747
3747
|
header_static: string;
|
|
3748
|
-
|
|
3748
|
+
locked: boolean;
|
|
3749
3749
|
fields: {
|
|
3750
3750
|
value: string;
|
|
3751
3751
|
name: string;
|
|
@@ -3766,7 +3766,10 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3766
3766
|
statuses_count: number;
|
|
3767
3767
|
followers_count: number;
|
|
3768
3768
|
following_count: number;
|
|
3769
|
-
|
|
3769
|
+
noindex?: boolean | null | undefined;
|
|
3770
|
+
suspended?: boolean | undefined;
|
|
3771
|
+
limited?: boolean | undefined;
|
|
3772
|
+
moved?: {
|
|
3770
3773
|
id: string;
|
|
3771
3774
|
url: string;
|
|
3772
3775
|
username: string;
|
|
@@ -3777,7 +3780,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3777
3780
|
avatar_static: string;
|
|
3778
3781
|
header: string;
|
|
3779
3782
|
header_static: string;
|
|
3780
|
-
|
|
3783
|
+
locked: boolean;
|
|
3781
3784
|
fields: {
|
|
3782
3785
|
value: string;
|
|
3783
3786
|
name: string;
|
|
@@ -3801,10 +3804,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3801
3804
|
noindex?: boolean | null | undefined;
|
|
3802
3805
|
suspended?: boolean | undefined;
|
|
3803
3806
|
limited?: boolean | undefined;
|
|
3804
|
-
} | null;
|
|
3805
|
-
noindex?: boolean | null | undefined;
|
|
3806
|
-
suspended?: boolean | undefined;
|
|
3807
|
-
limited?: boolean | undefined;
|
|
3807
|
+
} | null | undefined;
|
|
3808
3808
|
};
|
|
3809
3809
|
uri: string;
|
|
3810
3810
|
visibility: "public" | "unlist" | "private" | "direct";
|
package/package.json
CHANGED
package/src/mastodon/account.ts
CHANGED
|
@@ -40,7 +40,7 @@ const BaseAccount = z.object({
|
|
|
40
40
|
description:
|
|
41
41
|
"A static version of the `header`. Equal to `header` if its value is a static image; different if `header` is an animated GIF",
|
|
42
42
|
}),
|
|
43
|
-
|
|
43
|
+
locked: z.boolean({
|
|
44
44
|
description: "Whether the actor manually approves follow requests",
|
|
45
45
|
}),
|
|
46
46
|
fields: AccountField.array().describe(
|
|
@@ -104,7 +104,7 @@ const BaseAccount = z.object({
|
|
|
104
104
|
type BaseAccount = z.infer<typeof BaseAccount>;
|
|
105
105
|
|
|
106
106
|
export const Account = BaseAccount.extend({
|
|
107
|
-
moved: BaseAccount.
|
|
107
|
+
moved: BaseAccount.nullish().describe(
|
|
108
108
|
"Indicates that the profile is currently inactive and that its user has moved to a new account"
|
|
109
109
|
),
|
|
110
110
|
});
|