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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user