Upload files to "src/mutator"
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
export abstract class Mutator {
|
||||||
|
/**
|
||||||
|
* Override to add guard conditions. Called before {@link execute}.
|
||||||
|
* Defaults to `true` — the mutator always runs.
|
||||||
|
*/
|
||||||
|
async shouldExecute(): Promise<boolean> {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract execute(): Promise<Boolean>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
export type MutatorName =
|
||||||
|
| "npm"
|
||||||
|
| "claude"
|
||||||
|
| "locker"
|
||||||
|
| "branch"
|
||||||
|
| "repository"
|
||||||
|
| "ssh"
|
||||||
|
| "ssm";
|
||||||
Reference in New Issue
Block a user