@kids-reporter/api-types 0.0.1
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 +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/openapi.d.ts +43 -0
- package/dist/openapi.d.ts.map +1 -0
- package/dist/openapi.js +50 -0
- package/dist/openapi.js.map +1 -0
- package/dist/rest.d.ts +57 -0
- package/dist/rest.d.ts.map +1 -0
- package/dist/rest.js +26 -0
- package/dist/rest.js.map +1 -0
- package/dist/schemas/content-feed-queries.d.ts +34 -0
- package/dist/schemas/content-feed-queries.d.ts.map +1 -0
- package/dist/schemas/content-feed-queries.js +21 -0
- package/dist/schemas/content-feed-queries.js.map +1 -0
- package/dist/schemas/content-feed-responses.d.ts +192 -0
- package/dist/schemas/content-feed-responses.d.ts.map +1 -0
- package/dist/schemas/content-feed-responses.js +87 -0
- package/dist/schemas/content-feed-responses.js.map +1 -0
- package/dist/schemas/content-post-detail.d.ts +313 -0
- package/dist/schemas/content-post-detail.d.ts.map +1 -0
- package/dist/schemas/content-post-detail.js +196 -0
- package/dist/schemas/content-post-detail.js.map +1 -0
- package/dist/schemas/content.d.ts +438 -0
- package/dist/schemas/content.d.ts.map +1 -0
- package/dist/schemas/content.js +722 -0
- package/dist/schemas/content.js.map +1 -0
- package/dist/schemas/extra-openapi-paths.d.ts +53 -0
- package/dist/schemas/extra-openapi-paths.d.ts.map +1 -0
- package/dist/schemas/extra-openapi-paths.js +674 -0
- package/dist/schemas/extra-openapi-paths.js.map +1 -0
- package/dist/schemas/member-essay-answers-has-liked.d.ts +16 -0
- package/dist/schemas/member-essay-answers-has-liked.d.ts.map +1 -0
- package/dist/schemas/member-essay-answers-has-liked.js +30 -0
- package/dist/schemas/member-essay-answers-has-liked.js.map +1 -0
- package/dist/schemas/qna.d.ts +145 -0
- package/dist/schemas/qna.d.ts.map +1 -0
- package/dist/schemas/qna.js +632 -0
- package/dist/schemas/qna.js.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Full sub-subcategory tree for **detail-shaped payloads** (`mapSubSubFull`, article detail,
|
|
4
|
+
* related-post rows with routing slugs). This is intentionally richer than
|
|
5
|
+
* `PostSubSubcategorySchema` in `content.ts` (feed/list post cards), which omits nested
|
|
6
|
+
* slugs to keep list responses smaller and aligned with card UI needs.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SubSubcategoryFullItemSchema: z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
slug: z.ZodString;
|
|
11
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
slug: z.ZodString;
|
|
14
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
name: z.ZodString;
|
|
16
|
+
slug: z.ZodString;
|
|
17
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>>;
|
|
19
|
+
}, z.core.$strict>>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
/** Nested post sub-subs under `projects[].relatedPosts` (`mapSubSubProjectNested`). */
|
|
22
|
+
export declare const PostProjectNestedSubSubSchema: z.ZodObject<{
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
slug: z.ZodString;
|
|
28
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strict>>;
|
|
30
|
+
}, z.core.$strict>>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export declare const PostDetailHeroImageSchema: z.ZodObject<{
|
|
33
|
+
imageFile: z.ZodObject<{
|
|
34
|
+
width: z.ZodNumber;
|
|
35
|
+
height: z.ZodNumber;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
resized: z.ZodObject<{
|
|
38
|
+
small: z.ZodString;
|
|
39
|
+
medium: z.ZodString;
|
|
40
|
+
large: z.ZodString;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export declare const PostDetailAuthorSchema: z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
slug: z.ZodString;
|
|
48
|
+
avatar: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
resized: z.ZodObject<{
|
|
50
|
+
tiny: z.ZodString;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
export declare const V1ProjectDetailRelatedPostOrderedItemSchema: z.ZodObject<{
|
|
55
|
+
title: z.ZodString;
|
|
56
|
+
slug: z.ZodString;
|
|
57
|
+
publishedDate: z.ZodOptional<z.ZodISODateTime>;
|
|
58
|
+
ogDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
resized: z.ZodObject<{
|
|
61
|
+
small: z.ZodString;
|
|
62
|
+
medium: z.ZodString;
|
|
63
|
+
large: z.ZodString;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
slug: z.ZodString;
|
|
69
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
slug: z.ZodString;
|
|
72
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
slug: z.ZodString;
|
|
75
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
76
|
+
}, z.core.$strict>>;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
export declare const V1PostDetailBodySchema: z.ZodObject<{
|
|
81
|
+
opening: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
title: z.ZodString;
|
|
83
|
+
showBaodaozai: z.ZodBoolean;
|
|
84
|
+
newsReadingGroup: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
items: z.ZodArray<z.ZodObject<{
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
embedCode: z.ZodString;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
brief: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
91
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
92
|
+
publishedDate: z.ZodOptional<z.ZodISODateTime>;
|
|
93
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
imageFile: z.ZodObject<{
|
|
95
|
+
width: z.ZodNumber;
|
|
96
|
+
height: z.ZodNumber;
|
|
97
|
+
}, z.core.$strict>;
|
|
98
|
+
resized: z.ZodObject<{
|
|
99
|
+
small: z.ZodString;
|
|
100
|
+
medium: z.ZodString;
|
|
101
|
+
large: z.ZodString;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
}, z.core.$strict>>;
|
|
104
|
+
heroCaption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
authors: z.ZodArray<z.ZodObject<{
|
|
106
|
+
id: z.ZodString;
|
|
107
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
slug: z.ZodString;
|
|
110
|
+
avatar: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
resized: z.ZodObject<{
|
|
112
|
+
tiny: z.ZodString;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
authorsJSON: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
117
|
+
tagsOrdered: z.ZodArray<z.ZodObject<{
|
|
118
|
+
name: z.ZodString;
|
|
119
|
+
slug: z.ZodString;
|
|
120
|
+
}, z.core.$strict>>;
|
|
121
|
+
TWReporterRelatedPostsJSON: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
122
|
+
relatedPostsOrdered: z.ZodArray<z.ZodObject<{
|
|
123
|
+
title: z.ZodString;
|
|
124
|
+
slug: z.ZodString;
|
|
125
|
+
publishedDate: z.ZodOptional<z.ZodISODateTime>;
|
|
126
|
+
ogDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
resized: z.ZodObject<{
|
|
129
|
+
small: z.ZodString;
|
|
130
|
+
medium: z.ZodString;
|
|
131
|
+
large: z.ZodString;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
}, z.core.$strict>>;
|
|
134
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
135
|
+
name: z.ZodString;
|
|
136
|
+
slug: z.ZodString;
|
|
137
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
138
|
+
name: z.ZodString;
|
|
139
|
+
slug: z.ZodString;
|
|
140
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
name: z.ZodString;
|
|
142
|
+
slug: z.ZodString;
|
|
143
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>>;
|
|
146
|
+
}, z.core.$strict>>;
|
|
147
|
+
}, z.core.$strict>>;
|
|
148
|
+
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
slug: z.ZodString;
|
|
152
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
slug: z.ZodString;
|
|
155
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
slug: z.ZodString;
|
|
158
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
159
|
+
}, z.core.$strict>>;
|
|
160
|
+
}, z.core.$strict>>;
|
|
161
|
+
}, z.core.$strict>>;
|
|
162
|
+
mainProject: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
title: z.ZodString;
|
|
164
|
+
slug: z.ZodString;
|
|
165
|
+
}, z.core.$strict>>;
|
|
166
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
167
|
+
title: z.ZodString;
|
|
168
|
+
slug: z.ZodString;
|
|
169
|
+
relatedPosts: z.ZodArray<z.ZodObject<{
|
|
170
|
+
title: z.ZodString;
|
|
171
|
+
slug: z.ZodString;
|
|
172
|
+
ogDescription: z.ZodNullable<z.ZodString>;
|
|
173
|
+
publishedDate: z.ZodOptional<z.ZodISODateTime>;
|
|
174
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
resized: z.ZodObject<{
|
|
176
|
+
small: z.ZodString;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
}, z.core.$strict>>;
|
|
179
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
180
|
+
name: z.ZodString;
|
|
181
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
182
|
+
name: z.ZodString;
|
|
183
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
184
|
+
slug: z.ZodString;
|
|
185
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
186
|
+
}, z.core.$strict>>;
|
|
187
|
+
}, z.core.$strict>>;
|
|
188
|
+
}, z.core.$strict>>;
|
|
189
|
+
}, z.core.$strict>>;
|
|
190
|
+
}, z.core.$strict>>;
|
|
191
|
+
postEssayQuestions: z.ZodArray<z.ZodObject<{
|
|
192
|
+
id: z.ZodString;
|
|
193
|
+
title: z.ZodString;
|
|
194
|
+
hint: z.ZodString;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
postChoiceQuestions: z.ZodArray<z.ZodObject<{
|
|
197
|
+
id: z.ZodString;
|
|
198
|
+
title: z.ZodString;
|
|
199
|
+
options: z.ZodUnknown;
|
|
200
|
+
reason: z.ZodNullable<z.ZodUnknown>;
|
|
201
|
+
}, z.core.$strict>>;
|
|
202
|
+
}, z.core.$strict>;
|
|
203
|
+
export declare const V1PostMetaBodySchema: z.ZodObject<{
|
|
204
|
+
publishedDate: z.ZodOptional<z.ZodISODateTime>;
|
|
205
|
+
ogDescription: z.ZodNullable<z.ZodString>;
|
|
206
|
+
ogTitle: z.ZodString;
|
|
207
|
+
ogImage: z.ZodNullable<z.ZodObject<{
|
|
208
|
+
resized: z.ZodObject<{
|
|
209
|
+
small: z.ZodString;
|
|
210
|
+
}, z.core.$strict>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
213
|
+
name: z.ZodString;
|
|
214
|
+
slug: z.ZodString;
|
|
215
|
+
subcategory: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
name: z.ZodString;
|
|
217
|
+
slug: z.ZodString;
|
|
218
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
name: z.ZodString;
|
|
220
|
+
slug: z.ZodString;
|
|
221
|
+
themeColor: z.ZodNullable<z.ZodString>;
|
|
222
|
+
}, z.core.$strict>>;
|
|
223
|
+
}, z.core.$strict>>;
|
|
224
|
+
}, z.core.$strict>>;
|
|
225
|
+
}, z.core.$strict>;
|
|
226
|
+
export declare const V1PostEssayQuestionsBodySchema: z.ZodObject<{
|
|
227
|
+
id: z.ZodString;
|
|
228
|
+
slug: z.ZodString;
|
|
229
|
+
title: z.ZodString;
|
|
230
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
resized: z.ZodObject<{
|
|
232
|
+
medium: z.ZodString;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
}, z.core.$strict>>;
|
|
235
|
+
postEssayQuestions: z.ZodArray<z.ZodObject<{
|
|
236
|
+
id: z.ZodString;
|
|
237
|
+
title: z.ZodString;
|
|
238
|
+
hint: z.ZodString;
|
|
239
|
+
}, z.core.$strict>>;
|
|
240
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
241
|
+
name: z.ZodString;
|
|
242
|
+
}, z.core.$strict>>;
|
|
243
|
+
}, z.core.$strict>;
|
|
244
|
+
export declare const V1PostsEssayAnswersWithLikesPostSchema: z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
title: z.ZodString;
|
|
247
|
+
slug: z.ZodString;
|
|
248
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
resized: z.ZodObject<{
|
|
250
|
+
medium: z.ZodString;
|
|
251
|
+
}, z.core.$strict>;
|
|
252
|
+
}, z.core.$strict>>;
|
|
253
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
254
|
+
name: z.ZodString;
|
|
255
|
+
}, z.core.$strict>>;
|
|
256
|
+
postEssayQuestions: z.ZodArray<z.ZodObject<{
|
|
257
|
+
id: z.ZodString;
|
|
258
|
+
title: z.ZodString;
|
|
259
|
+
hint: z.ZodString;
|
|
260
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
261
|
+
id: z.ZodString;
|
|
262
|
+
content: z.ZodString;
|
|
263
|
+
likesCount: z.ZodNumber;
|
|
264
|
+
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
265
|
+
member: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
id: z.ZodString;
|
|
267
|
+
name: z.ZodString;
|
|
268
|
+
nickname: z.ZodString;
|
|
269
|
+
email: z.ZodString;
|
|
270
|
+
avatar: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
id: z.ZodString;
|
|
272
|
+
fileUrl: z.ZodString;
|
|
273
|
+
}, z.core.$strict>>;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
}, z.core.$strict>>;
|
|
276
|
+
}, z.core.$strict>>;
|
|
277
|
+
}, z.core.$strict>;
|
|
278
|
+
/** Flat 200 body for `GET /v1/posts/essay-answers-with-likes` (no `{ posts }` wrapper). */
|
|
279
|
+
export declare const V1PostsEssayAnswersWithLikesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
280
|
+
id: z.ZodString;
|
|
281
|
+
title: z.ZodString;
|
|
282
|
+
slug: z.ZodString;
|
|
283
|
+
heroImage: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
resized: z.ZodObject<{
|
|
285
|
+
medium: z.ZodString;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
}, z.core.$strict>>;
|
|
288
|
+
subSubcategoriesOrdered: z.ZodArray<z.ZodObject<{
|
|
289
|
+
name: z.ZodString;
|
|
290
|
+
}, z.core.$strict>>;
|
|
291
|
+
postEssayQuestions: z.ZodArray<z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
title: z.ZodString;
|
|
294
|
+
hint: z.ZodString;
|
|
295
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
296
|
+
id: z.ZodString;
|
|
297
|
+
content: z.ZodString;
|
|
298
|
+
likesCount: z.ZodNumber;
|
|
299
|
+
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
300
|
+
member: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
id: z.ZodString;
|
|
302
|
+
name: z.ZodString;
|
|
303
|
+
nickname: z.ZodString;
|
|
304
|
+
email: z.ZodString;
|
|
305
|
+
avatar: z.ZodOptional<z.ZodObject<{
|
|
306
|
+
id: z.ZodString;
|
|
307
|
+
fileUrl: z.ZodString;
|
|
308
|
+
}, z.core.$strict>>;
|
|
309
|
+
}, z.core.$strict>>;
|
|
310
|
+
}, z.core.$strict>>;
|
|
311
|
+
}, z.core.$strict>>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
//# sourceMappingURL=content-post-detail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-post-detail.d.ts","sourceRoot":"","sources":["../../src/schemas/content-post-detail.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;kBAkBL,CAAA;AAEpC,uFAAuF;AACvF,eAAO,MAAM,6BAA6B;;;;;;;;;kBAeL,CAAA;AAQrC,eAAO,MAAM,yBAAyB;;;;;;;;;;kBAQL,CAAA;AAEjC,eAAO,MAAM,sBAAsB;;;;;;;;;;kBAYL,CAAA;AAE9B,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;kBAaP,CAAA;AA+CjD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiCL,CAAA;AAE9B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;kBAYL,CAAA;AAE5B,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;kBAaL,CAAA;AAkCtC,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAaL,CAAA;AAE9C,2FAA2F;AAC3F,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAEL,CAAA"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
extendZodWithOpenApi(z);
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Full sub-subcategory tree for **detail-shaped payloads** (`mapSubSubFull`, article detail,
|
|
7
|
+
* related-post rows with routing slugs). This is intentionally richer than
|
|
8
|
+
* `PostSubSubcategorySchema` in `content.ts` (feed/list post cards), which omits nested
|
|
9
|
+
* slugs to keep list responses smaller and aligned with card UI needs.
|
|
10
|
+
*/
|
|
11
|
+
export const SubSubcategoryFullItemSchema = z.strictObject({
|
|
12
|
+
name: z.string(),
|
|
13
|
+
slug: z.string(),
|
|
14
|
+
subcategory: z.strictObject({
|
|
15
|
+
name: z.string(),
|
|
16
|
+
slug: z.string(),
|
|
17
|
+
category: z.strictObject({
|
|
18
|
+
name: z.string(),
|
|
19
|
+
slug: z.string(),
|
|
20
|
+
themeColor: z.string().nullable()
|
|
21
|
+
}).optional()
|
|
22
|
+
}).optional()
|
|
23
|
+
}).openapi('SubSubcategoryFullItem');
|
|
24
|
+
|
|
25
|
+
/** Nested post sub-subs under `projects[].relatedPosts` (`mapSubSubProjectNested`). */
|
|
26
|
+
export const PostProjectNestedSubSubSchema = z.strictObject({
|
|
27
|
+
name: z.string(),
|
|
28
|
+
subcategory: z.strictObject({
|
|
29
|
+
name: z.string(),
|
|
30
|
+
category: z.strictObject({
|
|
31
|
+
slug: z.string(),
|
|
32
|
+
themeColor: z.string().nullable()
|
|
33
|
+
}).optional()
|
|
34
|
+
}).optional()
|
|
35
|
+
}).openapi('PostProjectNestedSubSub');
|
|
36
|
+
const PostDetailHeroResizedSchema = z.strictObject({
|
|
37
|
+
small: z.string(),
|
|
38
|
+
medium: z.string(),
|
|
39
|
+
large: z.string()
|
|
40
|
+
});
|
|
41
|
+
export const PostDetailHeroImageSchema = z.strictObject({
|
|
42
|
+
imageFile: z.strictObject({
|
|
43
|
+
width: z.number(),
|
|
44
|
+
height: z.number()
|
|
45
|
+
}),
|
|
46
|
+
resized: PostDetailHeroResizedSchema
|
|
47
|
+
}).openapi('PostDetailHeroImage');
|
|
48
|
+
export const PostDetailAuthorSchema = z.strictObject({
|
|
49
|
+
id: z.string(),
|
|
50
|
+
bio: z.string().nullable(),
|
|
51
|
+
name: z.string(),
|
|
52
|
+
slug: z.string(),
|
|
53
|
+
avatar: z.strictObject({
|
|
54
|
+
resized: z.strictObject({
|
|
55
|
+
tiny: z.string()
|
|
56
|
+
})
|
|
57
|
+
}).optional()
|
|
58
|
+
}).openapi('PostDetailAuthor');
|
|
59
|
+
export const V1ProjectDetailRelatedPostOrderedItemSchema = z.strictObject({
|
|
60
|
+
title: z.string(),
|
|
61
|
+
slug: z.string(),
|
|
62
|
+
publishedDate: z.iso.datetime().optional(),
|
|
63
|
+
ogDescription: z.string().nullable().optional(),
|
|
64
|
+
heroImage: z.strictObject({
|
|
65
|
+
resized: PostDetailHeroResizedSchema
|
|
66
|
+
}).optional(),
|
|
67
|
+
subSubcategoriesOrdered: z.array(SubSubcategoryFullItemSchema)
|
|
68
|
+
}).openapi('ProjectDetailRelatedPostOrderedItem');
|
|
69
|
+
const PostDetailProjectNestedPostSchema = z.strictObject({
|
|
70
|
+
title: z.string(),
|
|
71
|
+
slug: z.string(),
|
|
72
|
+
ogDescription: z.string().nullable(),
|
|
73
|
+
publishedDate: z.iso.datetime().optional(),
|
|
74
|
+
heroImage: z.strictObject({
|
|
75
|
+
resized: z.strictObject({
|
|
76
|
+
small: z.string()
|
|
77
|
+
})
|
|
78
|
+
}).optional(),
|
|
79
|
+
subSubcategoriesOrdered: z.array(PostProjectNestedSubSubSchema)
|
|
80
|
+
}).openapi('PostDetailProjectNestedPost');
|
|
81
|
+
const PostDetailProjectBlockSchema = z.strictObject({
|
|
82
|
+
title: z.string(),
|
|
83
|
+
slug: z.string(),
|
|
84
|
+
relatedPosts: z.array(PostDetailProjectNestedPostSchema)
|
|
85
|
+
}).openapi('PostDetailProjectBlock');
|
|
86
|
+
const PostDetailNewsReadingSchema = z.strictObject({
|
|
87
|
+
items: z.array(z.strictObject({
|
|
88
|
+
name: z.string(),
|
|
89
|
+
embedCode: z.string()
|
|
90
|
+
}))
|
|
91
|
+
});
|
|
92
|
+
const PostDetailEssayQuestionSummarySchema = z.strictObject({
|
|
93
|
+
id: z.string(),
|
|
94
|
+
title: z.string(),
|
|
95
|
+
hint: z.string()
|
|
96
|
+
});
|
|
97
|
+
const PostDetailChoiceQuestionSchema = z.strictObject({
|
|
98
|
+
id: z.string(),
|
|
99
|
+
title: z.string(),
|
|
100
|
+
options: z.unknown(),
|
|
101
|
+
reason: z.unknown().nullable()
|
|
102
|
+
});
|
|
103
|
+
export const V1PostDetailBodySchema = z.strictObject({
|
|
104
|
+
opening: z.string().nullable().optional(),
|
|
105
|
+
title: z.string(),
|
|
106
|
+
showBaodaozai: z.boolean(),
|
|
107
|
+
newsReadingGroup: PostDetailNewsReadingSchema.optional(),
|
|
108
|
+
brief: z.unknown().nullable().optional(),
|
|
109
|
+
content: z.unknown().nullable().optional(),
|
|
110
|
+
publishedDate: z.iso.datetime().optional(),
|
|
111
|
+
heroImage: PostDetailHeroImageSchema.optional(),
|
|
112
|
+
heroCaption: z.string().nullable().optional(),
|
|
113
|
+
authors: z.array(PostDetailAuthorSchema),
|
|
114
|
+
authorsJSON: z.unknown().nullable().optional(),
|
|
115
|
+
tagsOrdered: z.array(z.strictObject({
|
|
116
|
+
name: z.string(),
|
|
117
|
+
slug: z.string()
|
|
118
|
+
})),
|
|
119
|
+
TWReporterRelatedPostsJSON: z.unknown().nullable().optional(),
|
|
120
|
+
relatedPostsOrdered: z.array(V1ProjectDetailRelatedPostOrderedItemSchema),
|
|
121
|
+
subtitle: z.string().nullable().optional(),
|
|
122
|
+
subSubcategoriesOrdered: z.array(SubSubcategoryFullItemSchema),
|
|
123
|
+
mainProject: z.strictObject({
|
|
124
|
+
title: z.string(),
|
|
125
|
+
slug: z.string()
|
|
126
|
+
}).optional(),
|
|
127
|
+
projects: z.array(PostDetailProjectBlockSchema),
|
|
128
|
+
postEssayQuestions: z.array(PostDetailEssayQuestionSummarySchema),
|
|
129
|
+
postChoiceQuestions: z.array(PostDetailChoiceQuestionSchema)
|
|
130
|
+
}).openapi('V1PostDetailBody');
|
|
131
|
+
export const V1PostMetaBodySchema = z.strictObject({
|
|
132
|
+
publishedDate: z.iso.datetime().optional(),
|
|
133
|
+
ogDescription: z.string().nullable(),
|
|
134
|
+
ogTitle: z.string(),
|
|
135
|
+
ogImage: z.strictObject({
|
|
136
|
+
resized: z.strictObject({
|
|
137
|
+
small: z.string()
|
|
138
|
+
})
|
|
139
|
+
}).nullable(),
|
|
140
|
+
subSubcategoriesOrdered: z.array(SubSubcategoryFullItemSchema)
|
|
141
|
+
}).openapi('V1PostMetaBody');
|
|
142
|
+
export const V1PostEssayQuestionsBodySchema = z.strictObject({
|
|
143
|
+
id: z.string(),
|
|
144
|
+
slug: z.string(),
|
|
145
|
+
title: z.string(),
|
|
146
|
+
heroImage: z.strictObject({
|
|
147
|
+
resized: z.strictObject({
|
|
148
|
+
medium: z.string()
|
|
149
|
+
})
|
|
150
|
+
}).optional(),
|
|
151
|
+
postEssayQuestions: z.array(PostDetailEssayQuestionSummarySchema),
|
|
152
|
+
subSubcategoriesOrdered: z.array(z.strictObject({
|
|
153
|
+
name: z.string()
|
|
154
|
+
}))
|
|
155
|
+
}).openapi('V1PostEssayQuestionsBody');
|
|
156
|
+
const PostEssayAnswerMemberInFeedSchema = z.strictObject({
|
|
157
|
+
id: z.string(),
|
|
158
|
+
name: z.string(),
|
|
159
|
+
nickname: z.string(),
|
|
160
|
+
email: z.string(),
|
|
161
|
+
avatar: z.strictObject({
|
|
162
|
+
id: z.string(),
|
|
163
|
+
fileUrl: z.string()
|
|
164
|
+
}).optional()
|
|
165
|
+
});
|
|
166
|
+
const PostEssayAnswerInFeedSchema = z.strictObject({
|
|
167
|
+
id: z.string(),
|
|
168
|
+
content: z.string(),
|
|
169
|
+
likesCount: z.number().int(),
|
|
170
|
+
createdAt: z.iso.datetime().optional(),
|
|
171
|
+
member: PostEssayAnswerMemberInFeedSchema.optional()
|
|
172
|
+
}).openapi('PostEssayAnswerInFeed');
|
|
173
|
+
const PostEssayQuestionWithAnswersInFeedSchema = z.strictObject({
|
|
174
|
+
id: z.string(),
|
|
175
|
+
title: z.string(),
|
|
176
|
+
hint: z.string(),
|
|
177
|
+
answers: z.array(PostEssayAnswerInFeedSchema)
|
|
178
|
+
}).openapi('PostEssayQuestionWithAnswersInFeed');
|
|
179
|
+
export const V1PostsEssayAnswersWithLikesPostSchema = z.strictObject({
|
|
180
|
+
id: z.string(),
|
|
181
|
+
title: z.string(),
|
|
182
|
+
slug: z.string(),
|
|
183
|
+
heroImage: z.strictObject({
|
|
184
|
+
resized: z.strictObject({
|
|
185
|
+
medium: z.string()
|
|
186
|
+
})
|
|
187
|
+
}).optional(),
|
|
188
|
+
subSubcategoriesOrdered: z.array(z.strictObject({
|
|
189
|
+
name: z.string()
|
|
190
|
+
})),
|
|
191
|
+
postEssayQuestions: z.array(PostEssayQuestionWithAnswersInFeedSchema)
|
|
192
|
+
}).openapi('V1PostsEssayAnswersWithLikesPost');
|
|
193
|
+
|
|
194
|
+
/** Flat 200 body for `GET /v1/posts/essay-answers-with-likes` (no `{ posts }` wrapper). */
|
|
195
|
+
export const V1PostsEssayAnswersWithLikesResponseSchema = z.array(V1PostsEssayAnswersWithLikesPostSchema).openapi('V1PostsEssayAnswersWithLikesResponse');
|
|
196
|
+
//# sourceMappingURL=content-post-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-post-detail.js","names":["extendZodWithOpenApi","z","SubSubcategoryFullItemSchema","strictObject","name","string","slug","subcategory","category","themeColor","nullable","optional","openapi","PostProjectNestedSubSubSchema","PostDetailHeroResizedSchema","small","medium","large","PostDetailHeroImageSchema","imageFile","width","number","height","resized","PostDetailAuthorSchema","id","bio","avatar","tiny","V1ProjectDetailRelatedPostOrderedItemSchema","title","publishedDate","iso","datetime","ogDescription","heroImage","subSubcategoriesOrdered","array","PostDetailProjectNestedPostSchema","PostDetailProjectBlockSchema","relatedPosts","PostDetailNewsReadingSchema","items","embedCode","PostDetailEssayQuestionSummarySchema","hint","PostDetailChoiceQuestionSchema","options","unknown","reason","V1PostDetailBodySchema","opening","showBaodaozai","boolean","newsReadingGroup","brief","content","heroCaption","authors","authorsJSON","tagsOrdered","TWReporterRelatedPostsJSON","relatedPostsOrdered","subtitle","mainProject","projects","postEssayQuestions","postChoiceQuestions","V1PostMetaBodySchema","ogTitle","ogImage","V1PostEssayQuestionsBodySchema","PostEssayAnswerMemberInFeedSchema","nickname","email","fileUrl","PostEssayAnswerInFeedSchema","likesCount","int","createdAt","member","PostEssayQuestionWithAnswersInFeedSchema","answers","V1PostsEssayAnswersWithLikesPostSchema","V1PostsEssayAnswersWithLikesResponseSchema"],"sources":["../../src/schemas/content-post-detail.ts"],"sourcesContent":["import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi'\nimport { z } from 'zod'\n\nextendZodWithOpenApi(z)\n\n/**\n * Full sub-subcategory tree for **detail-shaped payloads** (`mapSubSubFull`, article detail,\n * related-post rows with routing slugs). This is intentionally richer than\n * `PostSubSubcategorySchema` in `content.ts` (feed/list post cards), which omits nested\n * slugs to keep list responses smaller and aligned with card UI needs.\n */\nexport const SubSubcategoryFullItemSchema = z\n .strictObject({\n name: z.string(),\n slug: z.string(),\n subcategory: z\n .strictObject({\n name: z.string(),\n slug: z.string(),\n category: z\n .strictObject({\n name: z.string(),\n slug: z.string(),\n themeColor: z.string().nullable(),\n })\n .optional(),\n })\n .optional(),\n })\n .openapi('SubSubcategoryFullItem')\n\n/** Nested post sub-subs under `projects[].relatedPosts` (`mapSubSubProjectNested`). */\nexport const PostProjectNestedSubSubSchema = z\n .strictObject({\n name: z.string(),\n subcategory: z\n .strictObject({\n name: z.string(),\n category: z\n .strictObject({\n slug: z.string(),\n themeColor: z.string().nullable(),\n })\n .optional(),\n })\n .optional(),\n })\n .openapi('PostProjectNestedSubSub')\n\nconst PostDetailHeroResizedSchema = z.strictObject({\n small: z.string(),\n medium: z.string(),\n large: z.string(),\n})\n\nexport const PostDetailHeroImageSchema = z\n .strictObject({\n imageFile: z.strictObject({\n width: z.number(),\n height: z.number(),\n }),\n resized: PostDetailHeroResizedSchema,\n })\n .openapi('PostDetailHeroImage')\n\nexport const PostDetailAuthorSchema = z\n .strictObject({\n id: z.string(),\n bio: z.string().nullable(),\n name: z.string(),\n slug: z.string(),\n avatar: z\n .strictObject({\n resized: z.strictObject({ tiny: z.string() }),\n })\n .optional(),\n })\n .openapi('PostDetailAuthor')\n\nexport const V1ProjectDetailRelatedPostOrderedItemSchema = z\n .strictObject({\n title: z.string(),\n slug: z.string(),\n publishedDate: z.iso.datetime().optional(),\n ogDescription: z.string().nullable().optional(),\n heroImage: z\n .strictObject({\n resized: PostDetailHeroResizedSchema,\n })\n .optional(),\n subSubcategoriesOrdered: z.array(SubSubcategoryFullItemSchema),\n })\n .openapi('ProjectDetailRelatedPostOrderedItem')\n\nconst PostDetailProjectNestedPostSchema = z\n .strictObject({\n title: z.string(),\n slug: z.string(),\n ogDescription: z.string().nullable(),\n publishedDate: z.iso.datetime().optional(),\n heroImage: z\n .strictObject({\n resized: z.strictObject({ small: z.string() }),\n })\n .optional(),\n subSubcategoriesOrdered: z.array(PostProjectNestedSubSubSchema),\n })\n .openapi('PostDetailProjectNestedPost')\n\nconst PostDetailProjectBlockSchema = z\n .strictObject({\n title: z.string(),\n slug: z.string(),\n relatedPosts: z.array(PostDetailProjectNestedPostSchema),\n })\n .openapi('PostDetailProjectBlock')\n\nconst PostDetailNewsReadingSchema = z.strictObject({\n items: z.array(\n z.strictObject({\n name: z.string(),\n embedCode: z.string(),\n })\n ),\n})\n\nconst PostDetailEssayQuestionSummarySchema = z.strictObject({\n id: z.string(),\n title: z.string(),\n hint: z.string(),\n})\n\nconst PostDetailChoiceQuestionSchema = z.strictObject({\n id: z.string(),\n title: z.string(),\n options: z.unknown(),\n reason: z.unknown().nullable(),\n})\n\nexport const V1PostDetailBodySchema = z\n .strictObject({\n opening: z.string().nullable().optional(),\n title: z.string(),\n showBaodaozai: z.boolean(),\n newsReadingGroup: PostDetailNewsReadingSchema.optional(),\n brief: z.unknown().nullable().optional(),\n content: z.unknown().nullable().optional(),\n publishedDate: z.iso.datetime().optional(),\n heroImage: PostDetailHeroImageSchema.optional(),\n heroCaption: z.string().nullable().optional(),\n authors: z.array(PostDetailAuthorSchema),\n authorsJSON: z.unknown().nullable().optional(),\n tagsOrdered: z.array(\n z.strictObject({\n name: z.string(),\n slug: z.string(),\n })\n ),\n TWReporterRelatedPostsJSON: z.unknown().nullable().optional(),\n relatedPostsOrdered: z.array(V1ProjectDetailRelatedPostOrderedItemSchema),\n subtitle: z.string().nullable().optional(),\n subSubcategoriesOrdered: z.array(SubSubcategoryFullItemSchema),\n mainProject: z\n .strictObject({\n title: z.string(),\n slug: z.string(),\n })\n .optional(),\n projects: z.array(PostDetailProjectBlockSchema),\n postEssayQuestions: z.array(PostDetailEssayQuestionSummarySchema),\n postChoiceQuestions: z.array(PostDetailChoiceQuestionSchema),\n })\n .openapi('V1PostDetailBody')\n\nexport const V1PostMetaBodySchema = z\n .strictObject({\n publishedDate: z.iso.datetime().optional(),\n ogDescription: z.string().nullable(),\n ogTitle: z.string(),\n ogImage: z\n .strictObject({\n resized: z.strictObject({ small: z.string() }),\n })\n .nullable(),\n subSubcategoriesOrdered: z.array(SubSubcategoryFullItemSchema),\n })\n .openapi('V1PostMetaBody')\n\nexport const V1PostEssayQuestionsBodySchema = z\n .strictObject({\n id: z.string(),\n slug: z.string(),\n title: z.string(),\n heroImage: z\n .strictObject({\n resized: z.strictObject({ medium: z.string() }),\n })\n .optional(),\n postEssayQuestions: z.array(PostDetailEssayQuestionSummarySchema),\n subSubcategoriesOrdered: z.array(z.strictObject({ name: z.string() })),\n })\n .openapi('V1PostEssayQuestionsBody')\n\nconst PostEssayAnswerMemberInFeedSchema = z.strictObject({\n id: z.string(),\n name: z.string(),\n nickname: z.string(),\n email: z.string(),\n avatar: z\n .strictObject({\n id: z.string(),\n fileUrl: z.string(),\n })\n .optional(),\n})\n\nconst PostEssayAnswerInFeedSchema = z\n .strictObject({\n id: z.string(),\n content: z.string(),\n likesCount: z.number().int(),\n createdAt: z.iso.datetime().optional(),\n member: PostEssayAnswerMemberInFeedSchema.optional(),\n })\n .openapi('PostEssayAnswerInFeed')\n\nconst PostEssayQuestionWithAnswersInFeedSchema = z\n .strictObject({\n id: z.string(),\n title: z.string(),\n hint: z.string(),\n answers: z.array(PostEssayAnswerInFeedSchema),\n })\n .openapi('PostEssayQuestionWithAnswersInFeed')\n\nexport const V1PostsEssayAnswersWithLikesPostSchema = z\n .strictObject({\n id: z.string(),\n title: z.string(),\n slug: z.string(),\n heroImage: z\n .strictObject({\n resized: z.strictObject({ medium: z.string() }),\n })\n .optional(),\n subSubcategoriesOrdered: z.array(z.strictObject({ name: z.string() })),\n postEssayQuestions: z.array(PostEssayQuestionWithAnswersInFeedSchema),\n })\n .openapi('V1PostsEssayAnswersWithLikesPost')\n\n/** Flat 200 body for `GET /v1/posts/essay-answers-with-likes` (no `{ posts }` wrapper). */\nexport const V1PostsEssayAnswersWithLikesResponseSchema = z\n .array(V1PostsEssayAnswersWithLikesPostSchema)\n .openapi('V1PostsEssayAnswersWithLikesResponse')\n"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,gCAAgC;AACrE,SAASC,CAAC,QAAQ,KAAK;AAEvBD,oBAAoB,CAACC,CAAC,CAAC;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAGD,CAAC,CAC1CE,YAAY,CAAC;EACZC,IAAI,EAAEH,CAAC,CAACI,MAAM,CAAC,CAAC;EAChBC,IAAI,EAAEL,CAAC,CAACI,MAAM,CAAC,CAAC;EAChBE,WAAW,EAAEN,CAAC,CACXE,YAAY,CAAC;IACZC,IAAI,EAAEH,CAAC,CAACI,MAAM,CAAC,CAAC;IAChBC,IAAI,EAAEL,CAAC,CAACI,MAAM,CAAC,CA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