koishi-plugin-star-security
Version:
13 lines (12 loc) • 401 B
TypeScript
import { Context } from "koishi";
import { Config } from "./config";
export declare const name = "star-security";
export declare const inject: string[];
export declare const reusable = true;
export * from "./config";
declare module "@koishijs/cache" {
interface Tables {
[key: `star_security_${string}`]: boolean;
}
}
export declare function apply(ctx: Context, config: Config): void;