63 lines
2.4 KiB
TypeScript
63 lines
2.4 KiB
TypeScript
import { seconds } from '@/utils/time';
|
|
|
|
export const queryTTL: Record<string, number | false> = {
|
|
GetAddProductType: seconds().fromHours(12),
|
|
GetAddproductTypes: seconds().fromHours(12),
|
|
GetAgent: seconds().fromHours(12),
|
|
GetBrand: seconds().fromHours(3),
|
|
GetBrands: seconds().fromHours(3),
|
|
GetCoefficients: seconds().fromHours(12),
|
|
GetConfiguration: seconds().fromHours(3),
|
|
GetConfigurations: seconds().fromMinutes(15),
|
|
GetCurrencyChanges: seconds().fromHours(1),
|
|
GetDealer: seconds().fromHours(1),
|
|
GetDealerPerson: seconds().fromHours(1),
|
|
GetDealerPersons: seconds().fromHours(1),
|
|
GetDealers: seconds().fromMinutes(15),
|
|
GetFuelCards: seconds().fromHours(12),
|
|
GetGPSBrands: seconds().fromHours(24),
|
|
GetGPSModels: seconds().fromHours(24),
|
|
GetImportProgram: seconds().fromHours(12),
|
|
GetInsNSIBTypes: seconds().fromHours(12),
|
|
GetInsuranceCompanies: seconds().fromHours(12),
|
|
GetInsuranceCompany: seconds().fromHours(12),
|
|
GetLead: false,
|
|
GetLeadUrl: seconds().fromHours(12),
|
|
GetLeads: false,
|
|
GetLeaseObjectType: seconds().fromHours(24),
|
|
GetLeaseObjectTypes: seconds().fromHours(24),
|
|
GetLeasingWithoutKaskoTypes: seconds().fromHours(12),
|
|
GetModel: seconds().fromHours(3),
|
|
GetModels: seconds().fromMinutes(15),
|
|
GetOpportunities: false,
|
|
GetOpportunity: false,
|
|
GetOpportunityUrl: seconds().fromHours(12),
|
|
GetProduct: seconds().fromHours(12),
|
|
GetProducts: seconds().fromHours(12),
|
|
GetQuote: false,
|
|
GetQuoteData: false,
|
|
GetQuoteUrl: seconds().fromHours(12),
|
|
GetQuotes: false,
|
|
GetRate: seconds().fromHours(12),
|
|
GetRates: seconds().fromHours(12),
|
|
GetRegion: seconds().fromHours(24),
|
|
GetRegions: seconds().fromHours(24),
|
|
GetRegistrationTypes: seconds().fromHours(12),
|
|
GetRewardCondition: seconds().fromHours(1),
|
|
GetRewardConditions: seconds().fromHours(1),
|
|
GetRoles: seconds().fromHours(12),
|
|
GetSotCoefficientType: seconds().fromHours(12),
|
|
GetSubsidies: seconds().fromHours(12),
|
|
GetSubsidy: seconds().fromHours(12),
|
|
GetSystemUser: seconds().fromHours(12),
|
|
GetTarif: seconds().fromHours(12),
|
|
GetTarifs: seconds().fromHours(12),
|
|
GetTechnicalCards: seconds().fromHours(12),
|
|
GetTelematicTypes: seconds().fromHours(12),
|
|
GetTown: seconds().fromHours(24),
|
|
GetTowns: seconds().fromHours(24),
|
|
GetTrackerTypes: seconds().fromHours(12),
|
|
GetTransactionCurrencies: seconds().fromHours(12),
|
|
GetTransactionCurrency: seconds().fromHours(12),
|
|
};
|