mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 18:10:45 +08:00
fix(ume): global clear-push setting, schema migration, and help hints
Make forward-on-clear a global monitor toggle, run key-alert DDL in an isolated startup transaction, and fix HelpHint popovers plus API errors when the server returns non-JSON responses. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
34db62c8d2
commit
b54a6e5ad4
12 changed files with 266 additions and 68 deletions
|
|
@ -21,7 +21,6 @@ export type UmeKeyAlertRuleItem = {
|
|||
match_type: "notification_id" | "keyword";
|
||||
match_value: string;
|
||||
enabled: boolean;
|
||||
forward_on_clear: boolean;
|
||||
label: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
|
|
@ -45,6 +44,9 @@ export type UmeKeyAlertForwarderStatus = {
|
|||
export type UmeKeyAlertMonitorResponse = {
|
||||
ok: boolean;
|
||||
rules: UmeKeyAlertRuleItem[];
|
||||
config?: {
|
||||
forward_on_clear: boolean;
|
||||
};
|
||||
forwarder: UmeKeyAlertForwarderStatus;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue