forked from cms/tibi-svelte-starter
Erste kleine Anpassungen am Tibi-Svelte-Starter um später mehr Zeit in neuen Projekten zu sparen. Hier werden noch weitere Anpassungen folgen, die grundlegend in den meisten Projekten benötigt werden.
This commit is contained in:
45
types/global.d.ts
vendored
45
types/global.d.ts
vendored
@@ -8,9 +8,52 @@ interface ContentBlock {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user