backend & types
This commit is contained in:
22
types/content.d.ts
vendored
Normal file
22
types/content.d.ts
vendored
Normal 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 }
|
||||
Reference in New Issue
Block a user