base zone components and type refinements

This commit is contained in:
Julian Krauser 2024-11-02 12:47:07 +01:00
parent 9d96e3a6dc
commit 5c56af0dad
38 changed files with 323 additions and 54 deletions

View file

@ -0,0 +1,13 @@
export default interface Article {
id: number;
documentId: string;
title: string;
description: string;
slug: string;
content: Array<{ type: string; children: Array<{ type: string; text: string }>; level?: number }>;
date: string;
createdAt: string;
updatedAt: string;
publishedAt: string;
locale: string;
}