feat(backend): commandes web tickets/sprints + factorisation DTO (#86 lot 1)
Expose les commandes tickets/sprints sur le transport web (web-server/lib.rs), avec factorisation des DTO tickets partagés entre Tauri et web dans un nouveau module backend/src/ticket_dto.rs (app-tauri/src/tickets.rs consomme désormais ce module commun). Lot 1 du ticket #86, backend/web-server. Le lot 2 (frontend) suit sur une nouvelle branche depuis develop à jour. QA vert. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@ -18,6 +18,8 @@ use application::{
|
||||
};
|
||||
use domain::{AgentBusyState, PageCursor, PageDirection, Project, ProjectId, TurnRole};
|
||||
|
||||
pub use crate::ticket_dto::*;
|
||||
|
||||
/// Request DTO for the `health` command.
|
||||
#[derive(Debug, Clone, Default, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
|
||||
@ -94,6 +94,7 @@ pub mod events;
|
||||
pub mod mcp_endpoint;
|
||||
pub mod openai_tools;
|
||||
pub mod stream;
|
||||
mod ticket_dto;
|
||||
|
||||
use crate::mcp_endpoint::{mcp_endpoint, AppMcpRuntimeProvider, McpEndpoint};
|
||||
use crate::openai_tools::{AppOpenAiToolInvoker, LateBoundOpenAiToolInvoker};
|
||||
|
||||
1207
crates/backend/src/ticket_dto.rs
Normal file
1207
crates/backend/src/ticket_dto.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user