feat(sdk,plugins): API publique d'accès fichiers/workspace + analyse structure (#124,#129)
This commit is contained in:
@ -401,6 +401,16 @@ pub enum DomainEventDto {
|
||||
/// Project id.
|
||||
project_id: String,
|
||||
},
|
||||
/// A workspace file changed through the public plugin workspace API.
|
||||
#[serde(rename_all = "camelCase")]
|
||||
PluginWorkspaceFileChanged {
|
||||
/// Project id.
|
||||
project_id: String,
|
||||
/// Relative workspace path.
|
||||
path: String,
|
||||
/// Public operation label.
|
||||
operation: String,
|
||||
},
|
||||
/// An issue-backed public ticket was created.
|
||||
#[serde(rename_all = "camelCase")]
|
||||
IssueCreated {
|
||||
@ -1058,6 +1068,15 @@ impl From<&DomainEvent> for DomainEventDto {
|
||||
DomainEvent::GitStateChanged { project_id } => Self::GitStateChanged {
|
||||
project_id: project_id.to_string(),
|
||||
},
|
||||
DomainEvent::PluginWorkspaceFileChanged {
|
||||
project_id,
|
||||
path,
|
||||
operation,
|
||||
} => Self::PluginWorkspaceFileChanged {
|
||||
project_id: project_id.to_string(),
|
||||
path: path.clone(),
|
||||
operation: operation.clone(),
|
||||
},
|
||||
DomainEvent::IssueCreated {
|
||||
issue_id,
|
||||
issue_ref,
|
||||
|
||||
Reference in New Issue
Block a user