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:
@ -17,6 +17,7 @@ import type {
|
||||
ReplyChunk,
|
||||
Sprint,
|
||||
Ticket,
|
||||
TicketBulkResult,
|
||||
TicketCarnet,
|
||||
TicketChat,
|
||||
TicketLinkKind,
|
||||
@ -90,6 +91,32 @@ export class TauriTicketGateway implements TicketGateway {
|
||||
});
|
||||
}
|
||||
|
||||
async bulkUpdateStatus(
|
||||
projectId: string,
|
||||
refs: string[],
|
||||
status: Ticket["status"],
|
||||
): Promise<TicketBulkResult> {
|
||||
return invoke<TicketBulkResult>("ticket_bulk_update_status", {
|
||||
request: { projectId, refs, status },
|
||||
});
|
||||
}
|
||||
|
||||
async bulkUpdatePriority(
|
||||
projectId: string,
|
||||
refs: string[],
|
||||
priority: Ticket["priority"],
|
||||
): Promise<TicketBulkResult> {
|
||||
return invoke<TicketBulkResult>("ticket_bulk_update_priority", {
|
||||
request: { projectId, refs, priority },
|
||||
});
|
||||
}
|
||||
|
||||
async bulkDelete(projectId: string, refs: string[]): Promise<TicketBulkResult> {
|
||||
return invoke<TicketBulkResult>("ticket_bulk_delete", {
|
||||
request: { projectId, refs },
|
||||
});
|
||||
}
|
||||
|
||||
async readCarnet(projectId: string, ref: string): Promise<TicketCarnet> {
|
||||
return invoke<TicketCarnet>("ticket_read_carnet", {
|
||||
request: { projectId, ref },
|
||||
|
||||
Reference in New Issue
Block a user