backend & types

This commit is contained in:
2024-01-27 18:58:35 +00:00
parent 91bfa0864d
commit 0b4a474180
219 changed files with 5211 additions and 12325 deletions

22
types/content.d.ts vendored Normal file
View File

@@ -0,0 +1,22 @@
interface Page {
path: string
active: boolean
type: "page" | "teamMembers" | "jobOffers"
pageTitle: string
rows: Row[]
id: string
meta: {
title: string
description: string
keywords: string
}
}
interface Row {
columns: Column[]
}
type Column =
| { contentType: "image"; image: string; icons: { icon: string; link: string }[] }
| { contentType: "moduleImport"; moduleImport: string }
| { contentType: "text"; text: string }