mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 11:50:44 +08:00
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:
parent
d5d6d4eada
commit
e474c0a431
11 changed files with 383 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue