Alerting: Remove leftover legacy alerting types (#100162)

This commit is contained in:
AsocPro
2025-02-07 10:46:12 -07:00
committed by GitHub
parent 7c9f47ac67
commit 7b48670104

View File

@@ -6,11 +6,6 @@ export enum SortOrder {
TimeDesc,
}
export enum ShowOption {
Current = 'current',
RecentChanges = 'changes',
}
export enum GroupMode {
Default = 'default',
Custom = 'custom',
@@ -21,26 +16,6 @@ export enum ViewMode {
Stat = 'stat',
}
export interface AlertListOptions {
showOptions: ShowOption;
maxItems: number;
sortOrder: SortOrder;
dashboardAlerts: boolean;
alertName: string;
dashboardTitle: string;
tags: string[];
stateFilter: {
ok: boolean;
paused: boolean;
no_data: boolean;
execution_error: boolean;
alerting: boolean;
pending: boolean;
};
folderId: number;
showInactiveAlerts: boolean;
}
export interface StateFilter {
firing: boolean;
pending: boolean;