feat: add watchlist component (#9199)

Co-authored-by: Alan Buscaglia <gentlemanprogramming@gmail.com>
This commit is contained in:
Alejandro Bailo
2025-11-25 16:01:38 +01:00
committed by GitHub
parent 8e7e376e4f
commit e020b3f74b
17 changed files with 553 additions and 20 deletions

View File

@@ -8,12 +8,20 @@ export const REQUIREMENT_STATUS = {
export type RequirementStatus =
(typeof REQUIREMENT_STATUS)[keyof typeof REQUIREMENT_STATUS];
export const COMPLIANCE_OVERVIEW_TYPE = {
OVERVIEW: "compliance-overviews",
REQUIREMENTS_STATUS: "compliance-requirements-status",
} as const;
export type ComplianceOverviewType =
(typeof COMPLIANCE_OVERVIEW_TYPE)[keyof typeof COMPLIANCE_OVERVIEW_TYPE];
export interface CompliancesOverview {
data: ComplianceOverviewData[];
}
export interface ComplianceOverviewData {
type: "compliance-requirements-status";
type: ComplianceOverviewType;
id: string;
attributes: {
framework: string;