forked from cms/tibi-svelte-starter
Neue Komponente für Article-Media-Image sowie eine allgemeine Image Komponente. Article-Komponente WorkInProgress.
This commit is contained in:
26
types/global.d.ts
vendored
26
types/global.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user