blob: 4b38ff4ca55e547bec502b893494bb4d52fdc6d5 (
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
|
export type Page = {
content: string;
date: string;
intro: string;
modified: string;
title: string;
};
export type RawPage = {
contentParts: {
afterMore: string;
beforeMore: string;
};
date: string;
modified: string;
title: string;
};
export type PageResponse = {
pageBy: RawPage;
};
export type FetchPageByUriReturn = (uri: string) => Promise<RawPage>;
export type GetPageReturn = () => Promise<Page>;
export type PageProps = {
page: Page;
};
|