mirror of https://github.com/ghostfolio/ghostfolio
Thomas Kaul
4 months ago
committed by
GitHub
21 changed files with 149 additions and 53 deletions
@ -1,5 +1,7 @@ |
|||||
import { PortfolioReportRule } from '@ghostfolio/common/interfaces'; |
import { PortfolioReportRule } from '@ghostfolio/common/interfaces'; |
||||
|
import { XRayRulesSettings } from '@ghostfolio/common/types'; |
||||
|
|
||||
export interface IRuleSettingsDialogParams { |
export interface IRuleSettingsDialogParams { |
||||
rule: PortfolioReportRule; |
rule: PortfolioReportRule; |
||||
|
settings: XRayRulesSettings['AccountClusterRiskCurrentInvestment']; |
||||
} |
} |
||||
|
@ -1,11 +1,16 @@ |
|||||
export interface PortfolioReportRule { |
export interface PortfolioReportRule { |
||||
|
configuration?: { |
||||
|
threshold?: { |
||||
|
max: number; |
||||
|
min: number; |
||||
|
step: number; |
||||
|
}; |
||||
|
thresholdMax?: boolean; |
||||
|
thresholdMin?: boolean; |
||||
|
}; |
||||
evaluation?: string; |
evaluation?: string; |
||||
isActive: boolean; |
isActive: boolean; |
||||
key: string; |
key: string; |
||||
name: string; |
name: string; |
||||
settings?: { |
|
||||
thresholdMax?: number; |
|
||||
thresholdMin?: number; |
|
||||
}; |
|
||||
value?: boolean; |
value?: boolean; |
||||
} |
} |
||||
|
Loading…
Reference in new issue