hive-sh4re: split approval-queue schema into its own topic module
This commit is contained in:
parent
1e13b88c8c
commit
02bbff1e34
17 changed files with 153 additions and 139 deletions
|
|
@ -57,7 +57,7 @@ pub(super) fn handle_request_update_meta_inputs(
|
|||
.approvals
|
||||
.submit_kind(
|
||||
requester,
|
||||
hive_sh4re::ApprovalKind::UpdateMetaInputs,
|
||||
hive_sh4re::approvals::ApprovalKind::UpdateMetaInputs,
|
||||
&commit_ref,
|
||||
description,
|
||||
requester,
|
||||
|
|
@ -158,7 +158,7 @@ pub(crate) async fn submit_merge_config_pr(
|
|||
.approvals
|
||||
.submit_kind(
|
||||
agent,
|
||||
hive_sh4re::ApprovalKind::MergeConfigPr,
|
||||
hive_sh4re::approvals::ApprovalKind::MergeConfigPr,
|
||||
&pr_number.to_string(),
|
||||
description,
|
||||
submitter,
|
||||
|
|
@ -210,7 +210,7 @@ pub(crate) fn submit_init_config(
|
|||
.approvals
|
||||
.submit_kind(
|
||||
name,
|
||||
hive_sh4re::ApprovalKind::InitConfig,
|
||||
hive_sh4re::approvals::ApprovalKind::InitConfig,
|
||||
parent.unwrap_or(""),
|
||||
description.as_deref(),
|
||||
// `parent` is the requesting agent (becomes the new child's
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ pub(super) fn handle_request_schedule_prompt(
|
|||
};
|
||||
let id = match coord.approvals.submit_kind(
|
||||
requester,
|
||||
hive_sh4re::ApprovalKind::SchedulePrompt,
|
||||
hive_sh4re::approvals::ApprovalKind::SchedulePrompt,
|
||||
&commit_ref,
|
||||
payload.description.as_deref(),
|
||||
requester,
|
||||
|
|
|
|||
Loading…
Reference in a new issue