Feature/ghostfolio in numbers (#175)

* Add Ghostfolio in numbers section

* Update changelog
This commit is contained in:
Thomas
2021-06-17 22:59:48 +02:00
committed by GitHub
parent a2440fc067
commit 66c955ad6c
9 changed files with 141 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
import { Currency } from '@prisma/client';
import { Statistics } from './statistics.interface';
export interface InfoItem {
currencies: Currency[];
demoAuthToken: string;
@@ -10,4 +12,5 @@ export interface InfoItem {
type: string;
};
platforms: { id: string; name: string }[];
statistics: Statistics;
}

View File

@@ -0,0 +1,5 @@
export interface Statistics {
activeUsers1d: number;
activeUsers30d: number;
gitHubStargazers: number;
}

View File

@@ -15,6 +15,7 @@ export const permissions = {
deleteOrder: 'deleteOrder',
deleteUser: 'deleteUser',
enableSocialLogin: 'enableSocialLogin',
enableStatistics: 'enableStatistics',
enableSubscription: 'enableSubscription',
readForeignPortfolio: 'readForeignPortfolio',
updateAccount: 'updateAccount',