most of it
This commit is contained in:
55
types/global.d.ts
vendored
55
types/global.d.ts
vendored
@@ -11,6 +11,21 @@ interface Site {
|
||||
row: Row[]
|
||||
banner: Banner[]
|
||||
id: string
|
||||
title: string
|
||||
aktiv: boolean
|
||||
teaser: {
|
||||
showTeaser: boolean
|
||||
subTitle: string
|
||||
teaserTitle: string
|
||||
teaserDescription: string
|
||||
}
|
||||
meta: {
|
||||
autor?: string
|
||||
datum?: string
|
||||
titel?: string
|
||||
beschreibung?: string
|
||||
keywords?: string
|
||||
}
|
||||
}
|
||||
|
||||
interface Row {
|
||||
@@ -21,6 +36,12 @@ interface Row {
|
||||
iconBackgroundTitle: boolean
|
||||
}
|
||||
|
||||
interface IconInfoBoard {
|
||||
title: string
|
||||
icon: FileField
|
||||
text: string
|
||||
}
|
||||
|
||||
interface Column {
|
||||
contentType:
|
||||
| "mainPicture"
|
||||
@@ -30,9 +51,13 @@ interface Column {
|
||||
| "infoBoard"
|
||||
| "iconBoard"
|
||||
| "form"
|
||||
| "videos"
|
||||
| "image"
|
||||
| "text"
|
||||
| "video"
|
||||
| "iconInfoBoard"
|
||||
| "boxlist"
|
||||
| "productPreview"
|
||||
|
||||
showGoogleMaps?: boolean
|
||||
video: FileField
|
||||
titleVideo: string
|
||||
descriptionVideo: string
|
||||
@@ -51,10 +76,21 @@ interface Column {
|
||||
text?: string
|
||||
links?: Link[]
|
||||
iconBoard?: IconBoard[]
|
||||
iconInfoBoard?: IconInfoBoard
|
||||
backgroundImage?: FileField
|
||||
videoSwitch?: VideoSwitch[]
|
||||
formRows?: FormRow[]
|
||||
iconBackgroundImage?: boolean
|
||||
tableFieldHeading?: string
|
||||
boxList: {
|
||||
boxes: { name: string }[]
|
||||
}
|
||||
productPreview: {
|
||||
image: FileField
|
||||
title: string
|
||||
text: string
|
||||
price: string
|
||||
}[]
|
||||
}
|
||||
|
||||
interface ImageSlider {
|
||||
@@ -93,6 +129,7 @@ interface VideoSwitch {
|
||||
|
||||
interface FormRow {
|
||||
title?: string
|
||||
rowName: string
|
||||
columns: FormColumn[]
|
||||
}
|
||||
|
||||
@@ -136,6 +173,18 @@ interface FormColumn {
|
||||
emailNameNumber: string
|
||||
emailNameTime: string
|
||||
emailNameTimes: string
|
||||
numberfieldOrder?: number
|
||||
}
|
||||
interface CustomHTMLElement extends HTMLElement {
|
||||
checked?: boolean
|
||||
value?: any
|
||||
required?: boolean
|
||||
getAttribute(attr: string): string | null
|
||||
}
|
||||
|
||||
interface FormValues {
|
||||
[key: string]: CustomHTMLElement
|
||||
blockGroups?: Set<number>
|
||||
}
|
||||
|
||||
interface Temperature {
|
||||
@@ -160,6 +209,7 @@ interface TextField {
|
||||
emailValidation: boolean
|
||||
dateSelectNotRequired: boolean
|
||||
emailName: string
|
||||
textfieldOrder: string
|
||||
}
|
||||
|
||||
interface TeaserImage {
|
||||
@@ -172,6 +222,7 @@ interface Banner {
|
||||
|
||||
interface Navigation {
|
||||
tree: number
|
||||
id: string
|
||||
elemente: NavElement[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user