Feature/restructure XRayRulesSettings (#3898)
* Restructure XRayRulesSettings * Update changelogpull/3919/head^2
parent
aee5e833a5
commit
f8da265f5f
@ -1,5 +1,7 @@
|
||||
import { PortfolioReportRule } from '@ghostfolio/common/interfaces';
|
||||
import { XRayRulesSettings } from '@ghostfolio/common/types';
|
||||
|
||||
export interface IRuleSettingsDialogParams {
|
||||
rule: PortfolioReportRule;
|
||||
settings: XRayRulesSettings['AccountClusterRiskCurrentInvestment'];
|
||||
}
|
||||
|
@ -1,11 +1,16 @@
|
||||
export interface PortfolioReportRule {
|
||||
configuration?: {
|
||||
threshold?: {
|
||||
max: number;
|
||||
min: number;
|
||||
step: number;
|
||||
};
|
||||
thresholdMax?: boolean;
|
||||
thresholdMin?: boolean;
|
||||
};
|
||||
evaluation?: string;
|
||||
isActive: boolean;
|
||||
key: string;
|
||||
name: string;
|
||||
settings?: {
|
||||
thresholdMax?: number;
|
||||
thresholdMin?: number;
|
||||
};
|
||||
value?: boolean;
|
||||
}
|
||||
|
Loading…
Reference in new issue