add function to the reporter GUI

This commit is contained in:
sadan 2024-08-28 01:35:47 -04:00
parent 3798b628dd
commit eaa3072110
No known key found for this signature in database
5 changed files with 118 additions and 8 deletions

View file

@ -13,12 +13,16 @@ import { TypeWebpackSearchHistory } from "@webpack";
interface EvaledPatch extends Patch {
id: number | string;
}
interface ErroredPatch extends EvaledPatch {
oldModule: string,
newModule: string;
}
interface ReporterData {
failedPatches: {
foundNoModule: Patch[];
hadNoEffect: EvaledPatch[];
undoingPatchGroup: EvaledPatch[];
erroredPatch: EvaledPatch[];
erroredPatch: ErroredPatch[];
};
failedWebpack: Record<TypeWebpackSearchHistory, string[][]>;
}