feat(filters): improve provider connection filter UX (#8520)

This commit is contained in:
Pablo Lara
2025-08-18 09:10:16 +02:00
committed by GitHub
parent fd833eecf0
commit 3aeaa3d992
6 changed files with 52 additions and 8 deletions

View File

@@ -1,7 +1,10 @@
import { ProviderEntity } from "./providers";
import { ProviderConnectionStatus, ProviderEntity } from "./providers";
import { ScanEntity } from "./scans";
export type FilterEntity = ProviderEntity | ScanEntity;
export type FilterEntity =
| ProviderEntity
| ScanEntity
| ProviderConnectionStatus;
export interface FilterOption {
key: string;

View File

@@ -60,6 +60,11 @@ export interface ProviderEntity {
alias: string | null;
}
export interface ProviderConnectionStatus {
label: string;
value: string;
}
export interface ProviderOverviewProps {
data: {
type: "provider-overviews";