@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
|
@@ -5,16 +5,16 @@ export declare const Emoji: z.ZodObject<{
|
|
|
5
5
|
updated: z.ZodString;
|
|
6
6
|
icon: z.ZodObject<{
|
|
7
7
|
type: z.ZodLiteral<"Image">;
|
|
8
|
-
mediaType: z.ZodString
|
|
8
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
url: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
type: "Image";
|
|
12
|
-
mediaType: string;
|
|
13
12
|
url: string;
|
|
13
|
+
mediaType?: string | null | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
type: "Image";
|
|
16
|
-
mediaType: string;
|
|
17
16
|
url: string;
|
|
17
|
+
mediaType?: string | null | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
type: "Emoji";
|
|
@@ -22,8 +22,8 @@ export declare const Emoji: z.ZodObject<{
|
|
|
22
22
|
updated: string;
|
|
23
23
|
icon: {
|
|
24
24
|
type: "Image";
|
|
25
|
-
mediaType: string;
|
|
26
25
|
url: string;
|
|
26
|
+
mediaType?: string | null | undefined;
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
29
29
|
type: "Emoji";
|
|
@@ -31,8 +31,8 @@ export declare const Emoji: z.ZodObject<{
|
|
|
31
31
|
updated: string;
|
|
32
32
|
icon: {
|
|
33
33
|
type: "Image";
|
|
34
|
-
mediaType: string;
|
|
35
34
|
url: string;
|
|
35
|
+
mediaType?: string | null | undefined;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
38
|
export type Emoji = z.infer<typeof Emoji>;
|
package/dist/types/note/tag.d.ts
CHANGED
|
@@ -17,16 +17,16 @@ export declare const Tag: z.ZodUnion<[z.ZodObject<{
|
|
|
17
17
|
updated: z.ZodString;
|
|
18
18
|
icon: z.ZodObject<{
|
|
19
19
|
type: z.ZodLiteral<"Image">;
|
|
20
|
-
mediaType: z.ZodString
|
|
20
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
url: z.ZodString;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
type: "Image";
|
|
24
|
-
mediaType: string;
|
|
25
24
|
url: string;
|
|
25
|
+
mediaType?: string | null | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
type: "Image";
|
|
28
|
-
mediaType: string;
|
|
29
28
|
url: string;
|
|
29
|
+
mediaType?: string | null | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
type: "Emoji";
|
|
@@ -34,8 +34,8 @@ export declare const Tag: z.ZodUnion<[z.ZodObject<{
|
|
|
34
34
|
updated: string;
|
|
35
35
|
icon: {
|
|
36
36
|
type: "Image";
|
|
37
|
-
mediaType: string;
|
|
38
37
|
url: string;
|
|
38
|
+
mediaType?: string | null | undefined;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
41
41
|
type: "Emoji";
|
|
@@ -43,8 +43,8 @@ export declare const Tag: z.ZodUnion<[z.ZodObject<{
|
|
|
43
43
|
updated: string;
|
|
44
44
|
icon: {
|
|
45
45
|
type: "Image";
|
|
46
|
-
mediaType: string;
|
|
47
46
|
url: string;
|
|
47
|
+
mediaType?: string | null | undefined;
|
|
48
48
|
};
|
|
49
49
|
}>, z.ZodObject<{
|
|
50
50
|
type: z.ZodLiteral<"Hashtag">;
|
package/dist/types/note.d.ts
CHANGED
|
@@ -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
|
|
26
|
+
items?: any;
|
|
27
27
|
}, {
|
|
28
28
|
type: "CollectionPage";
|
|
29
29
|
next: string;
|
|
30
30
|
partOf: string;
|
|
31
|
-
items
|
|
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
|
|
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
|
|
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">;
|
|
@@ -161,16 +161,16 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
161
161
|
updated: z.ZodString;
|
|
162
162
|
icon: z.ZodObject<{
|
|
163
163
|
type: z.ZodLiteral<"Image">;
|
|
164
|
-
mediaType: z.ZodString
|
|
164
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
165
|
url: z.ZodString;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
type: "Image";
|
|
168
|
-
mediaType: string;
|
|
169
168
|
url: string;
|
|
169
|
+
mediaType?: string | null | undefined;
|
|
170
170
|
}, {
|
|
171
171
|
type: "Image";
|
|
172
|
-
mediaType: string;
|
|
173
172
|
url: string;
|
|
173
|
+
mediaType?: string | null | undefined;
|
|
174
174
|
}>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
176
|
type: "Emoji";
|
|
@@ -178,8 +178,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
178
178
|
updated: string;
|
|
179
179
|
icon: {
|
|
180
180
|
type: "Image";
|
|
181
|
-
mediaType: string;
|
|
182
181
|
url: string;
|
|
182
|
+
mediaType?: string | null | undefined;
|
|
183
183
|
};
|
|
184
184
|
}, {
|
|
185
185
|
type: "Emoji";
|
|
@@ -187,8 +187,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
187
187
|
updated: string;
|
|
188
188
|
icon: {
|
|
189
189
|
type: "Image";
|
|
190
|
-
mediaType: string;
|
|
191
190
|
url: string;
|
|
191
|
+
mediaType?: string | null | undefined;
|
|
192
192
|
};
|
|
193
193
|
}>, z.ZodObject<{
|
|
194
194
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -220,16 +220,16 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
220
220
|
updated: z.ZodString;
|
|
221
221
|
icon: z.ZodObject<{
|
|
222
222
|
type: z.ZodLiteral<"Image">;
|
|
223
|
-
mediaType: z.ZodString
|
|
223
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
224
224
|
url: z.ZodString;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
type: "Image";
|
|
227
|
-
mediaType: string;
|
|
228
227
|
url: string;
|
|
228
|
+
mediaType?: string | null | undefined;
|
|
229
229
|
}, {
|
|
230
230
|
type: "Image";
|
|
231
|
-
mediaType: string;
|
|
232
231
|
url: string;
|
|
232
|
+
mediaType?: string | null | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
235
|
type: "Emoji";
|
|
@@ -237,8 +237,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
237
237
|
updated: string;
|
|
238
238
|
icon: {
|
|
239
239
|
type: "Image";
|
|
240
|
-
mediaType: string;
|
|
241
240
|
url: string;
|
|
241
|
+
mediaType?: string | null | undefined;
|
|
242
242
|
};
|
|
243
243
|
}, {
|
|
244
244
|
type: "Emoji";
|
|
@@ -246,8 +246,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
246
246
|
updated: string;
|
|
247
247
|
icon: {
|
|
248
248
|
type: "Image";
|
|
249
|
-
mediaType: string;
|
|
250
249
|
url: string;
|
|
250
|
+
mediaType?: string | null | undefined;
|
|
251
251
|
};
|
|
252
252
|
}>, z.ZodObject<{
|
|
253
253
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -279,8 +279,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
279
279
|
updated: string;
|
|
280
280
|
icon: {
|
|
281
281
|
type: "Image";
|
|
282
|
-
mediaType: string;
|
|
283
282
|
url: string;
|
|
283
|
+
mediaType?: string | null | undefined;
|
|
284
284
|
};
|
|
285
285
|
} | {
|
|
286
286
|
type: "Mention";
|
|
@@ -296,8 +296,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
296
296
|
updated: string;
|
|
297
297
|
icon: {
|
|
298
298
|
type: "Image";
|
|
299
|
-
mediaType: string;
|
|
300
299
|
url: string;
|
|
300
|
+
mediaType?: string | null | undefined;
|
|
301
301
|
};
|
|
302
302
|
} | {
|
|
303
303
|
type: "Mention";
|
|
@@ -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
|
|
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";
|
|
@@ -370,8 +370,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
370
370
|
updated: string;
|
|
371
371
|
icon: {
|
|
372
372
|
type: "Image";
|
|
373
|
-
mediaType: string;
|
|
374
373
|
url: string;
|
|
374
|
+
mediaType?: string | null | undefined;
|
|
375
375
|
};
|
|
376
376
|
} | {
|
|
377
377
|
type: "Mention";
|
|
@@ -387,8 +387,8 @@ export declare const Note: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
387
387
|
updated: string;
|
|
388
388
|
icon: {
|
|
389
389
|
type: "Image";
|
|
390
|
-
mediaType: string;
|
|
391
390
|
url: string;
|
|
391
|
+
mediaType?: string | null | undefined;
|
|
392
392
|
};
|
|
393
393
|
} | {
|
|
394
394
|
type: "Mention";
|
|
@@ -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
|
|
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";
|
package/dist/types/person.d.ts
CHANGED
|
@@ -33,29 +33,29 @@ export declare const Person: z.ZodObject<{
|
|
|
33
33
|
}>>;
|
|
34
34
|
icon: z.ZodOptional<z.ZodObject<{
|
|
35
35
|
type: z.ZodLiteral<"Image">;
|
|
36
|
-
mediaType: z.ZodString
|
|
36
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
url: z.ZodString;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
type: "Image";
|
|
40
|
-
mediaType: string;
|
|
41
40
|
url: string;
|
|
41
|
+
mediaType?: string | null | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
type: "Image";
|
|
44
|
-
mediaType: string;
|
|
45
44
|
url: string;
|
|
45
|
+
mediaType?: string | null | undefined;
|
|
46
46
|
}>>;
|
|
47
47
|
image: z.ZodOptional<z.ZodObject<{
|
|
48
48
|
type: z.ZodLiteral<"Image">;
|
|
49
|
-
mediaType: z.ZodString
|
|
49
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
url: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
type: "Image";
|
|
53
|
-
mediaType: string;
|
|
54
53
|
url: string;
|
|
54
|
+
mediaType?: string | null | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
type: "Image";
|
|
57
|
-
mediaType: string;
|
|
58
57
|
url: string;
|
|
58
|
+
mediaType?: string | null | undefined;
|
|
59
59
|
}>>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
61
|
id: string;
|
|
@@ -76,16 +76,16 @@ export declare const Person: z.ZodObject<{
|
|
|
76
76
|
};
|
|
77
77
|
icon?: {
|
|
78
78
|
type: "Image";
|
|
79
|
-
mediaType: string;
|
|
80
79
|
url: string;
|
|
80
|
+
mediaType?: string | null | undefined;
|
|
81
81
|
} | undefined;
|
|
82
82
|
endpoints?: {
|
|
83
83
|
sharedInbox?: string | undefined;
|
|
84
84
|
} | undefined;
|
|
85
85
|
image?: {
|
|
86
86
|
type: "Image";
|
|
87
|
-
mediaType: string;
|
|
88
87
|
url: string;
|
|
88
|
+
mediaType?: string | null | undefined;
|
|
89
89
|
} | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
id: string;
|
|
@@ -106,16 +106,16 @@ export declare const Person: z.ZodObject<{
|
|
|
106
106
|
};
|
|
107
107
|
icon?: {
|
|
108
108
|
type: "Image";
|
|
109
|
-
mediaType: string;
|
|
110
109
|
url: string;
|
|
110
|
+
mediaType?: string | null | undefined;
|
|
111
111
|
} | undefined;
|
|
112
112
|
endpoints?: {
|
|
113
113
|
sharedInbox?: string | undefined;
|
|
114
114
|
} | undefined;
|
|
115
115
|
image?: {
|
|
116
116
|
type: "Image";
|
|
117
|
-
mediaType: string;
|
|
118
117
|
url: string;
|
|
118
|
+
mediaType?: string | null | undefined;
|
|
119
119
|
} | undefined;
|
|
120
120
|
}>;
|
|
121
121
|
export type Person = z.infer<typeof Person>;
|
package/dist/types/question.d.ts
CHANGED
|
@@ -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
|
|
26
|
+
items?: any;
|
|
27
27
|
}, {
|
|
28
28
|
type: "CollectionPage";
|
|
29
29
|
next: string;
|
|
30
30
|
partOf: string;
|
|
31
|
-
items
|
|
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
|
|
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
|
|
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">;
|
|
@@ -161,16 +161,16 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
161
161
|
updated: z.ZodString;
|
|
162
162
|
icon: z.ZodObject<{
|
|
163
163
|
type: z.ZodLiteral<"Image">;
|
|
164
|
-
mediaType: z.ZodString
|
|
164
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
165
|
url: z.ZodString;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
type: "Image";
|
|
168
|
-
mediaType: string;
|
|
169
168
|
url: string;
|
|
169
|
+
mediaType?: string | null | undefined;
|
|
170
170
|
}, {
|
|
171
171
|
type: "Image";
|
|
172
|
-
mediaType: string;
|
|
173
172
|
url: string;
|
|
173
|
+
mediaType?: string | null | undefined;
|
|
174
174
|
}>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
176
|
type: "Emoji";
|
|
@@ -178,8 +178,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
178
178
|
updated: string;
|
|
179
179
|
icon: {
|
|
180
180
|
type: "Image";
|
|
181
|
-
mediaType: string;
|
|
182
181
|
url: string;
|
|
182
|
+
mediaType?: string | null | undefined;
|
|
183
183
|
};
|
|
184
184
|
}, {
|
|
185
185
|
type: "Emoji";
|
|
@@ -187,8 +187,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
187
187
|
updated: string;
|
|
188
188
|
icon: {
|
|
189
189
|
type: "Image";
|
|
190
|
-
mediaType: string;
|
|
191
190
|
url: string;
|
|
191
|
+
mediaType?: string | null | undefined;
|
|
192
192
|
};
|
|
193
193
|
}>, z.ZodObject<{
|
|
194
194
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -220,16 +220,16 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
220
220
|
updated: z.ZodString;
|
|
221
221
|
icon: z.ZodObject<{
|
|
222
222
|
type: z.ZodLiteral<"Image">;
|
|
223
|
-
mediaType: z.ZodString
|
|
223
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
224
224
|
url: z.ZodString;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
type: "Image";
|
|
227
|
-
mediaType: string;
|
|
228
227
|
url: string;
|
|
228
|
+
mediaType?: string | null | undefined;
|
|
229
229
|
}, {
|
|
230
230
|
type: "Image";
|
|
231
|
-
mediaType: string;
|
|
232
231
|
url: string;
|
|
232
|
+
mediaType?: string | null | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
235
|
type: "Emoji";
|
|
@@ -237,8 +237,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
237
237
|
updated: string;
|
|
238
238
|
icon: {
|
|
239
239
|
type: "Image";
|
|
240
|
-
mediaType: string;
|
|
241
240
|
url: string;
|
|
241
|
+
mediaType?: string | null | undefined;
|
|
242
242
|
};
|
|
243
243
|
}, {
|
|
244
244
|
type: "Emoji";
|
|
@@ -246,8 +246,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
246
246
|
updated: string;
|
|
247
247
|
icon: {
|
|
248
248
|
type: "Image";
|
|
249
|
-
mediaType: string;
|
|
250
249
|
url: string;
|
|
250
|
+
mediaType?: string | null | undefined;
|
|
251
251
|
};
|
|
252
252
|
}>, z.ZodObject<{
|
|
253
253
|
type: z.ZodLiteral<"Hashtag">;
|
|
@@ -308,8 +308,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
308
308
|
updated: string;
|
|
309
309
|
icon: {
|
|
310
310
|
type: "Image";
|
|
311
|
-
mediaType: string;
|
|
312
311
|
url: string;
|
|
312
|
+
mediaType?: string | null | undefined;
|
|
313
313
|
};
|
|
314
314
|
} | {
|
|
315
315
|
type: "Mention";
|
|
@@ -325,8 +325,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
325
325
|
updated: string;
|
|
326
326
|
icon: {
|
|
327
327
|
type: "Image";
|
|
328
|
-
mediaType: string;
|
|
329
328
|
url: string;
|
|
329
|
+
mediaType?: string | null | undefined;
|
|
330
330
|
};
|
|
331
331
|
} | {
|
|
332
332
|
type: "Mention";
|
|
@@ -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
|
|
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";
|
|
@@ -408,8 +408,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
408
408
|
updated: string;
|
|
409
409
|
icon: {
|
|
410
410
|
type: "Image";
|
|
411
|
-
mediaType: string;
|
|
412
411
|
url: string;
|
|
412
|
+
mediaType?: string | null | undefined;
|
|
413
413
|
};
|
|
414
414
|
} | {
|
|
415
415
|
type: "Mention";
|
|
@@ -425,8 +425,8 @@ export declare const Question: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
425
425
|
updated: string;
|
|
426
426
|
icon: {
|
|
427
427
|
type: "Image";
|
|
428
|
-
mediaType: string;
|
|
429
428
|
url: string;
|
|
429
|
+
mediaType?: string | null | undefined;
|
|
430
430
|
};
|
|
431
431
|
} | {
|
|
432
432
|
type: "Mention";
|
|
@@ -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
|
|
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";
|