From 802285872a2c57e7a5e130f32a2b45497d7687f1 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 5 Dec 2023 19:11:34 +0100 Subject: refactor(pages): refine Projects page * add a `contexts` meta key to projects * replace `technologies` with `contexts` key in projects list * make getProjectsFilenames async * add Cypress tests --- src/types/data.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/types/data.ts') 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 & { + contexts?: string[]; license?: string; repos?: Repos; tagline?: string; @@ -264,7 +265,7 @@ export type Project = Omit & { }; export type ProjectPreview = Omit & { - meta: Omit; + meta: Pick; }; export type ThematicMeta = Omit & { -- cgit v1.2.3