Neue Komponente für Article-Media-Image sowie eine allgemeine Image Komponente. Article-Komponente WorkInProgress.

This commit is contained in:
2022-06-09 08:23:39 +02:00
parent d872767845
commit 4824effccb
12 changed files with 180 additions and 343 deletions

26
types/global.d.ts vendored
View File

@@ -7,6 +7,14 @@ interface APIParams {
}
count?: 1
}
interface CollectionEntry {
id?: string
insertTime?: string
updateTime?: string
[key: string]: any
}
interface ContentBlock {
layout: 1 | 2 | 3 | 4
title?: string
@@ -64,15 +72,17 @@ interface GeneralInfo {
interface TibiArticle {
id: string
active: boolean
content: string
details: string
image: File
insertTime: string
position: string
subtitle: string
article: any
insertTime?: string
updateTime?: string
}
interface TibiArticleImage {
id: string
title: string
updateTime: string
alternateText: string
caption: string
file: File[]
}
interface File {