mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
14 lines
401 B
TypeScript
14 lines
401 B
TypeScript
import z from "zod";
|
|
import { zBoundedCharacters } from "../../../utils";
|
|
import { automodAction } from "../helpers";
|
|
|
|
export const ExampleAction = automodAction({
|
|
configSchema: z.strictObject({
|
|
someValue: zBoundedCharacters(0, 1000),
|
|
}),
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
async apply({ pluginData, contexts, actionConfig }) {
|
|
// TODO: Everything
|
|
},
|
|
});
|