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:
parent
e1131d961d
commit
9d5086290f
5 changed files with 58 additions and 29 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue