Commit 7e47a121 authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'hook-8.11'

b1a5a3d0

 webhooks: update for 8.11
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Brad King's avatarBrad King <brad.king@kitware.com>
Merge-request: !23
parents 46c9906f b1a5a3d0
......@@ -264,6 +264,7 @@ pub struct MergeRequestHookAttrs {
// st_commits
// st_diffs
pub milestone_id: Option<MilestoneId>,
pub oldrev: Option<ObjectId>,
pub state: MergeRequestState,
pub merge_status: MergeStatus,
pub iid: u64,
......@@ -384,10 +385,14 @@ pub struct NoteHookAttrs {
pub created_at: HookDate,
pub updated_at: HookDate,
pub updated_by_id: Option<UserId>,
pub resolved_at: Option<HookDate>,
pub resolved_by_id: Option<UserId>,
pub project_id: ProjectId,
pub attachment: Option<String>,
pub line_code: Option<String>, // TODO: This is some internal format.
pub commit_id: Option<ObjectId>,
pub commit_id: Option<ObjectId>, // XXX(8.11): apparently can be an empty string?
pub discussion_id: ObjectId,
pub original_discussion_id: Option<ObjectId>,
pub noteable_id: Value, // Keep as JSON because its type depends on what `noteable_type` is.
pub system: bool,
pub st_diff: Option<DiffHookAttrs>,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment