@zlooks.cn/blog-shared 1.0.2 → 1.1.0

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.
@@ -0,0 +1,2429 @@
1
+ import { type MicroClient } from '@hile/micro-contract';
2
+ import { z } from 'zod';
3
+ export declare const blogResourceDocumentSchema: z.ZodJSONSchema;
4
+ export declare const blogPublicHomeInputSchema: z.ZodReadonly<z.ZodObject<{
5
+ page: z.ZodNumber;
6
+ pageSize: z.ZodNumber;
7
+ archiveMonthLimit: z.ZodNumber;
8
+ recentCommentLimit: z.ZodNumber;
9
+ }, z.core.$strict>>;
10
+ export declare const blogPublicHomeResponseSchema: z.ZodReadonly<z.ZodObject<{
11
+ posts: z.ZodReadonly<z.ZodObject<{
12
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
13
+ id: z.ZodUUID;
14
+ category: z.ZodReadonly<z.ZodObject<{
15
+ id: z.ZodUUID;
16
+ name: z.ZodString;
17
+ slug: z.ZodReadonly<z.ZodString>;
18
+ description: z.ZodNullable<z.ZodString>;
19
+ sortOrder: z.ZodNumber;
20
+ }, z.core.$strict>>;
21
+ title: z.ZodString;
22
+ slug: z.ZodReadonly<z.ZodString>;
23
+ summary: z.ZodNullable<z.ZodString>;
24
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
25
+ publishedAt: z.ZodISODateTime;
26
+ updatedAt: z.ZodISODateTime;
27
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
28
+ id: z.ZodUUID;
29
+ name: z.ZodString;
30
+ slug: z.ZodReadonly<z.ZodString>;
31
+ }, z.core.$strict>>>>;
32
+ }, z.core.$strict>>>>;
33
+ nextCursor: z.ZodNullable<z.ZodUUID>;
34
+ total: z.ZodNumber;
35
+ }, z.core.$strict>>;
36
+ latestPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
37
+ id: z.ZodUUID;
38
+ category: z.ZodReadonly<z.ZodObject<{
39
+ id: z.ZodUUID;
40
+ name: z.ZodString;
41
+ slug: z.ZodReadonly<z.ZodString>;
42
+ description: z.ZodNullable<z.ZodString>;
43
+ sortOrder: z.ZodNumber;
44
+ }, z.core.$strict>>;
45
+ title: z.ZodString;
46
+ slug: z.ZodReadonly<z.ZodString>;
47
+ summary: z.ZodNullable<z.ZodString>;
48
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
49
+ publishedAt: z.ZodISODateTime;
50
+ updatedAt: z.ZodISODateTime;
51
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
52
+ id: z.ZodUUID;
53
+ name: z.ZodString;
54
+ slug: z.ZodReadonly<z.ZodString>;
55
+ }, z.core.$strict>>>>;
56
+ }, z.core.$strict>>>>;
57
+ categories: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
58
+ id: z.ZodUUID;
59
+ name: z.ZodString;
60
+ slug: z.ZodReadonly<z.ZodString>;
61
+ description: z.ZodNullable<z.ZodString>;
62
+ sortOrder: z.ZodNumber;
63
+ postCount: z.ZodNumber;
64
+ }, z.core.$strict>>>>;
65
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
66
+ id: z.ZodUUID;
67
+ name: z.ZodString;
68
+ slug: z.ZodReadonly<z.ZodString>;
69
+ }, z.core.$strict>>>>;
70
+ navigationPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
71
+ id: z.ZodUUID;
72
+ title: z.ZodString;
73
+ slug: z.ZodReadonly<z.ZodString>;
74
+ summary: z.ZodString;
75
+ position: z.ZodNullable<z.ZodEnum<{
76
+ navigation: "navigation";
77
+ sidebar: "sidebar";
78
+ }>>;
79
+ sortOrder: z.ZodNumber;
80
+ publishedAt: z.ZodISODateTime;
81
+ updatedAt: z.ZodISODateTime;
82
+ }, z.core.$strict>>>>;
83
+ sidebarPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
84
+ id: z.ZodUUID;
85
+ title: z.ZodString;
86
+ slug: z.ZodReadonly<z.ZodString>;
87
+ summary: z.ZodString;
88
+ position: z.ZodNullable<z.ZodEnum<{
89
+ navigation: "navigation";
90
+ sidebar: "sidebar";
91
+ }>>;
92
+ sortOrder: z.ZodNumber;
93
+ publishedAt: z.ZodISODateTime;
94
+ updatedAt: z.ZodISODateTime;
95
+ }, z.core.$strict>>>>;
96
+ archive: z.ZodReadonly<z.ZodObject<{
97
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
98
+ id: z.ZodUUID;
99
+ category: z.ZodReadonly<z.ZodObject<{
100
+ id: z.ZodUUID;
101
+ name: z.ZodString;
102
+ slug: z.ZodReadonly<z.ZodString>;
103
+ description: z.ZodNullable<z.ZodString>;
104
+ sortOrder: z.ZodNumber;
105
+ }, z.core.$strict>>;
106
+ title: z.ZodString;
107
+ slug: z.ZodReadonly<z.ZodString>;
108
+ summary: z.ZodNullable<z.ZodString>;
109
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
110
+ publishedAt: z.ZodISODateTime;
111
+ updatedAt: z.ZodISODateTime;
112
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
113
+ id: z.ZodUUID;
114
+ name: z.ZodString;
115
+ slug: z.ZodReadonly<z.ZodString>;
116
+ }, z.core.$strict>>>>;
117
+ }, z.core.$strict>>>>;
118
+ months: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
119
+ year: z.ZodNumber;
120
+ month: z.ZodNumber;
121
+ count: z.ZodNumber;
122
+ }, z.core.$strict>>>>;
123
+ nextCursor: z.ZodNullable<z.ZodUUID>;
124
+ total: z.ZodNumber;
125
+ }, z.core.$strict>>;
126
+ recentComments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
127
+ comment: z.ZodReadonly<z.ZodObject<{
128
+ id: z.ZodUUID;
129
+ postId: z.ZodUUID;
130
+ user: z.ZodReadonly<z.ZodObject<{
131
+ id: z.ZodUUID;
132
+ displayName: z.ZodNullable<z.ZodString>;
133
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
134
+ homepage: z.ZodNullable<z.ZodURL>;
135
+ bio: z.ZodNullable<z.ZodString>;
136
+ }, z.core.$strict>>;
137
+ content: z.ZodString;
138
+ replyContent: z.ZodNullable<z.ZodString>;
139
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
140
+ createdAt: z.ZodISODateTime;
141
+ location: z.ZodNullable<z.ZodString>;
142
+ client: z.ZodNullable<z.ZodString>;
143
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
144
+ }, z.core.$strict>>;
145
+ post: z.ZodReadonly<z.ZodObject<{
146
+ id: z.ZodUUID;
147
+ title: z.ZodString;
148
+ slug: z.ZodReadonly<z.ZodString>;
149
+ }, z.core.$strict>>;
150
+ }, z.core.$strict>>>>;
151
+ }, z.core.$strict>>;
152
+ export type BlogPublicHomeInput = z.infer<typeof blogPublicHomeInputSchema>;
153
+ export type BlogPublicHomeResponse = z.infer<typeof blogPublicHomeResponseSchema>;
154
+ export declare const blogPublicPostPageInputSchema: z.ZodReadonly<z.ZodObject<{
155
+ slug: z.ZodReadonly<z.ZodString>;
156
+ commentLimit: z.ZodNumber;
157
+ relatedPostLimit: z.ZodNumber;
158
+ latestPostLimit: z.ZodNumber;
159
+ recentCommentLimit: z.ZodNumber;
160
+ }, z.core.$strict>>;
161
+ export declare const blogPublicPostPageResponseSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
162
+ found: z.ZodLiteral<false>;
163
+ navigationPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
164
+ id: z.ZodUUID;
165
+ title: z.ZodString;
166
+ slug: z.ZodReadonly<z.ZodString>;
167
+ summary: z.ZodString;
168
+ position: z.ZodNullable<z.ZodEnum<{
169
+ navigation: "navigation";
170
+ sidebar: "sidebar";
171
+ }>>;
172
+ sortOrder: z.ZodNumber;
173
+ publishedAt: z.ZodISODateTime;
174
+ updatedAt: z.ZodISODateTime;
175
+ }, z.core.$strict>>>>;
176
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
177
+ found: z.ZodLiteral<true>;
178
+ navigationPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
179
+ id: z.ZodUUID;
180
+ title: z.ZodString;
181
+ slug: z.ZodReadonly<z.ZodString>;
182
+ summary: z.ZodString;
183
+ position: z.ZodNullable<z.ZodEnum<{
184
+ navigation: "navigation";
185
+ sidebar: "sidebar";
186
+ }>>;
187
+ sortOrder: z.ZodNumber;
188
+ publishedAt: z.ZodISODateTime;
189
+ updatedAt: z.ZodISODateTime;
190
+ }, z.core.$strict>>>>;
191
+ post: z.ZodReadonly<z.ZodObject<{
192
+ id: z.ZodUUID;
193
+ category: z.ZodReadonly<z.ZodObject<{
194
+ id: z.ZodUUID;
195
+ name: z.ZodString;
196
+ slug: z.ZodReadonly<z.ZodString>;
197
+ description: z.ZodNullable<z.ZodString>;
198
+ sortOrder: z.ZodNumber;
199
+ }, z.core.$strict>>;
200
+ title: z.ZodString;
201
+ slug: z.ZodReadonly<z.ZodString>;
202
+ summary: z.ZodNullable<z.ZodString>;
203
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
204
+ publishedAt: z.ZodISODateTime;
205
+ updatedAt: z.ZodISODateTime;
206
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
207
+ id: z.ZodUUID;
208
+ name: z.ZodString;
209
+ slug: z.ZodReadonly<z.ZodString>;
210
+ }, z.core.$strict>>>>;
211
+ content: z.ZodString;
212
+ }, z.core.$strict>>;
213
+ engagement: z.ZodReadonly<z.ZodObject<{
214
+ viewCount: z.ZodNumber;
215
+ likeCount: z.ZodNumber;
216
+ viewerState: z.ZodEnum<{
217
+ anonymous: "anonymous";
218
+ liked: "liked";
219
+ "not-liked": "not-liked";
220
+ unavailable: "unavailable";
221
+ }>;
222
+ }, z.core.$strict>>;
223
+ comments: z.ZodReadonly<z.ZodObject<{
224
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
225
+ id: z.ZodUUID;
226
+ postId: z.ZodUUID;
227
+ user: z.ZodReadonly<z.ZodObject<{
228
+ id: z.ZodUUID;
229
+ displayName: z.ZodNullable<z.ZodString>;
230
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
231
+ homepage: z.ZodNullable<z.ZodURL>;
232
+ bio: z.ZodNullable<z.ZodString>;
233
+ }, z.core.$strict>>;
234
+ content: z.ZodString;
235
+ replyContent: z.ZodNullable<z.ZodString>;
236
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
237
+ createdAt: z.ZodISODateTime;
238
+ location: z.ZodNullable<z.ZodString>;
239
+ client: z.ZodNullable<z.ZodString>;
240
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
241
+ }, z.core.$strict>>>>;
242
+ nextCursor: z.ZodNullable<z.ZodUUID>;
243
+ }, z.core.$strict>>;
244
+ connections: z.ZodReadonly<z.ZodObject<{
245
+ previousPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
246
+ id: z.ZodUUID;
247
+ category: z.ZodReadonly<z.ZodObject<{
248
+ id: z.ZodUUID;
249
+ name: z.ZodString;
250
+ slug: z.ZodReadonly<z.ZodString>;
251
+ description: z.ZodNullable<z.ZodString>;
252
+ sortOrder: z.ZodNumber;
253
+ }, z.core.$strict>>;
254
+ title: z.ZodString;
255
+ slug: z.ZodReadonly<z.ZodString>;
256
+ summary: z.ZodNullable<z.ZodString>;
257
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
258
+ publishedAt: z.ZodISODateTime;
259
+ updatedAt: z.ZodISODateTime;
260
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
261
+ id: z.ZodUUID;
262
+ name: z.ZodString;
263
+ slug: z.ZodReadonly<z.ZodString>;
264
+ }, z.core.$strict>>>>;
265
+ }, z.core.$strict>>>;
266
+ nextPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
267
+ id: z.ZodUUID;
268
+ category: z.ZodReadonly<z.ZodObject<{
269
+ id: z.ZodUUID;
270
+ name: z.ZodString;
271
+ slug: z.ZodReadonly<z.ZodString>;
272
+ description: z.ZodNullable<z.ZodString>;
273
+ sortOrder: z.ZodNumber;
274
+ }, z.core.$strict>>;
275
+ title: z.ZodString;
276
+ slug: z.ZodReadonly<z.ZodString>;
277
+ summary: z.ZodNullable<z.ZodString>;
278
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
279
+ publishedAt: z.ZodISODateTime;
280
+ updatedAt: z.ZodISODateTime;
281
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
282
+ id: z.ZodUUID;
283
+ name: z.ZodString;
284
+ slug: z.ZodReadonly<z.ZodString>;
285
+ }, z.core.$strict>>>>;
286
+ }, z.core.$strict>>>;
287
+ relatedPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
288
+ id: z.ZodUUID;
289
+ category: z.ZodReadonly<z.ZodObject<{
290
+ id: z.ZodUUID;
291
+ name: z.ZodString;
292
+ slug: z.ZodReadonly<z.ZodString>;
293
+ description: z.ZodNullable<z.ZodString>;
294
+ sortOrder: z.ZodNumber;
295
+ }, z.core.$strict>>;
296
+ title: z.ZodString;
297
+ slug: z.ZodReadonly<z.ZodString>;
298
+ summary: z.ZodNullable<z.ZodString>;
299
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
300
+ publishedAt: z.ZodISODateTime;
301
+ updatedAt: z.ZodISODateTime;
302
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
303
+ id: z.ZodUUID;
304
+ name: z.ZodString;
305
+ slug: z.ZodReadonly<z.ZodString>;
306
+ }, z.core.$strict>>>>;
307
+ }, z.core.$strict>>>>;
308
+ }, z.core.$strict>>;
309
+ categories: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
310
+ id: z.ZodUUID;
311
+ name: z.ZodString;
312
+ slug: z.ZodReadonly<z.ZodString>;
313
+ description: z.ZodNullable<z.ZodString>;
314
+ sortOrder: z.ZodNumber;
315
+ postCount: z.ZodNumber;
316
+ }, z.core.$strict>>>>;
317
+ latestPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
318
+ id: z.ZodUUID;
319
+ category: z.ZodReadonly<z.ZodObject<{
320
+ id: z.ZodUUID;
321
+ name: z.ZodString;
322
+ slug: z.ZodReadonly<z.ZodString>;
323
+ description: z.ZodNullable<z.ZodString>;
324
+ sortOrder: z.ZodNumber;
325
+ }, z.core.$strict>>;
326
+ title: z.ZodString;
327
+ slug: z.ZodReadonly<z.ZodString>;
328
+ summary: z.ZodNullable<z.ZodString>;
329
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
330
+ publishedAt: z.ZodISODateTime;
331
+ updatedAt: z.ZodISODateTime;
332
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
333
+ id: z.ZodUUID;
334
+ name: z.ZodString;
335
+ slug: z.ZodReadonly<z.ZodString>;
336
+ }, z.core.$strict>>>>;
337
+ }, z.core.$strict>>>>;
338
+ recentComments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
339
+ comment: z.ZodReadonly<z.ZodObject<{
340
+ id: z.ZodUUID;
341
+ postId: z.ZodUUID;
342
+ user: z.ZodReadonly<z.ZodObject<{
343
+ id: z.ZodUUID;
344
+ displayName: z.ZodNullable<z.ZodString>;
345
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
346
+ homepage: z.ZodNullable<z.ZodURL>;
347
+ bio: z.ZodNullable<z.ZodString>;
348
+ }, z.core.$strict>>;
349
+ content: z.ZodString;
350
+ replyContent: z.ZodNullable<z.ZodString>;
351
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
352
+ createdAt: z.ZodISODateTime;
353
+ location: z.ZodNullable<z.ZodString>;
354
+ client: z.ZodNullable<z.ZodString>;
355
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
356
+ }, z.core.$strict>>;
357
+ post: z.ZodReadonly<z.ZodObject<{
358
+ id: z.ZodUUID;
359
+ title: z.ZodString;
360
+ slug: z.ZodReadonly<z.ZodString>;
361
+ }, z.core.$strict>>;
362
+ }, z.core.$strict>>>>;
363
+ }, z.core.$strict>>], "found">>;
364
+ export type BlogPublicPostPageInput = z.infer<typeof blogPublicPostPageInputSchema>;
365
+ export type BlogPublicPostPageResponse = z.infer<typeof blogPublicPostPageResponseSchema>;
366
+ export declare const blogListPostsMicroResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
367
+ outcome: z.ZodLiteral<"ok">;
368
+ data: z.ZodReadonly<z.ZodObject<{
369
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
370
+ id: z.ZodUUID;
371
+ category: z.ZodReadonly<z.ZodObject<{
372
+ id: z.ZodUUID;
373
+ name: z.ZodString;
374
+ slug: z.ZodReadonly<z.ZodString>;
375
+ description: z.ZodNullable<z.ZodString>;
376
+ sortOrder: z.ZodNumber;
377
+ }, z.core.$strict>>;
378
+ title: z.ZodString;
379
+ slug: z.ZodReadonly<z.ZodString>;
380
+ summary: z.ZodNullable<z.ZodString>;
381
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
382
+ publishedAt: z.ZodISODateTime;
383
+ updatedAt: z.ZodISODateTime;
384
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
385
+ id: z.ZodUUID;
386
+ name: z.ZodString;
387
+ slug: z.ZodReadonly<z.ZodString>;
388
+ }, z.core.$strict>>>>;
389
+ }, z.core.$strict>>>>;
390
+ nextCursor: z.ZodNullable<z.ZodUUID>;
391
+ total: z.ZodNumber;
392
+ }, z.core.$strict>>;
393
+ }, z.core.$strict>, z.ZodObject<{
394
+ outcome: z.ZodLiteral<"invalid-cursor">;
395
+ }, z.core.$strict>], "outcome">;
396
+ export declare const blogCreateCommentMicroResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
397
+ outcome: z.ZodLiteral<"ok">;
398
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
399
+ authenticated: z.ZodLiteral<false>;
400
+ }, z.core.$strict>, z.ZodObject<{
401
+ authenticated: z.ZodLiteral<true>;
402
+ comment: z.ZodReadonly<z.ZodObject<{
403
+ id: z.ZodUUID;
404
+ postId: z.ZodUUID;
405
+ user: z.ZodReadonly<z.ZodObject<{
406
+ id: z.ZodUUID;
407
+ displayName: z.ZodNullable<z.ZodString>;
408
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
409
+ homepage: z.ZodNullable<z.ZodURL>;
410
+ bio: z.ZodNullable<z.ZodString>;
411
+ }, z.core.$strict>>;
412
+ content: z.ZodString;
413
+ replyContent: z.ZodNullable<z.ZodString>;
414
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
415
+ createdAt: z.ZodISODateTime;
416
+ location: z.ZodNullable<z.ZodString>;
417
+ client: z.ZodNullable<z.ZodString>;
418
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
419
+ }, z.core.$strict>>;
420
+ }, z.core.$strict>], "authenticated">>;
421
+ }, z.core.$strict>, z.ZodObject<{
422
+ outcome: z.ZodLiteral<"conflict">;
423
+ }, z.core.$strict>], "outcome">;
424
+ export declare const blogSetPostLikedMicroResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
425
+ outcome: z.ZodLiteral<"ok">;
426
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
427
+ authenticated: z.ZodLiteral<false>;
428
+ }, z.core.$strict>, z.ZodObject<{
429
+ authenticated: z.ZodLiteral<true>;
430
+ result: z.ZodReadonly<z.ZodObject<{
431
+ liked: z.ZodBoolean;
432
+ likeCount: z.ZodNumber;
433
+ }, z.core.$strict>>;
434
+ }, z.core.$strict>], "authenticated">>;
435
+ }, z.core.$strict>, z.ZodObject<{
436
+ outcome: z.ZodLiteral<"conflict">;
437
+ }, z.core.$strict>], "outcome">;
438
+ export declare const blogMicroContract: Readonly<{
439
+ namespace: string;
440
+ operations: Readonly<{
441
+ readPublicHome: {
442
+ readonly path: "/public/home/read";
443
+ readonly input: z.ZodReadonly<z.ZodObject<{
444
+ page: z.ZodNumber;
445
+ pageSize: z.ZodNumber;
446
+ archiveMonthLimit: z.ZodNumber;
447
+ recentCommentLimit: z.ZodNumber;
448
+ }, z.core.$strict>>;
449
+ readonly output: z.ZodReadonly<z.ZodObject<{
450
+ posts: z.ZodReadonly<z.ZodObject<{
451
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
452
+ id: z.ZodUUID;
453
+ category: z.ZodReadonly<z.ZodObject<{
454
+ id: z.ZodUUID;
455
+ name: z.ZodString;
456
+ slug: z.ZodReadonly<z.ZodString>;
457
+ description: z.ZodNullable<z.ZodString>;
458
+ sortOrder: z.ZodNumber;
459
+ }, z.core.$strict>>;
460
+ title: z.ZodString;
461
+ slug: z.ZodReadonly<z.ZodString>;
462
+ summary: z.ZodNullable<z.ZodString>;
463
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
464
+ publishedAt: z.ZodISODateTime;
465
+ updatedAt: z.ZodISODateTime;
466
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
467
+ id: z.ZodUUID;
468
+ name: z.ZodString;
469
+ slug: z.ZodReadonly<z.ZodString>;
470
+ }, z.core.$strict>>>>;
471
+ }, z.core.$strict>>>>;
472
+ nextCursor: z.ZodNullable<z.ZodUUID>;
473
+ total: z.ZodNumber;
474
+ }, z.core.$strict>>;
475
+ latestPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
476
+ id: z.ZodUUID;
477
+ category: z.ZodReadonly<z.ZodObject<{
478
+ id: z.ZodUUID;
479
+ name: z.ZodString;
480
+ slug: z.ZodReadonly<z.ZodString>;
481
+ description: z.ZodNullable<z.ZodString>;
482
+ sortOrder: z.ZodNumber;
483
+ }, z.core.$strict>>;
484
+ title: z.ZodString;
485
+ slug: z.ZodReadonly<z.ZodString>;
486
+ summary: z.ZodNullable<z.ZodString>;
487
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
488
+ publishedAt: z.ZodISODateTime;
489
+ updatedAt: z.ZodISODateTime;
490
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
491
+ id: z.ZodUUID;
492
+ name: z.ZodString;
493
+ slug: z.ZodReadonly<z.ZodString>;
494
+ }, z.core.$strict>>>>;
495
+ }, z.core.$strict>>>>;
496
+ categories: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
497
+ id: z.ZodUUID;
498
+ name: z.ZodString;
499
+ slug: z.ZodReadonly<z.ZodString>;
500
+ description: z.ZodNullable<z.ZodString>;
501
+ sortOrder: z.ZodNumber;
502
+ postCount: z.ZodNumber;
503
+ }, z.core.$strict>>>>;
504
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
505
+ id: z.ZodUUID;
506
+ name: z.ZodString;
507
+ slug: z.ZodReadonly<z.ZodString>;
508
+ }, z.core.$strict>>>>;
509
+ navigationPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
510
+ id: z.ZodUUID;
511
+ title: z.ZodString;
512
+ slug: z.ZodReadonly<z.ZodString>;
513
+ summary: z.ZodString;
514
+ position: z.ZodNullable<z.ZodEnum<{
515
+ navigation: "navigation";
516
+ sidebar: "sidebar";
517
+ }>>;
518
+ sortOrder: z.ZodNumber;
519
+ publishedAt: z.ZodISODateTime;
520
+ updatedAt: z.ZodISODateTime;
521
+ }, z.core.$strict>>>>;
522
+ sidebarPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
523
+ id: z.ZodUUID;
524
+ title: z.ZodString;
525
+ slug: z.ZodReadonly<z.ZodString>;
526
+ summary: z.ZodString;
527
+ position: z.ZodNullable<z.ZodEnum<{
528
+ navigation: "navigation";
529
+ sidebar: "sidebar";
530
+ }>>;
531
+ sortOrder: z.ZodNumber;
532
+ publishedAt: z.ZodISODateTime;
533
+ updatedAt: z.ZodISODateTime;
534
+ }, z.core.$strict>>>>;
535
+ archive: z.ZodReadonly<z.ZodObject<{
536
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
537
+ id: z.ZodUUID;
538
+ category: z.ZodReadonly<z.ZodObject<{
539
+ id: z.ZodUUID;
540
+ name: z.ZodString;
541
+ slug: z.ZodReadonly<z.ZodString>;
542
+ description: z.ZodNullable<z.ZodString>;
543
+ sortOrder: z.ZodNumber;
544
+ }, z.core.$strict>>;
545
+ title: z.ZodString;
546
+ slug: z.ZodReadonly<z.ZodString>;
547
+ summary: z.ZodNullable<z.ZodString>;
548
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
549
+ publishedAt: z.ZodISODateTime;
550
+ updatedAt: z.ZodISODateTime;
551
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
552
+ id: z.ZodUUID;
553
+ name: z.ZodString;
554
+ slug: z.ZodReadonly<z.ZodString>;
555
+ }, z.core.$strict>>>>;
556
+ }, z.core.$strict>>>>;
557
+ months: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
558
+ year: z.ZodNumber;
559
+ month: z.ZodNumber;
560
+ count: z.ZodNumber;
561
+ }, z.core.$strict>>>>;
562
+ nextCursor: z.ZodNullable<z.ZodUUID>;
563
+ total: z.ZodNumber;
564
+ }, z.core.$strict>>;
565
+ recentComments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
566
+ comment: z.ZodReadonly<z.ZodObject<{
567
+ id: z.ZodUUID;
568
+ postId: z.ZodUUID;
569
+ user: z.ZodReadonly<z.ZodObject<{
570
+ id: z.ZodUUID;
571
+ displayName: z.ZodNullable<z.ZodString>;
572
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
573
+ homepage: z.ZodNullable<z.ZodURL>;
574
+ bio: z.ZodNullable<z.ZodString>;
575
+ }, z.core.$strict>>;
576
+ content: z.ZodString;
577
+ replyContent: z.ZodNullable<z.ZodString>;
578
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
579
+ createdAt: z.ZodISODateTime;
580
+ location: z.ZodNullable<z.ZodString>;
581
+ client: z.ZodNullable<z.ZodString>;
582
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
583
+ }, z.core.$strict>>;
584
+ post: z.ZodReadonly<z.ZodObject<{
585
+ id: z.ZodUUID;
586
+ title: z.ZodString;
587
+ slug: z.ZodReadonly<z.ZodString>;
588
+ }, z.core.$strict>>;
589
+ }, z.core.$strict>>>>;
590
+ }, z.core.$strict>>;
591
+ };
592
+ readPublicPostPage: {
593
+ readonly path: "/public/post-page/read";
594
+ readonly input: z.ZodReadonly<z.ZodObject<{
595
+ slug: z.ZodReadonly<z.ZodString>;
596
+ commentLimit: z.ZodNumber;
597
+ relatedPostLimit: z.ZodNumber;
598
+ latestPostLimit: z.ZodNumber;
599
+ recentCommentLimit: z.ZodNumber;
600
+ }, z.core.$strict>>;
601
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
602
+ found: z.ZodLiteral<false>;
603
+ navigationPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
604
+ id: z.ZodUUID;
605
+ title: z.ZodString;
606
+ slug: z.ZodReadonly<z.ZodString>;
607
+ summary: z.ZodString;
608
+ position: z.ZodNullable<z.ZodEnum<{
609
+ navigation: "navigation";
610
+ sidebar: "sidebar";
611
+ }>>;
612
+ sortOrder: z.ZodNumber;
613
+ publishedAt: z.ZodISODateTime;
614
+ updatedAt: z.ZodISODateTime;
615
+ }, z.core.$strict>>>>;
616
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
617
+ found: z.ZodLiteral<true>;
618
+ navigationPages: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
619
+ id: z.ZodUUID;
620
+ title: z.ZodString;
621
+ slug: z.ZodReadonly<z.ZodString>;
622
+ summary: z.ZodString;
623
+ position: z.ZodNullable<z.ZodEnum<{
624
+ navigation: "navigation";
625
+ sidebar: "sidebar";
626
+ }>>;
627
+ sortOrder: z.ZodNumber;
628
+ publishedAt: z.ZodISODateTime;
629
+ updatedAt: z.ZodISODateTime;
630
+ }, z.core.$strict>>>>;
631
+ post: z.ZodReadonly<z.ZodObject<{
632
+ id: z.ZodUUID;
633
+ category: z.ZodReadonly<z.ZodObject<{
634
+ id: z.ZodUUID;
635
+ name: z.ZodString;
636
+ slug: z.ZodReadonly<z.ZodString>;
637
+ description: z.ZodNullable<z.ZodString>;
638
+ sortOrder: z.ZodNumber;
639
+ }, z.core.$strict>>;
640
+ title: z.ZodString;
641
+ slug: z.ZodReadonly<z.ZodString>;
642
+ summary: z.ZodNullable<z.ZodString>;
643
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
644
+ publishedAt: z.ZodISODateTime;
645
+ updatedAt: z.ZodISODateTime;
646
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
647
+ id: z.ZodUUID;
648
+ name: z.ZodString;
649
+ slug: z.ZodReadonly<z.ZodString>;
650
+ }, z.core.$strict>>>>;
651
+ content: z.ZodString;
652
+ }, z.core.$strict>>;
653
+ engagement: z.ZodReadonly<z.ZodObject<{
654
+ viewCount: z.ZodNumber;
655
+ likeCount: z.ZodNumber;
656
+ viewerState: z.ZodEnum<{
657
+ anonymous: "anonymous";
658
+ liked: "liked";
659
+ "not-liked": "not-liked";
660
+ unavailable: "unavailable";
661
+ }>;
662
+ }, z.core.$strict>>;
663
+ comments: z.ZodReadonly<z.ZodObject<{
664
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
665
+ id: z.ZodUUID;
666
+ postId: z.ZodUUID;
667
+ user: z.ZodReadonly<z.ZodObject<{
668
+ id: z.ZodUUID;
669
+ displayName: z.ZodNullable<z.ZodString>;
670
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
671
+ homepage: z.ZodNullable<z.ZodURL>;
672
+ bio: z.ZodNullable<z.ZodString>;
673
+ }, z.core.$strict>>;
674
+ content: z.ZodString;
675
+ replyContent: z.ZodNullable<z.ZodString>;
676
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
677
+ createdAt: z.ZodISODateTime;
678
+ location: z.ZodNullable<z.ZodString>;
679
+ client: z.ZodNullable<z.ZodString>;
680
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
681
+ }, z.core.$strict>>>>;
682
+ nextCursor: z.ZodNullable<z.ZodUUID>;
683
+ }, z.core.$strict>>;
684
+ connections: z.ZodReadonly<z.ZodObject<{
685
+ previousPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
686
+ id: z.ZodUUID;
687
+ category: z.ZodReadonly<z.ZodObject<{
688
+ id: z.ZodUUID;
689
+ name: z.ZodString;
690
+ slug: z.ZodReadonly<z.ZodString>;
691
+ description: z.ZodNullable<z.ZodString>;
692
+ sortOrder: z.ZodNumber;
693
+ }, z.core.$strict>>;
694
+ title: z.ZodString;
695
+ slug: z.ZodReadonly<z.ZodString>;
696
+ summary: z.ZodNullable<z.ZodString>;
697
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
698
+ publishedAt: z.ZodISODateTime;
699
+ updatedAt: z.ZodISODateTime;
700
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
701
+ id: z.ZodUUID;
702
+ name: z.ZodString;
703
+ slug: z.ZodReadonly<z.ZodString>;
704
+ }, z.core.$strict>>>>;
705
+ }, z.core.$strict>>>;
706
+ nextPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
707
+ id: z.ZodUUID;
708
+ category: z.ZodReadonly<z.ZodObject<{
709
+ id: z.ZodUUID;
710
+ name: z.ZodString;
711
+ slug: z.ZodReadonly<z.ZodString>;
712
+ description: z.ZodNullable<z.ZodString>;
713
+ sortOrder: z.ZodNumber;
714
+ }, z.core.$strict>>;
715
+ title: z.ZodString;
716
+ slug: z.ZodReadonly<z.ZodString>;
717
+ summary: z.ZodNullable<z.ZodString>;
718
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
719
+ publishedAt: z.ZodISODateTime;
720
+ updatedAt: z.ZodISODateTime;
721
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
722
+ id: z.ZodUUID;
723
+ name: z.ZodString;
724
+ slug: z.ZodReadonly<z.ZodString>;
725
+ }, z.core.$strict>>>>;
726
+ }, z.core.$strict>>>;
727
+ relatedPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
728
+ id: z.ZodUUID;
729
+ category: z.ZodReadonly<z.ZodObject<{
730
+ id: z.ZodUUID;
731
+ name: z.ZodString;
732
+ slug: z.ZodReadonly<z.ZodString>;
733
+ description: z.ZodNullable<z.ZodString>;
734
+ sortOrder: z.ZodNumber;
735
+ }, z.core.$strict>>;
736
+ title: z.ZodString;
737
+ slug: z.ZodReadonly<z.ZodString>;
738
+ summary: z.ZodNullable<z.ZodString>;
739
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
740
+ publishedAt: z.ZodISODateTime;
741
+ updatedAt: z.ZodISODateTime;
742
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
743
+ id: z.ZodUUID;
744
+ name: z.ZodString;
745
+ slug: z.ZodReadonly<z.ZodString>;
746
+ }, z.core.$strict>>>>;
747
+ }, z.core.$strict>>>>;
748
+ }, z.core.$strict>>;
749
+ categories: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
750
+ id: z.ZodUUID;
751
+ name: z.ZodString;
752
+ slug: z.ZodReadonly<z.ZodString>;
753
+ description: z.ZodNullable<z.ZodString>;
754
+ sortOrder: z.ZodNumber;
755
+ postCount: z.ZodNumber;
756
+ }, z.core.$strict>>>>;
757
+ latestPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
758
+ id: z.ZodUUID;
759
+ category: z.ZodReadonly<z.ZodObject<{
760
+ id: z.ZodUUID;
761
+ name: z.ZodString;
762
+ slug: z.ZodReadonly<z.ZodString>;
763
+ description: z.ZodNullable<z.ZodString>;
764
+ sortOrder: z.ZodNumber;
765
+ }, z.core.$strict>>;
766
+ title: z.ZodString;
767
+ slug: z.ZodReadonly<z.ZodString>;
768
+ summary: z.ZodNullable<z.ZodString>;
769
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
770
+ publishedAt: z.ZodISODateTime;
771
+ updatedAt: z.ZodISODateTime;
772
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
773
+ id: z.ZodUUID;
774
+ name: z.ZodString;
775
+ slug: z.ZodReadonly<z.ZodString>;
776
+ }, z.core.$strict>>>>;
777
+ }, z.core.$strict>>>>;
778
+ recentComments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
779
+ comment: z.ZodReadonly<z.ZodObject<{
780
+ id: z.ZodUUID;
781
+ postId: z.ZodUUID;
782
+ user: z.ZodReadonly<z.ZodObject<{
783
+ id: z.ZodUUID;
784
+ displayName: z.ZodNullable<z.ZodString>;
785
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
786
+ homepage: z.ZodNullable<z.ZodURL>;
787
+ bio: z.ZodNullable<z.ZodString>;
788
+ }, z.core.$strict>>;
789
+ content: z.ZodString;
790
+ replyContent: z.ZodNullable<z.ZodString>;
791
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
792
+ createdAt: z.ZodISODateTime;
793
+ location: z.ZodNullable<z.ZodString>;
794
+ client: z.ZodNullable<z.ZodString>;
795
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
796
+ }, z.core.$strict>>;
797
+ post: z.ZodReadonly<z.ZodObject<{
798
+ id: z.ZodUUID;
799
+ title: z.ZodString;
800
+ slug: z.ZodReadonly<z.ZodString>;
801
+ }, z.core.$strict>>;
802
+ }, z.core.$strict>>>>;
803
+ }, z.core.$strict>>], "found">>;
804
+ };
805
+ listPublicPosts: {
806
+ readonly path: "/public/posts/list";
807
+ readonly input: z.ZodReadonly<z.ZodObject<{
808
+ limit: z.ZodNumber;
809
+ cursor: z.ZodOptional<z.ZodUUID>;
810
+ page: z.ZodOptional<z.ZodNumber>;
811
+ categorySlug: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
812
+ tagSlug: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
813
+ }, z.core.$strict>>;
814
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
815
+ outcome: z.ZodLiteral<"ok">;
816
+ data: z.ZodReadonly<z.ZodObject<{
817
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
818
+ id: z.ZodUUID;
819
+ category: z.ZodReadonly<z.ZodObject<{
820
+ id: z.ZodUUID;
821
+ name: z.ZodString;
822
+ slug: z.ZodReadonly<z.ZodString>;
823
+ description: z.ZodNullable<z.ZodString>;
824
+ sortOrder: z.ZodNumber;
825
+ }, z.core.$strict>>;
826
+ title: z.ZodString;
827
+ slug: z.ZodReadonly<z.ZodString>;
828
+ summary: z.ZodNullable<z.ZodString>;
829
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
830
+ publishedAt: z.ZodISODateTime;
831
+ updatedAt: z.ZodISODateTime;
832
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
833
+ id: z.ZodUUID;
834
+ name: z.ZodString;
835
+ slug: z.ZodReadonly<z.ZodString>;
836
+ }, z.core.$strict>>>>;
837
+ }, z.core.$strict>>>>;
838
+ nextCursor: z.ZodNullable<z.ZodUUID>;
839
+ total: z.ZodNumber;
840
+ }, z.core.$strict>>;
841
+ }, z.core.$strict>, z.ZodObject<{
842
+ outcome: z.ZodLiteral<"invalid-cursor">;
843
+ }, z.core.$strict>], "outcome">;
844
+ };
845
+ searchPublicPosts: {
846
+ readonly path: "/public/posts/search";
847
+ readonly input: z.ZodReadonly<z.ZodObject<{
848
+ query: z.ZodString;
849
+ limit: z.ZodNumber;
850
+ }, z.core.$strict>>;
851
+ readonly output: z.ZodReadonly<z.ZodObject<{
852
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
853
+ id: z.ZodUUID;
854
+ category: z.ZodReadonly<z.ZodObject<{
855
+ id: z.ZodUUID;
856
+ name: z.ZodString;
857
+ slug: z.ZodReadonly<z.ZodString>;
858
+ description: z.ZodNullable<z.ZodString>;
859
+ sortOrder: z.ZodNumber;
860
+ }, z.core.$strict>>;
861
+ title: z.ZodString;
862
+ slug: z.ZodReadonly<z.ZodString>;
863
+ summary: z.ZodNullable<z.ZodString>;
864
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
865
+ publishedAt: z.ZodISODateTime;
866
+ updatedAt: z.ZodISODateTime;
867
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
868
+ id: z.ZodUUID;
869
+ name: z.ZodString;
870
+ slug: z.ZodReadonly<z.ZodString>;
871
+ }, z.core.$strict>>>>;
872
+ }, z.core.$strict>>>>;
873
+ }, z.core.$strict>>;
874
+ };
875
+ listPublicPostArchive: {
876
+ readonly path: "/public/posts/archive";
877
+ readonly input: z.ZodReadonly<z.ZodObject<{
878
+ limit: z.ZodNumber;
879
+ monthLimit: z.ZodNumber;
880
+ cursor: z.ZodOptional<z.ZodUUID>;
881
+ page: z.ZodOptional<z.ZodNumber>;
882
+ year: z.ZodOptional<z.ZodNumber>;
883
+ month: z.ZodOptional<z.ZodNumber>;
884
+ startYear: z.ZodOptional<z.ZodNumber>;
885
+ startMonth: z.ZodOptional<z.ZodNumber>;
886
+ endYear: z.ZodOptional<z.ZodNumber>;
887
+ endMonth: z.ZodOptional<z.ZodNumber>;
888
+ }, z.core.$strict>>;
889
+ readonly output: z.ZodReadonly<z.ZodObject<{
890
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
891
+ id: z.ZodUUID;
892
+ category: z.ZodReadonly<z.ZodObject<{
893
+ id: z.ZodUUID;
894
+ name: z.ZodString;
895
+ slug: z.ZodReadonly<z.ZodString>;
896
+ description: z.ZodNullable<z.ZodString>;
897
+ sortOrder: z.ZodNumber;
898
+ }, z.core.$strict>>;
899
+ title: z.ZodString;
900
+ slug: z.ZodReadonly<z.ZodString>;
901
+ summary: z.ZodNullable<z.ZodString>;
902
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
903
+ publishedAt: z.ZodISODateTime;
904
+ updatedAt: z.ZodISODateTime;
905
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
906
+ id: z.ZodUUID;
907
+ name: z.ZodString;
908
+ slug: z.ZodReadonly<z.ZodString>;
909
+ }, z.core.$strict>>>>;
910
+ }, z.core.$strict>>>>;
911
+ months: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
912
+ year: z.ZodNumber;
913
+ month: z.ZodNumber;
914
+ count: z.ZodNumber;
915
+ }, z.core.$strict>>>>;
916
+ nextCursor: z.ZodNullable<z.ZodUUID>;
917
+ total: z.ZodNumber;
918
+ }, z.core.$strict>>;
919
+ };
920
+ readPublicPost: {
921
+ readonly path: "/public/posts/read";
922
+ readonly input: z.ZodReadonly<z.ZodObject<{
923
+ slug: z.ZodReadonly<z.ZodString>;
924
+ }, z.core.$strict>>;
925
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
926
+ found: z.ZodLiteral<false>;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ found: z.ZodLiteral<true>;
929
+ post: z.ZodReadonly<z.ZodObject<{
930
+ id: z.ZodUUID;
931
+ category: z.ZodReadonly<z.ZodObject<{
932
+ id: z.ZodUUID;
933
+ name: z.ZodString;
934
+ slug: z.ZodReadonly<z.ZodString>;
935
+ description: z.ZodNullable<z.ZodString>;
936
+ sortOrder: z.ZodNumber;
937
+ }, z.core.$strict>>;
938
+ title: z.ZodString;
939
+ slug: z.ZodReadonly<z.ZodString>;
940
+ summary: z.ZodNullable<z.ZodString>;
941
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
942
+ publishedAt: z.ZodISODateTime;
943
+ updatedAt: z.ZodISODateTime;
944
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
945
+ id: z.ZodUUID;
946
+ name: z.ZodString;
947
+ slug: z.ZodReadonly<z.ZodString>;
948
+ }, z.core.$strict>>>>;
949
+ content: z.ZodString;
950
+ }, z.core.$strict>>;
951
+ }, z.core.$strict>], "found">>;
952
+ };
953
+ openPublicPost: {
954
+ readonly path: "/public/posts/open";
955
+ readonly input: z.ZodReadonly<z.ZodObject<{
956
+ slug: z.ZodReadonly<z.ZodString>;
957
+ }, z.core.$strict>>;
958
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
959
+ found: z.ZodLiteral<false>;
960
+ }, z.core.$strict>, z.ZodObject<{
961
+ found: z.ZodLiteral<true>;
962
+ post: z.ZodReadonly<z.ZodObject<{
963
+ id: z.ZodUUID;
964
+ category: z.ZodReadonly<z.ZodObject<{
965
+ id: z.ZodUUID;
966
+ name: z.ZodString;
967
+ slug: z.ZodReadonly<z.ZodString>;
968
+ description: z.ZodNullable<z.ZodString>;
969
+ sortOrder: z.ZodNumber;
970
+ }, z.core.$strict>>;
971
+ title: z.ZodString;
972
+ slug: z.ZodReadonly<z.ZodString>;
973
+ summary: z.ZodNullable<z.ZodString>;
974
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
975
+ publishedAt: z.ZodISODateTime;
976
+ updatedAt: z.ZodISODateTime;
977
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
978
+ id: z.ZodUUID;
979
+ name: z.ZodString;
980
+ slug: z.ZodReadonly<z.ZodString>;
981
+ }, z.core.$strict>>>>;
982
+ content: z.ZodString;
983
+ }, z.core.$strict>>;
984
+ engagement: z.ZodReadonly<z.ZodObject<{
985
+ viewCount: z.ZodNumber;
986
+ likeCount: z.ZodNumber;
987
+ viewerState: z.ZodEnum<{
988
+ anonymous: "anonymous";
989
+ liked: "liked";
990
+ "not-liked": "not-liked";
991
+ unavailable: "unavailable";
992
+ }>;
993
+ }, z.core.$strict>>;
994
+ }, z.core.$strict>], "found">>;
995
+ };
996
+ readPublicPostConnections: {
997
+ readonly path: "/public/posts/connections";
998
+ readonly input: z.ZodReadonly<z.ZodObject<{
999
+ slug: z.ZodReadonly<z.ZodString>;
1000
+ relatedLimit: z.ZodNumber;
1001
+ }, z.core.$strict>>;
1002
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
1003
+ found: z.ZodLiteral<false>;
1004
+ }, z.core.$strict>, z.ZodObject<{
1005
+ found: z.ZodLiteral<true>;
1006
+ connections: z.ZodReadonly<z.ZodObject<{
1007
+ previousPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
1008
+ id: z.ZodUUID;
1009
+ category: z.ZodReadonly<z.ZodObject<{
1010
+ id: z.ZodUUID;
1011
+ name: z.ZodString;
1012
+ slug: z.ZodReadonly<z.ZodString>;
1013
+ description: z.ZodNullable<z.ZodString>;
1014
+ sortOrder: z.ZodNumber;
1015
+ }, z.core.$strict>>;
1016
+ title: z.ZodString;
1017
+ slug: z.ZodReadonly<z.ZodString>;
1018
+ summary: z.ZodNullable<z.ZodString>;
1019
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1020
+ publishedAt: z.ZodISODateTime;
1021
+ updatedAt: z.ZodISODateTime;
1022
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1023
+ id: z.ZodUUID;
1024
+ name: z.ZodString;
1025
+ slug: z.ZodReadonly<z.ZodString>;
1026
+ }, z.core.$strict>>>>;
1027
+ }, z.core.$strict>>>;
1028
+ nextPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
1029
+ id: z.ZodUUID;
1030
+ category: z.ZodReadonly<z.ZodObject<{
1031
+ id: z.ZodUUID;
1032
+ name: z.ZodString;
1033
+ slug: z.ZodReadonly<z.ZodString>;
1034
+ description: z.ZodNullable<z.ZodString>;
1035
+ sortOrder: z.ZodNumber;
1036
+ }, z.core.$strict>>;
1037
+ title: z.ZodString;
1038
+ slug: z.ZodReadonly<z.ZodString>;
1039
+ summary: z.ZodNullable<z.ZodString>;
1040
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1041
+ publishedAt: z.ZodISODateTime;
1042
+ updatedAt: z.ZodISODateTime;
1043
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1044
+ id: z.ZodUUID;
1045
+ name: z.ZodString;
1046
+ slug: z.ZodReadonly<z.ZodString>;
1047
+ }, z.core.$strict>>>>;
1048
+ }, z.core.$strict>>>;
1049
+ relatedPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1050
+ id: z.ZodUUID;
1051
+ category: z.ZodReadonly<z.ZodObject<{
1052
+ id: z.ZodUUID;
1053
+ name: z.ZodString;
1054
+ slug: z.ZodReadonly<z.ZodString>;
1055
+ description: z.ZodNullable<z.ZodString>;
1056
+ sortOrder: z.ZodNumber;
1057
+ }, z.core.$strict>>;
1058
+ title: z.ZodString;
1059
+ slug: z.ZodReadonly<z.ZodString>;
1060
+ summary: z.ZodNullable<z.ZodString>;
1061
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1062
+ publishedAt: z.ZodISODateTime;
1063
+ updatedAt: z.ZodISODateTime;
1064
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1065
+ id: z.ZodUUID;
1066
+ name: z.ZodString;
1067
+ slug: z.ZodReadonly<z.ZodString>;
1068
+ }, z.core.$strict>>>>;
1069
+ }, z.core.$strict>>>>;
1070
+ }, z.core.$strict>>;
1071
+ }, z.core.$strict>], "found">>;
1072
+ };
1073
+ listPublicComments: {
1074
+ readonly path: "/public/comments/list";
1075
+ readonly input: z.ZodReadonly<z.ZodObject<{
1076
+ postSlug: z.ZodReadonly<z.ZodString>;
1077
+ limit: z.ZodNumber;
1078
+ cursor: z.ZodOptional<z.ZodUUID>;
1079
+ order: z.ZodOptional<z.ZodEnum<{
1080
+ asc: "asc";
1081
+ desc: "desc";
1082
+ }>>;
1083
+ }, z.core.$strict>>;
1084
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
1085
+ found: z.ZodLiteral<false>;
1086
+ }, z.core.$strict>, z.ZodObject<{
1087
+ found: z.ZodLiteral<true>;
1088
+ comments: z.ZodReadonly<z.ZodObject<{
1089
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1090
+ id: z.ZodUUID;
1091
+ postId: z.ZodUUID;
1092
+ user: z.ZodReadonly<z.ZodObject<{
1093
+ id: z.ZodUUID;
1094
+ displayName: z.ZodNullable<z.ZodString>;
1095
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1096
+ homepage: z.ZodNullable<z.ZodURL>;
1097
+ bio: z.ZodNullable<z.ZodString>;
1098
+ }, z.core.$strict>>;
1099
+ content: z.ZodString;
1100
+ replyContent: z.ZodNullable<z.ZodString>;
1101
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1102
+ createdAt: z.ZodISODateTime;
1103
+ location: z.ZodNullable<z.ZodString>;
1104
+ client: z.ZodNullable<z.ZodString>;
1105
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
1106
+ }, z.core.$strict>>>>;
1107
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1108
+ }, z.core.$strict>>;
1109
+ }, z.core.$strict>], "found">>;
1110
+ };
1111
+ createPublicComment: {
1112
+ readonly path: "/public/comments/create";
1113
+ readonly input: z.ZodReadonly<z.ZodObject<{
1114
+ postSlug: z.ZodReadonly<z.ZodString>;
1115
+ content: z.ZodString;
1116
+ }, z.core.$strict>>;
1117
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1118
+ outcome: z.ZodLiteral<"ok">;
1119
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
1120
+ authenticated: z.ZodLiteral<false>;
1121
+ }, z.core.$strict>, z.ZodObject<{
1122
+ authenticated: z.ZodLiteral<true>;
1123
+ comment: z.ZodReadonly<z.ZodObject<{
1124
+ id: z.ZodUUID;
1125
+ postId: z.ZodUUID;
1126
+ user: z.ZodReadonly<z.ZodObject<{
1127
+ id: z.ZodUUID;
1128
+ displayName: z.ZodNullable<z.ZodString>;
1129
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1130
+ homepage: z.ZodNullable<z.ZodURL>;
1131
+ bio: z.ZodNullable<z.ZodString>;
1132
+ }, z.core.$strict>>;
1133
+ content: z.ZodString;
1134
+ replyContent: z.ZodNullable<z.ZodString>;
1135
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1136
+ createdAt: z.ZodISODateTime;
1137
+ location: z.ZodNullable<z.ZodString>;
1138
+ client: z.ZodNullable<z.ZodString>;
1139
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
1140
+ }, z.core.$strict>>;
1141
+ }, z.core.$strict>], "authenticated">>;
1142
+ }, z.core.$strict>, z.ZodObject<{
1143
+ outcome: z.ZodLiteral<"conflict">;
1144
+ }, z.core.$strict>], "outcome">;
1145
+ };
1146
+ setPublicPostLiked: {
1147
+ readonly path: "/public/posts/set-liked";
1148
+ readonly input: z.ZodReadonly<z.ZodObject<{
1149
+ slug: z.ZodReadonly<z.ZodString>;
1150
+ liked: z.ZodBoolean;
1151
+ }, z.core.$strict>>;
1152
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1153
+ outcome: z.ZodLiteral<"ok">;
1154
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
1155
+ authenticated: z.ZodLiteral<false>;
1156
+ }, z.core.$strict>, z.ZodObject<{
1157
+ authenticated: z.ZodLiteral<true>;
1158
+ result: z.ZodReadonly<z.ZodObject<{
1159
+ liked: z.ZodBoolean;
1160
+ likeCount: z.ZodNumber;
1161
+ }, z.core.$strict>>;
1162
+ }, z.core.$strict>], "authenticated">>;
1163
+ }, z.core.$strict>, z.ZodObject<{
1164
+ outcome: z.ZodLiteral<"conflict">;
1165
+ }, z.core.$strict>], "outcome">;
1166
+ };
1167
+ listPublicRecentComments: {
1168
+ readonly path: "/public/comments/recent";
1169
+ readonly input: z.ZodReadonly<z.ZodObject<{
1170
+ limit: z.ZodNumber;
1171
+ }, z.core.$strict>>;
1172
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1173
+ comment: z.ZodReadonly<z.ZodObject<{
1174
+ id: z.ZodUUID;
1175
+ postId: z.ZodUUID;
1176
+ user: z.ZodReadonly<z.ZodObject<{
1177
+ id: z.ZodUUID;
1178
+ displayName: z.ZodNullable<z.ZodString>;
1179
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1180
+ homepage: z.ZodNullable<z.ZodURL>;
1181
+ bio: z.ZodNullable<z.ZodString>;
1182
+ }, z.core.$strict>>;
1183
+ content: z.ZodString;
1184
+ replyContent: z.ZodNullable<z.ZodString>;
1185
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1186
+ createdAt: z.ZodISODateTime;
1187
+ location: z.ZodNullable<z.ZodString>;
1188
+ client: z.ZodNullable<z.ZodString>;
1189
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
1190
+ }, z.core.$strict>>;
1191
+ post: z.ZodReadonly<z.ZodObject<{
1192
+ id: z.ZodUUID;
1193
+ title: z.ZodString;
1194
+ slug: z.ZodReadonly<z.ZodString>;
1195
+ }, z.core.$strict>>;
1196
+ }, z.core.$strict>>>>;
1197
+ };
1198
+ listPublicCategories: {
1199
+ readonly path: "/public/categories/list";
1200
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
1201
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1202
+ id: z.ZodUUID;
1203
+ name: z.ZodString;
1204
+ slug: z.ZodReadonly<z.ZodString>;
1205
+ description: z.ZodNullable<z.ZodString>;
1206
+ sortOrder: z.ZodNumber;
1207
+ postCount: z.ZodNumber;
1208
+ }, z.core.$strict>>>>;
1209
+ };
1210
+ listPublicTags: {
1211
+ readonly path: "/public/tags/list";
1212
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
1213
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1214
+ id: z.ZodUUID;
1215
+ name: z.ZodString;
1216
+ slug: z.ZodReadonly<z.ZodString>;
1217
+ }, z.core.$strict>>>>;
1218
+ };
1219
+ listPublicFriendLinks: {
1220
+ readonly path: "/public/friend-links/list";
1221
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
1222
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1223
+ id: z.ZodUUID;
1224
+ name: z.ZodString;
1225
+ url: z.ZodURL;
1226
+ description: z.ZodNullable<z.ZodString>;
1227
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1228
+ sortOrder: z.ZodNumber;
1229
+ }, z.core.$strict>>>>;
1230
+ };
1231
+ listPublicPages: {
1232
+ readonly path: "/public/pages/list";
1233
+ readonly input: z.ZodReadonly<z.ZodObject<{
1234
+ position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1235
+ navigation: "navigation";
1236
+ sidebar: "sidebar";
1237
+ }>>>;
1238
+ }, z.core.$strict>>;
1239
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1240
+ id: z.ZodUUID;
1241
+ title: z.ZodString;
1242
+ slug: z.ZodReadonly<z.ZodString>;
1243
+ summary: z.ZodString;
1244
+ position: z.ZodNullable<z.ZodEnum<{
1245
+ navigation: "navigation";
1246
+ sidebar: "sidebar";
1247
+ }>>;
1248
+ sortOrder: z.ZodNumber;
1249
+ publishedAt: z.ZodISODateTime;
1250
+ updatedAt: z.ZodISODateTime;
1251
+ }, z.core.$strict>>>>;
1252
+ };
1253
+ readPublicPage: {
1254
+ readonly path: "/public/pages/read";
1255
+ readonly input: z.ZodReadonly<z.ZodObject<{
1256
+ slug: z.ZodReadonly<z.ZodString>;
1257
+ }, z.core.$strict>>;
1258
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
1259
+ found: z.ZodLiteral<false>;
1260
+ }, z.core.$strict>, z.ZodObject<{
1261
+ found: z.ZodLiteral<true>;
1262
+ page: z.ZodReadonly<z.ZodObject<{
1263
+ id: z.ZodUUID;
1264
+ title: z.ZodString;
1265
+ slug: z.ZodReadonly<z.ZodString>;
1266
+ summary: z.ZodString;
1267
+ position: z.ZodNullable<z.ZodEnum<{
1268
+ navigation: "navigation";
1269
+ sidebar: "sidebar";
1270
+ }>>;
1271
+ sortOrder: z.ZodNumber;
1272
+ publishedAt: z.ZodISODateTime;
1273
+ updatedAt: z.ZodISODateTime;
1274
+ content: z.ZodString;
1275
+ }, z.core.$strict>>;
1276
+ }, z.core.$strict>], "found">>;
1277
+ };
1278
+ readThemeAuthoringContract: {
1279
+ readonly path: "/resources/theme-authoring-contract";
1280
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
1281
+ readonly output: z.ZodJSONSchema;
1282
+ };
1283
+ readEventCatalog: {
1284
+ readonly path: "/resources/event-catalog";
1285
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
1286
+ readonly output: z.ZodJSONSchema;
1287
+ };
1288
+ listCategories: {
1289
+ readonly path: "/management/categories/list";
1290
+ readonly input: z.ZodObject<{
1291
+ limit: z.ZodDefault<z.ZodNumber>;
1292
+ cursor: z.ZodOptional<z.ZodUUID>;
1293
+ }, z.core.$strict>;
1294
+ readonly output: z.ZodObject<{
1295
+ items: z.ZodArray<z.ZodObject<{
1296
+ name: z.ZodString;
1297
+ slug: z.ZodString;
1298
+ description: z.ZodNullable<z.ZodString>;
1299
+ sortOrder: z.ZodNumber;
1300
+ id: z.ZodUUID;
1301
+ createdAt: z.ZodISODateTime;
1302
+ updatedAt: z.ZodISODateTime;
1303
+ }, z.core.$strict>>;
1304
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1305
+ }, z.core.$strict>;
1306
+ };
1307
+ readCategory: {
1308
+ readonly path: "/management/categories/read";
1309
+ readonly input: z.ZodObject<{
1310
+ id: z.ZodUUID;
1311
+ }, z.core.$strict>;
1312
+ readonly output: z.ZodObject<{
1313
+ item: z.ZodObject<{
1314
+ name: z.ZodString;
1315
+ slug: z.ZodString;
1316
+ description: z.ZodNullable<z.ZodString>;
1317
+ sortOrder: z.ZodNumber;
1318
+ id: z.ZodUUID;
1319
+ createdAt: z.ZodISODateTime;
1320
+ updatedAt: z.ZodISODateTime;
1321
+ }, z.core.$strict>;
1322
+ }, z.core.$strict>;
1323
+ };
1324
+ createCategory: {
1325
+ readonly path: "/management/categories/create";
1326
+ readonly input: z.ZodObject<{
1327
+ name: z.ZodString;
1328
+ slug: z.ZodString;
1329
+ description: z.ZodNullable<z.ZodString>;
1330
+ sortOrder: z.ZodNumber;
1331
+ }, z.core.$strict>;
1332
+ readonly output: z.ZodObject<{
1333
+ item: z.ZodObject<{
1334
+ name: z.ZodString;
1335
+ slug: z.ZodString;
1336
+ description: z.ZodNullable<z.ZodString>;
1337
+ sortOrder: z.ZodNumber;
1338
+ id: z.ZodUUID;
1339
+ createdAt: z.ZodISODateTime;
1340
+ updatedAt: z.ZodISODateTime;
1341
+ }, z.core.$strict>;
1342
+ }, z.core.$strict>;
1343
+ };
1344
+ updateCategory: {
1345
+ readonly path: "/management/categories/update";
1346
+ readonly input: z.ZodObject<{
1347
+ name: z.ZodString;
1348
+ slug: z.ZodString;
1349
+ description: z.ZodNullable<z.ZodString>;
1350
+ sortOrder: z.ZodNumber;
1351
+ id: z.ZodUUID;
1352
+ }, z.core.$strict>;
1353
+ readonly output: z.ZodObject<{
1354
+ item: z.ZodObject<{
1355
+ name: z.ZodString;
1356
+ slug: z.ZodString;
1357
+ description: z.ZodNullable<z.ZodString>;
1358
+ sortOrder: z.ZodNumber;
1359
+ id: z.ZodUUID;
1360
+ createdAt: z.ZodISODateTime;
1361
+ updatedAt: z.ZodISODateTime;
1362
+ }, z.core.$strict>;
1363
+ }, z.core.$strict>;
1364
+ };
1365
+ deleteCategory: {
1366
+ readonly path: "/management/categories/delete";
1367
+ readonly input: z.ZodObject<{
1368
+ id: z.ZodUUID;
1369
+ }, z.core.$strict>;
1370
+ readonly output: z.ZodObject<{
1371
+ deleted: z.ZodLiteral<true>;
1372
+ id: z.ZodUUID;
1373
+ }, z.core.$strict>;
1374
+ };
1375
+ listTags: {
1376
+ readonly path: "/management/tags/list";
1377
+ readonly input: z.ZodObject<{
1378
+ limit: z.ZodDefault<z.ZodNumber>;
1379
+ cursor: z.ZodOptional<z.ZodUUID>;
1380
+ }, z.core.$strict>;
1381
+ readonly output: z.ZodObject<{
1382
+ items: z.ZodArray<z.ZodObject<{
1383
+ name: z.ZodString;
1384
+ slug: z.ZodString;
1385
+ id: z.ZodUUID;
1386
+ createdAt: z.ZodISODateTime;
1387
+ updatedAt: z.ZodISODateTime;
1388
+ }, z.core.$strict>>;
1389
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1390
+ }, z.core.$strict>;
1391
+ };
1392
+ readTag: {
1393
+ readonly path: "/management/tags/read";
1394
+ readonly input: z.ZodObject<{
1395
+ id: z.ZodUUID;
1396
+ }, z.core.$strict>;
1397
+ readonly output: z.ZodObject<{
1398
+ item: z.ZodObject<{
1399
+ name: z.ZodString;
1400
+ slug: z.ZodString;
1401
+ id: z.ZodUUID;
1402
+ createdAt: z.ZodISODateTime;
1403
+ updatedAt: z.ZodISODateTime;
1404
+ }, z.core.$strict>;
1405
+ }, z.core.$strict>;
1406
+ };
1407
+ createTag: {
1408
+ readonly path: "/management/tags/create";
1409
+ readonly input: z.ZodObject<{
1410
+ name: z.ZodString;
1411
+ slug: z.ZodString;
1412
+ }, z.core.$strict>;
1413
+ readonly output: z.ZodObject<{
1414
+ item: z.ZodObject<{
1415
+ name: z.ZodString;
1416
+ slug: z.ZodString;
1417
+ id: z.ZodUUID;
1418
+ createdAt: z.ZodISODateTime;
1419
+ updatedAt: z.ZodISODateTime;
1420
+ }, z.core.$strict>;
1421
+ }, z.core.$strict>;
1422
+ };
1423
+ updateTag: {
1424
+ readonly path: "/management/tags/update";
1425
+ readonly input: z.ZodObject<{
1426
+ name: z.ZodString;
1427
+ slug: z.ZodString;
1428
+ id: z.ZodUUID;
1429
+ }, z.core.$strict>;
1430
+ readonly output: z.ZodObject<{
1431
+ item: z.ZodObject<{
1432
+ name: z.ZodString;
1433
+ slug: z.ZodString;
1434
+ id: z.ZodUUID;
1435
+ createdAt: z.ZodISODateTime;
1436
+ updatedAt: z.ZodISODateTime;
1437
+ }, z.core.$strict>;
1438
+ }, z.core.$strict>;
1439
+ };
1440
+ deleteTag: {
1441
+ readonly path: "/management/tags/delete";
1442
+ readonly input: z.ZodObject<{
1443
+ id: z.ZodUUID;
1444
+ }, z.core.$strict>;
1445
+ readonly output: z.ZodObject<{
1446
+ deleted: z.ZodLiteral<true>;
1447
+ id: z.ZodUUID;
1448
+ }, z.core.$strict>;
1449
+ };
1450
+ listPosts: {
1451
+ readonly path: "/management/posts/list";
1452
+ readonly input: z.ZodObject<{
1453
+ limit: z.ZodDefault<z.ZodNumber>;
1454
+ cursor: z.ZodOptional<z.ZodUUID>;
1455
+ status: z.ZodOptional<z.ZodEnum<{
1456
+ archived: "archived";
1457
+ draft: "draft";
1458
+ published: "published";
1459
+ }>>;
1460
+ categoryId: z.ZodOptional<z.ZodUUID>;
1461
+ }, z.core.$strict>;
1462
+ readonly output: z.ZodObject<{
1463
+ items: z.ZodArray<z.ZodObject<{
1464
+ id: z.ZodUUID;
1465
+ categoryId: z.ZodUUID;
1466
+ title: z.ZodString;
1467
+ slug: z.ZodString;
1468
+ summary: z.ZodNullable<z.ZodString>;
1469
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1470
+ content: z.ZodString;
1471
+ status: z.ZodEnum<{
1472
+ archived: "archived";
1473
+ draft: "draft";
1474
+ published: "published";
1475
+ }>;
1476
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1477
+ createdAt: z.ZodISODateTime;
1478
+ updatedAt: z.ZodISODateTime;
1479
+ tags: z.ZodArray<z.ZodObject<{
1480
+ name: z.ZodString;
1481
+ slug: z.ZodString;
1482
+ id: z.ZodUUID;
1483
+ createdAt: z.ZodISODateTime;
1484
+ updatedAt: z.ZodISODateTime;
1485
+ }, z.core.$strict>>;
1486
+ }, z.core.$strict>>;
1487
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1488
+ }, z.core.$strict>;
1489
+ };
1490
+ listPostArchive: {
1491
+ readonly path: "/management/posts/archive-list";
1492
+ readonly input: z.ZodObject<{
1493
+ limit: z.ZodDefault<z.ZodNumber>;
1494
+ monthLimit: z.ZodDefault<z.ZodNumber>;
1495
+ cursor: z.ZodOptional<z.ZodUUID>;
1496
+ year: z.ZodOptional<z.ZodNumber>;
1497
+ month: z.ZodOptional<z.ZodNumber>;
1498
+ startYear: z.ZodOptional<z.ZodNumber>;
1499
+ startMonth: z.ZodOptional<z.ZodNumber>;
1500
+ endYear: z.ZodOptional<z.ZodNumber>;
1501
+ endMonth: z.ZodOptional<z.ZodNumber>;
1502
+ }, z.core.$strict>;
1503
+ readonly output: z.ZodObject<{
1504
+ items: z.ZodArray<z.ZodObject<{
1505
+ id: z.ZodUUID;
1506
+ categoryId: z.ZodUUID;
1507
+ title: z.ZodString;
1508
+ slug: z.ZodString;
1509
+ summary: z.ZodNullable<z.ZodString>;
1510
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1511
+ status: z.ZodEnum<{
1512
+ archived: "archived";
1513
+ draft: "draft";
1514
+ published: "published";
1515
+ }>;
1516
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1517
+ createdAt: z.ZodISODateTime;
1518
+ updatedAt: z.ZodISODateTime;
1519
+ tags: z.ZodArray<z.ZodObject<{
1520
+ name: z.ZodString;
1521
+ slug: z.ZodString;
1522
+ id: z.ZodUUID;
1523
+ createdAt: z.ZodISODateTime;
1524
+ updatedAt: z.ZodISODateTime;
1525
+ }, z.core.$strict>>;
1526
+ }, z.core.$strict>>;
1527
+ months: z.ZodArray<z.ZodObject<{
1528
+ year: z.ZodNumber;
1529
+ month: z.ZodNumber;
1530
+ count: z.ZodNumber;
1531
+ }, z.core.$strict>>;
1532
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1533
+ total: z.ZodNumber;
1534
+ }, z.core.$strict>;
1535
+ };
1536
+ searchPosts: {
1537
+ readonly path: "/management/posts/search";
1538
+ readonly input: z.ZodObject<{
1539
+ query: z.ZodString;
1540
+ limit: z.ZodDefault<z.ZodNumber>;
1541
+ status: z.ZodOptional<z.ZodEnum<{
1542
+ archived: "archived";
1543
+ draft: "draft";
1544
+ published: "published";
1545
+ }>>;
1546
+ }, z.core.$strict>;
1547
+ readonly output: z.ZodObject<{
1548
+ items: z.ZodArray<z.ZodObject<{
1549
+ id: z.ZodUUID;
1550
+ categoryId: z.ZodUUID;
1551
+ title: z.ZodString;
1552
+ slug: z.ZodString;
1553
+ summary: z.ZodNullable<z.ZodString>;
1554
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1555
+ status: z.ZodEnum<{
1556
+ archived: "archived";
1557
+ draft: "draft";
1558
+ published: "published";
1559
+ }>;
1560
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1561
+ createdAt: z.ZodISODateTime;
1562
+ updatedAt: z.ZodISODateTime;
1563
+ tags: z.ZodArray<z.ZodObject<{
1564
+ name: z.ZodString;
1565
+ slug: z.ZodString;
1566
+ id: z.ZodUUID;
1567
+ createdAt: z.ZodISODateTime;
1568
+ updatedAt: z.ZodISODateTime;
1569
+ }, z.core.$strict>>;
1570
+ }, z.core.$strict>>;
1571
+ }, z.core.$strict>;
1572
+ };
1573
+ readPost: {
1574
+ readonly path: "/management/posts/read";
1575
+ readonly input: z.ZodObject<{
1576
+ id: z.ZodUUID;
1577
+ }, z.core.$strict>;
1578
+ readonly output: z.ZodObject<{
1579
+ item: z.ZodObject<{
1580
+ id: z.ZodUUID;
1581
+ categoryId: z.ZodUUID;
1582
+ title: z.ZodString;
1583
+ slug: z.ZodString;
1584
+ summary: z.ZodNullable<z.ZodString>;
1585
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1586
+ content: z.ZodString;
1587
+ status: z.ZodEnum<{
1588
+ archived: "archived";
1589
+ draft: "draft";
1590
+ published: "published";
1591
+ }>;
1592
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1593
+ createdAt: z.ZodISODateTime;
1594
+ updatedAt: z.ZodISODateTime;
1595
+ tags: z.ZodArray<z.ZodObject<{
1596
+ name: z.ZodString;
1597
+ slug: z.ZodString;
1598
+ id: z.ZodUUID;
1599
+ createdAt: z.ZodISODateTime;
1600
+ updatedAt: z.ZodISODateTime;
1601
+ }, z.core.$strict>>;
1602
+ }, z.core.$strict>;
1603
+ }, z.core.$strict>;
1604
+ };
1605
+ auditPostContent: {
1606
+ readonly path: "/management/posts/audit";
1607
+ readonly input: z.ZodObject<{
1608
+ categoryId: z.ZodUUID;
1609
+ title: z.ZodString;
1610
+ summary: z.ZodNullable<z.ZodString>;
1611
+ content: z.ZodString;
1612
+ tagIds: z.ZodArray<z.ZodUUID>;
1613
+ }, z.core.$strict>;
1614
+ readonly output: z.ZodObject<{
1615
+ publishable: z.ZodBoolean;
1616
+ findings: z.ZodArray<z.ZodObject<{
1617
+ ruleId: z.ZodString;
1618
+ severity: z.ZodEnum<{
1619
+ block: "block";
1620
+ info: "info";
1621
+ warning: "warning";
1622
+ }>;
1623
+ source: z.ZodEnum<{
1624
+ heuristic: "heuristic";
1625
+ project: "project";
1626
+ "search-engine": "search-engine";
1627
+ }>;
1628
+ field: z.ZodEnum<{
1629
+ category: "category";
1630
+ content: "content";
1631
+ summary: "summary";
1632
+ tags: "tags";
1633
+ title: "title";
1634
+ }>;
1635
+ message: z.ZodString;
1636
+ suggestion: z.ZodString;
1637
+ location: z.ZodOptional<z.ZodObject<{
1638
+ line: z.ZodNumber;
1639
+ column: z.ZodNumber;
1640
+ }, z.core.$strict>>;
1641
+ }, z.core.$strict>>;
1642
+ }, z.core.$strict>;
1643
+ };
1644
+ createPost: {
1645
+ readonly path: "/management/posts/create";
1646
+ readonly input: z.ZodObject<{
1647
+ categoryId: z.ZodUUID;
1648
+ title: z.ZodString;
1649
+ slug: z.ZodString;
1650
+ summary: z.ZodNullable<z.ZodString>;
1651
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1652
+ content: z.ZodString;
1653
+ tagIds: z.ZodArray<z.ZodUUID>;
1654
+ }, z.core.$strict>;
1655
+ readonly output: z.ZodObject<{
1656
+ item: z.ZodObject<{
1657
+ id: z.ZodUUID;
1658
+ categoryId: z.ZodUUID;
1659
+ title: z.ZodString;
1660
+ slug: z.ZodString;
1661
+ summary: z.ZodNullable<z.ZodString>;
1662
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1663
+ content: z.ZodString;
1664
+ status: z.ZodEnum<{
1665
+ archived: "archived";
1666
+ draft: "draft";
1667
+ published: "published";
1668
+ }>;
1669
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1670
+ createdAt: z.ZodISODateTime;
1671
+ updatedAt: z.ZodISODateTime;
1672
+ tags: z.ZodArray<z.ZodObject<{
1673
+ name: z.ZodString;
1674
+ slug: z.ZodString;
1675
+ id: z.ZodUUID;
1676
+ createdAt: z.ZodISODateTime;
1677
+ updatedAt: z.ZodISODateTime;
1678
+ }, z.core.$strict>>;
1679
+ }, z.core.$strict>;
1680
+ }, z.core.$strict>;
1681
+ };
1682
+ updatePost: {
1683
+ readonly path: "/management/posts/update";
1684
+ readonly input: z.ZodObject<{
1685
+ categoryId: z.ZodUUID;
1686
+ title: z.ZodString;
1687
+ slug: z.ZodString;
1688
+ summary: z.ZodNullable<z.ZodString>;
1689
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1690
+ content: z.ZodString;
1691
+ tagIds: z.ZodArray<z.ZodUUID>;
1692
+ id: z.ZodUUID;
1693
+ }, z.core.$strict>;
1694
+ readonly output: z.ZodObject<{
1695
+ item: z.ZodObject<{
1696
+ id: z.ZodUUID;
1697
+ categoryId: z.ZodUUID;
1698
+ title: z.ZodString;
1699
+ slug: z.ZodString;
1700
+ summary: z.ZodNullable<z.ZodString>;
1701
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1702
+ content: z.ZodString;
1703
+ status: z.ZodEnum<{
1704
+ archived: "archived";
1705
+ draft: "draft";
1706
+ published: "published";
1707
+ }>;
1708
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1709
+ createdAt: z.ZodISODateTime;
1710
+ updatedAt: z.ZodISODateTime;
1711
+ tags: z.ZodArray<z.ZodObject<{
1712
+ name: z.ZodString;
1713
+ slug: z.ZodString;
1714
+ id: z.ZodUUID;
1715
+ createdAt: z.ZodISODateTime;
1716
+ updatedAt: z.ZodISODateTime;
1717
+ }, z.core.$strict>>;
1718
+ }, z.core.$strict>;
1719
+ }, z.core.$strict>;
1720
+ };
1721
+ publishPost: {
1722
+ readonly path: "/management/posts/publish";
1723
+ readonly input: z.ZodObject<{
1724
+ id: z.ZodUUID;
1725
+ }, z.core.$strict>;
1726
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1727
+ outcome: z.ZodLiteral<"ok">;
1728
+ data: z.ZodObject<{
1729
+ item: z.ZodObject<{
1730
+ id: z.ZodUUID;
1731
+ categoryId: z.ZodUUID;
1732
+ title: z.ZodString;
1733
+ slug: z.ZodString;
1734
+ summary: z.ZodNullable<z.ZodString>;
1735
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1736
+ content: z.ZodString;
1737
+ status: z.ZodEnum<{
1738
+ archived: "archived";
1739
+ draft: "draft";
1740
+ published: "published";
1741
+ }>;
1742
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1743
+ createdAt: z.ZodISODateTime;
1744
+ updatedAt: z.ZodISODateTime;
1745
+ tags: z.ZodArray<z.ZodObject<{
1746
+ name: z.ZodString;
1747
+ slug: z.ZodString;
1748
+ id: z.ZodUUID;
1749
+ createdAt: z.ZodISODateTime;
1750
+ updatedAt: z.ZodISODateTime;
1751
+ }, z.core.$strict>>;
1752
+ }, z.core.$strict>;
1753
+ }, z.core.$strict>;
1754
+ }, z.core.$strict>, z.ZodObject<{
1755
+ outcome: z.ZodLiteral<"content-blocked">;
1756
+ audit: z.ZodObject<{
1757
+ publishable: z.ZodBoolean;
1758
+ findings: z.ZodArray<z.ZodObject<{
1759
+ ruleId: z.ZodString;
1760
+ severity: z.ZodEnum<{
1761
+ block: "block";
1762
+ info: "info";
1763
+ warning: "warning";
1764
+ }>;
1765
+ source: z.ZodEnum<{
1766
+ heuristic: "heuristic";
1767
+ project: "project";
1768
+ "search-engine": "search-engine";
1769
+ }>;
1770
+ field: z.ZodEnum<{
1771
+ category: "category";
1772
+ content: "content";
1773
+ summary: "summary";
1774
+ tags: "tags";
1775
+ title: "title";
1776
+ }>;
1777
+ message: z.ZodString;
1778
+ suggestion: z.ZodString;
1779
+ location: z.ZodOptional<z.ZodObject<{
1780
+ line: z.ZodNumber;
1781
+ column: z.ZodNumber;
1782
+ }, z.core.$strict>>;
1783
+ }, z.core.$strict>>;
1784
+ }, z.core.$strict>;
1785
+ }, z.core.$strict>], "outcome">;
1786
+ };
1787
+ archivePost: {
1788
+ readonly path: "/management/posts/archive";
1789
+ readonly input: z.ZodObject<{
1790
+ id: z.ZodUUID;
1791
+ }, z.core.$strict>;
1792
+ readonly output: z.ZodObject<{
1793
+ item: z.ZodObject<{
1794
+ id: z.ZodUUID;
1795
+ categoryId: z.ZodUUID;
1796
+ title: z.ZodString;
1797
+ slug: z.ZodString;
1798
+ summary: z.ZodNullable<z.ZodString>;
1799
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1800
+ content: z.ZodString;
1801
+ status: z.ZodEnum<{
1802
+ archived: "archived";
1803
+ draft: "draft";
1804
+ published: "published";
1805
+ }>;
1806
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1807
+ createdAt: z.ZodISODateTime;
1808
+ updatedAt: z.ZodISODateTime;
1809
+ tags: z.ZodArray<z.ZodObject<{
1810
+ name: z.ZodString;
1811
+ slug: z.ZodString;
1812
+ id: z.ZodUUID;
1813
+ createdAt: z.ZodISODateTime;
1814
+ updatedAt: z.ZodISODateTime;
1815
+ }, z.core.$strict>>;
1816
+ }, z.core.$strict>;
1817
+ }, z.core.$strict>;
1818
+ };
1819
+ deletePost: {
1820
+ readonly path: "/management/posts/delete";
1821
+ readonly input: z.ZodObject<{
1822
+ id: z.ZodUUID;
1823
+ }, z.core.$strict>;
1824
+ readonly output: z.ZodObject<{
1825
+ deleted: z.ZodLiteral<true>;
1826
+ id: z.ZodUUID;
1827
+ }, z.core.$strict>;
1828
+ };
1829
+ listPages: {
1830
+ readonly path: "/management/pages/list";
1831
+ readonly input: z.ZodObject<{
1832
+ limit: z.ZodDefault<z.ZodNumber>;
1833
+ cursor: z.ZodOptional<z.ZodUUID>;
1834
+ status: z.ZodOptional<z.ZodEnum<{
1835
+ archived: "archived";
1836
+ draft: "draft";
1837
+ published: "published";
1838
+ }>>;
1839
+ position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1840
+ navigation: "navigation";
1841
+ sidebar: "sidebar";
1842
+ }>>>;
1843
+ }, z.core.$strict>;
1844
+ readonly output: z.ZodObject<{
1845
+ items: z.ZodArray<z.ZodObject<{
1846
+ title: z.ZodString;
1847
+ slug: z.ZodString;
1848
+ summary: z.ZodString;
1849
+ content: z.ZodString;
1850
+ position: z.ZodNullable<z.ZodEnum<{
1851
+ navigation: "navigation";
1852
+ sidebar: "sidebar";
1853
+ }>>;
1854
+ sortOrder: z.ZodNumber;
1855
+ id: z.ZodUUID;
1856
+ status: z.ZodEnum<{
1857
+ archived: "archived";
1858
+ draft: "draft";
1859
+ published: "published";
1860
+ }>;
1861
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1862
+ createdAt: z.ZodISODateTime;
1863
+ updatedAt: z.ZodISODateTime;
1864
+ }, z.core.$strict>>;
1865
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1866
+ }, z.core.$strict>;
1867
+ };
1868
+ readPage: {
1869
+ readonly path: "/management/pages/read";
1870
+ readonly input: z.ZodObject<{
1871
+ id: z.ZodUUID;
1872
+ }, z.core.$strict>;
1873
+ readonly output: z.ZodObject<{
1874
+ item: z.ZodObject<{
1875
+ title: z.ZodString;
1876
+ slug: z.ZodString;
1877
+ summary: z.ZodString;
1878
+ content: z.ZodString;
1879
+ position: z.ZodNullable<z.ZodEnum<{
1880
+ navigation: "navigation";
1881
+ sidebar: "sidebar";
1882
+ }>>;
1883
+ sortOrder: z.ZodNumber;
1884
+ id: z.ZodUUID;
1885
+ status: z.ZodEnum<{
1886
+ archived: "archived";
1887
+ draft: "draft";
1888
+ published: "published";
1889
+ }>;
1890
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1891
+ createdAt: z.ZodISODateTime;
1892
+ updatedAt: z.ZodISODateTime;
1893
+ }, z.core.$strict>;
1894
+ }, z.core.$strict>;
1895
+ };
1896
+ createPage: {
1897
+ readonly path: "/management/pages/create";
1898
+ readonly input: z.ZodObject<{
1899
+ title: z.ZodString;
1900
+ slug: z.ZodString;
1901
+ summary: z.ZodString;
1902
+ content: z.ZodString;
1903
+ position: z.ZodNullable<z.ZodEnum<{
1904
+ navigation: "navigation";
1905
+ sidebar: "sidebar";
1906
+ }>>;
1907
+ sortOrder: z.ZodNumber;
1908
+ }, z.core.$strict>;
1909
+ readonly output: z.ZodObject<{
1910
+ item: z.ZodObject<{
1911
+ title: z.ZodString;
1912
+ slug: z.ZodString;
1913
+ summary: z.ZodString;
1914
+ content: z.ZodString;
1915
+ position: z.ZodNullable<z.ZodEnum<{
1916
+ navigation: "navigation";
1917
+ sidebar: "sidebar";
1918
+ }>>;
1919
+ sortOrder: z.ZodNumber;
1920
+ id: z.ZodUUID;
1921
+ status: z.ZodEnum<{
1922
+ archived: "archived";
1923
+ draft: "draft";
1924
+ published: "published";
1925
+ }>;
1926
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1927
+ createdAt: z.ZodISODateTime;
1928
+ updatedAt: z.ZodISODateTime;
1929
+ }, z.core.$strict>;
1930
+ }, z.core.$strict>;
1931
+ };
1932
+ updatePage: {
1933
+ readonly path: "/management/pages/update";
1934
+ readonly input: z.ZodObject<{
1935
+ title: z.ZodString;
1936
+ slug: z.ZodString;
1937
+ summary: z.ZodString;
1938
+ content: z.ZodString;
1939
+ position: z.ZodNullable<z.ZodEnum<{
1940
+ navigation: "navigation";
1941
+ sidebar: "sidebar";
1942
+ }>>;
1943
+ sortOrder: z.ZodNumber;
1944
+ id: z.ZodUUID;
1945
+ }, z.core.$strict>;
1946
+ readonly output: z.ZodObject<{
1947
+ item: z.ZodObject<{
1948
+ title: z.ZodString;
1949
+ slug: z.ZodString;
1950
+ summary: z.ZodString;
1951
+ content: z.ZodString;
1952
+ position: z.ZodNullable<z.ZodEnum<{
1953
+ navigation: "navigation";
1954
+ sidebar: "sidebar";
1955
+ }>>;
1956
+ sortOrder: z.ZodNumber;
1957
+ id: z.ZodUUID;
1958
+ status: z.ZodEnum<{
1959
+ archived: "archived";
1960
+ draft: "draft";
1961
+ published: "published";
1962
+ }>;
1963
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1964
+ createdAt: z.ZodISODateTime;
1965
+ updatedAt: z.ZodISODateTime;
1966
+ }, z.core.$strict>;
1967
+ }, z.core.$strict>;
1968
+ };
1969
+ publishPage: {
1970
+ readonly path: "/management/pages/publish";
1971
+ readonly input: z.ZodObject<{
1972
+ id: z.ZodUUID;
1973
+ }, z.core.$strict>;
1974
+ readonly output: z.ZodObject<{
1975
+ item: z.ZodObject<{
1976
+ title: z.ZodString;
1977
+ slug: z.ZodString;
1978
+ summary: z.ZodString;
1979
+ content: z.ZodString;
1980
+ position: z.ZodNullable<z.ZodEnum<{
1981
+ navigation: "navigation";
1982
+ sidebar: "sidebar";
1983
+ }>>;
1984
+ sortOrder: z.ZodNumber;
1985
+ id: z.ZodUUID;
1986
+ status: z.ZodEnum<{
1987
+ archived: "archived";
1988
+ draft: "draft";
1989
+ published: "published";
1990
+ }>;
1991
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1992
+ createdAt: z.ZodISODateTime;
1993
+ updatedAt: z.ZodISODateTime;
1994
+ }, z.core.$strict>;
1995
+ }, z.core.$strict>;
1996
+ };
1997
+ archivePage: {
1998
+ readonly path: "/management/pages/archive";
1999
+ readonly input: z.ZodObject<{
2000
+ id: z.ZodUUID;
2001
+ }, z.core.$strict>;
2002
+ readonly output: z.ZodObject<{
2003
+ item: z.ZodObject<{
2004
+ title: z.ZodString;
2005
+ slug: z.ZodString;
2006
+ summary: z.ZodString;
2007
+ content: z.ZodString;
2008
+ position: z.ZodNullable<z.ZodEnum<{
2009
+ navigation: "navigation";
2010
+ sidebar: "sidebar";
2011
+ }>>;
2012
+ sortOrder: z.ZodNumber;
2013
+ id: z.ZodUUID;
2014
+ status: z.ZodEnum<{
2015
+ archived: "archived";
2016
+ draft: "draft";
2017
+ published: "published";
2018
+ }>;
2019
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
2020
+ createdAt: z.ZodISODateTime;
2021
+ updatedAt: z.ZodISODateTime;
2022
+ }, z.core.$strict>;
2023
+ }, z.core.$strict>;
2024
+ };
2025
+ deletePage: {
2026
+ readonly path: "/management/pages/delete";
2027
+ readonly input: z.ZodObject<{
2028
+ id: z.ZodUUID;
2029
+ }, z.core.$strict>;
2030
+ readonly output: z.ZodObject<{
2031
+ deleted: z.ZodLiteral<true>;
2032
+ id: z.ZodUUID;
2033
+ }, z.core.$strict>;
2034
+ };
2035
+ listComments: {
2036
+ readonly path: "/management/comments/list";
2037
+ readonly input: z.ZodObject<{
2038
+ limit: z.ZodDefault<z.ZodNumber>;
2039
+ cursor: z.ZodOptional<z.ZodUUID>;
2040
+ status: z.ZodOptional<z.ZodEnum<{
2041
+ approved: "approved";
2042
+ pending: "pending";
2043
+ rejected: "rejected";
2044
+ }>>;
2045
+ postId: z.ZodOptional<z.ZodUUID>;
2046
+ order: z.ZodDefault<z.ZodEnum<{
2047
+ asc: "asc";
2048
+ desc: "desc";
2049
+ }>>;
2050
+ }, z.core.$strict>;
2051
+ readonly output: z.ZodObject<{
2052
+ items: z.ZodArray<z.ZodObject<{
2053
+ id: z.ZodUUID;
2054
+ postId: z.ZodUUID;
2055
+ userId: z.ZodUUID;
2056
+ content: z.ZodString;
2057
+ replyContent: z.ZodNullable<z.ZodString>;
2058
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
2059
+ userAgent: z.ZodNullable<z.ZodString>;
2060
+ ipLocation: z.ZodNullable<z.ZodString>;
2061
+ clientLabel: z.ZodNullable<z.ZodString>;
2062
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
2063
+ status: z.ZodEnum<{
2064
+ approved: "approved";
2065
+ pending: "pending";
2066
+ rejected: "rejected";
2067
+ }>;
2068
+ createdAt: z.ZodISODateTime;
2069
+ updatedAt: z.ZodISODateTime;
2070
+ }, z.core.$strict>>;
2071
+ nextCursor: z.ZodNullable<z.ZodUUID>;
2072
+ }, z.core.$strict>;
2073
+ };
2074
+ readComment: {
2075
+ readonly path: "/management/comments/read";
2076
+ readonly input: z.ZodObject<{
2077
+ id: z.ZodUUID;
2078
+ }, z.core.$strict>;
2079
+ readonly output: z.ZodObject<{
2080
+ item: z.ZodObject<{
2081
+ id: z.ZodUUID;
2082
+ postId: z.ZodUUID;
2083
+ userId: z.ZodUUID;
2084
+ content: z.ZodString;
2085
+ replyContent: z.ZodNullable<z.ZodString>;
2086
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
2087
+ userAgent: z.ZodNullable<z.ZodString>;
2088
+ ipLocation: z.ZodNullable<z.ZodString>;
2089
+ clientLabel: z.ZodNullable<z.ZodString>;
2090
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
2091
+ status: z.ZodEnum<{
2092
+ approved: "approved";
2093
+ pending: "pending";
2094
+ rejected: "rejected";
2095
+ }>;
2096
+ createdAt: z.ZodISODateTime;
2097
+ updatedAt: z.ZodISODateTime;
2098
+ }, z.core.$strict>;
2099
+ }, z.core.$strict>;
2100
+ };
2101
+ approveComment: {
2102
+ readonly path: "/management/comments/approve";
2103
+ readonly input: z.ZodObject<{
2104
+ id: z.ZodUUID;
2105
+ }, z.core.$strict>;
2106
+ readonly output: z.ZodObject<{
2107
+ item: z.ZodObject<{
2108
+ id: z.ZodUUID;
2109
+ postId: z.ZodUUID;
2110
+ userId: z.ZodUUID;
2111
+ content: z.ZodString;
2112
+ replyContent: z.ZodNullable<z.ZodString>;
2113
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
2114
+ userAgent: z.ZodNullable<z.ZodString>;
2115
+ ipLocation: z.ZodNullable<z.ZodString>;
2116
+ clientLabel: z.ZodNullable<z.ZodString>;
2117
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
2118
+ status: z.ZodEnum<{
2119
+ approved: "approved";
2120
+ pending: "pending";
2121
+ rejected: "rejected";
2122
+ }>;
2123
+ createdAt: z.ZodISODateTime;
2124
+ updatedAt: z.ZodISODateTime;
2125
+ }, z.core.$strict>;
2126
+ }, z.core.$strict>;
2127
+ };
2128
+ rejectComment: {
2129
+ readonly path: "/management/comments/reject";
2130
+ readonly input: z.ZodObject<{
2131
+ id: z.ZodUUID;
2132
+ }, z.core.$strict>;
2133
+ readonly output: z.ZodObject<{
2134
+ item: z.ZodObject<{
2135
+ id: z.ZodUUID;
2136
+ postId: z.ZodUUID;
2137
+ userId: z.ZodUUID;
2138
+ content: z.ZodString;
2139
+ replyContent: z.ZodNullable<z.ZodString>;
2140
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
2141
+ userAgent: z.ZodNullable<z.ZodString>;
2142
+ ipLocation: z.ZodNullable<z.ZodString>;
2143
+ clientLabel: z.ZodNullable<z.ZodString>;
2144
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
2145
+ status: z.ZodEnum<{
2146
+ approved: "approved";
2147
+ pending: "pending";
2148
+ rejected: "rejected";
2149
+ }>;
2150
+ createdAt: z.ZodISODateTime;
2151
+ updatedAt: z.ZodISODateTime;
2152
+ }, z.core.$strict>;
2153
+ }, z.core.$strict>;
2154
+ };
2155
+ replyComment: {
2156
+ readonly path: "/management/comments/reply";
2157
+ readonly input: z.ZodObject<{
2158
+ id: z.ZodUUID;
2159
+ replyContent: z.ZodNullable<z.ZodString>;
2160
+ }, z.core.$strict>;
2161
+ readonly output: z.ZodObject<{
2162
+ item: z.ZodObject<{
2163
+ id: z.ZodUUID;
2164
+ postId: z.ZodUUID;
2165
+ userId: z.ZodUUID;
2166
+ content: z.ZodString;
2167
+ replyContent: z.ZodNullable<z.ZodString>;
2168
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
2169
+ userAgent: z.ZodNullable<z.ZodString>;
2170
+ ipLocation: z.ZodNullable<z.ZodString>;
2171
+ clientLabel: z.ZodNullable<z.ZodString>;
2172
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
2173
+ status: z.ZodEnum<{
2174
+ approved: "approved";
2175
+ pending: "pending";
2176
+ rejected: "rejected";
2177
+ }>;
2178
+ createdAt: z.ZodISODateTime;
2179
+ updatedAt: z.ZodISODateTime;
2180
+ }, z.core.$strict>;
2181
+ }, z.core.$strict>;
2182
+ };
2183
+ deleteComment: {
2184
+ readonly path: "/management/comments/delete";
2185
+ readonly input: z.ZodObject<{
2186
+ id: z.ZodUUID;
2187
+ }, z.core.$strict>;
2188
+ readonly output: z.ZodObject<{
2189
+ deleted: z.ZodLiteral<true>;
2190
+ id: z.ZodUUID;
2191
+ }, z.core.$strict>;
2192
+ };
2193
+ listFriendLinks: {
2194
+ readonly path: "/management/friend-links/list";
2195
+ readonly input: z.ZodObject<{
2196
+ limit: z.ZodDefault<z.ZodNumber>;
2197
+ cursor: z.ZodOptional<z.ZodUUID>;
2198
+ }, z.core.$strict>;
2199
+ readonly output: z.ZodObject<{
2200
+ items: z.ZodArray<z.ZodObject<{
2201
+ name: z.ZodString;
2202
+ url: z.ZodURL;
2203
+ description: z.ZodNullable<z.ZodString>;
2204
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2205
+ enabled: z.ZodBoolean;
2206
+ sortOrder: z.ZodNumber;
2207
+ id: z.ZodUUID;
2208
+ createdAt: z.ZodISODateTime;
2209
+ updatedAt: z.ZodISODateTime;
2210
+ }, z.core.$strict>>;
2211
+ nextCursor: z.ZodNullable<z.ZodUUID>;
2212
+ }, z.core.$strict>;
2213
+ };
2214
+ readFriendLink: {
2215
+ readonly path: "/management/friend-links/read";
2216
+ readonly input: z.ZodObject<{
2217
+ id: z.ZodUUID;
2218
+ }, z.core.$strict>;
2219
+ readonly output: z.ZodObject<{
2220
+ item: z.ZodObject<{
2221
+ name: z.ZodString;
2222
+ url: z.ZodURL;
2223
+ description: z.ZodNullable<z.ZodString>;
2224
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2225
+ enabled: z.ZodBoolean;
2226
+ sortOrder: z.ZodNumber;
2227
+ id: z.ZodUUID;
2228
+ createdAt: z.ZodISODateTime;
2229
+ updatedAt: z.ZodISODateTime;
2230
+ }, z.core.$strict>;
2231
+ }, z.core.$strict>;
2232
+ };
2233
+ createFriendLink: {
2234
+ readonly path: "/management/friend-links/create";
2235
+ readonly input: z.ZodObject<{
2236
+ name: z.ZodString;
2237
+ url: z.ZodURL;
2238
+ description: z.ZodNullable<z.ZodString>;
2239
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2240
+ enabled: z.ZodBoolean;
2241
+ sortOrder: z.ZodNumber;
2242
+ }, z.core.$strict>;
2243
+ readonly output: z.ZodObject<{
2244
+ item: z.ZodObject<{
2245
+ name: z.ZodString;
2246
+ url: z.ZodURL;
2247
+ description: z.ZodNullable<z.ZodString>;
2248
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2249
+ enabled: z.ZodBoolean;
2250
+ sortOrder: z.ZodNumber;
2251
+ id: z.ZodUUID;
2252
+ createdAt: z.ZodISODateTime;
2253
+ updatedAt: z.ZodISODateTime;
2254
+ }, z.core.$strict>;
2255
+ }, z.core.$strict>;
2256
+ };
2257
+ updateFriendLink: {
2258
+ readonly path: "/management/friend-links/update";
2259
+ readonly input: z.ZodObject<{
2260
+ name: z.ZodString;
2261
+ url: z.ZodURL;
2262
+ description: z.ZodNullable<z.ZodString>;
2263
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2264
+ enabled: z.ZodBoolean;
2265
+ sortOrder: z.ZodNumber;
2266
+ id: z.ZodUUID;
2267
+ }, z.core.$strict>;
2268
+ readonly output: z.ZodObject<{
2269
+ item: z.ZodObject<{
2270
+ name: z.ZodString;
2271
+ url: z.ZodURL;
2272
+ description: z.ZodNullable<z.ZodString>;
2273
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2274
+ enabled: z.ZodBoolean;
2275
+ sortOrder: z.ZodNumber;
2276
+ id: z.ZodUUID;
2277
+ createdAt: z.ZodISODateTime;
2278
+ updatedAt: z.ZodISODateTime;
2279
+ }, z.core.$strict>;
2280
+ }, z.core.$strict>;
2281
+ };
2282
+ enableFriendLink: {
2283
+ readonly path: "/management/friend-links/enable";
2284
+ readonly input: z.ZodObject<{
2285
+ id: z.ZodUUID;
2286
+ }, z.core.$strict>;
2287
+ readonly output: z.ZodObject<{
2288
+ item: z.ZodObject<{
2289
+ name: z.ZodString;
2290
+ url: z.ZodURL;
2291
+ description: z.ZodNullable<z.ZodString>;
2292
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2293
+ enabled: z.ZodBoolean;
2294
+ sortOrder: z.ZodNumber;
2295
+ id: z.ZodUUID;
2296
+ createdAt: z.ZodISODateTime;
2297
+ updatedAt: z.ZodISODateTime;
2298
+ }, z.core.$strict>;
2299
+ }, z.core.$strict>;
2300
+ };
2301
+ disableFriendLink: {
2302
+ readonly path: "/management/friend-links/disable";
2303
+ readonly input: z.ZodObject<{
2304
+ id: z.ZodUUID;
2305
+ }, z.core.$strict>;
2306
+ readonly output: z.ZodObject<{
2307
+ item: z.ZodObject<{
2308
+ name: z.ZodString;
2309
+ url: z.ZodURL;
2310
+ description: z.ZodNullable<z.ZodString>;
2311
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
2312
+ enabled: z.ZodBoolean;
2313
+ sortOrder: z.ZodNumber;
2314
+ id: z.ZodUUID;
2315
+ createdAt: z.ZodISODateTime;
2316
+ updatedAt: z.ZodISODateTime;
2317
+ }, z.core.$strict>;
2318
+ }, z.core.$strict>;
2319
+ };
2320
+ deleteFriendLink: {
2321
+ readonly path: "/management/friend-links/delete";
2322
+ readonly input: z.ZodObject<{
2323
+ id: z.ZodUUID;
2324
+ }, z.core.$strict>;
2325
+ readonly output: z.ZodObject<{
2326
+ deleted: z.ZodLiteral<true>;
2327
+ id: z.ZodUUID;
2328
+ }, z.core.$strict>;
2329
+ };
2330
+ listThemes: {
2331
+ readonly path: "/management/themes/list";
2332
+ readonly input: z.ZodObject<{}, z.core.$strict>;
2333
+ readonly output: z.ZodObject<{
2334
+ reconciledAt: z.ZodISODateTime;
2335
+ selection: z.ZodObject<{
2336
+ themeId: z.ZodReadonly<z.ZodString>;
2337
+ revision: z.ZodReadonly<z.ZodNumber>;
2338
+ updatedAt: z.ZodISODateTime;
2339
+ updatedBy: z.ZodString;
2340
+ }, z.core.$strict>;
2341
+ themes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2342
+ themeId: z.ZodReadonly<z.ZodString>;
2343
+ displayName: z.ZodString;
2344
+ description: z.ZodNullable<z.ZodString>;
2345
+ generation: z.ZodNumber;
2346
+ buildId: z.ZodString;
2347
+ instanceCount: z.ZodNumber;
2348
+ status: z.ZodEnum<{
2349
+ activating: "activating";
2350
+ active: "active";
2351
+ available: "available";
2352
+ conflicted: "conflicted";
2353
+ fallback: "fallback";
2354
+ selected: "selected";
2355
+ unavailable: "unavailable";
2356
+ }>;
2357
+ }, z.core.$strict>>>;
2358
+ }, z.core.$strict>;
2359
+ };
2360
+ readThemeSelection: {
2361
+ readonly path: "/management/themes/read-selection";
2362
+ readonly input: z.ZodObject<{}, z.core.$strict>;
2363
+ readonly output: z.ZodObject<{
2364
+ themeId: z.ZodReadonly<z.ZodString>;
2365
+ revision: z.ZodReadonly<z.ZodNumber>;
2366
+ updatedAt: z.ZodISODateTime;
2367
+ updatedBy: z.ZodString;
2368
+ }, z.core.$strict>;
2369
+ };
2370
+ readThemeStatus: {
2371
+ readonly path: "/management/themes/read-status";
2372
+ readonly input: z.ZodObject<{
2373
+ themeId: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
2374
+ }, z.core.$strict>;
2375
+ readonly output: z.ZodObject<{
2376
+ themeId: z.ZodReadonly<z.ZodString>;
2377
+ displayName: z.ZodString;
2378
+ description: z.ZodNullable<z.ZodString>;
2379
+ generation: z.ZodNumber;
2380
+ buildId: z.ZodString;
2381
+ instanceCount: z.ZodNumber;
2382
+ status: z.ZodEnum<{
2383
+ activating: "activating";
2384
+ active: "active";
2385
+ available: "available";
2386
+ conflicted: "conflicted";
2387
+ fallback: "fallback";
2388
+ selected: "selected";
2389
+ unavailable: "unavailable";
2390
+ }>;
2391
+ }, z.core.$strict>;
2392
+ };
2393
+ selectTheme: {
2394
+ readonly path: "/management/themes/select";
2395
+ readonly input: z.ZodObject<{
2396
+ themeId: z.ZodReadonly<z.ZodString>;
2397
+ actor: z.ZodString;
2398
+ }, z.core.$strict>;
2399
+ readonly output: z.ZodObject<{
2400
+ reconciledAt: z.ZodISODateTime;
2401
+ selection: z.ZodObject<{
2402
+ themeId: z.ZodReadonly<z.ZodString>;
2403
+ revision: z.ZodReadonly<z.ZodNumber>;
2404
+ updatedAt: z.ZodISODateTime;
2405
+ updatedBy: z.ZodString;
2406
+ }, z.core.$strict>;
2407
+ themes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2408
+ themeId: z.ZodReadonly<z.ZodString>;
2409
+ displayName: z.ZodString;
2410
+ description: z.ZodNullable<z.ZodString>;
2411
+ generation: z.ZodNumber;
2412
+ buildId: z.ZodString;
2413
+ instanceCount: z.ZodNumber;
2414
+ status: z.ZodEnum<{
2415
+ activating: "activating";
2416
+ active: "active";
2417
+ available: "available";
2418
+ conflicted: "conflicted";
2419
+ fallback: "fallback";
2420
+ selected: "selected";
2421
+ unavailable: "unavailable";
2422
+ }>;
2423
+ }, z.core.$strict>>>;
2424
+ }, z.core.$strict>;
2425
+ };
2426
+ }>;
2427
+ }>;
2428
+ export type BlogContractClient<Options> = MicroClient<typeof blogMicroContract, Options>;
2429
+ //# sourceMappingURL=contract.d.ts.map