mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
refactored boris
This commit is contained in:
parent
35ce593ed8
commit
4c74674ac1
10 changed files with 105 additions and 129 deletions
|
@ -29,13 +29,14 @@ export type IStatBackend = {
|
|||
};
|
||||
};
|
||||
|
||||
export interface BorisUsageStats {
|
||||
git: Partial<IStatGitRow>[];
|
||||
issues: IGithubIssue[];
|
||||
backend?: IStatBackend;
|
||||
is_loading: boolean;
|
||||
}
|
||||
export type IBorisState = Readonly<{
|
||||
stats: {
|
||||
git: Partial<IStatGitRow>[];
|
||||
issues: IGithubIssue[];
|
||||
backend?: IStatBackend;
|
||||
is_loading: boolean;
|
||||
};
|
||||
stats: BorisUsageStats;
|
||||
}>;
|
||||
|
||||
const BORIS_INITIAL_STATE: IBorisState = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue