feat: update TNewsResponse type to TNewsResponseData for improved data structure

This commit is contained in:
Ardeman
2025-03-20 12:40:20 +08:00
parent 731b36ef70
commit 09f8669553
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -29,6 +29,7 @@ const dataResponseSchema = z.object({
})
export type TNewsResponse = z.infer<typeof newsResponseSchema>
export type TNewsResponseData = z.infer<typeof dataResponseSchema>
export type TAuthorResponse = z.infer<typeof authorSchema>
type TParameters = {
categories?: string[]