60 lines
1007 B
TypeScript
60 lines
1007 B
TypeScript
interface ContentBlock {
|
|
layout: 1 | 2 | 3 | 4
|
|
title?: string
|
|
subtitle?: string
|
|
text?: string
|
|
button_text?: string
|
|
button_url?: string
|
|
images?: ImageEntry[]
|
|
}
|
|
|
|
interface Content {
|
|
id: string
|
|
path: string
|
|
blocks: ContentBlock[]
|
|
}
|
|
|
|
interface GeneralInformation {
|
|
id: string
|
|
active: boolean
|
|
firstname: string
|
|
lastname: string
|
|
street: string
|
|
postcode: number
|
|
city: string
|
|
tel: string
|
|
mobile: string
|
|
email: string
|
|
images: GeneralImage[]
|
|
insertTime: string
|
|
updateTime: string
|
|
lastPageUpdate: string
|
|
}
|
|
|
|
interface GeneralImage {
|
|
file: File[]
|
|
id: string
|
|
label: string
|
|
}
|
|
|
|
interface TibiArticle {
|
|
id: string
|
|
active: boolean
|
|
content: string
|
|
details: string
|
|
image: File
|
|
insertTime: string
|
|
position: string
|
|
subtitle: string
|
|
title: string
|
|
updateTime: string
|
|
}
|
|
|
|
interface File {
|
|
lastModified?: number
|
|
path: string
|
|
size?: string
|
|
src: string
|
|
type: string
|
|
}
|