@fredrika/mcp-mochi 1.0.6-beta.0 → 1.0.6-beta.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.
- package/dist/index.d.ts +41 -391
- package/dist/index.js +345 -529
- package/package.json +3 -4
- package/dist/common/version.d.ts +0 -1
- package/dist/common/version.js +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,144 +2,52 @@
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
declare const CreateCardRequestSchema: z.ZodObject<{
|
|
4
4
|
content: z.ZodString;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
deckId: z.ZodString;
|
|
6
|
+
templateId: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
7
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
8
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
10
10
|
value: z.ZodString;
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
value: string;
|
|
14
|
-
}, {
|
|
15
|
-
id: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}>>>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
content: string;
|
|
20
|
-
"deck-id": string;
|
|
21
|
-
"template-id": string | null;
|
|
22
|
-
"manual-tags"?: string[] | undefined;
|
|
23
|
-
fields?: Record<string, {
|
|
24
|
-
id: string;
|
|
25
|
-
value: string;
|
|
26
|
-
}> | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
content: string;
|
|
29
|
-
"deck-id": string;
|
|
30
|
-
"template-id"?: string | null | undefined;
|
|
31
|
-
"manual-tags"?: string[] | undefined;
|
|
32
|
-
fields?: Record<string, {
|
|
33
|
-
id: string;
|
|
34
|
-
value: string;
|
|
35
|
-
}> | undefined;
|
|
36
|
-
}>;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
37
13
|
declare const UpdateCardRequestSchema: z.ZodObject<{
|
|
38
14
|
content: z.ZodOptional<z.ZodString>;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
15
|
+
deckId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
trashed: z.ZodOptional<z.ZodBoolean>;
|
|
43
19
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
44
20
|
id: z.ZodString;
|
|
45
21
|
value: z.ZodString;
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
value: string;
|
|
49
|
-
}, {
|
|
50
|
-
id: string;
|
|
51
|
-
value: string;
|
|
52
|
-
}>>>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
content?: string | undefined;
|
|
55
|
-
"deck-id"?: string | undefined;
|
|
56
|
-
"template-id"?: string | undefined;
|
|
57
|
-
fields?: Record<string, {
|
|
58
|
-
id: string;
|
|
59
|
-
value: string;
|
|
60
|
-
}> | undefined;
|
|
61
|
-
"archived?"?: boolean | undefined;
|
|
62
|
-
"trashed?"?: string | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
content?: string | undefined;
|
|
65
|
-
"deck-id"?: string | undefined;
|
|
66
|
-
"template-id"?: string | undefined;
|
|
67
|
-
fields?: Record<string, {
|
|
68
|
-
id: string;
|
|
69
|
-
value: string;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
"archived?"?: boolean | undefined;
|
|
72
|
-
"trashed?"?: string | undefined;
|
|
73
|
-
}>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
74
24
|
declare const ListDecksParamsSchema: z.ZodObject<{
|
|
75
25
|
bookmark: z.ZodOptional<z.ZodString>;
|
|
76
|
-
},
|
|
77
|
-
bookmark?: string | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
bookmark?: string | undefined;
|
|
80
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
81
27
|
declare const ListCardsParamsSchema: z.ZodObject<{
|
|
82
|
-
|
|
28
|
+
deckId: z.ZodOptional<z.ZodString>;
|
|
83
29
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
84
30
|
bookmark: z.ZodOptional<z.ZodString>;
|
|
85
|
-
},
|
|
86
|
-
"deck-id"?: string | undefined;
|
|
87
|
-
bookmark?: string | undefined;
|
|
88
|
-
limit?: number | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
"deck-id"?: string | undefined;
|
|
91
|
-
bookmark?: string | undefined;
|
|
92
|
-
limit?: number | undefined;
|
|
93
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
94
32
|
declare const ListTemplatesParamsSchema: z.ZodObject<{
|
|
95
33
|
bookmark: z.ZodOptional<z.ZodString>;
|
|
96
|
-
},
|
|
97
|
-
bookmark?: string | undefined;
|
|
98
|
-
}, {
|
|
99
|
-
bookmark?: string | undefined;
|
|
100
|
-
}>;
|
|
34
|
+
}, z.core.$strip>;
|
|
101
35
|
declare const GetDueCardsParamsSchema: z.ZodObject<{
|
|
102
|
-
|
|
36
|
+
deckId: z.ZodOptional<z.ZodString>;
|
|
103
37
|
date: z.ZodOptional<z.ZodString>;
|
|
104
|
-
},
|
|
105
|
-
date?: string | undefined;
|
|
106
|
-
"deck-id"?: string | undefined;
|
|
107
|
-
}, {
|
|
108
|
-
date?: string | undefined;
|
|
109
|
-
"deck-id"?: string | undefined;
|
|
110
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
111
39
|
declare const CreateCardFromTemplateSchema: z.ZodObject<{
|
|
112
|
-
|
|
113
|
-
|
|
40
|
+
templateId: z.ZodString;
|
|
41
|
+
deckId: z.ZodString;
|
|
114
42
|
fields: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
115
|
-
|
|
116
|
-
},
|
|
117
|
-
"deck-id": string;
|
|
118
|
-
"template-id": string;
|
|
119
|
-
fields: Record<string, string>;
|
|
120
|
-
"manual-tags"?: string[] | undefined;
|
|
121
|
-
}, {
|
|
122
|
-
"deck-id": string;
|
|
123
|
-
"template-id": string;
|
|
124
|
-
fields: Record<string, string>;
|
|
125
|
-
"manual-tags"?: string[] | undefined;
|
|
126
|
-
}>;
|
|
43
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
127
45
|
declare const AddAttachmentSchema: z.ZodObject<{
|
|
128
|
-
|
|
46
|
+
cardId: z.ZodString;
|
|
129
47
|
data: z.ZodString;
|
|
130
48
|
filename: z.ZodString;
|
|
131
|
-
|
|
132
|
-
},
|
|
133
|
-
data: string;
|
|
134
|
-
filename: string;
|
|
135
|
-
"card-id": string;
|
|
136
|
-
"content-type"?: string | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
data: string;
|
|
139
|
-
filename: string;
|
|
140
|
-
"card-id": string;
|
|
141
|
-
"content-type"?: string | undefined;
|
|
142
|
-
}>;
|
|
49
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>;
|
|
143
51
|
type AddAttachmentRequest = z.infer<typeof AddAttachmentSchema>;
|
|
144
52
|
declare const TemplateSchema: z.ZodObject<{
|
|
145
53
|
id: z.ZodString;
|
|
@@ -154,61 +62,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
154
62
|
source: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
155
63
|
options: z.ZodOptional<z.ZodObject<{
|
|
156
64
|
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
161
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
162
|
-
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
name: string;
|
|
164
|
-
id: string;
|
|
165
|
-
pos: string;
|
|
166
|
-
type?: string | null | undefined;
|
|
167
|
-
source?: string | null | undefined;
|
|
168
|
-
options?: z.objectOutputType<{
|
|
169
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
170
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
name: string;
|
|
173
|
-
id: string;
|
|
174
|
-
pos: string;
|
|
175
|
-
type?: string | null | undefined;
|
|
176
|
-
source?: string | null | undefined;
|
|
177
|
-
options?: z.objectInputType<{
|
|
178
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
179
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
180
|
-
}>>;
|
|
181
|
-
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
name: string;
|
|
183
|
-
id: string;
|
|
184
|
-
content: string;
|
|
185
|
-
fields: Record<string, {
|
|
186
|
-
name: string;
|
|
187
|
-
id: string;
|
|
188
|
-
pos: string;
|
|
189
|
-
type?: string | null | undefined;
|
|
190
|
-
source?: string | null | undefined;
|
|
191
|
-
options?: z.objectOutputType<{
|
|
192
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
193
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
194
|
-
}>;
|
|
195
|
-
pos: string;
|
|
196
|
-
}, {
|
|
197
|
-
name: string;
|
|
198
|
-
id: string;
|
|
199
|
-
content: string;
|
|
200
|
-
fields: Record<string, {
|
|
201
|
-
name: string;
|
|
202
|
-
id: string;
|
|
203
|
-
pos: string;
|
|
204
|
-
type?: string | null | undefined;
|
|
205
|
-
source?: string | null | undefined;
|
|
206
|
-
options?: z.objectInputType<{
|
|
207
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
208
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
209
|
-
}>;
|
|
210
|
-
pos: string;
|
|
211
|
-
}>;
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
212
68
|
declare const ListTemplatesResponseSchema: z.ZodObject<{
|
|
213
69
|
bookmark: z.ZodString;
|
|
214
70
|
docs: z.ZodArray<z.ZodObject<{
|
|
@@ -224,98 +80,10 @@ declare const ListTemplatesResponseSchema: z.ZodObject<{
|
|
|
224
80
|
source: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
225
81
|
options: z.ZodOptional<z.ZodObject<{
|
|
226
82
|
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
227
|
-
},
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
232
|
-
}, "strip", z.ZodTypeAny, {
|
|
233
|
-
name: string;
|
|
234
|
-
id: string;
|
|
235
|
-
pos: string;
|
|
236
|
-
type?: string | null | undefined;
|
|
237
|
-
source?: string | null | undefined;
|
|
238
|
-
options?: z.objectOutputType<{
|
|
239
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
name: string;
|
|
243
|
-
id: string;
|
|
244
|
-
pos: string;
|
|
245
|
-
type?: string | null | undefined;
|
|
246
|
-
source?: string | null | undefined;
|
|
247
|
-
options?: z.objectInputType<{
|
|
248
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
249
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
250
|
-
}>>;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
name: string;
|
|
253
|
-
id: string;
|
|
254
|
-
content: string;
|
|
255
|
-
fields: Record<string, {
|
|
256
|
-
name: string;
|
|
257
|
-
id: string;
|
|
258
|
-
pos: string;
|
|
259
|
-
type?: string | null | undefined;
|
|
260
|
-
source?: string | null | undefined;
|
|
261
|
-
options?: z.objectOutputType<{
|
|
262
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
263
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
264
|
-
}>;
|
|
265
|
-
pos: string;
|
|
266
|
-
}, {
|
|
267
|
-
name: string;
|
|
268
|
-
id: string;
|
|
269
|
-
content: string;
|
|
270
|
-
fields: Record<string, {
|
|
271
|
-
name: string;
|
|
272
|
-
id: string;
|
|
273
|
-
pos: string;
|
|
274
|
-
type?: string | null | undefined;
|
|
275
|
-
source?: string | null | undefined;
|
|
276
|
-
options?: z.objectInputType<{
|
|
277
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
278
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
279
|
-
}>;
|
|
280
|
-
pos: string;
|
|
281
|
-
}>, "many">;
|
|
282
|
-
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
bookmark: string;
|
|
284
|
-
docs: {
|
|
285
|
-
name: string;
|
|
286
|
-
id: string;
|
|
287
|
-
content: string;
|
|
288
|
-
fields: Record<string, {
|
|
289
|
-
name: string;
|
|
290
|
-
id: string;
|
|
291
|
-
pos: string;
|
|
292
|
-
type?: string | null | undefined;
|
|
293
|
-
source?: string | null | undefined;
|
|
294
|
-
options?: z.objectOutputType<{
|
|
295
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
296
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
297
|
-
}>;
|
|
298
|
-
pos: string;
|
|
299
|
-
}[];
|
|
300
|
-
}, {
|
|
301
|
-
bookmark: string;
|
|
302
|
-
docs: {
|
|
303
|
-
name: string;
|
|
304
|
-
id: string;
|
|
305
|
-
content: string;
|
|
306
|
-
fields: Record<string, {
|
|
307
|
-
name: string;
|
|
308
|
-
id: string;
|
|
309
|
-
pos: string;
|
|
310
|
-
type?: string | null | undefined;
|
|
311
|
-
source?: string | null | undefined;
|
|
312
|
-
options?: z.objectInputType<{
|
|
313
|
-
"multi-line?": z.ZodOptional<z.ZodBoolean>;
|
|
314
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
315
|
-
}>;
|
|
316
|
-
pos: string;
|
|
317
|
-
}[];
|
|
318
|
-
}>;
|
|
83
|
+
}, z.core.$loose>>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
319
87
|
type ListTemplatesParams = z.infer<typeof ListTemplatesParamsSchema>;
|
|
320
88
|
type ListTemplatesResponse = z.infer<typeof ListTemplatesResponseSchema>;
|
|
321
89
|
type ListCardsParams = z.infer<typeof ListCardsParamsSchema>;
|
|
@@ -326,71 +94,23 @@ type GetDueCardsParams = z.infer<typeof GetDueCardsParamsSchema>;
|
|
|
326
94
|
type CreateCardFromTemplateParams = z.infer<typeof CreateCardFromTemplateSchema>;
|
|
327
95
|
declare const CreateCardResponseSchema: z.ZodObject<{
|
|
328
96
|
id: z.ZodString;
|
|
329
|
-
tags: z.ZodArray<z.ZodString
|
|
97
|
+
tags: z.ZodArray<z.ZodString>;
|
|
330
98
|
content: z.ZodString;
|
|
331
99
|
name: z.ZodString;
|
|
332
100
|
"deck-id": z.ZodString;
|
|
333
101
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
334
|
-
},
|
|
335
|
-
name: string;
|
|
336
|
-
id: string;
|
|
337
|
-
content: string;
|
|
338
|
-
"deck-id": string;
|
|
339
|
-
tags: string[];
|
|
340
|
-
fields?: Record<string, unknown> | undefined;
|
|
341
|
-
}, {
|
|
342
|
-
name: string;
|
|
343
|
-
id: string;
|
|
344
|
-
content: string;
|
|
345
|
-
"deck-id": string;
|
|
346
|
-
tags: string[];
|
|
347
|
-
fields?: Record<string, unknown> | undefined;
|
|
348
|
-
}>;
|
|
102
|
+
}, z.core.$strip>;
|
|
349
103
|
declare const ListCardsResponseSchema: z.ZodObject<{
|
|
350
104
|
bookmark: z.ZodString;
|
|
351
105
|
docs: z.ZodArray<z.ZodObject<{
|
|
352
106
|
id: z.ZodString;
|
|
353
|
-
tags: z.ZodArray<z.ZodString
|
|
107
|
+
tags: z.ZodArray<z.ZodString>;
|
|
354
108
|
content: z.ZodString;
|
|
355
109
|
name: z.ZodString;
|
|
356
110
|
"deck-id": z.ZodString;
|
|
357
111
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
358
|
-
},
|
|
359
|
-
|
|
360
|
-
id: string;
|
|
361
|
-
content: string;
|
|
362
|
-
"deck-id": string;
|
|
363
|
-
tags: string[];
|
|
364
|
-
fields?: Record<string, unknown> | undefined;
|
|
365
|
-
}, {
|
|
366
|
-
name: string;
|
|
367
|
-
id: string;
|
|
368
|
-
content: string;
|
|
369
|
-
"deck-id": string;
|
|
370
|
-
tags: string[];
|
|
371
|
-
fields?: Record<string, unknown> | undefined;
|
|
372
|
-
}>, "many">;
|
|
373
|
-
}, "strip", z.ZodTypeAny, {
|
|
374
|
-
bookmark: string;
|
|
375
|
-
docs: {
|
|
376
|
-
name: string;
|
|
377
|
-
id: string;
|
|
378
|
-
content: string;
|
|
379
|
-
"deck-id": string;
|
|
380
|
-
tags: string[];
|
|
381
|
-
fields?: Record<string, unknown> | undefined;
|
|
382
|
-
}[];
|
|
383
|
-
}, {
|
|
384
|
-
bookmark: string;
|
|
385
|
-
docs: {
|
|
386
|
-
name: string;
|
|
387
|
-
id: string;
|
|
388
|
-
content: string;
|
|
389
|
-
"deck-id": string;
|
|
390
|
-
tags: string[];
|
|
391
|
-
fields?: Record<string, unknown> | undefined;
|
|
392
|
-
}[];
|
|
393
|
-
}>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
}, z.core.$strip>;
|
|
394
114
|
type CreateCardResponse = z.infer<typeof CreateCardResponseSchema>;
|
|
395
115
|
type ListDecksResponse = z.infer<typeof ListDecksResponseSchema>["docs"];
|
|
396
116
|
type ListCardsResponse = z.infer<typeof ListCardsResponseSchema>;
|
|
@@ -403,51 +123,9 @@ declare const ListDecksResponseSchema: z.ZodObject<{
|
|
|
403
123
|
"archived?": z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
404
124
|
"trashed?": z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
405
125
|
date: z.ZodString;
|
|
406
|
-
},
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
date: string;
|
|
410
|
-
}>>>;
|
|
411
|
-
}, "strip", z.ZodTypeAny, {
|
|
412
|
-
sort: number;
|
|
413
|
-
name: string;
|
|
414
|
-
id: string;
|
|
415
|
-
"archived?"?: boolean | null | undefined;
|
|
416
|
-
"trashed?"?: {
|
|
417
|
-
date: string;
|
|
418
|
-
} | null | undefined;
|
|
419
|
-
}, {
|
|
420
|
-
sort: number;
|
|
421
|
-
name: string;
|
|
422
|
-
id: string;
|
|
423
|
-
"archived?"?: boolean | null | undefined;
|
|
424
|
-
"trashed?"?: {
|
|
425
|
-
date: string;
|
|
426
|
-
} | null | undefined;
|
|
427
|
-
}>, "many">;
|
|
428
|
-
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
bookmark: string;
|
|
430
|
-
docs: {
|
|
431
|
-
sort: number;
|
|
432
|
-
name: string;
|
|
433
|
-
id: string;
|
|
434
|
-
"archived?"?: boolean | null | undefined;
|
|
435
|
-
"trashed?"?: {
|
|
436
|
-
date: string;
|
|
437
|
-
} | null | undefined;
|
|
438
|
-
}[];
|
|
439
|
-
}, {
|
|
440
|
-
bookmark: string;
|
|
441
|
-
docs: {
|
|
442
|
-
sort: number;
|
|
443
|
-
name: string;
|
|
444
|
-
id: string;
|
|
445
|
-
"archived?"?: boolean | null | undefined;
|
|
446
|
-
"trashed?"?: {
|
|
447
|
-
date: string;
|
|
448
|
-
} | null | undefined;
|
|
449
|
-
}[];
|
|
450
|
-
}>;
|
|
126
|
+
}, z.core.$strip>>>;
|
|
127
|
+
}, z.core.$strip>>;
|
|
128
|
+
}, z.core.$strip>;
|
|
451
129
|
declare const GetDueCardsResponseSchema: z.ZodObject<{
|
|
452
130
|
cards: z.ZodArray<z.ZodObject<{
|
|
453
131
|
id: z.ZodString;
|
|
@@ -455,36 +133,8 @@ declare const GetDueCardsResponseSchema: z.ZodObject<{
|
|
|
455
133
|
name: z.ZodString;
|
|
456
134
|
"deck-id": z.ZodString;
|
|
457
135
|
"new?": z.ZodBoolean;
|
|
458
|
-
},
|
|
459
|
-
|
|
460
|
-
content: z.ZodString;
|
|
461
|
-
name: z.ZodString;
|
|
462
|
-
"deck-id": z.ZodString;
|
|
463
|
-
"new?": z.ZodBoolean;
|
|
464
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
465
|
-
id: z.ZodString;
|
|
466
|
-
content: z.ZodString;
|
|
467
|
-
name: z.ZodString;
|
|
468
|
-
"deck-id": z.ZodString;
|
|
469
|
-
"new?": z.ZodBoolean;
|
|
470
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
471
|
-
}, "strip", z.ZodTypeAny, {
|
|
472
|
-
cards: z.objectOutputType<{
|
|
473
|
-
id: z.ZodString;
|
|
474
|
-
content: z.ZodString;
|
|
475
|
-
name: z.ZodString;
|
|
476
|
-
"deck-id": z.ZodString;
|
|
477
|
-
"new?": z.ZodBoolean;
|
|
478
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
479
|
-
}, {
|
|
480
|
-
cards: z.objectInputType<{
|
|
481
|
-
id: z.ZodString;
|
|
482
|
-
content: z.ZodString;
|
|
483
|
-
name: z.ZodString;
|
|
484
|
-
"deck-id": z.ZodString;
|
|
485
|
-
"new?": z.ZodBoolean;
|
|
486
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
487
|
-
}>;
|
|
136
|
+
}, z.core.$loose>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
488
138
|
export declare class MochiClient {
|
|
489
139
|
private api;
|
|
490
140
|
private token;
|