diff options
Diffstat (limited to 'src/types/data.ts')
| -rw-r--r-- | src/types/data.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/types/data.ts b/src/types/data.ts index 80a8bf3..1d0746d 100644 --- a/src/types/data.ts +++ b/src/types/data.ts @@ -252,6 +252,7 @@ export type Repos = { }; export type ProjectMeta = Omit<PageMeta, 'wordsCount'> & { + contexts?: string[]; license?: string; repos?: Repos; tagline?: string; @@ -264,7 +265,7 @@ export type Project = Omit<Page, 'content'> & { }; export type ProjectPreview = Omit<Project, 'meta'> & { - meta: Omit<ProjectMeta, 'license' | 'repos'>; + meta: Pick<ProjectMeta, 'contexts' | 'cover' | 'dates' | 'tagline'>; }; export type ThematicMeta = Omit<PageMeta, 'wordsCount'> & { |
