Back to Components
Desktop (Electron)
AutomationPlanApproval
React Utility
Automation Plan Approval
Lines
499
File
AutomationPlanApproval.tsx
Last Modified
2026-10-08
Exports
default memoRiskLevelPlanOperationAutomationPlan
Source Path
aartiq-browser/src/AutomationPlanApproval.tsx
Tags
ReactSecurityAutomationPDFmacOS
Code Analysis
React Hooks
useStateuseCallback
API / Library Usage
electronAPIframer-motionlucide-icons
External Dependencies
reactframer-motion
Internal Imports
./DeviceImage
Props / Types
PlanOperation
| Prop | Type | Required |
|---|---|---|
| id | string | Yes |
| type | string | Yes |
| description | string | Yes |
| target | string | Yes |
| risk | RiskLevel | Yes |
| details | string | No |
| policyDenied | boolean | No |
AutomationPlan
| Prop | Type | Required |
|---|---|---|
| taskName | string | Yes |
| taskType | string | Yes |
| operations | PlanOperation[] | Yes |
| directories | string[] | Yes |
| urls | string[] | Yes |
| estimatedDuration | string | Yes |
| requiresNetwork | boolean | Yes |
| requiresFileAccess | boolean | Yes |
AutomationPlanApprovalProps
| Prop | Type | Required |
|---|---|---|
| plan | AutomationPlan | Yes |
Key Functions
saveAllowlist()AutomationPlanApproval()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js