feat(cleaner): add recordVideo and videoDir to type definitions

Add optional `recordVideo` field to CleanerInput and ErpConfig, and
`videoDir` field to ErpConfig. These fields form the foundation for
video recording support in the cleaner execution flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-04-17 13:39:58 +08:00
parent 723d6de0ae
commit 1ff78c11c9
2 changed files with 3 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ export interface CleanerInput {
materialCodes: string[]
dryRun: boolean
headless?: boolean
recordVideo?: boolean
queryBatchSize?: number
processConcurrency?: number
onProgress?: (message: string, progress?: number, extra?: Partial<CleanerProgress>) => void

View File

@@ -3,6 +3,8 @@ export interface ErpConfig {
username: string
password: string
headless?: boolean // Optional: override default headless setting
recordVideo?: boolean
videoDir?: string
}
export interface ErpSession {