blob: 7325ddf17ee132fb944ad707e9ba9cfef5e153c8 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | import { PageInfo, Slug } from './app';
import { ArticlePreview, RawArticlePreview } from './articles';
export type PostsList = {
  posts: ArticlePreview[];
  pageInfo: PageInfo;
};
export type PostsListEdges = {
  cursor: string;
  node: RawArticlePreview;
};
export type RawPostsList = {
  posts: {
    edges: PostsListEdges[];
    pageInfo: PageInfo;
  };
};
export type AllPostsSlug = {
  posts: {
    nodes: Slug[];
  };
};
export type BlogPageProps = {
  fallback: PostsList;
};
 |