@zlooks.cn/blog-shared 1.0.2 → 1.0.3

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,1703 @@
1
+ import { type MicroClient } from '@hile/micro-contract';
2
+ import { z } from 'zod';
3
+ export declare const blogResourceDocumentSchema: z.ZodJSONSchema;
4
+ export declare const blogListPostsMicroResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ outcome: z.ZodLiteral<"ok">;
6
+ data: z.ZodReadonly<z.ZodObject<{
7
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8
+ id: z.ZodUUID;
9
+ category: z.ZodReadonly<z.ZodObject<{
10
+ id: z.ZodUUID;
11
+ name: z.ZodString;
12
+ slug: z.ZodReadonly<z.ZodString>;
13
+ description: z.ZodNullable<z.ZodString>;
14
+ sortOrder: z.ZodNumber;
15
+ }, z.core.$strict>>;
16
+ title: z.ZodString;
17
+ slug: z.ZodReadonly<z.ZodString>;
18
+ summary: z.ZodNullable<z.ZodString>;
19
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
20
+ publishedAt: z.ZodISODateTime;
21
+ updatedAt: z.ZodISODateTime;
22
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
23
+ id: z.ZodUUID;
24
+ name: z.ZodString;
25
+ slug: z.ZodReadonly<z.ZodString>;
26
+ }, z.core.$strict>>>>;
27
+ }, z.core.$strict>>>>;
28
+ nextCursor: z.ZodNullable<z.ZodUUID>;
29
+ total: z.ZodNumber;
30
+ }, z.core.$strict>>;
31
+ }, z.core.$strict>, z.ZodObject<{
32
+ outcome: z.ZodLiteral<"invalid-cursor">;
33
+ }, z.core.$strict>], "outcome">;
34
+ export declare const blogCreateCommentMicroResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
35
+ outcome: z.ZodLiteral<"ok">;
36
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
37
+ authenticated: z.ZodLiteral<false>;
38
+ }, z.core.$strict>, z.ZodObject<{
39
+ authenticated: z.ZodLiteral<true>;
40
+ comment: z.ZodReadonly<z.ZodObject<{
41
+ id: z.ZodUUID;
42
+ postId: z.ZodUUID;
43
+ user: z.ZodReadonly<z.ZodObject<{
44
+ id: z.ZodUUID;
45
+ displayName: z.ZodNullable<z.ZodString>;
46
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
47
+ homepage: z.ZodNullable<z.ZodURL>;
48
+ bio: z.ZodNullable<z.ZodString>;
49
+ }, z.core.$strict>>;
50
+ content: z.ZodString;
51
+ replyContent: z.ZodNullable<z.ZodString>;
52
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
53
+ createdAt: z.ZodISODateTime;
54
+ location: z.ZodNullable<z.ZodString>;
55
+ client: z.ZodNullable<z.ZodString>;
56
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
57
+ }, z.core.$strict>>;
58
+ }, z.core.$strict>], "authenticated">>;
59
+ }, z.core.$strict>, z.ZodObject<{
60
+ outcome: z.ZodLiteral<"conflict">;
61
+ }, z.core.$strict>], "outcome">;
62
+ export declare const blogSetPostLikedMicroResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
63
+ outcome: z.ZodLiteral<"ok">;
64
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
65
+ authenticated: z.ZodLiteral<false>;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ authenticated: z.ZodLiteral<true>;
68
+ result: z.ZodReadonly<z.ZodObject<{
69
+ liked: z.ZodBoolean;
70
+ likeCount: z.ZodNumber;
71
+ }, z.core.$strict>>;
72
+ }, z.core.$strict>], "authenticated">>;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ outcome: z.ZodLiteral<"conflict">;
75
+ }, z.core.$strict>], "outcome">;
76
+ export declare const blogMicroContract: Readonly<{
77
+ namespace: string;
78
+ operations: Readonly<{
79
+ listPublicPosts: {
80
+ readonly path: "/public/posts/list";
81
+ readonly input: z.ZodReadonly<z.ZodObject<{
82
+ limit: z.ZodNumber;
83
+ cursor: z.ZodOptional<z.ZodUUID>;
84
+ page: z.ZodOptional<z.ZodNumber>;
85
+ categorySlug: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
86
+ tagSlug: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
87
+ }, z.core.$strict>>;
88
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
89
+ outcome: z.ZodLiteral<"ok">;
90
+ data: z.ZodReadonly<z.ZodObject<{
91
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
92
+ id: z.ZodUUID;
93
+ category: z.ZodReadonly<z.ZodObject<{
94
+ id: z.ZodUUID;
95
+ name: z.ZodString;
96
+ slug: z.ZodReadonly<z.ZodString>;
97
+ description: z.ZodNullable<z.ZodString>;
98
+ sortOrder: z.ZodNumber;
99
+ }, z.core.$strict>>;
100
+ title: z.ZodString;
101
+ slug: z.ZodReadonly<z.ZodString>;
102
+ summary: z.ZodNullable<z.ZodString>;
103
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
104
+ publishedAt: z.ZodISODateTime;
105
+ updatedAt: z.ZodISODateTime;
106
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
107
+ id: z.ZodUUID;
108
+ name: z.ZodString;
109
+ slug: z.ZodReadonly<z.ZodString>;
110
+ }, z.core.$strict>>>>;
111
+ }, z.core.$strict>>>>;
112
+ nextCursor: z.ZodNullable<z.ZodUUID>;
113
+ total: z.ZodNumber;
114
+ }, z.core.$strict>>;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ outcome: z.ZodLiteral<"invalid-cursor">;
117
+ }, z.core.$strict>], "outcome">;
118
+ };
119
+ searchPublicPosts: {
120
+ readonly path: "/public/posts/search";
121
+ readonly input: z.ZodReadonly<z.ZodObject<{
122
+ query: z.ZodString;
123
+ limit: z.ZodNumber;
124
+ }, z.core.$strict>>;
125
+ readonly output: z.ZodReadonly<z.ZodObject<{
126
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
127
+ id: z.ZodUUID;
128
+ category: z.ZodReadonly<z.ZodObject<{
129
+ id: z.ZodUUID;
130
+ name: z.ZodString;
131
+ slug: z.ZodReadonly<z.ZodString>;
132
+ description: z.ZodNullable<z.ZodString>;
133
+ sortOrder: z.ZodNumber;
134
+ }, z.core.$strict>>;
135
+ title: z.ZodString;
136
+ slug: z.ZodReadonly<z.ZodString>;
137
+ summary: z.ZodNullable<z.ZodString>;
138
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
139
+ publishedAt: z.ZodISODateTime;
140
+ updatedAt: z.ZodISODateTime;
141
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
142
+ id: z.ZodUUID;
143
+ name: z.ZodString;
144
+ slug: z.ZodReadonly<z.ZodString>;
145
+ }, z.core.$strict>>>>;
146
+ }, z.core.$strict>>>>;
147
+ }, z.core.$strict>>;
148
+ };
149
+ listPublicPostArchive: {
150
+ readonly path: "/public/posts/archive";
151
+ readonly input: z.ZodReadonly<z.ZodObject<{
152
+ limit: z.ZodNumber;
153
+ monthLimit: z.ZodNumber;
154
+ cursor: z.ZodOptional<z.ZodUUID>;
155
+ page: z.ZodOptional<z.ZodNumber>;
156
+ year: z.ZodOptional<z.ZodNumber>;
157
+ month: z.ZodOptional<z.ZodNumber>;
158
+ startYear: z.ZodOptional<z.ZodNumber>;
159
+ startMonth: z.ZodOptional<z.ZodNumber>;
160
+ endYear: z.ZodOptional<z.ZodNumber>;
161
+ endMonth: z.ZodOptional<z.ZodNumber>;
162
+ }, z.core.$strict>>;
163
+ readonly output: z.ZodReadonly<z.ZodObject<{
164
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
165
+ id: z.ZodUUID;
166
+ category: z.ZodReadonly<z.ZodObject<{
167
+ id: z.ZodUUID;
168
+ name: z.ZodString;
169
+ slug: z.ZodReadonly<z.ZodString>;
170
+ description: z.ZodNullable<z.ZodString>;
171
+ sortOrder: z.ZodNumber;
172
+ }, z.core.$strict>>;
173
+ title: z.ZodString;
174
+ slug: z.ZodReadonly<z.ZodString>;
175
+ summary: z.ZodNullable<z.ZodString>;
176
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
177
+ publishedAt: z.ZodISODateTime;
178
+ updatedAt: z.ZodISODateTime;
179
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
180
+ id: z.ZodUUID;
181
+ name: z.ZodString;
182
+ slug: z.ZodReadonly<z.ZodString>;
183
+ }, z.core.$strict>>>>;
184
+ }, z.core.$strict>>>>;
185
+ months: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
186
+ year: z.ZodNumber;
187
+ month: z.ZodNumber;
188
+ count: z.ZodNumber;
189
+ }, z.core.$strict>>>>;
190
+ nextCursor: z.ZodNullable<z.ZodUUID>;
191
+ total: z.ZodNumber;
192
+ }, z.core.$strict>>;
193
+ };
194
+ readPublicPost: {
195
+ readonly path: "/public/posts/read";
196
+ readonly input: z.ZodReadonly<z.ZodObject<{
197
+ slug: z.ZodReadonly<z.ZodString>;
198
+ }, z.core.$strict>>;
199
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
200
+ found: z.ZodLiteral<false>;
201
+ }, z.core.$strict>, z.ZodObject<{
202
+ found: z.ZodLiteral<true>;
203
+ post: z.ZodReadonly<z.ZodObject<{
204
+ id: z.ZodUUID;
205
+ category: z.ZodReadonly<z.ZodObject<{
206
+ id: z.ZodUUID;
207
+ name: z.ZodString;
208
+ slug: z.ZodReadonly<z.ZodString>;
209
+ description: z.ZodNullable<z.ZodString>;
210
+ sortOrder: z.ZodNumber;
211
+ }, z.core.$strict>>;
212
+ title: z.ZodString;
213
+ slug: z.ZodReadonly<z.ZodString>;
214
+ summary: z.ZodNullable<z.ZodString>;
215
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
216
+ publishedAt: z.ZodISODateTime;
217
+ updatedAt: z.ZodISODateTime;
218
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
219
+ id: z.ZodUUID;
220
+ name: z.ZodString;
221
+ slug: z.ZodReadonly<z.ZodString>;
222
+ }, z.core.$strict>>>>;
223
+ content: z.ZodString;
224
+ }, z.core.$strict>>;
225
+ }, z.core.$strict>], "found">>;
226
+ };
227
+ openPublicPost: {
228
+ readonly path: "/public/posts/open";
229
+ readonly input: z.ZodReadonly<z.ZodObject<{
230
+ slug: z.ZodReadonly<z.ZodString>;
231
+ }, z.core.$strict>>;
232
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
233
+ found: z.ZodLiteral<false>;
234
+ }, z.core.$strict>, z.ZodObject<{
235
+ found: z.ZodLiteral<true>;
236
+ post: z.ZodReadonly<z.ZodObject<{
237
+ id: z.ZodUUID;
238
+ category: z.ZodReadonly<z.ZodObject<{
239
+ id: z.ZodUUID;
240
+ name: z.ZodString;
241
+ slug: z.ZodReadonly<z.ZodString>;
242
+ description: z.ZodNullable<z.ZodString>;
243
+ sortOrder: z.ZodNumber;
244
+ }, z.core.$strict>>;
245
+ title: z.ZodString;
246
+ slug: z.ZodReadonly<z.ZodString>;
247
+ summary: z.ZodNullable<z.ZodString>;
248
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
249
+ publishedAt: z.ZodISODateTime;
250
+ updatedAt: z.ZodISODateTime;
251
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
252
+ id: z.ZodUUID;
253
+ name: z.ZodString;
254
+ slug: z.ZodReadonly<z.ZodString>;
255
+ }, z.core.$strict>>>>;
256
+ content: z.ZodString;
257
+ }, z.core.$strict>>;
258
+ engagement: z.ZodReadonly<z.ZodObject<{
259
+ viewCount: z.ZodNumber;
260
+ likeCount: z.ZodNumber;
261
+ viewerState: z.ZodEnum<{
262
+ anonymous: "anonymous";
263
+ liked: "liked";
264
+ "not-liked": "not-liked";
265
+ unavailable: "unavailable";
266
+ }>;
267
+ }, z.core.$strict>>;
268
+ }, z.core.$strict>], "found">>;
269
+ };
270
+ readPublicPostConnections: {
271
+ readonly path: "/public/posts/connections";
272
+ readonly input: z.ZodReadonly<z.ZodObject<{
273
+ slug: z.ZodReadonly<z.ZodString>;
274
+ relatedLimit: z.ZodNumber;
275
+ }, z.core.$strict>>;
276
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
277
+ found: z.ZodLiteral<false>;
278
+ }, z.core.$strict>, z.ZodObject<{
279
+ found: z.ZodLiteral<true>;
280
+ connections: z.ZodReadonly<z.ZodObject<{
281
+ previousPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
282
+ id: z.ZodUUID;
283
+ category: z.ZodReadonly<z.ZodObject<{
284
+ id: z.ZodUUID;
285
+ name: z.ZodString;
286
+ slug: z.ZodReadonly<z.ZodString>;
287
+ description: z.ZodNullable<z.ZodString>;
288
+ sortOrder: z.ZodNumber;
289
+ }, z.core.$strict>>;
290
+ title: z.ZodString;
291
+ slug: z.ZodReadonly<z.ZodString>;
292
+ summary: z.ZodNullable<z.ZodString>;
293
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
294
+ publishedAt: z.ZodISODateTime;
295
+ updatedAt: z.ZodISODateTime;
296
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
297
+ id: z.ZodUUID;
298
+ name: z.ZodString;
299
+ slug: z.ZodReadonly<z.ZodString>;
300
+ }, z.core.$strict>>>>;
301
+ }, z.core.$strict>>>;
302
+ nextPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
303
+ id: z.ZodUUID;
304
+ category: z.ZodReadonly<z.ZodObject<{
305
+ id: z.ZodUUID;
306
+ name: z.ZodString;
307
+ slug: z.ZodReadonly<z.ZodString>;
308
+ description: z.ZodNullable<z.ZodString>;
309
+ sortOrder: z.ZodNumber;
310
+ }, z.core.$strict>>;
311
+ title: z.ZodString;
312
+ slug: z.ZodReadonly<z.ZodString>;
313
+ summary: z.ZodNullable<z.ZodString>;
314
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
315
+ publishedAt: z.ZodISODateTime;
316
+ updatedAt: z.ZodISODateTime;
317
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
318
+ id: z.ZodUUID;
319
+ name: z.ZodString;
320
+ slug: z.ZodReadonly<z.ZodString>;
321
+ }, z.core.$strict>>>>;
322
+ }, z.core.$strict>>>;
323
+ relatedPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
324
+ id: z.ZodUUID;
325
+ category: z.ZodReadonly<z.ZodObject<{
326
+ id: z.ZodUUID;
327
+ name: z.ZodString;
328
+ slug: z.ZodReadonly<z.ZodString>;
329
+ description: z.ZodNullable<z.ZodString>;
330
+ sortOrder: z.ZodNumber;
331
+ }, z.core.$strict>>;
332
+ title: z.ZodString;
333
+ slug: z.ZodReadonly<z.ZodString>;
334
+ summary: z.ZodNullable<z.ZodString>;
335
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
336
+ publishedAt: z.ZodISODateTime;
337
+ updatedAt: z.ZodISODateTime;
338
+ tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
339
+ id: z.ZodUUID;
340
+ name: z.ZodString;
341
+ slug: z.ZodReadonly<z.ZodString>;
342
+ }, z.core.$strict>>>>;
343
+ }, z.core.$strict>>>>;
344
+ }, z.core.$strict>>;
345
+ }, z.core.$strict>], "found">>;
346
+ };
347
+ listPublicComments: {
348
+ readonly path: "/public/comments/list";
349
+ readonly input: z.ZodReadonly<z.ZodObject<{
350
+ postSlug: z.ZodReadonly<z.ZodString>;
351
+ limit: z.ZodNumber;
352
+ cursor: z.ZodOptional<z.ZodUUID>;
353
+ order: z.ZodOptional<z.ZodEnum<{
354
+ asc: "asc";
355
+ desc: "desc";
356
+ }>>;
357
+ }, z.core.$strict>>;
358
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
359
+ found: z.ZodLiteral<false>;
360
+ }, z.core.$strict>, z.ZodObject<{
361
+ found: z.ZodLiteral<true>;
362
+ comments: z.ZodReadonly<z.ZodObject<{
363
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
364
+ id: z.ZodUUID;
365
+ postId: z.ZodUUID;
366
+ user: z.ZodReadonly<z.ZodObject<{
367
+ id: z.ZodUUID;
368
+ displayName: z.ZodNullable<z.ZodString>;
369
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
370
+ homepage: z.ZodNullable<z.ZodURL>;
371
+ bio: z.ZodNullable<z.ZodString>;
372
+ }, z.core.$strict>>;
373
+ content: z.ZodString;
374
+ replyContent: z.ZodNullable<z.ZodString>;
375
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
376
+ createdAt: z.ZodISODateTime;
377
+ location: z.ZodNullable<z.ZodString>;
378
+ client: z.ZodNullable<z.ZodString>;
379
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
380
+ }, z.core.$strict>>>>;
381
+ nextCursor: z.ZodNullable<z.ZodUUID>;
382
+ }, z.core.$strict>>;
383
+ }, z.core.$strict>], "found">>;
384
+ };
385
+ createPublicComment: {
386
+ readonly path: "/public/comments/create";
387
+ readonly input: z.ZodReadonly<z.ZodObject<{
388
+ postSlug: z.ZodReadonly<z.ZodString>;
389
+ content: z.ZodString;
390
+ }, z.core.$strict>>;
391
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
392
+ outcome: z.ZodLiteral<"ok">;
393
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
394
+ authenticated: z.ZodLiteral<false>;
395
+ }, z.core.$strict>, z.ZodObject<{
396
+ authenticated: z.ZodLiteral<true>;
397
+ comment: z.ZodReadonly<z.ZodObject<{
398
+ id: z.ZodUUID;
399
+ postId: z.ZodUUID;
400
+ user: z.ZodReadonly<z.ZodObject<{
401
+ id: z.ZodUUID;
402
+ displayName: z.ZodNullable<z.ZodString>;
403
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
404
+ homepage: z.ZodNullable<z.ZodURL>;
405
+ bio: z.ZodNullable<z.ZodString>;
406
+ }, z.core.$strict>>;
407
+ content: z.ZodString;
408
+ replyContent: z.ZodNullable<z.ZodString>;
409
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
410
+ createdAt: z.ZodISODateTime;
411
+ location: z.ZodNullable<z.ZodString>;
412
+ client: z.ZodNullable<z.ZodString>;
413
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
414
+ }, z.core.$strict>>;
415
+ }, z.core.$strict>], "authenticated">>;
416
+ }, z.core.$strict>, z.ZodObject<{
417
+ outcome: z.ZodLiteral<"conflict">;
418
+ }, z.core.$strict>], "outcome">;
419
+ };
420
+ setPublicPostLiked: {
421
+ readonly path: "/public/posts/set-liked";
422
+ readonly input: z.ZodReadonly<z.ZodObject<{
423
+ slug: z.ZodReadonly<z.ZodString>;
424
+ liked: z.ZodBoolean;
425
+ }, z.core.$strict>>;
426
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
427
+ outcome: z.ZodLiteral<"ok">;
428
+ data: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
429
+ authenticated: z.ZodLiteral<false>;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ authenticated: z.ZodLiteral<true>;
432
+ result: z.ZodReadonly<z.ZodObject<{
433
+ liked: z.ZodBoolean;
434
+ likeCount: z.ZodNumber;
435
+ }, z.core.$strict>>;
436
+ }, z.core.$strict>], "authenticated">>;
437
+ }, z.core.$strict>, z.ZodObject<{
438
+ outcome: z.ZodLiteral<"conflict">;
439
+ }, z.core.$strict>], "outcome">;
440
+ };
441
+ listPublicRecentComments: {
442
+ readonly path: "/public/comments/recent";
443
+ readonly input: z.ZodReadonly<z.ZodObject<{
444
+ limit: z.ZodNumber;
445
+ }, z.core.$strict>>;
446
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
447
+ comment: z.ZodReadonly<z.ZodObject<{
448
+ id: z.ZodUUID;
449
+ postId: z.ZodUUID;
450
+ user: z.ZodReadonly<z.ZodObject<{
451
+ id: z.ZodUUID;
452
+ displayName: z.ZodNullable<z.ZodString>;
453
+ avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
454
+ homepage: z.ZodNullable<z.ZodURL>;
455
+ bio: z.ZodNullable<z.ZodString>;
456
+ }, z.core.$strict>>;
457
+ content: z.ZodString;
458
+ replyContent: z.ZodNullable<z.ZodString>;
459
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
460
+ createdAt: z.ZodISODateTime;
461
+ location: z.ZodNullable<z.ZodString>;
462
+ client: z.ZodNullable<z.ZodString>;
463
+ pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
464
+ }, z.core.$strict>>;
465
+ post: z.ZodReadonly<z.ZodObject<{
466
+ id: z.ZodUUID;
467
+ title: z.ZodString;
468
+ slug: z.ZodReadonly<z.ZodString>;
469
+ }, z.core.$strict>>;
470
+ }, z.core.$strict>>>>;
471
+ };
472
+ listPublicCategories: {
473
+ readonly path: "/public/categories/list";
474
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
475
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
476
+ id: z.ZodUUID;
477
+ name: z.ZodString;
478
+ slug: z.ZodReadonly<z.ZodString>;
479
+ description: z.ZodNullable<z.ZodString>;
480
+ sortOrder: z.ZodNumber;
481
+ postCount: z.ZodNumber;
482
+ }, z.core.$strict>>>>;
483
+ };
484
+ listPublicTags: {
485
+ readonly path: "/public/tags/list";
486
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
487
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
488
+ id: z.ZodUUID;
489
+ name: z.ZodString;
490
+ slug: z.ZodReadonly<z.ZodString>;
491
+ }, z.core.$strict>>>>;
492
+ };
493
+ listPublicFriendLinks: {
494
+ readonly path: "/public/friend-links/list";
495
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
496
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
497
+ id: z.ZodUUID;
498
+ name: z.ZodString;
499
+ url: z.ZodURL;
500
+ description: z.ZodNullable<z.ZodString>;
501
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
502
+ sortOrder: z.ZodNumber;
503
+ }, z.core.$strict>>>>;
504
+ };
505
+ listPublicPages: {
506
+ readonly path: "/public/pages/list";
507
+ readonly input: z.ZodReadonly<z.ZodObject<{
508
+ position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
509
+ navigation: "navigation";
510
+ sidebar: "sidebar";
511
+ }>>>;
512
+ }, z.core.$strict>>;
513
+ readonly output: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
514
+ id: z.ZodUUID;
515
+ title: z.ZodString;
516
+ slug: z.ZodReadonly<z.ZodString>;
517
+ summary: z.ZodString;
518
+ position: z.ZodNullable<z.ZodEnum<{
519
+ navigation: "navigation";
520
+ sidebar: "sidebar";
521
+ }>>;
522
+ sortOrder: z.ZodNumber;
523
+ publishedAt: z.ZodISODateTime;
524
+ updatedAt: z.ZodISODateTime;
525
+ }, z.core.$strict>>>>;
526
+ };
527
+ readPublicPage: {
528
+ readonly path: "/public/pages/read";
529
+ readonly input: z.ZodReadonly<z.ZodObject<{
530
+ slug: z.ZodReadonly<z.ZodString>;
531
+ }, z.core.$strict>>;
532
+ readonly output: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
533
+ found: z.ZodLiteral<false>;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ found: z.ZodLiteral<true>;
536
+ page: z.ZodReadonly<z.ZodObject<{
537
+ id: z.ZodUUID;
538
+ title: z.ZodString;
539
+ slug: z.ZodReadonly<z.ZodString>;
540
+ summary: z.ZodString;
541
+ position: z.ZodNullable<z.ZodEnum<{
542
+ navigation: "navigation";
543
+ sidebar: "sidebar";
544
+ }>>;
545
+ sortOrder: z.ZodNumber;
546
+ publishedAt: z.ZodISODateTime;
547
+ updatedAt: z.ZodISODateTime;
548
+ content: z.ZodString;
549
+ }, z.core.$strict>>;
550
+ }, z.core.$strict>], "found">>;
551
+ };
552
+ readThemeAuthoringContract: {
553
+ readonly path: "/resources/theme-authoring-contract";
554
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
555
+ readonly output: z.ZodJSONSchema;
556
+ };
557
+ readEventCatalog: {
558
+ readonly path: "/resources/event-catalog";
559
+ readonly input: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
560
+ readonly output: z.ZodJSONSchema;
561
+ };
562
+ listCategories: {
563
+ readonly path: "/management/categories/list";
564
+ readonly input: z.ZodObject<{
565
+ limit: z.ZodDefault<z.ZodNumber>;
566
+ cursor: z.ZodOptional<z.ZodUUID>;
567
+ }, z.core.$strict>;
568
+ readonly output: z.ZodObject<{
569
+ items: z.ZodArray<z.ZodObject<{
570
+ name: z.ZodString;
571
+ slug: z.ZodString;
572
+ description: z.ZodNullable<z.ZodString>;
573
+ sortOrder: z.ZodNumber;
574
+ id: z.ZodUUID;
575
+ createdAt: z.ZodISODateTime;
576
+ updatedAt: z.ZodISODateTime;
577
+ }, z.core.$strict>>;
578
+ nextCursor: z.ZodNullable<z.ZodUUID>;
579
+ }, z.core.$strict>;
580
+ };
581
+ readCategory: {
582
+ readonly path: "/management/categories/read";
583
+ readonly input: z.ZodObject<{
584
+ id: z.ZodUUID;
585
+ }, z.core.$strict>;
586
+ readonly output: z.ZodObject<{
587
+ item: z.ZodObject<{
588
+ name: z.ZodString;
589
+ slug: z.ZodString;
590
+ description: z.ZodNullable<z.ZodString>;
591
+ sortOrder: z.ZodNumber;
592
+ id: z.ZodUUID;
593
+ createdAt: z.ZodISODateTime;
594
+ updatedAt: z.ZodISODateTime;
595
+ }, z.core.$strict>;
596
+ }, z.core.$strict>;
597
+ };
598
+ createCategory: {
599
+ readonly path: "/management/categories/create";
600
+ readonly input: z.ZodObject<{
601
+ name: z.ZodString;
602
+ slug: z.ZodString;
603
+ description: z.ZodNullable<z.ZodString>;
604
+ sortOrder: z.ZodNumber;
605
+ }, z.core.$strict>;
606
+ readonly output: z.ZodObject<{
607
+ item: z.ZodObject<{
608
+ name: z.ZodString;
609
+ slug: z.ZodString;
610
+ description: z.ZodNullable<z.ZodString>;
611
+ sortOrder: z.ZodNumber;
612
+ id: z.ZodUUID;
613
+ createdAt: z.ZodISODateTime;
614
+ updatedAt: z.ZodISODateTime;
615
+ }, z.core.$strict>;
616
+ }, z.core.$strict>;
617
+ };
618
+ updateCategory: {
619
+ readonly path: "/management/categories/update";
620
+ readonly input: z.ZodObject<{
621
+ name: z.ZodString;
622
+ slug: z.ZodString;
623
+ description: z.ZodNullable<z.ZodString>;
624
+ sortOrder: z.ZodNumber;
625
+ id: z.ZodUUID;
626
+ }, z.core.$strict>;
627
+ readonly output: z.ZodObject<{
628
+ item: z.ZodObject<{
629
+ name: z.ZodString;
630
+ slug: z.ZodString;
631
+ description: z.ZodNullable<z.ZodString>;
632
+ sortOrder: z.ZodNumber;
633
+ id: z.ZodUUID;
634
+ createdAt: z.ZodISODateTime;
635
+ updatedAt: z.ZodISODateTime;
636
+ }, z.core.$strict>;
637
+ }, z.core.$strict>;
638
+ };
639
+ deleteCategory: {
640
+ readonly path: "/management/categories/delete";
641
+ readonly input: z.ZodObject<{
642
+ id: z.ZodUUID;
643
+ }, z.core.$strict>;
644
+ readonly output: z.ZodObject<{
645
+ deleted: z.ZodLiteral<true>;
646
+ id: z.ZodUUID;
647
+ }, z.core.$strict>;
648
+ };
649
+ listTags: {
650
+ readonly path: "/management/tags/list";
651
+ readonly input: z.ZodObject<{
652
+ limit: z.ZodDefault<z.ZodNumber>;
653
+ cursor: z.ZodOptional<z.ZodUUID>;
654
+ }, z.core.$strict>;
655
+ readonly output: z.ZodObject<{
656
+ items: z.ZodArray<z.ZodObject<{
657
+ name: z.ZodString;
658
+ slug: z.ZodString;
659
+ id: z.ZodUUID;
660
+ createdAt: z.ZodISODateTime;
661
+ updatedAt: z.ZodISODateTime;
662
+ }, z.core.$strict>>;
663
+ nextCursor: z.ZodNullable<z.ZodUUID>;
664
+ }, z.core.$strict>;
665
+ };
666
+ readTag: {
667
+ readonly path: "/management/tags/read";
668
+ readonly input: z.ZodObject<{
669
+ id: z.ZodUUID;
670
+ }, z.core.$strict>;
671
+ readonly output: z.ZodObject<{
672
+ item: z.ZodObject<{
673
+ name: z.ZodString;
674
+ slug: z.ZodString;
675
+ id: z.ZodUUID;
676
+ createdAt: z.ZodISODateTime;
677
+ updatedAt: z.ZodISODateTime;
678
+ }, z.core.$strict>;
679
+ }, z.core.$strict>;
680
+ };
681
+ createTag: {
682
+ readonly path: "/management/tags/create";
683
+ readonly input: z.ZodObject<{
684
+ name: z.ZodString;
685
+ slug: z.ZodString;
686
+ }, z.core.$strict>;
687
+ readonly output: z.ZodObject<{
688
+ item: z.ZodObject<{
689
+ name: z.ZodString;
690
+ slug: z.ZodString;
691
+ id: z.ZodUUID;
692
+ createdAt: z.ZodISODateTime;
693
+ updatedAt: z.ZodISODateTime;
694
+ }, z.core.$strict>;
695
+ }, z.core.$strict>;
696
+ };
697
+ updateTag: {
698
+ readonly path: "/management/tags/update";
699
+ readonly input: z.ZodObject<{
700
+ name: z.ZodString;
701
+ slug: z.ZodString;
702
+ id: z.ZodUUID;
703
+ }, z.core.$strict>;
704
+ readonly output: z.ZodObject<{
705
+ item: z.ZodObject<{
706
+ name: z.ZodString;
707
+ slug: z.ZodString;
708
+ id: z.ZodUUID;
709
+ createdAt: z.ZodISODateTime;
710
+ updatedAt: z.ZodISODateTime;
711
+ }, z.core.$strict>;
712
+ }, z.core.$strict>;
713
+ };
714
+ deleteTag: {
715
+ readonly path: "/management/tags/delete";
716
+ readonly input: z.ZodObject<{
717
+ id: z.ZodUUID;
718
+ }, z.core.$strict>;
719
+ readonly output: z.ZodObject<{
720
+ deleted: z.ZodLiteral<true>;
721
+ id: z.ZodUUID;
722
+ }, z.core.$strict>;
723
+ };
724
+ listPosts: {
725
+ readonly path: "/management/posts/list";
726
+ readonly input: z.ZodObject<{
727
+ limit: z.ZodDefault<z.ZodNumber>;
728
+ cursor: z.ZodOptional<z.ZodUUID>;
729
+ status: z.ZodOptional<z.ZodEnum<{
730
+ archived: "archived";
731
+ draft: "draft";
732
+ published: "published";
733
+ }>>;
734
+ categoryId: z.ZodOptional<z.ZodUUID>;
735
+ }, z.core.$strict>;
736
+ readonly output: z.ZodObject<{
737
+ items: z.ZodArray<z.ZodObject<{
738
+ id: z.ZodUUID;
739
+ categoryId: z.ZodUUID;
740
+ title: z.ZodString;
741
+ slug: z.ZodString;
742
+ summary: z.ZodNullable<z.ZodString>;
743
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
744
+ content: z.ZodString;
745
+ status: z.ZodEnum<{
746
+ archived: "archived";
747
+ draft: "draft";
748
+ published: "published";
749
+ }>;
750
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
751
+ createdAt: z.ZodISODateTime;
752
+ updatedAt: z.ZodISODateTime;
753
+ tags: z.ZodArray<z.ZodObject<{
754
+ name: z.ZodString;
755
+ slug: z.ZodString;
756
+ id: z.ZodUUID;
757
+ createdAt: z.ZodISODateTime;
758
+ updatedAt: z.ZodISODateTime;
759
+ }, z.core.$strict>>;
760
+ }, z.core.$strict>>;
761
+ nextCursor: z.ZodNullable<z.ZodUUID>;
762
+ }, z.core.$strict>;
763
+ };
764
+ listPostArchive: {
765
+ readonly path: "/management/posts/archive-list";
766
+ readonly input: z.ZodObject<{
767
+ limit: z.ZodDefault<z.ZodNumber>;
768
+ monthLimit: z.ZodDefault<z.ZodNumber>;
769
+ cursor: z.ZodOptional<z.ZodUUID>;
770
+ year: z.ZodOptional<z.ZodNumber>;
771
+ month: z.ZodOptional<z.ZodNumber>;
772
+ startYear: z.ZodOptional<z.ZodNumber>;
773
+ startMonth: z.ZodOptional<z.ZodNumber>;
774
+ endYear: z.ZodOptional<z.ZodNumber>;
775
+ endMonth: z.ZodOptional<z.ZodNumber>;
776
+ }, z.core.$strict>;
777
+ readonly output: z.ZodObject<{
778
+ items: z.ZodArray<z.ZodObject<{
779
+ id: z.ZodUUID;
780
+ categoryId: z.ZodUUID;
781
+ title: z.ZodString;
782
+ slug: z.ZodString;
783
+ summary: z.ZodNullable<z.ZodString>;
784
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
785
+ status: z.ZodEnum<{
786
+ archived: "archived";
787
+ draft: "draft";
788
+ published: "published";
789
+ }>;
790
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
791
+ createdAt: z.ZodISODateTime;
792
+ updatedAt: z.ZodISODateTime;
793
+ tags: z.ZodArray<z.ZodObject<{
794
+ name: z.ZodString;
795
+ slug: z.ZodString;
796
+ id: z.ZodUUID;
797
+ createdAt: z.ZodISODateTime;
798
+ updatedAt: z.ZodISODateTime;
799
+ }, z.core.$strict>>;
800
+ }, z.core.$strict>>;
801
+ months: z.ZodArray<z.ZodObject<{
802
+ year: z.ZodNumber;
803
+ month: z.ZodNumber;
804
+ count: z.ZodNumber;
805
+ }, z.core.$strict>>;
806
+ nextCursor: z.ZodNullable<z.ZodUUID>;
807
+ total: z.ZodNumber;
808
+ }, z.core.$strict>;
809
+ };
810
+ searchPosts: {
811
+ readonly path: "/management/posts/search";
812
+ readonly input: z.ZodObject<{
813
+ query: z.ZodString;
814
+ limit: z.ZodDefault<z.ZodNumber>;
815
+ status: z.ZodOptional<z.ZodEnum<{
816
+ archived: "archived";
817
+ draft: "draft";
818
+ published: "published";
819
+ }>>;
820
+ }, z.core.$strict>;
821
+ readonly output: z.ZodObject<{
822
+ items: z.ZodArray<z.ZodObject<{
823
+ id: z.ZodUUID;
824
+ categoryId: z.ZodUUID;
825
+ title: z.ZodString;
826
+ slug: z.ZodString;
827
+ summary: z.ZodNullable<z.ZodString>;
828
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
829
+ status: z.ZodEnum<{
830
+ archived: "archived";
831
+ draft: "draft";
832
+ published: "published";
833
+ }>;
834
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
835
+ createdAt: z.ZodISODateTime;
836
+ updatedAt: z.ZodISODateTime;
837
+ tags: z.ZodArray<z.ZodObject<{
838
+ name: z.ZodString;
839
+ slug: z.ZodString;
840
+ id: z.ZodUUID;
841
+ createdAt: z.ZodISODateTime;
842
+ updatedAt: z.ZodISODateTime;
843
+ }, z.core.$strict>>;
844
+ }, z.core.$strict>>;
845
+ }, z.core.$strict>;
846
+ };
847
+ readPost: {
848
+ readonly path: "/management/posts/read";
849
+ readonly input: z.ZodObject<{
850
+ id: z.ZodUUID;
851
+ }, z.core.$strict>;
852
+ readonly output: z.ZodObject<{
853
+ item: z.ZodObject<{
854
+ id: z.ZodUUID;
855
+ categoryId: z.ZodUUID;
856
+ title: z.ZodString;
857
+ slug: z.ZodString;
858
+ summary: z.ZodNullable<z.ZodString>;
859
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
860
+ content: z.ZodString;
861
+ status: z.ZodEnum<{
862
+ archived: "archived";
863
+ draft: "draft";
864
+ published: "published";
865
+ }>;
866
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
867
+ createdAt: z.ZodISODateTime;
868
+ updatedAt: z.ZodISODateTime;
869
+ tags: z.ZodArray<z.ZodObject<{
870
+ name: z.ZodString;
871
+ slug: z.ZodString;
872
+ id: z.ZodUUID;
873
+ createdAt: z.ZodISODateTime;
874
+ updatedAt: z.ZodISODateTime;
875
+ }, z.core.$strict>>;
876
+ }, z.core.$strict>;
877
+ }, z.core.$strict>;
878
+ };
879
+ auditPostContent: {
880
+ readonly path: "/management/posts/audit";
881
+ readonly input: z.ZodObject<{
882
+ categoryId: z.ZodUUID;
883
+ title: z.ZodString;
884
+ summary: z.ZodNullable<z.ZodString>;
885
+ content: z.ZodString;
886
+ tagIds: z.ZodArray<z.ZodUUID>;
887
+ }, z.core.$strict>;
888
+ readonly output: z.ZodObject<{
889
+ publishable: z.ZodBoolean;
890
+ findings: z.ZodArray<z.ZodObject<{
891
+ ruleId: z.ZodString;
892
+ severity: z.ZodEnum<{
893
+ block: "block";
894
+ info: "info";
895
+ warning: "warning";
896
+ }>;
897
+ source: z.ZodEnum<{
898
+ heuristic: "heuristic";
899
+ project: "project";
900
+ "search-engine": "search-engine";
901
+ }>;
902
+ field: z.ZodEnum<{
903
+ category: "category";
904
+ content: "content";
905
+ summary: "summary";
906
+ tags: "tags";
907
+ title: "title";
908
+ }>;
909
+ message: z.ZodString;
910
+ suggestion: z.ZodString;
911
+ location: z.ZodOptional<z.ZodObject<{
912
+ line: z.ZodNumber;
913
+ column: z.ZodNumber;
914
+ }, z.core.$strict>>;
915
+ }, z.core.$strict>>;
916
+ }, z.core.$strict>;
917
+ };
918
+ createPost: {
919
+ readonly path: "/management/posts/create";
920
+ readonly input: z.ZodObject<{
921
+ categoryId: z.ZodUUID;
922
+ title: z.ZodString;
923
+ slug: z.ZodString;
924
+ summary: z.ZodNullable<z.ZodString>;
925
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
926
+ content: z.ZodString;
927
+ tagIds: z.ZodArray<z.ZodUUID>;
928
+ }, z.core.$strict>;
929
+ readonly output: z.ZodObject<{
930
+ item: z.ZodObject<{
931
+ id: z.ZodUUID;
932
+ categoryId: z.ZodUUID;
933
+ title: z.ZodString;
934
+ slug: z.ZodString;
935
+ summary: z.ZodNullable<z.ZodString>;
936
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
937
+ content: z.ZodString;
938
+ status: z.ZodEnum<{
939
+ archived: "archived";
940
+ draft: "draft";
941
+ published: "published";
942
+ }>;
943
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
944
+ createdAt: z.ZodISODateTime;
945
+ updatedAt: z.ZodISODateTime;
946
+ tags: z.ZodArray<z.ZodObject<{
947
+ name: z.ZodString;
948
+ slug: z.ZodString;
949
+ id: z.ZodUUID;
950
+ createdAt: z.ZodISODateTime;
951
+ updatedAt: z.ZodISODateTime;
952
+ }, z.core.$strict>>;
953
+ }, z.core.$strict>;
954
+ }, z.core.$strict>;
955
+ };
956
+ updatePost: {
957
+ readonly path: "/management/posts/update";
958
+ readonly input: z.ZodObject<{
959
+ categoryId: z.ZodUUID;
960
+ title: z.ZodString;
961
+ slug: z.ZodString;
962
+ summary: z.ZodNullable<z.ZodString>;
963
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
964
+ content: z.ZodString;
965
+ tagIds: z.ZodArray<z.ZodUUID>;
966
+ id: z.ZodUUID;
967
+ }, z.core.$strict>;
968
+ readonly output: z.ZodObject<{
969
+ item: z.ZodObject<{
970
+ id: z.ZodUUID;
971
+ categoryId: z.ZodUUID;
972
+ title: z.ZodString;
973
+ slug: z.ZodString;
974
+ summary: z.ZodNullable<z.ZodString>;
975
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
976
+ content: z.ZodString;
977
+ status: z.ZodEnum<{
978
+ archived: "archived";
979
+ draft: "draft";
980
+ published: "published";
981
+ }>;
982
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
983
+ createdAt: z.ZodISODateTime;
984
+ updatedAt: z.ZodISODateTime;
985
+ tags: z.ZodArray<z.ZodObject<{
986
+ name: z.ZodString;
987
+ slug: z.ZodString;
988
+ id: z.ZodUUID;
989
+ createdAt: z.ZodISODateTime;
990
+ updatedAt: z.ZodISODateTime;
991
+ }, z.core.$strict>>;
992
+ }, z.core.$strict>;
993
+ }, z.core.$strict>;
994
+ };
995
+ publishPost: {
996
+ readonly path: "/management/posts/publish";
997
+ readonly input: z.ZodObject<{
998
+ id: z.ZodUUID;
999
+ }, z.core.$strict>;
1000
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1001
+ outcome: z.ZodLiteral<"ok">;
1002
+ data: z.ZodObject<{
1003
+ item: z.ZodObject<{
1004
+ id: z.ZodUUID;
1005
+ categoryId: z.ZodUUID;
1006
+ title: z.ZodString;
1007
+ slug: z.ZodString;
1008
+ summary: z.ZodNullable<z.ZodString>;
1009
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1010
+ content: z.ZodString;
1011
+ status: z.ZodEnum<{
1012
+ archived: "archived";
1013
+ draft: "draft";
1014
+ published: "published";
1015
+ }>;
1016
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1017
+ createdAt: z.ZodISODateTime;
1018
+ updatedAt: z.ZodISODateTime;
1019
+ tags: z.ZodArray<z.ZodObject<{
1020
+ name: z.ZodString;
1021
+ slug: z.ZodString;
1022
+ id: z.ZodUUID;
1023
+ createdAt: z.ZodISODateTime;
1024
+ updatedAt: z.ZodISODateTime;
1025
+ }, z.core.$strict>>;
1026
+ }, z.core.$strict>;
1027
+ }, z.core.$strict>;
1028
+ }, z.core.$strict>, z.ZodObject<{
1029
+ outcome: z.ZodLiteral<"content-blocked">;
1030
+ audit: z.ZodObject<{
1031
+ publishable: z.ZodBoolean;
1032
+ findings: z.ZodArray<z.ZodObject<{
1033
+ ruleId: z.ZodString;
1034
+ severity: z.ZodEnum<{
1035
+ block: "block";
1036
+ info: "info";
1037
+ warning: "warning";
1038
+ }>;
1039
+ source: z.ZodEnum<{
1040
+ heuristic: "heuristic";
1041
+ project: "project";
1042
+ "search-engine": "search-engine";
1043
+ }>;
1044
+ field: z.ZodEnum<{
1045
+ category: "category";
1046
+ content: "content";
1047
+ summary: "summary";
1048
+ tags: "tags";
1049
+ title: "title";
1050
+ }>;
1051
+ message: z.ZodString;
1052
+ suggestion: z.ZodString;
1053
+ location: z.ZodOptional<z.ZodObject<{
1054
+ line: z.ZodNumber;
1055
+ column: z.ZodNumber;
1056
+ }, z.core.$strict>>;
1057
+ }, z.core.$strict>>;
1058
+ }, z.core.$strict>;
1059
+ }, z.core.$strict>], "outcome">;
1060
+ };
1061
+ archivePost: {
1062
+ readonly path: "/management/posts/archive";
1063
+ readonly input: z.ZodObject<{
1064
+ id: z.ZodUUID;
1065
+ }, z.core.$strict>;
1066
+ readonly output: z.ZodObject<{
1067
+ item: z.ZodObject<{
1068
+ id: z.ZodUUID;
1069
+ categoryId: z.ZodUUID;
1070
+ title: z.ZodString;
1071
+ slug: z.ZodString;
1072
+ summary: z.ZodNullable<z.ZodString>;
1073
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1074
+ content: z.ZodString;
1075
+ status: z.ZodEnum<{
1076
+ archived: "archived";
1077
+ draft: "draft";
1078
+ published: "published";
1079
+ }>;
1080
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1081
+ createdAt: z.ZodISODateTime;
1082
+ updatedAt: z.ZodISODateTime;
1083
+ tags: z.ZodArray<z.ZodObject<{
1084
+ name: z.ZodString;
1085
+ slug: z.ZodString;
1086
+ id: z.ZodUUID;
1087
+ createdAt: z.ZodISODateTime;
1088
+ updatedAt: z.ZodISODateTime;
1089
+ }, z.core.$strict>>;
1090
+ }, z.core.$strict>;
1091
+ }, z.core.$strict>;
1092
+ };
1093
+ deletePost: {
1094
+ readonly path: "/management/posts/delete";
1095
+ readonly input: z.ZodObject<{
1096
+ id: z.ZodUUID;
1097
+ }, z.core.$strict>;
1098
+ readonly output: z.ZodObject<{
1099
+ deleted: z.ZodLiteral<true>;
1100
+ id: z.ZodUUID;
1101
+ }, z.core.$strict>;
1102
+ };
1103
+ listPages: {
1104
+ readonly path: "/management/pages/list";
1105
+ readonly input: z.ZodObject<{
1106
+ limit: z.ZodDefault<z.ZodNumber>;
1107
+ cursor: z.ZodOptional<z.ZodUUID>;
1108
+ status: z.ZodOptional<z.ZodEnum<{
1109
+ archived: "archived";
1110
+ draft: "draft";
1111
+ published: "published";
1112
+ }>>;
1113
+ position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1114
+ navigation: "navigation";
1115
+ sidebar: "sidebar";
1116
+ }>>>;
1117
+ }, z.core.$strict>;
1118
+ readonly output: z.ZodObject<{
1119
+ items: z.ZodArray<z.ZodObject<{
1120
+ title: z.ZodString;
1121
+ slug: z.ZodString;
1122
+ summary: z.ZodString;
1123
+ content: z.ZodString;
1124
+ position: z.ZodNullable<z.ZodEnum<{
1125
+ navigation: "navigation";
1126
+ sidebar: "sidebar";
1127
+ }>>;
1128
+ sortOrder: z.ZodNumber;
1129
+ id: z.ZodUUID;
1130
+ status: z.ZodEnum<{
1131
+ archived: "archived";
1132
+ draft: "draft";
1133
+ published: "published";
1134
+ }>;
1135
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1136
+ createdAt: z.ZodISODateTime;
1137
+ updatedAt: z.ZodISODateTime;
1138
+ }, z.core.$strict>>;
1139
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1140
+ }, z.core.$strict>;
1141
+ };
1142
+ readPage: {
1143
+ readonly path: "/management/pages/read";
1144
+ readonly input: z.ZodObject<{
1145
+ id: z.ZodUUID;
1146
+ }, z.core.$strict>;
1147
+ readonly output: z.ZodObject<{
1148
+ item: z.ZodObject<{
1149
+ title: z.ZodString;
1150
+ slug: z.ZodString;
1151
+ summary: z.ZodString;
1152
+ content: z.ZodString;
1153
+ position: z.ZodNullable<z.ZodEnum<{
1154
+ navigation: "navigation";
1155
+ sidebar: "sidebar";
1156
+ }>>;
1157
+ sortOrder: z.ZodNumber;
1158
+ id: z.ZodUUID;
1159
+ status: z.ZodEnum<{
1160
+ archived: "archived";
1161
+ draft: "draft";
1162
+ published: "published";
1163
+ }>;
1164
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1165
+ createdAt: z.ZodISODateTime;
1166
+ updatedAt: z.ZodISODateTime;
1167
+ }, z.core.$strict>;
1168
+ }, z.core.$strict>;
1169
+ };
1170
+ createPage: {
1171
+ readonly path: "/management/pages/create";
1172
+ readonly input: z.ZodObject<{
1173
+ title: z.ZodString;
1174
+ slug: z.ZodString;
1175
+ summary: z.ZodString;
1176
+ content: z.ZodString;
1177
+ position: z.ZodNullable<z.ZodEnum<{
1178
+ navigation: "navigation";
1179
+ sidebar: "sidebar";
1180
+ }>>;
1181
+ sortOrder: z.ZodNumber;
1182
+ }, z.core.$strict>;
1183
+ readonly output: z.ZodObject<{
1184
+ item: z.ZodObject<{
1185
+ title: z.ZodString;
1186
+ slug: z.ZodString;
1187
+ summary: z.ZodString;
1188
+ content: z.ZodString;
1189
+ position: z.ZodNullable<z.ZodEnum<{
1190
+ navigation: "navigation";
1191
+ sidebar: "sidebar";
1192
+ }>>;
1193
+ sortOrder: z.ZodNumber;
1194
+ id: z.ZodUUID;
1195
+ status: z.ZodEnum<{
1196
+ archived: "archived";
1197
+ draft: "draft";
1198
+ published: "published";
1199
+ }>;
1200
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1201
+ createdAt: z.ZodISODateTime;
1202
+ updatedAt: z.ZodISODateTime;
1203
+ }, z.core.$strict>;
1204
+ }, z.core.$strict>;
1205
+ };
1206
+ updatePage: {
1207
+ readonly path: "/management/pages/update";
1208
+ readonly input: z.ZodObject<{
1209
+ title: z.ZodString;
1210
+ slug: z.ZodString;
1211
+ summary: z.ZodString;
1212
+ content: z.ZodString;
1213
+ position: z.ZodNullable<z.ZodEnum<{
1214
+ navigation: "navigation";
1215
+ sidebar: "sidebar";
1216
+ }>>;
1217
+ sortOrder: z.ZodNumber;
1218
+ id: z.ZodUUID;
1219
+ }, z.core.$strict>;
1220
+ readonly output: z.ZodObject<{
1221
+ item: z.ZodObject<{
1222
+ title: z.ZodString;
1223
+ slug: z.ZodString;
1224
+ summary: z.ZodString;
1225
+ content: z.ZodString;
1226
+ position: z.ZodNullable<z.ZodEnum<{
1227
+ navigation: "navigation";
1228
+ sidebar: "sidebar";
1229
+ }>>;
1230
+ sortOrder: z.ZodNumber;
1231
+ id: z.ZodUUID;
1232
+ status: z.ZodEnum<{
1233
+ archived: "archived";
1234
+ draft: "draft";
1235
+ published: "published";
1236
+ }>;
1237
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1238
+ createdAt: z.ZodISODateTime;
1239
+ updatedAt: z.ZodISODateTime;
1240
+ }, z.core.$strict>;
1241
+ }, z.core.$strict>;
1242
+ };
1243
+ publishPage: {
1244
+ readonly path: "/management/pages/publish";
1245
+ readonly input: z.ZodObject<{
1246
+ id: z.ZodUUID;
1247
+ }, z.core.$strict>;
1248
+ readonly output: z.ZodObject<{
1249
+ item: z.ZodObject<{
1250
+ title: z.ZodString;
1251
+ slug: z.ZodString;
1252
+ summary: z.ZodString;
1253
+ content: z.ZodString;
1254
+ position: z.ZodNullable<z.ZodEnum<{
1255
+ navigation: "navigation";
1256
+ sidebar: "sidebar";
1257
+ }>>;
1258
+ sortOrder: z.ZodNumber;
1259
+ id: z.ZodUUID;
1260
+ status: z.ZodEnum<{
1261
+ archived: "archived";
1262
+ draft: "draft";
1263
+ published: "published";
1264
+ }>;
1265
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1266
+ createdAt: z.ZodISODateTime;
1267
+ updatedAt: z.ZodISODateTime;
1268
+ }, z.core.$strict>;
1269
+ }, z.core.$strict>;
1270
+ };
1271
+ archivePage: {
1272
+ readonly path: "/management/pages/archive";
1273
+ readonly input: z.ZodObject<{
1274
+ id: z.ZodUUID;
1275
+ }, z.core.$strict>;
1276
+ readonly output: z.ZodObject<{
1277
+ item: z.ZodObject<{
1278
+ title: z.ZodString;
1279
+ slug: z.ZodString;
1280
+ summary: z.ZodString;
1281
+ content: z.ZodString;
1282
+ position: z.ZodNullable<z.ZodEnum<{
1283
+ navigation: "navigation";
1284
+ sidebar: "sidebar";
1285
+ }>>;
1286
+ sortOrder: z.ZodNumber;
1287
+ id: z.ZodUUID;
1288
+ status: z.ZodEnum<{
1289
+ archived: "archived";
1290
+ draft: "draft";
1291
+ published: "published";
1292
+ }>;
1293
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1294
+ createdAt: z.ZodISODateTime;
1295
+ updatedAt: z.ZodISODateTime;
1296
+ }, z.core.$strict>;
1297
+ }, z.core.$strict>;
1298
+ };
1299
+ deletePage: {
1300
+ readonly path: "/management/pages/delete";
1301
+ readonly input: z.ZodObject<{
1302
+ id: z.ZodUUID;
1303
+ }, z.core.$strict>;
1304
+ readonly output: z.ZodObject<{
1305
+ deleted: z.ZodLiteral<true>;
1306
+ id: z.ZodUUID;
1307
+ }, z.core.$strict>;
1308
+ };
1309
+ listComments: {
1310
+ readonly path: "/management/comments/list";
1311
+ readonly input: z.ZodObject<{
1312
+ limit: z.ZodDefault<z.ZodNumber>;
1313
+ cursor: z.ZodOptional<z.ZodUUID>;
1314
+ status: z.ZodOptional<z.ZodEnum<{
1315
+ approved: "approved";
1316
+ pending: "pending";
1317
+ rejected: "rejected";
1318
+ }>>;
1319
+ postId: z.ZodOptional<z.ZodUUID>;
1320
+ order: z.ZodDefault<z.ZodEnum<{
1321
+ asc: "asc";
1322
+ desc: "desc";
1323
+ }>>;
1324
+ }, z.core.$strict>;
1325
+ readonly output: z.ZodObject<{
1326
+ items: z.ZodArray<z.ZodObject<{
1327
+ id: z.ZodUUID;
1328
+ postId: z.ZodUUID;
1329
+ userId: z.ZodUUID;
1330
+ content: z.ZodString;
1331
+ replyContent: z.ZodNullable<z.ZodString>;
1332
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
1333
+ userAgent: z.ZodNullable<z.ZodString>;
1334
+ ipLocation: z.ZodNullable<z.ZodString>;
1335
+ clientLabel: z.ZodNullable<z.ZodString>;
1336
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1337
+ status: z.ZodEnum<{
1338
+ approved: "approved";
1339
+ pending: "pending";
1340
+ rejected: "rejected";
1341
+ }>;
1342
+ createdAt: z.ZodISODateTime;
1343
+ updatedAt: z.ZodISODateTime;
1344
+ }, z.core.$strict>>;
1345
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1346
+ }, z.core.$strict>;
1347
+ };
1348
+ readComment: {
1349
+ readonly path: "/management/comments/read";
1350
+ readonly input: z.ZodObject<{
1351
+ id: z.ZodUUID;
1352
+ }, z.core.$strict>;
1353
+ readonly output: z.ZodObject<{
1354
+ item: z.ZodObject<{
1355
+ id: z.ZodUUID;
1356
+ postId: z.ZodUUID;
1357
+ userId: z.ZodUUID;
1358
+ content: z.ZodString;
1359
+ replyContent: z.ZodNullable<z.ZodString>;
1360
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
1361
+ userAgent: z.ZodNullable<z.ZodString>;
1362
+ ipLocation: z.ZodNullable<z.ZodString>;
1363
+ clientLabel: z.ZodNullable<z.ZodString>;
1364
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1365
+ status: z.ZodEnum<{
1366
+ approved: "approved";
1367
+ pending: "pending";
1368
+ rejected: "rejected";
1369
+ }>;
1370
+ createdAt: z.ZodISODateTime;
1371
+ updatedAt: z.ZodISODateTime;
1372
+ }, z.core.$strict>;
1373
+ }, z.core.$strict>;
1374
+ };
1375
+ approveComment: {
1376
+ readonly path: "/management/comments/approve";
1377
+ readonly input: z.ZodObject<{
1378
+ id: z.ZodUUID;
1379
+ }, z.core.$strict>;
1380
+ readonly output: z.ZodObject<{
1381
+ item: z.ZodObject<{
1382
+ id: z.ZodUUID;
1383
+ postId: z.ZodUUID;
1384
+ userId: z.ZodUUID;
1385
+ content: z.ZodString;
1386
+ replyContent: z.ZodNullable<z.ZodString>;
1387
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
1388
+ userAgent: z.ZodNullable<z.ZodString>;
1389
+ ipLocation: z.ZodNullable<z.ZodString>;
1390
+ clientLabel: z.ZodNullable<z.ZodString>;
1391
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1392
+ status: z.ZodEnum<{
1393
+ approved: "approved";
1394
+ pending: "pending";
1395
+ rejected: "rejected";
1396
+ }>;
1397
+ createdAt: z.ZodISODateTime;
1398
+ updatedAt: z.ZodISODateTime;
1399
+ }, z.core.$strict>;
1400
+ }, z.core.$strict>;
1401
+ };
1402
+ rejectComment: {
1403
+ readonly path: "/management/comments/reject";
1404
+ readonly input: z.ZodObject<{
1405
+ id: z.ZodUUID;
1406
+ }, z.core.$strict>;
1407
+ readonly output: z.ZodObject<{
1408
+ item: z.ZodObject<{
1409
+ id: z.ZodUUID;
1410
+ postId: z.ZodUUID;
1411
+ userId: z.ZodUUID;
1412
+ content: z.ZodString;
1413
+ replyContent: z.ZodNullable<z.ZodString>;
1414
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
1415
+ userAgent: z.ZodNullable<z.ZodString>;
1416
+ ipLocation: z.ZodNullable<z.ZodString>;
1417
+ clientLabel: z.ZodNullable<z.ZodString>;
1418
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1419
+ status: z.ZodEnum<{
1420
+ approved: "approved";
1421
+ pending: "pending";
1422
+ rejected: "rejected";
1423
+ }>;
1424
+ createdAt: z.ZodISODateTime;
1425
+ updatedAt: z.ZodISODateTime;
1426
+ }, z.core.$strict>;
1427
+ }, z.core.$strict>;
1428
+ };
1429
+ replyComment: {
1430
+ readonly path: "/management/comments/reply";
1431
+ readonly input: z.ZodObject<{
1432
+ id: z.ZodUUID;
1433
+ replyContent: z.ZodNullable<z.ZodString>;
1434
+ }, z.core.$strict>;
1435
+ readonly output: z.ZodObject<{
1436
+ item: z.ZodObject<{
1437
+ id: z.ZodUUID;
1438
+ postId: z.ZodUUID;
1439
+ userId: z.ZodUUID;
1440
+ content: z.ZodString;
1441
+ replyContent: z.ZodNullable<z.ZodString>;
1442
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
1443
+ userAgent: z.ZodNullable<z.ZodString>;
1444
+ ipLocation: z.ZodNullable<z.ZodString>;
1445
+ clientLabel: z.ZodNullable<z.ZodString>;
1446
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
1447
+ status: z.ZodEnum<{
1448
+ approved: "approved";
1449
+ pending: "pending";
1450
+ rejected: "rejected";
1451
+ }>;
1452
+ createdAt: z.ZodISODateTime;
1453
+ updatedAt: z.ZodISODateTime;
1454
+ }, z.core.$strict>;
1455
+ }, z.core.$strict>;
1456
+ };
1457
+ deleteComment: {
1458
+ readonly path: "/management/comments/delete";
1459
+ readonly input: z.ZodObject<{
1460
+ id: z.ZodUUID;
1461
+ }, z.core.$strict>;
1462
+ readonly output: z.ZodObject<{
1463
+ deleted: z.ZodLiteral<true>;
1464
+ id: z.ZodUUID;
1465
+ }, z.core.$strict>;
1466
+ };
1467
+ listFriendLinks: {
1468
+ readonly path: "/management/friend-links/list";
1469
+ readonly input: z.ZodObject<{
1470
+ limit: z.ZodDefault<z.ZodNumber>;
1471
+ cursor: z.ZodOptional<z.ZodUUID>;
1472
+ }, z.core.$strict>;
1473
+ readonly output: z.ZodObject<{
1474
+ items: z.ZodArray<z.ZodObject<{
1475
+ name: z.ZodString;
1476
+ url: z.ZodURL;
1477
+ description: z.ZodNullable<z.ZodString>;
1478
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1479
+ enabled: z.ZodBoolean;
1480
+ sortOrder: z.ZodNumber;
1481
+ id: z.ZodUUID;
1482
+ createdAt: z.ZodISODateTime;
1483
+ updatedAt: z.ZodISODateTime;
1484
+ }, z.core.$strict>>;
1485
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1486
+ }, z.core.$strict>;
1487
+ };
1488
+ readFriendLink: {
1489
+ readonly path: "/management/friend-links/read";
1490
+ readonly input: z.ZodObject<{
1491
+ id: z.ZodUUID;
1492
+ }, z.core.$strict>;
1493
+ readonly output: z.ZodObject<{
1494
+ item: z.ZodObject<{
1495
+ name: z.ZodString;
1496
+ url: z.ZodURL;
1497
+ description: z.ZodNullable<z.ZodString>;
1498
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1499
+ enabled: z.ZodBoolean;
1500
+ sortOrder: z.ZodNumber;
1501
+ id: z.ZodUUID;
1502
+ createdAt: z.ZodISODateTime;
1503
+ updatedAt: z.ZodISODateTime;
1504
+ }, z.core.$strict>;
1505
+ }, z.core.$strict>;
1506
+ };
1507
+ createFriendLink: {
1508
+ readonly path: "/management/friend-links/create";
1509
+ readonly input: z.ZodObject<{
1510
+ name: z.ZodString;
1511
+ url: z.ZodURL;
1512
+ description: z.ZodNullable<z.ZodString>;
1513
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1514
+ enabled: z.ZodBoolean;
1515
+ sortOrder: z.ZodNumber;
1516
+ }, z.core.$strict>;
1517
+ readonly output: z.ZodObject<{
1518
+ item: z.ZodObject<{
1519
+ name: z.ZodString;
1520
+ url: z.ZodURL;
1521
+ description: z.ZodNullable<z.ZodString>;
1522
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1523
+ enabled: z.ZodBoolean;
1524
+ sortOrder: z.ZodNumber;
1525
+ id: z.ZodUUID;
1526
+ createdAt: z.ZodISODateTime;
1527
+ updatedAt: z.ZodISODateTime;
1528
+ }, z.core.$strict>;
1529
+ }, z.core.$strict>;
1530
+ };
1531
+ updateFriendLink: {
1532
+ readonly path: "/management/friend-links/update";
1533
+ readonly input: z.ZodObject<{
1534
+ name: z.ZodString;
1535
+ url: z.ZodURL;
1536
+ description: z.ZodNullable<z.ZodString>;
1537
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1538
+ enabled: z.ZodBoolean;
1539
+ sortOrder: z.ZodNumber;
1540
+ id: z.ZodUUID;
1541
+ }, z.core.$strict>;
1542
+ readonly output: z.ZodObject<{
1543
+ item: z.ZodObject<{
1544
+ name: z.ZodString;
1545
+ url: z.ZodURL;
1546
+ description: z.ZodNullable<z.ZodString>;
1547
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1548
+ enabled: z.ZodBoolean;
1549
+ sortOrder: z.ZodNumber;
1550
+ id: z.ZodUUID;
1551
+ createdAt: z.ZodISODateTime;
1552
+ updatedAt: z.ZodISODateTime;
1553
+ }, z.core.$strict>;
1554
+ }, z.core.$strict>;
1555
+ };
1556
+ enableFriendLink: {
1557
+ readonly path: "/management/friend-links/enable";
1558
+ readonly input: z.ZodObject<{
1559
+ id: z.ZodUUID;
1560
+ }, z.core.$strict>;
1561
+ readonly output: z.ZodObject<{
1562
+ item: z.ZodObject<{
1563
+ name: z.ZodString;
1564
+ url: z.ZodURL;
1565
+ description: z.ZodNullable<z.ZodString>;
1566
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1567
+ enabled: z.ZodBoolean;
1568
+ sortOrder: z.ZodNumber;
1569
+ id: z.ZodUUID;
1570
+ createdAt: z.ZodISODateTime;
1571
+ updatedAt: z.ZodISODateTime;
1572
+ }, z.core.$strict>;
1573
+ }, z.core.$strict>;
1574
+ };
1575
+ disableFriendLink: {
1576
+ readonly path: "/management/friend-links/disable";
1577
+ readonly input: z.ZodObject<{
1578
+ id: z.ZodUUID;
1579
+ }, z.core.$strict>;
1580
+ readonly output: z.ZodObject<{
1581
+ item: z.ZodObject<{
1582
+ name: z.ZodString;
1583
+ url: z.ZodURL;
1584
+ description: z.ZodNullable<z.ZodString>;
1585
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1586
+ enabled: z.ZodBoolean;
1587
+ sortOrder: z.ZodNumber;
1588
+ id: z.ZodUUID;
1589
+ createdAt: z.ZodISODateTime;
1590
+ updatedAt: z.ZodISODateTime;
1591
+ }, z.core.$strict>;
1592
+ }, z.core.$strict>;
1593
+ };
1594
+ deleteFriendLink: {
1595
+ readonly path: "/management/friend-links/delete";
1596
+ readonly input: z.ZodObject<{
1597
+ id: z.ZodUUID;
1598
+ }, z.core.$strict>;
1599
+ readonly output: z.ZodObject<{
1600
+ deleted: z.ZodLiteral<true>;
1601
+ id: z.ZodUUID;
1602
+ }, z.core.$strict>;
1603
+ };
1604
+ listThemes: {
1605
+ readonly path: "/management/themes/list";
1606
+ readonly input: z.ZodObject<{}, z.core.$strict>;
1607
+ readonly output: z.ZodObject<{
1608
+ reconciledAt: z.ZodISODateTime;
1609
+ selection: z.ZodObject<{
1610
+ themeId: z.ZodReadonly<z.ZodString>;
1611
+ revision: z.ZodReadonly<z.ZodNumber>;
1612
+ updatedAt: z.ZodISODateTime;
1613
+ updatedBy: z.ZodString;
1614
+ }, z.core.$strict>;
1615
+ themes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1616
+ themeId: z.ZodReadonly<z.ZodString>;
1617
+ displayName: z.ZodString;
1618
+ description: z.ZodNullable<z.ZodString>;
1619
+ generation: z.ZodNumber;
1620
+ buildId: z.ZodString;
1621
+ instanceCount: z.ZodNumber;
1622
+ status: z.ZodEnum<{
1623
+ activating: "activating";
1624
+ active: "active";
1625
+ available: "available";
1626
+ conflicted: "conflicted";
1627
+ fallback: "fallback";
1628
+ selected: "selected";
1629
+ unavailable: "unavailable";
1630
+ }>;
1631
+ }, z.core.$strict>>>;
1632
+ }, z.core.$strict>;
1633
+ };
1634
+ readThemeSelection: {
1635
+ readonly path: "/management/themes/read-selection";
1636
+ readonly input: z.ZodObject<{}, z.core.$strict>;
1637
+ readonly output: z.ZodObject<{
1638
+ themeId: z.ZodReadonly<z.ZodString>;
1639
+ revision: z.ZodReadonly<z.ZodNumber>;
1640
+ updatedAt: z.ZodISODateTime;
1641
+ updatedBy: z.ZodString;
1642
+ }, z.core.$strict>;
1643
+ };
1644
+ readThemeStatus: {
1645
+ readonly path: "/management/themes/read-status";
1646
+ readonly input: z.ZodObject<{
1647
+ themeId: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
1648
+ }, z.core.$strict>;
1649
+ readonly output: z.ZodObject<{
1650
+ themeId: z.ZodReadonly<z.ZodString>;
1651
+ displayName: z.ZodString;
1652
+ description: z.ZodNullable<z.ZodString>;
1653
+ generation: z.ZodNumber;
1654
+ buildId: z.ZodString;
1655
+ instanceCount: z.ZodNumber;
1656
+ status: z.ZodEnum<{
1657
+ activating: "activating";
1658
+ active: "active";
1659
+ available: "available";
1660
+ conflicted: "conflicted";
1661
+ fallback: "fallback";
1662
+ selected: "selected";
1663
+ unavailable: "unavailable";
1664
+ }>;
1665
+ }, z.core.$strict>;
1666
+ };
1667
+ selectTheme: {
1668
+ readonly path: "/management/themes/select";
1669
+ readonly input: z.ZodObject<{
1670
+ themeId: z.ZodReadonly<z.ZodString>;
1671
+ actor: z.ZodString;
1672
+ }, z.core.$strict>;
1673
+ readonly output: z.ZodObject<{
1674
+ reconciledAt: z.ZodISODateTime;
1675
+ selection: z.ZodObject<{
1676
+ themeId: z.ZodReadonly<z.ZodString>;
1677
+ revision: z.ZodReadonly<z.ZodNumber>;
1678
+ updatedAt: z.ZodISODateTime;
1679
+ updatedBy: z.ZodString;
1680
+ }, z.core.$strict>;
1681
+ themes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1682
+ themeId: z.ZodReadonly<z.ZodString>;
1683
+ displayName: z.ZodString;
1684
+ description: z.ZodNullable<z.ZodString>;
1685
+ generation: z.ZodNumber;
1686
+ buildId: z.ZodString;
1687
+ instanceCount: z.ZodNumber;
1688
+ status: z.ZodEnum<{
1689
+ activating: "activating";
1690
+ active: "active";
1691
+ available: "available";
1692
+ conflicted: "conflicted";
1693
+ fallback: "fallback";
1694
+ selected: "selected";
1695
+ unavailable: "unavailable";
1696
+ }>;
1697
+ }, z.core.$strict>>>;
1698
+ }, z.core.$strict>;
1699
+ };
1700
+ }>;
1701
+ }>;
1702
+ export type BlogContractClient<Options> = MicroClient<typeof blogMicroContract, Options>;
1703
+ //# sourceMappingURL=contract.d.ts.map