Spaces:
Runtime error
Runtime error
Commit
·
457997e
1
Parent(s):
42be57d
type for the response
Browse files- src/types.mts +1 -1
src/types.mts
CHANGED
@@ -14,7 +14,7 @@ export type Post = {
|
|
14 |
export type PostAPIResponse = {
|
15 |
success?: boolean
|
16 |
error?: string
|
17 |
-
|
18 |
}
|
19 |
|
20 |
export type PostAPIRequest = Partial<Post>
|
|
|
14 |
export type PostAPIResponse = {
|
15 |
success?: boolean
|
16 |
error?: string
|
17 |
+
posts: Post[]
|
18 |
}
|
19 |
|
20 |
export type PostAPIRequest = Partial<Post>
|