calculator and other cleaning
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user