Layouts, ProseA rework and PreviewContent creation. Trying to fix hydration by making better SSR.

This commit is contained in:
2024-08-20 18:02:16 +02:00
parent 2e92c389a2
commit 04785ecf27
20 changed files with 344 additions and 359 deletions

9
types/api.d.ts vendored
View File

@@ -29,16 +29,19 @@ export interface Navigation {
children?: Navigation[];
}
export interface File {
id: number;
project: number;
path: string;
owner: number;
title: string;
order: number;
type: 'Markdown' | 'Canvas' | 'File' | 'Folder';
content: string;
owner: number;
navigable: boolean;
private: boolean;
}
export interface Comment {
file: number;
project: number;
path: number;
user_id: number;
sequence: number;
position: number;