1
0
Fork 0
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:
Fedor Katurov 2021-10-12 18:04:35 +07:00
parent 65d13afab9
commit c8204a41a2
13 changed files with 358 additions and 53 deletions

View file

@ -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[];