1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-03 02:03:53 +00:00

feat(risk-insights): add NewApplicationDetail type for dialog metrics

- Add NewApplicationDetail type to report-models.ts
- Include applicationName, atRiskPasswordCount, passwordCount, atRiskMemberCount
- Type will be used by orchestrator to provide enriched new application data
- Automatically exported via models index for use in dialog component

Part 1 of 5: Define type structure for new applications dialog columns.
This commit is contained in:
Alex
2025-10-31 16:08:41 -04:00
parent 3050da1acb
commit 07528a5bc3

View File

@@ -71,6 +71,17 @@ export type OrganizationReportApplication = {
reviewedDate: Date | null;
};
/**
* Detailed information for a new (unreviewed) application.
* Used by the new applications dialog to display metrics per application.
*/
export type NewApplicationDetail = {
applicationName: string;
atRiskPasswordCount: number;
passwordCount: number;
atRiskMemberCount: number;
};
/**
* Report details for an application
* uri. Has the at risk, password, and member information