UNPKG

igir

Version:

🕹 A zero-setup ROM collection manager that sorts, filters, extracts or archives, patches, and reports on collections of any size on any OS.

20 lines (19 loc) • 695 B
import ProgressBar from '../../console/progressBar.js'; import DAT from '../../types/dats/dat.js'; import Options from '../../types/options.js'; import WriteCandidate from '../../types/writeCandidate.js'; import Module from '../module.js'; /** * Perform any {@link WriteCandidate} manipulations needed after candidates have had patches * attached. */ export default class CandidatePostProcessor extends Module { private readonly options; constructor(options: Options, progressBar: ProgressBar); /** * Post-process the candidates. */ process(dat: DAT, candidates: WriteCandidate[]): WriteCandidate[]; private postProcessCandidate; private mapRomsWithFiles; }