Keep financial ownership, atomic publication and refresh CAS. Failed refresh leaves cookies untouched; logout still clears them. Remove full-history candle prefetch and special metadata retries. Use native Pino request context instead of parallel middleware. BREAKING CHANGE: remove investment stateVersion, queued sync state, and tbank-sync status progress/resources. Consumers must observe resources through sync=observe with the updated frontend contract.
23 lines
810 B
TypeScript
23 lines
810 B
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { TbankModule } from '../../../integrations/tbank/tbank.module';
|
|
import { AuthModule } from '../../auth/auth.module';
|
|
import { ForecastService } from './application/forecast.service';
|
|
import { PortfolioService } from './application/portfolio.service';
|
|
import { ForecastRepository } from './infrastructure/forecast.repository';
|
|
import { PortfolioRepository } from './infrastructure/portfolio.repository';
|
|
import { PortfolioController } from './presentation/portfolio.controller';
|
|
|
|
@Module({
|
|
imports: [AuthModule, TbankModule],
|
|
controllers: [PortfolioController],
|
|
providers: [
|
|
PortfolioService,
|
|
PortfolioRepository,
|
|
ForecastService,
|
|
ForecastRepository,
|
|
],
|
|
exports: [PortfolioService, ForecastService],
|
|
})
|
|
export class PortfolioModule {}
|