moex-vibe/apps/docs/sidebars.ts
Sergey Krylov a980520261
Some checks failed
CI / lint (pull_request) Successful in 1m59s
CI / test (pull_request) Successful in 1m45s
CI / build (pull_request) Failing after 1m54s
CI / lint (push) Successful in 1m50s
CI / test (push) Successful in 1m47s
CI / build (push) Failing after 2m3s
feat: portfolio management with share/bond separation
- Add Portfolio + Position models (Prisma + migrations)
- Backend: PortfolioModule with CRUD, enrichment, type detection
- Backend: enrichBondPosition returns 13 financial fields (YTM, duration,
  coupon, NCD, accrued interest, bid/offer, bondType, offerDate, etc.)
- Frontend: portfolio pages, 4 TanStack Query hooks, split share/bond tables
- Fix: MOEX bond marketdata board fallback (TQCB → TQOB for OFZ)
- Frontend: clickable ticker links to /stocks/:secid and /bonds/:secid
- Remove: target allocation, deviation, tags display from Phase 1
- Docs: ADR-009 (domain model), ADR-010 (price computation),
  portfolio backend doc, superpowers spec + plan
2026-06-14 11:14:04 +03:00

71 lines
1.7 KiB
TypeScript

import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docsSidebar: [
'intro',
'getting-started',
'architecture',
{
type: 'category',
label: 'Backend',
items: [
'backend/overview',
'backend/modules',
'backend/api',
'backend/auth',
'backend/database',
'backend/configuration',
'backend/caching',
'backend/moex-client',
'backend/portfolio',
],
},
{
type: 'category',
label: 'Frontend',
items: [
'frontend/overview',
'frontend/routes',
'frontend/components',
'frontend/hooks',
'frontend/api-client',
'frontend/styling',
],
},
{
type: 'category',
label: 'Infrastructure',
items: ['infrastructure/docker', 'infrastructure/ci'],
},
{
type: 'category',
label: 'Development',
items: [
'development/commands',
'development/testing',
'development/codegen',
'development/conventions',
],
},
{
type: 'category',
label: 'Architecture Decisions (ADR)',
items: [
'adr/index',
'adr/ADR-001-backend-single-point-of-access',
'adr/ADR-002-in-memory-cache',
'adr/ADR-003-rate-limiting-strategy',
'adr/ADR-004-feature-modules',
'adr/ADR-005-openapi-codegen-frontend',
'adr/ADR-006-no-cci',
'adr/ADR-007-two-level-caching',
'adr/ADR-008-auth-system',
'adr/ADR-009-portfolio-domain',
'adr/ADR-010-backend-price-computation',
],
},
],
};
export default sidebars;