@llun/activities.schema 0.2.24 → 0.2.26

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.
@@ -9,14 +9,14 @@ exports.CollectionWithFirstPage = zod_1.z.object({
9
9
  type: zod_1.z.literal("CollectionPage"),
10
10
  next: zod_1.z.string(),
11
11
  partOf: zod_1.z.string(),
12
- items: zod_1.z.array(zod_1.z.any()),
12
+ items: zod_1.z.union([zod_1.z.any(), zod_1.z.array(zod_1.z.any())]),
13
13
  }),
14
14
  });
15
15
  exports.CollectionWithItems = zod_1.z.object({
16
16
  id: zod_1.z.string(),
17
17
  type: zod_1.z.literal("Collection"),
18
18
  totalItems: zod_1.z.number(),
19
- items: zod_1.z.array(zod_1.z.any()),
19
+ items: zod_1.z.union([zod_1.z.any(), zod_1.z.array(zod_1.z.any())]),
20
20
  });
21
21
  exports.Collection = zod_1.z.union([
22
22
  exports.CollectionWithFirstPage,
@@ -19,9 +19,6 @@ const BaseAccount = zod_1.z.object({
19
19
  url: zod_1.z.string({
20
20
  description: "The location of the user's profile page",
21
21
  }),
22
- uri: zod_1.z.string({
23
- description: "The location of the actor's profile page",
24
- }),
25
22
  display_name: zod_1.z.string({
26
23
  description: "The profile's display name",
27
24
  }),
@@ -6,14 +6,14 @@ export const CollectionWithFirstPage = z.object({
6
6
  type: z.literal("CollectionPage"),
7
7
  next: z.string(),
8
8
  partOf: z.string(),
9
- items: z.array(z.any()),
9
+ items: z.union([z.any(), z.array(z.any())]),
10
10
  }),
11
11
  });
12
12
  export const CollectionWithItems = z.object({
13
13
  id: z.string(),
14
14
  type: z.literal("Collection"),
15
15
  totalItems: z.number(),
16
- items: z.array(z.any()),
16
+ items: z.union([z.any(), z.array(z.any())]),
17
17
  });
18
18
  export const Collection = z.union([
19
19
  CollectionWithFirstPage,
@@ -16,9 +16,6 @@ const BaseAccount = z.object({
16
16
  url: z.string({
17
17
  description: "The location of the user's profile page",
18
18
  }),
19
- uri: z.string({
20
- description: "The location of the actor's profile page",
21
- }),
22
19
  display_name: z.string({
23
20
  description: "The profile's display name",
24
21
  }),
@@ -6,17 +6,17 @@ export declare const CollectionWithFirstPage: z.ZodObject<{
6
6
  type: z.ZodLiteral<"CollectionPage">;
7
7
  next: z.ZodString;
8
8
  partOf: z.ZodString;
9
- items: z.ZodArray<z.ZodAny, "many">;
9
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  type: "CollectionPage";
12
12
  next: string;
13
13
  partOf: string;
14
- items: any[];
14
+ items?: any;
15
15
  }, {
16
16
  type: "CollectionPage";
17
17
  next: string;
18
18
  partOf: string;
19
- items: any[];
19
+ items?: any;
20
20
  }>;
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  id: string;
@@ -25,7 +25,7 @@ export declare const CollectionWithFirstPage: z.ZodObject<{
25
25
  type: "CollectionPage";
26
26
  next: string;
27
27
  partOf: string;
28
- items: any[];
28
+ items?: any;
29
29
  };
30
30
  }, {
31
31
  id: string;
@@ -34,7 +34,7 @@ export declare const CollectionWithFirstPage: z.ZodObject<{
34
34
  type: "CollectionPage";
35
35
  next: string;
36
36
  partOf: string;
37
- items: any[];
37
+ items?: any;
38
38
  };
39
39
  }>;
40
40
  export type CollectionWithFirstPage = z.infer<typeof CollectionWithFirstPage>;
@@ -42,17 +42,17 @@ export declare const CollectionWithItems: z.ZodObject<{
42
42
  id: z.ZodString;
43
43
  type: z.ZodLiteral<"Collection">;
44
44
  totalItems: z.ZodNumber;
45
- items: z.ZodArray<z.ZodAny, "many">;
45
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
46
46
  }, "strip", z.ZodTypeAny, {
47
47
  id: string;
48
48
  type: "Collection";
49
- items: any[];
50
49
  totalItems: number;
50
+ items?: any;
51
51
  }, {
52
52
  id: string;
53
53
  type: "Collection";
54
- items: any[];
55
54
  totalItems: number;
55
+ items?: any;
56
56
  }>;
57
57
  export type CollectionWithItems = z.infer<typeof CollectionWithItems>;
58
58
  export declare const Collection: z.ZodUnion<[z.ZodObject<{
@@ -62,17 +62,17 @@ export declare const Collection: z.ZodUnion<[z.ZodObject<{
62
62
  type: z.ZodLiteral<"CollectionPage">;
63
63
  next: z.ZodString;
64
64
  partOf: z.ZodString;
65
- items: z.ZodArray<z.ZodAny, "many">;
65
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  type: "CollectionPage";
68
68
  next: string;
69
69
  partOf: string;
70
- items: any[];
70
+ items?: any;
71
71
  }, {
72
72
  type: "CollectionPage";
73
73
  next: string;
74
74
  partOf: string;
75
- items: any[];
75
+ items?: any;
76
76
  }>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  id: string;
@@ -81,7 +81,7 @@ export declare const Collection: z.ZodUnion<[z.ZodObject<{
81
81
  type: "CollectionPage";
82
82
  next: string;
83
83
  partOf: string;
84
- items: any[];
84
+ items?: any;
85
85
  };
86
86
  }, {
87
87
  id: string;
@@ -90,22 +90,22 @@ export declare const Collection: z.ZodUnion<[z.ZodObject<{
90
90
  type: "CollectionPage";
91
91
  next: string;
92
92
  partOf: string;
93
- items: any[];
93
+ items?: any;
94
94
  };
95
95
  }>, z.ZodObject<{
96
96
  id: z.ZodString;
97
97
  type: z.ZodLiteral<"Collection">;
98
98
  totalItems: z.ZodNumber;
99
- items: z.ZodArray<z.ZodAny, "many">;
99
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
100
100
  }, "strip", z.ZodTypeAny, {
101
101
  id: string;
102
102
  type: "Collection";
103
- items: any[];
104
103
  totalItems: number;
104
+ items?: any;
105
105
  }, {
106
106
  id: string;
107
107
  type: "Collection";
108
- items: any[];
109
108
  totalItems: number;
109
+ items?: any;
110
110
  }>]>;
111
111
  export type Collection = z.infer<typeof Collection>;
@@ -22,17 +22,17 @@ export declare const Like: z.ZodObject<{
22
22
  type: z.ZodLiteral<"CollectionPage">;
23
23
  next: z.ZodString;
24
24
  partOf: z.ZodString;
25
- items: z.ZodArray<z.ZodAny, "many">;
25
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
26
26
  }, "strip", z.ZodTypeAny, {
27
27
  type: "CollectionPage";
28
28
  next: string;
29
29
  partOf: string;
30
- items: any[];
30
+ items?: any;
31
31
  }, {
32
32
  type: "CollectionPage";
33
33
  next: string;
34
34
  partOf: string;
35
- items: any[];
35
+ items?: any;
36
36
  }>;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  id: string;
@@ -41,7 +41,7 @@ export declare const Like: z.ZodObject<{
41
41
  type: "CollectionPage";
42
42
  next: string;
43
43
  partOf: string;
44
- items: any[];
44
+ items?: any;
45
45
  };
46
46
  }, {
47
47
  id: string;
@@ -50,23 +50,23 @@ export declare const Like: z.ZodObject<{
50
50
  type: "CollectionPage";
51
51
  next: string;
52
52
  partOf: string;
53
- items: any[];
53
+ items?: any;
54
54
  };
55
55
  }>, z.ZodObject<{
56
56
  id: z.ZodString;
57
57
  type: z.ZodLiteral<"Collection">;
58
58
  totalItems: z.ZodNumber;
59
- items: z.ZodArray<z.ZodAny, "many">;
59
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
60
60
  }, "strip", z.ZodTypeAny, {
61
61
  id: string;
62
62
  type: "Collection";
63
- items: any[];
64
63
  totalItems: number;
64
+ items?: any;
65
65
  }, {
66
66
  id: string;
67
67
  type: "Collection";
68
- items: any[];
69
68
  totalItems: number;
69
+ items?: any;
70
70
  }>]>>>;
71
71
  attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
72
72
  type: z.ZodLiteral<"PropertyValue">;
@@ -326,13 +326,13 @@ export declare const Like: z.ZodObject<{
326
326
  type: "CollectionPage";
327
327
  next: string;
328
328
  partOf: string;
329
- items: any[];
329
+ items?: any;
330
330
  };
331
331
  } | {
332
332
  id: string;
333
333
  type: "Collection";
334
- items: any[];
335
334
  totalItems: number;
335
+ items?: any;
336
336
  } | null | undefined;
337
337
  attachment?: {
338
338
  type: "Document";
@@ -417,13 +417,13 @@ export declare const Like: z.ZodObject<{
417
417
  type: "CollectionPage";
418
418
  next: string;
419
419
  partOf: string;
420
- items: any[];
420
+ items?: any;
421
421
  };
422
422
  } | {
423
423
  id: string;
424
424
  type: "Collection";
425
- items: any[];
426
425
  totalItems: number;
426
+ items?: any;
427
427
  } | null | undefined;
428
428
  attachment?: {
429
429
  type: "Document";
@@ -510,13 +510,13 @@ export declare const Like: z.ZodObject<{
510
510
  type: "CollectionPage";
511
511
  next: string;
512
512
  partOf: string;
513
- items: any[];
513
+ items?: any;
514
514
  };
515
515
  } | {
516
516
  id: string;
517
517
  type: "Collection";
518
- items: any[];
519
518
  totalItems: number;
519
+ items?: any;
520
520
  } | null | undefined;
521
521
  attachment?: {
522
522
  type: "Document";
@@ -606,13 +606,13 @@ export declare const Like: z.ZodObject<{
606
606
  type: "CollectionPage";
607
607
  next: string;
608
608
  partOf: string;
609
- items: any[];
609
+ items?: any;
610
610
  };
611
611
  } | {
612
612
  id: string;
613
613
  type: "Collection";
614
- items: any[];
615
614
  totalItems: number;
615
+ items?: any;
616
616
  } | null | undefined;
617
617
  attachment?: {
618
618
  type: "Document";
@@ -4,7 +4,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
4
4
  username: z.ZodString;
5
5
  acct: z.ZodString;
6
6
  url: z.ZodString;
7
- uri: z.ZodString;
8
7
  display_name: z.ZodString;
9
8
  note: z.ZodString;
10
9
  avatar: z.ZodString;
@@ -103,7 +102,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
103
102
  username: z.ZodString;
104
103
  acct: z.ZodString;
105
104
  url: z.ZodString;
106
- uri: z.ZodString;
107
105
  display_name: z.ZodString;
108
106
  note: z.ZodString;
109
107
  avatar: z.ZodString;
@@ -207,7 +205,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
207
205
  }[];
208
206
  username: string;
209
207
  acct: string;
210
- uri: string;
211
208
  display_name: string;
212
209
  avatar: string;
213
210
  avatar_static: string;
@@ -255,7 +252,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
255
252
  }[];
256
253
  username: string;
257
254
  acct: string;
258
- uri: string;
259
255
  display_name: string;
260
256
  avatar: string;
261
257
  avatar_static: string;
@@ -304,7 +300,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
304
300
  }[];
305
301
  username: string;
306
302
  acct: string;
307
- uri: string;
308
303
  display_name: string;
309
304
  avatar: string;
310
305
  avatar_static: string;
@@ -352,7 +347,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
352
347
  }[];
353
348
  username: string;
354
349
  acct: string;
355
- uri: string;
356
350
  display_name: string;
357
351
  avatar: string;
358
352
  avatar_static: string;
@@ -401,7 +395,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
401
395
  }[];
402
396
  username: string;
403
397
  acct: string;
404
- uri: string;
405
398
  display_name: string;
406
399
  avatar: string;
407
400
  avatar_static: string;
@@ -449,7 +442,6 @@ export declare const Account: z.ZodObject<z.objectUtil.extendShape<{
449
442
  }[];
450
443
  username: string;
451
444
  acct: string;
452
- uri: string;
453
445
  display_name: string;
454
446
  avatar: string;
455
447
  avatar_static: string;
@@ -7,7 +7,6 @@ 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;
11
10
  display_name: z.ZodString;
12
11
  note: z.ZodString;
13
12
  avatar: z.ZodString;
@@ -106,7 +105,6 @@ export declare const BaseStatus: z.ZodObject<{
106
105
  username: z.ZodString;
107
106
  acct: z.ZodString;
108
107
  url: z.ZodString;
109
- uri: z.ZodString;
110
108
  display_name: z.ZodString;
111
109
  note: z.ZodString;
112
110
  avatar: z.ZodString;
@@ -210,7 +208,6 @@ export declare const BaseStatus: z.ZodObject<{
210
208
  }[];
211
209
  username: string;
212
210
  acct: string;
213
- uri: string;
214
211
  display_name: string;
215
212
  avatar: string;
216
213
  avatar_static: string;
@@ -258,7 +255,6 @@ export declare const BaseStatus: z.ZodObject<{
258
255
  }[];
259
256
  username: string;
260
257
  acct: string;
261
- uri: string;
262
258
  display_name: string;
263
259
  avatar: string;
264
260
  avatar_static: string;
@@ -307,7 +303,6 @@ export declare const BaseStatus: z.ZodObject<{
307
303
  }[];
308
304
  username: string;
309
305
  acct: string;
310
- uri: string;
311
306
  display_name: string;
312
307
  avatar: string;
313
308
  avatar_static: string;
@@ -355,7 +350,6 @@ export declare const BaseStatus: z.ZodObject<{
355
350
  }[];
356
351
  username: string;
357
352
  acct: string;
358
- uri: string;
359
353
  display_name: string;
360
354
  avatar: string;
361
355
  avatar_static: string;
@@ -404,7 +398,6 @@ export declare const BaseStatus: z.ZodObject<{
404
398
  }[];
405
399
  username: string;
406
400
  acct: string;
407
- uri: string;
408
401
  display_name: string;
409
402
  avatar: string;
410
403
  avatar_static: string;
@@ -452,7 +445,6 @@ export declare const BaseStatus: z.ZodObject<{
452
445
  }[];
453
446
  username: string;
454
447
  acct: string;
455
- uri: string;
456
448
  display_name: string;
457
449
  avatar: string;
458
450
  avatar_static: string;
@@ -1346,7 +1338,6 @@ export declare const BaseStatus: z.ZodObject<{
1346
1338
  content: string;
1347
1339
  sensitive: boolean;
1348
1340
  language: string | null;
1349
- uri: string;
1350
1341
  emojis: {
1351
1342
  url: string;
1352
1343
  shortcode: string;
@@ -1366,7 +1357,6 @@ export declare const BaseStatus: z.ZodObject<{
1366
1357
  }[];
1367
1358
  username: string;
1368
1359
  acct: string;
1369
- uri: string;
1370
1360
  display_name: string;
1371
1361
  avatar: string;
1372
1362
  avatar_static: string;
@@ -1414,7 +1404,6 @@ export declare const BaseStatus: z.ZodObject<{
1414
1404
  }[];
1415
1405
  username: string;
1416
1406
  acct: string;
1417
- uri: string;
1418
1407
  display_name: string;
1419
1408
  avatar: string;
1420
1409
  avatar_static: string;
@@ -1453,6 +1442,7 @@ export declare const BaseStatus: z.ZodObject<{
1453
1442
  limited?: boolean | undefined;
1454
1443
  } | null | undefined;
1455
1444
  };
1445
+ uri: string;
1456
1446
  visibility: "public" | "unlist" | "private" | "direct";
1457
1447
  spoiler_text: string;
1458
1448
  media_attachments: ({
@@ -1651,7 +1641,6 @@ export declare const BaseStatus: z.ZodObject<{
1651
1641
  content: string;
1652
1642
  sensitive: boolean;
1653
1643
  language: string | null;
1654
- uri: string;
1655
1644
  emojis: {
1656
1645
  url: string;
1657
1646
  shortcode: string;
@@ -1671,7 +1660,6 @@ export declare const BaseStatus: z.ZodObject<{
1671
1660
  }[];
1672
1661
  username: string;
1673
1662
  acct: string;
1674
- uri: string;
1675
1663
  display_name: string;
1676
1664
  avatar: string;
1677
1665
  avatar_static: string;
@@ -1719,7 +1707,6 @@ export declare const BaseStatus: z.ZodObject<{
1719
1707
  }[];
1720
1708
  username: string;
1721
1709
  acct: string;
1722
- uri: string;
1723
1710
  display_name: string;
1724
1711
  avatar: string;
1725
1712
  avatar_static: string;
@@ -1758,6 +1745,7 @@ export declare const BaseStatus: z.ZodObject<{
1758
1745
  limited?: boolean | undefined;
1759
1746
  } | null | undefined;
1760
1747
  };
1748
+ uri: string;
1761
1749
  visibility: "public" | "unlist" | "private" | "direct";
1762
1750
  spoiler_text: string;
1763
1751
  media_attachments: ({
@@ -7,7 +7,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
7
7
  username: z.ZodString;
8
8
  acct: z.ZodString;
9
9
  url: z.ZodString;
10
- uri: z.ZodString;
11
10
  display_name: z.ZodString;
12
11
  note: z.ZodString;
13
12
  avatar: z.ZodString;
@@ -106,7 +105,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
106
105
  username: z.ZodString;
107
106
  acct: z.ZodString;
108
107
  url: z.ZodString;
109
- uri: z.ZodString;
110
108
  display_name: z.ZodString;
111
109
  note: z.ZodString;
112
110
  avatar: z.ZodString;
@@ -210,7 +208,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
210
208
  }[];
211
209
  username: string;
212
210
  acct: string;
213
- uri: string;
214
211
  display_name: string;
215
212
  avatar: string;
216
213
  avatar_static: string;
@@ -258,7 +255,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
258
255
  }[];
259
256
  username: string;
260
257
  acct: string;
261
- uri: string;
262
258
  display_name: string;
263
259
  avatar: string;
264
260
  avatar_static: string;
@@ -307,7 +303,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
307
303
  }[];
308
304
  username: string;
309
305
  acct: string;
310
- uri: string;
311
306
  display_name: string;
312
307
  avatar: string;
313
308
  avatar_static: string;
@@ -355,7 +350,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
355
350
  }[];
356
351
  username: string;
357
352
  acct: string;
358
- uri: string;
359
353
  display_name: string;
360
354
  avatar: string;
361
355
  avatar_static: string;
@@ -404,7 +398,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
404
398
  }[];
405
399
  username: string;
406
400
  acct: string;
407
- uri: string;
408
401
  display_name: string;
409
402
  avatar: string;
410
403
  avatar_static: string;
@@ -452,7 +445,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
452
445
  }[];
453
446
  username: string;
454
447
  acct: string;
455
- uri: string;
456
448
  display_name: string;
457
449
  avatar: string;
458
450
  avatar_static: string;
@@ -1349,7 +1341,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1349
1341
  username: z.ZodString;
1350
1342
  acct: z.ZodString;
1351
1343
  url: z.ZodString;
1352
- uri: z.ZodString;
1353
1344
  display_name: z.ZodString;
1354
1345
  note: z.ZodString;
1355
1346
  avatar: z.ZodString;
@@ -1448,7 +1439,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1448
1439
  username: z.ZodString;
1449
1440
  acct: z.ZodString;
1450
1441
  url: z.ZodString;
1451
- uri: z.ZodString;
1452
1442
  display_name: z.ZodString;
1453
1443
  note: z.ZodString;
1454
1444
  avatar: z.ZodString;
@@ -1552,7 +1542,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1552
1542
  }[];
1553
1543
  username: string;
1554
1544
  acct: string;
1555
- uri: string;
1556
1545
  display_name: string;
1557
1546
  avatar: string;
1558
1547
  avatar_static: string;
@@ -1600,7 +1589,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1600
1589
  }[];
1601
1590
  username: string;
1602
1591
  acct: string;
1603
- uri: string;
1604
1592
  display_name: string;
1605
1593
  avatar: string;
1606
1594
  avatar_static: string;
@@ -1649,7 +1637,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1649
1637
  }[];
1650
1638
  username: string;
1651
1639
  acct: string;
1652
- uri: string;
1653
1640
  display_name: string;
1654
1641
  avatar: string;
1655
1642
  avatar_static: string;
@@ -1697,7 +1684,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1697
1684
  }[];
1698
1685
  username: string;
1699
1686
  acct: string;
1700
- uri: string;
1701
1687
  display_name: string;
1702
1688
  avatar: string;
1703
1689
  avatar_static: string;
@@ -1746,7 +1732,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1746
1732
  }[];
1747
1733
  username: string;
1748
1734
  acct: string;
1749
- uri: string;
1750
1735
  display_name: string;
1751
1736
  avatar: string;
1752
1737
  avatar_static: string;
@@ -1794,7 +1779,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1794
1779
  }[];
1795
1780
  username: string;
1796
1781
  acct: string;
1797
- uri: string;
1798
1782
  display_name: string;
1799
1783
  avatar: string;
1800
1784
  avatar_static: string;
@@ -2688,7 +2672,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2688
2672
  content: string;
2689
2673
  sensitive: boolean;
2690
2674
  language: string | null;
2691
- uri: string;
2692
2675
  emojis: {
2693
2676
  url: string;
2694
2677
  shortcode: string;
@@ -2708,7 +2691,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2708
2691
  }[];
2709
2692
  username: string;
2710
2693
  acct: string;
2711
- uri: string;
2712
2694
  display_name: string;
2713
2695
  avatar: string;
2714
2696
  avatar_static: string;
@@ -2756,7 +2738,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2756
2738
  }[];
2757
2739
  username: string;
2758
2740
  acct: string;
2759
- uri: string;
2760
2741
  display_name: string;
2761
2742
  avatar: string;
2762
2743
  avatar_static: string;
@@ -2795,6 +2776,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2795
2776
  limited?: boolean | undefined;
2796
2777
  } | null | undefined;
2797
2778
  };
2779
+ uri: string;
2798
2780
  visibility: "public" | "unlist" | "private" | "direct";
2799
2781
  spoiler_text: string;
2800
2782
  media_attachments: ({
@@ -2993,7 +2975,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2993
2975
  content: string;
2994
2976
  sensitive: boolean;
2995
2977
  language: string | null;
2996
- uri: string;
2997
2978
  emojis: {
2998
2979
  url: string;
2999
2980
  shortcode: string;
@@ -3013,7 +2994,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3013
2994
  }[];
3014
2995
  username: string;
3015
2996
  acct: string;
3016
- uri: string;
3017
2997
  display_name: string;
3018
2998
  avatar: string;
3019
2999
  avatar_static: string;
@@ -3061,7 +3041,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3061
3041
  }[];
3062
3042
  username: string;
3063
3043
  acct: string;
3064
- uri: string;
3065
3044
  display_name: string;
3066
3045
  avatar: string;
3067
3046
  avatar_static: string;
@@ -3100,6 +3079,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3100
3079
  limited?: boolean | undefined;
3101
3080
  } | null | undefined;
3102
3081
  };
3082
+ uri: string;
3103
3083
  visibility: "public" | "unlist" | "private" | "direct";
3104
3084
  spoiler_text: string;
3105
3085
  media_attachments: ({
@@ -3299,7 +3279,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3299
3279
  content: string;
3300
3280
  sensitive: boolean;
3301
3281
  language: string | null;
3302
- uri: string;
3303
3282
  emojis: {
3304
3283
  url: string;
3305
3284
  shortcode: string;
@@ -3319,7 +3298,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3319
3298
  }[];
3320
3299
  username: string;
3321
3300
  acct: string;
3322
- uri: string;
3323
3301
  display_name: string;
3324
3302
  avatar: string;
3325
3303
  avatar_static: string;
@@ -3367,7 +3345,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3367
3345
  }[];
3368
3346
  username: string;
3369
3347
  acct: string;
3370
- uri: string;
3371
3348
  display_name: string;
3372
3349
  avatar: string;
3373
3350
  avatar_static: string;
@@ -3406,6 +3383,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3406
3383
  limited?: boolean | undefined;
3407
3384
  } | null | undefined;
3408
3385
  };
3386
+ uri: string;
3409
3387
  visibility: "public" | "unlist" | "private" | "direct";
3410
3388
  spoiler_text: string;
3411
3389
  media_attachments: ({
@@ -3575,7 +3553,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3575
3553
  content: string;
3576
3554
  sensitive: boolean;
3577
3555
  language: string | null;
3578
- uri: string;
3579
3556
  emojis: {
3580
3557
  url: string;
3581
3558
  shortcode: string;
@@ -3595,7 +3572,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3595
3572
  }[];
3596
3573
  username: string;
3597
3574
  acct: string;
3598
- uri: string;
3599
3575
  display_name: string;
3600
3576
  avatar: string;
3601
3577
  avatar_static: string;
@@ -3643,7 +3619,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3643
3619
  }[];
3644
3620
  username: string;
3645
3621
  acct: string;
3646
- uri: string;
3647
3622
  display_name: string;
3648
3623
  avatar: string;
3649
3624
  avatar_static: string;
@@ -3682,6 +3657,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3682
3657
  limited?: boolean | undefined;
3683
3658
  } | null | undefined;
3684
3659
  };
3660
+ uri: string;
3685
3661
  visibility: "public" | "unlist" | "private" | "direct";
3686
3662
  spoiler_text: string;
3687
3663
  media_attachments: ({
@@ -3910,7 +3886,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3910
3886
  content: string;
3911
3887
  sensitive: boolean;
3912
3888
  language: string | null;
3913
- uri: string;
3914
3889
  emojis: {
3915
3890
  url: string;
3916
3891
  shortcode: string;
@@ -3930,7 +3905,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3930
3905
  }[];
3931
3906
  username: string;
3932
3907
  acct: string;
3933
- uri: string;
3934
3908
  display_name: string;
3935
3909
  avatar: string;
3936
3910
  avatar_static: string;
@@ -3978,7 +3952,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3978
3952
  }[];
3979
3953
  username: string;
3980
3954
  acct: string;
3981
- uri: string;
3982
3955
  display_name: string;
3983
3956
  avatar: string;
3984
3957
  avatar_static: string;
@@ -4017,6 +3990,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4017
3990
  limited?: boolean | undefined;
4018
3991
  } | null | undefined;
4019
3992
  };
3993
+ uri: string;
4020
3994
  visibility: "public" | "unlist" | "private" | "direct";
4021
3995
  spoiler_text: string;
4022
3996
  media_attachments: ({
@@ -4186,7 +4160,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4186
4160
  content: string;
4187
4161
  sensitive: boolean;
4188
4162
  language: string | null;
4189
- uri: string;
4190
4163
  emojis: {
4191
4164
  url: string;
4192
4165
  shortcode: string;
@@ -4206,7 +4179,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4206
4179
  }[];
4207
4180
  username: string;
4208
4181
  acct: string;
4209
- uri: string;
4210
4182
  display_name: string;
4211
4183
  avatar: string;
4212
4184
  avatar_static: string;
@@ -4254,7 +4226,6 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4254
4226
  }[];
4255
4227
  username: string;
4256
4228
  acct: string;
4257
- uri: string;
4258
4229
  display_name: string;
4259
4230
  avatar: string;
4260
4231
  avatar_static: string;
@@ -4293,6 +4264,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4293
4264
  limited?: boolean | undefined;
4294
4265
  } | null | undefined;
4295
4266
  };
4267
+ uri: string;
4296
4268
  visibility: "public" | "unlist" | "private" | "direct";
4297
4269
  spoiler_text: string;
4298
4270
  media_attachments: ({
@@ -17,17 +17,17 @@ export declare const BaseContent: z.ZodObject<{
17
17
  type: z.ZodLiteral<"CollectionPage">;
18
18
  next: z.ZodString;
19
19
  partOf: z.ZodString;
20
- items: z.ZodArray<z.ZodAny, "many">;
20
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  type: "CollectionPage";
23
23
  next: string;
24
24
  partOf: string;
25
- items: any[];
25
+ items?: any;
26
26
  }, {
27
27
  type: "CollectionPage";
28
28
  next: string;
29
29
  partOf: string;
30
- items: any[];
30
+ items?: any;
31
31
  }>;
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  id: string;
@@ -36,7 +36,7 @@ export declare const BaseContent: z.ZodObject<{
36
36
  type: "CollectionPage";
37
37
  next: string;
38
38
  partOf: string;
39
- items: any[];
39
+ items?: any;
40
40
  };
41
41
  }, {
42
42
  id: string;
@@ -45,23 +45,23 @@ export declare const BaseContent: z.ZodObject<{
45
45
  type: "CollectionPage";
46
46
  next: string;
47
47
  partOf: string;
48
- items: any[];
48
+ items?: any;
49
49
  };
50
50
  }>, z.ZodObject<{
51
51
  id: z.ZodString;
52
52
  type: z.ZodLiteral<"Collection">;
53
53
  totalItems: z.ZodNumber;
54
- items: z.ZodArray<z.ZodAny, "many">;
54
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
55
55
  }, "strip", z.ZodTypeAny, {
56
56
  id: string;
57
57
  type: "Collection";
58
- items: any[];
59
58
  totalItems: number;
59
+ items?: any;
60
60
  }, {
61
61
  id: string;
62
62
  type: "Collection";
63
- items: any[];
64
63
  totalItems: number;
64
+ items?: any;
65
65
  }>]>>>;
66
66
  attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
67
67
  type: z.ZodLiteral<"PropertyValue">;
@@ -318,13 +318,13 @@ export declare const BaseContent: z.ZodObject<{
318
318
  type: "CollectionPage";
319
319
  next: string;
320
320
  partOf: string;
321
- items: any[];
321
+ items?: any;
322
322
  };
323
323
  } | {
324
324
  id: string;
325
325
  type: "Collection";
326
- items: any[];
327
326
  totalItems: number;
327
+ items?: any;
328
328
  } | null | undefined;
329
329
  attachment?: {
330
330
  type: "Document";
@@ -408,13 +408,13 @@ export declare const BaseContent: z.ZodObject<{
408
408
  type: "CollectionPage";
409
409
  next: string;
410
410
  partOf: string;
411
- items: any[];
411
+ items?: any;
412
412
  };
413
413
  } | {
414
414
  id: string;
415
415
  type: "Collection";
416
- items: any[];
417
416
  totalItems: number;
417
+ items?: any;
418
418
  } | null | undefined;
419
419
  attachment?: {
420
420
  type: "Document";
@@ -18,17 +18,17 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
18
18
  type: z.ZodLiteral<"CollectionPage">;
19
19
  next: z.ZodString;
20
20
  partOf: z.ZodString;
21
- items: z.ZodArray<z.ZodAny, "many">;
21
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  type: "CollectionPage";
24
24
  next: string;
25
25
  partOf: string;
26
- items: any[];
26
+ items?: any;
27
27
  }, {
28
28
  type: "CollectionPage";
29
29
  next: string;
30
30
  partOf: string;
31
- items: any[];
31
+ items?: any;
32
32
  }>;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  id: string;
@@ -37,7 +37,7 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
37
37
  type: "CollectionPage";
38
38
  next: string;
39
39
  partOf: string;
40
- items: any[];
40
+ items?: any;
41
41
  };
42
42
  }, {
43
43
  id: string;
@@ -46,23 +46,23 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
46
46
  type: "CollectionPage";
47
47
  next: string;
48
48
  partOf: string;
49
- items: any[];
49
+ items?: any;
50
50
  };
51
51
  }>, z.ZodObject<{
52
52
  id: z.ZodString;
53
53
  type: z.ZodLiteral<"Collection">;
54
54
  totalItems: z.ZodNumber;
55
- items: z.ZodArray<z.ZodAny, "many">;
55
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
56
56
  }, "strip", z.ZodTypeAny, {
57
57
  id: string;
58
58
  type: "Collection";
59
- items: any[];
60
59
  totalItems: number;
60
+ items?: any;
61
61
  }, {
62
62
  id: string;
63
63
  type: "Collection";
64
- items: any[];
65
64
  totalItems: number;
65
+ items?: any;
66
66
  }>]>>>;
67
67
  attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
68
68
  type: z.ZodLiteral<"PropertyValue">;
@@ -322,13 +322,13 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
322
322
  type: "CollectionPage";
323
323
  next: string;
324
324
  partOf: string;
325
- items: any[];
325
+ items?: any;
326
326
  };
327
327
  } | {
328
328
  id: string;
329
329
  type: "Collection";
330
- items: any[];
331
330
  totalItems: number;
331
+ items?: any;
332
332
  } | null | undefined;
333
333
  attachment?: {
334
334
  type: "Document";
@@ -413,13 +413,13 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
413
413
  type: "CollectionPage";
414
414
  next: string;
415
415
  partOf: string;
416
- items: any[];
416
+ items?: any;
417
417
  };
418
418
  } | {
419
419
  id: string;
420
420
  type: "Collection";
421
- items: any[];
422
421
  totalItems: number;
422
+ items?: any;
423
423
  } | null | undefined;
424
424
  attachment?: {
425
425
  type: "Document";
@@ -18,17 +18,17 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
18
18
  type: z.ZodLiteral<"CollectionPage">;
19
19
  next: z.ZodString;
20
20
  partOf: z.ZodString;
21
- items: z.ZodArray<z.ZodAny, "many">;
21
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  type: "CollectionPage";
24
24
  next: string;
25
25
  partOf: string;
26
- items: any[];
26
+ items?: any;
27
27
  }, {
28
28
  type: "CollectionPage";
29
29
  next: string;
30
30
  partOf: string;
31
- items: any[];
31
+ items?: any;
32
32
  }>;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  id: string;
@@ -37,7 +37,7 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
37
37
  type: "CollectionPage";
38
38
  next: string;
39
39
  partOf: string;
40
- items: any[];
40
+ items?: any;
41
41
  };
42
42
  }, {
43
43
  id: string;
@@ -46,23 +46,23 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
46
46
  type: "CollectionPage";
47
47
  next: string;
48
48
  partOf: string;
49
- items: any[];
49
+ items?: any;
50
50
  };
51
51
  }>, z.ZodObject<{
52
52
  id: z.ZodString;
53
53
  type: z.ZodLiteral<"Collection">;
54
54
  totalItems: z.ZodNumber;
55
- items: z.ZodArray<z.ZodAny, "many">;
55
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
56
56
  }, "strip", z.ZodTypeAny, {
57
57
  id: string;
58
58
  type: "Collection";
59
- items: any[];
60
59
  totalItems: number;
60
+ items?: any;
61
61
  }, {
62
62
  id: string;
63
63
  type: "Collection";
64
- items: any[];
65
64
  totalItems: number;
65
+ items?: any;
66
66
  }>]>>>;
67
67
  attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
68
68
  type: z.ZodLiteral<"PropertyValue">;
@@ -360,13 +360,13 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
360
360
  type: "CollectionPage";
361
361
  next: string;
362
362
  partOf: string;
363
- items: any[];
363
+ items?: any;
364
364
  };
365
365
  } | {
366
366
  id: string;
367
367
  type: "Collection";
368
- items: any[];
369
368
  totalItems: number;
369
+ items?: any;
370
370
  } | null | undefined;
371
371
  attachment?: {
372
372
  type: "Document";
@@ -460,13 +460,13 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
460
460
  type: "CollectionPage";
461
461
  next: string;
462
462
  partOf: string;
463
- items: any[];
463
+ items?: any;
464
464
  };
465
465
  } | {
466
466
  id: string;
467
467
  type: "Collection";
468
- items: any[];
469
468
  totalItems: number;
469
+ items?: any;
470
470
  } | null | undefined;
471
471
  attachment?: {
472
472
  type: "Document";
@@ -25,17 +25,17 @@ export declare const Undo: z.ZodObject<{
25
25
  type: z.ZodLiteral<"CollectionPage">;
26
26
  next: z.ZodString;
27
27
  partOf: z.ZodString;
28
- items: z.ZodArray<z.ZodAny, "many">;
28
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
29
29
  }, "strip", z.ZodTypeAny, {
30
30
  type: "CollectionPage";
31
31
  next: string;
32
32
  partOf: string;
33
- items: any[];
33
+ items?: any;
34
34
  }, {
35
35
  type: "CollectionPage";
36
36
  next: string;
37
37
  partOf: string;
38
- items: any[];
38
+ items?: any;
39
39
  }>;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  id: string;
@@ -44,7 +44,7 @@ export declare const Undo: z.ZodObject<{
44
44
  type: "CollectionPage";
45
45
  next: string;
46
46
  partOf: string;
47
- items: any[];
47
+ items?: any;
48
48
  };
49
49
  }, {
50
50
  id: string;
@@ -53,23 +53,23 @@ export declare const Undo: z.ZodObject<{
53
53
  type: "CollectionPage";
54
54
  next: string;
55
55
  partOf: string;
56
- items: any[];
56
+ items?: any;
57
57
  };
58
58
  }>, z.ZodObject<{
59
59
  id: z.ZodString;
60
60
  type: z.ZodLiteral<"Collection">;
61
61
  totalItems: z.ZodNumber;
62
- items: z.ZodArray<z.ZodAny, "many">;
62
+ items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  id: string;
65
65
  type: "Collection";
66
- items: any[];
67
66
  totalItems: number;
67
+ items?: any;
68
68
  }, {
69
69
  id: string;
70
70
  type: "Collection";
71
- items: any[];
72
71
  totalItems: number;
72
+ items?: any;
73
73
  }>]>>>;
74
74
  attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
75
75
  type: z.ZodLiteral<"PropertyValue">;
@@ -329,13 +329,13 @@ export declare const Undo: z.ZodObject<{
329
329
  type: "CollectionPage";
330
330
  next: string;
331
331
  partOf: string;
332
- items: any[];
332
+ items?: any;
333
333
  };
334
334
  } | {
335
335
  id: string;
336
336
  type: "Collection";
337
- items: any[];
338
337
  totalItems: number;
338
+ items?: any;
339
339
  } | null | undefined;
340
340
  attachment?: {
341
341
  type: "Document";
@@ -420,13 +420,13 @@ export declare const Undo: z.ZodObject<{
420
420
  type: "CollectionPage";
421
421
  next: string;
422
422
  partOf: string;
423
- items: any[];
423
+ items?: any;
424
424
  };
425
425
  } | {
426
426
  id: string;
427
427
  type: "Collection";
428
- items: any[];
429
428
  totalItems: number;
429
+ items?: any;
430
430
  } | null | undefined;
431
431
  attachment?: {
432
432
  type: "Document";
@@ -513,13 +513,13 @@ export declare const Undo: z.ZodObject<{
513
513
  type: "CollectionPage";
514
514
  next: string;
515
515
  partOf: string;
516
- items: any[];
516
+ items?: any;
517
517
  };
518
518
  } | {
519
519
  id: string;
520
520
  type: "Collection";
521
- items: any[];
522
521
  totalItems: number;
522
+ items?: any;
523
523
  } | null | undefined;
524
524
  attachment?: {
525
525
  type: "Document";
@@ -609,13 +609,13 @@ export declare const Undo: z.ZodObject<{
609
609
  type: "CollectionPage";
610
610
  next: string;
611
611
  partOf: string;
612
- items: any[];
612
+ items?: any;
613
613
  };
614
614
  } | {
615
615
  id: string;
616
616
  type: "Collection";
617
- items: any[];
618
617
  totalItems: number;
618
+ items?: any;
619
619
  } | null | undefined;
620
620
  attachment?: {
621
621
  type: "Document";
@@ -727,13 +727,13 @@ export declare const Undo: z.ZodObject<{
727
727
  type: "CollectionPage";
728
728
  next: string;
729
729
  partOf: string;
730
- items: any[];
730
+ items?: any;
731
731
  };
732
732
  } | {
733
733
  id: string;
734
734
  type: "Collection";
735
- items: any[];
736
735
  totalItems: number;
736
+ items?: any;
737
737
  } | null | undefined;
738
738
  attachment?: {
739
739
  type: "Document";
@@ -833,13 +833,13 @@ export declare const Undo: z.ZodObject<{
833
833
  type: "CollectionPage";
834
834
  next: string;
835
835
  partOf: string;
836
- items: any[];
836
+ items?: any;
837
837
  };
838
838
  } | {
839
839
  id: string;
840
840
  type: "Collection";
841
- items: any[];
842
841
  totalItems: number;
842
+ items?: any;
843
843
  } | null | undefined;
844
844
  attachment?: {
845
845
  type: "Document";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llun/activities.schema",
3
- "version": "0.2.24",
3
+ "version": "0.2.26",
4
4
  "description": "Validate ActivityPub and Mastodon with Zod",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
package/src/collection.ts CHANGED
@@ -7,7 +7,7 @@ export const CollectionWithFirstPage = z.object({
7
7
  type: z.literal("CollectionPage"),
8
8
  next: z.string(),
9
9
  partOf: z.string(),
10
- items: z.array(z.any()),
10
+ items: z.union([z.any(), z.array(z.any())]),
11
11
  }),
12
12
  });
13
13
  export type CollectionWithFirstPage = z.infer<typeof CollectionWithFirstPage>;
@@ -16,7 +16,7 @@ export const CollectionWithItems = z.object({
16
16
  id: z.string(),
17
17
  type: z.literal("Collection"),
18
18
  totalItems: z.number(),
19
- items: z.array(z.any()),
19
+ items: z.union([z.any(), z.array(z.any())]),
20
20
  });
21
21
  export type CollectionWithItems = z.infer<typeof CollectionWithItems>;
22
22
 
@@ -19,9 +19,6 @@ const BaseAccount = z.object({
19
19
  url: z.string({
20
20
  description: "The location of the user's profile page",
21
21
  }),
22
- uri: z.string({
23
- description: "The location of the actor's profile page",
24
- }),
25
22
  display_name: z.string({
26
23
  description: "The profile's display name",
27
24
  }),