my-notes-viewer/types/global.d.ts

17 lines
270 B
TypeScript
Raw Normal View History

2021-03-22 15:59:05 +01:00
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[]
}