@zlooks.cn/blog-shared 1.0.1 → 1.0.2

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,1207 @@
1
+ import { z } from 'zod';
2
+ import type { BlogMicroCallOptions, BlogMicroCaller } from './micro.js';
3
+ export declare const BLOG_MANAGEMENT_OPERATIONS: Readonly<{
4
+ categories: "/management/categories";
5
+ tags: "/management/tags";
6
+ posts: "/management/posts";
7
+ pages: "/management/pages";
8
+ comments: "/management/comments";
9
+ friendLinks: "/management/friend-links";
10
+ themes: "/management/themes";
11
+ }>;
12
+ export declare const blogManagementIdInputSchema: z.ZodObject<{
13
+ id: z.ZodUUID;
14
+ }, z.core.$strict>;
15
+ export declare const blogManagementListInputSchema: z.ZodObject<{
16
+ limit: z.ZodDefault<z.ZodNumber>;
17
+ cursor: z.ZodOptional<z.ZodUUID>;
18
+ }, z.core.$strict>;
19
+ export declare const blogManagementDeletedSchema: z.ZodObject<{
20
+ deleted: z.ZodLiteral<true>;
21
+ id: z.ZodUUID;
22
+ }, z.core.$strict>;
23
+ export declare const blogManagementCategoryInputSchema: z.ZodObject<{
24
+ name: z.ZodString;
25
+ slug: z.ZodString;
26
+ description: z.ZodNullable<z.ZodString>;
27
+ sortOrder: z.ZodNumber;
28
+ }, z.core.$strict>;
29
+ export declare const blogManagementCategorySchema: z.ZodObject<{
30
+ name: z.ZodString;
31
+ slug: z.ZodString;
32
+ description: z.ZodNullable<z.ZodString>;
33
+ sortOrder: z.ZodNumber;
34
+ id: z.ZodUUID;
35
+ createdAt: z.ZodISODateTime;
36
+ updatedAt: z.ZodISODateTime;
37
+ }, z.core.$strict>;
38
+ export declare const blogManagementCategoryRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
39
+ limit: z.ZodDefault<z.ZodNumber>;
40
+ cursor: z.ZodOptional<z.ZodUUID>;
41
+ action: z.ZodLiteral<"list">;
42
+ }, z.core.$strict>, z.ZodObject<{
43
+ id: z.ZodUUID;
44
+ action: z.ZodLiteral<"read">;
45
+ }, z.core.$strict>, z.ZodObject<{
46
+ name: z.ZodString;
47
+ slug: z.ZodString;
48
+ description: z.ZodNullable<z.ZodString>;
49
+ sortOrder: z.ZodNumber;
50
+ action: z.ZodLiteral<"create">;
51
+ }, z.core.$strict>, z.ZodObject<{
52
+ name: z.ZodString;
53
+ slug: z.ZodString;
54
+ description: z.ZodNullable<z.ZodString>;
55
+ sortOrder: z.ZodNumber;
56
+ action: z.ZodLiteral<"update">;
57
+ id: z.ZodUUID;
58
+ }, z.core.$strict>, z.ZodObject<{
59
+ id: z.ZodUUID;
60
+ action: z.ZodLiteral<"delete">;
61
+ }, z.core.$strict>], "action">;
62
+ export declare const blogManagementCategoryResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
63
+ items: z.ZodArray<z.ZodObject<{
64
+ name: z.ZodString;
65
+ slug: z.ZodString;
66
+ description: z.ZodNullable<z.ZodString>;
67
+ sortOrder: z.ZodNumber;
68
+ id: z.ZodUUID;
69
+ createdAt: z.ZodISODateTime;
70
+ updatedAt: z.ZodISODateTime;
71
+ }, z.core.$strict>>;
72
+ nextCursor: z.ZodNullable<z.ZodUUID>;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ item: z.ZodObject<{
75
+ name: z.ZodString;
76
+ slug: z.ZodString;
77
+ description: z.ZodNullable<z.ZodString>;
78
+ sortOrder: z.ZodNumber;
79
+ id: z.ZodUUID;
80
+ createdAt: z.ZodISODateTime;
81
+ updatedAt: z.ZodISODateTime;
82
+ }, z.core.$strict>;
83
+ }, z.core.$strict>, z.ZodObject<{
84
+ deleted: z.ZodLiteral<true>;
85
+ id: z.ZodUUID;
86
+ }, z.core.$strict>]>;
87
+ export declare const blogManagementTagInputSchema: z.ZodObject<{
88
+ name: z.ZodString;
89
+ slug: z.ZodString;
90
+ }, z.core.$strict>;
91
+ export declare const blogManagementTagSchema: z.ZodObject<{
92
+ name: z.ZodString;
93
+ slug: z.ZodString;
94
+ id: z.ZodUUID;
95
+ createdAt: z.ZodISODateTime;
96
+ updatedAt: z.ZodISODateTime;
97
+ }, z.core.$strict>;
98
+ export declare const blogManagementTagRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
99
+ limit: z.ZodDefault<z.ZodNumber>;
100
+ cursor: z.ZodOptional<z.ZodUUID>;
101
+ action: z.ZodLiteral<"list">;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ id: z.ZodUUID;
104
+ action: z.ZodLiteral<"read">;
105
+ }, z.core.$strict>, z.ZodObject<{
106
+ name: z.ZodString;
107
+ slug: z.ZodString;
108
+ action: z.ZodLiteral<"create">;
109
+ }, z.core.$strict>, z.ZodObject<{
110
+ name: z.ZodString;
111
+ slug: z.ZodString;
112
+ action: z.ZodLiteral<"update">;
113
+ id: z.ZodUUID;
114
+ }, z.core.$strict>, z.ZodObject<{
115
+ id: z.ZodUUID;
116
+ action: z.ZodLiteral<"delete">;
117
+ }, z.core.$strict>], "action">;
118
+ export declare const blogManagementTagResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
119
+ items: z.ZodArray<z.ZodObject<{
120
+ name: z.ZodString;
121
+ slug: z.ZodString;
122
+ id: z.ZodUUID;
123
+ createdAt: z.ZodISODateTime;
124
+ updatedAt: z.ZodISODateTime;
125
+ }, z.core.$strict>>;
126
+ nextCursor: z.ZodNullable<z.ZodUUID>;
127
+ }, z.core.$strict>, z.ZodObject<{
128
+ item: z.ZodObject<{
129
+ name: z.ZodString;
130
+ slug: z.ZodString;
131
+ id: z.ZodUUID;
132
+ createdAt: z.ZodISODateTime;
133
+ updatedAt: z.ZodISODateTime;
134
+ }, z.core.$strict>;
135
+ }, z.core.$strict>, z.ZodObject<{
136
+ deleted: z.ZodLiteral<true>;
137
+ id: z.ZodUUID;
138
+ }, z.core.$strict>]>;
139
+ export declare const blogManagementPostInputSchema: z.ZodObject<{
140
+ categoryId: z.ZodUUID;
141
+ title: z.ZodString;
142
+ slug: z.ZodString;
143
+ summary: z.ZodNullable<z.ZodString>;
144
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
145
+ content: z.ZodString;
146
+ tagIds: z.ZodArray<z.ZodUUID>;
147
+ }, z.core.$strict>;
148
+ export declare const blogManagementPostSchema: z.ZodObject<{
149
+ id: z.ZodUUID;
150
+ categoryId: z.ZodUUID;
151
+ title: z.ZodString;
152
+ slug: z.ZodString;
153
+ summary: z.ZodNullable<z.ZodString>;
154
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
155
+ content: z.ZodString;
156
+ status: z.ZodEnum<{
157
+ archived: "archived";
158
+ draft: "draft";
159
+ published: "published";
160
+ }>;
161
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
162
+ createdAt: z.ZodISODateTime;
163
+ updatedAt: z.ZodISODateTime;
164
+ tags: z.ZodArray<z.ZodObject<{
165
+ name: z.ZodString;
166
+ slug: z.ZodString;
167
+ id: z.ZodUUID;
168
+ createdAt: z.ZodISODateTime;
169
+ updatedAt: z.ZodISODateTime;
170
+ }, z.core.$strict>>;
171
+ }, z.core.$strict>;
172
+ export declare const blogManagementPostSearchSchema: z.ZodObject<{
173
+ id: z.ZodUUID;
174
+ categoryId: z.ZodUUID;
175
+ title: z.ZodString;
176
+ slug: z.ZodString;
177
+ summary: z.ZodNullable<z.ZodString>;
178
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
179
+ status: z.ZodEnum<{
180
+ archived: "archived";
181
+ draft: "draft";
182
+ published: "published";
183
+ }>;
184
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
185
+ createdAt: z.ZodISODateTime;
186
+ updatedAt: z.ZodISODateTime;
187
+ tags: z.ZodArray<z.ZodObject<{
188
+ name: z.ZodString;
189
+ slug: z.ZodString;
190
+ id: z.ZodUUID;
191
+ createdAt: z.ZodISODateTime;
192
+ updatedAt: z.ZodISODateTime;
193
+ }, z.core.$strict>>;
194
+ }, z.core.$strict>;
195
+ export declare const blogManagementPostListInputSchema: z.ZodObject<{
196
+ limit: z.ZodDefault<z.ZodNumber>;
197
+ cursor: z.ZodOptional<z.ZodUUID>;
198
+ status: z.ZodOptional<z.ZodEnum<{
199
+ archived: "archived";
200
+ draft: "draft";
201
+ published: "published";
202
+ }>>;
203
+ categoryId: z.ZodOptional<z.ZodUUID>;
204
+ }, z.core.$strict>;
205
+ export declare const blogManagementPostSearchInputSchema: z.ZodObject<{
206
+ query: z.ZodString;
207
+ limit: z.ZodDefault<z.ZodNumber>;
208
+ status: z.ZodOptional<z.ZodEnum<{
209
+ archived: "archived";
210
+ draft: "draft";
211
+ published: "published";
212
+ }>>;
213
+ }, z.core.$strict>;
214
+ export declare const blogManagementPostArchiveInputSchema: z.ZodObject<{
215
+ limit: z.ZodDefault<z.ZodNumber>;
216
+ monthLimit: z.ZodDefault<z.ZodNumber>;
217
+ cursor: z.ZodOptional<z.ZodUUID>;
218
+ year: z.ZodOptional<z.ZodNumber>;
219
+ month: z.ZodOptional<z.ZodNumber>;
220
+ startYear: z.ZodOptional<z.ZodNumber>;
221
+ startMonth: z.ZodOptional<z.ZodNumber>;
222
+ endYear: z.ZodOptional<z.ZodNumber>;
223
+ endMonth: z.ZodOptional<z.ZodNumber>;
224
+ }, z.core.$strict>;
225
+ export declare const blogManagementPostAuditInputSchema: z.ZodObject<{
226
+ categoryId: z.ZodUUID;
227
+ title: z.ZodString;
228
+ summary: z.ZodNullable<z.ZodString>;
229
+ content: z.ZodString;
230
+ tagIds: z.ZodArray<z.ZodUUID>;
231
+ }, z.core.$strict>;
232
+ export declare const blogManagementPostAuditSchema: z.ZodObject<{
233
+ publishable: z.ZodBoolean;
234
+ findings: z.ZodArray<z.ZodObject<{
235
+ ruleId: z.ZodString;
236
+ severity: z.ZodEnum<{
237
+ block: "block";
238
+ info: "info";
239
+ warning: "warning";
240
+ }>;
241
+ source: z.ZodEnum<{
242
+ heuristic: "heuristic";
243
+ project: "project";
244
+ "search-engine": "search-engine";
245
+ }>;
246
+ field: z.ZodEnum<{
247
+ category: "category";
248
+ content: "content";
249
+ summary: "summary";
250
+ tags: "tags";
251
+ title: "title";
252
+ }>;
253
+ message: z.ZodString;
254
+ suggestion: z.ZodString;
255
+ location: z.ZodOptional<z.ZodObject<{
256
+ line: z.ZodNumber;
257
+ column: z.ZodNumber;
258
+ }, z.core.$strict>>;
259
+ }, z.core.$strict>>;
260
+ }, z.core.$strict>;
261
+ export declare const blogManagementPostArchiveSchema: z.ZodObject<{
262
+ items: z.ZodArray<z.ZodObject<{
263
+ id: z.ZodUUID;
264
+ categoryId: z.ZodUUID;
265
+ title: z.ZodString;
266
+ slug: z.ZodString;
267
+ summary: z.ZodNullable<z.ZodString>;
268
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
269
+ status: z.ZodEnum<{
270
+ archived: "archived";
271
+ draft: "draft";
272
+ published: "published";
273
+ }>;
274
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
275
+ createdAt: z.ZodISODateTime;
276
+ updatedAt: z.ZodISODateTime;
277
+ tags: z.ZodArray<z.ZodObject<{
278
+ name: z.ZodString;
279
+ slug: z.ZodString;
280
+ id: z.ZodUUID;
281
+ createdAt: z.ZodISODateTime;
282
+ updatedAt: z.ZodISODateTime;
283
+ }, z.core.$strict>>;
284
+ }, z.core.$strict>>;
285
+ months: z.ZodArray<z.ZodObject<{
286
+ year: z.ZodNumber;
287
+ month: z.ZodNumber;
288
+ count: z.ZodNumber;
289
+ }, z.core.$strict>>;
290
+ nextCursor: z.ZodNullable<z.ZodUUID>;
291
+ total: z.ZodNumber;
292
+ }, z.core.$strict>;
293
+ export declare const blogManagementPostRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
294
+ limit: z.ZodDefault<z.ZodNumber>;
295
+ cursor: z.ZodOptional<z.ZodUUID>;
296
+ status: z.ZodOptional<z.ZodEnum<{
297
+ archived: "archived";
298
+ draft: "draft";
299
+ published: "published";
300
+ }>>;
301
+ categoryId: z.ZodOptional<z.ZodUUID>;
302
+ action: z.ZodLiteral<"list">;
303
+ }, z.core.$strict>, z.ZodObject<{
304
+ limit: z.ZodDefault<z.ZodNumber>;
305
+ monthLimit: z.ZodDefault<z.ZodNumber>;
306
+ cursor: z.ZodOptional<z.ZodUUID>;
307
+ year: z.ZodOptional<z.ZodNumber>;
308
+ month: z.ZodOptional<z.ZodNumber>;
309
+ startYear: z.ZodOptional<z.ZodNumber>;
310
+ startMonth: z.ZodOptional<z.ZodNumber>;
311
+ endYear: z.ZodOptional<z.ZodNumber>;
312
+ endMonth: z.ZodOptional<z.ZodNumber>;
313
+ action: z.ZodLiteral<"archive-list">;
314
+ }, z.core.$strict>, z.ZodObject<{
315
+ query: z.ZodString;
316
+ limit: z.ZodDefault<z.ZodNumber>;
317
+ status: z.ZodOptional<z.ZodEnum<{
318
+ archived: "archived";
319
+ draft: "draft";
320
+ published: "published";
321
+ }>>;
322
+ action: z.ZodLiteral<"search">;
323
+ }, z.core.$strict>, z.ZodObject<{
324
+ id: z.ZodUUID;
325
+ action: z.ZodLiteral<"read">;
326
+ }, z.core.$strict>, z.ZodObject<{
327
+ categoryId: z.ZodUUID;
328
+ title: z.ZodString;
329
+ summary: z.ZodNullable<z.ZodString>;
330
+ content: z.ZodString;
331
+ tagIds: z.ZodArray<z.ZodUUID>;
332
+ action: z.ZodLiteral<"audit">;
333
+ }, z.core.$strict>, z.ZodObject<{
334
+ categoryId: z.ZodUUID;
335
+ title: z.ZodString;
336
+ slug: z.ZodString;
337
+ summary: z.ZodNullable<z.ZodString>;
338
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
339
+ content: z.ZodString;
340
+ tagIds: z.ZodArray<z.ZodUUID>;
341
+ action: z.ZodLiteral<"create">;
342
+ }, z.core.$strict>, z.ZodObject<{
343
+ categoryId: z.ZodUUID;
344
+ title: z.ZodString;
345
+ slug: z.ZodString;
346
+ summary: z.ZodNullable<z.ZodString>;
347
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
348
+ content: z.ZodString;
349
+ tagIds: z.ZodArray<z.ZodUUID>;
350
+ action: z.ZodLiteral<"update">;
351
+ id: z.ZodUUID;
352
+ }, z.core.$strict>, z.ZodObject<{
353
+ id: z.ZodUUID;
354
+ action: z.ZodLiteral<"publish">;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ id: z.ZodUUID;
357
+ action: z.ZodLiteral<"archive">;
358
+ }, z.core.$strict>, z.ZodObject<{
359
+ id: z.ZodUUID;
360
+ action: z.ZodLiteral<"delete">;
361
+ }, z.core.$strict>], "action">;
362
+ export declare const blogManagementPostSuccessResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
363
+ items: z.ZodArray<z.ZodObject<{
364
+ id: z.ZodUUID;
365
+ categoryId: z.ZodUUID;
366
+ title: z.ZodString;
367
+ slug: z.ZodString;
368
+ summary: z.ZodNullable<z.ZodString>;
369
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
370
+ content: z.ZodString;
371
+ status: z.ZodEnum<{
372
+ archived: "archived";
373
+ draft: "draft";
374
+ published: "published";
375
+ }>;
376
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
377
+ createdAt: z.ZodISODateTime;
378
+ updatedAt: z.ZodISODateTime;
379
+ tags: z.ZodArray<z.ZodObject<{
380
+ name: z.ZodString;
381
+ slug: z.ZodString;
382
+ id: z.ZodUUID;
383
+ createdAt: z.ZodISODateTime;
384
+ updatedAt: z.ZodISODateTime;
385
+ }, z.core.$strict>>;
386
+ }, z.core.$strict>>;
387
+ nextCursor: z.ZodNullable<z.ZodUUID>;
388
+ }, z.core.$strict>, z.ZodObject<{
389
+ items: z.ZodArray<z.ZodObject<{
390
+ id: z.ZodUUID;
391
+ categoryId: z.ZodUUID;
392
+ title: z.ZodString;
393
+ slug: z.ZodString;
394
+ summary: z.ZodNullable<z.ZodString>;
395
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
396
+ status: z.ZodEnum<{
397
+ archived: "archived";
398
+ draft: "draft";
399
+ published: "published";
400
+ }>;
401
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
402
+ createdAt: z.ZodISODateTime;
403
+ updatedAt: z.ZodISODateTime;
404
+ tags: z.ZodArray<z.ZodObject<{
405
+ name: z.ZodString;
406
+ slug: z.ZodString;
407
+ id: z.ZodUUID;
408
+ createdAt: z.ZodISODateTime;
409
+ updatedAt: z.ZodISODateTime;
410
+ }, z.core.$strict>>;
411
+ }, z.core.$strict>>;
412
+ months: z.ZodArray<z.ZodObject<{
413
+ year: z.ZodNumber;
414
+ month: z.ZodNumber;
415
+ count: z.ZodNumber;
416
+ }, z.core.$strict>>;
417
+ nextCursor: z.ZodNullable<z.ZodUUID>;
418
+ total: z.ZodNumber;
419
+ }, z.core.$strict>, z.ZodObject<{
420
+ items: z.ZodArray<z.ZodObject<{
421
+ id: z.ZodUUID;
422
+ categoryId: z.ZodUUID;
423
+ title: z.ZodString;
424
+ slug: z.ZodString;
425
+ summary: z.ZodNullable<z.ZodString>;
426
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
427
+ status: z.ZodEnum<{
428
+ archived: "archived";
429
+ draft: "draft";
430
+ published: "published";
431
+ }>;
432
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
433
+ createdAt: z.ZodISODateTime;
434
+ updatedAt: z.ZodISODateTime;
435
+ tags: z.ZodArray<z.ZodObject<{
436
+ name: z.ZodString;
437
+ slug: z.ZodString;
438
+ id: z.ZodUUID;
439
+ createdAt: z.ZodISODateTime;
440
+ updatedAt: z.ZodISODateTime;
441
+ }, z.core.$strict>>;
442
+ }, z.core.$strict>>;
443
+ }, z.core.$strict>, z.ZodObject<{
444
+ item: z.ZodObject<{
445
+ id: z.ZodUUID;
446
+ categoryId: z.ZodUUID;
447
+ title: z.ZodString;
448
+ slug: z.ZodString;
449
+ summary: z.ZodNullable<z.ZodString>;
450
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
451
+ content: z.ZodString;
452
+ status: z.ZodEnum<{
453
+ archived: "archived";
454
+ draft: "draft";
455
+ published: "published";
456
+ }>;
457
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
458
+ createdAt: z.ZodISODateTime;
459
+ updatedAt: z.ZodISODateTime;
460
+ tags: z.ZodArray<z.ZodObject<{
461
+ name: z.ZodString;
462
+ slug: z.ZodString;
463
+ id: z.ZodUUID;
464
+ createdAt: z.ZodISODateTime;
465
+ updatedAt: z.ZodISODateTime;
466
+ }, z.core.$strict>>;
467
+ }, z.core.$strict>;
468
+ }, z.core.$strict>, z.ZodObject<{
469
+ publishable: z.ZodBoolean;
470
+ findings: z.ZodArray<z.ZodObject<{
471
+ ruleId: z.ZodString;
472
+ severity: z.ZodEnum<{
473
+ block: "block";
474
+ info: "info";
475
+ warning: "warning";
476
+ }>;
477
+ source: z.ZodEnum<{
478
+ heuristic: "heuristic";
479
+ project: "project";
480
+ "search-engine": "search-engine";
481
+ }>;
482
+ field: z.ZodEnum<{
483
+ category: "category";
484
+ content: "content";
485
+ summary: "summary";
486
+ tags: "tags";
487
+ title: "title";
488
+ }>;
489
+ message: z.ZodString;
490
+ suggestion: z.ZodString;
491
+ location: z.ZodOptional<z.ZodObject<{
492
+ line: z.ZodNumber;
493
+ column: z.ZodNumber;
494
+ }, z.core.$strict>>;
495
+ }, z.core.$strict>>;
496
+ }, z.core.$strict>, z.ZodObject<{
497
+ deleted: z.ZodLiteral<true>;
498
+ id: z.ZodUUID;
499
+ }, z.core.$strict>]>;
500
+ export declare const blogManagementPostBlockedSchema: z.ZodObject<{
501
+ outcome: z.ZodLiteral<"content-blocked">;
502
+ audit: z.ZodObject<{
503
+ publishable: z.ZodBoolean;
504
+ findings: z.ZodArray<z.ZodObject<{
505
+ ruleId: z.ZodString;
506
+ severity: z.ZodEnum<{
507
+ block: "block";
508
+ info: "info";
509
+ warning: "warning";
510
+ }>;
511
+ source: z.ZodEnum<{
512
+ heuristic: "heuristic";
513
+ project: "project";
514
+ "search-engine": "search-engine";
515
+ }>;
516
+ field: z.ZodEnum<{
517
+ category: "category";
518
+ content: "content";
519
+ summary: "summary";
520
+ tags: "tags";
521
+ title: "title";
522
+ }>;
523
+ message: z.ZodString;
524
+ suggestion: z.ZodString;
525
+ location: z.ZodOptional<z.ZodObject<{
526
+ line: z.ZodNumber;
527
+ column: z.ZodNumber;
528
+ }, z.core.$strict>>;
529
+ }, z.core.$strict>>;
530
+ }, z.core.$strict>;
531
+ }, z.core.$strict>;
532
+ export declare const blogManagementPostResponseSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
533
+ items: z.ZodArray<z.ZodObject<{
534
+ id: z.ZodUUID;
535
+ categoryId: z.ZodUUID;
536
+ title: z.ZodString;
537
+ slug: z.ZodString;
538
+ summary: z.ZodNullable<z.ZodString>;
539
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
540
+ content: z.ZodString;
541
+ status: z.ZodEnum<{
542
+ archived: "archived";
543
+ draft: "draft";
544
+ published: "published";
545
+ }>;
546
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
547
+ createdAt: z.ZodISODateTime;
548
+ updatedAt: z.ZodISODateTime;
549
+ tags: z.ZodArray<z.ZodObject<{
550
+ name: z.ZodString;
551
+ slug: z.ZodString;
552
+ id: z.ZodUUID;
553
+ createdAt: z.ZodISODateTime;
554
+ updatedAt: z.ZodISODateTime;
555
+ }, z.core.$strict>>;
556
+ }, z.core.$strict>>;
557
+ nextCursor: z.ZodNullable<z.ZodUUID>;
558
+ }, z.core.$strict>, z.ZodObject<{
559
+ items: z.ZodArray<z.ZodObject<{
560
+ id: z.ZodUUID;
561
+ categoryId: z.ZodUUID;
562
+ title: z.ZodString;
563
+ slug: z.ZodString;
564
+ summary: z.ZodNullable<z.ZodString>;
565
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
566
+ status: z.ZodEnum<{
567
+ archived: "archived";
568
+ draft: "draft";
569
+ published: "published";
570
+ }>;
571
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
572
+ createdAt: z.ZodISODateTime;
573
+ updatedAt: z.ZodISODateTime;
574
+ tags: z.ZodArray<z.ZodObject<{
575
+ name: z.ZodString;
576
+ slug: z.ZodString;
577
+ id: z.ZodUUID;
578
+ createdAt: z.ZodISODateTime;
579
+ updatedAt: z.ZodISODateTime;
580
+ }, z.core.$strict>>;
581
+ }, z.core.$strict>>;
582
+ months: z.ZodArray<z.ZodObject<{
583
+ year: z.ZodNumber;
584
+ month: z.ZodNumber;
585
+ count: z.ZodNumber;
586
+ }, z.core.$strict>>;
587
+ nextCursor: z.ZodNullable<z.ZodUUID>;
588
+ total: z.ZodNumber;
589
+ }, z.core.$strict>, z.ZodObject<{
590
+ items: z.ZodArray<z.ZodObject<{
591
+ id: z.ZodUUID;
592
+ categoryId: z.ZodUUID;
593
+ title: z.ZodString;
594
+ slug: z.ZodString;
595
+ summary: z.ZodNullable<z.ZodString>;
596
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
597
+ status: z.ZodEnum<{
598
+ archived: "archived";
599
+ draft: "draft";
600
+ published: "published";
601
+ }>;
602
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
603
+ createdAt: z.ZodISODateTime;
604
+ updatedAt: z.ZodISODateTime;
605
+ tags: z.ZodArray<z.ZodObject<{
606
+ name: z.ZodString;
607
+ slug: z.ZodString;
608
+ id: z.ZodUUID;
609
+ createdAt: z.ZodISODateTime;
610
+ updatedAt: z.ZodISODateTime;
611
+ }, z.core.$strict>>;
612
+ }, z.core.$strict>>;
613
+ }, z.core.$strict>, z.ZodObject<{
614
+ item: z.ZodObject<{
615
+ id: z.ZodUUID;
616
+ categoryId: z.ZodUUID;
617
+ title: z.ZodString;
618
+ slug: z.ZodString;
619
+ summary: z.ZodNullable<z.ZodString>;
620
+ coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
621
+ content: z.ZodString;
622
+ status: z.ZodEnum<{
623
+ archived: "archived";
624
+ draft: "draft";
625
+ published: "published";
626
+ }>;
627
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
628
+ createdAt: z.ZodISODateTime;
629
+ updatedAt: z.ZodISODateTime;
630
+ tags: z.ZodArray<z.ZodObject<{
631
+ name: z.ZodString;
632
+ slug: z.ZodString;
633
+ id: z.ZodUUID;
634
+ createdAt: z.ZodISODateTime;
635
+ updatedAt: z.ZodISODateTime;
636
+ }, z.core.$strict>>;
637
+ }, z.core.$strict>;
638
+ }, z.core.$strict>, z.ZodObject<{
639
+ publishable: z.ZodBoolean;
640
+ findings: z.ZodArray<z.ZodObject<{
641
+ ruleId: z.ZodString;
642
+ severity: z.ZodEnum<{
643
+ block: "block";
644
+ info: "info";
645
+ warning: "warning";
646
+ }>;
647
+ source: z.ZodEnum<{
648
+ heuristic: "heuristic";
649
+ project: "project";
650
+ "search-engine": "search-engine";
651
+ }>;
652
+ field: z.ZodEnum<{
653
+ category: "category";
654
+ content: "content";
655
+ summary: "summary";
656
+ tags: "tags";
657
+ title: "title";
658
+ }>;
659
+ message: z.ZodString;
660
+ suggestion: z.ZodString;
661
+ location: z.ZodOptional<z.ZodObject<{
662
+ line: z.ZodNumber;
663
+ column: z.ZodNumber;
664
+ }, z.core.$strict>>;
665
+ }, z.core.$strict>>;
666
+ }, z.core.$strict>, z.ZodObject<{
667
+ deleted: z.ZodLiteral<true>;
668
+ id: z.ZodUUID;
669
+ }, z.core.$strict>]>, z.ZodObject<{
670
+ outcome: z.ZodLiteral<"content-blocked">;
671
+ audit: z.ZodObject<{
672
+ publishable: z.ZodBoolean;
673
+ findings: z.ZodArray<z.ZodObject<{
674
+ ruleId: z.ZodString;
675
+ severity: z.ZodEnum<{
676
+ block: "block";
677
+ info: "info";
678
+ warning: "warning";
679
+ }>;
680
+ source: z.ZodEnum<{
681
+ heuristic: "heuristic";
682
+ project: "project";
683
+ "search-engine": "search-engine";
684
+ }>;
685
+ field: z.ZodEnum<{
686
+ category: "category";
687
+ content: "content";
688
+ summary: "summary";
689
+ tags: "tags";
690
+ title: "title";
691
+ }>;
692
+ message: z.ZodString;
693
+ suggestion: z.ZodString;
694
+ location: z.ZodOptional<z.ZodObject<{
695
+ line: z.ZodNumber;
696
+ column: z.ZodNumber;
697
+ }, z.core.$strict>>;
698
+ }, z.core.$strict>>;
699
+ }, z.core.$strict>;
700
+ }, z.core.$strict>]>;
701
+ export declare class BlogPostContentBlockedError extends Error {
702
+ readonly report: z.infer<typeof blogManagementPostAuditSchema>;
703
+ constructor(report: z.infer<typeof blogManagementPostAuditSchema>);
704
+ }
705
+ export declare const blogManagementPageInputSchema: z.ZodObject<{
706
+ title: z.ZodString;
707
+ slug: z.ZodString;
708
+ summary: z.ZodString;
709
+ content: z.ZodString;
710
+ position: z.ZodNullable<z.ZodEnum<{
711
+ navigation: "navigation";
712
+ sidebar: "sidebar";
713
+ }>>;
714
+ sortOrder: z.ZodNumber;
715
+ }, z.core.$strict>;
716
+ export declare const blogManagementPageSchema: z.ZodObject<{
717
+ title: z.ZodString;
718
+ slug: z.ZodString;
719
+ summary: z.ZodString;
720
+ content: z.ZodString;
721
+ position: z.ZodNullable<z.ZodEnum<{
722
+ navigation: "navigation";
723
+ sidebar: "sidebar";
724
+ }>>;
725
+ sortOrder: z.ZodNumber;
726
+ id: z.ZodUUID;
727
+ status: z.ZodEnum<{
728
+ archived: "archived";
729
+ draft: "draft";
730
+ published: "published";
731
+ }>;
732
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
733
+ createdAt: z.ZodISODateTime;
734
+ updatedAt: z.ZodISODateTime;
735
+ }, z.core.$strict>;
736
+ export declare const blogManagementPageListInputSchema: z.ZodObject<{
737
+ limit: z.ZodDefault<z.ZodNumber>;
738
+ cursor: z.ZodOptional<z.ZodUUID>;
739
+ status: z.ZodOptional<z.ZodEnum<{
740
+ archived: "archived";
741
+ draft: "draft";
742
+ published: "published";
743
+ }>>;
744
+ position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
745
+ navigation: "navigation";
746
+ sidebar: "sidebar";
747
+ }>>>;
748
+ }, z.core.$strict>;
749
+ export declare const blogManagementPageRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
750
+ limit: z.ZodDefault<z.ZodNumber>;
751
+ cursor: z.ZodOptional<z.ZodUUID>;
752
+ status: z.ZodOptional<z.ZodEnum<{
753
+ archived: "archived";
754
+ draft: "draft";
755
+ published: "published";
756
+ }>>;
757
+ position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
758
+ navigation: "navigation";
759
+ sidebar: "sidebar";
760
+ }>>>;
761
+ action: z.ZodLiteral<"list">;
762
+ }, z.core.$strict>, z.ZodObject<{
763
+ id: z.ZodUUID;
764
+ action: z.ZodLiteral<"read">;
765
+ }, z.core.$strict>, z.ZodObject<{
766
+ title: z.ZodString;
767
+ slug: z.ZodString;
768
+ summary: z.ZodString;
769
+ content: z.ZodString;
770
+ position: z.ZodNullable<z.ZodEnum<{
771
+ navigation: "navigation";
772
+ sidebar: "sidebar";
773
+ }>>;
774
+ sortOrder: z.ZodNumber;
775
+ action: z.ZodLiteral<"create">;
776
+ }, z.core.$strict>, z.ZodObject<{
777
+ title: z.ZodString;
778
+ slug: z.ZodString;
779
+ summary: z.ZodString;
780
+ content: z.ZodString;
781
+ position: z.ZodNullable<z.ZodEnum<{
782
+ navigation: "navigation";
783
+ sidebar: "sidebar";
784
+ }>>;
785
+ sortOrder: z.ZodNumber;
786
+ action: z.ZodLiteral<"update">;
787
+ id: z.ZodUUID;
788
+ }, z.core.$strict>, z.ZodObject<{
789
+ id: z.ZodUUID;
790
+ action: z.ZodLiteral<"publish">;
791
+ }, z.core.$strict>, z.ZodObject<{
792
+ id: z.ZodUUID;
793
+ action: z.ZodLiteral<"archive">;
794
+ }, z.core.$strict>, z.ZodObject<{
795
+ id: z.ZodUUID;
796
+ action: z.ZodLiteral<"delete">;
797
+ }, z.core.$strict>], "action">;
798
+ export declare const blogManagementPageResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
799
+ items: z.ZodArray<z.ZodObject<{
800
+ title: z.ZodString;
801
+ slug: z.ZodString;
802
+ summary: z.ZodString;
803
+ content: z.ZodString;
804
+ position: z.ZodNullable<z.ZodEnum<{
805
+ navigation: "navigation";
806
+ sidebar: "sidebar";
807
+ }>>;
808
+ sortOrder: z.ZodNumber;
809
+ id: z.ZodUUID;
810
+ status: z.ZodEnum<{
811
+ archived: "archived";
812
+ draft: "draft";
813
+ published: "published";
814
+ }>;
815
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
816
+ createdAt: z.ZodISODateTime;
817
+ updatedAt: z.ZodISODateTime;
818
+ }, z.core.$strict>>;
819
+ nextCursor: z.ZodNullable<z.ZodUUID>;
820
+ }, z.core.$strict>, z.ZodObject<{
821
+ item: z.ZodObject<{
822
+ title: z.ZodString;
823
+ slug: z.ZodString;
824
+ summary: z.ZodString;
825
+ content: z.ZodString;
826
+ position: z.ZodNullable<z.ZodEnum<{
827
+ navigation: "navigation";
828
+ sidebar: "sidebar";
829
+ }>>;
830
+ sortOrder: z.ZodNumber;
831
+ id: z.ZodUUID;
832
+ status: z.ZodEnum<{
833
+ archived: "archived";
834
+ draft: "draft";
835
+ published: "published";
836
+ }>;
837
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
838
+ createdAt: z.ZodISODateTime;
839
+ updatedAt: z.ZodISODateTime;
840
+ }, z.core.$strict>;
841
+ }, z.core.$strict>, z.ZodObject<{
842
+ deleted: z.ZodLiteral<true>;
843
+ id: z.ZodUUID;
844
+ }, z.core.$strict>]>;
845
+ export declare const blogManagementCommentSchema: z.ZodObject<{
846
+ id: z.ZodUUID;
847
+ postId: z.ZodUUID;
848
+ userId: z.ZodUUID;
849
+ content: z.ZodString;
850
+ replyContent: z.ZodNullable<z.ZodString>;
851
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
852
+ userAgent: z.ZodNullable<z.ZodString>;
853
+ ipLocation: z.ZodNullable<z.ZodString>;
854
+ clientLabel: z.ZodNullable<z.ZodString>;
855
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
856
+ status: z.ZodEnum<{
857
+ approved: "approved";
858
+ pending: "pending";
859
+ rejected: "rejected";
860
+ }>;
861
+ createdAt: z.ZodISODateTime;
862
+ updatedAt: z.ZodISODateTime;
863
+ }, z.core.$strict>;
864
+ export declare const blogManagementCommentListInputSchema: z.ZodObject<{
865
+ limit: z.ZodDefault<z.ZodNumber>;
866
+ cursor: z.ZodOptional<z.ZodUUID>;
867
+ status: z.ZodOptional<z.ZodEnum<{
868
+ approved: "approved";
869
+ pending: "pending";
870
+ rejected: "rejected";
871
+ }>>;
872
+ postId: z.ZodOptional<z.ZodUUID>;
873
+ order: z.ZodDefault<z.ZodEnum<{
874
+ asc: "asc";
875
+ desc: "desc";
876
+ }>>;
877
+ }, z.core.$strict>;
878
+ export declare const blogManagementCommentRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
879
+ limit: z.ZodDefault<z.ZodNumber>;
880
+ cursor: z.ZodOptional<z.ZodUUID>;
881
+ status: z.ZodOptional<z.ZodEnum<{
882
+ approved: "approved";
883
+ pending: "pending";
884
+ rejected: "rejected";
885
+ }>>;
886
+ postId: z.ZodOptional<z.ZodUUID>;
887
+ order: z.ZodDefault<z.ZodEnum<{
888
+ asc: "asc";
889
+ desc: "desc";
890
+ }>>;
891
+ action: z.ZodLiteral<"list">;
892
+ }, z.core.$strict>, z.ZodObject<{
893
+ id: z.ZodUUID;
894
+ action: z.ZodLiteral<"read">;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ id: z.ZodUUID;
897
+ action: z.ZodLiteral<"approve">;
898
+ }, z.core.$strict>, z.ZodObject<{
899
+ id: z.ZodUUID;
900
+ action: z.ZodLiteral<"reject">;
901
+ }, z.core.$strict>, z.ZodObject<{
902
+ action: z.ZodLiteral<"reply">;
903
+ id: z.ZodUUID;
904
+ replyContent: z.ZodNullable<z.ZodString>;
905
+ }, z.core.$strict>, z.ZodObject<{
906
+ id: z.ZodUUID;
907
+ action: z.ZodLiteral<"delete">;
908
+ }, z.core.$strict>], "action">;
909
+ export declare const blogManagementCommentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
910
+ items: z.ZodArray<z.ZodObject<{
911
+ id: z.ZodUUID;
912
+ postId: z.ZodUUID;
913
+ userId: z.ZodUUID;
914
+ content: z.ZodString;
915
+ replyContent: z.ZodNullable<z.ZodString>;
916
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
917
+ userAgent: z.ZodNullable<z.ZodString>;
918
+ ipLocation: z.ZodNullable<z.ZodString>;
919
+ clientLabel: z.ZodNullable<z.ZodString>;
920
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
921
+ status: z.ZodEnum<{
922
+ approved: "approved";
923
+ pending: "pending";
924
+ rejected: "rejected";
925
+ }>;
926
+ createdAt: z.ZodISODateTime;
927
+ updatedAt: z.ZodISODateTime;
928
+ }, z.core.$strict>>;
929
+ nextCursor: z.ZodNullable<z.ZodUUID>;
930
+ }, z.core.$strict>, z.ZodObject<{
931
+ item: z.ZodObject<{
932
+ id: z.ZodUUID;
933
+ postId: z.ZodUUID;
934
+ userId: z.ZodUUID;
935
+ content: z.ZodString;
936
+ replyContent: z.ZodNullable<z.ZodString>;
937
+ ipAddress: z.ZodNullable<z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
938
+ userAgent: z.ZodNullable<z.ZodString>;
939
+ ipLocation: z.ZodNullable<z.ZodString>;
940
+ clientLabel: z.ZodNullable<z.ZodString>;
941
+ repliedAt: z.ZodNullable<z.ZodISODateTime>;
942
+ status: z.ZodEnum<{
943
+ approved: "approved";
944
+ pending: "pending";
945
+ rejected: "rejected";
946
+ }>;
947
+ createdAt: z.ZodISODateTime;
948
+ updatedAt: z.ZodISODateTime;
949
+ }, z.core.$strict>;
950
+ }, z.core.$strict>, z.ZodObject<{
951
+ deleted: z.ZodLiteral<true>;
952
+ id: z.ZodUUID;
953
+ }, z.core.$strict>]>;
954
+ export declare const blogManagementFriendLinkInputSchema: z.ZodObject<{
955
+ name: z.ZodString;
956
+ url: z.ZodURL;
957
+ description: z.ZodNullable<z.ZodString>;
958
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
959
+ enabled: z.ZodBoolean;
960
+ sortOrder: z.ZodNumber;
961
+ }, z.core.$strict>;
962
+ export declare const blogManagementFriendLinkSchema: z.ZodObject<{
963
+ name: z.ZodString;
964
+ url: z.ZodURL;
965
+ description: z.ZodNullable<z.ZodString>;
966
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
967
+ enabled: z.ZodBoolean;
968
+ sortOrder: z.ZodNumber;
969
+ id: z.ZodUUID;
970
+ createdAt: z.ZodISODateTime;
971
+ updatedAt: z.ZodISODateTime;
972
+ }, z.core.$strict>;
973
+ export declare const blogManagementFriendLinkRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
974
+ limit: z.ZodDefault<z.ZodNumber>;
975
+ cursor: z.ZodOptional<z.ZodUUID>;
976
+ action: z.ZodLiteral<"list">;
977
+ }, z.core.$strict>, z.ZodObject<{
978
+ id: z.ZodUUID;
979
+ action: z.ZodLiteral<"read">;
980
+ }, z.core.$strict>, z.ZodObject<{
981
+ name: z.ZodString;
982
+ url: z.ZodURL;
983
+ description: z.ZodNullable<z.ZodString>;
984
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
985
+ enabled: z.ZodBoolean;
986
+ sortOrder: z.ZodNumber;
987
+ action: z.ZodLiteral<"create">;
988
+ }, z.core.$strict>, z.ZodObject<{
989
+ name: z.ZodString;
990
+ url: z.ZodURL;
991
+ description: z.ZodNullable<z.ZodString>;
992
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
993
+ enabled: z.ZodBoolean;
994
+ sortOrder: z.ZodNumber;
995
+ action: z.ZodLiteral<"update">;
996
+ id: z.ZodUUID;
997
+ }, z.core.$strict>, z.ZodObject<{
998
+ id: z.ZodUUID;
999
+ action: z.ZodLiteral<"enable">;
1000
+ }, z.core.$strict>, z.ZodObject<{
1001
+ id: z.ZodUUID;
1002
+ action: z.ZodLiteral<"disable">;
1003
+ }, z.core.$strict>, z.ZodObject<{
1004
+ id: z.ZodUUID;
1005
+ action: z.ZodLiteral<"delete">;
1006
+ }, z.core.$strict>], "action">;
1007
+ export declare const blogManagementFriendLinkResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
1008
+ items: z.ZodArray<z.ZodObject<{
1009
+ name: z.ZodString;
1010
+ url: z.ZodURL;
1011
+ description: z.ZodNullable<z.ZodString>;
1012
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1013
+ enabled: z.ZodBoolean;
1014
+ sortOrder: z.ZodNumber;
1015
+ id: z.ZodUUID;
1016
+ createdAt: z.ZodISODateTime;
1017
+ updatedAt: z.ZodISODateTime;
1018
+ }, z.core.$strict>>;
1019
+ nextCursor: z.ZodNullable<z.ZodUUID>;
1020
+ }, z.core.$strict>, z.ZodObject<{
1021
+ item: z.ZodObject<{
1022
+ name: z.ZodString;
1023
+ url: z.ZodURL;
1024
+ description: z.ZodNullable<z.ZodString>;
1025
+ logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
1026
+ enabled: z.ZodBoolean;
1027
+ sortOrder: z.ZodNumber;
1028
+ id: z.ZodUUID;
1029
+ createdAt: z.ZodISODateTime;
1030
+ updatedAt: z.ZodISODateTime;
1031
+ }, z.core.$strict>;
1032
+ }, z.core.$strict>, z.ZodObject<{
1033
+ deleted: z.ZodLiteral<true>;
1034
+ id: z.ZodUUID;
1035
+ }, z.core.$strict>]>;
1036
+ export declare const blogManagementThemeSelectionSchema: z.ZodObject<{
1037
+ themeId: z.ZodReadonly<z.ZodString>;
1038
+ revision: z.ZodReadonly<z.ZodNumber>;
1039
+ updatedAt: z.ZodISODateTime;
1040
+ updatedBy: z.ZodString;
1041
+ }, z.core.$strict>;
1042
+ export declare const blogManagementThemeSchema: z.ZodObject<{
1043
+ themeId: z.ZodReadonly<z.ZodString>;
1044
+ displayName: z.ZodString;
1045
+ description: z.ZodNullable<z.ZodString>;
1046
+ generation: z.ZodNumber;
1047
+ buildId: z.ZodString;
1048
+ instanceCount: z.ZodNumber;
1049
+ status: z.ZodEnum<{
1050
+ activating: "activating";
1051
+ active: "active";
1052
+ available: "available";
1053
+ conflicted: "conflicted";
1054
+ fallback: "fallback";
1055
+ selected: "selected";
1056
+ unavailable: "unavailable";
1057
+ }>;
1058
+ }, z.core.$strict>;
1059
+ export declare const blogManagementThemeCatalogSchema: z.ZodObject<{
1060
+ reconciledAt: z.ZodISODateTime;
1061
+ selection: z.ZodObject<{
1062
+ themeId: z.ZodReadonly<z.ZodString>;
1063
+ revision: z.ZodReadonly<z.ZodNumber>;
1064
+ updatedAt: z.ZodISODateTime;
1065
+ updatedBy: z.ZodString;
1066
+ }, z.core.$strict>;
1067
+ themes: z.ZodArray<z.ZodObject<{
1068
+ themeId: z.ZodReadonly<z.ZodString>;
1069
+ displayName: z.ZodString;
1070
+ description: z.ZodNullable<z.ZodString>;
1071
+ generation: z.ZodNumber;
1072
+ buildId: z.ZodString;
1073
+ instanceCount: z.ZodNumber;
1074
+ status: z.ZodEnum<{
1075
+ activating: "activating";
1076
+ active: "active";
1077
+ available: "available";
1078
+ conflicted: "conflicted";
1079
+ fallback: "fallback";
1080
+ selected: "selected";
1081
+ unavailable: "unavailable";
1082
+ }>;
1083
+ }, z.core.$strict>>;
1084
+ }, z.core.$strict>;
1085
+ export declare const blogManagementThemeRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1086
+ action: z.ZodLiteral<"list">;
1087
+ }, z.core.$strict>, z.ZodObject<{
1088
+ action: z.ZodLiteral<"read-selection">;
1089
+ }, z.core.$strict>, z.ZodObject<{
1090
+ action: z.ZodLiteral<"read-status">;
1091
+ themeId: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
1092
+ }, z.core.$strict>, z.ZodObject<{
1093
+ action: z.ZodLiteral<"select">;
1094
+ themeId: z.ZodReadonly<z.ZodString>;
1095
+ actor: z.ZodString;
1096
+ }, z.core.$strict>], "action">;
1097
+ export declare const blogManagementThemeResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
1098
+ reconciledAt: z.ZodISODateTime;
1099
+ selection: z.ZodObject<{
1100
+ themeId: z.ZodReadonly<z.ZodString>;
1101
+ revision: z.ZodReadonly<z.ZodNumber>;
1102
+ updatedAt: z.ZodISODateTime;
1103
+ updatedBy: z.ZodString;
1104
+ }, z.core.$strict>;
1105
+ themes: z.ZodArray<z.ZodObject<{
1106
+ themeId: z.ZodReadonly<z.ZodString>;
1107
+ displayName: z.ZodString;
1108
+ description: z.ZodNullable<z.ZodString>;
1109
+ generation: z.ZodNumber;
1110
+ buildId: z.ZodString;
1111
+ instanceCount: z.ZodNumber;
1112
+ status: z.ZodEnum<{
1113
+ activating: "activating";
1114
+ active: "active";
1115
+ available: "available";
1116
+ conflicted: "conflicted";
1117
+ fallback: "fallback";
1118
+ selected: "selected";
1119
+ unavailable: "unavailable";
1120
+ }>;
1121
+ }, z.core.$strict>>;
1122
+ }, z.core.$strict>, z.ZodObject<{
1123
+ themeId: z.ZodReadonly<z.ZodString>;
1124
+ revision: z.ZodReadonly<z.ZodNumber>;
1125
+ updatedAt: z.ZodISODateTime;
1126
+ updatedBy: z.ZodString;
1127
+ }, z.core.$strict>, z.ZodObject<{
1128
+ themeId: z.ZodReadonly<z.ZodString>;
1129
+ displayName: z.ZodString;
1130
+ description: z.ZodNullable<z.ZodString>;
1131
+ generation: z.ZodNumber;
1132
+ buildId: z.ZodString;
1133
+ instanceCount: z.ZodNumber;
1134
+ status: z.ZodEnum<{
1135
+ activating: "activating";
1136
+ active: "active";
1137
+ available: "available";
1138
+ conflicted: "conflicted";
1139
+ fallback: "fallback";
1140
+ selected: "selected";
1141
+ unavailable: "unavailable";
1142
+ }>;
1143
+ }, z.core.$strict>]>;
1144
+ type IdInput = z.infer<typeof blogManagementIdInputSchema>;
1145
+ type ListInput = z.input<typeof blogManagementListInputSchema>;
1146
+ type CategoryInput = z.infer<typeof blogManagementCategoryInputSchema>;
1147
+ type TagInput = z.infer<typeof blogManagementTagInputSchema>;
1148
+ type PostInput = z.infer<typeof blogManagementPostInputSchema>;
1149
+ type PageInput = z.infer<typeof blogManagementPageInputSchema>;
1150
+ type CommentListInput = z.input<typeof blogManagementCommentListInputSchema>;
1151
+ type FriendLinkInput = z.infer<typeof blogManagementFriendLinkInputSchema>;
1152
+ export interface BlogManagementMicroClient {
1153
+ listCategories(input: ListInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCategoryResponseSchema>>;
1154
+ readCategory(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCategoryResponseSchema>>;
1155
+ createCategory(input: CategoryInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCategoryResponseSchema>>;
1156
+ updateCategory(input: CategoryInput & IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCategoryResponseSchema>>;
1157
+ deleteCategory(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementDeletedSchema>>;
1158
+ listTags(input: ListInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementTagResponseSchema>>;
1159
+ readTag(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementTagResponseSchema>>;
1160
+ createTag(input: TagInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementTagResponseSchema>>;
1161
+ updateTag(input: TagInput & IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementTagResponseSchema>>;
1162
+ deleteTag(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementDeletedSchema>>;
1163
+ listPosts(input: z.input<typeof blogManagementPostListInputSchema>, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1164
+ listPostArchive(input: z.input<typeof blogManagementPostArchiveInputSchema>, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1165
+ searchPosts(input: z.input<typeof blogManagementPostSearchInputSchema>, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1166
+ readPost(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1167
+ auditPostContent(input: z.infer<typeof blogManagementPostAuditInputSchema>, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostAuditSchema>>;
1168
+ createPost(input: PostInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1169
+ updatePost(input: PostInput & IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1170
+ publishPost(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostSuccessResponseSchema>>;
1171
+ archivePost(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPostResponseSchema>>;
1172
+ deletePost(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementDeletedSchema>>;
1173
+ listPages(input: z.input<typeof blogManagementPageListInputSchema>, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPageResponseSchema>>;
1174
+ readPage(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPageResponseSchema>>;
1175
+ createPage(input: PageInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPageResponseSchema>>;
1176
+ updatePage(input: PageInput & IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPageResponseSchema>>;
1177
+ publishPage(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPageResponseSchema>>;
1178
+ archivePage(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementPageResponseSchema>>;
1179
+ deletePage(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementDeletedSchema>>;
1180
+ listComments(input: CommentListInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCommentResponseSchema>>;
1181
+ readComment(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCommentResponseSchema>>;
1182
+ approveComment(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCommentResponseSchema>>;
1183
+ rejectComment(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCommentResponseSchema>>;
1184
+ replyComment(input: IdInput & {
1185
+ replyContent: string | null;
1186
+ }, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementCommentResponseSchema>>;
1187
+ deleteComment(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementDeletedSchema>>;
1188
+ listFriendLinks(input: ListInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementFriendLinkResponseSchema>>;
1189
+ readFriendLink(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementFriendLinkResponseSchema>>;
1190
+ createFriendLink(input: FriendLinkInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementFriendLinkResponseSchema>>;
1191
+ updateFriendLink(input: FriendLinkInput & IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementFriendLinkResponseSchema>>;
1192
+ enableFriendLink(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementFriendLinkResponseSchema>>;
1193
+ disableFriendLink(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementFriendLinkResponseSchema>>;
1194
+ deleteFriendLink(input: IdInput, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementDeletedSchema>>;
1195
+ listThemes(options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementThemeCatalogSchema>>;
1196
+ readThemeSelection(options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementThemeSelectionSchema>>;
1197
+ readThemeStatus(input: {
1198
+ themeId?: string;
1199
+ }, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementThemeSchema>>;
1200
+ selectTheme(input: {
1201
+ themeId: string;
1202
+ actor: string;
1203
+ }, options: BlogMicroCallOptions): Promise<z.infer<typeof blogManagementThemeCatalogSchema>>;
1204
+ }
1205
+ export declare function createBlogManagementMicroClient(caller: BlogMicroCaller): BlogManagementMicroClient;
1206
+ export {};
1207
+ //# sourceMappingURL=management.d.ts.map