@zlooks.cn/blog-shared 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contract.d.ts +2429 -0
- package/dist/contract.d.ts.map +1 -0
- package/dist/contract.js +385 -0
- package/dist/contract.js.map +1 -0
- package/dist/identity.d.ts +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/management-client.d.ts +19 -0
- package/dist/management-client.d.ts.map +1 -0
- package/dist/management-client.js +21 -0
- package/dist/management-client.js.map +1 -0
- package/dist/management.d.ts +97 -579
- package/dist/management.d.ts.map +1 -1
- package/dist/management.js +84 -259
- package/dist/management.js.map +1 -1
- package/dist/micro.d.ts +47 -120
- package/dist/micro.d.ts.map +1 -1
- package/dist/micro.js +44 -98
- package/dist/micro.js.map +1 -1
- package/dist/themes.d.ts +1 -0
- package/dist/themes.d.ts.map +1 -1
- package/dist/themes.js +9 -0
- package/dist/themes.js.map +1 -1
- package/package.json +6 -5
package/dist/management.d.ts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
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
|
-
}>;
|
|
2
|
+
export declare const BLOG_POST_CONTENT_AUDIT_FINDING_LIMIT = 200;
|
|
3
|
+
export declare const blogManagementEmptyInputSchema: z.ZodObject<{}, z.core.$strict>;
|
|
12
4
|
export declare const blogManagementIdInputSchema: z.ZodObject<{
|
|
13
5
|
id: z.ZodUUID;
|
|
14
6
|
}, z.core.$strict>;
|
|
@@ -26,40 +18,23 @@ export declare const blogManagementCategoryInputSchema: z.ZodObject<{
|
|
|
26
18
|
description: z.ZodNullable<z.ZodString>;
|
|
27
19
|
sortOrder: z.ZodNumber;
|
|
28
20
|
}, z.core.$strict>;
|
|
29
|
-
export declare const
|
|
21
|
+
export declare const blogManagementCategoryUpdateInputSchema: z.ZodObject<{
|
|
30
22
|
name: z.ZodString;
|
|
31
23
|
slug: z.ZodString;
|
|
32
24
|
description: z.ZodNullable<z.ZodString>;
|
|
33
25
|
sortOrder: z.ZodNumber;
|
|
34
26
|
id: z.ZodUUID;
|
|
35
|
-
createdAt: z.ZodISODateTime;
|
|
36
|
-
updatedAt: z.ZodISODateTime;
|
|
37
27
|
}, z.core.$strict>;
|
|
38
|
-
export declare const
|
|
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<{
|
|
28
|
+
export declare const blogManagementCategorySchema: z.ZodObject<{
|
|
52
29
|
name: z.ZodString;
|
|
53
30
|
slug: z.ZodString;
|
|
54
31
|
description: z.ZodNullable<z.ZodString>;
|
|
55
32
|
sortOrder: z.ZodNumber;
|
|
56
|
-
action: z.ZodLiteral<"update">;
|
|
57
|
-
id: z.ZodUUID;
|
|
58
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
59
33
|
id: z.ZodUUID;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
34
|
+
createdAt: z.ZodISODateTime;
|
|
35
|
+
updatedAt: z.ZodISODateTime;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export declare const blogManagementCategoryListResponseSchema: z.ZodObject<{
|
|
63
38
|
items: z.ZodArray<z.ZodObject<{
|
|
64
39
|
name: z.ZodString;
|
|
65
40
|
slug: z.ZodString;
|
|
@@ -70,7 +45,8 @@ export declare const blogManagementCategoryResponseSchema: z.ZodUnion<readonly [
|
|
|
70
45
|
updatedAt: z.ZodISODateTime;
|
|
71
46
|
}, z.core.$strict>>;
|
|
72
47
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
73
|
-
}, z.core.$strict
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const blogManagementCategoryItemResponseSchema: z.ZodObject<{
|
|
74
50
|
item: z.ZodObject<{
|
|
75
51
|
name: z.ZodString;
|
|
76
52
|
slug: z.ZodString;
|
|
@@ -80,42 +56,24 @@ export declare const blogManagementCategoryResponseSchema: z.ZodUnion<readonly [
|
|
|
80
56
|
createdAt: z.ZodISODateTime;
|
|
81
57
|
updatedAt: z.ZodISODateTime;
|
|
82
58
|
}, z.core.$strict>;
|
|
83
|
-
}, z.core.$strict
|
|
84
|
-
deleted: z.ZodLiteral<true>;
|
|
85
|
-
id: z.ZodUUID;
|
|
86
|
-
}, z.core.$strict>]>;
|
|
59
|
+
}, z.core.$strict>;
|
|
87
60
|
export declare const blogManagementTagInputSchema: z.ZodObject<{
|
|
88
61
|
name: z.ZodString;
|
|
89
62
|
slug: z.ZodString;
|
|
90
63
|
}, z.core.$strict>;
|
|
91
|
-
export declare const
|
|
64
|
+
export declare const blogManagementTagUpdateInputSchema: z.ZodObject<{
|
|
92
65
|
name: z.ZodString;
|
|
93
66
|
slug: z.ZodString;
|
|
94
67
|
id: z.ZodUUID;
|
|
95
|
-
createdAt: z.ZodISODateTime;
|
|
96
|
-
updatedAt: z.ZodISODateTime;
|
|
97
68
|
}, z.core.$strict>;
|
|
98
|
-
export declare const
|
|
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<{
|
|
69
|
+
export declare const blogManagementTagSchema: z.ZodObject<{
|
|
110
70
|
name: z.ZodString;
|
|
111
71
|
slug: z.ZodString;
|
|
112
|
-
action: z.ZodLiteral<"update">;
|
|
113
72
|
id: z.ZodUUID;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export declare const blogManagementTagResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
73
|
+
createdAt: z.ZodISODateTime;
|
|
74
|
+
updatedAt: z.ZodISODateTime;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
export declare const blogManagementTagListResponseSchema: z.ZodObject<{
|
|
119
77
|
items: z.ZodArray<z.ZodObject<{
|
|
120
78
|
name: z.ZodString;
|
|
121
79
|
slug: z.ZodString;
|
|
@@ -124,7 +82,8 @@ export declare const blogManagementTagResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
124
82
|
updatedAt: z.ZodISODateTime;
|
|
125
83
|
}, z.core.$strict>>;
|
|
126
84
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
127
|
-
}, z.core.$strict
|
|
85
|
+
}, z.core.$strict>;
|
|
86
|
+
export declare const blogManagementTagItemResponseSchema: z.ZodObject<{
|
|
128
87
|
item: z.ZodObject<{
|
|
129
88
|
name: z.ZodString;
|
|
130
89
|
slug: z.ZodString;
|
|
@@ -132,10 +91,7 @@ export declare const blogManagementTagResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
132
91
|
createdAt: z.ZodISODateTime;
|
|
133
92
|
updatedAt: z.ZodISODateTime;
|
|
134
93
|
}, z.core.$strict>;
|
|
135
|
-
}, z.core.$strict
|
|
136
|
-
deleted: z.ZodLiteral<true>;
|
|
137
|
-
id: z.ZodUUID;
|
|
138
|
-
}, z.core.$strict>]>;
|
|
94
|
+
}, z.core.$strict>;
|
|
139
95
|
export declare const blogManagementPostInputSchema: z.ZodObject<{
|
|
140
96
|
categoryId: z.ZodUUID;
|
|
141
97
|
title: z.ZodString;
|
|
@@ -145,6 +101,16 @@ export declare const blogManagementPostInputSchema: z.ZodObject<{
|
|
|
145
101
|
content: z.ZodString;
|
|
146
102
|
tagIds: z.ZodArray<z.ZodUUID>;
|
|
147
103
|
}, z.core.$strict>;
|
|
104
|
+
export declare const blogManagementPostUpdateInputSchema: z.ZodObject<{
|
|
105
|
+
categoryId: z.ZodUUID;
|
|
106
|
+
title: z.ZodString;
|
|
107
|
+
slug: z.ZodString;
|
|
108
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
109
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
110
|
+
content: z.ZodString;
|
|
111
|
+
tagIds: z.ZodArray<z.ZodUUID>;
|
|
112
|
+
id: z.ZodUUID;
|
|
113
|
+
}, z.core.$strict>;
|
|
148
114
|
export declare const blogManagementPostSchema: z.ZodObject<{
|
|
149
115
|
id: z.ZodUUID;
|
|
150
116
|
categoryId: z.ZodUUID;
|
|
@@ -290,76 +256,7 @@ export declare const blogManagementPostArchiveSchema: z.ZodObject<{
|
|
|
290
256
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
291
257
|
total: z.ZodNumber;
|
|
292
258
|
}, z.core.$strict>;
|
|
293
|
-
export declare const
|
|
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<{
|
|
259
|
+
export declare const blogManagementPostListResponseSchema: z.ZodObject<{
|
|
363
260
|
items: z.ZodArray<z.ZodObject<{
|
|
364
261
|
id: z.ZodUUID;
|
|
365
262
|
categoryId: z.ZodUUID;
|
|
@@ -385,38 +282,8 @@ export declare const blogManagementPostSuccessResponseSchema: z.ZodUnion<readonl
|
|
|
385
282
|
}, z.core.$strict>>;
|
|
386
283
|
}, z.core.$strict>>;
|
|
387
284
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
388
|
-
}, z.core.$strict
|
|
389
|
-
|
|
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<{
|
|
285
|
+
}, z.core.$strict>;
|
|
286
|
+
export declare const blogManagementPostSearchResponseSchema: z.ZodObject<{
|
|
420
287
|
items: z.ZodArray<z.ZodObject<{
|
|
421
288
|
id: z.ZodUUID;
|
|
422
289
|
categoryId: z.ZodUUID;
|
|
@@ -440,7 +307,8 @@ export declare const blogManagementPostSuccessResponseSchema: z.ZodUnion<readonl
|
|
|
440
307
|
updatedAt: z.ZodISODateTime;
|
|
441
308
|
}, z.core.$strict>>;
|
|
442
309
|
}, z.core.$strict>>;
|
|
443
|
-
}, z.core.$strict
|
|
310
|
+
}, z.core.$strict>;
|
|
311
|
+
export declare const blogManagementPostItemResponseSchema: z.ZodObject<{
|
|
444
312
|
item: z.ZodObject<{
|
|
445
313
|
id: z.ZodUUID;
|
|
446
314
|
categoryId: z.ZodUUID;
|
|
@@ -465,38 +333,7 @@ export declare const blogManagementPostSuccessResponseSchema: z.ZodUnion<readonl
|
|
|
465
333
|
updatedAt: z.ZodISODateTime;
|
|
466
334
|
}, z.core.$strict>>;
|
|
467
335
|
}, z.core.$strict>;
|
|
468
|
-
}, z.core.$strict
|
|
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>]>;
|
|
336
|
+
}, z.core.$strict>;
|
|
500
337
|
export declare const blogManagementPostBlockedSchema: z.ZodObject<{
|
|
501
338
|
outcome: z.ZodLiteral<"content-blocked">;
|
|
502
339
|
audit: z.ZodObject<{
|
|
@@ -529,144 +366,35 @@ export declare const blogManagementPostBlockedSchema: z.ZodObject<{
|
|
|
529
366
|
}, z.core.$strict>>;
|
|
530
367
|
}, z.core.$strict>;
|
|
531
368
|
}, z.core.$strict>;
|
|
532
|
-
export declare const
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
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;
|
|
369
|
+
export declare const blogManagementPublishPostResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
370
|
+
outcome: z.ZodLiteral<"ok">;
|
|
371
|
+
data: z.ZodObject<{
|
|
372
|
+
item: z.ZodObject<{
|
|
608
373
|
id: z.ZodUUID;
|
|
609
|
-
|
|
610
|
-
|
|
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;
|
|
374
|
+
categoryId: z.ZodUUID;
|
|
375
|
+
title: z.ZodString;
|
|
632
376
|
slug: z.ZodString;
|
|
633
|
-
|
|
377
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
378
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
379
|
+
content: z.ZodString;
|
|
380
|
+
status: z.ZodEnum<{
|
|
381
|
+
archived: "archived";
|
|
382
|
+
draft: "draft";
|
|
383
|
+
published: "published";
|
|
384
|
+
}>;
|
|
385
|
+
publishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
634
386
|
createdAt: z.ZodISODateTime;
|
|
635
387
|
updatedAt: z.ZodISODateTime;
|
|
636
|
-
|
|
388
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
389
|
+
name: z.ZodString;
|
|
390
|
+
slug: z.ZodString;
|
|
391
|
+
id: z.ZodUUID;
|
|
392
|
+
createdAt: z.ZodISODateTime;
|
|
393
|
+
updatedAt: z.ZodISODateTime;
|
|
394
|
+
}, z.core.$strict>>;
|
|
395
|
+
}, z.core.$strict>;
|
|
637
396
|
}, z.core.$strict>;
|
|
638
397
|
}, 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
398
|
outcome: z.ZodLiteral<"content-blocked">;
|
|
671
399
|
audit: z.ZodObject<{
|
|
672
400
|
publishable: z.ZodBoolean;
|
|
@@ -697,7 +425,7 @@ export declare const blogManagementPostResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
697
425
|
}, z.core.$strict>>;
|
|
698
426
|
}, z.core.$strict>>;
|
|
699
427
|
}, z.core.$strict>;
|
|
700
|
-
}, z.core.$strict>]>;
|
|
428
|
+
}, z.core.$strict>], "outcome">;
|
|
701
429
|
export declare class BlogPostContentBlockedError extends Error {
|
|
702
430
|
readonly report: z.infer<typeof blogManagementPostAuditSchema>;
|
|
703
431
|
constructor(report: z.infer<typeof blogManagementPostAuditSchema>);
|
|
@@ -713,6 +441,18 @@ export declare const blogManagementPageInputSchema: z.ZodObject<{
|
|
|
713
441
|
}>>;
|
|
714
442
|
sortOrder: z.ZodNumber;
|
|
715
443
|
}, z.core.$strict>;
|
|
444
|
+
export declare const blogManagementPageUpdateInputSchema: z.ZodObject<{
|
|
445
|
+
title: z.ZodString;
|
|
446
|
+
slug: z.ZodString;
|
|
447
|
+
summary: z.ZodString;
|
|
448
|
+
content: z.ZodString;
|
|
449
|
+
position: z.ZodNullable<z.ZodEnum<{
|
|
450
|
+
navigation: "navigation";
|
|
451
|
+
sidebar: "sidebar";
|
|
452
|
+
}>>;
|
|
453
|
+
sortOrder: z.ZodNumber;
|
|
454
|
+
id: z.ZodUUID;
|
|
455
|
+
}, z.core.$strict>;
|
|
716
456
|
export declare const blogManagementPageSchema: z.ZodObject<{
|
|
717
457
|
title: z.ZodString;
|
|
718
458
|
slug: z.ZodString;
|
|
@@ -746,56 +486,7 @@ export declare const blogManagementPageListInputSchema: z.ZodObject<{
|
|
|
746
486
|
sidebar: "sidebar";
|
|
747
487
|
}>>>;
|
|
748
488
|
}, z.core.$strict>;
|
|
749
|
-
export declare const
|
|
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<{
|
|
489
|
+
export declare const blogManagementPageListResponseSchema: z.ZodObject<{
|
|
799
490
|
items: z.ZodArray<z.ZodObject<{
|
|
800
491
|
title: z.ZodString;
|
|
801
492
|
slug: z.ZodString;
|
|
@@ -817,7 +508,8 @@ export declare const blogManagementPageResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
817
508
|
updatedAt: z.ZodISODateTime;
|
|
818
509
|
}, z.core.$strict>>;
|
|
819
510
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
820
|
-
}, z.core.$strict
|
|
511
|
+
}, z.core.$strict>;
|
|
512
|
+
export declare const blogManagementPageItemResponseSchema: z.ZodObject<{
|
|
821
513
|
item: z.ZodObject<{
|
|
822
514
|
title: z.ZodString;
|
|
823
515
|
slug: z.ZodString;
|
|
@@ -838,10 +530,7 @@ export declare const blogManagementPageResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
838
530
|
createdAt: z.ZodISODateTime;
|
|
839
531
|
updatedAt: z.ZodISODateTime;
|
|
840
532
|
}, z.core.$strict>;
|
|
841
|
-
}, z.core.$strict
|
|
842
|
-
deleted: z.ZodLiteral<true>;
|
|
843
|
-
id: z.ZodUUID;
|
|
844
|
-
}, z.core.$strict>]>;
|
|
533
|
+
}, z.core.$strict>;
|
|
845
534
|
export declare const blogManagementCommentSchema: z.ZodObject<{
|
|
846
535
|
id: z.ZodUUID;
|
|
847
536
|
postId: z.ZodUUID;
|
|
@@ -875,38 +564,11 @@ export declare const blogManagementCommentListInputSchema: z.ZodObject<{
|
|
|
875
564
|
desc: "desc";
|
|
876
565
|
}>>;
|
|
877
566
|
}, z.core.$strict>;
|
|
878
|
-
export declare const
|
|
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">;
|
|
567
|
+
export declare const blogManagementCommentReplyInputSchema: z.ZodObject<{
|
|
903
568
|
id: z.ZodUUID;
|
|
904
569
|
replyContent: z.ZodNullable<z.ZodString>;
|
|
905
|
-
}, z.core.$strict
|
|
906
|
-
|
|
907
|
-
action: z.ZodLiteral<"delete">;
|
|
908
|
-
}, z.core.$strict>], "action">;
|
|
909
|
-
export declare const blogManagementCommentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
export declare const blogManagementCommentListResponseSchema: z.ZodObject<{
|
|
910
572
|
items: z.ZodArray<z.ZodObject<{
|
|
911
573
|
id: z.ZodUUID;
|
|
912
574
|
postId: z.ZodUUID;
|
|
@@ -927,7 +589,8 @@ export declare const blogManagementCommentResponseSchema: z.ZodUnion<readonly [z
|
|
|
927
589
|
updatedAt: z.ZodISODateTime;
|
|
928
590
|
}, z.core.$strict>>;
|
|
929
591
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
930
|
-
}, z.core.$strict
|
|
592
|
+
}, z.core.$strict>;
|
|
593
|
+
export declare const blogManagementCommentItemResponseSchema: z.ZodObject<{
|
|
931
594
|
item: z.ZodObject<{
|
|
932
595
|
id: z.ZodUUID;
|
|
933
596
|
postId: z.ZodUUID;
|
|
@@ -947,10 +610,7 @@ export declare const blogManagementCommentResponseSchema: z.ZodUnion<readonly [z
|
|
|
947
610
|
createdAt: z.ZodISODateTime;
|
|
948
611
|
updatedAt: z.ZodISODateTime;
|
|
949
612
|
}, z.core.$strict>;
|
|
950
|
-
}, z.core.$strict
|
|
951
|
-
deleted: z.ZodLiteral<true>;
|
|
952
|
-
id: z.ZodUUID;
|
|
953
|
-
}, z.core.$strict>]>;
|
|
613
|
+
}, z.core.$strict>;
|
|
954
614
|
export declare const blogManagementFriendLinkInputSchema: z.ZodObject<{
|
|
955
615
|
name: z.ZodString;
|
|
956
616
|
url: z.ZodURL;
|
|
@@ -959,7 +619,7 @@ export declare const blogManagementFriendLinkInputSchema: z.ZodObject<{
|
|
|
959
619
|
enabled: z.ZodBoolean;
|
|
960
620
|
sortOrder: z.ZodNumber;
|
|
961
621
|
}, z.core.$strict>;
|
|
962
|
-
export declare const
|
|
622
|
+
export declare const blogManagementFriendLinkUpdateInputSchema: z.ZodObject<{
|
|
963
623
|
name: z.ZodString;
|
|
964
624
|
url: z.ZodURL;
|
|
965
625
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -967,44 +627,19 @@ export declare const blogManagementFriendLinkSchema: z.ZodObject<{
|
|
|
967
627
|
enabled: z.ZodBoolean;
|
|
968
628
|
sortOrder: z.ZodNumber;
|
|
969
629
|
id: z.ZodUUID;
|
|
970
|
-
createdAt: z.ZodISODateTime;
|
|
971
|
-
updatedAt: z.ZodISODateTime;
|
|
972
630
|
}, z.core.$strict>;
|
|
973
|
-
export declare const
|
|
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<{
|
|
631
|
+
export declare const blogManagementFriendLinkSchema: z.ZodObject<{
|
|
989
632
|
name: z.ZodString;
|
|
990
633
|
url: z.ZodURL;
|
|
991
634
|
description: z.ZodNullable<z.ZodString>;
|
|
992
635
|
logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
993
636
|
enabled: z.ZodBoolean;
|
|
994
637
|
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
638
|
id: z.ZodUUID;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
639
|
+
createdAt: z.ZodISODateTime;
|
|
640
|
+
updatedAt: z.ZodISODateTime;
|
|
641
|
+
}, z.core.$strict>;
|
|
642
|
+
export declare const blogManagementFriendLinkListResponseSchema: z.ZodObject<{
|
|
1008
643
|
items: z.ZodArray<z.ZodObject<{
|
|
1009
644
|
name: z.ZodString;
|
|
1010
645
|
url: z.ZodURL;
|
|
@@ -1017,7 +652,8 @@ export declare const blogManagementFriendLinkResponseSchema: z.ZodUnion<readonly
|
|
|
1017
652
|
updatedAt: z.ZodISODateTime;
|
|
1018
653
|
}, z.core.$strict>>;
|
|
1019
654
|
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
1020
|
-
}, z.core.$strict
|
|
655
|
+
}, z.core.$strict>;
|
|
656
|
+
export declare const blogManagementFriendLinkItemResponseSchema: z.ZodObject<{
|
|
1021
657
|
item: z.ZodObject<{
|
|
1022
658
|
name: z.ZodString;
|
|
1023
659
|
url: z.ZodURL;
|
|
@@ -1029,10 +665,7 @@ export declare const blogManagementFriendLinkResponseSchema: z.ZodUnion<readonly
|
|
|
1029
665
|
createdAt: z.ZodISODateTime;
|
|
1030
666
|
updatedAt: z.ZodISODateTime;
|
|
1031
667
|
}, z.core.$strict>;
|
|
1032
|
-
}, z.core.$strict
|
|
1033
|
-
deleted: z.ZodLiteral<true>;
|
|
1034
|
-
id: z.ZodUUID;
|
|
1035
|
-
}, z.core.$strict>]>;
|
|
668
|
+
}, z.core.$strict>;
|
|
1036
669
|
export declare const blogManagementThemeSelectionSchema: z.ZodObject<{
|
|
1037
670
|
themeId: z.ZodReadonly<z.ZodString>;
|
|
1038
671
|
revision: z.ZodReadonly<z.ZodNumber>;
|
|
@@ -1064,7 +697,7 @@ export declare const blogManagementThemeCatalogSchema: z.ZodObject<{
|
|
|
1064
697
|
updatedAt: z.ZodISODateTime;
|
|
1065
698
|
updatedBy: z.ZodString;
|
|
1066
699
|
}, z.core.$strict>;
|
|
1067
|
-
themes: z.ZodArray<z.ZodObject<{
|
|
700
|
+
themes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1068
701
|
themeId: z.ZodReadonly<z.ZodString>;
|
|
1069
702
|
displayName: z.ZodString;
|
|
1070
703
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -1080,128 +713,13 @@ export declare const blogManagementThemeCatalogSchema: z.ZodObject<{
|
|
|
1080
713
|
selected: "selected";
|
|
1081
714
|
unavailable: "unavailable";
|
|
1082
715
|
}>;
|
|
1083
|
-
}, z.core.$strict
|
|
716
|
+
}, z.core.$strict>>>;
|
|
1084
717
|
}, z.core.$strict>;
|
|
1085
|
-
export declare const
|
|
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">;
|
|
718
|
+
export declare const blogManagementThemeStatusInputSchema: z.ZodObject<{
|
|
1091
719
|
themeId: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
1092
|
-
}, z.core.$strict
|
|
1093
|
-
|
|
720
|
+
}, z.core.$strict>;
|
|
721
|
+
export declare const blogManagementThemeSelectionInputSchema: z.ZodObject<{
|
|
1094
722
|
themeId: z.ZodReadonly<z.ZodString>;
|
|
1095
723
|
actor: z.ZodString;
|
|
1096
|
-
}, z.core.$strict
|
|
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 {};
|
|
724
|
+
}, z.core.$strict>;
|
|
1207
725
|
//# sourceMappingURL=management.d.ts.map
|