mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added flow menus
This commit is contained in:
parent
65d13afab9
commit
c8204a41a2
13 changed files with 358 additions and 53 deletions
|
@ -112,6 +112,11 @@ export interface IBlockEmbed {
|
|||
|
||||
export type IBlock = IBlockText | IBlockEmbed;
|
||||
export type FlowDisplayVariant = 'single' | 'vertical' | 'horizontal' | 'quadro';
|
||||
export interface FlowDisplay {
|
||||
display: FlowDisplayVariant;
|
||||
show_description: boolean;
|
||||
dominant_color?: string;
|
||||
}
|
||||
|
||||
export interface INode {
|
||||
id?: number;
|
||||
|
@ -132,11 +137,7 @@ export interface INode {
|
|||
is_public?: boolean;
|
||||
like_count?: number;
|
||||
|
||||
flow: {
|
||||
display: FlowDisplayVariant;
|
||||
show_description: boolean;
|
||||
dominant_color?: string;
|
||||
};
|
||||
flow: FlowDisplay;
|
||||
|
||||
tags: ITag[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue