Commit Graph
3 Commits
Author SHA1 Message Date
2252561b9e feat(config): persistir configurações em SQLite com UI Apple/Planium
Adiciona persistência de configurações via SQLite com precedência UI > .env > default

- Novo domínio: SettingDefinition, SettingValue, SettingsRepository
- Nova infraestrutura: SqliteSettingsRepository com defaults
- API /api/v1/configs GET/PUT protegida por cookie session
- UI /configs atualizada para ler/escrever do banco
- Login/logout com cookie HttpOnly
- Precedência correta: SQLite (UI) > .env > defaultValue
- Todos os 30 testes passam

Co-Authored-By: Coder <coder@agent.local>
Co-Authored-By: Review <review@agent.local>
Co-Authored-By: Testing <testing@agent.local>
2026-11-25 23:32:22 -03:00
Andre RDS da10e17a56 fix: add cookie auth for /configs UI 2026-11-25 15:20:12 -03:00
6e8e640738 feat: initial commit - Table Expiration Watcher
- Monitor de tabelas de planos de saúde prestes a vencer/vencidas
- Stack: Bun + Hono + SQLite + Zod + date-fns
- Alertas via Telegram e WhatsApp (AstraCalls MCP)
- UI de configuração estilo Apple/Planium em /configs
- Scheduler periódico com intervalo configurável
- Testes unitários e de integração (30 testes passando)

Co-Authored-By: Coder <coder@agent.local>
Co-Authored-By: Review <review@agent.local>
Co-Authored-By: Testing <testing@agent.local>
2026-11-25 09:43:00 -03:00