From bdd84c7e59f46f38681e86cb824c3174a0d1e924 Mon Sep 17 00:00:00 2001 From: Chika Date: Fri, 29 Apr 2022 22:06:52 +0300 Subject: [PATCH] stores: move values store files in folder --- stores/calculation/{values.ts => values/index.ts} | 2 +- stores/calculation/{ => values}/types.ts | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) rename stores/calculation/{values.ts => values/index.ts} (95%) rename stores/calculation/{ => values}/types.ts (95%) diff --git a/stores/calculation/values.ts b/stores/calculation/values/index.ts similarity index 95% rename from stores/calculation/values.ts rename to stores/calculation/values/index.ts index 3a002b9..a2c5961 100644 --- a/stores/calculation/values.ts +++ b/stores/calculation/values/index.ts @@ -1,5 +1,5 @@ import { makeAutoObservable } from 'mobx'; -import { RootStore } from '../root'; +import { RootStore } from '../../root'; import { Values } from './types'; export type CalculationValues = Partial>; diff --git a/stores/calculation/types.ts b/stores/calculation/values/types.ts similarity index 95% rename from stores/calculation/types.ts rename to stores/calculation/values/types.ts index ea5262a..6ef681f 100644 --- a/stores/calculation/types.ts +++ b/stores/calculation/values/types.ts @@ -118,6 +118,11 @@ export type Values = | 'subsidySum' | 'fuelCard' | 'minPriceChange' + | 'leaseObjectPriceWthtVAT' + | 'VATInLeaseObjectPrice' + | 'engineHours' + + /** Result Values */ | 'resultTotalGraphwithNDS' | 'resultPlPrice' | 'resultPriceUpPr' @@ -136,6 +141,9 @@ export type Values = | 'resultBonusDopProd' | 'resultBonusSafeFinance' | 'resultFirstPaymentRiskPolicy' - | 'leaseObjectPriceWthtVAT' - | 'VATInLeaseObjectPrice' - | 'engineHours'; + + /** Link Values */ + | 'kpUrl' + | 'leadUrl' + | 'opportunityUrl' + | 'quoteUrl';