navigation on collections and dynamic routing improvements
This commit is contained in:
parent
5c56af0dad
commit
44b55d9bbb
11 changed files with 117 additions and 48 deletions
|
@ -1,13 +1,5 @@
|
|||
export default interface Article {
|
||||
id: number;
|
||||
documentId: string;
|
||||
title: string;
|
||||
description: string;
|
||||
slug: string;
|
||||
import type BaseCollection from "./baseCollection";
|
||||
|
||||
export default interface Article extends BaseCollection {
|
||||
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