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:
oliver 2026-06-22 17:26:49 +08:00
parent 34db62c8d2
commit b54a6e5ad4
12 changed files with 266 additions and 68 deletions

View file

@ -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;
};