mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed types
This commit is contained in:
parent
5d219b3196
commit
d9a56255c5
4 changed files with 30 additions and 13 deletions
|
@ -73,8 +73,9 @@ export interface IFileWithUUID {
|
|||
|
||||
export interface IBlock {
|
||||
type: 'image' | 'text' | 'media' | 'youtube' | 'video';
|
||||
temp_ids: UUID[];
|
||||
attaches: UUID[];
|
||||
files: UUID[];
|
||||
content: string;
|
||||
embeds: string[];
|
||||
}
|
||||
|
||||
export interface INode {
|
||||
|
@ -84,7 +85,7 @@ export interface INode {
|
|||
title: string;
|
||||
files: IFile[];
|
||||
|
||||
cover: IFile['id'];
|
||||
cover: IFile;
|
||||
type: 'image';
|
||||
|
||||
blocks: IBlock[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue