diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-11 16:43:40 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-11 16:43:40 +0100 |
commit | 2133823bd369efa145474f6e558a82a960d48d52 (patch) | |
tree | 4bf70ebe3db18c7b0b7db70547c4dcbb32385b6a /src/utils | |
parent | 1176896a1b7aa5615b4aae28cc885683f0dadd1a (diff) | |
download | Vencord-2133823bd369efa145474f6e558a82a960d48d52.tar.gz Vencord-2133823bd369efa145474f6e558a82a960d48d52.tar.bz2 Vencord-2133823bd369efa145474f6e558a82a960d48d52.zip |
more plugin fixes
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts index 689baa7..dd0a9c5 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -34,7 +34,10 @@ export interface Patch { plugin: string; find: string; replacement: PatchReplacement | PatchReplacement[]; + /** Whether this patch should apply to multiple modules */ all?: boolean; + /** Do not warn if this patch did no changes */ + noWarn?: boolean; predicate?(): boolean; } |