mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Automod work
This commit is contained in:
parent
140ba84544
commit
f657b169df
32 changed files with 1099 additions and 5 deletions
11
backend/src/plugins/Automod/actions/availableActions.ts
Normal file
11
backend/src/plugins/Automod/actions/availableActions.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import * as t from "io-ts";
|
||||
import { CleanAction } from "./clean";
|
||||
import { AutomodActionBlueprint } from "../helpers";
|
||||
|
||||
export const availableActions: Record<string, AutomodActionBlueprint<any>> = {
|
||||
clean: CleanAction,
|
||||
};
|
||||
|
||||
export const AvailableActions = t.type({
|
||||
clean: CleanAction.configType,
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue