@llun/activities.schema 0.2.20 → 0.2.21

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.
@@ -7,6 +7,7 @@ export declare const BaseStatus: z.ZodObject<{
7
7
  username: z.ZodString;
8
8
  acct: z.ZodString;
9
9
  url: z.ZodString;
10
+ uri: z.ZodString;
10
11
  display_name: z.ZodString;
11
12
  note: z.ZodString;
12
13
  avatar: z.ZodString;
@@ -14,6 +15,48 @@ export declare const BaseStatus: z.ZodObject<{
14
15
  header: z.ZodString;
15
16
  header_static: z.ZodString;
16
17
  locked: z.ZodBoolean;
18
+ source: z.ZodObject<{
19
+ note: z.ZodString;
20
+ fields: z.ZodArray<z.ZodObject<{
21
+ name: z.ZodString;
22
+ value: z.ZodString;
23
+ verified_at: z.ZodNullable<z.ZodString>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ value: string;
26
+ name: string;
27
+ verified_at: string | null;
28
+ }, {
29
+ value: string;
30
+ name: string;
31
+ verified_at: string | null;
32
+ }>, "many">;
33
+ privacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">, z.ZodLiteral<"direct">]>;
34
+ sensitive: z.ZodBoolean;
35
+ language: z.ZodString;
36
+ follow_requests_count: z.ZodNumber;
37
+ }, "strip", z.ZodTypeAny, {
38
+ note: string;
39
+ fields: {
40
+ value: string;
41
+ name: string;
42
+ verified_at: string | null;
43
+ }[];
44
+ privacy: "public" | "unlisted" | "private" | "direct";
45
+ sensitive: boolean;
46
+ language: string;
47
+ follow_requests_count: number;
48
+ }, {
49
+ note: string;
50
+ fields: {
51
+ value: string;
52
+ name: string;
53
+ verified_at: string | null;
54
+ }[];
55
+ privacy: "public" | "unlisted" | "private" | "direct";
56
+ sensitive: boolean;
57
+ language: string;
58
+ follow_requests_count: number;
59
+ }>;
17
60
  fields: z.ZodArray<z.ZodObject<{
18
61
  name: z.ZodString;
19
62
  value: z.ZodString;
@@ -63,6 +106,7 @@ export declare const BaseStatus: z.ZodObject<{
63
106
  username: z.ZodString;
64
107
  acct: z.ZodString;
65
108
  url: z.ZodString;
109
+ uri: z.ZodString;
66
110
  display_name: z.ZodString;
67
111
  note: z.ZodString;
68
112
  avatar: z.ZodString;
@@ -70,6 +114,48 @@ export declare const BaseStatus: z.ZodObject<{
70
114
  header: z.ZodString;
71
115
  header_static: z.ZodString;
72
116
  locked: z.ZodBoolean;
117
+ source: z.ZodObject<{
118
+ note: z.ZodString;
119
+ fields: z.ZodArray<z.ZodObject<{
120
+ name: z.ZodString;
121
+ value: z.ZodString;
122
+ verified_at: z.ZodNullable<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ value: string;
125
+ name: string;
126
+ verified_at: string | null;
127
+ }, {
128
+ value: string;
129
+ name: string;
130
+ verified_at: string | null;
131
+ }>, "many">;
132
+ privacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">, z.ZodLiteral<"direct">]>;
133
+ sensitive: z.ZodBoolean;
134
+ language: z.ZodString;
135
+ follow_requests_count: z.ZodNumber;
136
+ }, "strip", z.ZodTypeAny, {
137
+ note: string;
138
+ fields: {
139
+ value: string;
140
+ name: string;
141
+ verified_at: string | null;
142
+ }[];
143
+ privacy: "public" | "unlisted" | "private" | "direct";
144
+ sensitive: boolean;
145
+ language: string;
146
+ follow_requests_count: number;
147
+ }, {
148
+ note: string;
149
+ fields: {
150
+ value: string;
151
+ name: string;
152
+ verified_at: string | null;
153
+ }[];
154
+ privacy: "public" | "unlisted" | "private" | "direct";
155
+ sensitive: boolean;
156
+ language: string;
157
+ follow_requests_count: number;
158
+ }>;
73
159
  fields: z.ZodArray<z.ZodObject<{
74
160
  name: z.ZodString;
75
161
  value: z.ZodString;
@@ -116,20 +202,33 @@ export declare const BaseStatus: z.ZodObject<{
116
202
  }, "strip", z.ZodTypeAny, {
117
203
  id: string;
118
204
  url: string;
205
+ note: string;
206
+ fields: {
207
+ value: string;
208
+ name: string;
209
+ verified_at: string | null;
210
+ }[];
119
211
  username: string;
120
212
  acct: string;
213
+ uri: string;
121
214
  display_name: string;
122
- note: string;
123
215
  avatar: string;
124
216
  avatar_static: string;
125
217
  header: string;
126
218
  header_static: string;
127
219
  locked: boolean;
128
- fields: {
129
- value: string;
130
- name: string;
131
- verified_at: string | null;
132
- }[];
220
+ source: {
221
+ note: string;
222
+ fields: {
223
+ value: string;
224
+ name: string;
225
+ verified_at: string | null;
226
+ }[];
227
+ privacy: "public" | "unlisted" | "private" | "direct";
228
+ sensitive: boolean;
229
+ language: string;
230
+ follow_requests_count: number;
231
+ };
133
232
  emojis: {
134
233
  url: string;
135
234
  shortcode: string;
@@ -151,20 +250,33 @@ export declare const BaseStatus: z.ZodObject<{
151
250
  }, {
152
251
  id: string;
153
252
  url: string;
253
+ note: string;
254
+ fields: {
255
+ value: string;
256
+ name: string;
257
+ verified_at: string | null;
258
+ }[];
154
259
  username: string;
155
260
  acct: string;
261
+ uri: string;
156
262
  display_name: string;
157
- note: string;
158
263
  avatar: string;
159
264
  avatar_static: string;
160
265
  header: string;
161
266
  header_static: string;
162
267
  locked: boolean;
163
- fields: {
164
- value: string;
165
- name: string;
166
- verified_at: string | null;
167
- }[];
268
+ source: {
269
+ note: string;
270
+ fields: {
271
+ value: string;
272
+ name: string;
273
+ verified_at: string | null;
274
+ }[];
275
+ privacy: "public" | "unlisted" | "private" | "direct";
276
+ sensitive: boolean;
277
+ language: string;
278
+ follow_requests_count: number;
279
+ };
168
280
  emojis: {
169
281
  url: string;
170
282
  shortcode: string;
@@ -187,20 +299,33 @@ export declare const BaseStatus: z.ZodObject<{
187
299
  }>, "strip", z.ZodTypeAny, {
188
300
  id: string;
189
301
  url: string;
302
+ note: string;
303
+ fields: {
304
+ value: string;
305
+ name: string;
306
+ verified_at: string | null;
307
+ }[];
190
308
  username: string;
191
309
  acct: string;
310
+ uri: string;
192
311
  display_name: string;
193
- note: string;
194
312
  avatar: string;
195
313
  avatar_static: string;
196
314
  header: string;
197
315
  header_static: string;
198
316
  locked: boolean;
199
- fields: {
200
- value: string;
201
- name: string;
202
- verified_at: string | null;
203
- }[];
317
+ source: {
318
+ note: string;
319
+ fields: {
320
+ value: string;
321
+ name: string;
322
+ verified_at: string | null;
323
+ }[];
324
+ privacy: "public" | "unlisted" | "private" | "direct";
325
+ sensitive: boolean;
326
+ language: string;
327
+ follow_requests_count: number;
328
+ };
204
329
  emojis: {
205
330
  url: string;
206
331
  shortcode: string;
@@ -222,20 +347,33 @@ export declare const BaseStatus: z.ZodObject<{
222
347
  moved?: {
223
348
  id: string;
224
349
  url: string;
350
+ note: string;
351
+ fields: {
352
+ value: string;
353
+ name: string;
354
+ verified_at: string | null;
355
+ }[];
225
356
  username: string;
226
357
  acct: string;
358
+ uri: string;
227
359
  display_name: string;
228
- note: string;
229
360
  avatar: string;
230
361
  avatar_static: string;
231
362
  header: string;
232
363
  header_static: string;
233
364
  locked: boolean;
234
- fields: {
235
- value: string;
236
- name: string;
237
- verified_at: string | null;
238
- }[];
365
+ source: {
366
+ note: string;
367
+ fields: {
368
+ value: string;
369
+ name: string;
370
+ verified_at: string | null;
371
+ }[];
372
+ privacy: "public" | "unlisted" | "private" | "direct";
373
+ sensitive: boolean;
374
+ language: string;
375
+ follow_requests_count: number;
376
+ };
239
377
  emojis: {
240
378
  url: string;
241
379
  shortcode: string;
@@ -258,20 +396,33 @@ export declare const BaseStatus: z.ZodObject<{
258
396
  }, {
259
397
  id: string;
260
398
  url: string;
399
+ note: string;
400
+ fields: {
401
+ value: string;
402
+ name: string;
403
+ verified_at: string | null;
404
+ }[];
261
405
  username: string;
262
406
  acct: string;
407
+ uri: string;
263
408
  display_name: string;
264
- note: string;
265
409
  avatar: string;
266
410
  avatar_static: string;
267
411
  header: string;
268
412
  header_static: string;
269
413
  locked: boolean;
270
- fields: {
271
- value: string;
272
- name: string;
273
- verified_at: string | null;
274
- }[];
414
+ source: {
415
+ note: string;
416
+ fields: {
417
+ value: string;
418
+ name: string;
419
+ verified_at: string | null;
420
+ }[];
421
+ privacy: "public" | "unlisted" | "private" | "direct";
422
+ sensitive: boolean;
423
+ language: string;
424
+ follow_requests_count: number;
425
+ };
275
426
  emojis: {
276
427
  url: string;
277
428
  shortcode: string;
@@ -293,20 +444,33 @@ export declare const BaseStatus: z.ZodObject<{
293
444
  moved?: {
294
445
  id: string;
295
446
  url: string;
447
+ note: string;
448
+ fields: {
449
+ value: string;
450
+ name: string;
451
+ verified_at: string | null;
452
+ }[];
296
453
  username: string;
297
454
  acct: string;
455
+ uri: string;
298
456
  display_name: string;
299
- note: string;
300
457
  avatar: string;
301
458
  avatar_static: string;
302
459
  header: string;
303
460
  header_static: string;
304
461
  locked: boolean;
305
- fields: {
306
- value: string;
307
- name: string;
308
- verified_at: string | null;
309
- }[];
462
+ source: {
463
+ note: string;
464
+ fields: {
465
+ value: string;
466
+ name: string;
467
+ verified_at: string | null;
468
+ }[];
469
+ privacy: "public" | "unlisted" | "private" | "direct";
470
+ sensitive: boolean;
471
+ language: string;
472
+ follow_requests_count: number;
473
+ };
310
474
  emojis: {
311
475
  url: string;
312
476
  shortcode: string;
@@ -1107,7 +1271,7 @@ export declare const BaseStatus: z.ZodObject<{
1107
1271
  }, "strip", z.ZodTypeAny, {
1108
1272
  id: string;
1109
1273
  title: string;
1110
- context: ("home" | "notifications" | "public" | "thread" | "account")[];
1274
+ context: ("public" | "home" | "notifications" | "thread" | "account")[];
1111
1275
  expires_at: string | null;
1112
1276
  filter_action: "warn" | "hide";
1113
1277
  keywords: {
@@ -1122,7 +1286,7 @@ export declare const BaseStatus: z.ZodObject<{
1122
1286
  }, {
1123
1287
  id: string;
1124
1288
  title: string;
1125
- context: ("home" | "notifications" | "public" | "thread" | "account")[];
1289
+ context: ("public" | "home" | "notifications" | "thread" | "account")[];
1126
1290
  expires_at: string | null;
1127
1291
  filter_action: "warn" | "hide";
1128
1292
  keywords: {
@@ -1141,7 +1305,7 @@ export declare const BaseStatus: z.ZodObject<{
1141
1305
  filter: {
1142
1306
  id: string;
1143
1307
  title: string;
1144
- context: ("home" | "notifications" | "public" | "thread" | "account")[];
1308
+ context: ("public" | "home" | "notifications" | "thread" | "account")[];
1145
1309
  expires_at: string | null;
1146
1310
  filter_action: "warn" | "hide";
1147
1311
  keywords: {
@@ -1160,7 +1324,7 @@ export declare const BaseStatus: z.ZodObject<{
1160
1324
  filter: {
1161
1325
  id: string;
1162
1326
  title: string;
1163
- context: ("home" | "notifications" | "public" | "thread" | "account")[];
1327
+ context: ("public" | "home" | "notifications" | "thread" | "account")[];
1164
1328
  expires_at: string | null;
1165
1329
  filter_action: "warn" | "hide";
1166
1330
  keywords: {
@@ -1180,6 +1344,9 @@ export declare const BaseStatus: z.ZodObject<{
1180
1344
  id: string;
1181
1345
  url: string | null;
1182
1346
  content: string;
1347
+ sensitive: boolean;
1348
+ language: string | null;
1349
+ uri: string;
1183
1350
  emojis: {
1184
1351
  url: string;
1185
1352
  shortcode: string;
@@ -1191,20 +1358,33 @@ export declare const BaseStatus: z.ZodObject<{
1191
1358
  account: {
1192
1359
  id: string;
1193
1360
  url: string;
1361
+ note: string;
1362
+ fields: {
1363
+ value: string;
1364
+ name: string;
1365
+ verified_at: string | null;
1366
+ }[];
1194
1367
  username: string;
1195
1368
  acct: string;
1369
+ uri: string;
1196
1370
  display_name: string;
1197
- note: string;
1198
1371
  avatar: string;
1199
1372
  avatar_static: string;
1200
1373
  header: string;
1201
1374
  header_static: string;
1202
1375
  locked: boolean;
1203
- fields: {
1204
- value: string;
1205
- name: string;
1206
- verified_at: string | null;
1207
- }[];
1376
+ source: {
1377
+ note: string;
1378
+ fields: {
1379
+ value: string;
1380
+ name: string;
1381
+ verified_at: string | null;
1382
+ }[];
1383
+ privacy: "public" | "unlisted" | "private" | "direct";
1384
+ sensitive: boolean;
1385
+ language: string;
1386
+ follow_requests_count: number;
1387
+ };
1208
1388
  emojis: {
1209
1389
  url: string;
1210
1390
  shortcode: string;
@@ -1226,20 +1406,33 @@ export declare const BaseStatus: z.ZodObject<{
1226
1406
  moved?: {
1227
1407
  id: string;
1228
1408
  url: string;
1409
+ note: string;
1410
+ fields: {
1411
+ value: string;
1412
+ name: string;
1413
+ verified_at: string | null;
1414
+ }[];
1229
1415
  username: string;
1230
1416
  acct: string;
1417
+ uri: string;
1231
1418
  display_name: string;
1232
- note: string;
1233
1419
  avatar: string;
1234
1420
  avatar_static: string;
1235
1421
  header: string;
1236
1422
  header_static: string;
1237
1423
  locked: boolean;
1238
- fields: {
1239
- value: string;
1240
- name: string;
1241
- verified_at: string | null;
1242
- }[];
1424
+ source: {
1425
+ note: string;
1426
+ fields: {
1427
+ value: string;
1428
+ name: string;
1429
+ verified_at: string | null;
1430
+ }[];
1431
+ privacy: "public" | "unlisted" | "private" | "direct";
1432
+ sensitive: boolean;
1433
+ language: string;
1434
+ follow_requests_count: number;
1435
+ };
1243
1436
  emojis: {
1244
1437
  url: string;
1245
1438
  shortcode: string;
@@ -1260,9 +1453,7 @@ export declare const BaseStatus: z.ZodObject<{
1260
1453
  limited?: boolean | undefined;
1261
1454
  } | null | undefined;
1262
1455
  };
1263
- uri: string;
1264
- visibility: "public" | "unlist" | "private" | "direct";
1265
- sensitive: boolean;
1456
+ visibility: "public" | "private" | "direct" | "unlist";
1266
1457
  spoiler_text: string;
1267
1458
  media_attachments: ({
1268
1459
  id: string;
@@ -1423,7 +1614,6 @@ export declare const BaseStatus: z.ZodObject<{
1423
1614
  html: string;
1424
1615
  embed_url: string;
1425
1616
  } | null;
1426
- language: string | null;
1427
1617
  text: string | null;
1428
1618
  edited_at: string | null;
1429
1619
  application?: {
@@ -1439,7 +1629,7 @@ export declare const BaseStatus: z.ZodObject<{
1439
1629
  filter: {
1440
1630
  id: string;
1441
1631
  title: string;
1442
- context: ("home" | "notifications" | "public" | "thread" | "account")[];
1632
+ context: ("public" | "home" | "notifications" | "thread" | "account")[];
1443
1633
  expires_at: string | null;
1444
1634
  filter_action: "warn" | "hide";
1445
1635
  keywords: {
@@ -1459,6 +1649,9 @@ export declare const BaseStatus: z.ZodObject<{
1459
1649
  id: string;
1460
1650
  url: string | null;
1461
1651
  content: string;
1652
+ sensitive: boolean;
1653
+ language: string | null;
1654
+ uri: string;
1462
1655
  emojis: {
1463
1656
  url: string;
1464
1657
  shortcode: string;
@@ -1470,20 +1663,33 @@ export declare const BaseStatus: z.ZodObject<{
1470
1663
  account: {
1471
1664
  id: string;
1472
1665
  url: string;
1666
+ note: string;
1667
+ fields: {
1668
+ value: string;
1669
+ name: string;
1670
+ verified_at: string | null;
1671
+ }[];
1473
1672
  username: string;
1474
1673
  acct: string;
1674
+ uri: string;
1475
1675
  display_name: string;
1476
- note: string;
1477
1676
  avatar: string;
1478
1677
  avatar_static: string;
1479
1678
  header: string;
1480
1679
  header_static: string;
1481
1680
  locked: boolean;
1482
- fields: {
1483
- value: string;
1484
- name: string;
1485
- verified_at: string | null;
1486
- }[];
1681
+ source: {
1682
+ note: string;
1683
+ fields: {
1684
+ value: string;
1685
+ name: string;
1686
+ verified_at: string | null;
1687
+ }[];
1688
+ privacy: "public" | "unlisted" | "private" | "direct";
1689
+ sensitive: boolean;
1690
+ language: string;
1691
+ follow_requests_count: number;
1692
+ };
1487
1693
  emojis: {
1488
1694
  url: string;
1489
1695
  shortcode: string;
@@ -1505,20 +1711,33 @@ export declare const BaseStatus: z.ZodObject<{
1505
1711
  moved?: {
1506
1712
  id: string;
1507
1713
  url: string;
1714
+ note: string;
1715
+ fields: {
1716
+ value: string;
1717
+ name: string;
1718
+ verified_at: string | null;
1719
+ }[];
1508
1720
  username: string;
1509
1721
  acct: string;
1722
+ uri: string;
1510
1723
  display_name: string;
1511
- note: string;
1512
1724
  avatar: string;
1513
1725
  avatar_static: string;
1514
1726
  header: string;
1515
1727
  header_static: string;
1516
1728
  locked: boolean;
1517
- fields: {
1518
- value: string;
1519
- name: string;
1520
- verified_at: string | null;
1521
- }[];
1729
+ source: {
1730
+ note: string;
1731
+ fields: {
1732
+ value: string;
1733
+ name: string;
1734
+ verified_at: string | null;
1735
+ }[];
1736
+ privacy: "public" | "unlisted" | "private" | "direct";
1737
+ sensitive: boolean;
1738
+ language: string;
1739
+ follow_requests_count: number;
1740
+ };
1522
1741
  emojis: {
1523
1742
  url: string;
1524
1743
  shortcode: string;
@@ -1539,9 +1758,7 @@ export declare const BaseStatus: z.ZodObject<{
1539
1758
  limited?: boolean | undefined;
1540
1759
  } | null | undefined;
1541
1760
  };
1542
- uri: string;
1543
- visibility: "public" | "unlist" | "private" | "direct";
1544
- sensitive: boolean;
1761
+ visibility: "public" | "private" | "direct" | "unlist";
1545
1762
  spoiler_text: string;
1546
1763
  media_attachments: ({
1547
1764
  id: string;
@@ -1702,7 +1919,6 @@ export declare const BaseStatus: z.ZodObject<{
1702
1919
  html: string;
1703
1920
  embed_url: string;
1704
1921
  } | null;
1705
- language: string | null;
1706
1922
  text: string | null;
1707
1923
  edited_at: string | null;
1708
1924
  application?: {
@@ -1718,7 +1934,7 @@ export declare const BaseStatus: z.ZodObject<{
1718
1934
  filter: {
1719
1935
  id: string;
1720
1936
  title: string;
1721
- context: ("home" | "notifications" | "public" | "thread" | "account")[];
1937
+ context: ("public" | "home" | "notifications" | "thread" | "account")[];
1722
1938
  expires_at: string | null;
1723
1939
  filter_action: "warn" | "hide";
1724
1940
  keywords: {