summaryrefslogtreecommitdiffstats
path: root/src/ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-20 11:57:16 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-20 11:57:16 +0100
commitf5ba1046b13acd239c472e361f345902937662fb (patch)
treed2468fa51f3d2f9dda61eb9cdf6594ad8e618352 /src/ts
parent08855874397399459b281f6f0506fa5e91cdfdc0 (diff)
chore: add a page for projects
Diffstat (limited to 'src/ts')
-rw-r--r--src/ts/types/app.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts
index b5707a2..6f9bbce 100644
--- a/src/ts/types/app.ts
+++ b/src/ts/types/app.ts
@@ -89,11 +89,28 @@ export type Meta = {
updatedOn: string;
};
+export type ProjectMeta = Meta & {
+ license: string;
+ repos?: {
+ github?: string;
+ gitlab?: string;
+ };
+ technologies?: string[];
+};
+
export type PageInfo = {
endCursor: string;
hasNextPage: boolean;
};
+export type Project = {
+ cover: string;
+ id: string;
+ intro: string;
+ meta: ProjectMeta;
+ slug: string;
+};
+
export type Slug = {
slug: string;
};