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