@llun/activities.schema 0.2.34 → 0.3.1

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.
Files changed (109) hide show
  1. package/.claude/settings.local.json +22 -0
  2. package/.yarn/install-state.gz +0 -0
  3. package/dist/cjs/announce.js +1 -1
  4. package/dist/cjs/mastodon/account/field.js +4 -9
  5. package/dist/cjs/mastodon/account/source.js +4 -12
  6. package/dist/cjs/mastodon/account.js +27 -66
  7. package/dist/cjs/mastodon/customEmoji.js +6 -15
  8. package/dist/cjs/mastodon/filter/index.js +4 -7
  9. package/dist/cjs/mastodon/filter/keyword.js +3 -5
  10. package/dist/cjs/mastodon/filter/status.js +2 -4
  11. package/dist/cjs/mastodon/mediaAttachment/base.js +10 -18
  12. package/dist/cjs/mastodon/mediaAttachment/gifv.js +2 -6
  13. package/dist/cjs/mastodon/mediaAttachment/video.js +2 -6
  14. package/dist/cjs/mastodon/poll/index.js +9 -11
  15. package/dist/cjs/mastodon/poll/option.js +3 -4
  16. package/dist/cjs/mastodon/previewCard.js +15 -28
  17. package/dist/cjs/mastodon/status/application.js +3 -6
  18. package/dist/cjs/mastodon/status/base.js +31 -54
  19. package/dist/cjs/mastodon/status/mention.js +4 -8
  20. package/dist/cjs/mastodon/status/tag.js +2 -6
  21. package/dist/cjs/note/baseContent.js +11 -12
  22. package/dist/cjs/question.js +1 -1
  23. package/dist/esm/announce.js +1 -1
  24. package/dist/esm/mastodon/account/field.js +4 -9
  25. package/dist/esm/mastodon/account/source.js +4 -12
  26. package/dist/esm/mastodon/account.js +27 -66
  27. package/dist/esm/mastodon/customEmoji.js +6 -15
  28. package/dist/esm/mastodon/filter/index.js +4 -7
  29. package/dist/esm/mastodon/filter/keyword.js +3 -5
  30. package/dist/esm/mastodon/filter/status.js +2 -4
  31. package/dist/esm/mastodon/mediaAttachment/base.js +10 -18
  32. package/dist/esm/mastodon/mediaAttachment/gifv.js +2 -6
  33. package/dist/esm/mastodon/mediaAttachment/video.js +2 -6
  34. package/dist/esm/mastodon/poll/index.js +9 -11
  35. package/dist/esm/mastodon/poll/option.js +3 -4
  36. package/dist/esm/mastodon/previewCard.js +15 -28
  37. package/dist/esm/mastodon/status/application.js +3 -6
  38. package/dist/esm/mastodon/status/base.js +31 -54
  39. package/dist/esm/mastodon/status/mention.js +4 -8
  40. package/dist/esm/mastodon/status/tag.js +2 -6
  41. package/dist/esm/note/baseContent.js +11 -12
  42. package/dist/esm/question.js +1 -1
  43. package/dist/types/accept.d.ts +2 -32
  44. package/dist/types/actor.d.ts +18 -288
  45. package/dist/types/announce.d.ts +3 -19
  46. package/dist/types/collection.d.ts +11 -87
  47. package/dist/types/follow.d.ts +1 -11
  48. package/dist/types/image.d.ts +1 -9
  49. package/dist/types/like.d.ts +27 -576
  50. package/dist/types/mastodon/account/field.d.ts +1 -9
  51. package/dist/types/mastodon/account/relationship.d.ts +2 -34
  52. package/dist/types/mastodon/account/source.d.ts +8 -33
  53. package/dist/types/mastodon/account.d.ts +22 -397
  54. package/dist/types/mastodon/customEmoji.d.ts +1 -13
  55. package/dist/types/mastodon/filter/index.d.ts +14 -49
  56. package/dist/types/mastodon/filter/keyword.d.ts +1 -9
  57. package/dist/types/mastodon/filter/status.d.ts +1 -7
  58. package/dist/types/mastodon/filterResult.d.ts +17 -90
  59. package/dist/types/mastodon/mediaAttachment/audio.d.ts +3 -68
  60. package/dist/types/mastodon/mediaAttachment/base.d.ts +1 -15
  61. package/dist/types/mastodon/mediaAttachment/gifv.d.ts +4 -129
  62. package/dist/types/mastodon/mediaAttachment/image.d.ts +5 -118
  63. package/dist/types/mastodon/mediaAttachment/index.d.ts +35 -949
  64. package/dist/types/mastodon/mediaAttachment/unknown.d.ts +1 -18
  65. package/dist/types/mastodon/mediaAttachment/video.d.ts +4 -141
  66. package/dist/types/mastodon/poll/index.d.ts +4 -62
  67. package/dist/types/mastodon/poll/option.d.ts +1 -7
  68. package/dist/types/mastodon/previewCard.d.ts +7 -32
  69. package/dist/types/mastodon/status/application.d.ts +1 -7
  70. package/dist/types/mastodon/status/base.d.ts +79 -1722
  71. package/dist/types/mastodon/status/index.d.ts +158 -4073
  72. package/dist/types/mastodon/status/mention.d.ts +1 -11
  73. package/dist/types/mastodon/status/tag.d.ts +1 -7
  74. package/dist/types/mastodon/visibility.d.ts +6 -1
  75. package/dist/types/note/attachment.d.ts +3 -29
  76. package/dist/types/note/baseContent.d.ts +25 -379
  77. package/dist/types/note/document.d.ts +1 -19
  78. package/dist/types/note/emoji.d.ts +2 -28
  79. package/dist/types/note/hashtag.d.ts +1 -9
  80. package/dist/types/note/mention.d.ts +1 -9
  81. package/dist/types/note/propertyValue.d.ts +1 -9
  82. package/dist/types/note/tag.d.ts +5 -47
  83. package/dist/types/note.d.ts +25 -382
  84. package/dist/types/question/note.d.ts +2 -22
  85. package/dist/types/question.d.ts +27 -422
  86. package/dist/types/reject.d.ts +2 -32
  87. package/dist/types/tombstone.d.ts +1 -7
  88. package/dist/types/undo.d.ts +30 -801
  89. package/package.json +4 -4
  90. package/src/announce.ts +1 -1
  91. package/src/mastodon/account/field.ts +6 -10
  92. package/src/mastodon/account/source.ts +4 -12
  93. package/src/mastodon/account.ts +71 -78
  94. package/src/mastodon/customEmoji.ts +8 -16
  95. package/src/mastodon/filter/index.ts +6 -8
  96. package/src/mastodon/filter/keyword.ts +5 -6
  97. package/src/mastodon/filter/status.ts +2 -4
  98. package/src/mastodon/mediaAttachment/base.ts +16 -21
  99. package/src/mastodon/mediaAttachment/gifv.ts +2 -6
  100. package/src/mastodon/mediaAttachment/video.ts +2 -6
  101. package/src/mastodon/poll/index.ts +13 -13
  102. package/src/mastodon/poll/option.ts +5 -5
  103. package/src/mastodon/previewCard.ts +17 -29
  104. package/src/mastodon/status/application.ts +5 -7
  105. package/src/mastodon/status/base.ts +53 -65
  106. package/src/mastodon/status/mention.ts +6 -9
  107. package/src/mastodon/status/tag.ts +2 -6
  108. package/src/note/baseContent.ts +13 -13
  109. package/src/question.ts +1 -1
@@ -4,79 +4,33 @@ export declare const Question: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  attributedTo: z.ZodString;
7
- to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
8
- cc: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7
+ to: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
8
+ cc: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
9
9
  inReplyTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  summaryMap: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
12
- content: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
13
- contentMap: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>>;
14
- replies: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
12
+ content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
13
+ contentMap: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString>]>>>;
14
+ replies: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
15
15
  id: z.ZodString;
16
16
  type: z.ZodLiteral<"Collection">;
17
17
  first: z.ZodObject<{
18
18
  type: z.ZodLiteral<"CollectionPage">;
19
19
  next: z.ZodString;
20
20
  partOf: z.ZodString;
21
- items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
22
- }, "strip", z.ZodTypeAny, {
23
- type: "CollectionPage";
24
- next: string;
25
- partOf: string;
26
- items?: any;
27
- }, {
28
- type: "CollectionPage";
29
- next: string;
30
- partOf: string;
31
- items?: any;
32
- }>;
33
- }, "strip", z.ZodTypeAny, {
34
- id: string;
35
- type: "Collection";
36
- first: {
37
- type: "CollectionPage";
38
- next: string;
39
- partOf: string;
40
- items?: any;
41
- };
42
- }, {
43
- id: string;
44
- type: "Collection";
45
- first: {
46
- type: "CollectionPage";
47
- next: string;
48
- partOf: string;
49
- items?: any;
50
- };
51
- }>, z.ZodObject<{
21
+ items: z.ZodUnion<readonly [z.ZodAny, z.ZodArray<z.ZodAny>]>;
22
+ }, z.core.$strip>;
23
+ }, z.core.$strip>, z.ZodObject<{
52
24
  id: z.ZodString;
53
25
  type: z.ZodLiteral<"Collection">;
54
26
  totalItems: z.ZodNumber;
55
- items: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "many">]>;
56
- }, "strip", z.ZodTypeAny, {
57
- id: string;
58
- type: "Collection";
59
- totalItems: number;
60
- items?: any;
61
- }, {
62
- id: string;
63
- type: "Collection";
64
- totalItems: number;
65
- items?: any;
66
- }>]>>>;
67
- attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
27
+ items: z.ZodUnion<readonly [z.ZodAny, z.ZodArray<z.ZodAny>]>;
28
+ }, z.core.$strip>]>>>;
29
+ attachment: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
68
30
  type: z.ZodLiteral<"PropertyValue">;
69
31
  name: z.ZodString;
70
32
  value: z.ZodString;
71
- }, "strip", z.ZodTypeAny, {
72
- type: "PropertyValue";
73
- value: string;
74
- name: string;
75
- }, {
76
- type: "PropertyValue";
77
- value: string;
78
- name: string;
79
- }>, z.ZodObject<{
33
+ }, z.core.$strip>, z.ZodObject<{
80
34
  type: z.ZodLiteral<"Document">;
81
35
  mediaType: z.ZodString;
82
36
  url: z.ZodString;
@@ -85,37 +39,11 @@ export declare const Question: z.ZodObject<{
85
39
  height: z.ZodOptional<z.ZodNumber>;
86
40
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
87
41
  focalPoint: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
88
- }, "strip", z.ZodTypeAny, {
89
- type: "Document";
90
- mediaType: string;
91
- url: string;
92
- name?: string | null | undefined;
93
- blurhash?: string | undefined;
94
- width?: number | undefined;
95
- height?: number | undefined;
96
- focalPoint?: [number, number] | undefined;
97
- }, {
98
- type: "Document";
99
- mediaType: string;
100
- url: string;
101
- name?: string | null | undefined;
102
- blurhash?: string | undefined;
103
- width?: number | undefined;
104
- height?: number | undefined;
105
- focalPoint?: [number, number] | undefined;
106
- }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
42
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
107
43
  type: z.ZodLiteral<"PropertyValue">;
108
44
  name: z.ZodString;
109
45
  value: z.ZodString;
110
- }, "strip", z.ZodTypeAny, {
111
- type: "PropertyValue";
112
- value: string;
113
- name: string;
114
- }, {
115
- type: "PropertyValue";
116
- value: string;
117
- name: string;
118
- }>, z.ZodObject<{
46
+ }, z.core.$strip>, z.ZodObject<{
119
47
  type: z.ZodLiteral<"Document">;
120
48
  mediaType: z.ZodString;
121
49
  url: z.ZodString;
@@ -124,38 +52,12 @@ export declare const Question: z.ZodObject<{
124
52
  height: z.ZodOptional<z.ZodNumber>;
125
53
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
54
  focalPoint: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
127
- }, "strip", z.ZodTypeAny, {
128
- type: "Document";
129
- mediaType: string;
130
- url: string;
131
- name?: string | null | undefined;
132
- blurhash?: string | undefined;
133
- width?: number | undefined;
134
- height?: number | undefined;
135
- focalPoint?: [number, number] | undefined;
136
- }, {
137
- type: "Document";
138
- mediaType: string;
139
- url: string;
140
- name?: string | null | undefined;
141
- blurhash?: string | undefined;
142
- width?: number | undefined;
143
- height?: number | undefined;
144
- focalPoint?: [number, number] | undefined;
145
- }>]>, "many">]>>>;
146
- tag: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
55
+ }, z.core.$strip>]>>]>>>;
56
+ tag: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
147
57
  type: z.ZodLiteral<"Mention">;
148
58
  href: z.ZodString;
149
59
  name: z.ZodString;
150
- }, "strip", z.ZodTypeAny, {
151
- type: "Mention";
152
- name: string;
153
- href: string;
154
- }, {
155
- type: "Mention";
156
- name: string;
157
- href: string;
158
- }>, z.ZodObject<{
60
+ }, z.core.$strip>, z.ZodObject<{
159
61
  type: z.ZodLiteral<"Emoji">;
160
62
  name: z.ZodString;
161
63
  updated: z.ZodString;
@@ -163,58 +65,16 @@ export declare const Question: z.ZodObject<{
163
65
  type: z.ZodLiteral<"Image">;
164
66
  mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
67
  url: z.ZodString;
166
- }, "strip", z.ZodTypeAny, {
167
- type: "Image";
168
- url: string;
169
- mediaType?: string | null | undefined;
170
- }, {
171
- type: "Image";
172
- url: string;
173
- mediaType?: string | null | undefined;
174
- }>;
175
- }, "strip", z.ZodTypeAny, {
176
- type: "Emoji";
177
- name: string;
178
- icon: {
179
- type: "Image";
180
- url: string;
181
- mediaType?: string | null | undefined;
182
- };
183
- updated: string;
184
- }, {
185
- type: "Emoji";
186
- name: string;
187
- icon: {
188
- type: "Image";
189
- url: string;
190
- mediaType?: string | null | undefined;
191
- };
192
- updated: string;
193
- }>, z.ZodObject<{
68
+ }, z.core.$strip>;
69
+ }, z.core.$strip>, z.ZodObject<{
194
70
  type: z.ZodLiteral<"Hashtag">;
195
71
  href: z.ZodString;
196
72
  name: z.ZodString;
197
- }, "strip", z.ZodTypeAny, {
198
- type: "Hashtag";
199
- name: string;
200
- href: string;
201
- }, {
202
- type: "Hashtag";
203
- name: string;
204
- href: string;
205
- }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
73
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
206
74
  type: z.ZodLiteral<"Mention">;
207
75
  href: z.ZodString;
208
76
  name: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
210
- type: "Mention";
211
- name: string;
212
- href: string;
213
- }, {
214
- type: "Mention";
215
- name: string;
216
- href: string;
217
- }>, z.ZodObject<{
77
+ }, z.core.$strip>, z.ZodObject<{
218
78
  type: z.ZodLiteral<"Emoji">;
219
79
  name: z.ZodString;
220
80
  updated: z.ZodString;
@@ -222,49 +82,14 @@ export declare const Question: z.ZodObject<{
222
82
  type: z.ZodLiteral<"Image">;
223
83
  mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
84
  url: z.ZodString;
225
- }, "strip", z.ZodTypeAny, {
226
- type: "Image";
227
- url: string;
228
- mediaType?: string | null | undefined;
229
- }, {
230
- type: "Image";
231
- url: string;
232
- mediaType?: string | null | undefined;
233
- }>;
234
- }, "strip", z.ZodTypeAny, {
235
- type: "Emoji";
236
- name: string;
237
- icon: {
238
- type: "Image";
239
- url: string;
240
- mediaType?: string | null | undefined;
241
- };
242
- updated: string;
243
- }, {
244
- type: "Emoji";
245
- name: string;
246
- icon: {
247
- type: "Image";
248
- url: string;
249
- mediaType?: string | null | undefined;
250
- };
251
- updated: string;
252
- }>, z.ZodObject<{
85
+ }, z.core.$strip>;
86
+ }, z.core.$strip>, z.ZodObject<{
253
87
  type: z.ZodLiteral<"Hashtag">;
254
88
  href: z.ZodString;
255
89
  name: z.ZodString;
256
- }, "strip", z.ZodTypeAny, {
257
- type: "Hashtag";
258
- name: string;
259
- href: string;
260
- }, {
261
- type: "Hashtag";
262
- name: string;
263
- href: string;
264
- }>]>, "many">]>;
90
+ }, z.core.$strip>]>>]>;
265
91
  published: z.ZodString;
266
92
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
- } & {
268
93
  type: z.ZodLiteral<"Question">;
269
94
  endTime: z.ZodString;
270
95
  oneOf: z.ZodArray<z.ZodObject<{
@@ -273,227 +98,7 @@ export declare const Question: z.ZodObject<{
273
98
  replies: z.ZodObject<{
274
99
  type: z.ZodLiteral<"Collection">;
275
100
  totalItems: z.ZodNumber;
276
- }, "strip", z.ZodTypeAny, {
277
- type: "Collection";
278
- totalItems: number;
279
- }, {
280
- type: "Collection";
281
- totalItems: number;
282
- }>;
283
- }, "strip", z.ZodTypeAny, {
284
- type: "Note";
285
- name: string;
286
- replies: {
287
- type: "Collection";
288
- totalItems: number;
289
- };
290
- }, {
291
- type: "Note";
292
- name: string;
293
- replies: {
294
- type: "Collection";
295
- totalItems: number;
296
- };
297
- }>, "many">;
298
- }, "strip", z.ZodTypeAny, {
299
- id: string;
300
- type: "Question";
301
- published: string;
302
- to: string | string[];
303
- cc: string | string[];
304
- attributedTo: string;
305
- tag: {
306
- type: "Emoji";
307
- name: string;
308
- icon: {
309
- type: "Image";
310
- url: string;
311
- mediaType?: string | null | undefined;
312
- };
313
- updated: string;
314
- } | {
315
- type: "Mention";
316
- name: string;
317
- href: string;
318
- } | {
319
- type: "Hashtag";
320
- name: string;
321
- href: string;
322
- } | ({
323
- type: "Emoji";
324
- name: string;
325
- icon: {
326
- type: "Image";
327
- url: string;
328
- mediaType?: string | null | undefined;
329
- };
330
- updated: string;
331
- } | {
332
- type: "Mention";
333
- name: string;
334
- href: string;
335
- } | {
336
- type: "Hashtag";
337
- name: string;
338
- href: string;
339
- })[];
340
- endTime: string;
341
- oneOf: {
342
- type: "Note";
343
- name: string;
344
- replies: {
345
- type: "Collection";
346
- totalItems: number;
347
- };
348
- }[];
349
- url?: string | null | undefined;
350
- summary?: string | null | undefined;
351
- updated?: string | null | undefined;
352
- inReplyTo?: string | null | undefined;
353
- summaryMap?: Record<string, string> | null | undefined;
354
- content?: string | string[] | null | undefined;
355
- contentMap?: string[] | Record<string, string> | null | undefined;
356
- replies?: {
357
- id: string;
358
- type: "Collection";
359
- first: {
360
- type: "CollectionPage";
361
- next: string;
362
- partOf: string;
363
- items?: any;
364
- };
365
- } | {
366
- id: string;
367
- type: "Collection";
368
- totalItems: number;
369
- items?: any;
370
- } | null | undefined;
371
- attachment?: {
372
- type: "Document";
373
- mediaType: string;
374
- url: string;
375
- name?: string | null | undefined;
376
- blurhash?: string | undefined;
377
- width?: number | undefined;
378
- height?: number | undefined;
379
- focalPoint?: [number, number] | undefined;
380
- } | {
381
- type: "PropertyValue";
382
- value: string;
383
- name: string;
384
- } | ({
385
- type: "Document";
386
- mediaType: string;
387
- url: string;
388
- name?: string | null | undefined;
389
- blurhash?: string | undefined;
390
- width?: number | undefined;
391
- height?: number | undefined;
392
- focalPoint?: [number, number] | undefined;
393
- } | {
394
- type: "PropertyValue";
395
- value: string;
396
- name: string;
397
- })[] | null | undefined;
398
- }, {
399
- id: string;
400
- type: "Question";
401
- published: string;
402
- to: string | string[];
403
- cc: string | string[];
404
- attributedTo: string;
405
- tag: {
406
- type: "Emoji";
407
- name: string;
408
- icon: {
409
- type: "Image";
410
- url: string;
411
- mediaType?: string | null | undefined;
412
- };
413
- updated: string;
414
- } | {
415
- type: "Mention";
416
- name: string;
417
- href: string;
418
- } | {
419
- type: "Hashtag";
420
- name: string;
421
- href: string;
422
- } | ({
423
- type: "Emoji";
424
- name: string;
425
- icon: {
426
- type: "Image";
427
- url: string;
428
- mediaType?: string | null | undefined;
429
- };
430
- updated: string;
431
- } | {
432
- type: "Mention";
433
- name: string;
434
- href: string;
435
- } | {
436
- type: "Hashtag";
437
- name: string;
438
- href: string;
439
- })[];
440
- endTime: string;
441
- oneOf: {
442
- type: "Note";
443
- name: string;
444
- replies: {
445
- type: "Collection";
446
- totalItems: number;
447
- };
448
- }[];
449
- url?: string | null | undefined;
450
- summary?: string | null | undefined;
451
- updated?: string | null | undefined;
452
- inReplyTo?: string | null | undefined;
453
- summaryMap?: Record<string, string> | null | undefined;
454
- content?: string | string[] | null | undefined;
455
- contentMap?: string[] | Record<string, string> | null | undefined;
456
- replies?: {
457
- id: string;
458
- type: "Collection";
459
- first: {
460
- type: "CollectionPage";
461
- next: string;
462
- partOf: string;
463
- items?: any;
464
- };
465
- } | {
466
- id: string;
467
- type: "Collection";
468
- totalItems: number;
469
- items?: any;
470
- } | null | undefined;
471
- attachment?: {
472
- type: "Document";
473
- mediaType: string;
474
- url: string;
475
- name?: string | null | undefined;
476
- blurhash?: string | undefined;
477
- width?: number | undefined;
478
- height?: number | undefined;
479
- focalPoint?: [number, number] | undefined;
480
- } | {
481
- type: "PropertyValue";
482
- value: string;
483
- name: string;
484
- } | ({
485
- type: "Document";
486
- mediaType: string;
487
- url: string;
488
- name?: string | null | undefined;
489
- blurhash?: string | undefined;
490
- width?: number | undefined;
491
- height?: number | undefined;
492
- focalPoint?: [number, number] | undefined;
493
- } | {
494
- type: "PropertyValue";
495
- value: string;
496
- name: string;
497
- })[] | null | undefined;
498
- }>;
101
+ }, z.core.$strip>;
102
+ }, z.core.$strip>>;
103
+ }, z.core.$strip>;
499
104
  export type Question = z.infer<typeof Question>;
@@ -8,36 +8,6 @@ export declare const Reject: z.ZodObject<{
8
8
  type: z.ZodLiteral<"Follow">;
9
9
  actor: z.ZodString;
10
10
  object: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- object: string;
13
- id: string;
14
- type: "Follow";
15
- actor: string;
16
- }, {
17
- object: string;
18
- id: string;
19
- type: "Follow";
20
- actor: string;
21
- }>;
22
- }, "strip", z.ZodTypeAny, {
23
- object: {
24
- object: string;
25
- id: string;
26
- type: "Follow";
27
- actor: string;
28
- };
29
- id: string;
30
- type: "Reject";
31
- actor: string;
32
- }, {
33
- object: {
34
- object: string;
35
- id: string;
36
- type: "Follow";
37
- actor: string;
38
- };
39
- id: string;
40
- type: "Reject";
41
- actor: string;
42
- }>;
11
+ }, z.core.$strip>;
12
+ }, z.core.$strip>;
43
13
  export type Reject = z.infer<typeof Reject>;
@@ -3,11 +3,5 @@ export declare const ENTITY_TYPE_TOMBSTONE = "Tombstone";
3
3
  export declare const Tombstone: z.ZodObject<{
4
4
  type: z.ZodLiteral<"Tombstone">;
5
5
  id: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- id: string;
8
- type: "Tombstone";
9
- }, {
10
- id: string;
11
- type: "Tombstone";
12
- }>;
6
+ }, z.core.$strip>;
13
7
  export type Tombstone = z.infer<typeof Tombstone>;