forked from cms/tibi-svelte-starter
Vereinheitlichen der API Parameter für Articles und Content Api Methoden. Interfaces etwas angepasst.
This commit is contained in:
9
types/global.d.ts
vendored
9
types/global.d.ts
vendored
@@ -16,13 +16,7 @@ interface CollectionEntry {
|
||||
}
|
||||
|
||||
interface ContentBlock {
|
||||
layout: 1 | 2 | 3 | 4
|
||||
title?: string
|
||||
subtitle?: string
|
||||
text?: string
|
||||
button_text?: string
|
||||
button_url?: string
|
||||
images?: ImageEntry[]
|
||||
article: any
|
||||
}
|
||||
|
||||
interface Content {
|
||||
@@ -30,6 +24,7 @@ interface Content {
|
||||
locale: string
|
||||
tags?: string[]
|
||||
path: string
|
||||
name: string
|
||||
blocks: ContentBlock[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user