1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

made demo for nodes and comments count by month

This commit is contained in:
Fedor Katurov 2022-03-30 14:13:31 +07:00
parent e1131d961d
commit 9d5086290f
5 changed files with 58 additions and 29 deletions

View file

@ -1,24 +1,5 @@
import { IError, INode, ITag } from '~/types';
export type ILabState = Readonly<{
list: {
is_loading: boolean;
nodes: ILabNode[];
count: number;
error: IError;
};
stats: {
is_loading: boolean;
heroes: Partial<INode>[];
tags: ITag[];
error?: string;
};
updates: {
nodes: INode[];
isLoading: boolean;
};
}>;
export enum LabNodesSort {
New = 'new',
Hot = 'hot',