Aartiq
Aartiq™
Download
Back to Components

Desktop (Electron)

types

Utility

Types

Lines

167

File

types.ts

Last Modified

2026-10-08

Exports
MediaItemExtendedChatMessageVisualStageAgentStatePlanningStepAttachmentFileAttachmentMessageSourceThemeModeAIChatStateCommandResultParsedAICommandSchedulingOptionsDOMClickTargetOCRResultRiskLevelPermissionRequestRefusedIntentRefusedIntentRecord
Source Path

aartiq-browser/src/AIChatSidebar/types.ts

Tags
AIPDFOCR

Code Analysis

External Dependencies

No external dependencies

Internal Imports
../ai/ConversationHistoryPanel../ai/ThinkingPanel../../lib/aiQuestion
Props / Types

PlanningStep

PropTypeRequired
idstringYes
labelstringYes
iconstringYes
risk'low' | 'medium' | 'high' | 'critical'Yes
estimatedTimenumberNo

Attachment

PropTypeRequired
type'image' | 'pdf' | 'text' | 'markdown'Yes
datastringYes
ocrTextstringNo
filenamestringYes

FileAttachment

PropTypeRequired
fileFileYes
previewstringNo
ocrTextstringNo

AIChatState

PropTypeRequired
messagesExtendedChatMessage[]Yes
inputstringYes
isLoadingbooleanYes
errorstring | nullYes
showCapabilitiesbooleanYes
showHistorybooleanYes
showSettingsbooleanYes

CommandResult

PropTypeRequired
successbooleanYes
outputstringNo
errorstringNo
dataunknownNo

ParsedAICommand

PropTypeRequired
commandstringYes
paramsRecord<string, unknown>Yes
confidencenumberYes

SchedulingOptions

PropTypeRequired
timestringYes
frequency'once' | 'daily' | 'weekly' | 'monthly'Yes
modelstringNo
outputPathstringNo
notifyDesktopbooleanNo
notifyMobilebooleanNo

DOMClickTarget

PropTypeRequired
xnumberYes
ynumberYes
widthnumberYes
heightnumberYes
tagNamestringYes
textContentstringNo
attributesRecord<string, string>No

OCRResult

PropTypeRequired
textstringYes
confidencenumberYes
wordsArray<{No
textstringYes
confidencenumberYes

PermissionRequest

PropTypeRequired
commandstringYes
riskLevelRiskLevelYes
descriptionstringYes
requiresConfirmationbooleanYes

RefusedIntentRecord

PropTypeRequired
intentRefusedIntentYes
sitestringNo
timestampnumberYes

Related Components

Browse all components in the Component Inventory

Auto-Generated Documentation

Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js