UNPKG

@63pokupki/nodejs-common

Version:
76 lines (75 loc) 1.74 kB
import { SeoConfigI } from '../Components/Seo'; /** Подключение к S3 */ export interface S3confI { endpoint: string; bucket: string; baseUrl: string; access: string; secret: string; } /** Конфигурация */ export interface MainConfig { mysql: { client: string; connection: { host: string; user: string; password: string; database: string; }; pool: { min: number; max: number; }; migrations: { tableName: string; directory: string; }; acquireConnectionTimeout: number; }; mysqlMaster: { client: string; connection: { host: string; user: string; password: string; database: string; }; pool: { min: number; max: number; }; migrations: { tableName: string; directory: string; }; acquireConnectionTimeout: number; }; redis: { urlDbMaster: string; urlDbScan: string; sphinxIndex?: string; sphinxDb?: any; }; common: { env: string; nameApp?: string; oldCoreURL: string; errorMute: boolean; hook_url_errors?: string; hook_url_monitoring?: string; hook_url_front_errors?: string; port: number; hook_url_errors_api: string; }; rabbit: { connection: string; queryList: string[]; }; S3DO?: S3confI; S3DO256?: S3confI; S3DO512?: S3confI; S3DO1024?: S3confI; S3DOPrivMsg512?: S3confI; SeoConfig?: SeoConfigI; }