UNPKG

@barfinex/types

Version:

Core TypeScript type definitions and shared interfaces for the Barfinex ecosystem. Provides strongly-typed contracts for modules, services, and plugins.

29 lines 998 B
import type { Detector, Provider, Instrument, TimeFrame, Indicator, Subscription, PluginMeta } from './index'; /** * Унифицированная форма конфигурации детектора * (все поля опциональные, удобно для локальных конфигов). */ export interface DetectorConfigInput extends Partial<Detector> { key?: string; sysname?: string; logLevel?: string; currency?: string; restApiUrl?: string; providers?: Provider[]; instruments?: Instrument[]; orders?: Detector['orders']; intervals?: TimeFrame[]; indicators?: Indicator[]; subscriptions?: Subscription[]; useSandbox?: boolean; useScratch?: boolean; isBlocked?: boolean; isActive?: boolean; useNotifications?: Detector['useNotifications']; advisor?: Detector['advisor']; plugins?: { modules: any[]; metas: PluginMeta[]; }; } //# sourceMappingURL=detector-config.interface.d.ts.map