bulk operations fixes

- Frontend: implémente bulkDelete, bulkArchive, bulkRestore
- Backend: adapts ticket DTOs pour bulk operations
- Infrastructure: MCP server pour gestion bulk tickets
- Tests: coverage frontend + backend
This commit is contained in:
2026-07-28 20:38:07 +02:00
parent 73c6081ab8
commit bd4f76ae74
19 changed files with 597 additions and 35 deletions

View File

@ -1538,6 +1538,19 @@ export interface TicketList {
nextCursor?: string;
}
/** Per-ticket result for a bulk ticket mutation. */
export interface TicketBulkResultItem {
ref: TicketRef;
ok: boolean;
ticket?: Ticket;
error?: GatewayError;
}
/** Result of a bulk ticket mutation; item order mirrors the requested refs. */
export interface TicketBulkResult {
items: TicketBulkResultItem[];
}
/** The scoped-to-a-ticket Markdown carnet (mirror of `TicketCarnetDto`). */
export interface TicketCarnet {
ref: TicketRef;