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[]
|
materialCodes: string[]
|
||||||
dryRun: boolean
|
dryRun: boolean
|
||||||
headless?: boolean
|
headless?: boolean
|
||||||
|
recordVideo?: boolean
|
||||||
queryBatchSize?: number
|
queryBatchSize?: number
|
||||||
processConcurrency?: number
|
processConcurrency?: number
|
||||||
onProgress?: (message: string, progress?: number, extra?: Partial<CleanerProgress>) => void
|
onProgress?: (message: string, progress?: number, extra?: Partial<CleanerProgress>) => void
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ export interface ErpConfig {
|
|||||||
username: string
|
username: string
|
||||||
password: string
|
password: string
|
||||||
headless?: boolean // Optional: override default headless setting
|
headless?: boolean // Optional: override default headless setting
|
||||||
|
recordVideo?: boolean
|
||||||
|
videoDir?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ErpSession {
|
export interface ErpSession {
|
||||||
|
|||||||
Reference in New Issue
Block a user