diff options
Diffstat (limited to 'src/ts/types/blog.ts')
| -rw-r--r-- | src/ts/types/blog.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ts/types/blog.ts b/src/ts/types/blog.ts index 8b48264..05bdd1f 100644 --- a/src/ts/types/blog.ts +++ b/src/ts/types/blog.ts @@ -19,6 +19,14 @@ export type RawPostsList = { }; }; +export type LastPostCursor = { + posts: { + pageInfo: { + endCursor: string; + }; + }; +}; + export type AllPostsSlug = { posts: { nodes: Slug[]; @@ -28,6 +36,6 @@ export type AllPostsSlug = { export type BlogPageProps = { allThematics: ThematicPreview[]; allTopics: TopicPreview[]; - firstPosts: PostsList; + posts: PostsList; totalPosts: number; }; |
