infoalloggi-monorepo/apps/infoalloggi/src/server/api/routers
Marco Pedone 9c18ca37ab Refactor API structure and update flag handling
- Replaced references to `api.settings` with `api.etichette`, `api.flags`, and `api.strings` in various admin pages to align with new API structure.
- Removed the deprecated `settingsRouter` and introduced `flagsRouter`, `etichetteRouter`, and `stringsRouter` to handle respective functionalities.
- Updated the `Flags` schema to change the `value` field from string to boolean.
- Modified flag handling logic in the `SendMessage` and `NewMail` functions to check for boolean flags instead of string values.
- Added migration script to convert the `value` column in the `flags` table from string to boolean.
- Implemented new routers for banners, etichette, flags, revalidation, and strings to encapsulate related functionalities.
2025-11-20 12:38:42 +01:00
..
annunci.ts feat: refactor and enhance Annuncio components for improved functionality and print support 2025-08-29 18:18:37 +02:00
auth.ts formatt 2025-08-29 16:18:32 +02:00
banlist.ts formatt 2025-08-29 16:18:32 +02:00
banners.ts Refactor API structure and update flag handling 2025-11-20 12:38:42 +01:00
catasto.ts catasto 2025-11-13 15:45:55 +01:00
chat.ts formatt 2025-08-29 16:18:32 +02:00
chat_sse.ts chore: Add logging documentation link to TODO file 2025-11-06 13:19:12 +01:00
comunicazioni.ts feat: implement email sending for contact details with PDF attachment 2025-11-20 11:59:24 +01:00
contact.ts feat: add PDF generation and email sending for printable announcements 2025-11-19 17:18:28 +01:00
etichette.ts Refactor API structure and update flag handling 2025-11-20 12:38:42 +01:00
event_queue.ts formatt 2025-08-29 16:18:32 +02:00
fatture.ts formatt 2025-08-29 16:18:32 +02:00
flags.ts Refactor API structure and update flag handling 2025-11-20 12:38:42 +01:00
interests.ts feat: add PDF generation and email sending for printable announcements 2025-11-19 17:18:28 +01:00
messages_sse.ts formatt 2025-08-29 16:18:32 +02:00
pagamenti.ts eslint migration biome 2025-08-28 18:27:07 +02:00
prezziario.ts formatt 2025-08-29 16:18:32 +02:00
revalidation.ts Refactor API structure and update flag handling 2025-11-20 12:38:42 +01:00
servizio.ts feat: add admin override switch for ignoring service preferences in AnnunciCompatibili dialog 2025-11-11 15:41:07 +01:00
stats.ts formatt 2025-08-29 16:18:32 +02:00
storage.ts feat: add AdminLavoraConferma and AdminContratto components for managing service confirmations and contracts 2025-11-06 17:03:42 +01:00
strings.ts Refactor API structure and update flag handling 2025-11-20 12:38:42 +01:00
stripe.ts formatt 2025-08-29 16:18:32 +02:00
sync.ts feat: add sync router for handling user data synchronization 2025-09-04 12:41:07 +02:00
test.ts feat: add test page with buttons for logging and server mutation 2025-09-01 10:15:15 +02:00
users.ts feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00