14 lines
407 B
TypeScript
14 lines
407 B
TypeScript
import z from "zod";
|
|
import { zBoundedCharacters } from "../../../utils.js";
|
|
import { automodAction } from "../helpers.js";
|
|
|
|
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
|
|
},
|
|
});
|