@zlooks.cn/blog-schema 1.0.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/index.d.ts +800 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +312 -0
- package/dist/index.js.map +1 -0
- package/package.json +33 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,800 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BLOG_BROWSER_API_OPERATION = "/browser/dispatch";
|
|
3
|
+
export declare const BLOG_BROWSER_API_PUBLIC_ROUTES: readonly (Readonly<{
|
|
4
|
+
exact: "/api/blog/categories";
|
|
5
|
+
methods: readonly string[];
|
|
6
|
+
forwardCookieNames: readonly never[];
|
|
7
|
+
}> | Readonly<{
|
|
8
|
+
exact: "/api/blog/tags";
|
|
9
|
+
methods: readonly string[];
|
|
10
|
+
forwardCookieNames: readonly never[];
|
|
11
|
+
}> | Readonly<{
|
|
12
|
+
exact: "/api/blog/friend-links";
|
|
13
|
+
methods: readonly string[];
|
|
14
|
+
forwardCookieNames: readonly never[];
|
|
15
|
+
}> | Readonly<{
|
|
16
|
+
exact: "/api/blog/search";
|
|
17
|
+
methods: readonly string[];
|
|
18
|
+
forwardCookieNames: readonly never[];
|
|
19
|
+
}> | Readonly<{
|
|
20
|
+
exact: "/api/blog/posts";
|
|
21
|
+
methods: readonly string[];
|
|
22
|
+
forwardCookieNames: readonly never[];
|
|
23
|
+
}> | Readonly<{
|
|
24
|
+
prefix: "/api/blog/posts/";
|
|
25
|
+
methods: readonly string[];
|
|
26
|
+
forwardCookieNames: readonly string[];
|
|
27
|
+
}> | Readonly<{
|
|
28
|
+
prefix: "/api/blog/likes/";
|
|
29
|
+
methods: readonly string[];
|
|
30
|
+
forwardCookieNames: readonly string[];
|
|
31
|
+
}>)[];
|
|
32
|
+
export declare const BLOG_BROWSER_API_ERROR_CODES: Readonly<{
|
|
33
|
+
requestRejected: 3001;
|
|
34
|
+
authenticationRequired: 3002;
|
|
35
|
+
postNotFound: 3004;
|
|
36
|
+
commentRejected: 3006;
|
|
37
|
+
routeNotFound: 3007;
|
|
38
|
+
engagementRejected: 3008;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const blogPostSlugSchema: z.ZodReadonly<z.ZodString>;
|
|
41
|
+
export declare const blogTaxonomySlugSchema: z.ZodReadonly<z.ZodString>;
|
|
42
|
+
export declare const BLOG_RELATED_POST_LIMIT_MAX = 20;
|
|
43
|
+
export declare const BLOG_POST_SEARCH_LIMIT_MAX = 20;
|
|
44
|
+
export declare const BLOG_POST_ARCHIVE_ITEM_LIMIT_MAX = 100;
|
|
45
|
+
export declare const BLOG_POST_ARCHIVE_MONTH_LIMIT_MAX = 120;
|
|
46
|
+
export declare const BLOG_RECENT_COMMENT_LIMIT_MAX = 20;
|
|
47
|
+
export declare const blogCommentOrderSchema: z.ZodEnum<{
|
|
48
|
+
asc: "asc";
|
|
49
|
+
desc: "desc";
|
|
50
|
+
}>;
|
|
51
|
+
export declare const blogPagePositionSchema: z.ZodEnum<{
|
|
52
|
+
navigation: "navigation";
|
|
53
|
+
sidebar: "sidebar";
|
|
54
|
+
}>;
|
|
55
|
+
export declare const blogCategorySummarySchema: z.ZodReadonly<z.ZodObject<{
|
|
56
|
+
id: z.ZodUUID;
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
59
|
+
description: z.ZodNullable<z.ZodString>;
|
|
60
|
+
sortOrder: z.ZodNumber;
|
|
61
|
+
}, z.core.$strict>>;
|
|
62
|
+
export declare const blogCategoryListItemSchema: z.ZodReadonly<z.ZodObject<{
|
|
63
|
+
id: z.ZodUUID;
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
66
|
+
description: z.ZodNullable<z.ZodString>;
|
|
67
|
+
sortOrder: z.ZodNumber;
|
|
68
|
+
postCount: z.ZodNumber;
|
|
69
|
+
}, z.core.$strict>>;
|
|
70
|
+
export declare const blogTagSummarySchema: z.ZodReadonly<z.ZodObject<{
|
|
71
|
+
id: z.ZodUUID;
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
74
|
+
}, z.core.$strict>>;
|
|
75
|
+
export declare const blogPostSummarySchema: z.ZodReadonly<z.ZodObject<{
|
|
76
|
+
id: z.ZodUUID;
|
|
77
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
78
|
+
id: z.ZodUUID;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
81
|
+
description: z.ZodNullable<z.ZodString>;
|
|
82
|
+
sortOrder: z.ZodNumber;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
title: z.ZodString;
|
|
85
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
86
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
87
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
88
|
+
publishedAt: z.ZodISODateTime;
|
|
89
|
+
updatedAt: z.ZodISODateTime;
|
|
90
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
91
|
+
id: z.ZodUUID;
|
|
92
|
+
name: z.ZodString;
|
|
93
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
94
|
+
}, z.core.$strict>>>>;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
export declare const blogPostDetailSchema: z.ZodReadonly<z.ZodObject<{
|
|
97
|
+
id: z.ZodUUID;
|
|
98
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
99
|
+
id: z.ZodUUID;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
102
|
+
description: z.ZodNullable<z.ZodString>;
|
|
103
|
+
sortOrder: z.ZodNumber;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
107
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
108
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
109
|
+
publishedAt: z.ZodISODateTime;
|
|
110
|
+
updatedAt: z.ZodISODateTime;
|
|
111
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
112
|
+
id: z.ZodUUID;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
115
|
+
}, z.core.$strict>>>>;
|
|
116
|
+
content: z.ZodString;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
export declare const blogPostViewerStateSchema: z.ZodEnum<{
|
|
119
|
+
anonymous: "anonymous";
|
|
120
|
+
liked: "liked";
|
|
121
|
+
"not-liked": "not-liked";
|
|
122
|
+
unavailable: "unavailable";
|
|
123
|
+
}>;
|
|
124
|
+
export declare const blogPostEngagementSchema: z.ZodReadonly<z.ZodObject<{
|
|
125
|
+
viewCount: z.ZodNumber;
|
|
126
|
+
likeCount: z.ZodNumber;
|
|
127
|
+
viewerState: z.ZodEnum<{
|
|
128
|
+
anonymous: "anonymous";
|
|
129
|
+
liked: "liked";
|
|
130
|
+
"not-liked": "not-liked";
|
|
131
|
+
unavailable: "unavailable";
|
|
132
|
+
}>;
|
|
133
|
+
}, z.core.$strict>>;
|
|
134
|
+
export declare const blogPostLikeResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
135
|
+
liked: z.ZodBoolean;
|
|
136
|
+
likeCount: z.ZodNumber;
|
|
137
|
+
}, z.core.$strict>>;
|
|
138
|
+
export declare const blogCommentUserSchema: z.ZodReadonly<z.ZodObject<{
|
|
139
|
+
id: z.ZodUUID;
|
|
140
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
141
|
+
avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
142
|
+
homepage: z.ZodNullable<z.ZodURL>;
|
|
143
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
export declare const blogCommentSchema: z.ZodReadonly<z.ZodObject<{
|
|
146
|
+
id: z.ZodUUID;
|
|
147
|
+
postId: z.ZodUUID;
|
|
148
|
+
user: z.ZodReadonly<z.ZodObject<{
|
|
149
|
+
id: z.ZodUUID;
|
|
150
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
151
|
+
avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
152
|
+
homepage: z.ZodNullable<z.ZodURL>;
|
|
153
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
content: z.ZodString;
|
|
156
|
+
replyContent: z.ZodNullable<z.ZodString>;
|
|
157
|
+
repliedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
158
|
+
createdAt: z.ZodISODateTime;
|
|
159
|
+
location: z.ZodNullable<z.ZodString>;
|
|
160
|
+
client: z.ZodNullable<z.ZodString>;
|
|
161
|
+
pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
162
|
+
}, z.core.$strict>>;
|
|
163
|
+
export declare const blogFriendLinkSchema: z.ZodReadonly<z.ZodObject<{
|
|
164
|
+
id: z.ZodUUID;
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
url: z.ZodURL;
|
|
167
|
+
description: z.ZodNullable<z.ZodString>;
|
|
168
|
+
logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
169
|
+
sortOrder: z.ZodNumber;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
export declare const blogPageSummarySchema: z.ZodReadonly<z.ZodObject<{
|
|
172
|
+
id: z.ZodUUID;
|
|
173
|
+
title: z.ZodString;
|
|
174
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
175
|
+
summary: z.ZodString;
|
|
176
|
+
position: z.ZodNullable<z.ZodEnum<{
|
|
177
|
+
navigation: "navigation";
|
|
178
|
+
sidebar: "sidebar";
|
|
179
|
+
}>>;
|
|
180
|
+
sortOrder: z.ZodNumber;
|
|
181
|
+
publishedAt: z.ZodISODateTime;
|
|
182
|
+
updatedAt: z.ZodISODateTime;
|
|
183
|
+
}, z.core.$strict>>;
|
|
184
|
+
export declare const blogPageDetailSchema: z.ZodReadonly<z.ZodObject<{
|
|
185
|
+
id: z.ZodUUID;
|
|
186
|
+
title: z.ZodString;
|
|
187
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
188
|
+
summary: z.ZodString;
|
|
189
|
+
position: z.ZodNullable<z.ZodEnum<{
|
|
190
|
+
navigation: "navigation";
|
|
191
|
+
sidebar: "sidebar";
|
|
192
|
+
}>>;
|
|
193
|
+
sortOrder: z.ZodNumber;
|
|
194
|
+
publishedAt: z.ZodISODateTime;
|
|
195
|
+
updatedAt: z.ZodISODateTime;
|
|
196
|
+
content: z.ZodString;
|
|
197
|
+
}, z.core.$strict>>;
|
|
198
|
+
export declare const blogPageListSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
199
|
+
id: z.ZodUUID;
|
|
200
|
+
title: z.ZodString;
|
|
201
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
202
|
+
summary: z.ZodString;
|
|
203
|
+
position: z.ZodNullable<z.ZodEnum<{
|
|
204
|
+
navigation: "navigation";
|
|
205
|
+
sidebar: "sidebar";
|
|
206
|
+
}>>;
|
|
207
|
+
sortOrder: z.ZodNumber;
|
|
208
|
+
publishedAt: z.ZodISODateTime;
|
|
209
|
+
updatedAt: z.ZodISODateTime;
|
|
210
|
+
}, z.core.$strict>>>>;
|
|
211
|
+
export declare const blogPostListSchema: z.ZodReadonly<z.ZodObject<{
|
|
212
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
213
|
+
id: z.ZodUUID;
|
|
214
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
215
|
+
id: z.ZodUUID;
|
|
216
|
+
name: z.ZodString;
|
|
217
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
218
|
+
description: z.ZodNullable<z.ZodString>;
|
|
219
|
+
sortOrder: z.ZodNumber;
|
|
220
|
+
}, z.core.$strict>>;
|
|
221
|
+
title: z.ZodString;
|
|
222
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
223
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
224
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
225
|
+
publishedAt: z.ZodISODateTime;
|
|
226
|
+
updatedAt: z.ZodISODateTime;
|
|
227
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
228
|
+
id: z.ZodUUID;
|
|
229
|
+
name: z.ZodString;
|
|
230
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
231
|
+
}, z.core.$strict>>>>;
|
|
232
|
+
}, z.core.$strict>>>>;
|
|
233
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
234
|
+
total: z.ZodNumber;
|
|
235
|
+
}, z.core.$strict>>;
|
|
236
|
+
export declare const blogPostArchiveMonthSchema: z.ZodReadonly<z.ZodObject<{
|
|
237
|
+
year: z.ZodNumber;
|
|
238
|
+
month: z.ZodNumber;
|
|
239
|
+
count: z.ZodNumber;
|
|
240
|
+
}, z.core.$strict>>;
|
|
241
|
+
export declare const blogPostArchiveSchema: z.ZodReadonly<z.ZodObject<{
|
|
242
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
243
|
+
id: z.ZodUUID;
|
|
244
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
245
|
+
id: z.ZodUUID;
|
|
246
|
+
name: z.ZodString;
|
|
247
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
248
|
+
description: z.ZodNullable<z.ZodString>;
|
|
249
|
+
sortOrder: z.ZodNumber;
|
|
250
|
+
}, z.core.$strict>>;
|
|
251
|
+
title: z.ZodString;
|
|
252
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
253
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
254
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
255
|
+
publishedAt: z.ZodISODateTime;
|
|
256
|
+
updatedAt: z.ZodISODateTime;
|
|
257
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
258
|
+
id: z.ZodUUID;
|
|
259
|
+
name: z.ZodString;
|
|
260
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
261
|
+
}, z.core.$strict>>>>;
|
|
262
|
+
}, z.core.$strict>>>>;
|
|
263
|
+
months: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
264
|
+
year: z.ZodNumber;
|
|
265
|
+
month: z.ZodNumber;
|
|
266
|
+
count: z.ZodNumber;
|
|
267
|
+
}, z.core.$strict>>>>;
|
|
268
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
269
|
+
total: z.ZodNumber;
|
|
270
|
+
}, z.core.$strict>>;
|
|
271
|
+
export declare const blogPostSearchResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
272
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
273
|
+
id: z.ZodUUID;
|
|
274
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
275
|
+
id: z.ZodUUID;
|
|
276
|
+
name: z.ZodString;
|
|
277
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
278
|
+
description: z.ZodNullable<z.ZodString>;
|
|
279
|
+
sortOrder: z.ZodNumber;
|
|
280
|
+
}, z.core.$strict>>;
|
|
281
|
+
title: z.ZodString;
|
|
282
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
283
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
284
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
285
|
+
publishedAt: z.ZodISODateTime;
|
|
286
|
+
updatedAt: z.ZodISODateTime;
|
|
287
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
288
|
+
id: z.ZodUUID;
|
|
289
|
+
name: z.ZodString;
|
|
290
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
291
|
+
}, z.core.$strict>>>>;
|
|
292
|
+
}, z.core.$strict>>>>;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
export declare const blogPostConnectionsSchema: z.ZodReadonly<z.ZodObject<{
|
|
295
|
+
previousPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
296
|
+
id: z.ZodUUID;
|
|
297
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
298
|
+
id: z.ZodUUID;
|
|
299
|
+
name: z.ZodString;
|
|
300
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
301
|
+
description: z.ZodNullable<z.ZodString>;
|
|
302
|
+
sortOrder: z.ZodNumber;
|
|
303
|
+
}, z.core.$strict>>;
|
|
304
|
+
title: z.ZodString;
|
|
305
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
306
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
307
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
308
|
+
publishedAt: z.ZodISODateTime;
|
|
309
|
+
updatedAt: z.ZodISODateTime;
|
|
310
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
311
|
+
id: z.ZodUUID;
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
314
|
+
}, z.core.$strict>>>>;
|
|
315
|
+
}, z.core.$strict>>>;
|
|
316
|
+
nextPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
317
|
+
id: z.ZodUUID;
|
|
318
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
319
|
+
id: z.ZodUUID;
|
|
320
|
+
name: z.ZodString;
|
|
321
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
322
|
+
description: z.ZodNullable<z.ZodString>;
|
|
323
|
+
sortOrder: z.ZodNumber;
|
|
324
|
+
}, z.core.$strict>>;
|
|
325
|
+
title: z.ZodString;
|
|
326
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
327
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
328
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
329
|
+
publishedAt: z.ZodISODateTime;
|
|
330
|
+
updatedAt: z.ZodISODateTime;
|
|
331
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
332
|
+
id: z.ZodUUID;
|
|
333
|
+
name: z.ZodString;
|
|
334
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
335
|
+
}, z.core.$strict>>>>;
|
|
336
|
+
}, z.core.$strict>>>;
|
|
337
|
+
relatedPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
338
|
+
id: z.ZodUUID;
|
|
339
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
340
|
+
id: z.ZodUUID;
|
|
341
|
+
name: z.ZodString;
|
|
342
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
343
|
+
description: z.ZodNullable<z.ZodString>;
|
|
344
|
+
sortOrder: z.ZodNumber;
|
|
345
|
+
}, z.core.$strict>>;
|
|
346
|
+
title: z.ZodString;
|
|
347
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
348
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
349
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
350
|
+
publishedAt: z.ZodISODateTime;
|
|
351
|
+
updatedAt: z.ZodISODateTime;
|
|
352
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
353
|
+
id: z.ZodUUID;
|
|
354
|
+
name: z.ZodString;
|
|
355
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
356
|
+
}, z.core.$strict>>>>;
|
|
357
|
+
}, z.core.$strict>>>>;
|
|
358
|
+
}, z.core.$strict>>;
|
|
359
|
+
export declare const blogCommentListSchema: z.ZodReadonly<z.ZodObject<{
|
|
360
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
361
|
+
id: z.ZodUUID;
|
|
362
|
+
postId: z.ZodUUID;
|
|
363
|
+
user: z.ZodReadonly<z.ZodObject<{
|
|
364
|
+
id: z.ZodUUID;
|
|
365
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
366
|
+
avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
367
|
+
homepage: z.ZodNullable<z.ZodURL>;
|
|
368
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
369
|
+
}, z.core.$strict>>;
|
|
370
|
+
content: z.ZodString;
|
|
371
|
+
replyContent: z.ZodNullable<z.ZodString>;
|
|
372
|
+
repliedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
373
|
+
createdAt: z.ZodISODateTime;
|
|
374
|
+
location: z.ZodNullable<z.ZodString>;
|
|
375
|
+
client: z.ZodNullable<z.ZodString>;
|
|
376
|
+
pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
377
|
+
}, z.core.$strict>>>>;
|
|
378
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
379
|
+
}, z.core.$strict>>;
|
|
380
|
+
export declare const blogRecentCommentPostSchema: z.ZodReadonly<z.ZodObject<{
|
|
381
|
+
id: z.ZodUUID;
|
|
382
|
+
title: z.ZodString;
|
|
383
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
384
|
+
}, z.core.$strict>>;
|
|
385
|
+
export declare const blogRecentCommentSchema: z.ZodReadonly<z.ZodObject<{
|
|
386
|
+
comment: z.ZodReadonly<z.ZodObject<{
|
|
387
|
+
id: z.ZodUUID;
|
|
388
|
+
postId: z.ZodUUID;
|
|
389
|
+
user: z.ZodReadonly<z.ZodObject<{
|
|
390
|
+
id: z.ZodUUID;
|
|
391
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
392
|
+
avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
393
|
+
homepage: z.ZodNullable<z.ZodURL>;
|
|
394
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
395
|
+
}, z.core.$strict>>;
|
|
396
|
+
content: z.ZodString;
|
|
397
|
+
replyContent: z.ZodNullable<z.ZodString>;
|
|
398
|
+
repliedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
399
|
+
createdAt: z.ZodISODateTime;
|
|
400
|
+
location: z.ZodNullable<z.ZodString>;
|
|
401
|
+
client: z.ZodNullable<z.ZodString>;
|
|
402
|
+
pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
403
|
+
}, z.core.$strict>>;
|
|
404
|
+
post: z.ZodReadonly<z.ZodObject<{
|
|
405
|
+
id: z.ZodUUID;
|
|
406
|
+
title: z.ZodString;
|
|
407
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
408
|
+
}, z.core.$strict>>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
410
|
+
export declare const blogRecentCommentListSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
411
|
+
comment: z.ZodReadonly<z.ZodObject<{
|
|
412
|
+
id: z.ZodUUID;
|
|
413
|
+
postId: z.ZodUUID;
|
|
414
|
+
user: z.ZodReadonly<z.ZodObject<{
|
|
415
|
+
id: z.ZodUUID;
|
|
416
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
417
|
+
avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
418
|
+
homepage: z.ZodNullable<z.ZodURL>;
|
|
419
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
420
|
+
}, z.core.$strict>>;
|
|
421
|
+
content: z.ZodString;
|
|
422
|
+
replyContent: z.ZodNullable<z.ZodString>;
|
|
423
|
+
repliedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
424
|
+
createdAt: z.ZodISODateTime;
|
|
425
|
+
location: z.ZodNullable<z.ZodString>;
|
|
426
|
+
client: z.ZodNullable<z.ZodString>;
|
|
427
|
+
pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
post: z.ZodReadonly<z.ZodObject<{
|
|
430
|
+
id: z.ZodUUID;
|
|
431
|
+
title: z.ZodString;
|
|
432
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
433
|
+
}, z.core.$strict>>;
|
|
434
|
+
}, z.core.$strict>>>>;
|
|
435
|
+
export declare const blogCategoryListSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
436
|
+
id: z.ZodUUID;
|
|
437
|
+
name: z.ZodString;
|
|
438
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
439
|
+
description: z.ZodNullable<z.ZodString>;
|
|
440
|
+
sortOrder: z.ZodNumber;
|
|
441
|
+
postCount: z.ZodNumber;
|
|
442
|
+
}, z.core.$strict>>>>;
|
|
443
|
+
export declare const blogTagListSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
444
|
+
id: z.ZodUUID;
|
|
445
|
+
name: z.ZodString;
|
|
446
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
447
|
+
}, z.core.$strict>>>>;
|
|
448
|
+
export declare const blogFriendLinkListSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
449
|
+
id: z.ZodUUID;
|
|
450
|
+
name: z.ZodString;
|
|
451
|
+
url: z.ZodURL;
|
|
452
|
+
description: z.ZodNullable<z.ZodString>;
|
|
453
|
+
logoUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
454
|
+
sortOrder: z.ZodNumber;
|
|
455
|
+
}, z.core.$strict>>>>;
|
|
456
|
+
export declare const blogPostListInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
457
|
+
limit: z.ZodNumber;
|
|
458
|
+
cursor: z.ZodOptional<z.ZodUUID>;
|
|
459
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
460
|
+
categorySlug: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
461
|
+
tagSlug: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
462
|
+
}, z.core.$strict>>;
|
|
463
|
+
export declare const blogPostArchiveInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
464
|
+
limit: z.ZodNumber;
|
|
465
|
+
monthLimit: z.ZodNumber;
|
|
466
|
+
cursor: z.ZodOptional<z.ZodUUID>;
|
|
467
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
468
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
469
|
+
month: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
startYear: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
startMonth: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
endYear: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
endMonth: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
}, z.core.$strict>>;
|
|
475
|
+
export declare const blogPostSearchInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
476
|
+
query: z.ZodString;
|
|
477
|
+
limit: z.ZodNumber;
|
|
478
|
+
}, z.core.$strict>>;
|
|
479
|
+
export declare const blogReadPostInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
480
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
481
|
+
}, z.core.$strict>>;
|
|
482
|
+
export declare const blogPageListInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
483
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
484
|
+
navigation: "navigation";
|
|
485
|
+
sidebar: "sidebar";
|
|
486
|
+
}>>>;
|
|
487
|
+
}, z.core.$strict>>;
|
|
488
|
+
export declare const blogReadPageInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
489
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
490
|
+
}, z.core.$strict>>;
|
|
491
|
+
export declare const blogPostConnectionsInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
492
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
493
|
+
relatedLimit: z.ZodNumber;
|
|
494
|
+
}, z.core.$strict>>;
|
|
495
|
+
export declare const blogCommentListInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
496
|
+
postSlug: z.ZodReadonly<z.ZodString>;
|
|
497
|
+
limit: z.ZodNumber;
|
|
498
|
+
cursor: z.ZodOptional<z.ZodUUID>;
|
|
499
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
500
|
+
asc: "asc";
|
|
501
|
+
desc: "desc";
|
|
502
|
+
}>>;
|
|
503
|
+
}, z.core.$strict>>;
|
|
504
|
+
export declare const blogRecentCommentListInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
505
|
+
limit: z.ZodNumber;
|
|
506
|
+
}, z.core.$strict>>;
|
|
507
|
+
export declare const blogCreateCommentInputSchema: z.ZodReadonly<z.ZodObject<{
|
|
508
|
+
postSlug: z.ZodReadonly<z.ZodString>;
|
|
509
|
+
content: z.ZodString;
|
|
510
|
+
}, z.core.$strict>>;
|
|
511
|
+
export declare const blogEmptyRequestSchema: z.ZodReadonly<z.ZodObject<{}, z.core.$strict>>;
|
|
512
|
+
export declare const blogReadPostResponseSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
513
|
+
found: z.ZodLiteral<false>;
|
|
514
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
515
|
+
found: z.ZodLiteral<true>;
|
|
516
|
+
post: z.ZodReadonly<z.ZodObject<{
|
|
517
|
+
id: z.ZodUUID;
|
|
518
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
519
|
+
id: z.ZodUUID;
|
|
520
|
+
name: z.ZodString;
|
|
521
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
522
|
+
description: z.ZodNullable<z.ZodString>;
|
|
523
|
+
sortOrder: z.ZodNumber;
|
|
524
|
+
}, z.core.$strict>>;
|
|
525
|
+
title: z.ZodString;
|
|
526
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
527
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
528
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
529
|
+
publishedAt: z.ZodISODateTime;
|
|
530
|
+
updatedAt: z.ZodISODateTime;
|
|
531
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
532
|
+
id: z.ZodUUID;
|
|
533
|
+
name: z.ZodString;
|
|
534
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
535
|
+
}, z.core.$strict>>>>;
|
|
536
|
+
content: z.ZodString;
|
|
537
|
+
}, z.core.$strict>>;
|
|
538
|
+
}, z.core.$strict>], "found">>;
|
|
539
|
+
export declare const blogOpenPostResponseSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
540
|
+
found: z.ZodLiteral<false>;
|
|
541
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
542
|
+
found: z.ZodLiteral<true>;
|
|
543
|
+
post: z.ZodReadonly<z.ZodObject<{
|
|
544
|
+
id: z.ZodUUID;
|
|
545
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
546
|
+
id: z.ZodUUID;
|
|
547
|
+
name: z.ZodString;
|
|
548
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
549
|
+
description: z.ZodNullable<z.ZodString>;
|
|
550
|
+
sortOrder: z.ZodNumber;
|
|
551
|
+
}, z.core.$strict>>;
|
|
552
|
+
title: z.ZodString;
|
|
553
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
554
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
555
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
556
|
+
publishedAt: z.ZodISODateTime;
|
|
557
|
+
updatedAt: z.ZodISODateTime;
|
|
558
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
559
|
+
id: z.ZodUUID;
|
|
560
|
+
name: z.ZodString;
|
|
561
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
562
|
+
}, z.core.$strict>>>>;
|
|
563
|
+
content: z.ZodString;
|
|
564
|
+
}, z.core.$strict>>;
|
|
565
|
+
engagement: z.ZodReadonly<z.ZodObject<{
|
|
566
|
+
viewCount: z.ZodNumber;
|
|
567
|
+
likeCount: z.ZodNumber;
|
|
568
|
+
viewerState: z.ZodEnum<{
|
|
569
|
+
anonymous: "anonymous";
|
|
570
|
+
liked: "liked";
|
|
571
|
+
"not-liked": "not-liked";
|
|
572
|
+
unavailable: "unavailable";
|
|
573
|
+
}>;
|
|
574
|
+
}, z.core.$strict>>;
|
|
575
|
+
}, z.core.$strict>], "found">>;
|
|
576
|
+
export declare const blogReadPageResponseSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
577
|
+
found: z.ZodLiteral<false>;
|
|
578
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
579
|
+
found: z.ZodLiteral<true>;
|
|
580
|
+
page: z.ZodReadonly<z.ZodObject<{
|
|
581
|
+
id: z.ZodUUID;
|
|
582
|
+
title: z.ZodString;
|
|
583
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
584
|
+
summary: z.ZodString;
|
|
585
|
+
position: z.ZodNullable<z.ZodEnum<{
|
|
586
|
+
navigation: "navigation";
|
|
587
|
+
sidebar: "sidebar";
|
|
588
|
+
}>>;
|
|
589
|
+
sortOrder: z.ZodNumber;
|
|
590
|
+
publishedAt: z.ZodISODateTime;
|
|
591
|
+
updatedAt: z.ZodISODateTime;
|
|
592
|
+
content: z.ZodString;
|
|
593
|
+
}, z.core.$strict>>;
|
|
594
|
+
}, z.core.$strict>], "found">>;
|
|
595
|
+
export declare const blogReadPostConnectionsResponseSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
596
|
+
found: z.ZodLiteral<false>;
|
|
597
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
598
|
+
found: z.ZodLiteral<true>;
|
|
599
|
+
connections: z.ZodReadonly<z.ZodObject<{
|
|
600
|
+
previousPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
601
|
+
id: z.ZodUUID;
|
|
602
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
603
|
+
id: z.ZodUUID;
|
|
604
|
+
name: z.ZodString;
|
|
605
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
606
|
+
description: z.ZodNullable<z.ZodString>;
|
|
607
|
+
sortOrder: z.ZodNumber;
|
|
608
|
+
}, z.core.$strict>>;
|
|
609
|
+
title: z.ZodString;
|
|
610
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
611
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
612
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
613
|
+
publishedAt: z.ZodISODateTime;
|
|
614
|
+
updatedAt: z.ZodISODateTime;
|
|
615
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
616
|
+
id: z.ZodUUID;
|
|
617
|
+
name: z.ZodString;
|
|
618
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
619
|
+
}, z.core.$strict>>>>;
|
|
620
|
+
}, z.core.$strict>>>;
|
|
621
|
+
nextPost: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
622
|
+
id: z.ZodUUID;
|
|
623
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
624
|
+
id: z.ZodUUID;
|
|
625
|
+
name: z.ZodString;
|
|
626
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
627
|
+
description: z.ZodNullable<z.ZodString>;
|
|
628
|
+
sortOrder: z.ZodNumber;
|
|
629
|
+
}, z.core.$strict>>;
|
|
630
|
+
title: z.ZodString;
|
|
631
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
632
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
633
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
634
|
+
publishedAt: z.ZodISODateTime;
|
|
635
|
+
updatedAt: z.ZodISODateTime;
|
|
636
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
637
|
+
id: z.ZodUUID;
|
|
638
|
+
name: z.ZodString;
|
|
639
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
640
|
+
}, z.core.$strict>>>>;
|
|
641
|
+
}, z.core.$strict>>>;
|
|
642
|
+
relatedPosts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
643
|
+
id: z.ZodUUID;
|
|
644
|
+
category: z.ZodReadonly<z.ZodObject<{
|
|
645
|
+
id: z.ZodUUID;
|
|
646
|
+
name: z.ZodString;
|
|
647
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
648
|
+
description: z.ZodNullable<z.ZodString>;
|
|
649
|
+
sortOrder: z.ZodNumber;
|
|
650
|
+
}, z.core.$strict>>;
|
|
651
|
+
title: z.ZodString;
|
|
652
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
653
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
654
|
+
coverUrl: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
655
|
+
publishedAt: z.ZodISODateTime;
|
|
656
|
+
updatedAt: z.ZodISODateTime;
|
|
657
|
+
tags: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
658
|
+
id: z.ZodUUID;
|
|
659
|
+
name: z.ZodString;
|
|
660
|
+
slug: z.ZodReadonly<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>>>>;
|
|
662
|
+
}, z.core.$strict>>>>;
|
|
663
|
+
}, z.core.$strict>>;
|
|
664
|
+
}, z.core.$strict>], "found">>;
|
|
665
|
+
export declare const blogListCommentsResponseSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
666
|
+
found: z.ZodLiteral<false>;
|
|
667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
668
|
+
found: z.ZodLiteral<true>;
|
|
669
|
+
comments: z.ZodReadonly<z.ZodObject<{
|
|
670
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
671
|
+
id: z.ZodUUID;
|
|
672
|
+
postId: z.ZodUUID;
|
|
673
|
+
user: z.ZodReadonly<z.ZodObject<{
|
|
674
|
+
id: z.ZodUUID;
|
|
675
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
676
|
+
avatar: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodURL]>>;
|
|
677
|
+
homepage: z.ZodNullable<z.ZodURL>;
|
|
678
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
679
|
+
}, z.core.$strict>>;
|
|
680
|
+
content: z.ZodString;
|
|
681
|
+
replyContent: z.ZodNullable<z.ZodString>;
|
|
682
|
+
repliedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
683
|
+
createdAt: z.ZodISODateTime;
|
|
684
|
+
location: z.ZodNullable<z.ZodString>;
|
|
685
|
+
client: z.ZodNullable<z.ZodString>;
|
|
686
|
+
pendingReview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
687
|
+
}, z.core.$strict>>>>;
|
|
688
|
+
nextCursor: z.ZodNullable<z.ZodUUID>;
|
|
689
|
+
}, z.core.$strict>>;
|
|
690
|
+
}, z.core.$strict>], "found">>;
|
|
691
|
+
export declare const blogBrowserApiQuerySchema: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString>>]>>>;
|
|
692
|
+
export declare const blogCreateCommentBodySchema: z.ZodReadonly<z.ZodObject<{
|
|
693
|
+
content: z.ZodString;
|
|
694
|
+
}, z.core.$strict>>;
|
|
695
|
+
export declare const blogBrowserApiRequestSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
696
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
697
|
+
clientKey: z.ZodString;
|
|
698
|
+
path: z.ZodString;
|
|
699
|
+
method: z.ZodLiteral<"GET">;
|
|
700
|
+
query: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString>>]>>>>;
|
|
701
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
702
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
703
|
+
clientKey: z.ZodString;
|
|
704
|
+
path: z.ZodString;
|
|
705
|
+
method: z.ZodLiteral<"POST">;
|
|
706
|
+
body: z.ZodReadonly<z.ZodObject<{
|
|
707
|
+
content: z.ZodString;
|
|
708
|
+
}, z.core.$strict>>;
|
|
709
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
710
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
711
|
+
clientKey: z.ZodString;
|
|
712
|
+
path: z.ZodString;
|
|
713
|
+
method: z.ZodLiteral<"PUT">;
|
|
714
|
+
body: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
716
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
717
|
+
clientKey: z.ZodString;
|
|
718
|
+
path: z.ZodString;
|
|
719
|
+
method: z.ZodLiteral<"DELETE">;
|
|
720
|
+
body: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
721
|
+
}, z.core.$strict>], "method">>;
|
|
722
|
+
export declare const blogBrowserApiResponseSchema: z.ZodReadonly<z.ZodObject<{
|
|
723
|
+
status: z.ZodNumber;
|
|
724
|
+
body: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
725
|
+
code: z.ZodLiteral<0>;
|
|
726
|
+
data: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>;
|
|
727
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
728
|
+
code: z.ZodNumber;
|
|
729
|
+
error: z.ZodString;
|
|
730
|
+
}, z.core.$strict>>]>;
|
|
731
|
+
cookieEffects: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
732
|
+
action: z.ZodLiteral<"set">;
|
|
733
|
+
name: z.ZodString;
|
|
734
|
+
value: z.ZodString;
|
|
735
|
+
expiresAt: z.ZodISODateTime;
|
|
736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
737
|
+
action: z.ZodLiteral<"clear">;
|
|
738
|
+
name: z.ZodString;
|
|
739
|
+
}, z.core.$strict>], "action">>>>>;
|
|
740
|
+
}, z.core.$strict>>;
|
|
741
|
+
export type BlogCategorySummary = z.infer<typeof blogCategorySummarySchema>;
|
|
742
|
+
export type BlogCategoryListItem = z.infer<typeof blogCategoryListItemSchema>;
|
|
743
|
+
export type BlogTagSummary = z.infer<typeof blogTagSummarySchema>;
|
|
744
|
+
export type BlogPostSummary = z.infer<typeof blogPostSummarySchema>;
|
|
745
|
+
export type BlogPostDetail = z.infer<typeof blogPostDetailSchema>;
|
|
746
|
+
export type BlogPostViewerState = z.infer<typeof blogPostViewerStateSchema>;
|
|
747
|
+
export type BlogPostEngagement = z.infer<typeof blogPostEngagementSchema>;
|
|
748
|
+
export type BlogPostLikeResult = z.infer<typeof blogPostLikeResultSchema>;
|
|
749
|
+
export type BlogComment = z.infer<typeof blogCommentSchema>;
|
|
750
|
+
export type BlogFriendLink = z.infer<typeof blogFriendLinkSchema>;
|
|
751
|
+
export type BlogPagePosition = z.infer<typeof blogPagePositionSchema>;
|
|
752
|
+
export type BlogPageSummary = z.infer<typeof blogPageSummarySchema>;
|
|
753
|
+
export type BlogPageDetail = z.infer<typeof blogPageDetailSchema>;
|
|
754
|
+
export type BlogPostList = z.infer<typeof blogPostListSchema>;
|
|
755
|
+
export type BlogPostArchiveMonth = z.infer<typeof blogPostArchiveMonthSchema>;
|
|
756
|
+
export type BlogPostArchive = z.infer<typeof blogPostArchiveSchema>;
|
|
757
|
+
export type BlogPostSearchResult = z.infer<typeof blogPostSearchResultSchema>;
|
|
758
|
+
export type BlogPostConnections = z.infer<typeof blogPostConnectionsSchema>;
|
|
759
|
+
export type BlogCommentList = z.infer<typeof blogCommentListSchema>;
|
|
760
|
+
export type BlogRecentComment = z.infer<typeof blogRecentCommentSchema>;
|
|
761
|
+
export type BlogRecentCommentListInput = z.infer<typeof blogRecentCommentListInputSchema>;
|
|
762
|
+
export type BlogPostListInput = z.infer<typeof blogPostListInputSchema>;
|
|
763
|
+
export type BlogPostArchiveInput = z.infer<typeof blogPostArchiveInputSchema>;
|
|
764
|
+
export type BlogPostSearchInput = z.infer<typeof blogPostSearchInputSchema>;
|
|
765
|
+
export type BlogReadPostInput = z.infer<typeof blogReadPostInputSchema>;
|
|
766
|
+
export type BlogPageListInput = z.infer<typeof blogPageListInputSchema>;
|
|
767
|
+
export type BlogReadPageInput = z.infer<typeof blogReadPageInputSchema>;
|
|
768
|
+
export type BlogPostConnectionsInput = z.infer<typeof blogPostConnectionsInputSchema>;
|
|
769
|
+
export type BlogCommentListInput = z.infer<typeof blogCommentListInputSchema>;
|
|
770
|
+
export type BlogCreateCommentInput = z.infer<typeof blogCreateCommentInputSchema>;
|
|
771
|
+
export type BlogReadPostResponse = z.infer<typeof blogReadPostResponseSchema>;
|
|
772
|
+
export type BlogOpenPostResponse = z.infer<typeof blogOpenPostResponseSchema>;
|
|
773
|
+
export type BlogReadPageResponse = z.infer<typeof blogReadPageResponseSchema>;
|
|
774
|
+
export type BlogReadPostConnectionsResponse = z.infer<typeof blogReadPostConnectionsResponseSchema>;
|
|
775
|
+
export type BlogListCommentsResponse = z.infer<typeof blogListCommentsResponseSchema>;
|
|
776
|
+
export type BlogBrowserApiRequest = z.infer<typeof blogBrowserApiRequestSchema>;
|
|
777
|
+
export type BlogBrowserApiResponse = z.infer<typeof blogBrowserApiResponseSchema>;
|
|
778
|
+
export declare const parseBlogCategorySummary: (input: unknown) => BlogCategorySummary;
|
|
779
|
+
export declare const parseBlogTagSummary: (input: unknown) => BlogTagSummary;
|
|
780
|
+
export declare const parseBlogPostSummary: (input: unknown) => BlogPostSummary;
|
|
781
|
+
export declare const parseBlogPostDetail: (input: unknown) => BlogPostDetail;
|
|
782
|
+
export declare const parseBlogPostEngagement: (input: unknown) => BlogPostEngagement;
|
|
783
|
+
export declare const parseBlogPostLikeResult: (input: unknown) => BlogPostLikeResult;
|
|
784
|
+
export declare const parseBlogComment: (input: unknown) => BlogComment;
|
|
785
|
+
export declare const parseBlogFriendLink: (input: unknown) => BlogFriendLink;
|
|
786
|
+
export declare const parseBlogPageSummary: (input: unknown) => BlogPageSummary;
|
|
787
|
+
export declare const parseBlogPageDetail: (input: unknown) => BlogPageDetail;
|
|
788
|
+
export declare const parseBlogPageList: (input: unknown) => readonly BlogPageSummary[];
|
|
789
|
+
export declare const parseBlogPostList: (input: unknown) => BlogPostList;
|
|
790
|
+
export declare const parseBlogPostArchive: (input: unknown) => BlogPostArchive;
|
|
791
|
+
export declare const parseBlogPostSearchResult: (input: unknown) => BlogPostSearchResult;
|
|
792
|
+
export declare const parseBlogPostConnections: (input: unknown) => BlogPostConnections;
|
|
793
|
+
export declare const parseBlogCommentList: (input: unknown) => BlogCommentList;
|
|
794
|
+
export declare const parseBlogRecentCommentList: (input: unknown) => readonly BlogRecentComment[];
|
|
795
|
+
export declare const parseBlogCategoryList: (input: unknown) => readonly BlogCategoryListItem[];
|
|
796
|
+
export declare const parseBlogTagList: (input: unknown) => readonly BlogTagSummary[];
|
|
797
|
+
export declare const parseBlogFriendLinkList: (input: unknown) => readonly BlogFriendLink[];
|
|
798
|
+
export declare const parseBlogBrowserApiRequest: (input: unknown) => BlogBrowserApiRequest;
|
|
799
|
+
export declare const parseBlogBrowserApiResponse: (input: unknown) => BlogBrowserApiResponse;
|
|
800
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B,sBAA0C,CAAC;AAClF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;KASzC,CAAC;AACH,eAAO,MAAM,4BAA4B;;;;;;;EAOvC,CAAC;AAIH,eAAO,MAAM,kBAAkB,4BACkB,CAAC;AAClD,eAAO,MAAM,sBAAsB,4BACc,CAAC;AAMlD,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAC7C,eAAO,MAAM,gCAAgC,MAAM,CAAC;AACpD,eAAO,MAAM,iCAAiC,MAAM,CAAC;AACrD,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAChD,eAAO,MAAM,sBAAsB;;;EAA0B,CAAC;AAC9D,eAAO,MAAM,sBAAsB;;;EAAoC,CAAC;AAExE,eAAO,MAAM,yBAAyB;;;;;;mBAMzB,CAAC;AACd,eAAO,MAAM,0BAA0B;;;;;;;mBAE1B,CAAC;AACd,eAAO,MAAM,oBAAoB;;;;mBAIpB,CAAC;AAYd,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;mBA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AO,MAAM,oBAAoB,UAAW,OAAO,KAAG,eAAqD,CAAC;AAC5G,eAAO,MAAM,yBAAyB,UAAW,OAAO,KAAG,oBAA+D,CAAC;AAC3H,eAAO,MAAM,wBAAwB,UAAW,OAAO,KAAG,mBAA6D,CAAC;AACxH,eAAO,MAAM,oBAAoB,UAAW,OAAO,KAAG,eAAqD,CAAC;AAC5G,eAAO,MAAM,0BAA0B,UAAW,OAAO,KAAG,SAAS,iBAAiB,EAA8C,CAAC;AACrI,eAAO,MAAM,qBAAqB,UAAW,OAAO,KAAG,SAAS,oBAAoB,EAAyC,CAAC;AAC9H,eAAO,MAAM,gBAAgB,UAAW,OAAO,KAAG,SAAS,cAAc,EAAoC,CAAC;AAC9G,eAAO,MAAM,uBAAuB,UAAW,OAAO,KAAG,SAAS,cAAc,EAA2C,CAAC;AAC5H,eAAO,MAAM,0BAA0B,UAAW,OAAO,KAAG,qBAAiE,CAAC;AAC9H,eAAO,MAAM,2BAA2B,UAAW,OAAO,KAAG,sBAAmE,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { BROWSER_API_PROVIDER_DISPATCH_OPERATION, browserApiDispatchQuerySchema, browserApiDispatchRequestSchema, browserApiDispatchResponseSchema, } from '@zlooks.cn/browser-api';
|
|
2
|
+
import { USER_SESSION_COOKIE } from '@zlooks.cn/utils';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
export const BLOG_BROWSER_API_OPERATION = BROWSER_API_PROVIDER_DISPATCH_OPERATION;
|
|
5
|
+
export const BLOG_BROWSER_API_PUBLIC_ROUTES = Object.freeze([
|
|
6
|
+
Object.freeze({ exact: '/api/blog/categories', methods: Object.freeze(['GET']), forwardCookieNames: Object.freeze([]) }),
|
|
7
|
+
Object.freeze({ exact: '/api/blog/tags', methods: Object.freeze(['GET']), forwardCookieNames: Object.freeze([]) }),
|
|
8
|
+
Object.freeze({ exact: '/api/blog/friend-links', methods: Object.freeze(['GET']), forwardCookieNames: Object.freeze([]) }),
|
|
9
|
+
Object.freeze({ exact: '/api/blog/search', methods: Object.freeze(['GET']), forwardCookieNames: Object.freeze([]) }),
|
|
10
|
+
Object.freeze({ exact: '/api/blog/posts', methods: Object.freeze(['GET']), forwardCookieNames: Object.freeze([]) }),
|
|
11
|
+
Object.freeze({ prefix: '/api/blog/posts/', methods: Object.freeze(['GET']), forwardCookieNames: Object.freeze([USER_SESSION_COOKIE]) }),
|
|
12
|
+
Object.freeze({ prefix: '/api/blog/posts/', methods: Object.freeze(['POST']), forwardCookieNames: Object.freeze([USER_SESSION_COOKIE]) }),
|
|
13
|
+
Object.freeze({ prefix: '/api/blog/likes/', methods: Object.freeze(['PUT', 'DELETE']), forwardCookieNames: Object.freeze([USER_SESSION_COOKIE]) }),
|
|
14
|
+
]);
|
|
15
|
+
export const BLOG_BROWSER_API_ERROR_CODES = Object.freeze({
|
|
16
|
+
requestRejected: 3001,
|
|
17
|
+
authenticationRequired: 3002,
|
|
18
|
+
postNotFound: 3004,
|
|
19
|
+
commentRejected: 3006,
|
|
20
|
+
routeNotFound: 3007,
|
|
21
|
+
engagementRejected: 3008,
|
|
22
|
+
});
|
|
23
|
+
const uuid = z.uuid();
|
|
24
|
+
const isoDateTime = z.iso.datetime({ offset: true });
|
|
25
|
+
export const blogPostSlugSchema = z.string().trim().min(1).max(200)
|
|
26
|
+
.regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/).readonly();
|
|
27
|
+
export const blogTaxonomySlugSchema = z.string().trim().min(1).max(120)
|
|
28
|
+
.regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/).readonly();
|
|
29
|
+
const internalUrl = z.string().min(1).max(2_048).regex(/^\/(?!\/)[^\s]*$/);
|
|
30
|
+
const externalHttpUrl = z.url({ protocol: /^https?$/ }).max(2_048);
|
|
31
|
+
const assetUrl = z.union([internalUrl, externalHttpUrl]);
|
|
32
|
+
const nullableDescription = z.string().trim().min(1).max(500).nullable();
|
|
33
|
+
const databaseInteger = z.number().int().min(-2_147_483_648).max(2_147_483_647);
|
|
34
|
+
export const BLOG_RELATED_POST_LIMIT_MAX = 20;
|
|
35
|
+
export const BLOG_POST_SEARCH_LIMIT_MAX = 20;
|
|
36
|
+
export const BLOG_POST_ARCHIVE_ITEM_LIMIT_MAX = 100;
|
|
37
|
+
export const BLOG_POST_ARCHIVE_MONTH_LIMIT_MAX = 120;
|
|
38
|
+
export const BLOG_RECENT_COMMENT_LIMIT_MAX = 20;
|
|
39
|
+
export const blogCommentOrderSchema = z.enum(['desc', 'asc']);
|
|
40
|
+
export const blogPagePositionSchema = z.enum(['navigation', 'sidebar']);
|
|
41
|
+
export const blogCategorySummarySchema = z.strictObject({
|
|
42
|
+
id: uuid,
|
|
43
|
+
name: z.string().trim().min(1).max(100),
|
|
44
|
+
slug: blogTaxonomySlugSchema,
|
|
45
|
+
description: nullableDescription,
|
|
46
|
+
sortOrder: databaseInteger,
|
|
47
|
+
}).readonly();
|
|
48
|
+
export const blogCategoryListItemSchema = blogCategorySummarySchema.unwrap().extend({
|
|
49
|
+
postCount: z.number().int().min(0),
|
|
50
|
+
}).readonly();
|
|
51
|
+
export const blogTagSummarySchema = z.strictObject({
|
|
52
|
+
id: uuid,
|
|
53
|
+
name: z.string().trim().min(1).max(100),
|
|
54
|
+
slug: blogTaxonomySlugSchema,
|
|
55
|
+
}).readonly();
|
|
56
|
+
const blogPostSummaryShape = {
|
|
57
|
+
id: uuid,
|
|
58
|
+
category: blogCategorySummarySchema,
|
|
59
|
+
title: z.string().trim().min(1).max(200),
|
|
60
|
+
slug: blogPostSlugSchema,
|
|
61
|
+
summary: z.string().trim().min(1).max(500).nullable(),
|
|
62
|
+
coverUrl: assetUrl.nullable(),
|
|
63
|
+
publishedAt: isoDateTime,
|
|
64
|
+
updatedAt: isoDateTime,
|
|
65
|
+
tags: z.array(blogTagSummarySchema).max(20).readonly(),
|
|
66
|
+
};
|
|
67
|
+
export const blogPostSummarySchema = z.strictObject(blogPostSummaryShape).readonly();
|
|
68
|
+
export const blogPostDetailSchema = z.strictObject({
|
|
69
|
+
...blogPostSummaryShape,
|
|
70
|
+
content: z.string().min(1).max(1_000_000),
|
|
71
|
+
}).readonly();
|
|
72
|
+
export const blogPostViewerStateSchema = z.enum([
|
|
73
|
+
'liked', 'not-liked', 'anonymous', 'unavailable',
|
|
74
|
+
]);
|
|
75
|
+
export const blogPostEngagementSchema = z.strictObject({
|
|
76
|
+
viewCount: databaseInteger.nonnegative(),
|
|
77
|
+
likeCount: databaseInteger.nonnegative(),
|
|
78
|
+
viewerState: blogPostViewerStateSchema,
|
|
79
|
+
}).readonly();
|
|
80
|
+
export const blogPostLikeResultSchema = z.strictObject({
|
|
81
|
+
liked: z.boolean(),
|
|
82
|
+
likeCount: databaseInteger.nonnegative(),
|
|
83
|
+
}).readonly();
|
|
84
|
+
export const blogCommentUserSchema = z.strictObject({
|
|
85
|
+
id: uuid,
|
|
86
|
+
displayName: z.string().trim().min(1).max(160).nullable(),
|
|
87
|
+
avatar: assetUrl.nullable(),
|
|
88
|
+
homepage: externalHttpUrl.nullable(),
|
|
89
|
+
bio: z.string().trim().min(1).max(500).nullable(),
|
|
90
|
+
}).readonly();
|
|
91
|
+
export const blogCommentSchema = z.strictObject({
|
|
92
|
+
id: uuid,
|
|
93
|
+
postId: uuid,
|
|
94
|
+
user: blogCommentUserSchema,
|
|
95
|
+
content: z.string().trim().min(1).max(2_000),
|
|
96
|
+
replyContent: z.string().trim().min(1).max(2_000).nullable(),
|
|
97
|
+
repliedAt: isoDateTime.nullable(),
|
|
98
|
+
createdAt: isoDateTime,
|
|
99
|
+
location: z.string().trim().min(1).max(200).nullable(),
|
|
100
|
+
client: z.string().trim().min(1).max(160).nullable(),
|
|
101
|
+
pendingReview: z.literal(true).optional(),
|
|
102
|
+
}).refine((comment) => Boolean(comment.replyContent) === Boolean(comment.repliedAt), {
|
|
103
|
+
message: 'Reply content and timestamp must agree', path: ['repliedAt'],
|
|
104
|
+
}).readonly();
|
|
105
|
+
export const blogFriendLinkSchema = z.strictObject({
|
|
106
|
+
id: uuid,
|
|
107
|
+
name: z.string().trim().min(1).max(100),
|
|
108
|
+
url: externalHttpUrl,
|
|
109
|
+
description: nullableDescription,
|
|
110
|
+
logoUrl: assetUrl.nullable(),
|
|
111
|
+
sortOrder: databaseInteger,
|
|
112
|
+
}).readonly();
|
|
113
|
+
const blogPageSummaryShape = {
|
|
114
|
+
id: uuid,
|
|
115
|
+
title: z.string().trim().min(1).max(200),
|
|
116
|
+
slug: blogPostSlugSchema,
|
|
117
|
+
summary: z.string().trim().min(1).max(500),
|
|
118
|
+
position: blogPagePositionSchema.nullable(),
|
|
119
|
+
sortOrder: databaseInteger,
|
|
120
|
+
publishedAt: isoDateTime,
|
|
121
|
+
updatedAt: isoDateTime,
|
|
122
|
+
};
|
|
123
|
+
export const blogPageSummarySchema = z.strictObject(blogPageSummaryShape).readonly();
|
|
124
|
+
export const blogPageDetailSchema = z.strictObject({
|
|
125
|
+
...blogPageSummaryShape,
|
|
126
|
+
content: z.string().min(1).max(1_000_000),
|
|
127
|
+
}).readonly();
|
|
128
|
+
export const blogPageListSchema = z.array(blogPageSummarySchema).max(500).readonly();
|
|
129
|
+
export const blogPostListSchema = z.strictObject({
|
|
130
|
+
items: z.array(blogPostSummarySchema).max(100).readonly(),
|
|
131
|
+
nextCursor: uuid.nullable(),
|
|
132
|
+
total: z.number().int().min(0),
|
|
133
|
+
}).readonly();
|
|
134
|
+
export const blogPostArchiveMonthSchema = z.strictObject({
|
|
135
|
+
year: z.number().int().min(1970).max(9_999),
|
|
136
|
+
month: z.number().int().min(1).max(12),
|
|
137
|
+
count: z.number().int().min(1),
|
|
138
|
+
}).readonly();
|
|
139
|
+
export const blogPostArchiveSchema = z.strictObject({
|
|
140
|
+
items: z.array(blogPostSummarySchema).max(BLOG_POST_ARCHIVE_ITEM_LIMIT_MAX).readonly(),
|
|
141
|
+
months: z.array(blogPostArchiveMonthSchema).max(BLOG_POST_ARCHIVE_MONTH_LIMIT_MAX).readonly(),
|
|
142
|
+
nextCursor: uuid.nullable(),
|
|
143
|
+
total: z.number().int().min(0),
|
|
144
|
+
}).readonly();
|
|
145
|
+
export const blogPostSearchResultSchema = z.strictObject({
|
|
146
|
+
items: z.array(blogPostSummarySchema).max(BLOG_POST_SEARCH_LIMIT_MAX).readonly(),
|
|
147
|
+
}).readonly();
|
|
148
|
+
export const blogPostConnectionsSchema = z.strictObject({
|
|
149
|
+
previousPost: blogPostSummarySchema.nullable(),
|
|
150
|
+
nextPost: blogPostSummarySchema.nullable(),
|
|
151
|
+
relatedPosts: z.array(blogPostSummarySchema).max(BLOG_RELATED_POST_LIMIT_MAX).readonly(),
|
|
152
|
+
}).readonly();
|
|
153
|
+
export const blogCommentListSchema = z.strictObject({
|
|
154
|
+
items: z.array(blogCommentSchema).max(100).readonly(),
|
|
155
|
+
nextCursor: uuid.nullable(),
|
|
156
|
+
}).readonly();
|
|
157
|
+
export const blogRecentCommentPostSchema = z.strictObject({
|
|
158
|
+
id: uuid,
|
|
159
|
+
title: z.string().trim().min(1).max(200),
|
|
160
|
+
slug: blogPostSlugSchema,
|
|
161
|
+
}).readonly();
|
|
162
|
+
export const blogRecentCommentSchema = z.strictObject({
|
|
163
|
+
comment: blogCommentSchema,
|
|
164
|
+
post: blogRecentCommentPostSchema,
|
|
165
|
+
}).readonly();
|
|
166
|
+
export const blogRecentCommentListSchema = z.array(blogRecentCommentSchema)
|
|
167
|
+
.max(BLOG_RECENT_COMMENT_LIMIT_MAX).readonly();
|
|
168
|
+
export const blogCategoryListSchema = z.array(blogCategoryListItemSchema).max(500).readonly();
|
|
169
|
+
export const blogTagListSchema = z.array(blogTagSummarySchema).max(1_000).readonly();
|
|
170
|
+
export const blogFriendLinkListSchema = z.array(blogFriendLinkSchema).max(500).readonly();
|
|
171
|
+
export const blogPostListInputSchema = z.strictObject({
|
|
172
|
+
limit: z.number().int().min(1).max(100),
|
|
173
|
+
cursor: uuid.optional(),
|
|
174
|
+
page: z.number().int().min(1).max(10_000).optional(),
|
|
175
|
+
categorySlug: blogTaxonomySlugSchema.optional(),
|
|
176
|
+
tagSlug: blogTaxonomySlugSchema.optional(),
|
|
177
|
+
}).refine((input) => !(input.cursor && input.page), {
|
|
178
|
+
message: 'Post list cursor and page are mutually exclusive',
|
|
179
|
+
path: ['page'],
|
|
180
|
+
}).readonly();
|
|
181
|
+
export const blogPostArchiveInputSchema = z.strictObject({
|
|
182
|
+
limit: z.number().int().min(0).max(BLOG_POST_ARCHIVE_ITEM_LIMIT_MAX),
|
|
183
|
+
monthLimit: z.number().int().min(1).max(BLOG_POST_ARCHIVE_MONTH_LIMIT_MAX),
|
|
184
|
+
cursor: uuid.optional(),
|
|
185
|
+
page: z.number().int().min(1).max(10_000).optional(),
|
|
186
|
+
year: z.number().int().min(1970).max(9_999).optional(),
|
|
187
|
+
month: z.number().int().min(1).max(12).optional(),
|
|
188
|
+
startYear: z.number().int().min(1970).max(9_999).optional(),
|
|
189
|
+
startMonth: z.number().int().min(1).max(12).optional(),
|
|
190
|
+
endYear: z.number().int().min(1970).max(9_999).optional(),
|
|
191
|
+
endMonth: z.number().int().min(1).max(12).optional(),
|
|
192
|
+
}).superRefine((input, context) => {
|
|
193
|
+
if (input.cursor && input.page) {
|
|
194
|
+
context.addIssue({ code: 'custom', message: 'Post archive cursor and page are mutually exclusive', path: ['page'] });
|
|
195
|
+
}
|
|
196
|
+
if (input.month !== undefined && input.year === undefined) {
|
|
197
|
+
context.addIssue({ code: 'custom', message: 'Post archive month requires a year', path: ['year'] });
|
|
198
|
+
}
|
|
199
|
+
const rangeValues = [input.startYear, input.startMonth, input.endYear, input.endMonth];
|
|
200
|
+
const rangeCount = rangeValues.filter((value) => value !== undefined).length;
|
|
201
|
+
if (rangeCount > 0 && rangeCount < rangeValues.length) {
|
|
202
|
+
context.addIssue({ code: 'custom', message: 'Post archive range requires complete start and end months', path: ['startYear'] });
|
|
203
|
+
}
|
|
204
|
+
if (rangeCount > 0 && (input.year !== undefined || input.month !== undefined)) {
|
|
205
|
+
context.addIssue({ code: 'custom', message: 'Post archive single selection and range are mutually exclusive', path: ['startYear'] });
|
|
206
|
+
}
|
|
207
|
+
if (rangeCount === rangeValues.length) {
|
|
208
|
+
const start = input.startYear * 12 + input.startMonth;
|
|
209
|
+
const end = input.endYear * 12 + input.endMonth;
|
|
210
|
+
if (start > end) {
|
|
211
|
+
context.addIssue({ code: 'custom', message: 'Post archive range start must not follow its end', path: ['endYear'] });
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}).readonly();
|
|
215
|
+
export const blogPostSearchInputSchema = z.strictObject({
|
|
216
|
+
query: z.string().trim().min(2).max(100),
|
|
217
|
+
limit: z.number().int().min(1).max(BLOG_POST_SEARCH_LIMIT_MAX),
|
|
218
|
+
}).readonly();
|
|
219
|
+
export const blogReadPostInputSchema = z.strictObject({ slug: blogPostSlugSchema }).readonly();
|
|
220
|
+
export const blogPageListInputSchema = z.strictObject({
|
|
221
|
+
position: blogPagePositionSchema.nullable().optional(),
|
|
222
|
+
}).readonly();
|
|
223
|
+
export const blogReadPageInputSchema = z.strictObject({ slug: blogPostSlugSchema }).readonly();
|
|
224
|
+
export const blogPostConnectionsInputSchema = z.strictObject({
|
|
225
|
+
slug: blogPostSlugSchema,
|
|
226
|
+
relatedLimit: z.number().int().min(1).max(BLOG_RELATED_POST_LIMIT_MAX),
|
|
227
|
+
}).readonly();
|
|
228
|
+
export const blogCommentListInputSchema = z.strictObject({
|
|
229
|
+
postSlug: blogPostSlugSchema,
|
|
230
|
+
limit: z.number().int().min(1).max(100),
|
|
231
|
+
cursor: uuid.optional(),
|
|
232
|
+
order: blogCommentOrderSchema.optional(),
|
|
233
|
+
}).readonly();
|
|
234
|
+
export const blogRecentCommentListInputSchema = z.strictObject({
|
|
235
|
+
limit: z.number().int().min(1).max(BLOG_RECENT_COMMENT_LIMIT_MAX),
|
|
236
|
+
}).readonly();
|
|
237
|
+
export const blogCreateCommentInputSchema = z.strictObject({
|
|
238
|
+
postSlug: blogPostSlugSchema,
|
|
239
|
+
content: z.string().trim().min(1).max(2_000),
|
|
240
|
+
}).readonly();
|
|
241
|
+
export const blogEmptyRequestSchema = z.strictObject({}).readonly();
|
|
242
|
+
export const blogReadPostResponseSchema = z.discriminatedUnion('found', [
|
|
243
|
+
z.strictObject({ found: z.literal(false) }),
|
|
244
|
+
z.strictObject({ found: z.literal(true), post: blogPostDetailSchema }),
|
|
245
|
+
]).readonly();
|
|
246
|
+
export const blogOpenPostResponseSchema = z.discriminatedUnion('found', [
|
|
247
|
+
z.strictObject({ found: z.literal(false) }),
|
|
248
|
+
z.strictObject({
|
|
249
|
+
found: z.literal(true),
|
|
250
|
+
post: blogPostDetailSchema,
|
|
251
|
+
engagement: blogPostEngagementSchema,
|
|
252
|
+
}),
|
|
253
|
+
]).readonly();
|
|
254
|
+
export const blogReadPageResponseSchema = z.discriminatedUnion('found', [
|
|
255
|
+
z.strictObject({ found: z.literal(false) }),
|
|
256
|
+
z.strictObject({ found: z.literal(true), page: blogPageDetailSchema }),
|
|
257
|
+
]).readonly();
|
|
258
|
+
export const blogReadPostConnectionsResponseSchema = z.discriminatedUnion('found', [
|
|
259
|
+
z.strictObject({ found: z.literal(false) }),
|
|
260
|
+
z.strictObject({ found: z.literal(true), connections: blogPostConnectionsSchema }),
|
|
261
|
+
]).readonly();
|
|
262
|
+
export const blogListCommentsResponseSchema = z.discriminatedUnion('found', [
|
|
263
|
+
z.strictObject({ found: z.literal(false) }),
|
|
264
|
+
z.strictObject({ found: z.literal(true), comments: blogCommentListSchema }),
|
|
265
|
+
]).readonly();
|
|
266
|
+
const blogApiPath = z.string().min(1).max(2_048).regex(/^\/api\/blog(?:\/[^?#\s]*)?$/);
|
|
267
|
+
export const blogBrowserApiQuerySchema = browserApiDispatchQuerySchema;
|
|
268
|
+
export const blogCreateCommentBodySchema = z.strictObject({
|
|
269
|
+
content: z.string().trim().min(1).max(2_000),
|
|
270
|
+
}).readonly();
|
|
271
|
+
const browserRequestBase = browserApiDispatchRequestSchema.unwrap()
|
|
272
|
+
.omit({ method: true, query: true, body: true })
|
|
273
|
+
.extend({ path: blogApiPath });
|
|
274
|
+
export const blogBrowserApiRequestSchema = z.discriminatedUnion('method', [
|
|
275
|
+
browserRequestBase.extend({ method: z.literal('GET'), query: blogBrowserApiQuerySchema.optional() }),
|
|
276
|
+
browserRequestBase.extend({ method: z.literal('POST'), body: blogCreateCommentBodySchema })
|
|
277
|
+
.refine((request) => /^\/api\/blog\/posts\/[a-z0-9]+(?:-[a-z0-9]+)*\/comments$/.test(request.path), {
|
|
278
|
+
message: 'Blog browser POST path must create a post comment', path: ['path'],
|
|
279
|
+
}),
|
|
280
|
+
browserRequestBase.extend({ method: z.literal('PUT'), body: z.strictObject({}).optional() })
|
|
281
|
+
.refine((request) => /^\/api\/blog\/likes\/[a-z0-9]+(?:-[a-z0-9]+)*$/.test(request.path), {
|
|
282
|
+
message: 'Blog browser PUT path must like a post', path: ['path'],
|
|
283
|
+
}),
|
|
284
|
+
browserRequestBase.extend({ method: z.literal('DELETE'), body: z.strictObject({}).optional() })
|
|
285
|
+
.refine((request) => /^\/api\/blog\/likes\/[a-z0-9]+(?:-[a-z0-9]+)*$/.test(request.path), {
|
|
286
|
+
message: 'Blog browser DELETE path must unlike a post', path: ['path'],
|
|
287
|
+
}),
|
|
288
|
+
]).readonly();
|
|
289
|
+
export const blogBrowserApiResponseSchema = browserApiDispatchResponseSchema.refine((response) => !response.cookieEffects?.length, { message: 'Blog Browser API does not write cookies', path: ['cookieEffects'] });
|
|
290
|
+
export const parseBlogCategorySummary = (input) => blogCategorySummarySchema.parse(input);
|
|
291
|
+
export const parseBlogTagSummary = (input) => blogTagSummarySchema.parse(input);
|
|
292
|
+
export const parseBlogPostSummary = (input) => blogPostSummarySchema.parse(input);
|
|
293
|
+
export const parseBlogPostDetail = (input) => blogPostDetailSchema.parse(input);
|
|
294
|
+
export const parseBlogPostEngagement = (input) => blogPostEngagementSchema.parse(input);
|
|
295
|
+
export const parseBlogPostLikeResult = (input) => blogPostLikeResultSchema.parse(input);
|
|
296
|
+
export const parseBlogComment = (input) => blogCommentSchema.parse(input);
|
|
297
|
+
export const parseBlogFriendLink = (input) => blogFriendLinkSchema.parse(input);
|
|
298
|
+
export const parseBlogPageSummary = (input) => blogPageSummarySchema.parse(input);
|
|
299
|
+
export const parseBlogPageDetail = (input) => blogPageDetailSchema.parse(input);
|
|
300
|
+
export const parseBlogPageList = (input) => blogPageListSchema.parse(input);
|
|
301
|
+
export const parseBlogPostList = (input) => blogPostListSchema.parse(input);
|
|
302
|
+
export const parseBlogPostArchive = (input) => blogPostArchiveSchema.parse(input);
|
|
303
|
+
export const parseBlogPostSearchResult = (input) => blogPostSearchResultSchema.parse(input);
|
|
304
|
+
export const parseBlogPostConnections = (input) => blogPostConnectionsSchema.parse(input);
|
|
305
|
+
export const parseBlogCommentList = (input) => blogCommentListSchema.parse(input);
|
|
306
|
+
export const parseBlogRecentCommentList = (input) => blogRecentCommentListSchema.parse(input);
|
|
307
|
+
export const parseBlogCategoryList = (input) => blogCategoryListSchema.parse(input);
|
|
308
|
+
export const parseBlogTagList = (input) => blogTagListSchema.parse(input);
|
|
309
|
+
export const parseBlogFriendLinkList = (input) => blogFriendLinkListSchema.parse(input);
|
|
310
|
+
export const parseBlogBrowserApiRequest = (input) => blogBrowserApiRequestSchema.parse(input);
|
|
311
|
+
export const parseBlogBrowserApiResponse = (input) => blogBrowserApiResponseSchema.parse(input);
|
|
312
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uCAAuC,EACvC,6BAA6B,EAC7B,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,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CAAC,KAAK,CAAC,CAAC;AAC5H,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAc,EAAyB,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC9H,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,KAAc,EAA0B,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zlooks.cn/blog-schema",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "pnpm run clean && tsc -p tsconfig.json && fix-esm-import-path --preserve-import-type ./dist",
|
|
17
|
+
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
18
|
+
"test": "vitest run",
|
|
19
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@zlooks.cn/browser-api": "1.0.0",
|
|
23
|
+
"@zlooks.cn/utils": "1.0.0",
|
|
24
|
+
"zod": "4.4.3"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/node": "26.2.0",
|
|
28
|
+
"fix-esm-import-path": "1.10.3",
|
|
29
|
+
"typescript": "7.0.2",
|
|
30
|
+
"vitest": "4.1.11"
|
|
31
|
+
},
|
|
32
|
+
"gitHead": "a3e825c2a62561f73f49a54720e286f08da63429"
|
|
33
|
+
}
|