feat(ume): ne_type filter, rule edit, and pager layout

Match key alerts by optional inventory ne_types, add edit dialog to update device types on existing rules, and keep card pager controls on one row.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-06-23 20:44:33 +08:00
parent d5d6d4eada
commit e474c0a431
11 changed files with 383 additions and 24 deletions

View file

@ -22,6 +22,7 @@ export type UmeKeyAlertRuleItem = {
match_value: string;
enabled: boolean;
label: string;
ne_types?: string[];
created_at: string;
updated_at: string;
forward_stats?: {
@ -31,6 +32,11 @@ export type UmeKeyAlertRuleItem = {
};
};
export type UmeInventoryNeTypeItem = {
ne_type: string;
ne_count: number;
};
export type UmeKeyAlertForwarderStatus = {
enabled: boolean;
connected: boolean;