calculator and other cleaning

This commit is contained in:
2025-07-04 22:39:51 +02:00
parent a2db817133
commit 0bab1d83a1
19 changed files with 420 additions and 93 deletions

View File

@ -1,3 +1,8 @@
export interface CalculatorOutput {
calculator_output: PlanPrediction
chart: string
}
export interface PlanPrediction {
total_investement_value: number
total_input_price_increase: number
@ -23,10 +28,10 @@ export interface InvestmentPiece {
currency_conversion_rate: string
max_comission_value: number
average_input_price_increase: number
features: Feature[]
features: FeatureCalculator[]
}
export interface Feature {
export interface FeatureCalculator {
feature_id: number
feature: string
value_id: number
@ -38,3 +43,8 @@ export interface PeriodToFirstPiece {
months: number
days: number
}
export interface MinMaxRange {
min: number
max: number
}