export class SubmitBatchAnalysis {
  static readonly type = '[Vision] SubmitBatchAnalysis';
  constructor(public payload: { files: File[]; mode: 'local-onnx' | 'local-tflite' | 'remote' }) {}
}

export class ToggleBatchGroup {
  static readonly type = '[Vision] ToggleBatchGroup';
  constructor(public payload: { batchId: string }) {}
}

export class LoadGroupImages {
  static readonly type = '[Vision] LoadGroupImages';
  constructor(public payload: { batchId: string }) {}
}

export class LoadHistory {
  static readonly type = '[Vision] LoadHistory';
}

export class DeleteHistoryRecord {
  static readonly type = '[Vision] DeleteHistoryRecord';
  constructor(public payload: { id: string }) {}
}

export class ClearAllHistory {
  static readonly type = '[Vision] ClearAllHistory';
}
