feat: 增加通知 outbox 重发入口
This commit is contained in:
@@ -424,6 +424,14 @@ export const devopsApi = {
|
||||
return Array.isArray(data) ? data.map(sanitizeNotificationOutboxMessage) : []
|
||||
},
|
||||
|
||||
async retryNotificationOutboxMessage(id: string): Promise<NotificationOutboxMessage> {
|
||||
const { data } = await http.post<NotificationOutboxMessage>(
|
||||
`/notification-outbox/${id}/retry`,
|
||||
)
|
||||
lastDataSource = 'backend'
|
||||
return sanitizeNotificationOutboxMessage(data)
|
||||
},
|
||||
|
||||
async getAgentCards(): Promise<AgentCard[]> {
|
||||
return agentCards
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user