Expire stale approval requests
This commit is contained in:
1 parent
8ce00ede31
commit
7aad3b1228
6 files changed
+305
-27
No files matched your search
@@ -546,6 +546,14 @@ pub struct FinishApprovalRequest<'a> {
|
||||
pub decision_note: Option<&'a str>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct ExpireApprovalRequest<'a> {
|
||||
pub workspace_id: &'a WorkspaceId,
|
||||
pub agent_id: &'a AgentId,
|
||||
pub approval_id: &'a ApprovalRequestId,
|
||||
pub expired_at: OffsetDateTime,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct CreateSecretRequest<'a> {
|
||||
pub secret: &'a Secret,
|
||||
|
||||
Reference in new issue
Block a user