docs(okf): entidades e relacionamentos OKF do DashDescomplicar
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
---
|
||||
type: Relationship
|
||||
layer: wiki
|
||||
tags: [stack, dashdescomplicar, relacionamento, integra]
|
||||
title: "Dashboard-Engine → integra-com → CSR-Integration"
|
||||
---
|
||||
|
||||
# Dashboard-Engine integra CSR-Integration
|
||||
|
||||
Dashboard-Engine integra a camada CSR para fetch de dados, caching e reconnection logic.
|
||||
|
||||
## Fluxo
|
||||
|
||||
1. Dashboard-Engine renderiza Layout
|
||||
2. Painéis (componentes filhos) usam hooks/Context de CSR-Integration
|
||||
3. CSR-Integration faz requisições HTTP para API Express
|
||||
4. Respostas são cacheadas e compartilhadas entre painéis
|
||||
|
||||
## Tipo de relação
|
||||
|
||||
`integra-com` — Dashboard-Engine depende funcionalmente de CSR-Integration.
|
||||
|
||||
## Touchpoints
|
||||
|
||||
- `src/lib/DataContext.tsx` — Context Provider
|
||||
- `src/App.tsx` — wrapper CSR
|
||||
- Painéis — consumem Context
|
||||
Reference in New Issue
Block a user