base zone components and type refinements
This commit is contained in:
parent
9d96e3a6dc
commit
5c56af0dad
38 changed files with 323 additions and 54 deletions
13
types/collection/article.ts
Normal file
13
types/collection/article.ts
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue