@llun/activities.schema 0.2.25 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/dist/cjs/collection.js +2 -2
- package/dist/cjs/image.js +1 -1
- package/dist/esm/collection.js +2 -2
- package/dist/esm/image.js +1 -1
- package/dist/types/collection.d.ts +16 -16
- package/dist/types/image.d.ts +3 -3
- package/dist/types/like.d.ts +34 -34
- package/dist/types/note/baseContent.d.ts +26 -26
- package/dist/types/note/emoji.d.ts +5 -5
- package/dist/types/note/tag.d.ts +5 -5
- package/dist/types/note.d.ts +26 -26
- package/dist/types/person.d.ts +10 -10
- package/dist/types/question.d.ts +26 -26
- package/dist/types/undo.d.ts +42 -42
- package/package.json +2 -2
- package/src/collection.ts +2 -2
- package/src/image.ts +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/dist/cjs/collection.js
CHANGED
|
@@ -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,
|
package/dist/cjs/image.js
CHANGED
package/dist/esm/collection.js
CHANGED
|
@@ -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,
|
package/dist/esm/image.js
CHANGED
|
@@ -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
|
|
14
|
+
items?: any;
|
|
15
15
|
}, {
|
|
16
16
|
type: "CollectionPage";
|
|
17
17
|
next: string;
|
|
18
18
|
partOf: string;
|
|
19
|
-
items
|
|
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
|
|
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
|
|
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
|
|
70
|
+
items?: any;
|
|
71
71
|
}, {
|
|
72
72
|
type: "CollectionPage";
|
|
73
73
|
next: string;
|
|
74
74
|
partOf: string;
|
|
75
|
-
items
|
|
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
|
|
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
|
|
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>;
|
package/dist/types/image.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const Image: z.ZodObject<{
|
|
3
3
|
type: z.ZodLiteral<"Image">;
|
|
4
|
-
mediaType: z.ZodString
|
|
4
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
url: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
type: "Image";
|
|
8
|
-
mediaType: string;
|
|
9
8
|
url: string;
|
|
9
|
+
mediaType?: string | null | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
type: "Image";
|
|
12
|
-
mediaType: string;
|
|
13
12
|
url: string;
|
|
13
|
+
mediaType?: string | null | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export type Image = z.infer<typeof Image>;
|
package/dist/types/like.d.ts
CHANGED
|
@@ -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
|
|
30
|
+
items?: any;
|
|
31
31
|
}, {
|
|
32
32
|
type: "CollectionPage";
|
|
33
33
|
next: string;
|
|
34
34
|
partOf: string;
|
|
35
|
-
items
|
|
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
|
|
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
|
|
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">;
|
|
@@ -165,16 +165,16 @@ export declare const Like: z.ZodObject<{
|
|
|
165
165
|
updated: z.ZodString;
|
|
166
166
|
icon: z.ZodObject<{
|
|
167
167
|
type: z.ZodLiteral<"Image">;
|
|
168
|
-
mediaType: z.ZodString
|
|
168
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
169
|
url: z.ZodString;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
171
|
type: "Image";
|
|
172
|
-
mediaType: string;
|
|
173
172
|
url: string;
|
|
173
|
+
mediaType?: string | null | undefined;
|
|
174
174
|
}, {
|
|
175
175
|
type: "Image";
|
|
176
|
-
mediaType: string;
|
|
177
176
|
url: string;
|
|
177
|
+
mediaType?: string | null | undefined;
|
|
178
178
|
}>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
180
|
type: "Emoji";
|
|
@@ -182,8 +182,8 @@ export declare const Like: z.ZodObject<{
|
|
|
182
182
|
updated: string;
|
|
183
183
|
icon: {
|
|
184
184
|
type: "Image";
|
|
185
|
-
mediaType: string;
|
|
186
185
|
url: string;
|
|
186
|
+
mediaType?: string | null | undefined;
|
|
187
187
|
};
|
|
188
188
|
}, {
|
|
189
189
|
type: "Emoji";
|
|
@@ -191,8 +191,8 @@ export declare const Like: z.ZodObject<{
|
|
|
191
191
|
updated: string;
|
|
192
192
|
icon: {
|
|
193
193
|
type: "Image";
|
|
194
|
-
mediaType: string;
|
|
195
194
|
url: string;
|
|
195
|
+
mediaType?: string | null | undefined;
|
|
196
196
|
};
|
|
197
197
|
}>, z.ZodObject<{
|
|
198
198
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -224,16 +224,16 @@ export declare const Like: z.ZodObject<{
|
|
|
224
224
|
updated: z.ZodString;
|
|
225
225
|
icon: z.ZodObject<{
|
|
226
226
|
type: z.ZodLiteral<"Image">;
|
|
227
|
-
mediaType: z.ZodString
|
|
227
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
228
|
url: z.ZodString;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
type: "Image";
|
|
231
|
-
mediaType: string;
|
|
232
231
|
url: string;
|
|
232
|
+
mediaType?: string | null | undefined;
|
|
233
233
|
}, {
|
|
234
234
|
type: "Image";
|
|
235
|
-
mediaType: string;
|
|
236
235
|
url: string;
|
|
236
|
+
mediaType?: string | null | undefined;
|
|
237
237
|
}>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
type: "Emoji";
|
|
@@ -241,8 +241,8 @@ export declare const Like: z.ZodObject<{
|
|
|
241
241
|
updated: string;
|
|
242
242
|
icon: {
|
|
243
243
|
type: "Image";
|
|
244
|
-
mediaType: string;
|
|
245
244
|
url: string;
|
|
245
|
+
mediaType?: string | null | undefined;
|
|
246
246
|
};
|
|
247
247
|
}, {
|
|
248
248
|
type: "Emoji";
|
|
@@ -250,8 +250,8 @@ export declare const Like: z.ZodObject<{
|
|
|
250
250
|
updated: string;
|
|
251
251
|
icon: {
|
|
252
252
|
type: "Image";
|
|
253
|
-
mediaType: string;
|
|
254
253
|
url: string;
|
|
254
|
+
mediaType?: string | null | undefined;
|
|
255
255
|
};
|
|
256
256
|
}>, z.ZodObject<{
|
|
257
257
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -283,8 +283,8 @@ export declare const Like: z.ZodObject<{
|
|
|
283
283
|
updated: string;
|
|
284
284
|
icon: {
|
|
285
285
|
type: "Image";
|
|
286
|
-
mediaType: string;
|
|
287
286
|
url: string;
|
|
287
|
+
mediaType?: string | null | undefined;
|
|
288
288
|
};
|
|
289
289
|
} | {
|
|
290
290
|
type: "Mention";
|
|
@@ -300,8 +300,8 @@ export declare const Like: z.ZodObject<{
|
|
|
300
300
|
updated: string;
|
|
301
301
|
icon: {
|
|
302
302
|
type: "Image";
|
|
303
|
-
mediaType: string;
|
|
304
303
|
url: string;
|
|
304
|
+
mediaType?: string | null | undefined;
|
|
305
305
|
};
|
|
306
306
|
} | {
|
|
307
307
|
type: "Mention";
|
|
@@ -326,13 +326,13 @@ export declare const Like: z.ZodObject<{
|
|
|
326
326
|
type: "CollectionPage";
|
|
327
327
|
next: string;
|
|
328
328
|
partOf: string;
|
|
329
|
-
items
|
|
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";
|
|
@@ -374,8 +374,8 @@ export declare const Like: z.ZodObject<{
|
|
|
374
374
|
updated: string;
|
|
375
375
|
icon: {
|
|
376
376
|
type: "Image";
|
|
377
|
-
mediaType: string;
|
|
378
377
|
url: string;
|
|
378
|
+
mediaType?: string | null | undefined;
|
|
379
379
|
};
|
|
380
380
|
} | {
|
|
381
381
|
type: "Mention";
|
|
@@ -391,8 +391,8 @@ export declare const Like: z.ZodObject<{
|
|
|
391
391
|
updated: string;
|
|
392
392
|
icon: {
|
|
393
393
|
type: "Image";
|
|
394
|
-
mediaType: string;
|
|
395
394
|
url: string;
|
|
395
|
+
mediaType?: string | null | undefined;
|
|
396
396
|
};
|
|
397
397
|
} | {
|
|
398
398
|
type: "Mention";
|
|
@@ -417,13 +417,13 @@ export declare const Like: z.ZodObject<{
|
|
|
417
417
|
type: "CollectionPage";
|
|
418
418
|
next: string;
|
|
419
419
|
partOf: string;
|
|
420
|
-
items
|
|
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";
|
|
@@ -467,8 +467,8 @@ export declare const Like: z.ZodObject<{
|
|
|
467
467
|
updated: string;
|
|
468
468
|
icon: {
|
|
469
469
|
type: "Image";
|
|
470
|
-
mediaType: string;
|
|
471
470
|
url: string;
|
|
471
|
+
mediaType?: string | null | undefined;
|
|
472
472
|
};
|
|
473
473
|
} | {
|
|
474
474
|
type: "Mention";
|
|
@@ -484,8 +484,8 @@ export declare const Like: z.ZodObject<{
|
|
|
484
484
|
updated: string;
|
|
485
485
|
icon: {
|
|
486
486
|
type: "Image";
|
|
487
|
-
mediaType: string;
|
|
488
487
|
url: string;
|
|
488
|
+
mediaType?: string | null | undefined;
|
|
489
489
|
};
|
|
490
490
|
} | {
|
|
491
491
|
type: "Mention";
|
|
@@ -510,13 +510,13 @@ export declare const Like: z.ZodObject<{
|
|
|
510
510
|
type: "CollectionPage";
|
|
511
511
|
next: string;
|
|
512
512
|
partOf: string;
|
|
513
|
-
items
|
|
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";
|
|
@@ -563,8 +563,8 @@ export declare const Like: z.ZodObject<{
|
|
|
563
563
|
updated: string;
|
|
564
564
|
icon: {
|
|
565
565
|
type: "Image";
|
|
566
|
-
mediaType: string;
|
|
567
566
|
url: string;
|
|
567
|
+
mediaType?: string | null | undefined;
|
|
568
568
|
};
|
|
569
569
|
} | {
|
|
570
570
|
type: "Mention";
|
|
@@ -580,8 +580,8 @@ export declare const Like: z.ZodObject<{
|
|
|
580
580
|
updated: string;
|
|
581
581
|
icon: {
|
|
582
582
|
type: "Image";
|
|
583
|
-
mediaType: string;
|
|
584
583
|
url: string;
|
|
584
|
+
mediaType?: string | null | undefined;
|
|
585
585
|
};
|
|
586
586
|
} | {
|
|
587
587
|
type: "Mention";
|
|
@@ -606,13 +606,13 @@ export declare const Like: z.ZodObject<{
|
|
|
606
606
|
type: "CollectionPage";
|
|
607
607
|
next: string;
|
|
608
608
|
partOf: string;
|
|
609
|
-
items
|
|
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";
|
|
@@ -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
|
|
25
|
+
items?: any;
|
|
26
26
|
}, {
|
|
27
27
|
type: "CollectionPage";
|
|
28
28
|
next: string;
|
|
29
29
|
partOf: string;
|
|
30
|
-
items
|
|
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
|
|
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
|
|
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">;
|
|
@@ -160,16 +160,16 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
160
160
|
updated: z.ZodString;
|
|
161
161
|
icon: z.ZodObject<{
|
|
162
162
|
type: z.ZodLiteral<"Image">;
|
|
163
|
-
mediaType: z.ZodString
|
|
163
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
164
|
url: z.ZodString;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
type: "Image";
|
|
167
|
-
mediaType: string;
|
|
168
167
|
url: string;
|
|
168
|
+
mediaType?: string | null | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
type: "Image";
|
|
171
|
-
mediaType: string;
|
|
172
171
|
url: string;
|
|
172
|
+
mediaType?: string | null | undefined;
|
|
173
173
|
}>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
175
|
type: "Emoji";
|
|
@@ -177,8 +177,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
177
177
|
updated: string;
|
|
178
178
|
icon: {
|
|
179
179
|
type: "Image";
|
|
180
|
-
mediaType: string;
|
|
181
180
|
url: string;
|
|
181
|
+
mediaType?: string | null | undefined;
|
|
182
182
|
};
|
|
183
183
|
}, {
|
|
184
184
|
type: "Emoji";
|
|
@@ -186,8 +186,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
186
186
|
updated: string;
|
|
187
187
|
icon: {
|
|
188
188
|
type: "Image";
|
|
189
|
-
mediaType: string;
|
|
190
189
|
url: string;
|
|
190
|
+
mediaType?: string | null | undefined;
|
|
191
191
|
};
|
|
192
192
|
}>, z.ZodObject<{
|
|
193
193
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -219,16 +219,16 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
219
219
|
updated: z.ZodString;
|
|
220
220
|
icon: z.ZodObject<{
|
|
221
221
|
type: z.ZodLiteral<"Image">;
|
|
222
|
-
mediaType: z.ZodString
|
|
222
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
223
|
url: z.ZodString;
|
|
224
224
|
}, "strip", z.ZodTypeAny, {
|
|
225
225
|
type: "Image";
|
|
226
|
-
mediaType: string;
|
|
227
226
|
url: string;
|
|
227
|
+
mediaType?: string | null | undefined;
|
|
228
228
|
}, {
|
|
229
229
|
type: "Image";
|
|
230
|
-
mediaType: string;
|
|
231
230
|
url: string;
|
|
231
|
+
mediaType?: string | null | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
type: "Emoji";
|
|
@@ -236,8 +236,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
236
236
|
updated: string;
|
|
237
237
|
icon: {
|
|
238
238
|
type: "Image";
|
|
239
|
-
mediaType: string;
|
|
240
239
|
url: string;
|
|
240
|
+
mediaType?: string | null | undefined;
|
|
241
241
|
};
|
|
242
242
|
}, {
|
|
243
243
|
type: "Emoji";
|
|
@@ -245,8 +245,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
245
245
|
updated: string;
|
|
246
246
|
icon: {
|
|
247
247
|
type: "Image";
|
|
248
|
-
mediaType: string;
|
|
249
248
|
url: string;
|
|
249
|
+
mediaType?: string | null | undefined;
|
|
250
250
|
};
|
|
251
251
|
}>, z.ZodObject<{
|
|
252
252
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -275,8 +275,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
275
275
|
updated: string;
|
|
276
276
|
icon: {
|
|
277
277
|
type: "Image";
|
|
278
|
-
mediaType: string;
|
|
279
278
|
url: string;
|
|
279
|
+
mediaType?: string | null | undefined;
|
|
280
280
|
};
|
|
281
281
|
} | {
|
|
282
282
|
type: "Mention";
|
|
@@ -292,8 +292,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
292
292
|
updated: string;
|
|
293
293
|
icon: {
|
|
294
294
|
type: "Image";
|
|
295
|
-
mediaType: string;
|
|
296
295
|
url: string;
|
|
296
|
+
mediaType?: string | null | undefined;
|
|
297
297
|
};
|
|
298
298
|
} | {
|
|
299
299
|
type: "Mention";
|
|
@@ -318,13 +318,13 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
318
318
|
type: "CollectionPage";
|
|
319
319
|
next: string;
|
|
320
320
|
partOf: string;
|
|
321
|
-
items
|
|
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";
|
|
@@ -365,8 +365,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
365
365
|
updated: string;
|
|
366
366
|
icon: {
|
|
367
367
|
type: "Image";
|
|
368
|
-
mediaType: string;
|
|
369
368
|
url: string;
|
|
369
|
+
mediaType?: string | null | undefined;
|
|
370
370
|
};
|
|
371
371
|
} | {
|
|
372
372
|
type: "Mention";
|
|
@@ -382,8 +382,8 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
382
382
|
updated: string;
|
|
383
383
|
icon: {
|
|
384
384
|
type: "Image";
|
|
385
|
-
mediaType: string;
|
|
386
385
|
url: string;
|
|
386
|
+
mediaType?: string | null | undefined;
|
|
387
387
|
};
|
|
388
388
|
} | {
|
|
389
389
|
type: "Mention";
|
|
@@ -408,13 +408,13 @@ export declare const BaseContent: z.ZodObject<{
|
|
|
408
408
|
type: "CollectionPage";
|
|
409
409
|
next: string;
|
|
410
410
|
partOf: string;
|
|
411
|
-
items
|
|
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";
|