Feature/ghostfolio in numbers (#175)
* Add Ghostfolio in numbers section * Update changelog
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
5
libs/common/src/lib/interfaces/statistics.interface.ts
Normal file
5
libs/common/src/lib/interfaces/statistics.interface.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface Statistics {
|
||||
activeUsers1d: number;
|
||||
activeUsers30d: number;
|
||||
gitHubStargazers: number;
|
||||
}
|
@@ -15,6 +15,7 @@ export const permissions = {
|
||||
deleteOrder: 'deleteOrder',
|
||||
deleteUser: 'deleteUser',
|
||||
enableSocialLogin: 'enableSocialLogin',
|
||||
enableStatistics: 'enableStatistics',
|
||||
enableSubscription: 'enableSubscription',
|
||||
readForeignPortfolio: 'readForeignPortfolio',
|
||||
updateAccount: 'updateAccount',
|
||||
|
Reference in New Issue
Block a user