aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/pages.ts
blob: 93ff62edf29c1978cebdd3bb939f20370e75c7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { ContentParts, Dates } from './app';

export type Page = {
  content: string;
  dates: Dates;
  intro: string;
  title: string;
};

export type RawPage = {
  contentParts: ContentParts;
  date: string;
  modified: string;
  title: string;
};

export type PageBy = {
  pageBy: RawPage;
};

export type PageProps = {
  page: Page;
};