next session

This commit is contained in:
2023-07-15 16:15:17 +00:00
parent d4e21505ad
commit c6d43a95fa
28 changed files with 988 additions and 72 deletions

36
types/global.d.ts vendored
View File

@@ -12,7 +12,7 @@ interface Page {
path: string
teaser: teaserHomepage
sectionHomepage: Row
rows: Row[]
rows: outerRow[]
id: string
}
@@ -22,7 +22,9 @@ interface teaserHomepage {
teaserTitle: string
teaserDescription: string
}
interface outerRow {
row: Row
}
interface Row {
topTitle: string
subTitle: string
@@ -43,12 +45,13 @@ interface Column {
| "nestedCard"
| "topDown"
| "personPreview"
| "boxList"
| "extendableBox"
| "boxlist"
| "extendableBoxes"
| "textLink"
| "iconBlock"
| "iconBlocks"
| "pageLinkBlocks"
| "publication"
| "publications"
| "networkEvents"
image?: FileField
iconCycleSquare?: IconCycleSquare
@@ -57,15 +60,15 @@ interface Column {
textLink: TextLink
infoBoard: InfoBoard
worldCard: WorldCard
nestedCard: NestedCard
nestedCard: NestedCard[]
topDown: TopDown
personPreview: PersonPreview
personPreview: PersonPreview[]
boxList: BoxList
extendableBox: ExtendableBox
extendableBoxes: ExtendableBox[]
iconBlocks: iconBlock[]
pageLinkBlocks: pageLinkBlock[]
networkEvents: NetworkEvent[]
publication: Publication
publications: Publication[]
}
interface Publication {
@@ -74,7 +77,7 @@ interface Publication {
}
interface NetworkEvent {
beginnDate: Date
beginDate: Date
endDate: Date
title: string
file: FileField
@@ -133,19 +136,20 @@ interface TopDown {
}
interface TopDownRow {
initial: string
inital: string
rest: string
description: string
}
interface PersonPreview {
initalImage: FileField
initialImage: FileField
hoverImage: FileField
name: string
link: string
}
interface BoxList {
names: {
boxes: {
name: string
}[]
}
@@ -153,6 +157,8 @@ interface BoxList {
interface ExtendableBox {
title: string
text: string
emailButton: boolean
emailSubject: string
}
interface FileField {
@@ -168,7 +174,7 @@ interface TextLink {
interface Navigation {
tree: number
elemente: NavElement[]
pages: NavElement[]
}
interface NavElement {